/* ==========================================================================
   1. TIPOGRAFÍAS (Fuentes Locales)
   ========================================================================== */
@font-face {
    font-family: 'Avenir-Regular';
    src: url('../fonts/Avenir-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham-Black';
    src: url('../fonts/Gotham-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: 'Montserrat-Variable';
    src: url('../fonts/Montserrat-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. CONFIGURACIÓN ROOT (Colores y Fuentes)
   ========================================================================== */
:root {
    /* Paleta de Colores */
    --bp-amarillo: #FADE5F;
    --bp-azul: #08C2D0;
    --bp-beige: #FADFCD;
    --bp-morado: #4149A5;
    --bp-rojo: #F46978;
    --bp-white: #FFFFFF;
    --bp-dark: #212529;

    /* Familias Tipográficas */
    --font-primary: 'Avenir-Regular', sans-serif;
    --font-heading: 'Gotham-Black', sans-serif;
    --font-accent: 'Montserrat-Variable', sans-serif;
    --font-ultra: 'GothamNarrow-Ultra', sans-serif;
}

/* ==========================================================================
   3. ESTILOS BASE Y RESET
   ========================================================================== */
body {
    font-family: var(--font-primary);
    color: var(--bp-dark);
    background-color: var(--bp-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--bp-morado);
}

.text-accent {
    font-family: var(--font-accent);
}

/* Clases utilitarias de color personalizadas */
.bg-bp-amarillo { background-color: var(--bp-amarillo); }
.bg-bp-azul { background-color: var(--bp-azul); }
.bg-bp-beige { background-color: var(--bp-beige); }
.bg-bp-morado { background-color: var(--bp-morado); }
.bg-bp-rojo { background-color: var(--bp-rojo); }

.text-bp-morado { color: var(--bp-morado); }
.text-bp-azul { color: var(--bp-azul); }
.text-bp-rojo { color: var(--bp-rojo); }

/* ==========================================================================
   HEADER & NAVBAR PRINCIPAL (Enfoque UI/UX)
   ========================================================================== */
.header-main {
    position: fixed; /* Asegura el comportamiento fijo en todo momento */
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bp-amarillo);
    transition: background-color 0.3s ease;
    z-index: 1050;
}

.site-logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-logo:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   NAVBAR ESCRITORIO (Responsive & Estilizado)
   ========================================================================== */
.nav-link-pop {
    font-family: var(--font-accent); /* Montserrat-Variable */
    font-weight: 300; /* Estilo Light */
    font-size: 1rem;
    color: var(--bp-morado) !important;
    text-decoration: none;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: opacity 0.3s ease;
}

.nav-link-pop::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--bp-morado);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link-pop:hover::after {
    width: 100%;
    left: 0;
}

/* ==========================================================================
   BOTÓN HAMBURGUESA PERSONALIZADO (MÓVIL)
   ========================================================================== */
.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 1100; /* Por encima del panel móvil */
}

.menu-toggle-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--bp-morado);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Animación del botón a "X" */
.menu-toggle-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.menu-toggle-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   MENÚ MÓVIL OVERLAY DESPLEGABLE (De Arriba a Abajo)
   ========================================================================== */
.mobile-overlay-menu {
    position: fixed;
    top: -100%; /* Inicia completamente oculto arriba */
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bp-amarillo);
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.6s cubic-bezier(0.85, 0, 0.15, 1); /* Cortina Smooth */
}

/* Estado activo: Cae de arriba a abajo */
.mobile-overlay-menu.open {
    top: 0;
}

/* Logo móvil configurado exactamente a 200px */
.mobile-menu-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.3s;
}

.mobile-overlay-menu.open .mobile-menu-logo {
    opacity: 1;
    transform: translateY(0);
}

/* Enlaces del Menú en Móvil */
.mobile-nav-list {
    width: 100%;
}

.mobile-nav-link {
    font-family: var(--font-accent); /* Montserrat-Variable */
    font-weight: 300; /* Estilo Light */
    font-size: 1.3rem;
    color: var(--bp-morado);
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-block;
    padding: 0.4rem 0;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

/* Transición Staggered (Aparición escalonada de links) */
.mobile-overlay-menu.open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--i) * 0.1s + 0.2s);
}

.mobile-nav-link:active {
    transform: scale(0.95);
    color: var(--bp-white);
}

/* Previene el scroll del fondo con menú abierto */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   SECCIÓN HERO (Solución Definitiva de Altura para Desktop)
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 650px;
    padding-top: 80px; /* Compensa el header fijo */
    background-color: var(--bp-morado);
    display: flex;
    align-items: center;
}

/* Forzamos a que el contenedor fluid y la fila ocupen todo el alto real del Hero */
.hero-section .container-fluid,
.hero-section .row {
    height: 100%;
    width: 100%;
}

/* Aseguramos que ambas columnas se estiren al 100% del alto disponible */
.hero-col-left,
.hero-col-right {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Columna Izquierda: Texto e imagen de fondo */
.hero-col-left {
    background-image: url('../img/hero-left.png');
    background-size: cover;
    background-position: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-text-content {
    max-width: 620px;
    margin-left: auto;
    width: 100%;
}

/* Columna Derecha: Imagen a Full Columna visible en Desktop */
.hero-col-right {
    background-image: url('../img/hero-right.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   DISEÑO ADAPTABLE (MÓVIL)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        min-height: auto;
        display: block;
    }
    
    .hero-section .container-fluid,
    .hero-section .row {
        height: auto;
    }

    .hero-col-left {
        height: auto;
        padding-top: 50px !important;
        padding-bottom: 80px !important; /* Espacio para que no tape las ondas */
    }

    .hero-text-content {
        margin-left: 0;
        text-align: center;
    }

    /* En celulares se vuelve un bloque independiente con su propia altura */
    .hero-col-right {
        height: 55vh; 
        min-height: 380px;
        display: block; 
    }
}

/* Estilización de Tipografías dentro del Hero */
.hero-title {
    font-family: var(--font-accent) !important; /* Gotham-Black */
    font-weight: 900;
    line-height: 1.15;
    color: var(--bp-amarillo);
}

.hero-lead, .hero-sublead {
    font-family: var(--font-primary); /* GothamNarrow-Book */
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Botón CTA del Hero con comportamiento interactivo */
.btn-hero-cta {
    background-color: var(--bp-amarillo);
    color: var(--bp-morado) !important;
    font-family: var(--font-accent); /* Montserrat */
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.btn-hero-cta:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: var(--bp-white);
}

/* ==========================================================================
   COMPONENTE: ONDAS SVG ANIMADAS (Color: --bp-azul)
   ========================================================================== */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10; /* Por encima de las imágenes */
}

.waves {
    position: relative;
    width: 100%;
    height: 12vh;
    min-height: 60px;
    max-height: 100px;
}

/* Animaciones del Parallax de Ondas (Smooth CSS) */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        height: auto;
        display: block !important;
    }
    
    .hero-text-content {
        margin-left: 0;
        text-align: center;
    }

    .hero-col-left {
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }

    /* En celulares, bajamos la imagen para que luzca sin cortar el texto */
    .hero-col-right {
        height: 50vh; 
        min-height: 350px;
        background-position: center 20%;
    }
    
    .waves {
        height: 40px;
        min-height: 40px;
    }
}

/* ==========================================================================
   SECCIÓN: CTA BARRA DE RESERVA
   ========================================================================== */
.cta-booking-bar {
    background-color: var(--bp-azul); /* Tu root #08C2D0 */
    z-index: 1050;
}

.cta-booking-text {
    font-family: var(--font-accent); /* Montserrat-Variable */
    font-weight: 700; /* Bold para emular el peso visual de la captura */
    color: var(--bp-white);
    font-size: 2.8rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* Resaltado amarillo exacto basado en la captura */
.text-highlight-yellow {
    color: var(--bp-amarillo); /* Tu root #FADE5F */
    font-weight: 800; /* Un poco más de peso para destacar HOY y SOLO */
}

/* ==========================================================================
   RESPONSIVE DESIGN (CTA Bar)
   ========================================================================== */
@media (max-width: 767.98px) {
    .cta-booking-bar {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .cta-booking-text {
        font-size: 1.4rem; /* Ajuste fluido para que no se corte en pantallas pequeñas */
        letter-spacing: 0;
    }
}

/* ==========================================================================
   SECCIÓN: ESPECIALISTAS (Alineado con Captura)
   ========================================================================== */
.specialists-section {
    background-image: url('../img/back-especialistas.png');
    background-size: 100% auto; /* Ajuste horizontal completo */
    background-position: bottom center; /* Asegura que las ondas blancas inferiores se queden fijas abajo siempre */
    background-repeat: no-repeat;
    padding-bottom: 120px !important; /* Espacio extra abajo para no encimar texto con las ondas blancas */
}

/* Tipografías Principales basadas en tu captura */
.specialists-title {
    font-family: var(--font-heading); /* Gotham-Black */
    color: var(--bp-morado);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.specialists-lead {
    font-family: var(--font-primary); /* GothamNarrow-Book */
    color: var(--bp-dark);
    font-size: 1.15rem;
    max-width: 860px;
    line-height: 1.5;
}

/* Estilo UI/UX de las Tarjetas Blancas Redondeadas */
.specialist-card {
    background-color: #FAF8F5; /* Tono blanco roto de fondo de las tarjetas en la captura */
    border-radius: 25px; /* Bordes suaves premium */
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    margin-top: 30px; /* Margen superior para compensar el icono flotante */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: none;
    transition: transform 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px); /* Micro-interacción responsiva smooth */
}

/* Contenedor Circular para los Iconos SVGs (Posicionados arriba al centro) */
.icon-wrapper {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -27px; /* Saca el icono exactamente a la mitad superior */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Clases dinámicas de colores para los círculos de los iconos usando tu root */
.icon-wrapper.bg-azul { background-color: var(--bp-azul); }
.icon-wrapper.bg-amarillo { background-color: var(--bp-amarillo); }
.icon-wrapper.bg-azul-alt { background-color: #00B1C1; } /* Variante estilizada para balance visual */
.icon-wrapper.bg-amarillo-alt { background-color: #F8D347; }

.specialist-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Textos dentro de las Tarjetas */
.card-feature-title {
    font-family: var(--font-heading); /* Gotham-Black u Ultra para headings internos cortos */
    color: var(--bp-morado);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    letter-spacing: -0.2px;
}

.card-feature-text {
    font-family: var(--font-primary); /* GothamNarrow-Book */
    color: var(--bp-dark);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Especialistas)
   ========================================================================== */
@media (max-width: 991.98px) {
    .specialists-section {
        background-size: cover; /* Cambia a cover para no deformar en pantallas verticales */
        padding-bottom: 90px !important;
    }

    .specialists-title {
        font-size: 1.8rem;
    }

    .specialists-lead {
        font-size: 1rem;
    }
}

/* ==========================================================================
   SECCIÓN: CATALOGO PREMIUM INTERACTIVO (Estilo Apple)
   ========================================================================== */
.apple-catalog-section {
    background-color: #fff; /* Color gris claro característico de Apple */
}

.catalog-main-title {
    font-family: var(--font-heading); /* Gotham-Black */
    color: var(--bp-morado);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.catalog-sub-title {
    font-size: 1.05rem;
    color: #86868B;
    letter-spacing: 0.5px;
}

/* --- El contenedor principal del producto --- */
.product-showcase-wrapper {
    background-color: var(--bp-white);
    border-radius: 28px; /* Esquinas redondeadas suaves estilo iPhone */
    overflow: hidden;
}

/* Área de exhibición de imagen */
.product-display-side {
    background-color: #fff; /* Contraste ligero para resaltar el inflable */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.main-showcase-image {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.product-showcase-wrapper:hover .main-showcase-image {
    transform: scale(1.03); /* Sutil micro-interacción al pasar el mouse */
}

/* Área de información técnica */
.product-info-side {
    background-color: var(--bp-white);
}

.product-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--bp-rojo);
    display: block;
}

.product-title-name {
    font-family: var(--font-heading); /* Gotham-Black */
    color: var(--bp-amarillo);
    font-size: 2.2rem;
    text-transform: uppercase;
}

/* Caja contenedora de Especificaciones */
.specs-grid-box {
    border-top: 1px solid #E8E8ED;
    border-bottom: 1px solid #E8E8ED;
}

.spec-label {
    font-family: var(--font-accent); /* Montserrat */
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bp-rojo);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.spec-value {
    font-family: var(--font-primary); /* GothamNarrow-Book */
    font-size: 1.1rem;
    color: var(--bp-dark);
    font-weight: 500;
}

/* Precios */
.price-label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bp-rojo);
    letter-spacing: 1px;
    display: block;
}

.price-value {
    font-family: var(--font-ultra); /* GothamNarrow-Ultra o Black */
    font-size: 2.2rem;
    color: #0071E3; /* Azul Apple para precio */
    font-weight: 700;
}

.price-value-pool {
    font-family: var(--font-ultra);
    font-size: 1.6rem;
    color: var(--bp-azul);
    font-weight: 700;
}

/* Botón de Cotización */
.btn-catalog-cta {
    background-color: var(--bp-morado);
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-catalog-cta:hover {
    background-color: #313782;
    transform: translateY(-2px);
}

/* --- 📱 EL DOCK DE ICONOS (Estilo iOS) --- */
.dock-thumb-btn {
    width: 85px;
    height: 85px;
    background-color: var(--bp-white);
    border: 2px solid #E8E8ED;
    border-radius: 18px; /* Redondeado idéntico a los iconos de apps */
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
}

.dock-thumb-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

/* Estado activo: cuando el usuario selecciona ese brincolín */
.dock-thumb-btn.active {
    border-color: #0071E3; /* Azul de selección */
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 71, 227, 0.1);
}

.thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Animación fluida de cambio */
.product-showcase-wrapper {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.showcase-fade {
    opacity: 0.3;
    transform: scale(0.99);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Catálogo)
   ========================================================================== */
@media (max-width: 767.98px) {
    .catalog-main-title {
        font-size: 1.8rem;
    }
    
    .product-title-name {
        font-size: 1.6rem;
    }
    
    .product-display-side {
        min-height: 280px;
    }

    .main-showcase-image {
        max-height: 100%;
    }
    
    .dock-thumb-btn {
        width: 75px;
        height: 75px;
        border-radius: 16px;
    }
}

/* ==========================================================================
   SECCIÓN: GRID DE VALORES Y GALERÍA (Estilo Apple Grid)
   ========================================================================== */
.valores-galeria-section {
    overflow: hidden;
}

/* Contenedor Grid Avanzado */
.gallery-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Columnas perfectas como en la captura */
    gap: 0px; /* Sin separación para un look de mosaico continuo y limpio */
    border-radius: 24px; /* Bordes suavizados premium */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Elemento base del Grid */
.grid-item {
    position: relative;
    aspect-ratio: 1 / 1; /* Forzar que todos los bloques sean perfectamente cuadrados */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Utilidad para centrar texto */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos de los textos de marca (Gotham-Black / Montserrat) */
.grid-text-title {
    font-family: var(--font-heading), sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Control y Micro-interacciones de Imágenes */
.image-item {
    background-color: #FAFAFC;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que cubra el recuadro sin deformarse */
    transition: transform 0.6s cubic-bezier(0.15, 0.85, 0.35, 1);
}

/* Sutil efecto de zoom al pasar el mouse por encima (Estilo UI Apple) */
.image-item:hover .grid-img {
    transform: scale(1.06);
}

/* Colores de Fondo personalizados basados en la paleta corporativa */
.bg-bp-rosa {
    background-color: #FF5A79; /* Rosa Diversión */
}

.bg-bp-amarillo {
    background-color: #FFD541; /* Amarillo Fiesta */
}

.bg-bp-azul-oscuro {
    background-color: #3F51B5; /* Azul/Morado Seguridad */
}

.bg-bp-azul {
    background-color: #00BCD4; /* Cyan/Azul Calidad */
}

/* ==========================================================================
   RESPONSIVE DESIGN (Galería Grid)
   ========================================================================== */
@media (max-width: 991.98px) {
    /* En tabletas lo transformamos a un grid de 2 columnas */
    .gallery-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }
    
    .grid-text-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    /* En móviles mantenemos 2 columnas pero reducimos proporcionalmente el texto */
    .grid-text-title {
        font-size: 1.25rem;
        letter-spacing: 0.5px;
    }
}

/* ==========================================================================
   SECCIÓN: CONTACTO PREMIUM AVANZADO (Estilo de Autor)
   ========================================================================== */
.contacto-section-premium {
    background-color: #fff; /* Fondo sutilmente grisáceo/azul para resaltar las tarjetas */
}

/* Esferas difuminadas interactivas de fondo */
.blur-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}
.circle-1 {
    width: 400px;
    height: 400px;
    background-color: var(--bp-azul);
    top: -10%;
    left: -10%;
}
.circle-2 {
    width: 350px;
    height: 350px;
    background-color: var(--bp-amarillo);
    bottom: -5%;
    right: -5%;
}

/* --- COLUMNA DE LA IMAGEN --- */
.contacto-image-container {
    position: relative;
    display: inline-block;
}

.img-contacto-premium {
    max-height: 440px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: premiumFloat 4.5s ease-in-out infinite;
}

/* Sombra en el piso que cambia de tamaño dinámicamente con la flotación */
.image-floor-shadow {
    width: 70%;
    height: 20px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    margin: -10px auto 0 auto;
    filter: blur(5px);
    animation: shadowPulse 4.5s ease-in-out infinite;
}

/* --- LA TARJETA DEL FORMULARIO --- */
.contact-card-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px; /* Esquinas súper fluidas */
    box-shadow: 0 20px 40px rgba(49, 55, 130, 0.05), 0 1px 3px rgba(0,0,0,0.01);
}

.badge-premium {
    background-color: rgba(8, 194, 208, 0.1);
    color: var(--bp-azul);
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 1px;
    display: inline-block;
}

.contact-title-premium {
    font-family: var(--font-heading); /* Gotham-Black */
    color: var(--bp-morado);
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.contact-subtitle-premium {
    font-family: var(--font-primary); /* GothamNarrow-Book */
    color: #6E6E73;
    font-size: 1.05rem;
}

/* --- INPUTS PREMIUM --- */
.form-group-premium {
    position: relative;
}

.label-premium {
    font-family: var(--font-accent); /* Montserrat */
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bp-morado);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.3px;
}

.input-wrapper-premium {
    position: relative;
    border-radius: 14px;
    background: #FFFFFF;
    border: 2px solid #E8E8ED;
    transition: all 0.3s ease;
}

.input-premium {
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: var(--bp-dark);
    outline: none;
}

/* Efecto de enfoque interactivo multicolor */
.input-wrapper-premium:focus-within {
    border-color: var(--bp-azul);
    box-shadow: 0 0 0 4px rgba(8, 194, 208, 0.15);
}

/* Cambiar color si el usuario escribe en un campo */
.input-premium:not(:placeholder-shown) {
    color: var(--bp-dark);
}

/* --- BOTÓN DE ACCIÓN COMERCIAL (SUBMIT) --- */
.btn-premium-submit {
    background: linear-gradient(135deg, var(--bp-morado) 0%, #313782 100%);
    border: none;
    border-radius: 16px;
    font-family: var(--font-accent);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(49, 55, 130, 0.25);
}

.btn-premium-submit svg {
    transition: transform 0.3s ease;
}

.btn-premium-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(49, 55, 130, 0.35);
}

.btn-premium-submit:hover svg {
    transform: translateX(4px); /* Desplazamiento de flecha interactivo */
}

/* --- ANIMACIONES --- */
@keyframes premiumFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(0.85); opacity: 0.4; filter: blur(7px); }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Contacto Premium)
   ========================================================================== */
@media (max-width: 991.98px) {
    .contact-title-premium {
        font-size: 2.1rem;
    }
    .contact-card-premium {
        padding: 2rem 1.5rem !important;
    }
    .img-contacto-premium {
        max-height: 320px;
        margin-bottom: 1.5rem;
    }
}

/* ==========================================================================
   NOTIFICACIONES PERSONALIZADAS (Estilo iOS Toast)
   ========================================================================== */
.apple-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    pointer-events: none;
}

.apple-toast {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px); /* Efecto de cristal esmerilado translúcido de Apple */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 232, 237, 0.7);
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 350px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: auto;
}

/* Estado cuando la notificación entra a la pantalla */
.apple-toast.show {
    transform: translateX(0);
}

.toast-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Variante de Alerta/Error */
.toast-error .toast-icon-box {
    background-color: #FF3B30; /* Rojo Apple */
    color: #FFF;
}

.toast-msg {
    font-family: var(--font-primary), sans-serif; /* GothamNarrow-Book */
    font-size: 0.95rem;
    color: #1D1D1F;
    font-weight: 500;
    line-height: 1.3;
}

/* ==========================================================================
   SECCIÓN: FOOTER EDITORIAL REFINADO
   ========================================================================== */
.footer-editorial {
    background-color: var(--bp-morado); /* Color base de la marca */
    font-size: 1rem;
}

/* Tamaño de logo controlado y balanceado */
.footer-logo {
    max-width: 170px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
}

/* Enlaces de navegación con tamaño moderado */
.footer-link {
    font-family: var(--font-primary), sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFFFFF;
}

/* Contenedor de iconos de redes sociales */
.footer-social {
    display: flex;
    justify-content: flex-end; /* Alinea a la derecha en desktop */
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--bp-rosa);
    border-color: var(--bp-rosa);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Separador y Copyright tipográfico */
.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.footer-copy {
    font-family: var(--font-accent), sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.5px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (1 Columna en Móviles Completamente Centrada)
   ========================================================================== */
@media (max-width: 767.98px) {
    .footer-editorial .col-md-5,
    .footer-editorial .col-md-7,
    .footer-editorial .col-12 {
        text-align: center !important; /* Fuerza el centrado absoluto en móvil */
    }

    .footer-nav {
        display: flex;
        flex-direction: column; /* Apila enlaces sin ocupar mucho espacio */
        gap: 14px;
        margin-top: 1rem;
    }

    .footer-link {
        margin: 0 !important;
        font-size: 1rem;
    }

    .footer-social {
        justify-content: center; /* Centra las redes sociales */
        margin-top: 1.5rem;
    }
}

/* ==========================================================================
   FLECHAS DE NAVEGACIÓN PREMIUM PARA EL CATÁLOGO
   ========================================================================== */
.btn-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bp-morado);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 232, 237, 0.6);
    color: #fff; /* Color de tu marca */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Posicionamiento exacto hacia fuera del carrusel */
.nav-prev {
    left: -10px;
}

.nav-next {
    right: -10px;
}

/* Micro-interacciones premium */
.btn-slider-nav:hover {
    background: var(--bp-amarillo);
    color: var(--bp-azul); /* Cambio de color sutil */
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Ocultar en dispositivos móviles para priorizar el gesto táctil (Swipe) */
/*@media (max-width: 767.98px) {
    .btn-slider-nav {
        display: none !important;
    }
}*/

/* ==========================================================================
   RESPONSIVE DESIGN (Flechas visibles en todo dispositivo)
   ========================================================================== */
@media (max-width: 767.98px) {
    /* En lugar de ocultarlas, las hacemos un poco más compactas */
    .btn-slider-nav {
        display: flex !important; /* Forzamos que se sigan viendo */
        width: 36px;
        height: 36px;
        top: 50%;
    }
    
    /* Reducimos el tamaño del icono de la flecha dentro del botón */
    .btn-slider-nav svg {
        width: 16px;
        height: 16px;
    }

    /* Las pegamos más a las orillas para que no tapen las miniaturas */
    .nav-prev {
        left: -5px;
    }
    
    .nav-next {
        right: -5px;
    }
}