/* ====================== */
/* ESTILOS GLOBALES       */
/* ====================== */
:root {
    --primary-color: #042F9B;
    --secondary-color: #0072ff;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #777;
    --white: #fff;
    --black: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    background-color: #042F9B;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 140px;
    text-align: center;
}

.btn:hover, .btn:focus {
    background-color: #0674F9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    outline: none;
}

.touch-target {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ====================== */
/* HEADER & NAVEGACIÓN    */
/* ====================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    transition: background-color 0.5s ease, padding 0.5s ease;
    background-color: transparent;
}

header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

header.scrolled .menu-bottom-line {
    display: none;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 50px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    display: block;
}

.nav-menu ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--white);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover:after,
.nav-menu ul li a:focus:after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons {
    margin-right: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.call-now {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.call-now span {
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
}

.call-now a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.call-now a:hover,
.call-now a:focus {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 10px;
}

/* Línea separadora de contacto */
.contact-separator-line {
    height: 90px;
    width: 1px;
    background: #ddd;
    margin: 0 -20px;
    opacity: 0.3;
}

/* Línea inferior del menú */
.menu-bottom-line {
    height: 1px;
    background: #ddd;
    width: 100%;
    margin: 15px 0;
    margin-bottom: -16px;
    opacity: 0.3;
}

/* ====================== */
/* SECCIÓN INICIO         */
/* ====================== */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 5s linear;
    z-index: 1;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    text-align: left;
    width: 50%;
    padding: 0;
    color: var(--white);
    z-index: 3;
}

.slide .subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.title-rectangle {
    height: 2px;
    width: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 0 20px;
    opacity: 0;
}

.slide h1 {
    font-size: 90px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
}

.slide .btn {
    opacity: 0;
    transform: translateY(20px);
    border-radius: 4px;
}

.slide.active .subtitle,
.slide.active .title-rectangle,
.slide.active h1,
.slide.active .btn {
    animation: fadeInUp 0.8s ease forwards;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-nav .prev-slide::before {
    content: '← ';
    margin-right: 5px;
}

.slider-nav .next-slide::after {
    content: ' →';
    margin-left: 5px;
}
/* ====================== */
/* SECCIÓN CLIENTES       */
/* ====================== */
.our-clients {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.our-clients h2 {
    text-align: center;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 50px;
}

.clients-slider {
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.client-track {
    display: flex;
    gap: 50px;
    animation: scroll 30s linear infinite;
    width: calc(150px * 15);
    will-change: transform;
}

.client-logo {
    width: 150px;
    display: flex;
    align-items: center;
    min-width: 150px;
}

.client-logo img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 7.5));
    }
}

/* ====================== */
/* SECCIÓN SERVICIOS      */
/* ====================== */
.pure-experience {
    padding: 100px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.pure-experience h2 {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pure-experience .subtitle {
    font-size: 20px;
    font-weight: 0;
    color: #737373;
    max-width: 700px;
    margin: 0 auto 50px;
}

.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.card {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
    background-color: #ebebf0;
    color: #333;
    padding: 40px 70px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.card:hover {
    background-color: #dcdfea ;
    color: #333;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.card h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #333;
    bottom: 0;
    left: 0;
}

.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-weight: 400;
}

.card ul li:before {
    content: '•';
    position: absolute;
    left: 0;
}

/* Servicios con tarjetas giratorias */
.services {
    padding: 100px 0;
    background-color: #ebebf0;
}

.services h2 {
    text-align: center;
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.btn-info {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #014aad;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-info i {
    font-size: 16px;
}

.btn-info:hover {
    color: #014aad;
}

.flip-card {
    background-color: transparent;
    width: 350px;
    height: 450px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
}

.flip-card-front {
    z-index: 2;
}

.imagen-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido-servicio {
    padding: 20px;
    flex-grow: 1;
}

.contenido-servicio h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    margin-top: 10%;
}

.contenido-servicio p {
    font-size: 15px;
    color: #333;
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #dcdfea;
    padding: 30px 20px;
    justify-content: flex-start;
}

.flip-card-back h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 20px 0 15px;
    color: var(--primary-color);
}

.flip-card-back ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.flip-card-back ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.flip-card-back ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #012b5e;
}

.icono-servicio {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 50px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

/* ====================== */
/* SECCIÓN NOSOTROS       */
/* ====================== */
/* Parallax Section */
.parallax {
    padding: 150px 0;
    background-image: url('imagenes/parallax/img-1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;       
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.575);
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.parallax-content h2 {
    font-size: 50px;
    margin-bottom: 30px;
}

/* Market Leaders Section */
.market-leaders {
    position: relative;
    overflow: hidden;
}

.market-leaders .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/img/b1.jpg'); /* Cambia aquí tu ruta */
    background-size: cover;
    background-position: center;
    opacity: 0.10; /* Ajusta este valor para más o menos transparencia */
    z-index: 0;
}

.market-leaders .container {
    position: relative;
    z-index: 1; /* Asegura que el contenido esté por encima de la imagen de fondo */
}

.market-leaders {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.market-leaders .container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.content-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: stretch;
}

.image-zoom-container {
    overflow: hidden;
    border-radius: 8px;
    flex: 1;
}

.image-zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.content-right {
    flex: 1;
    min-width: 300px;
}

.content-right h2 {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-right p {
    font-size: 20px;
    font-weight: 0;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.content-right .highlight {
    font-size: 26px;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.progress-section {
    margin-bottom: 30px;
}

.progress-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.progress-container {
    width: 100%;
    height: 6px;
    background-color: var(--medium-gray);
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.progress-section span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 50px;
    color: var(--primary-color);
}

.subtitle {
    font-size: 20px;
    font-weight: 0;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 50px;

}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.faq-column-left {
    flex: 1;
    min-width: 300px;
}

.faq-column-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ebebf0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item h3 {
    background-color: #ebebf0;
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.faq-item h3::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 20px;
    display: none;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-banner {
    width: 100%;
    margin-bottom: 20px;
}

.faq-banner img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    /* Filtros para blanco y negro con tono azul */
    filter: 
        grayscale(100%)      /* Blanco y negro puro */
}

.faq-checklist {
    list-style: none;
    width: 100%;
    margin: 20px 0;
}

.faq-checklist li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.faq-checklist li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary-color);
    font-size: 16px;
}

.years-experience {
    width: 220px; /* Ajusta según tu diseño */
    height: 220px; /* Ajusta según tu diseño */
    background-image: url('imagenes/icon/1.png'); /* Ruta de la imagen */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

/* Contenedor para checks y años de experiencia */
.experience-container {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 0px;
    align-items: center;
}

/* Ajustes para la lista de checks */
.faq-checklist {
    flex: 1;
    margin: 0;
}

.faq-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-checklist li:hover {
    transform: translateX(5px);
}

.faq-checklist li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Animación de aumento al pasar el mouse */
.faq-checklist li:hover i {
    transform: scale(1.3);
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(4, 47, 155, 0.3);
}

/* Animación de "pulse" al cargar la página */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.faq-checklist li i {
    animation: pulse 0.6s ease-out; /* Animación al cargar */
}

/* Ajustes para el cuadro de años */
.years-experience {
    flex: 0 0 auto;
    font-size: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(1.2rem, 4vw, 2rem) clamp(1.2rem, 3vw, 1rem);
    background-color:#042F9B;
    border-radius: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    min-width: 120px;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.years-experience:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.years-experience span {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 600;
    color:#ffffff;
    margin-top: -2px;
    white-space: nowrap;
}

/* CTA Cards Section */
.cta-cards {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.cta-cards .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.cta-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #ebebf0;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-10px);
    background-color: #dcdfea;
}

.cta-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-color);
     margin-top: 25px;
}

/* ====================== */
/* SECCIÓN NUESTRO EQUIPO */
/* ====================== */
.our-team {
            padding: 100px 0;
            background-color: #ebebf0;
            text-align: center;
        }
        
        .our-team h2 {
            font-size: 50px;
            color: var(--primary-color);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .team-description {
            max-width: 800px;
            margin: 0 auto 50px;
            font-size: 20px;
            color: var(--dark-gray);
            line-height: 1.8;
            padding: 0 20px;
        }
        
        .team-members {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            justify-content: center;
        }
        
        .team-member {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
            padding: 25px;
            text-align: center;
        }
        
        .team-member:hover {
            transform: translateY(-10px);
        }
        
        /* AJUSTES PARA CÍRCULOS PERFECTOS */
        .member-photo {
            width: 200px;
            height: 200px; /* Mantener altura y ancho iguales */
            border-radius: 50%; /* Esto crea el círculo */
            overflow: hidden;
            margin: 0 auto 20px;
            border: 5px solid var(--light-gray);
            position: relative;
            /* Garantiza que el contenedor sea siempre un círculo */
            aspect-ratio: 1/1; /* Relación de aspecto 1:1 */
        }
        
        .member-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ajusta la imagen sin distorsión */
            transition: transform 0.5s ease;
            object-position: center; /* Centra la imagen */
        }
        
        .team-member:hover .member-photo img {
            transform: scale(1.05);
        }
        
        .member-info {
            display: flex;
            flex-direction: column;
            height: 100%;
            flex: 1; /* Ocupa todo el espacio disponible */
        }
        
        .member-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 5px;
        }
        
        .member-position {
            font-size: 1rem;
            color: var(--secondary-color);
            margin-bottom: 35px;
            font-weight: 500;
            min-height: 50px; /* Altura uniforme para el cargo */
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* AJUSTES PARA ALINEAR TEXTOS */
        .member-details {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            min-height: 200px; /* Altura mínima uniforme */
            margin-bottom: 15px;
        }
        
        .member-details ul {
            list-style: none;
            padding: 0;
            text-align: left;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: stretch; /* Distribuye el espacio uniformemente */
        }
        
        .member-details li {
            position: relative;
            margin-bottom: 12px;
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--dark-gray);
            padding-left: 20px;
            display: flex;
            align-items: stretch;
            min-height: 40px; /* Altura mínima para cada línea */
        }
        
        .member-details li:before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--secondary-color);
            font-size: 1.2rem;
            top: 0;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: auto; /* Empuja hacia abajo para alinear */
            padding-top: 20px;
            border-top: 1px solid var(--medium-gray);
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: var(--primary-color);
            color: var(--white);
            border-radius: 50%;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }
        
        .social-links a:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        /* Responsive para la sección de equipo */
        @media (max-width: 992px) {
            .team-members {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .our-team {
                padding: 70px 0;
            }
            
            .our-team h2 {
                font-size: 2rem;
            }
            
            .member-photo {
                width: 180px;
                height: 180px;
            }
            
            .member-details {
                min-height: 180px;
            }
        }
        
        @media (max-width: 480px) {
            .our-team h2 {
                font-size: 1.8rem;
            }
            
            .team-description {
                font-size: 1rem;
            }
            
            .member-photo {
                width: 160px;
                height: 160px;
            }
            
            .member-details {
                min-height: 150px;
            }
        }
/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    animation: scroll-testimonials 30s linear infinite;
    width: calc(350px * 8);
    will-change: transform;
}

.testimonial-card {
    width: 350px;
    background-color: #ebebf0;
    padding: 30px;
    border-radius: 10px;
    min-width: 350px;
}

.testimonial-card p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-info span {
    font-size: 14px;
    color: var(--dark-gray);
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 4));
    }
}

/* ====================== */
/* SECCIÓN CONTACTO       */
/* ====================== */
.contact {
    padding: 100px 0;
    background-color: #ebebf0;
}

.contact h2 {
    text-align: center;
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item p, .info-item a {
    font-size: 16px;
    color: var(--text-color);
}

.info-item a:hover {
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(4, 47, 155, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Mapa */
iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ====================== */
/* FOOTER                 */
/* ====================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    max-height: 40px;
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col.contact-col ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-col.contact-col ul li i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.copyright {
    text-align: left;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: -3.1%;
}

.legal-links a {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* ====================== */
/* COMPONENTES ADICIONALES */
/* ====================== */
/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* ====================== */
/* MEDIA QUERIES          */
/* ====================== */
@media (max-width: 1200px) {
    .slide h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .slide-content {
        width: 70%;
        left: 10%;
    }
    
    .slide h1 {
        font-size: 3rem;
    }
    
    .pure-experience h2, .market-leaders h2, 
    .our-team h2, .testimonials h2, 
    .contact h2 {
        font-size: 36px;
    }
    
    .years-experience {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        transition: all 0.5s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
    }
    
    .header-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .slide-content {
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    
    .slide .subtitle {
        font-size: 12px;
    }
    
    .slide h1 {
        font-size: 2.5rem;
    }
    
    .title-rectangle {
        margin: 0 auto 20px;
    }
    
    .slider-nav button {
        min-width: auto;
        padding: 8px 15px;
    }
    
    /* Hide lines on mobile */
    .contact-separator-line,
    .menu-bottom-line {
        display: none;
    }
    
    .years-experience {
        font-size: 40px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }

    .copyright, .legal-links {
        width: 100%;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .slide h1 {
        font-size: 2rem;
    }
    
    .slide .btn {
        padding: 12px 25px;
        min-width: 160px;
    }
    
    .slider-nav button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .years-experience {
        font-size: 35px;
    }

    .flip-card {
        width: 100%;
        max-width: 350px;
    }

    .testimonial-card {
        min-width: 300px;
    }
}

