/* ================================================================
    VARIABLES GLOBALES Y RESET
================================================================
*/
:root {
    --font-titles: 'Montserrat', sans-serif;
    --font-body: 'Hind', sans-serif;

    --primary-blue: #0A192F;    /* Azul Medianoche */
    --accent-gold: #C5A059;     /* Dorado de acento */
    --soft-gray: #F8F9FA;       /* Gris editorial claro */
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================================================
    ESTILOS GLOBALES Y UTILIDADES DE SECCIÓN
================================================================
*/
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-blue);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Sección Clara (Fondo Blanco - Hero / Servicios) */
.section-light {
    background-color: var(--white);
    padding: 120px 0;
    color: var(--text-dark);
}

/* Sección Oscura (Fondo Azul Premium - Nosotros / Contacto) */
.section-dark {
    background-color: var(--primary-blue);
    padding: 120px 0;
    color: var(--white);
}

/* ================================================================
    ESTILOS GLOBALES DE TÍTULOS (SISTEMA EDITORIAL)
================================================================
*/

/* Estructura base del contenedor de intro */
.categories-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* La línea dorada global */
.gold-line {
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-bottom: 30px;
}

/* Título Premium Global */
.premium-title {
    font-family: var(--font-titles);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-transform: none;
    transition: color 0.4s ease;
}

/* Subtítulo Global */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

/* El Resaltado Dorado Global */
.text-gold {
    color: var(--accent-gold);
    display: inline-block;
}

/* ----------------------------------------------------------------
    ADAPTACIÓN POR TIPO DE SECCIÓN
---------------------------------------------------------------- */

/* VARIANTES PARA SECTION-LIGHT (Fondo Blanco/Claro) */
.section-light .premium-title {
    color: var(--primary-blue);
}

.section-light .section-subtitle {
    color: var(--primary-blue);
    opacity: 0.9;
}

/* VARIANTES PARA SECTION-DARK (Fondo Negro/Azul Profundo) */
.section-dark .premium-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7); /* Blanco suavizado para elegancia */
}


/* ================================================================
    HEADER & NAVIGATION (DYNAMIC GLASSMORPHISM)
================================================================
*/
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Evitamos el bloque blanco inicial forzando transparencia */
    background: transparent; 
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.03);
}

nav {
    height: 110px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height 0.4s ease;
}

.main-header.scrolled nav {
    height: 85px; 
}

.nav-logo {
    height: 50px; 
    width: auto;
    display: block;
    transition: transform 0.4s ease;
}

.main-header.scrolled .nav-logo {
    transform: scale(0.9); 
}

.nav-minimal {
    display: flex;
    gap: 45px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-cta {
    background: var(--primary-blue);
    color: var(--white); 
    padding: 12px 26px;
    border-radius: 40px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2);
    background: var(--accent-gold); 
    color: var(--primary-blue);
}

/* ================================================================
    MENU HAMBURGUESA & SIDE-DRAWER MOBILE (PARCIAL + BLUR)
================================================================
*/
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000; 
    position: relative;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .main-header:not(.scrolled) {
        background: transparent !important;
        backdrop-filter: none !important;
    }

    .nav-minimal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        right: -100%; 
        width: 80%; 
        height: 100vh;
        /* Fondo sólido para que no se vea lo de atrás a través del menú */
        background: #FFFFFF; 
        padding: 50px 10%;
        gap: 30px;
        text-align: left;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1);
    }

    .nav-minimal.active {
        right: 0; 
    }

    /* CAPA OPACA SOLO PARA LA PARTE DE ATRÁS (OVERLAY EXCLUSIVO) */
    .nav-minimal::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        /* Solo cubrimos el 20% que queda libre a la izquierda */
        width: 20%; 
        height: 100vh;
        background: rgba(10, 25, 47, 0.4); /* Más opaco para contraste editorial */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
        /* Importante: Sacamos la capa del área del menú */
        z-index: -1; 
    }

    .nav-minimal.active::after {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 12px;
        width: 100%;
        color: var(--primary-blue);
    }

    .nav-link::after {
        display: none;
    }

    .main-header nav {
        height: 80px;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(15px);
    }
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--accent-gold);
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--accent-gold);
    }
}

/* ================================================================
    HERO SECTION - REFINAMIENTO EDITORIAL (NON-SIMPLE)
================================================================
*/
.section-hero {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Título Masivo */
.display-title {
    font-family: var(--font-titles);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -4px;
    color: var(--primary-blue);
}

.display-title span {
    color: var(--accent-gold);
    display: block;
}

/* BLOQUE DE APOYO REFINADO */
.hero-sub-text {
    display: flex;
    flex-direction: column;
    padding-right: 5%;
    position: relative;
}

.hero-sub-text::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    margin-bottom: 20px;
}

.hero-sub-text p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--primary-blue);
    line-height: 1.5;
    margin: 0;
    letter-spacing: 0.5px;
    max-width: 380px;
}

/* Imagen: Adaptable sin pérdida de dimensiones */
.hero-image-container {
    width: 100%;
    max-width: 420px;
    /* Eliminamos height fijo para que respete la proporción real de la imagen */
    height: auto; 
    border-radius: 20px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.hero-img-minimal {
    width: 100%;
    height: auto; /* Permite que la imagen dicte su propia altura */
    display: block;
    /* object-fit: contain asegura que se vea el 100% de la foto siempre */
    object-fit: contain; 
    filter: saturate(1.1);
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Botón: Integrado en el bloque */
.cta-group {
    margin-top: 20px;
}

.link-arrow {
    font-family: var(--font-titles);
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 5px;
    transition: all 0.4s ease;
    display: inline-block;
}

.link-arrow:hover {
    color: var(--accent-gold);
    padding-left: 10px;
    border-bottom-color: var(--primary-blue);
}

/* ================================================================
    RESPONSIVO - HERO SECTION
================================================================
*/

@media (max-width: 1024px) {
    .section-hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-sub-text {
        padding-right: 0;
        align-items: center;
    }

    .hero-sub-text p {
        max-width: 100%;
        font-size: 1.2rem;
    }

    .hero-image-container {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .display-title {
        font-size: clamp(3rem, 12vw, 4.5rem);
        letter-spacing: -2px;
    }

    .section-hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-sub-text::before {
        margin: 0 auto 20px;
    }
}

@media (max-width: 480px) {
    .display-title {
        line-height: 1;
    }
}

/* ================================================================
    SECCIÓN NOSOTROS (SPLIT + BENTO COMPACT) - MGASESORIAS
================================================================
*/
.container-fluid {
    width: 100%;
    padding: 0;
}

.about-wrapper {
    display: flex;
    min-height: 100vh; 
    align-items: center; /* Centra verticalmente los dos bloques */
    background-color: var(--primary-blue);
    padding: 40px 0; /* Espacio de seguridad superior e inferior */
}

/* Lado Izquierdo: Imagen de la Firma con Margen */
.about-image-main {
    flex: 1.1;
    position: relative;
    height: 85vh; /* Altura controlada para que flote */
    margin-left: 4%; /* SEPARACIÓN DEL MARGEN IZQUIERDO */
    border-radius: 40px; /* Bordes redondeados premium */
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay para suavizar la integración */
.about-image-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(10, 25, 47, 0.2));
    pointer-events: none;
}

.tag-floating {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    color: var(--accent-gold);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 4px;
    border-left: 3px solid var(--accent-gold);
    z-index: 2;
}

/* Lado Derecho: Información (Bento Compact) */
.about-info-grid {
    flex: 0.9;
    padding: 0 6% 0 5%; /* Ajuste de equilibrio lateral */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-header {
    margin-bottom: 40px;
}

.info-header .tag {
    color: var(--accent-gold);
    font-family: var(--font-titles);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.info-header .premium-title {
    font-family: var(--font-titles);
    color: var(--white);
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    margin: 20px 0;
    line-height: 1.1;
    font-weight: 800;
}

.info-header p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--soft-gray);
    opacity: 0.9;
    max-width: 520px;
}

/* Rejilla de Cajas Bento Compactas */
.bento-compact {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
}

.bento-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 32px; 
    padding: 35px;
    transition: var(--transition-smooth);
}

.bento-mini:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* Caja de Estadísticas */
.stat {
    background: var(--accent-gold);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat .number {
    display: block;
    font-family: var(--font-titles);
    font-size: 5rem; 
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat .label {
    font-family: var(--font-titles);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.9;
}

/* Caja de Especialidades */
.services {
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services .clean-list li {
    font-family: var(--font-titles);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    list-style: none;
}

.services .clean-list li span {
    color: var(--accent-gold);
    font-weight: 800;
    margin-right: 10px;
}

/* Caja de Frase de Autoridad */
.quote {
    grid-column: span 2;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.05); 
}

.quote p {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent-gold);
    text-align: center;
    font-weight: 400;
}

/* ================================================================
    RESPONSIVO - SECCIÓN NOSOTROS (ABOUT) - CORRECCIÓN DE IMAGEN
================================================================
*/
@media (max-width: 1100px) {
    .about-wrapper {
        flex-direction: column;
        padding: 0 5%; /* Añadimos aire al contenedor principal */
    }

    /* Imagen principal: Ajustada para que no toque los bordes */
    .about-image-main {
        margin: 0 auto; /* Centrado horizontal */
        width: 100%; /* Ocupa el ancho del contenedor con el padding anterior */
        max-width: 900px; /* Evita que crezca demasiado en tablets */
        height: 450px;
        border-radius: 20px; /* Mantenemos la estética curva aprobada */
        object-fit: cover;
    }

    .about-info-grid {
        padding: 40px 0; /* Ajustamos el padding para alinearlo con la imagen */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Ajuste de la cuadrícula Bento a una sola columna */
    .bento-compact {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 20px;
    }

    .quote {
        grid-column: span 1;
        font-size: 1.1rem;
    }

    /* ELIMINAR PUNTOS DE LISTAS EN ESTA SECCIÓN */
    .about-info-grid ul, 
    .about-list, 
    .bento-item ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* Centrado de elementos decorativos */
    .premium-title::after, 
    .gold-line {
        margin: 15px auto;
    }
}

@media (max-width: 768px) {
    .about-image-main {
        height: 300px; /* Altura más cómoda para móviles */
        border-radius: 15px; /* Radio ligeramente menor para pantallas pequeñas */
    }

    .about-info-grid h2 {
        font-size: 2.2rem;
    }
}

/* ================================================================
    SERVICIOS - DISEÑO EDITORIAL (COMPONENTES ESPECÍFICOS)
================================================================
*/

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; 
    margin-top: 50px;
}

.service-card {
    /* Efecto Cristal sobre el Azul Primario */
    background: rgba(10, 25, 47, 0.95); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    padding: 50px 40px;
    width: calc(33.333% - 20px);
    min-width: 320px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Borde sutil que define el cristal */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.2);
}

/* Reflejo de "Luz de Cristal" superior */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    background: var(--primary-blue);
    box-shadow: 0 25px 50px rgba(10, 25, 47, 0.3);
    border-color: var(--accent-gold);
}

/* Detalles de la Tarjeta */
.service-icon {
    display: flex; /* Nuevo: para alinear icono y número */
    justify-content: space-between; /* Nuevo: separa el número del icono */
    align-items: center; /* Nuevo: centra verticalmente */
    font-family: var(--font-titles);
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

/* Estilo específico para el icono FontAwesome */
.service-icon i {
    font-size: 1.8rem;
    transition: all 0.4s ease;
    opacity: 0.8;
}

/* Iluminación del número e icono al hacer hover */
.service-card:hover .service-icon {
    color: var(--white);
    text-shadow: 0 0 12px var(--accent-gold);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    opacity: 1;
}

.service-title {
    font-family: var(--font-titles);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    z-index: 2;
}

.service-description {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
    z-index: 2;
}

/* BOTÓN ADAPTADO (WhatsApp Ready) */
.btn-service-ws {
    margin-top: auto;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    width: fit-content;
    z-index: 2;
}

.btn-service-ws:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateX(8px);
}

/* RESPONSIVO ESPECÍFICO DE TARJETAS */
@media (max-width: 1100px) {
    .service-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 100%;
        padding: 45px 35px;
    }
    
    .services-wrapper {
        gap: 25px;
    }

    .btn-service-ws {
        align-self: center;
    }

    .service-icon i {
        font-size: 1.5rem;
    }
}


/* ================================================================
    ASESORES - SECCIÓN DARK (EDITORIAL TEAM REFINADO)
================================================================
*/

.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
}

.advisor-card {
    width: calc(33.333% - 27px);
    min-width: 300px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Contenedor de Imagen con marco elegante */
.advisor-img-container {
    width: 100%;
    aspect-ratio: 4 / 5; /* Formato vertical tipo revista */
    overflow: hidden;
    border-radius: 20px;
    background: var(--accent-gold);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gradiente sutil para integrar la imagen al fondo */
.advisor-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.5), transparent);
}

.advisor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.8s ease;
}

.advisor-card:hover .advisor-img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.08);
}

/* Información del Asesor (Efecto Flotante y Cristal) */
.advisor-info {
    position: relative;
    margin-top: -45px; /* Eleva la info sobre la foto */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 20px;
    margin-right: 20px;
    z-index: 2;
    text-align: center;
    transition: all 0.4s ease;
}

.advisor-card:hover .advisor-info {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.advisor-name {
    font-family: var(--font-titles);
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.advisor-specialty {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

/* Línea decorativa centrada que crece al hacer hover */
.advisor-line {
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    margin: 0 auto;
    transition: width 0.4s ease;
}

.advisor-card:hover .advisor-line {
    width: 60px;
}

/* RESPONSIVO ASESORES */
@media (max-width: 1100px) {
    .advisor-card {
        width: calc(50% - 20px);
    }
}

/* Tablets y Móviles: Color natural y ajustes de escala */
@media (max-width: 1024px) {
    .advisor-img {
        filter: grayscale(0%) contrast(1); /* Color natural sin hover */
    }
    
    .advisor-card:hover .advisor-img {
        transform: none; /* Evitamos zoom accidental al tocar en móviles */
    }
}

@media (max-width: 768px) {
    .advisor-card {
        width: 100%;
        max-width: 380px;
    }
    
    .advisor-info {
        margin-top: -35px;
        padding: 25px 15px;
    }

    .advisor-name {
        font-size: 1.4rem;
    }

    /* La línea dorada se mantiene visible para dar identidad */
    .advisor-line {
        width: 50px;
    }
}

/* ================================================================
    PROBLEMA Y SOLUCIÓN - ESTILO EDITORIAL ASIMÉTRICO (PROTEGIDO)
================================================================
*/

.ps-wrapper {
    display: flex;
    align-items: stretch; /* Cambiado a stretch para que ambas cajas tengan la misma altura si es necesario */
    position: relative;
    margin-top: 80px;
    padding-bottom: 50px;
}

/* Bloque del Problema (La Base) */
.ps-box.problem {
    background-color: var(--primary-blue);
    color: var(--white);
    /* El padding-right de 15% crea el área de seguridad para que el texto no se tape */
    padding: 100px 15% 100px 60px; 
    width: 60%;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Bloque de la Solución (El Alivio que flota) */
.ps-box.solution {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 80px 60px;
    width: 50%;
    margin-left: -10%; /* Superposición controlada */
    border-radius: 24px;
    z-index: 2;
    box-shadow: -20px 30px 60px rgba(10, 25, 47, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Elemento decorativo: El "Check" de solución */
.ps-box.solution::after {
    content: '✓';
    position: absolute;
    top: -25px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.ps-tag {
    font-family: var(--font-titles);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
    font-weight: 700;
}

.ps-box.problem .ps-tag { color: var(--accent-gold); }
.ps-box.solution .ps-tag { color: var(--primary-blue); opacity: 0.6; }

.ps-title {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 4vw, 2.4rem); /* Tamaño fluido para evitar desbordes */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.ps-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 30px;
}

/* RESPONSIVO REFINADO */
@media (max-width: 1024px) {
    .ps-wrapper {
        flex-direction: column;
        padding-bottom: 0;
    }
    
    .ps-box.problem {
        width: 100%;
        margin-left: 0;
        padding: 60px 40px; /* En móvil volvemos al padding normal */
        border-radius: 30px 30px 0 0;
    }

    .ps-box.solution {
        width: 100%;
        margin-left: 0;
        margin-top: -30px; 
        padding: 60px 40px;
        border-radius: 24px;
        box-shadow: 0 20px 40px rgba(10, 25, 47, 0.1);
    }
}

/* ================================================================
    UBICACIÓN - LUXURY MAP LAYOUT (COLOR NATURAL)
================================================================
*/

.location-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 60px;
    background: var(--primary-blue);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

/* Tarjeta de Datos - Estilo Editorial */
.location-card {
    flex: 0 0 40%;
    padding: 80px 60px;
    background: var(--primary-blue);
    z-index: 5;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-item {
    margin-bottom: 40px;
}

.location-tag {
    font-family: var(--font-titles);
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.location-city {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

/* Blindaje Apple para el título de la ciudad */
.location-city a,
.location-city a:hover {
    color: var(--white);
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.location-detail {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 300;
}

/* Blindaje Apple para la dirección (Evita que se vuelva azul y subrayada en Safari) */
.location-detail a,
.location-detail a:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Contenedor del Mapa - Sin filtros de color */
.map-container {
    flex: 0 0 60%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* RESPONSIVO UBICACIÓN */
@media (max-width: 1100px) {
    .location-card {
        flex: 0 0 45%;
        padding: 60px 40px;
    }
}

@media (max-width: 992px) {
    .location-wrapper {
        flex-direction: column;
    }

    .location-card {
        width: 100%;
        order: 2;
        padding: 50px 30px;
        text-align: center;
    }

    .map-container {
        width: 100%;
        height: 400px;
        order: 1;
    }

    .location-city {
        font-size: 1.8rem;
    }
}

/* ================================================================
    FOOTER - DISEÑO EDITORIAL (SECTION-DARK)
================================================================
*/

.main-footer {
    padding-top: 100px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col {
    flex: 1;
}

/* Columna Branding */
.footer-logo {
    max-width: 180px;
    margin-bottom: 25px;
    display: block;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col .gold-line.left {
    margin-left: 0;
    margin-top: 25px;
    width: 40px;
}

/* Títulos de Columna */
.footer-title {
    font-family: var(--font-titles);
    font-size: 1.2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 35px;
    font-weight: 700;
}

/* Enlaces Sociales e Info de Contacto */
.social-links, .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
}

/* Limpieza de enlaces en Footer */
.social-link, 
.contact-info li a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.social-link i, 
.contact-info li i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    width: 20px; /* Ancho fijo para alinear verticalmente */
    text-align: center;
}

.social-link:hover, 
.contact-info li a:hover {
    color: var(--white);
    transform: translateX(8px);
}

.contact-info li {
    margin-bottom: 10px;
}

/* Parte Inferior */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* RESPONSIVO FOOTER */
/* Rango General: Tablets y Móviles */
@media (max-width: 992px) {
    .main-footer {
        padding-top: 80px; /* Un poco más compacto en pantallas medianas/pequeñas */
        padding-bottom: 30px;
    }

    .footer-wrapper {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
        font-size: 0.95rem; /* Ajuste sutil para lectura en pantallas táctiles */
    }

    /* Centrado de iconos en móvil */
    .social-link, 
    .contact-info li a {
        justify-content: center;
    }

    .social-link:hover, 
    .contact-info li a:hover {
        transform: translateY(-3px); /* Cambio de dirección de hover para móvil */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 30px;
    }

    .footer-col .gold-line.left {
        margin: 20px auto 0; /* Centra la línea dorada */
    }
}

/* Optimización específica para Móviles (Smartphones) */
@media (max-width: 576px) {
    .main-footer {
        padding-top: 60px; /* Reducción de aire para optimizar el scroll en teléfonos */
    }

    .footer-wrapper {
        gap: 40px; /* Bloques más juntos para que el usuario no scrollee en exceso */
    }

    .footer-title {
        font-size: 1.1rem; /* Títulos sutilmente más pequeños para no saturar */
        margin-bottom: 20px; /* Une el título con sus respectivos enlaces */
    }

    .social-links, .contact-info {
        gap: 12px; /* Enlaces ligeramente más compactos */
    }

    .footer-bottom {
        font-size: 0.8rem; /* Evita que el texto de copyright o créditos se rompa de forma tosca */
        gap: 15px;
    }
}

/* ================================================================
    BOTÓN FLOTANTE WHATSAPP - EFECTO PULSO PREMIUM
================================================================
*/

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Anillos de Pulso */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    animation: whatsapp-pulse 2.5s infinite ease-out;
}

/* Segundo anillo con retraso */
.pulse-ring:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* RESPONSIVO MÓVIL */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}