/* ============================================
   LANDING.CSS - ReservasJACH v4.5
   Paleta: morado profundo + coral + blanco cálido
   + Botón "Comprar ahora" en navbar, top-bar y barra móvil
   + FIX v4.3: Header en móvil + Hero título + WhatsApp flotante
   + CARRUSEL DE FONDO: 5 imágenes cada 2.5s (v4.5 - arreglado)
   ============================================ */

:root {
    --primary: #6d28d9;
    --primary-dark: #4c1d95;
    --primary-light: #8b5cf6;
    --coral: #ff6b6b;
    --coral-dark: #c92a2a;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --bg-dark: #0f0a1e;
    --bg-darker: #0a0617;
    --card-bg: #1a1230;
    --text-light: #f5f3ff;
    --text-muted: #b8b0d0;
    --text-dim: #7a7295;
    --success: #22c55e;
    --danger: #ef4444;
    --border-soft: rgba(139, 92, 246, 0.15);
    --border-hover: rgba(139, 92, 246, 0.4);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 0;
    margin: 0;
}

/* ============================================ */
/* TOP BAR */
/* ============================================ */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 100;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-bar-texto i {
    color: var(--coral);
    margin-right: 5px;
}

.top-bar a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 700;
}

.top-bar a:hover {
    color: #fbbf24;
}

.top-bar-comprar {
    background: #22c55e !important;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    margin-left: 12px !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.top-bar-comprar:hover {
    background: #16a34a !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
    .top-bar-comprar {
        margin-left: 0 !important;
    }
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
.navbar-custom {
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--border-soft);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand img {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    object-fit: cover;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-light);
}

/* ============================================ */
/* BOTONES */
/* ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-principal {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.35);
}

.btn-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
    color: #fff;
}

.btn-whatsapp-hero {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero:hover {
    background: var(--whatsapp-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.btn-demo-outline {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.4);
}

.btn-demo-outline:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.6);
}

.btn-demo-nav {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 10px 18px;
    font-size: 0.88rem;
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
}

.btn-demo-nav:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.5);
}

.btn-comprar-nav {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    color: #fff;
    padding: 10px 20px;
    font-size: 0.88rem;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    animation: pulse-comprar 3s ease-in-out infinite;
}

.btn-comprar-nav:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
}

@keyframes pulse-comprar {
    0%, 100% { box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(255, 107, 107, 0.7); }
}

/* ============================================ */
/* HERO CON CARRUSEL DE FONDO (v4.5 - ARREGLADO) */
/* ============================================ */
.hero {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    /* El fondo será dinámico por JS (background-image) */
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Transición suave al cambiar de imagen */
    transition: background-image 1.5s ease-in-out;
}

/* Capa oscura por encima del fondo para que el texto se lea */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 10, 30, 0.88) 0%,
        rgba(15, 10, 30, 0.75) 50%,
        rgba(15, 10, 30, 0.88) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* El contenido del hero debe estar por encima */
.hero .container {
    position: relative;
    z-index: 2;
}

.badge-suave {
    display: inline-block;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
    animation: badge-respira 4s ease-in-out infinite;
}

.badge-suave i {
    margin-right: 6px;
    color: #ff6b6b;
}

@keyframes badge-respira {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
    50% {
        box-shadow: 0 0 20px 2px rgba(255, 107, 107, 0.25);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-light);
    margin-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero h1 .highlight {
    color: var(--coral);
    position: relative;
    display: inline;
    padding: 0 4px;
    white-space: normal;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 540px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .hero .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero .subtitle strong {
    color: var(--primary-light);
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

@media (max-width: 992px) {
    .hero-ctas {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .hero-trust {
        justify-content: center;
    }
}

.hero-trust i {
    color: var(--success);
    margin-right: 4px;
}

/* Phone mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .hero-image {
        margin-top: 0;
    }
}

.phone-wrapper {
    position: relative;
    display: inline-block;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #0a0617;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 8px #1a1230,
        0 0 0 10px rgba(139, 92, 246, 0.3);
    position: relative;
    margin: 0 auto;
}

.phone-notch {
    width: 100px;
    height: 22px;
    background: #0a0617;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    background: #f5f3ff;
    border-radius: 30px;
    height: 100%;
    overflow: hidden;
    padding: 30px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e0f5;
}

.mini-logo {
    font-size: 1.2rem;
}

.mini-name {
    font-weight: 700;
    color: #1a1230;
    font-size: 0.9rem;
}

.mini-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.mini-product {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
}

.mini-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    flex-shrink: 0;
}

.mini-info {
    display: flex;
    flex-direction: column;
}

.mini-title {
    color: #1a1230;
    font-size: 0.8rem;
    font-weight: 600;
}

.mini-price {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
}

.mini-cart {
    background: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.notificacion-pedido {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    animation: notif-slide 5s ease-in-out infinite;
    z-index: 10;
    max-width: 240px;
}

@keyframes notif-slide {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.notif-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

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

.notif-content strong {
    color: #0a0617;
    font-size: 0.8rem;
    font-weight: 800;
}

.notif-content span {
    color: #666;
    font-size: 0.7rem;
    line-height: 1.3;
}

@media (max-width: 992px) {
    .notificacion-pedido {
        left: 10px;
        bottom: 20px;
        max-width: 200px;
        padding: 10px 12px;
    }
    .notif-icon { font-size: 1.4rem; }
    .notif-content strong { font-size: 0.72rem; }
    .notif-content span { font-size: 0.65rem; }
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}

/* ============================================ */
/* SECTION TITLE */
/* ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

.section-title .badge-suave {
    margin-bottom: 15px;
}

/* ============================================ */
/* PRECIO */
/* ============================================ */
.precio-section {
    padding: 90px 0;
    background: var(--bg-darker);
}

.precio-card {
    max-width: 460px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--card-bg), var(--bg-darker));
    border: 2px solid var(--border-hover);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(109, 40, 217, 0.25);
}

.precio-destacado {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
}

.precio-simbolo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--coral);
}

.precio-numero {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--coral);
    line-height: 1;
    letter-spacing: -3px;
}

.precio-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.precio-subtitulo {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.precio-divider {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.5rem;
    margin: 12px 0;
    font-weight: 300;
}

.precio-mensual {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.precio-mensual-numero {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
}

.precio-mensual-periodo {
    color: var(--text-muted);
    font-size: 1rem;
}

.precio-mensual-texto {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.precio-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.precio-lista li {
    color: var(--text-muted);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.precio-lista i {
    color: var(--success);
    flex-shrink: 0;
}

.precio-nota {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-top: 15px;
    margin-bottom: 0;
}

.precio-nota i {
    color: var(--success);
    margin-right: 4px;
}

/* ============================================ */
/* EMPEZANDO */
/* ============================================ */
.empezando-section {
    padding: 90px 0;
    background: var(--bg-dark);
}

.empezando-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(255, 107, 107, 0.05));
    border: 2px solid var(--border-hover);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
}

.empezando-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.empezando-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empezando-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.empezando-fuerte {
    color: var(--coral) !important;
    font-weight: 700;
    font-size: 1.1rem !important;
}

.empezando-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

/* ============================================ */
/* FAQ */
/* ============================================ */
.faq-section {
    padding: 90px 0;
    background: var(--bg-darker);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.15);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--coral);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 15px 0 0;
    padding-top: 15px;
    border-top: 1px solid var(--border-soft);
}

/* ============================================ */
/* CTA FINAL */
/* ============================================ */
.cta-final {
    padding: 90px 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(109, 40, 217, 0.2) 0%, transparent 70%),
        var(--bg-dark);
}

.cta-final h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.cta-final > .container > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-final-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 576px) {
    .cta-final-botones .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-soft);
}

.footer h5 {
    color: var(--text-light);
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer ul a:hover {
    color: var(--primary-light);
}

.footer hr {
    border-color: var(--border-soft);
    margin: 30px 0 20px;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================ */
/* WHATSAPP FLOTANTE */
/* ============================================ */
.whatsapp-flotante {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.8); }
}

.whatsapp-flotante:hover {
    background: var(--whatsapp-dark);
    color: #fff;
    transform: scale(1.1);
}

/* ============================================ */
/* BARRA MÓVIL - 2 BOTONES */
/* ============================================ */
.barra-movil {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 6, 23, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-hover);
    padding: 12px 15px;
    z-index: 998;
    display: none;
}

.barra-movil-botones {
    display: flex;
    gap: 8px;
}

.barra-movil .btn {
    flex: 1;
    justify-content: center;
    padding: 14px 12px;
    font-size: 0.9rem;
}

.btn-barra-comprar {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    flex: 2 !important;
}

.btn-barra-comprar:hover {
    color: #fff;
}

.btn-barra-demo {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
    flex: 1 !important;
}

.btn-barra-demo:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .barra-movil {
        display: block;
    }
    body {
        padding-bottom: 80px;
    }
    .whatsapp-flotante {
        bottom: 100px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }
    .hero {
        padding: 40px 0 70px;
        min-height: 500px;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .precio-card {
        padding: 35px 25px;
    }
    .precio-numero {
        font-size: 3.5rem;
    }
    .empezando-card {
        padding: 35px 25px;
    }
    .empezando-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================ */
/* MODAL DEL VIDEO - VERSIÓN COMPACTA */
/* ============================================ */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 23, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.activo {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    background: var(--card-bg);
    border: 2px solid var(--border-hover);
    border-radius: 16px;
    width: auto;
    max-width: 420px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: video-modal-in 0.3s ease;
    display: flex;
    flex-direction: column;
}
@keyframes video-modal-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.video-modal-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.video-modal-cerrar:hover {
    background: #ef4444;
    transform: scale(1.1) rotate(90deg);
}

.video-modal-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0;
}

.video-modal-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 40px;
}

.video-modal-header h3 i {
    color: var(--coral);
    font-size: 1.15rem;
}

.video-modal-body {
    padding: 20px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.video-modal-body video {
    width: 100%;
    max-width: 580px;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    background: #000;
    display: block;
    border-radius: 12px;
    margin: 0 auto;
}

.video-modal-footer {
    padding: 14px 18px 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid var(--border-soft);
    flex-shrink: 0;
}

.video-modal-footer .btn {
    flex: 1;
    min-width: 160px;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.9rem;
}

.btn-video-hero {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    border: none;
    cursor: pointer;
}

.btn-video-hero:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
}

@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    .video-modal-body {
        max-height: 65vh;
    }
    .video-modal-footer {
        flex-direction: column;
    }
    .video-modal-footer .btn {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .video-modal {
        padding: 8px;
    }
    .video-modal-content {
        max-width: 100%;
        border-radius: 12px;
    }
    .video-modal-body {
        max-height: 60vh;
    }
    .video-modal-header h3 {
        font-size: 0.9rem;
    }
}


/* ============================================ */
/* FIX v4.3 — HERO TÍTULO EN MÓVIL */
/* ============================================ */

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.2;
        padding: 0 5px;
    }

    .hero h1 .highlight {
        padding: 0 6px;
        display: inline;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
        padding: 0 8px;
    }
}

/* ============================================ */
/* FIX v4.3 — BOTÓN WHATSAPP FLOTANTE */
/* ============================================ */

@media (max-width: 768px) {
    .whatsapp-flotante {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 90px;
        right: 15px;
        z-index: 998;
    }
}

@media (max-width: 480px) {
    .whatsapp-flotante {
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
        bottom: 85px;
        right: 12px;
    }
}

/* ============================================ */
/* FIX v4.3 — BOTONES DEL HERO EN MÓVIL */
/* ============================================ */

@media (max-width: 576px) {
    .hero-ctas .btn-whatsapp-hero {
        display: none;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================ */
/* FIX v4.9 — LOGO GRANDE A LA IZQUIERDA + 3 BOTONES */
/* ============================================ */

@media (max-width: 768px) {
    /* Ocultar la barra morada superior en móvil */
    .top-bar {
        display: none !important;
    }

    /* === BRAND: LOGO A LA IZQUIERDA, TEXTO A LA DERECHA === */
    .brand {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 14px !important;
    }

    /* === LOGO 160px === */
    .brand img {
        width: 160px !important;
        height: 160px !important;
        max-width: 160px !important;
        max-height: 160px !important;
        border-radius: 32px !important;
        flex-shrink: 0 !important;
    }

    /* El texto "ReservasJACH" balanceado con el logo */
    .brand-text {
        font-size: 1.5rem !important;
        letter-spacing: -0.5px !important;
        font-weight: 900 !important;
    }

    /* Brand en su propia línea, centrado */
    .navbar-custom .container > .d-flex {
        flex-direction: column !important;
        gap: 14px !important;
        align-items: center !important;
    }

    /* === 3 BOTONES ALINEADOS EN UNA FILA === */
    .navbar-custom .d-flex > .d-flex {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 5px !important;
        flex-wrap: nowrap !important;
    }

    /* Botones un poco más grandes */
    .navbar-custom .btn-demo-nav,
    .navbar-custom .btn-comprar-nav {
        padding: 9px 12px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .navbar-custom .nav-link-admin {
        font-size: 0.82rem !important;
        padding: 7px 9px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .navbar-custom .btn-demo-nav i,
    .navbar-custom .btn-comprar-nav i,
    .navbar-custom .nav-link-admin i {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .brand {
        gap: 12px !important;
    }

    .brand img {
        width: 140px !important;
        height: 140px !important;
        max-width: 140px !important;
        max-height: 140px !important;
        border-radius: 28px !important;
    }

    .brand-text {
        font-size: 1.35rem !important;
    }

    .navbar-custom .btn-demo-nav,
    .navbar-custom .btn-comprar-nav {
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
    }

    .navbar-custom .nav-link-admin {
        font-size: 0.78rem !important;
        padding: 6px 8px !important;
    }
}

@media (max-width: 380px) {
    .brand {
        gap: 10px !important;
    }

    .brand img {
        width: 120px !important;
        height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
        border-radius: 24px !important;
    }

    .brand-text {
        font-size: 1.2rem !important;
    }

    .navbar-custom .btn-demo-nav,
    .navbar-custom .btn-comprar-nav {
        padding: 7px 9px !important;
        font-size: 0.72rem !important;
    }

    .navbar-custom .nav-link-admin {
        font-size: 0.72rem !important;
        padding: 5px 7px !important;
    }
}