/* =============================================
   GAP ADVISORS CSS PERSONALIZADO
   Autor: Chicho Rivera
   Fecha: 2025-07-08
   Descripción: Estilos base para la landing page de GAP Advisors
================================================ */


/* Tipografía */
@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Extralight.woff2') format('woff2'),
        url('../fonts/Chillax-Extralight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Light.woff2') format('woff2'),
        url('../fonts/Chillax-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Medium.woff2') format('woff2'),
        url('../fonts/Chillax-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Regular.woff2') format('woff2'),
        url('../fonts/Chillax-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Semibold.woff2') format('woff2'),
        url('../fonts/Chillax-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chillax';
    src: url('../fonts/Chillax-Bold.woff2') format('woff2'),
        url('../fonts/Chillax-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}




/* Fuente general y fondo decorativo */
.espacio5{
  clear: both;
  padding: 2.5px 0;
}
.espacio10{
  clear: both;
  padding:5px 0;
}
.espacio20{
  clear: both;
  padding:10px 0;
}
.espacio50{
  clear: both;
  padding:25px 0;
}
.espacio100{
  clear: both;
  padding:50px 0;
}
body {
  font-family: 'Chillax';
  color: #1f2937;
  background-image: url(../img/gap-bg-top.png);
  background-position: top right;
  background-repeat: no-repeat;
  background-color: #fff;
}
.only-mobile{
    display: none;
}



.gap-es-bajada{
  font-size: 34px;
  font-weight: 300;
  line-height: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.gap-es-bajada b{
  font-weight: 500;
}
.gap-es-bajada b.b2{
  font-weight: 400;
}
.bajada-bg{
  background: url(../img/bg-bajada.png) no-repeat center;
  color: #fff;
  font-size: 22px;
  padding: 70px 100px;
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
}


#clientes .clientes-titulo{
  color: #14183e;
  font-size: 45px;
  font-weight: 600;
}

.clientes-bajada{
  font-size: 34px;
  font-weight: 300;
  line-height: 40px;
  text-align: center;
  margin: 0 auto;
  max-width:1200px;
}

#carrusel-logos{
  margin: 70px 0;
}



.servicios-titulo{
  font-size: 40px;
  font-weight: 500;
  line-height: 50px;
  margin-bottom: 30px;
}
.servicios-txt{
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 20px;
}



.como-lo-hacemos-titulo{
  font-size: 42px;
}






/* Color de texto personalizado */
.text-red {
  color: #c0392b;
}

/* Botón amarillo principal */
.btn-yellow {
  background-color: #f59e0b;
  color: white;
}

.btn-yellow:hover {
  background-color: #d97706;
  color: white;
}









.carrusel-container {
  position: relative;
  width: 90%;
  height: 500px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrusel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carrusel-item {
  position: absolute;
  width: 75%;
  height: 250px;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #383637;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1rem 1rem 5rem;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: transform 1s, opacity 1s;
}

.carrusel-item .cliente-foto {
  position: absolute;
  top: -1.2rem;
  left: -1.2rem;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  object-fit: cover;
  
}

.carrusel-item .comentario {
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 5px;
}

.carrusel-item .nombre {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0;
}

.carrusel-item .cargo {
  font-size: 16px;
  opacity: 0.8;
}

.carrusel-controls {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  }

.carrusel-controls button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: black;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.carrusel-controls button:hover {
  background: rgba(255,255,255,0.4);
}

/* Inputs de formulario con tamaño ajustado */
.form-control,
.form-control:focus {
  font-size: 0.875rem;
}

/* Botón amarillo versión pequeña */
.btn-yellow-sm {
  font-size: 0.875rem;
  font-weight: 600;
  background-color: #f59e0b;
  border: none;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
}

.btn-yellow-sm:hover {
  background-color: #d97706;
  color: white;
}

/* ===========================
   MEDIA QUERIES
=========================== */
@media (max-width: 767.98px) {
  .puzzle-bg {
    display: none;
  }
  .puzzle-bg-top-left {
    display: none;
  }
}

/* ===========================
   HEADER STICKY CON SCROLL
=========================== */
header .gap-menu a{
  padding: 0 25px;
}
header .gap-menu a:last-child{
  margin-right: 140px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

header .gap-menu a:nth-child(1),
header .gap-menu a:nth-child(2){
  color:#212832;
}
header.sticky-top {
  z-index: 1030;
}
header.sticky-top.scrolled .gap-menu a:last-child{
  margin-right: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
header nav a {
  color: #fff;
  font-family: 'Chillax';
  font-weight: 500;
  padding: 0 20px;
}

header nav a,
header.scrolled nav a {
  color: #333;
}

header{
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;

}
header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding-bottom: 5px;
  padding-top: 10px;

}

/* Logo con animación al hacer scroll */
header .header-logo {
  max-height: 50px;
  transition: all 0.5s ease-in-out;
}

header.scrolled .header-logo {
  max-height: 40px;
  transition: all 0.5s ease-in-out;
}

/* Padding vertical en header */
header .py-3 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}



/* Banner Principal */
.banner-container {
  width: 100%;
  position: relative;
}

.fade-banner {
  position: relative;
  width: 100%;
  height: auto;
}

.fade-banner img.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.fade-banner img.active {
  opacity: 1;
  z-index: 1;
}
.banner-bajada{
  font-family: 'Chillax';
  font-weight: 400;
  line-height: 48px;
}
.banner-bajada .typo-1{
  font-size: 70px;
  font-weight: 400;
  line-height:70px;
}
.banner-bajada .typo-2{
    color:#c0392b;
  font-size: 70px;
  font-weight: 600;
  line-height:70px;
}

.btn-agende-aca{
  background: #faa725;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  color:#fff;
  font-family: 'Chillax';
  font-size: 18px;
  font-weight: 500;
  padding:15px 30px;
}




@media (max-width: 768px) {
  .fade-banner img.banner-slide {
    height: auto;
  }
}

/* ===========================
   OWL CAROUSEL ESTILOS
=========================== */
.owl-dots {
  text-align: left;
  margin-top: 0.5rem;
}

.owl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #c0392b;
  border-radius: 50%;
  margin-right: 6px;
  cursor: pointer;
  opacity: 0.3;
}

.owl-dot.active {
  opacity: 1;
}

/* Imagen del testimonio perfectamente redonda */
.testimonial-card img {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  width:70px !important;
  object-fit: cover;
  display: block;
  position: absolute;
  left: -30px;
  top: -30px;
}





.card-light{
  -webkit-border-radius: 50px;
  border-radius: 50px;
  background-color: #f8f9fb;
  padding: 45px 30px;
}
.card-light:hover{
  background-color: #faa725;
  color:#fff;
}
.card-titulo{
  font-size: 24px;
  font-weight: 600;
}
.card-txt{
  font-size: 16px;
  font-weight: 300;
}
.como-lo-hacemos-icon{
  -webkit-border-radius: 50%;
  border-radius: 50%;
  max-width: 100px;
}


.bg-contacto{
  background: #fff url(../img/bg-contacto.png) top left no-repeat;
  padding-top: 100px;
  margin-top:50px;
}
.gap-contacto{
  background: #fff url(../img/bg-form.jpg) bottom right no-repeat;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(0,0,0,0.15);
  box-shadow: 0 10px 30px 0 rgba(0,0,0,0.15);
  margin-bottom: 100px;
  padding-bottom: 50px;
  padding-top:30px;
}
.gap-contacto input{
  padding:10px 15px;
  font-size: 17px;
}

.gap-contacto textarea{
  padding:10px 15px;
  min-height: 150px;
  font-size: 17px;
}
.gap-contacto .gap-contacto-titulo{
  color:#38363f;
  font-size: 35px;
  margin-bottom: 20px;
}
.gap-contacto .gap-contacto-bajada{
  color:#38363f;
  font-size: 18px;
  margin-bottom: 20px;
}
.gap-contacto .btn{
  background:#f1a501;
  color:#fff;
  font-size: 17px;
  font-weight: 600;
  padding: 15px 20px;
}
.contacto-mensaje{
    border:1px solid #28a745;
    margin:30px 0;
    padding:15px;
}

.contacto-mensaje b{
    font-weight:500;
}




.equipo-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            padding: 20px;
        }

        /* Estilos de la Card */
        .equipo-flip-card {
            background-color: transparent;
            width: 100%;
            height: 400px;
            perspective: 1000px;
            cursor: pointer;
        }

        .equipo-flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            transform: rotateY(0deg);
        }

        @media (hover: hover) and (pointer: fine) {
          .equipo-flip-card:hover .equipo-flip-card-inner {
            transform: rotateY(180deg);
          }
        }

        /* Soporte para flip en mobile con clase */
        .equipo-flip-card.flipped .equipo-flip-card-inner {
            transform: rotateY(180deg);
        }

        .equipo-flip-card-front,
        .equipo-flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 50px;
        }

        /* Frente de la Card */
        .equipo-flip-card-front {
            background-color: #f8f9fb;
            color: black;
            padding: 30px 20px;
        }

        .equipo-profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 4px solid #ddd;
        }

        .equipo-person-name {
            font-size: 24px;
            font-weight: bold;
            margin: 15px 0 10px 0;
            color: #333;
        }

        .equipo-person-position {
            font-size: 14px;
            color: #666;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Reverso de la Card */
        .equipo-flip-card-back {
            background-color: #c0392b;
            color: white;
            transform: rotateY(180deg);
            padding: 30px;
            overflow-y: auto;
            position: relative;
        }

        .equipo-flip-card-back h3 {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            margin-top: 10px;
        }

        .equipo-flip-card-back p {
            font-size: 14px;
            line-height: 1.6;
            text-align: justify;
            margin-bottom: 12px;
        }

        .equipo-flip-card-back p:last-child {
            margin-bottom: 0;
        }

        /* Botón de cerrar */
        .equipo-flip-card-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.3);
            color: white;
            border: none;
            font-size: 28px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
          display: none;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        .equipo-flip-card-close:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        /* Modal Mobile */
        .equipo-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #fff;
            z-index: 999;
            align-items: center;
            justify-content: center;
        }

        .equipo-modal-overlay.active {
            display: flex;
        }

        .equipo-modal-content {
            background-color: #c0392b;
            color: white;
            border-radius: 50px;
            padding: 40px 30px;
            max-width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            animation: slideIn 0.3s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .equipo-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border: none;
            background-color: rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 28px;
            cursor: pointer;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }

        .equipo-modal-close:hover {
            background-color: rgba(255, 255, 255, 0.5);
        }

        .equipo-modal-content h3 {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            margin-top: 0;
            padding-right: 50px;
        }

        .equipo-modal-content p {
            font-size: 15px;
            line-height: 1.7;
            text-align: justify;
            margin-bottom: 15px;
        }

        .equipo-modal-content p:last-of-type {
            margin-bottom: 0;
        }

        


 .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c0392b;
    color: #fff;
    padding: 20px 40px;
    border-radius: 50px;
    font-family: Arial, sans-serif;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }

  .whatsapp-btn:hover {
    background-color: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  }

  .whatsapp-icon {
    width: 20px;
    height: 20px;
  }

footer{
  background: #c0392b url(../img/bg-footer.png) bottom left no-repeat;
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 150px;
}
footer a{
  color: #fff;
}
.social-icon{
  display: inline-block;
  background-color: #fff;
  -webkit-border-radius: 22px;
  border-radius: 22px;
  color: #c23d36;
  font-size: 20px;
  height: 44px;
  padding-top: 11px;
  width:44px;
  margin:0 10px;
}
.social-icon:first-of-type{
  margin-left: 50px;
}
.social-icon:last-of-type{
  margin-right: 50px;
}
.footer-menu{
  padding-top:40px;
}
footer .footer-menu a{
  margin:0 15px;
}


