/*

	Theme Name: CCI 2026
	Theme URL: http://www.visualko.com/
	Description: Sitio web Estudio de Arquitectura
	Author: Ernesto Schulz
	Author URI: http://www.visualko.com/
	Version: 1.0

*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --negro: #000;
  --blanco: #fff;
  --claro: #f5f5f5;
  --oscuro: #33393b;
  --gris: #e5e4e2;
  --naranja: #f5ad00;

  --principal: #050c62;
  --secundario: #3498db;
  --tercero: #2464a4;
  --cuarto:#938e5a;
  --quinto:#dabcba;
  --sexto:#3c444f;


  --textoClaro: #DADADA;
  --textoGris: #9D9D9D;
  --textoOscuro: #575757;
  --textoBlanco: #F2F2F2;

}




html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--blanco);
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  color: var(--negro);
  line-height: 1.66;
}


.centrada {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

h1,
h2,
h3,
h4 {}

h1.titulo {
  color: var(--principal);
  font-weight: 800;
}

h2 {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-size: 42px;
  letter-spacing: 0;
  font-weight: 900;
  margin-bottom: 25px;
}

h2.titulo {
  color: var(--principal);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 300;
}

h3.titulo {
  color: var(--principal);
  font-weight: 800;
}

a {
  color: var(--principal);
  text-decoration: none;
}

a:hover {
  color: var(--tercero);
  text-decoration: none;
}

.img-circular {
  width: auto;
  /* Mantiene el tamaño original */
  height: auto;
  /* Asegura que siga siendo un cuadrado */
  border-radius: 50%;
  /* Lo convierte en un círculo */
  object-fit: cover;
  /* Asegura que la imagen se recorte bien */
}

.clear {
  clear: both;
}

.hl {
  clear: both;
  height: auto;
  overflow: hidden;
}

.hlb {
  clear: both;
  height: 1px;
  overflow: hidden;
  background: var(--principal);
  margin-top: 10px;
  margin-bottom: 10px;
}

.hl5 {
  clear: both;
  height: 5px;
}

.hl10 {
  clear: both;
  height: 10px;
}

.hl25 {
  clear: both;
  height: 25px;
}

.hl30 {
  clear: both;
  height: 30px;
}

.hl50 {
  clear: both;
  height: 50px;
}

.hl100 {
  clear: both;
  height: 100px;
}

.hl150 {
  clear: both;
  height: 150px;
}


.accordion-collapse {
  transition: all 1s ease; /* Suaviza apertura/cierre */
}

.accordion-body {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--secundario);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button {
  color: #333;
  background-color: #fff;
  /* border: 1px solid #f15e19; */
}

.accordion-button:focus {
  /*  box-shadow: 0 0 0 0.25rem rgba(241, 94, 25, 0.5); */
}

.accordion-body {
  background-color: #fff;
  /*border-left: 2px solid #f15e19;*/
}



.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: #e6232d;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #e6232d;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 1;
}

.timeline-item.left::before {
  left: calc(50% - 10px);
}

.timeline-item.right::before {
  left: calc(50% - 10px);
}

.timeline-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .timeline-inner {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .timeline-item.left .timeline-inner {
    flex-direction: row;
  }

  .timeline-item.right .timeline-inner {
    flex-direction: row-reverse;
  }

  .timeline-item.left .timeline-content {
    text-align: left;
  }

  .timeline-item.right .timeline-content {
    text-align: right;
  }
}

.timeline-date {
  font-weight: bold;
  background: #e6232d;
  color: white;
  padding: 6px 12px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 10px;
}

.timeline-content {
  border-radius: 8px;
  padding: 20px;

}




.bb {
  padding-bottom: 10px;
  border-bottom: solid 1px #ccc;
  margin-bottom: 10px;
}

.bt {
  padding-top: 10px;
  border-top: solid 1px #ccc;
  margin-top: 10px;
}

.br {
  padding-right: 10px;
  border-right: solid 1px #ccc;
  margin-right: 10px;
}

.bl {
  padding-left: 10px;
  border-left: solid 1px #ccc;
  margin-left: 10px;
}

.p0 {
  padding: 0;
}

.pl0 {
  padding-left: 0
}

.pr0 {
  padding-right: 0
}

.m0 {
  margin: 0;
}

.m10 {
  margin: 10px 0;
}

.p10{
  padding:10px;
}
.p50 {
  padding: 50px 0;
}

.p25 {
  padding-top: 25px;
  padding-bottom: 25px
}

.p100 {
  padding: 100px 0;
}

.pbox {
  padding: 50px;
}



.img-full {
  width: 100%;
  height: auto;
}

.img-circular {
  border-radius: 50%;
}

.center {
  margin: auto 0;
}

.btn-principal {
  background-color: var(--principal);
  color: var(--claro);
}

.btn-principal:hover {
  background-color: var(--oscuro);
  color: var(--claro);
}

.btn-secundario {
  background-color: var(--principal);
  color: var(--claro);
  box-shadow: 0px 0px 5px var(--principal);
}

.btn-secundario:hover {
  background-color: var(--principal);
  box-shadow: 0px 0px 20px var(--principal);
  color: var(--claro);
}

.btn-oscuro {
  background-color: var(--principal);
  color: var(--claro);
}

.btn-oscuro:hover {
  background-color: var(--oscuro);
  color: var(--claro);
}

.google-maps {
  position: relative;
  padding-bottom: 540px; // This is the aspect ratio
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 540px !important;
}

.formulario {
  padding: 50px 20px;
}


.italica {
  font-style: italic;
}

.centrado {
  text-align: center
}

.alignRight {
  text-align: right
}

.mayuscula {
  text-transform: uppercase;
}

/*
.naranja{color:rgba(209,132,86,1)}
.bg-naranja{background-color:rgba(209,132,86,1)}
.blanco{color:rgba(255,255,255,1)}
.bg-blanco{background-color:rgba(255,255,255,1)}
.azul{color:rgba(120,148,204,1)}
.bg-azul{background:rgba(120,148,204,1)}
.gris{color:rgba(223,223,220.1)}
.bg-gris{background-color:rgba(223,223,220,1)}
.negro{color:rgba(44,44,44,1)}
.bg-negro{background-color:rgba(44,44,44,1)}
*/

.weight200 {
  font-weight: 200
}

.weight300 {
  font-weight: 300
}

.weight400 {
  font-weight: 400
}

.weight700 {
  font-weight: 700
}

.weight800 {
  font-weight: 800
}

.weight900 {
  font-weight: 900
}

.oscuro {
  background-color: var(--oscuro);
}

.textoOscuro {
  color: var(--oscuro);
}

.claro {
  background-color: var(--claro);
}

.textoClaro {
  color: var(--claro);
}

.texto-principal {
  color: var(--principal);
}

.texto-secundario {
  color: var(--principal);
}

.bgBlanco {
  background-color: var(--blanco);
}

.textoPrincipal {
  color: var(--principal);
}

.textoSecundario {
  color: var(--secundario);
}

/****************** CONTACTO footer --------------------//*/

.contact-buttons {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contact-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: 0.3s;
}

.whatsapp {
  background-color: #25D366;
}

.email {
  background-color: #007BFF;
}

.phone {
  background-color: #28A745;
}

.contact-buttons a:hover {
  opacity: 0.8;
}

/********************/


.formulario-contacto {
  background-color: var(--blanco);
  padding: 2rem;
  border-radius: 1rem;
}

.formulario-contacto .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.formulario-contacto .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.75rem;
  font-size: 1rem;
}

.formulario-contacto .btn-primary {
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.formulario-contacto .btn-primary:hover {
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
}


/********   navegacion **********/

/* TOPBAR */
.topbar {
  background: #0a0a0a;
}

/* NAVBAR */
.navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* NAVBAR TRANSPARENTE */
.navbar-transparent {
  background: transparent !important;
  box-shadow: none !important;
  position: absolute;
  width: 100%;
  top:50px;
  z-index: 20; /* Ensures nav is on top of hero */
}

/* Links blancos sobre imagen */
.navbar-transparent .nav-link {
  color: #fff !important;
  font-weight: 500;
}

/* Logo */
.navbar-transparent .navbar-brand img {
  /* filter: brightness(0) invert(1);  hace logo blanco. Opcional */
}

/* Toggler blanco */
.navbar-transparent .navbar-toggler-icon {
  filter: invert(1);
}


/* Logo general */
a.navbar-brand img {
  height: 60px;
  width: auto;
}

/* Menú colapsado abierto: fondo blanco, texto negro */
.navbar-collapse.show {
  background: var(--principal) !important;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

ul.menu-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.menu-principal li {
  margin: 15px 0;
}

ul.menu-principal li a {
  color: black !important;
  font-size: 1.8rem;
  text-transform: uppercase;
  text-decoration: none;
}

/* Toggler personalizado */
.navbar-toggler {
  color:#fff;
  background-color: transparent;
  border: transparent;
  padding: 8px;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color:#fff;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon .line {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
}

/* Elimina transición vertical */
.collapsing {
  transition: none !important;
  height: auto !important;
}

/* Menú horizontal en desktop */
@media (min-width: 992px) {
  ul.menu-principal {
    flex-direction: row !important;
    gap: 2rem;
  }

  ul.menu-principal li {
    margin: 0 !important;
  }

  ul.menu-principal li a {
    font-size: 1rem;
    color: var(--principal) !important;
  }
}

/*  fin navegacion */



.texto-logo {
  color: var(--principal);
  font-weight: 800;
  font-size: 2rem;
  text-shadow: 2px 2px 2px var(--negro);
}

.hero {
  width: 100%;
  height: 80vh;
  position: relative;
  text-align: left;
  overflow: hidden;
}

/* HERO */
.hero-section {
  height: 85vh;
  background: url('img/cci.jpg') center center / cover no-repeat;
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}


/* HERO INNER package*/
.hero-section-inner {
  height: 35vh;
  background: url('img/cci.jpg') center center / cover no-repeat;
  position: relative;
}

.hero-section-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
}

.hero-section-inner .container {
  position: relative;
  z-index: 2;
}
.hero-section-inner h1{
  background:#000;
  display: inline;
}

/* INFO BOX */
.info-box {
  margin-top: -200px;
  border-radius: 8px;
  position: relative;
  z-index: 10;
  padding: 50px 20px;
}

.info-box .container{
  background: #111;
  padding: 50px;
}

#owl-contacto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#owl-contacto .item img {
  height: 100vh;
  object-fit: cover;
  width: 100%;
}

#owl-servicios .item img {
  width: auto !important;
  height: auto !important;
}
#owl-servicios .owl-carousel .owl-item img{
  display: inline !important;
}

.video-tile {
      aspect-ratio: 16 / 9;
      object-fit: cover;
      width: 100%;
      height: 100%;
      display: block;
    }

    .video-grid {
      margin: 0;
      padding: 0;
    }

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  /* Fondo negro con 50% de opacidad */
  z-index: 0;
  /* Debajo de los textos, pero sobre el video */
}

.textos-hero {
  position: relative;
  z-index: 1;
  /* Sobre el overlay */
  height: 100%;
  /* display: flex;*/
  align-items: center;
  justify-content: left;
  text-align: left;
}

.hero-text h2 {
  font-size: 3rem;
  color: var(--blanco);
  font-weight: 200;

}

.hero-text p {
  font-size: 1.2rem;
  color: var(--blanco);
  font-weight: 400;

}

.hero-text span {
  font-size: 1rem;
  color: var(--blanco);
  font-style: italic;
}

@media screen and (max-width: 992px) {
  .hero-text h2 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}




.seccion {}

#home {
  background: url(img/portada.jpg) no-repeat center center;
  background-size: cover;
}

#servicios {
  background: var(--claro);
}


#servicios-topframe {
  background: url(img/servicios-topframe.jpg) no-repeat center center;
  background-size: cover;
}

#contacto-topframe {
  background: url(img/portada.jpg) no-repeat center center;
  background-size: cover;
}


.owl-carousel .owl-stage {
  display: block !important;
}


#nosotros {}

ul#summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Espacio entre cada elemento */
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 50px;
}

ul#summary li {
  display: flex;
  align-items: center;
  /* Centrar verticalmente */
  gap: 20px;
  /* Espacio entre el círculo y el texto */
  position: relative;
  /* Necesario para aplicar el desplazamiento */
}

ul#summary li:nth-child(2) {
  left: 25px;
  /* Desplazamiento a la derecha */
}

ul#summary li:nth-child(3) {
  left: 50px;
  /* Desplazamiento a la derecha */
}

ul#summary li span {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--principal);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  /* Mantiene el tamaño del círculo */
}

ul#summary li p {
  color: var(--principal);
  font-weight: 800;
  font-size: 1rem;
  margin: 0;
}


ul.list-airbnb{
  list-style: none;
  padding-left: 0;
  margin-left:0;
}

ul.list-airbnb li{
  list-style: none;
  padding-bottom:5px;
  padding-top:5px;
}


.seccion {
  padding-top: 50px;
  padding-bottom: 50px;
}

.titulo-servicio {
  margin-top: 20px;
  margin-bottom: 20px;
}

#comentarios, #limpieza{
  background:var(--textoClaro);
}

#obras {}

.obra {}

.obra a img {
  width: 100%;
  height: auto;
}

.obra-overlay-wrapper {
  position: relative;
  overflow: hidden;
}

.obra-overlay-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.obra-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 35, 45, 0.6); /* fondo oscuro semitransparente */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.obra-overlay-wrapper:hover .obra-overlay {
  opacity: 1;
}

.obra-title {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  padding: 0 10px;
}


.obra-card {
  position: relative;
  cursor: pointer;
}

.overlay-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 12, 98, 0.6); /* fondo oscuro semitransparente */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.obra-card:hover .overlay-title {
  opacity: 1;
}


h4.obra,
h4.partner-title,
h4.coaches {
  color: var(--principal);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0;
  margin: 20px 0;
}

.ficha h1 {
  color: var(--principal);
  font-weight: 800;
  margin-bottom: 50px;
}

#banner-1 {
  background: var(--secundario);
  color: var(--blanco);
  padding-top: 50px;
  padding-bottom: 50px;
  text-transform: uppercase;
  font-weight: 800;
}

#contacto {
  background: #f2f2f2;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
}

#clientes h2 {
  color: var(--blanco);
}

#logo-clientes {
  background: var(--blanco);
}

#logo-clientes img {}

#footer {
  background: #111;
  color: var(--blanco);
}

.col-footer {}

.col-footer p {}

.col-footer p a {
  text-decoration: none;
  color: var(--blanco)
}

.col-footer ul {
  margin: 0;
  padding: 0;
}

.col-footer ul li {
  list-style: none;
}

.col-footer ul li a {
  text-decoration: none;
  color: var(--texto-gris)
}

.titulo-col-footer {
  color: var(--blanco);
  text-transform: uppercase;
  font-weight: 900;
}

.after-footer {
  margin-top: 50px;
  background: var(--principal);
  padding-top: 20px;
  padding-bottom: 20px;
}



/*****************************/
.video-container {
  display: flex;
  justify-content: space-between;

}

.video-item {
  position: relative;
  width: 25%;
  height: auto;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(76, 165, 158, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .overlay {
  opacity: 1;
}

.mobile-view .item {
  position: relative;
}

.video-portada{
  padding:0;
  margin:0;
}

.mobile-view .item img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-view .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(76, 165, 158, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-view .item:hover .overlay {
  opacity: 1;
}

/* En móviles, ocultar el video y mostrar la imagen de fondo */
/* Ocultar la versión de escritorio en móviles */
@media (max-width: 768px) {
  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }
}

/* Ocultar la versión móvil en escritorio */
@media (min-width: 769px) {
  .desktop-view {
    display: flex;
  }

  .mobile-view {
    display: none;
  }
}
