/* 
===============================================
   SISTEMA DE DISEÑO - DARWIN GONZÁLEZ (AGENCY PREMIUM)
=============================================== 
*/

:root {
    --bg-dark: #070709;
    --bg-card: rgba(15, 15, 18, 0.6);
    --border-card: rgba(255, 255, 255, 0.06);
    --text-main: #FFFFFF;
    --text-muted: #f0f0f0; /* Gris muy claro para máxima legibilidad */
    --accent-primary: #D85639; /* Elegant Terracotta */
    --accent-hover: #E86649;
    --badge-gold: #D4AF37;
    --menu-bg: #121214;
    --dropdown-border: rgba(255, 255, 255, 0.08);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    scroll-behavior: smooth; 
}

body { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: clip;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- ANIMACIÓN METABALLS "VINO TINTO" ESTILO PALO SECO --- */
.gg {
    pointer-events: none;
    /* Colores Vino Tinto MÁS BRILLANTES para blend screen */
    --c1: 220, 50, 40;   
    --c2: 180, 20, 30;   
    --c3: 255, 60, 50;   
    --c4: 160, 10, 20;   
    --c5: 200, 30, 40;    
    --cp: 255, 80, 60;   
    --size: 90%;
    --blend: screen;
    opacity: 0.75; /* Aumentado para mayor visibilidad */
    position: fixed;

    inset: 0;
    overflow: hidden;
    mask-image: linear-gradient(#0000 0%, #000 24% 76%, #0000 100%);
    -webkit-mask-image: linear-gradient(#0000 0%, #000 24% 76%, #0000 100%);
}

.gg__stage {
    filter: blur(80px);
    position: absolute;
    inset: 0;
}

.gg.is-off .gg__blob {
    animation-play-state: paused;
}

.gg__blob {
    width: var(--size);
    height: var(--size);
    top: calc(50% - var(--size) / 2);
    left: calc(50% - var(--size) / 2);
    mix-blend-mode: var(--blend);
    will-change: transform;
    position: absolute;
}

.gg__b1 {
    background: radial-gradient(circle at center, rgba(var(--c1), .5) 0, rgba(var(--c1), 0) 50%) no-repeat;
    transform-origin: 50%;
    animation: 25s infinite ggVertical;
}

.gg__b2 {
    background: radial-gradient(circle at center, rgba(var(--c2), .4) 0, rgba(var(--c2), 0) 50%) no-repeat;
    transform-origin: calc(50% - 400px);
    animation: 20s infinite reverse ggCircle;
}

.gg__b3 {
    background: radial-gradient(circle at center, rgba(var(--c3), .4) 0, rgba(var(--c3), 0) 50%) no-repeat;
    transform-origin: calc(50% + 400px);
    animation: 35s linear infinite ggCircle;
}

.gg__b4 {
    background: radial-gradient(circle at center, rgba(var(--c4), .4) 0, rgba(var(--c4), 0) 50%) no-repeat;
    transform-origin: calc(50% - 200px);
    opacity: .7;
    animation: 30s infinite ggHorizontal;
}

.gg__b5 {
    background: radial-gradient(circle at center, rgba(var(--c5), .4) 0, rgba(var(--c5), 0) 50%) no-repeat;
    transform-origin: calc(50% - 800px) calc(50% + 800px);
    animation: 25s infinite ggCircle;
}

.gg__pointer {
    opacity: .3;
    background: radial-gradient(circle at center, rgba(var(--cp), .5) 0, rgba(var(--cp), 0) 50%) no-repeat;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    transition: transform 0.1s ease-out;
}

@keyframes ggVertical {
    0% { transform: translateY(-40%) scale(1); }
    50% { transform: translateY(40%) scale(1.1); }
    to { transform: translateY(-40%) scale(1); }
}

@keyframes ggHorizontal {
    0% { transform: translate(-30%) translateY(-10%) scale(0.9); }
    50% { transform: translate(30%) translateY(10%) scale(1.2); }
    to { transform: translate(-30%) translateY(-10%) scale(0.9); }
}

@keyframes ggCircle {
    0% { transform: rotate(0) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1); }
}

/* --- REMOVER ELEMENTOS POCO PROFESIONALES --- */
.ambient-glow-container {
    display: none !important; /* Eliminamos los brillos para un look más limpio y serio */
}

/* CAPAS DE CONTENIDO */
nav, header, section, footer, .whatsapp-float-custom {
    position: relative;
    z-index: 2;
}

/* ========================================================
   NAVEGACIÓN EXACTA ESTILO PALO SECO
   - Contenedor 100% transparente en todo momento
   - Píldoras de cristal traslúcido suave (rgba(255,255,255,0.08))
   - Efécto frosted glass real con backdrop-filter blur y saturate
   - Botón CTA blanco sólido a la derecha
   ======================================================== */
nav { 
    background: transparent !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0.8rem 4%;
    display: flex; 
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: padding 0.3s ease;
}

nav.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0.6rem 4%;
    border-bottom: none;
}

.logo { 
    display: flex; 
    align-items: center;
    text-decoration: none; 
    padding: 0;
    margin-right: 0.8rem;
    background: transparent;
    border: none;
    line-height: 0;
    position: relative;
    top: -8px;
}
.logo img {
    display: block;
    vertical-align: middle;
}

.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; margin: 0; padding: 0; flex: 1; }

.nav-item-dropdown { position: relative; display: flex; align-items: center; }
/* Puente invisible para mantener el hover */
.nav-item-dropdown::after { 
    content: ''; position: absolute; left: 0; bottom: -16px; width: 100%; height: 16px; 
}

/* === Píldoras cristal traslúcidas idénticas a Palo Seco === */
.nav-link-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.93rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    white-space: nowrap;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    letter-spacing: -0.01em;
}

.nav-link-btn:hover, 
.nav-item-dropdown:hover > .nav-link-btn {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.nav-link-btn i { font-size: 0.65rem; color: rgba(255,255,255,0.7); transition: transform 0.3s; margin-left: 3px; }
.nav-item-dropdown:hover .nav-link-btn i { transform: rotate(180deg); color: #EA4325; }

/* MEGAMENÚ DESKTOP (GLASSMORPHISM OSCURO-ROJIZO) */
.mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(16, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(234, 67, 37, 0.2);
    border-radius: 14px;
    width: 620px;
    padding: 2rem 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
    z-index: 1100;
    animation: fadeInMenu 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

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

.mega-menu.wide { width: 680px; }
.mega-menu.about-menu { width: 400px; }

/* Mostrar con hover Y con focus */
.nav-item-dropdown:hover > .mega-menu { display: block; }

.mega-menu-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 600; }
.mega-menu-heading { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; letter-spacing: -0.5px; }
.mega-menu-heading span { font-family: 'Playfair Display', serif; font-style: italic; color: var(--text-muted); font-weight: 400; }

.mega-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mega-grid-1 { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.mega-item {
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: 0.2s;
    padding: 0.6rem;
    border-radius: 8px;
}
.mega-item:hover { background: rgba(234, 67, 37, 0.08); }
.mega-icon {
    color: var(--text-muted); width: 22px; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.mega-item:hover .mega-icon { color: #EA4325; }
.mega-text h4,
.mega-item-title { 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: #fff; 
    margin: 0 0 0.2rem 0; 
    line-height: 1.3;
    transition: color 0.2s; 
}
.mega-item:hover .mega-text h4,
.mega-item:hover .mega-item-title { 
    color: #EA4325; 
}
.mega-text p:not(.mega-item-title) { 
    font-size: 0.78rem; 
    color: var(--text-muted); 
    line-height: 1.4; 
    margin: 0;
}

/* About mega menu specific */
.about-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.about-profile img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}
.about-profile h4,
.about-profile .mega-item-title { 
    color: #fff; 
    font-size: 1rem; 
    margin: 0 0 0.2rem 0; 
    font-weight: 600; 
    line-height: 1.3;
}
.about-profile p:not(.mega-item-title) { 
    color: var(--text-muted); 
    font-size: 0.8rem; 
    margin: 0;
}

/* 3. Botón secundario del Menú de Navegación (Más compacto) */
.btn-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: auto;
    white-space: nowrap;
}

.btn-nav-action:hover {
    background: rgba(234, 67, 37, 0.18);
    border-color: rgba(234, 67, 37, 0.5);
    color: #FFFFFF !important;
    box-shadow: 0 0 25px rgba(234, 67, 37, 0.3);
    transform: translateY(-2px);
}

.hamburger-btn {
    display: none; 
    background: transparent; 
    border: none;
    color: #fff; 
    font-size: 1.4rem; 
    cursor: pointer; 
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* --- SECCIÓN HERO (ALINEACIÓN IZQUIERDA Y ELEGANTE) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alineación a la izquierda */
    padding: 150px 5% 90px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1); /* Ligeramente más nítido */
}

/* Overlay más oscuro y serio */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 7, 9, 0.92) 0%, rgba(7, 7, 9, 0.75) 50%, rgba(7, 7, 9, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    text-align: left; /* Alineado a la izquierda */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alineado a la izquierda */
    gap: 25px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: -10px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Énfasis tipográfico elegante (estilo Palo Seco) */
.hero-content h1 em { 
    font-family: 'Playfair Display', serif; 
    font-style: italic; 
    font-weight: 400; 
    color: var(--text-muted); /* Color sutil en vez de rojo chillón */
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: #A1A1AA;
    max-width: 700px;
    font-weight: 400;
    margin-top: 10px;
}

.hero-content p strong { color: #ffffff; font-weight: 600; }

/* Separación adecuada para el contenedor del botón debajo de la foto */
.about-actions-photo {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1.8rem !important; /* Espacio limpio para que respire por arriba */
    margin-bottom: 1rem !important;
}

.audit-hook {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

/* Estilo unificado Glassmorphism (Palo Seco) para botones */
.cta-button,
.btn-main,
.btn-about-cta,
.btn-faq-cta,
.btn-mobile-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    /* Tamaño y dimensiones estrictamente controladas */
    width: fit-content !important;
    max-width: 90% !important;
    margin: 1.5rem auto 0 auto !important; /* Fuerza la separación de lo que tenga arriba */
    padding: 12px 26px !important;
    min-height: 46px !important;

    /* Tipografía */
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 50px !important;

    /* Fondo Cristal Semitransparente */
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Hover: Resplandor rojizo/vino tenue al pasar el cursor */
.cta-button:hover,
.btn-main:hover,
.btn-about-cta:hover,
.btn-faq-cta:hover,
.btn-mobile-cta:hover {
    background: rgba(234, 67, 37, 0.18) !important;
    border-color: rgba(234, 67, 37, 0.5) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 25px rgba(234, 67, 37, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* --- SECCIONES GENERALES --- */
.about-section { padding: 8rem 5% 4rem; max-width: 1000px; margin: 0 auto; text-align: left; }
.about-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1.5rem; font-style: italic; font-weight: 400; color: #fff; line-height: 1.1; }
.about-section p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; max-width: 800px; }

.audit-hook { 
    background: transparent; border: 1px solid var(--border-card); color: #fff; padding: 4rem 5%; text-align: center; border-radius: 24px; max-width: 1200px; margin: 4rem auto; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important;
}
.audit-hook h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #fff; font-weight: 700; letter-spacing: -1px; text-align: center; }
.audit-hook p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; max-width: 650px; margin-left: auto; margin-right: auto; text-align: center; }

/* .btn-main base y hover ya unificados en el bloque de estandarización de botones arriba */

.modules-section { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.modules-section > h2 { text-align: left !important; font-size: 2.8rem !important; font-weight: 700; letter-spacing: -1px; margin-bottom: 0.5rem; }
.modules-section > p { text-align: left !important; font-size: 1.1rem !important; margin-bottom: 3rem; }

.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

/* === ESTRUCTURA DE TARJETAS Y HOVER VINO TINTO EN CTA (ESTILO PALO SECO) === */
.module-card, .glass-card {
    background: rgba(15, 15, 18, 0.6);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2.4rem 2.2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: inherit;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.module-card.featured { border-color: rgba(216, 86, 57, 0.3); }

/* Hover en la tarjeta: Mantiene fondo neutro original, resalta borde sutilmente */
.module-card:hover, .glass-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* Cabecera tarjetas de SERVICIOS: número izquierda ↔ CTA derecha */
.module-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    width: 100%;
}

/* Cabecera tarjetas SIN número (turismo + municipios): CTA alineado/forzado a la derecha */
.glass-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    width: 100%;
}

.glass-card-header .card-cta {
    margin-left: auto;
}

.module-card-header h3, .glass-card-header h4, .glass-card-header h3 {
    margin: 0;
    flex: 1;
    min-width: 160px;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

/* === NÚMERO GRANDE ELEGANTE (solo tarjetas de servicios, estilo Palo Seco) === */
.card-num {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 300;
    letter-spacing: -1px;
    color: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    transition: color 0.35s ease;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* CTA texto plano: sin fondo ni borde */
.card-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.35s ease;
    letter-spacing: 0.2px;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}

/* Hover: ÚNICAMENTE número y CTA → vino tinto */
.module-card:hover .card-num {
    color: #801323;
}

.module-card:hover .card-cta,
.glass-card:hover .card-cta {
    color: #9e1829;
}

/* === ADAPTABILIDAD RESPONSIVE MÓVIL (< 640px) === */
@media (max-width: 640px) {
    .module-card, .glass-card {
        padding: 1.8rem 1.4rem;
    }
    .card-num {
        font-size: 1.75rem;
    }
    .card-cta {
        font-size: 0.75rem;
    }
    .module-card-header, .glass-card-header {
        margin-bottom: 0.8rem;
    }
}

.module-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.8rem; line-height: 1.6; }
.module-features { list-style: none; margin-bottom: 1rem; }
.module-features li { font-size: 0.9rem; color: #E4E4E7; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem; }
.module-features li i { color: var(--text-muted); font-size: 0.7rem; }

.glass-card i { font-size: 1.5rem; color: var(--text-main); margin-bottom: 1.2rem; opacity: 0.7; }
.glass-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.tourism-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

/* === SECCIÓN COBERTURA: GRID DE 3 COLUMNAS Y ACORDEÓN MÓVIL ESTILO PALO SECO === */
.coverage { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.coverage > h2 { text-align: center !important; font-size: 2.3rem !important; letter-spacing: -1px; margin-bottom: 0.5rem; }
.coverage > p { text-align: center !important; font-size: 1rem !important; margin-bottom: 3rem; }

.coverage-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    width: 100%;
}

@media (max-width: 992px) {
    .coverage-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .coverage-grid-3 {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
}

/* Tarjetas compactas de cobertura */
.glass-card.compact-card {
    padding: 1.3rem 1.2rem;
    border-radius: 16px;
    background: rgba(15, 15, 18, 0.65);
}

.coverage-bullets {
    list-style: none;
    margin-top: 0.6rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.coverage-bullets li {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.coverage-bullets li i {
    color: #EA4325;
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.coverage-bullets li strong {
    color: #ffffff;
    font-weight: 600;
}

/* Acordeón / Details colapsable para los 5 Ejes */
details.coverage-eje-accordion {
    margin-bottom: 1.2rem;
    border: 1px solid rgba(234, 67, 37, 0.2);
    border-radius: 16px;
    background: rgba(15, 15, 18, 0.5);
    padding: 0.8rem 1.2rem;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

details.coverage-eje-accordion[open] {
    background: rgba(20, 20, 25, 0.85);
    border-color: rgba(234, 67, 37, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

details.coverage-eje-accordion[open] .coverage-eje-content {
    animation: accordionSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes accordionSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eje-image-banner {
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.eje-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.eje-image-banner:hover .eje-photo {
    transform: scale(1.02);
}

.eje-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    padding: 0.8rem 1.2rem 0.6rem;
    color: #f0f0f0;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eje-image-caption i {
    color: #EA4325;
}

details.coverage-eje-accordion summary.coverage-eje-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    user-select: none;
}

details.coverage-eje-accordion summary.coverage-eje-summary::-webkit-details-marker {
    display: none;
}

details.coverage-eje-accordion summary .summary-arrow {
    color: #8E8E93;
    font-size: 0.95rem;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

details.coverage-eje-accordion[open] summary .summary-arrow {
    transform: rotate(180deg);
    color: #EA4325;
}

/* ============================================================
   ESTILOS COBERTURA — TABS + BENTO GLASSMORPHIC HYBRID
============================================================ */
.cov-tabs-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cov-tab {
    flex: 1;
    min-width: 120px;
    padding: 12px 18px;
    border: none;
    background: transparent;
    color: #CBD5E1;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.cov-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.cov-tab.active {
    background: #C43116;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(196, 49, 22, 0.35);
}

.cov-tab i {
    font-size: 0.95rem;
}

.cov-panel {
    display: none;
}

.cov-panel.active {
    display: block;
    animation: covFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cov-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.2rem;
}

.cov-bento-card {
    background: rgba(15, 15, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(12px);
}

.cov-bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #EA4325, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cov-bento-card:hover {
    border-color: rgba(234, 67, 37, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: rgba(22, 22, 28, 0.8);
}

.cov-bento-card:hover::before {
    opacity: 1;
}

.cov-bento-card--no-link {
    cursor: default;
}

.cov-bento-card--no-link:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 18, 0.6);
}

.cov-bento-card--no-link:hover::before {
    opacity: 0;
}

.cov-bento-card-inner {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cov-bento-card h3, .cov-bento-card h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.cov-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(234, 67, 37, 0.15);
    border: 1px solid rgba(234, 67, 37, 0.35);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FF8A65;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.cov-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.cov-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: rgba(234, 67, 37, 0.08);
    border: 1px solid rgba(234, 67, 37, 0.2);
    border-radius: 99px;
    font-size: 0.72rem;
    color: #FF8A80;
    font-weight: 500;
}

.cov-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #CBD5E1;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-left: auto;
}

.cov-bento-card:hover .cov-card-link {
    color: #EA4325;
}

.cov-card-link i {
    font-size: 0.72rem;
    transition: transform 0.3s ease;
}

.cov-bento-card:hover .cov-card-link i {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .cov-tabs-bar {
        gap: 4px;
        padding: 4px;
    }
    .cov-tab {
        min-width: unset;
        font-size: 0.75rem;
        padding: 9px 10px;
        gap: 5px;
    }
    .cov-bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* --- SECCIÓN FAQ (2 COLUMNAS ESTILO PALO SECO) --- */
.faq-section { 
    padding: 6rem 5%; 
    max-width: 1350px; 
    margin: 0 auto; 
    position: relative;
    z-index: 2;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 4rem;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 110px;
}

.faq-sidebar .tagline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8E8E93;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-sidebar .tagline::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: #8E8E93;
}

.faq-sidebar h2 {
    font-size: clamp(2rem, 3.2vw, 2.7rem); /* Tamaño ajustado idéntico a Palo Seco */
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.faq-sidebar h2 .italic-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
}

.faq-sidebar p {
    color: #8E8E93;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 440px;
}

/* .btn-faq-cta base y hover ya unificados en el bloque de estandarización de botones arriba */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* FAQ Cards - Fondo sólido oscuro con alto contraste */
.faq-card {
    background: #0E0E11;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0 1.6rem;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card:hover {
    border-color: rgba(234, 67, 37, 0.4);
    background: #141418;
}

.faq-card.active {
    border-color: rgba(234, 67, 37, 0.25);
    background: #111115;
}

.faq-card-header {
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    user-select: none;
}

.faq-card-header h3 {
    font-size: 1rem;
    color: #FFFFFF;
    margin: 0;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.01em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Crucesita de desplegar — Rojo Vino Tinto (#EA4325) */
.faq-plus-icon {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-plus-icon::before,
.faq-plus-icon::after {
    content: '';
    position: absolute;
    background: #EA4325;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Barra horizontal de la cruz */
.faq-plus-icon::before {
    width: 14px;
    height: 1.5px;
}

/* Barra vertical de la cruz */
.faq-plus-icon::after {
    width: 1.5px;
    height: 14px;
}

.faq-card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    padding: 0;
}

.faq-card-body p {
    color: #B0B0BA;
    font-size: 0.95rem; 
    line-height: 1.7;
    padding-bottom: 1.4rem;
    max-width: 98%;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Al abrir: la barra vertical desaparece (forma de —) */
.faq-card.active .faq-plus-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-card.active .faq-card-body {
    opacity: 1;
    max-height: 500px;
}

/* --- MAPS EMBED --- */
.maps-section {
    padding: 4rem 5%;
    max-width: 1250px;
    margin: 0 auto;
}

.maps-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    height: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.maps-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-float-custom {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background-color: #EA4325;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(234, 67, 37, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-float-custom:hover {
    background-color: #FF4D2E;
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(234, 67, 37, 0.6);
}

/* --- MENÚ MÓVIL FULLSCREEN --- */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(10, 10, 12, 0.98); backdrop-filter: blur(10px); z-index: 9999; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); overflow-y: auto;
}
.mobile-menu-overlay.active { transform: translateX(0); }
.mobile-header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 5%; border-bottom: 1px solid rgba(255,255,255,0.05); }
.close-menu-btn { background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; transition: transform 0.2s; }
.close-menu-btn:hover { transform: scale(1.1); color: var(--accent-red); }
.mobile-nav-list { list-style: none; padding: 1.5rem 5%; flex-grow: 1; }
.mobile-nav-list > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav-list > li > a, .mobile-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; color: #fff; text-decoration: none; font-size: 1.1rem; cursor: pointer; font-weight: 500; }
.mobile-dropdown-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; background: rgba(255,255,255,0.02); }
.mobile-dropdown-content a { display: block; padding: 0.75rem 1rem 0.75rem 1.5rem; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.03); }

/* Estructura limpia y compacta por ejes en menú móvil */
.mobile-eje-group {
    padding: 0.6rem 1rem 0.4rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-eje-group .eje-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #EA4325;
    margin-bottom: 0.3rem;
}
.mobile-eje-group a.mobile-link {
    padding: 0.35rem 0 !important;
    font-size: 0.88rem !important;
    border-bottom: none !important;
}

.mobile-footer { 
    padding: 1.5rem 5%; 
    margin-bottom: 2rem; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}
.btn-mobile-cta { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--accent-red); 
    color: #fff; 
    text-align: center; 
    padding: 1.2rem 2rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-size: 1rem; 
    font-weight: 700; 
    transition: background 0.2s; 
    margin: 0 auto; 
}
.btn-mobile-cta:hover { background: var(--accent-red-hover); }

footer { background: #050507; color: #fff; padding: 4rem 5% 1.5rem; border-top: 1px solid var(--border-card); }
.footer-container { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.2rem; position: relative; font-weight: 700; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background: var(--accent-red); }
.footer-col p { font-size: 0.82rem; color: var(--text-muted); margin-top: 1.2rem; line-height: 1.55; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.2s; display: inline-block; }
.footer-col ul li a:hover { color: #fff; transform: translateX(5px); }

/* SUBPAGES */
.btn-back-home { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: 0.85rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: 0.2s; }
.btn-back-home:hover { background: rgba(234, 67, 37, 0.15); border-color: var(--accent-red); }
.subpage-hero { padding: 140px 20px 60px; max-width: 900px; margin: 0 auto; text-align: center; }
.subpage-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; color: #ffffff; margin-bottom: 1.2rem; }
.subpage-hero h1 span.highlight-red { color: var(--accent-red); font-family: 'Playfair Display', serif; font-style: italic; }
.subpage-hero p.subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.content-card { background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border-card); border-radius: 16px; padding: 2.5rem; max-width: 900px; margin: 0 auto 3rem; }
.content-card h2 { font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 1rem; color: var(--text-main); }
.feature-list li i { color: var(--accent-red); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.feature-list li strong { color: #ffffff; font-weight: 700; }
.cta-box { text-align: center; padding: 3rem 2rem; background: linear-gradient(180deg, rgba(234, 67, 37, 0.08) 0%, rgba(18, 18, 22, 0.8) 100%); border: 1px solid rgba(234, 67, 37, 0.3); border-radius: 16px; max-width: 900px; margin: 0 auto 5rem; }
.cta-box h2 { font-size: 1.8rem; color: #fff; margin-bottom: 0.8rem; font-weight: 800; }
.cta-box p { color: var(--text-muted); margin-bottom: 1.8rem; }
.btn-whatsapp-red { display: inline-flex; align-items: center; gap: 0.8rem; padding: 16px 36px; font-size: 1rem; font-weight: 700; color: #ffffff; background-color: var(--accent-red); border-radius: 100px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(234, 67, 37, 0.35); }
.btn-whatsapp-red:hover { background-color: var(--accent-red-hover); transform: translateY(-2px); }


@media (max-width: 900px) {
    .nav-links { display: none; }
    .btn-nav-action { display: none !important; }
    .hamburger-btn { display: flex; }
    nav { padding: 0 5%; height: 70px; }
    
    /* --- CORRECCIÓN DEFINITIVA HERO MOBILE --- */
    .hero-section {
        min-height: auto !important;
        padding: 100px 20px 30px !important;
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
        align-items: flex-start;
    }

  /* Contenedor: nunca permitir que se infle por sus hijos */
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  /* TODOS los hijos directos: forzados a ocupar el 100% del padre, nunca su contenido */
  .hero-content > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* El badge específicamente: es un <span> (inline), hay que forzarlo a comportarse como bloque */
  .hero-content .badge {
    display: block !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    line-height: 1.15;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-content h1 em {
    display: inline;
    white-space: normal;
  }

  .hero-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  /* El div del CTA (inline style) y sus hijos también deben ceñirse al ancho real */
  .hero-content > div[style*="flex"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-content > div[style*="flex"] a,
  .hero-content > div[style*="flex"] span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  /* Red de seguridad: si algo se escapa, que no cause scroll horizontal en toda la página */
  html, body {
    overflow-x: clip;
  }

  .cta-button { width: 100%; padding: 16px 24px; }

    .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .faq-sidebar { position: relative; top: 0; }
    .faq-sidebar h2 { font-size: 2.1rem; }
    .faq-sidebar p { max-width: 100%; }

    .mega-menu { display: none !important; }
}


/* --- ACORDEÓN DE ZONAS EN MENÚ MÓVIL --- */
.mobile-cov-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.menu-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #EA4325;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Elemento Eje */
.acc-eje {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: background 0.3s ease;
}

.acc-eje[open] {
  background: rgba(255, 255, 255, 0.07);
}

/* Encabezado colapsable */
.acc-header {
  padding: 12px 15px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.acc-header::-webkit-details-marker {
  display: none;
}

.acc-header span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-header span i {
  color: #EA4325;
  width: 18px;
}

/* Rotación de flecha al abrir */
.acc-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: #aaa;
}

.acc-eje[open] .acc-arrow {
  transform: rotate(180deg);
  color: #EA4325;
}

/* Enlaces desplegados */
.acc-content {
  display: flex;
  flex-direction: column;
  padding: 5px 15px 12px 43px;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.acc-content a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.acc-content a:hover,
.acc-content a:active {
  color: #ffffff;
}

/* --- SECCIÓN SOBRE NOSOTROS / ESPECIALISTAS (2 COLUMNAS ELEGANTES) --- */
.about-section {
    padding: 6rem 5%;
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: rgba(15, 15, 18, 0.8);
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover img {
    transform: scale(1.03);
}

.about-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 10px #25D366;
    flex-shrink: 0;
}

.about-badge-overlay strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.about-badge-overlay small {
    color: #a1a1aa;
    font-size: 0.78rem;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #EA4325;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.about-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #e4e4e7;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.about-body {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #a1a1aa;
    margin-bottom: 1.8rem;
}

.about-ai-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    font-size: 0.82rem;
    color: #d4d4d8;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* .btn-about-cta base y hover ya unificados en el bloque de estandarización de botones arriba */

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .about-image-card {
        width: 100%;
        margin: 0 auto;
    }
}

.about-actions-photo {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1.8rem !important;
    margin-bottom: 1rem !important;
}

/* --- CONTENEDOR DE IMAGEN SEO LOCAL / GOOGLE MAPS --- */
.maps-image-wrapper {
    margin: 3rem auto 0;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(234, 67, 37, 0.2);
    max-width: 750px;
    width: 100%;
}

.maps-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   STACKING CARDS TURISMO — EFECTO BARAJAS TIPO PALO SECO
   ========================================================================== */
.tourism-section {
    padding: 6rem 5% 7.5rem;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tourism-stack-container {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 3.5rem auto 0;
    position: relative;
    padding: 0 1rem;
    box-sizing: border-box;
}

.tourism-stack-card {
    position: sticky;
    top: calc(85px + var(--card-i) * 32px);
    z-index: calc(var(--card-i) + 1);
    width: calc(100% - (5 - var(--card-i)) * 20px);
    margin: 0 auto 3.5rem auto;
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 2.6rem 2.8rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.65), 0 20px 45px rgba(0, 0, 0, 0.75);
    text-decoration: none;
    color: #FFFFFF;
    display: block;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
    box-sizing: border-box;
}

@media (hover: hover) {
    .tourism-stack-card:hover {
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.65), 0 25px 60px rgba(234, 67, 37, 0.18);
    }
}

.stack-watermark {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(5.5rem, 13vw, 8.5rem);
    font-weight: 700;
    line-height: 0.85;
    color: rgba(220, 70, 45, 0.42);
    position: absolute;
    right: 1.5rem;
    top: 0.2rem;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tourism-stack-card:hover .stack-watermark {
    color: rgba(234, 67, 37, 0.55);
    transform: scale(1.03);
}

.stack-card-meta {
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.stack-badge {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #EA4325;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.stack-card-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: -0.02em;
}

.stack-card-title i {
    color: #EA4325;
    font-size: 1.25rem;
}

.stack-card-desc {
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    color: #A1A1AA;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    max-width: 650px;
}

.stack-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
}

.stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stack-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #D4D4D8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-chip i {
    color: #EA4325;
    font-size: 0.72rem;
}

.stack-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.tourism-stack-card:hover .stack-card-cta {
    background: #EA4325;
    border-color: #EA4325;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(234, 67, 37, 0.4);
}

@media (max-width: 768px) {
    .tourism-section {
        padding: 4.5rem 5% 5.5rem;
    }
    .tourism-stack-container {
        margin-top: 2rem;
        padding: 0 6px;
        width: 100%;
        box-sizing: border-box;
    }
    .tourism-stack-card {
        top: calc(75px + var(--card-i) * 28px);
        width: calc(100% - (5 - var(--card-i)) * 12px);
        margin: 0 auto 2.5rem auto;
        padding: 1.8rem 1.4rem;
        border-radius: 26px;
        background: #111115;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.65), 0 15px 35px rgba(0, 0, 0, 0.75);
    }
    .stack-watermark {
        font-size: 5rem;
        right: 0.9rem;
        top: -0.3rem;
        color: rgba(220, 70, 45, 0.45);
        opacity: 1 !important;
        line-height: 0.85;
    }
    .stack-badge {
        font-size: 0.72rem;
        margin-bottom: 0.5rem;
        letter-spacing: 1.8px;
    }
    .stack-card-title {
        font-size: 1.25rem;
        max-width: 75%;
    }
    .stack-card-desc {
        font-size: 0.88rem;
        margin-bottom: 1.4rem;
    }
    .stack-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }
    .stack-card-cta {
        width: 100%;
        justify-content: center;
    }
}


/* --- CORRECCIONES RESPONSIVE: HEADER MÓVIL Y ANCHO DE IMAGEN --- */
@media (max-width: 768px) {
    #seo-local {
        padding-top: 2.2rem !important;
        scroll-margin-top: 80px;
    }
    
    .about-section {
        padding-top: 3.5rem !important;
        scroll-margin-top: 80px;
    }
    
    .maps-image-wrapper {
        max-width: 100% !important;
        margin-top: 2rem;
    }

    /* ==========================================================================
       ADAPTACIÓN RESPONSIVE BOTONES UNIFICADOS (MÓVILES Y TABLETS)
       ========================================================================== */
    .cta-button, 
    .btn-main, 
    .btn-about-cta, 
    .btn-faq-cta, 
    .btn-mobile-cta {
        width: 100%; /* Ocupa todo el ancho en móvil para facilitar el clic táctil */
        max-width: 100%;
        padding: 14px 20px;
        min-height: 50px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   BOTONES ESTILO GLASSMORPHISM (TIPO PALO SECO) - DEFINITIVO
   ========================================================================== */
.about-actions-photo,
.audit-hook {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1.8rem !important;
    margin-bottom: 1rem !important;
}

.cta-button,
.btn-main,
.btn-about-cta,
.btn-faq-cta,
.btn-mobile-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    /* Tamaño y dimensiones */
    width: fit-content !important;
    max-width: 90% !important;
    margin: 1.5rem auto 0 auto !important;
    padding: 12px 26px !important;
    min-height: 46px !important;

    /* Tipografía */
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 50px !important;

    /* Estilo Cristal Semitransparente */
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Efecto Hover */
.cta-button:hover,
.btn-main:hover,
.btn-about-cta:hover,
.btn-faq-cta:hover,
.btn-mobile-cta:hover {
    background: rgba(234, 67, 37, 0.18) !important;
    border-color: rgba(234, 67, 37, 0.5) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 25px rgba(234, 67, 37, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   APLICAR GLASSMORPHISM AL BOTÓN DEL HEADER / MENÚ DE NAVEGACIÓN
   ========================================================================== */
header a.btn,
header .btn,
header .cta-button,
nav a[class*="btn"],
.nav-btn,
.btn-nav-action,
.header-cta,
.nav-cta {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

header a.btn:hover,
header .btn:hover,
header .cta-button:hover,
nav a[class*="btn"]:hover,
.nav-btn:hover,
.btn-nav-action:hover,
.header-cta:hover,
.nav-cta:hover {
    background: rgba(234, 67, 37, 0.18) !important;
    border-color: rgba(234, 67, 37, 0.5) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 25px rgba(234, 67, 37, 0.3) !important;
}

/* ==========================================================================
   BOTÓN VOLVER AL INICIO UNIFICADO PARA TODAS LAS SUBPÁGINAS
   ========================================================================== */
.back-home-btn,
.btn-back-home {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    margin-bottom: 1.5rem !important;
}

.back-home-btn:hover,
.btn-back-home:hover {
    background: rgba(234, 67, 37, 0.22) !important;
    border-color: rgba(234, 67, 37, 0.55) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 25px rgba(234, 67, 37, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   REDES SOCIALES - FOOTER
   ========================================================================== */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #E2E8F0;
    font-size: 0.95rem;
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-sizing: border-box;
}

.footer-social a:hover {
    color: #EA4325;
    background: rgba(234, 67, 37, 0.18);
    border-color: rgba(234, 67, 37, 0.55);
    box-shadow: 0 0 20px rgba(234, 67, 37, 0.35);
    transform: translateY(-2px);
}

.footer-social a i {
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-social a:hover i {
    color: #EA4325;
    transform: scale(1.12);
}

@media (max-width: 768px) {
    .hero-video-bg {
        display: none !important;
    }
}
