:root {
    --bg-deep: #090a0d;
    --bg-surface: #101217;
    --bg-card: #15181f;
    --bg-hover: #1c202a;
    --primary: #10b981;
    /* Verde Esmeralda / Rentabilidad */
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.2);
    --gold: #d4af37;
    /* Oro Champagne Clásico */
    --gold-light: #f3e5ab;
    --gold-border: rgba(212, 175, 55, 0.35);
    --gold-glow: rgba(212, 175, 55, 0.15);
    --text-main: #f8fafc;
    --text-muted: #9ca3af;
    --border-crisp: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(212, 175, 55, 0.4);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
    --font-luxury: 'Cinzel', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
    /* Estricta geometría rectilínea de lujo */
}

html {
    scroll-behavior: smooth;
}

/* ---------------- CONTENEDOR MAESTRO GLOBAL (APROVECHAMIENTO DE ANCHO) ---------------- */
.container {
    width: 100%;
    max-width: 1480px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.heading-hero,
.heading-section {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Rejilla arquitectónica sutil con tonos grafito mate */
.grid-bg {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

/* ---------------- AMBIENT DYNAMICS & LIGHT ORBS ---------------- */
/* Esferas luminosas flotantes (Ambient Orbs) */
.ambient-orb {
    position: absolute;
    border-radius: 50% !important;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.16;
}

.orb-primary {
    width: 520px;
    height: 520px;
    background: var(--primary);
    top: 5%;
    left: 15%;
    animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-secondary {
    width: 480px;
    height: 480px;
    background: #3b82f6;
    top: 15%;
    right: 12%;
    animation: floatOrb2 22s ease-in-out infinite alternate;
}

@keyframes slowZoomVideo {
    0% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1.12);
    }
}

@keyframes floatOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.14;
    }

    50% {
        transform: translate(40px, 30px) scale(1.1);
        opacity: 0.22;
    }

    100% {
        transform: translate(-30px, 50px) scale(0.95);
        opacity: 0.16;
    }
}

@keyframes floatOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }

    50% {
        transform: translate(-45px, 35px) scale(1.08);
        opacity: 0.18;
    }

    100% {
        transform: translate(30px, -40px) scale(0.92);
        opacity: 0.12;
    }
}

/* Micro-movimiento en badge tag */
.badge-tag {
    position: relative;
    overflow: hidden;
}

.badge-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.25), transparent);
    animation: shimmerBadge 4s infinite ease-in-out;
}

@keyframes shimmerBadge {
    0% {
        left: -100%;
    }

    30%,
    100% {
        left: 200%;
    }
}

/* Efectos sutiles en Screenshot Frame */
.screenshot-frame {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.screenshot-frame:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(20, 184, 166, 0.22) !important;
}

/* Animaciones de Entrada Suave al hacer scroll (Scroll Reveal Seguro) */
.reveal-on-scroll {
    opacity: 1;
    /* Seguro: nunca ocultar contenido si falla el observador */
    transform: translateY(0);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pulso sutil para iconos principales */
.pulse-icon {
    display: inline-block;
    animation: subtlePulse 3s infinite ease-in-out;
}

@keyframes subtlePulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 transparent);
    }

    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 8px var(--primary-glow));
    }
}


/* ---------------- NAVBAR MULTIPÁGINA ---------------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: rgba(7, 9, 14, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-crisp);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 40px;
}

.nav-brand img {
    height: 42px;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin-right: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #ffffff;
}

.nav-link i.chevron {
    font-size: 0.65rem;
    color: var(--primary);
    transition: transform 0.2s ease;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 280px;
    background: #0b111e;
    border: 1px solid var(--border-crisp);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1100;
}

.nav-item:hover .nav-dropdown {
    display: flex;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
}

.nav-dropdown a i {
    width: 18px;
    color: var(--primary);
    font-size: 0.95rem;
}

.nav-dropdown a:hover {
    background: rgba(20, 184, 166, 0.08);
    color: #ffffff;
    border-left-color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-nav-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-crisp);
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-nav-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(20, 184, 166, 0.06);
}

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #07090e;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-nav-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* ---------------- HERO CINEMATIC FULL-WIDTH ---------------- */
.hero-cinematic {
    position: relative;
    padding-top: 170px;
    padding-bottom: 120px;
    text-align: center;
    background: #07080a;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cinematic-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    filter: brightness(0.7) contrast(1.15) saturate(1.1);
    transform: scale(1.02);
    transition: transform 10s ease;
}

.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(9, 10, 13, 0.4) 0%, #090a0d 85%),
        linear-gradient(180deg, rgba(9, 10, 13, 0.8) 0%, rgba(9, 10, 13, 0.2) 40%, rgba(9, 10, 13, 0.85) 85%, #090a0d 100%);
    pointer-events: none;
}

.hero-cinematic-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-cinematic-content {
    position: relative;
    z-index: 5;
    max-width: 1050px;
    margin: 0 auto;
}

/* Glassmorphism Prémium para Tarjetas y Vitrinas */
.glass-panel {
    background: rgba(18, 21, 28, 0.72) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.glass-panel:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.12) !important;
}

/* ---------------- ESTILO VNIAAP DEMO 4: ELEGANCIA, MÁRGENES Y SEPARADORES ---------------- */
.section-pad {
    padding: 95px 0;
}

.section-title {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 55px;
}

.section-title h2 {
    font-size: clamp(2.1rem, 3.8vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-title h2 strong {
    color: var(--primary);
    font-weight: 900;
}

.section-title hr.separator {
    width: 60px;
    height: 3px;
    background: var(--primary);
    border: none;
    margin: 18px auto 20px;
    box-shadow: 0 0 12px var(--primary-glow);
}

.section-title p {
    font-size: 1.08rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 auto;
}

/* Tarjetas de Beneficios (Estilo VniApp Demo 4) */
.benefit-box {
    background: #11151e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.15);
}

.benefit-icon-wrap {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.benefit-box:hover .benefit-icon-wrap {
    background: var(--primary);
    color: #07090e;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.benefit-box h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.benefit-box p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.benefit-link {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.benefit-link:hover {
    gap: 12px;
    color: #ffffff;
}

/* Vitrina Mockup Flotante */
.vniapp-showcase-wrap {
    max-width: 1080px;
    margin: 50px auto 0;
    padding: 0;
    background: rgba(15, 20, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid var(--border-highlight);
    color: var(--primary);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.heading-hero {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.heading-hero em {
    font-style: normal;
    color: var(--primary);
}

.heading-section {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

.sub-lead {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 720px;
}

/* ---------------- IMÁGENES / PANTALLAZOS DE PRODUCTO ---------------- */
.screenshot-frame {
    background: #0b111e;
    border: 1px solid var(--border-crisp);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(20, 184, 166, 0.08);
    overflow: hidden;
    position: relative;
}

.screenshot-bar {
    height: 38px;
    background: #0d1524;
    border-bottom: 1px solid var(--border-crisp);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.screenshot-dots {
    display: flex;
    gap: 6px;
}

.screenshot-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.18);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ---------------- GRID DE MÓDULOS EN HOME ---------------- */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.module-card {
    background: #0b111c;
    border: 1px solid var(--border-crisp);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.module-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    background: #0e1526;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.module-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.module-card h4 {
    font-size: 1.28rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.module-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.module-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------------- PÁGINAS DE MÓDULO (LAYOUT DETALLE) ---------------- */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, #07090e 0%, #0d1424 100%);
    border-bottom: 1px solid var(--border-crisp);
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 90px;
}

.feature-split.reverse {
    grid-template-columns: 1.15fr 1fr;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0;
}

.feature-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
}

.feature-bullets li>i,
.feature-bullets li .bullet-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(83, 93, 60, 0.1);
    border: 1px solid rgba(83, 93, 60, 0.22);
    color: #535D3C;
    margin-top: 2px;
}

.feature-bullets li .bullet-content {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: break-word;
}

/* ---------------- FOOTER MULTIPÁGINA ---------------- */
.site-footer {
    background: #05070a;
    border-top: 1px solid var(--border-crisp);
    padding: 70px 0 35px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-crisp);
}

.footer-col h5 {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 22px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-author {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* --- Botón Hamburguesa & Menú Lateral Móvil Editorial Warm Premium --- */
.btn-nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #FAF8F3 !important;
    border: 1px solid rgba(83, 93, 60, 0.28) !important;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(32, 32, 29, 0.04);
}

.btn-nav-hamburger span {
    width: 20px;
    height: 2px;
    background: #20201D !important;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.btn-nav-hamburger:hover {
    border-color: #535D3C !important;
    background: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(83, 93, 60, 0.15);
}

.btn-nav-hamburger:hover span {
    background: #535D3C !important;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    max-width: 90vw;
    height: 100vh;
    background: #FAF8F3 !important;
    border-left: 1px solid rgba(83, 93, 60, 0.20) !important;
    z-index: 10002;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(32, 32, 29, 0.25) !important;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(83, 93, 60, 0.14) !important;
    background: #FAF8F3 !important;
}

.mobile-nav-brand img {
    height: 32px;
    width: auto;
    display: block;
}

.mobile-nav-close {
    background: rgba(83, 93, 60, 0.08) !important;
    border: 1px solid rgba(83, 93, 60, 0.18) !important;
    color: #20201D !important;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background: #D66B43 !important;
    border-color: #D66B43 !important;
    color: #FFFFFF !important;
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
}

/* Acciones Rápidas (Carrito + Acceso) */
.mobile-nav-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(83, 93, 60, 0.2);
}

.mobile-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.22) !important;
    color: #20201D !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-quick-btn i {
    font-size: 0.85rem;
    color: #535D3C;
}

.mobile-quick-cart {
    background: rgba(83, 93, 60, 0.07) !important;
    border-color: rgba(83, 93, 60, 0.3) !important;
}

.mobile-quick-btn:hover {
    border-color: #535D3C !important;
    color: #535D3C !important;
}

/* Enlaces Principales Directos */
.mobile-nav-primary-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-primary-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-primary-link:hover,
.mobile-nav-primary-link.active {
    border-color: #535D3C !important;
    box-shadow: 0 4px 12px rgba(83, 93, 60, 0.08);
}

.mobile-nav-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(214, 107, 67, 0.12);
    color: #D66B43;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.mobile-nav-item-text {
    display: flex;
    flex-direction: column;
}

.mobile-item-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #20201D;
}

.mobile-item-sub {
    font-size: 0.72rem;
    color: #77766F;
}

/* Cabeceras de Sección en Menú Móvil */
.mobile-nav-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(83, 93, 60, 0.12);
}

.mobile-nav-group-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #535D3C !important;
}

.mobile-group-view-all {
    font-size: 0.72rem;
    font-weight: 700;
    color: #D66B43 !important;
    text-decoration: none;
}

/* Subcuadrícula Compacta de Módulos y Sectores */
.mobile-nav-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.mobile-subgrid-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.14) !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    color: #44433E !important;
    transition: all 0.2s ease;
}

.mobile-subgrid-item i {
    font-size: 0.82rem;
    color: #535D3C;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-subgrid-item:hover {
    border-color: #535D3C !important;
    color: #535D3C !important;
    background: rgba(83, 93, 60, 0.05) !important;
}

/* Pie Fijo del Drawer Móvil */
.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(83, 93, 60, 0.15) !important;
    background: #FAF8F3 !important;
}

.mobile-nav-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 18px;
    background: #535D3C !important;
    color: #FAF8F3 !important;
    text-decoration: none;
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(83, 93, 60, 0.3);
    transition: all 0.2s ease;
}

.mobile-nav-cta-btn:hover {
    background: #3F472D !important;
    color: #FFFFFF !important;
}

.mobile-nav-footer-micro {
    text-align: center;
    font-size: 0.68rem;
    color: #77766F;
    margin-top: 8px;
    font-weight: 600;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(32, 32, 29, 0.65) !important;
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

/* ---------------- PRICING GRID & CARDS (Centrado perfecto y alturas iguales) ---------------- */
.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0 auto 50px;
    max-width: 1200px;
}

.pricing-card {
    background: #0c121e;
    border: 1px solid var(--border-crisp);
    padding: 45px 36px;
    flex: 1 1 320px;
    max-width: 380px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 0 35px var(--primary-glow);
}

.pricing-card.popular:hover {
    box-shadow: 0 0 50px var(--primary-glow);
}

.pricing-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
    flex-grow: 1;
}

.pricing-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.45;
}

.pricing-card ul li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---------------- BREAKPOINTS RESPONSIVE ---------------- */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card {
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .pricing-card {
        max-width: 100% !important;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }

    .btn-nav-hamburger {
        display: flex !important;
    }

    .heading-hero {
        font-size: 2.5rem;
    }

    .feature-split,
    .feature-split.reverse {
        grid-template-columns: 1fr !important;
        gap: 35px;
    }

    .checkout-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr !important;
    }

    .form-two-col {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .guarantees-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .heading-hero {
        font-size: 2.05rem;
    }

    .sub-lead {
        font-size: 0.95rem;
    }

    .section-pad {
        padding: 60px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-brand img {
        height: 32px;
    }

    .nav-actions .btn-nav-outline,
    .nav-actions .btn-nav-primary {
        display: none !important;
    }

    .btn-nav-hamburger {
        display: flex !important;
    }

    .cookie-banner-overlay {
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 18px;
    }

    .cookie-reopen-btn {
        bottom: 14px;
        left: 14px;
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr !important;
    }

    .heading-hero {
        font-size: 1.75rem;
    }

    .screenshot-frame {
        margin-left: -10px;
        margin-right: -10px;
    }
}


/* --- Botón Carrito / Checkout en Navbar --- */
.site-nav .btn-nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.25);
    color: #535D3C;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(32, 32, 29, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav .btn-nav-cart i {
    font-size: 0.95rem;
    color: #535D3C;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav .btn-nav-cart .cart-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    background: #D66B43;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(214, 107, 67, 0.6);
    border: 1.5px solid #FFFFFF;
}

.site-nav .btn-nav-cart:hover {
    background: #FAF8F3;
    border-color: #535D3C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(83, 93, 60, 0.15);
}

.site-nav .btn-nav-cart:hover i {
    color: #D66B43;
    transform: scale(1.1);
}

/* Floating Cookie Icon (Re-open Preferences) */
.cookie-reopen-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0c121e;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 15px var(--primary-glow);
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-reopen-btn:hover {
    transform: scale(1.12) rotate(15deg);
    background: var(--primary);
    color: #07090e;
    box-shadow: 0 0 25px var(--primary-glow);
}

/* Floating Back to Top Button (Mismo estilo que la galleta pero a la derecha) */
.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0c121e;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 15px var(--primary-glow);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-4px) scale(1.08);
    background: var(--primary);
    color: #07090e;
    box-shadow: 0 0 25px var(--primary-glow), 0 8px 25px rgba(0, 0, 0, 0.5);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Cookie Banner Glassmorphism Card */
.cookie-banner-overlay {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 480px;
    width: calc(100% - 48px);
    background: rgba(12, 18, 30, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-crisp);
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(45, 212, 191, 0.08);
    padding: 24px;
    z-index: 9999;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 11, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modo Claro Elegante para el Portal y Fichas de Locales (Solo cuando está en portal o ficha) */
.portal-page.light-theme .site-nav,
body.portal-guide-body.light-theme .site-nav,
html.light-theme body.portal-guide-body .site-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

.portal-page.light-theme .site-nav .nav-link,
body.portal-guide-body.light-theme .site-nav .nav-link,
html.light-theme body.portal-guide-body .site-nav .nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
}

.portal-page.light-theme .site-nav .nav-link:hover,
.portal-page.light-theme .site-nav .nav-item.active .nav-link,
body.portal-guide-body.light-theme .site-nav .nav-link:hover,
body.portal-guide-body.light-theme .site-nav .nav-item.active .nav-link,
html.light-theme body.portal-guide-body .site-nav .nav-link:hover,
html.light-theme body.portal-guide-body .site-nav .nav-item.active .nav-link {
    color: #0f172a !important;
}

.portal-page.light-theme .site-nav .btn-nav-outline,
body.portal-guide-body.light-theme .site-nav .btn-nav-outline,
html.light-theme body.portal-guide-body .site-nav .btn-nav-outline {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.portal-page.light-theme .site-nav .btn-nav-outline:hover,
body.portal-guide-body.light-theme .site-nav .btn-nav-outline:hover,
html.light-theme body.portal-guide-body .site-nav .btn-nav-outline:hover {
    border-color: #d97706 !important;
    color: #b45309 !important;
    background: rgba(245, 158, 11, 0.08) !important;
}

.portal-page.light-theme .site-nav .btn-nav-primary,
body.portal-guide-body.light-theme .site-nav .btn-nav-primary,
html.light-theme body.portal-guide-body .site-nav .btn-nav-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: 1px solid #d97706 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28) !important;
}

.portal-page.light-theme .site-nav .btn-nav-primary:hover,
body.portal-guide-body.light-theme .site-nav .btn-nav-primary:hover,
html.light-theme body.portal-guide-body .site-nav .btn-nav-primary:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4) !important;
}

.portal-page.light-theme .site-nav .btn-nav-hamburger span,
body.portal-guide-body.light-theme .site-nav .btn-nav-hamburger span,
html.light-theme body.portal-guide-body .site-nav .btn-nav-hamburger span {
    background: #0f172a !important;
}

.portal-page.light-theme .site-nav .btn-nav-hamburger,
body.portal-guide-body.light-theme .site-nav .btn-nav-hamburger,
html.light-theme body.portal-guide-body .site-nav .btn-nav-hamburger {
    border-color: #cbd5e1 !important;
}

/* Modo Claro Elegante para el Footer (Solo en Portal y Fichas de Locales) */
.portal-page.light-theme .site-footer,
body.portal-guide-body.light-theme .site-footer,
html.light-theme body.portal-guide-body .site-footer {
    background: #eef2f6 !important;
    border-top: 2px solid #cbd5e1 !important;
    box-shadow: inset 0 6px 16px rgba(15, 23, 42, 0.04) !important;
    color: #1e293b !important;
}

.portal-page.light-theme .site-footer .footer-top,
body.portal-guide-body.light-theme .site-footer .footer-top,
html.light-theme body.portal-guide-body .site-footer .footer-top {
    border-bottom: 1px solid #cbd5e1 !important;
}

.portal-page.light-theme .site-footer .footer-col h5,
body.portal-guide-body.light-theme .site-footer .footer-col h5,
html.light-theme body.portal-guide-body .site-footer .footer-col h5 {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
}

.portal-page.light-theme .site-footer .footer-col p,
body.portal-guide-body.light-theme .site-footer .footer-col p,
html.light-theme body.portal-guide-body .site-footer .footer-col p {
    color: #475569 !important;
    font-size: 0.9rem !important;
}

.portal-page.light-theme .site-footer .footer-col a,
body.portal-guide-body.light-theme .site-footer .footer-col a,
html.light-theme body.portal-guide-body .site-footer .footer-col a {
    color: #334155 !important;
    font-weight: 500 !important;
}

.portal-page.light-theme .site-footer .footer-col a:hover,
body.portal-guide-body.light-theme .site-footer .footer-col a:hover,
html.light-theme body.portal-guide-body .site-footer .footer-col a:hover {
    color: #d97706 !important;
    transform: translateX(2px);
}

.portal-page.light-theme .site-footer .footer-bottom,
body.portal-guide-body.light-theme .site-footer .footer-bottom,
html.light-theme body.portal-guide-body .site-footer .footer-bottom {
    background: rgba(226, 232, 240, 0.45) !important;
    color: #64748b !important;
    margin-top: 10px;
    padding: 20px 0;
}

.portal-page.light-theme .site-footer .footer-bottom a,
body.portal-guide-body.light-theme .site-footer .footer-bottom a,
html.light-theme body.portal-guide-body .site-footer .footer-bottom a {
    color: #475569 !important;
}

.portal-page.light-theme .site-footer .footer-bottom a:hover,
body.portal-guide-body.light-theme .site-footer .footer-bottom a:hover,
html.light-theme body.portal-guide-body .site-footer .footer-bottom a:hover {
    color: #0f172a !important;
}

/* Botón de Favoritos en Tarjeta de Establecimiento */
.btn-favorite-card {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.btn-favorite-card:hover {
    transform: scale(1.15);
    background: rgba(225, 29, 72, 0.9);
    border-color: #e11d48;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.btn-favorite-card.active {
    background: #e11d48 !important;
    border-color: #be123c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45) !important;
}

.btn-favorite-card.active i {
    font-weight: 900;
}

/* Ocultar barra inferior de móvil y banner PWA en escritorio */
@media (min-width: 769px) {

    .portal-mobile-tabbar,
    .pwa-install-banner {
        display: none !important;
    }
}

/* ==========================================================================
   OPTIMIZACIONES MÓVILES TIPO APP NATIVA (PORTAL CLIENTES & FICHA)
   ========================================================================== */
@media (max-width: 768px) {

    /* Forzar botón hamburguesa visible y accesible en móvil */
    .site-nav .btn-nav-hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1001 !important;
    }

    .site-nav .btn-nav-hamburger span {
        background: #0f172a !important;
    }

    /* En móvil, ocultar los botones de texto de la barra superior para evitar desbordamiento */
    .site-nav .nav-actions .btn-nav-outline,
    .site-nav .nav-actions .btn-nav-primary {
        display: none !important;
    }

    /* Prevenir cualquier scroll lateral accidental en móvil */
    html,
    body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .portal-search-bar,
    .portal-hero,
    .container,
    .directory-grid,
    .portal-dashboard-wrapper {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .directory-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    /* Barra inferior estilo App Móvil Nativa (iOS / Android) */
    .portal-mobile-tabbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 10000;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .portal-mobile-tabitem {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #64748b;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        cursor: pointer;
        padding: 6px 0;
        transition: color 0.2s ease, transform 0.15s ease;
        border: none;
        background: transparent;
    }

    .portal-mobile-tabitem i {
        font-size: 1.15rem;
        line-height: 1;
    }

    .portal-mobile-tabitem.active,
    .portal-mobile-tabitem:hover {
        color: #d97706;
    }

    /* Espacio extra inferior para evitar solapamiento con la barra */
    body.portal-guide-body {
        padding-bottom: 74px !important;
    }

    /* En móvil con portal, elevar o reubicar el botón de cookies para no pisar la barra inferior */
    body.portal-guide-body .cookie-reopen-btn {
        bottom: 76px !important;
        left: 14px !important;
    }

    /* Ocultar botones redundantes en móvil para dar aspecto de app limpia */
    .back-to-top-btn {
        bottom: 76px !important;
        right: 14px !important;
    }

    /* Hero y búsqueda tipo App */
    .portal-search-bar {
        border-radius: 12px;
        padding: 8px;
    }

    .portal-search-bar .search-segment {
        padding: 12px 14px;
    }

    .filter-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-pills::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 20px;
        padding: 6px 14px;
    }

    /* Directorio de Locales en móvil */
    .business-card {
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .business-card-header {
        height: 160px;
    }

    .business-card-body {
        padding: 16px;
    }

    .business-card-actions {
        flex-direction: row;
        gap: 6px;
    }

    .btn-book-now {
        padding: 12px 10px;
        font-size: 0.78rem;
    }

    .btn-card-detail,
    .btn-view-catalog {
        padding: 10px 10px;
        font-size: 0.75rem;
    }

    /* Pestañas de Área de Cliente deslizables en móvil */
    .vip-tab-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
    }

    .vip-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .vip-tab-link {
        padding: 10px 14px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    /* Tarjetas de fidelidad (Wallet) */
    .vip-wallet-card {
        padding: 20px;
        border-radius: 14px;
    }

    /* Ficha del Local Móvil */
    .venue-header-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .venue-identity {
        width: 100%;
        gap: 14px;
    }

    .venue-logo-big {
        width: 72px;
        height: 72px;
    }

    .venue-title-group h1 {
        font-size: 1.6rem;
    }

    .sticky-booking-widget {
        border-radius: 12px;
        padding: 14px;
    }
}

/* Banner Flotante para Instalar PWA */
.pwa-install-banner {
    position: fixed;
    bottom: 74px;
    left: 12px;
    right: 12px;
    max-width: 440px;
    margin: 0 auto;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 12px 16px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 10020;
    animation: slideUpBanner 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}






/* ==========================================================================
   REDISEÑO INTEGRAL EDITORIAL PREMIUM: BOOKERYOU SAAS HOSPITALITY
   Fondo: #FAF8F3 | Oliva: #535D3C | Salvia: #788365 | Terracota: #D66B43
   Texto: #20201D | Secundario: #77766F | Blanco: #FFFFFF
   ESTRICTO: Sin border-radius (Geometría rectilínea de lujo)
   ========================================================================== */

body.editorial-landing-body {
    background-color: #FAF8F3 !important;
    background-image: radial-gradient(#E8E3D7 0.8px, transparent 0.8px), radial-gradient(#E8E3D7 0.8px, #FAF8F3 0.8px) !important;
    background-size: 32px 32px !important;
    background-position: 0 0, 16px 16px !important;
    color: #20201D !important;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
    line-height: 1.65;
}

body.editorial-landing-body * {
    border-radius: 0 !important;
    /* Estricta geometría rectilínea como en la aplicación */
}

/* Tipografía de Lujo */
body.editorial-landing-body .font-editorial,
body.editorial-landing-body .ed-hero-title,
body.editorial-landing-body .ed-section-title h2,
body.editorial-landing-body .ed-cta-title,
body.editorial-landing-body h1.ed-serif,
body.editorial-landing-body h2.ed-serif,
body.editorial-landing-body h3.ed-serif {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    letter-spacing: -0.025em !important;
}

/* NAVBAR EDITORIAL PREMIUM */
body.editorial-landing-body .site-nav {
    background: rgba(250, 248, 243, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(83, 93, 60, 0.15) !important;
    box-shadow: 0 4px 20px rgba(32, 32, 29, 0.04) !important;
    transition: all 0.3s ease !important;
}

body.editorial-landing-body .site-nav .nav-link {
    color: #3B3C36 !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

body.editorial-landing-body .site-nav .nav-link:hover,
body.editorial-landing-body .site-nav .nav-item.active .nav-link {
    color: #535D3C !important;
}

body.editorial-landing-body .site-nav .btn-nav-outline {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.3) !important;
    color: #535D3C !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 2px 6px rgba(32, 32, 29, 0.04) !important;
}

body.editorial-landing-body .site-nav .btn-nav-outline:hover {
    background: #F4F1E8 !important;
    border-color: #535D3C !important;
}

body.editorial-landing-body .btn-nav-primary,
body.editorial-landing-body .ed-btn-primary {
    background: #535D3C !important;
    border: 1px solid #535D3C !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 6px 18px rgba(83, 93, 60, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

body.editorial-landing-body .btn-nav-primary:hover,
body.editorial-landing-body .ed-btn-primary:hover {
    background: #424A30 !important;
    border-color: #424A30 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(83, 93, 60, 0.35) !important;
}

body.editorial-landing-body .ed-btn-secondary {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(83, 93, 60, 0.3) !important;
    color: #535D3C !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    text-transform: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(32, 32, 29, 0.04) !important;
    transition: all 0.25s ease !important;
}

body.editorial-landing-body .ed-btn-secondary:hover {
    background: #F4F1E8 !important;
    border-color: #535D3C !important;
    transform: translateY(-2px);
}

body.editorial-landing-body .nav-dropdown {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.15) !important;
    box-shadow: 0 18px 40px rgba(32, 32, 29, 0.08) !important;
    padding: 8px !important;
}

body.editorial-landing-body .nav-dropdown a {
    color: #3B3C36 !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
}

body.editorial-landing-body .nav-dropdown a:hover {
    background: #FAF8F3 !important;
    color: #535D3C !important;
}

/* HERO PRINCIPAL EDITORIAL */
.ed-hero-section {
    padding-top: 140px;
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
}

.ed-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.ed-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(120, 131, 101, 0.14);
    border: 1px solid rgba(83, 93, 60, 0.25);
    color: #535D3C;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.ed-hero-title {
    font-size: clamp(2.6rem, 4.2vw, 3.8rem);
    line-height: 1.14;
    font-weight: 700;
    color: #20201D;
    margin-bottom: 22px;
}

.ed-hero-title em {
    font-style: italic;
    color: #535D3C;
    font-weight: 500;
}

.ed-hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #55544E;
    margin-bottom: 36px;
    max-width: 560px;
}

.ed-hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Showcase Hero Image & Floating Card */
.ed-hero-image-wrap {
    position: relative;
}

.ed-hero-photo-frame {
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(32, 32, 29, 0.18), 0 0 0 1px rgba(83, 93, 60, 0.1);
    background: #E8E3D7;
}

.ed-hero-photo {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ed-hero-photo-frame:hover .ed-hero-photo {
    transform: scale(1.02);
}

.ed-floating-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(83, 93, 60, 0.2);
    padding: 22px 26px;
    box-shadow: 0 20px 45px rgba(32, 32, 29, 0.14);
    min-width: 320px;
    z-index: 5;
    animation: floatSubtle 6s ease-in-out infinite alternate;
}

@keyframes floatSubtle {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

.ed-floating-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F0ECE1;
}

.ed-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #535D3C;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ed-live-pulse span.dot {
    width: 8px;
    height: 8px;
    background: #535D3C;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(83, 93, 60, 0.2);
}

.ed-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ed-metric-item h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #20201D;
    line-height: 1.1;
    margin-bottom: 2px;
}

.ed-metric-item span {
    font-size: 0.78rem;
    color: #77766F;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* SECCIÓN 3: BENEFICIOS (FRANJA HORIZONTAL) */
.ed-benefits-ribbon {
    background: #FFFFFF;
    border-top: 1px solid rgba(83, 93, 60, 0.12);
    border-bottom: 1px solid rgba(83, 93, 60, 0.12);
    padding: 42px 0;
    box-shadow: 0 4px 16px rgba(32, 32, 29, 0.02);
}

.ed-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.ed-benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ed-benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(120, 131, 101, 0.14);
    color: #535D3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.ed-benefit-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #20201D;
    margin-bottom: 3px;
}

.ed-benefit-text p {
    font-size: 0.84rem;
    color: #77766F;
    margin: 0;
    line-height: 1.45;
}

/* TÍTULOS DE SECCIÓN EDITORIAL */
.ed-section-pad {
    padding: 105px 0;
}

.ed-section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 65px;
}

.ed-section-title .ed-pill-tag {
    margin-bottom: 16px;
}

.ed-section-title h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 700;
    color: #20201D;
    line-height: 1.2;
    margin-bottom: 18px;
}

.ed-section-title p {
    font-size: 1.12rem;
    color: #63625B;
    line-height: 1.7;
}

/* SECCIÓN 4: UNA PLATAFORMA, TODO CONECTADO (SALA, COCINA, CLIENTES) */
.ed-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.ed-trio-card {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.14);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(32, 32, 29, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ed-trio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(32, 32, 29, 0.09);
    border-color: #535D3C;
}

.ed-trio-photo-wrap {
    height: 290px;
    position: relative;
    overflow: hidden;
}

.ed-trio-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ed-trio-card:hover .ed-trio-photo-wrap img {
    transform: scale(1.05);
}

.ed-trio-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(83, 93, 60, 0.15);
    padding: 6px 14px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #535D3C;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ed-trio-content {
    padding: 34px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ed-trio-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #20201D;
    margin-bottom: 12px;
}

.ed-trio-content p {
    font-size: 0.96rem;
    color: #63625B;
    line-height: 1.65;
    margin-bottom: 22px;
}

.ed-trio-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    font-size: 0.92rem;
    color: #33322E;
}

.ed-trio-features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ed-trio-features li i {
    color: #535D3C;
    font-size: 0.95rem;
}

/* SECCIÓN 5: GRID DE FUNCIONALIDADES */
.ed-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ed-module-card {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.12);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(32, 32, 29, 0.03);
    transition: all 0.25s ease;
}

.ed-module-card:hover {
    transform: translateY(-4px);
    border-color: #535D3C;
    box-shadow: 0 16px 36px rgba(83, 93, 60, 0.09);
}

.ed-module-icon {
    width: 50px;
    height: 50px;
    background: rgba(120, 131, 101, 0.14);
    color: #535D3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.ed-module-card:hover .ed-module-icon {
    background: #535D3C;
    color: #FFFFFF;
}

.ed-module-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #20201D;
    margin-bottom: 10px;
}

.ed-module-card p {
    font-size: 0.94rem;
    color: #63625B;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ed-module-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #535D3C;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.ed-module-card:hover .ed-module-link {
    gap: 12px;
}

/* SECCIONES SPLIT DETALLADAS (CUADRADAS EXACTAS CON EL BLOQUE DE TEXTO) */
.ed-feature-split {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 90px;
    width: 100%;
}

.ed-feature-split.reverse {
    grid-template-columns: 1.25fr 1fr;
}

.ed-feature-split>div:first-child:not(.ed-mockup-frame),
.ed-feature-split>div:last-child:not(.ed-mockup-frame) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-mockup-frame {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.16);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(32, 32, 29, 0.08);
    padding: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ed-mockup-bar {
    height: 42px;
    background: #FAF8F3;
    border-bottom: 1px solid rgba(83, 93, 60, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #63625B;
    flex-shrink: 0;
    width: 100%;
}

.ed-mockup-dots {
    display: flex;
    gap: 6px;
}

.ed-mockup-dots span {
    width: 8px;
    height: 8px;
    background: #D9D4C7;
}

/* Fotos de entorno con altura fija homogénea para alineación perfecta */
.ed-mockup-img,
.ed-mockup-img.ed-photo-fit {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* En pantallas de app se encuadra completa sin cortes indeseados */
.ed-mockup-img.ed-app-screen {
    width: 100% !important;
    height: auto !important;
    max-height: 440px !important;
    object-fit: contain !important;
    object-position: top center !important;
    display: block !important;
    background: #FFFFFF !important;
}

/* SECCIÓN 8: SECTORES */
.ed-sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ed-sector-card {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.12);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(32, 32, 29, 0.04);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ed-sector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(32, 32, 29, 0.09);
    border-color: #535D3C;
}

.ed-sector-photo {
    height: 230px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.ed-sector-content {
    padding: 26px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ed-sector-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #20201D;
    margin-bottom: 8px;
}

.ed-sector-content p {
    font-size: 0.9rem;
    color: #63625B;
    line-height: 1.6;
    margin-bottom: 18px;
}

.ed-sector-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #535D3C;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SECCIÓN 9: TARIFAS */
.ed-pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.ed-pricing-card {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.15);
    padding: 46px 36px;
    flex: 1 1 320px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(32, 32, 29, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ed-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(32, 32, 29, 0.08);
}

.ed-pricing-card.popular {
    border: 2px solid #535D3C;
    box-shadow: 0 16px 40px rgba(83, 93, 60, 0.12);
}

.ed-pricing-badge {
    position: absolute;
    top: -14px;
    left: 36px;
    background: #D66B43;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
}

.ed-pricing-card h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #20201D;
    margin-bottom: 8px;
}

.ed-pricing-card .ed-price-val {
    font-size: 3.2rem;
    font-weight: 800;
    color: #20201D;
    line-height: 1;
    margin: 24px 0;
}

.ed-pricing-card .ed-price-val span {
    font-size: 0.95rem;
    color: #77766F;
    font-weight: 500;
}

.ed-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.ed-pricing-feature-subheading {
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 800 !important;
    color: #535D3C !important;
    padding: 4px 0 0 0 !important;
    margin-top: 4px !important;
    border-top: 1px dashed rgba(83, 93, 60, 0.25) !important;
    min-height: auto !important;
}

.ed-pricing-more-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(83, 93, 60, 0.08) !important;
    border: 1px solid rgba(83, 93, 60, 0.2) !important;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #535D3C !important;
    margin-top: 4px !important;
    border-radius: 6px !important;
}

.ed-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: #3B3C36;
}

.ed-pricing-features li i {
    color: #535D3C;
    margin-top: 3px;
}

/* SECCIÓN 10: BANNER DE IMPACTO FINAL */
.ed-cta-section {
    position: relative;
    padding: 130px 40px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 25px 60px rgba(32, 32, 29, 0.15);
    margin-bottom: 80px;
}

.ed-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.32) contrast(1.1);
}

.ed-cta-content {
    position: relative;
    z-index: 5;
    max-width: 820px;
    margin: 0 auto;
    color: #FFFFFF;
}

.ed-cta-title {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.ed-cta-lead {
    font-size: 1.2rem;
    color: #E8E3D7;
    line-height: 1.7;
    margin-bottom: 38px;
}

/* SECCIÓN 11: FOOTER EDITORIAL */
body.editorial-landing-body .site-footer {
    background: #FAF8F3 !important;
    border-top: 1px solid rgba(83, 93, 60, 0.15) !important;
    color: #20201D !important;
}

body.editorial-landing-body .site-footer .footer-col h5 {
    color: #20201D !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
}

body.editorial-landing-body .site-footer .footer-col a {
    color: #63625B !important;
}

body.editorial-landing-body .site-footer .footer-col a:hover {
    color: #535D3C !important;
}

body.editorial-landing-body .site-footer .footer-bottom {
    border-top: 1px solid rgba(83, 93, 60, 0.1) !important;
    color: #77766F !important;
}

/* RESPONSIVE EDITORIAL & MULTIDISPOSITIVO */
@media (max-width: 1024px) {
    .ed-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ed-floating-card {
        bottom: 12px;
        left: 12px;
    }

    .ed-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ed-trio-grid {
        grid-template-columns: 1fr;
    }

    .ed-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-feature-split,
    .ed-feature-split.reverse {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {

    /* Tipografía y encabezados fluidos en móvil */
    .ed-hero-title {
        font-size: clamp(2.1rem, 7vw, 2.8rem) !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 16px !important;
    }

    .ed-hero-lead {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        margin-bottom: 24px !important;
    }

    .ed-hero-actions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .ed-hero-actions a,
    .ed-hero-actions button {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
    }

    .ed-section-pad {
        padding: 60px 0 !important;
    }

    .ed-section-title h2 {
        font-size: clamp(1.85rem, 6vw, 2.3rem) !important;
    }

    .ed-section-title p {
        font-size: 0.95rem !important;
    }

    /* Cintas en móvil: Inclinación sutil y tipografía proporcionada */
    .ed-ribbon-ticker-section {
        min-height: 100px !important;
    }

    .ed-ribbon-strip {
        padding: 12px 0 !important;
        font-size: 0.82rem !important;
        letter-spacing: 0.08em !important;
    }

    .ed-ribbon-item {
        gap: 10px !important;
        padding: 0 12px !important;
    }

    .ed-ribbon-item i {
        font-size: 1.05rem !important;
    }

    /* Calculadora en móvil: Sin márgenes excesivos, sliders cómodos */
    .by-calc-wrapper {
        border-radius: 14px !important;
        padding: 20px 16px !important;
        gap: 24px !important;
    }

    .by-calc-results {
        padding: 24px 18px !important;
        border-radius: 14px !important;
    }

    .by-calc-save-amount {
        font-size: 2.3rem !important;
    }

    .by-calc-plan-selector-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .by-calc-plan-pills {
        width: 100% !important;
    }

    .by-calc-plan-btn {
        flex: 1 !important;
        padding: 7px 6px !important;
        font-size: 0.74rem !important;
        text-align: center !important;
    }

    /* Tarifas y Planes en Móvil */
    .ed-pricing-grid,
    .pricing-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
    }

    .ed-pricing-card,
    .pricing-card {
        max-width: 100% !important;
        width: 100% !important;
        padding: 32px 22px !important;
    }

    .ed-pricing-card .ed-price-val,
    .pricing-price {
        font-size: 2.6rem !important;
        margin: 18px 0 !important;
    }

    /* Mockups y Marcos en Móvil */
    .ed-mockup-frame,
    .screenshot-frame {
        margin: 0 !important;
        border-radius: 10px !important;
    }

    .ed-mockup-bar {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }

    /* Trilogía y Sectores */
    .ed-trio-card,
    .ed-sector-card {
        border-radius: 12px !important;
    }

    .ed-sector-photo {
        height: 180px !important;
    }
}

@media (max-width: 640px) {
    .ed-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ed-modules-grid {
        grid-template-columns: 1fr;
    }

    .ed-sectors-grid {
        grid-template-columns: 1fr;
    }

    .ed-cta-section {
        padding: 60px 18px;
    }

    .ed-cta-title {
        font-size: 2rem !important;
    }

    .ed-hero-photo {
        height: 320px;
    }

    .ed-floating-card {
        position: static;
        margin-top: 16px;
        min-width: unset;
        width: 100%;
    }
}

/* =========================================================================
   EFECTOS AVANZADOS PUBZI / SAAS GAMING PREMIUM (Adaptado a Paleta Cálida BookerYou)
   Colores: #535D3C (Oliva), #788365 (Salvia), #D66B43 (Terracota), #FAF8F3 (Marfil)
   ========================================================================= */

/* 1. Malla técnica sutil de fondo en Hero */
.editorial-landing-body .ed-hero-section {
    position: relative;
    background-image:
        radial-gradient(circle at 85% 20%, rgba(83, 93, 60, 0.08) 0%, transparent 45%),
        linear-gradient(rgba(83, 93, 60, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83, 93, 60, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px, 36px 36px;
    background-position: 0 0, -1px -1px, -1px -1px;
}

/* 2. Micro-brillo interactivo (Shine Reflex) en Botones Primarios */
.editorial-landing-body .ed-btn-primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.editorial-landing-body .ed-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(60deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent);
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
}

.editorial-landing-body .ed-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(83, 93, 60, 0.35);
}

.editorial-landing-body .ed-btn-primary:hover::after {
    left: 140%;
    transition: left 0.75s ease-in-out;
}

/* 3. Efecto Glow suave y elevación 3D en Tarjetas de Módulos */
.editorial-landing-body .ed-module-card {
    position: relative;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    isolation: isolate;
}

.editorial-landing-body .ed-module-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(83, 93, 60, 0.4), rgba(214, 107, 67, 0.3), rgba(120, 131, 101, 0.4));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.editorial-landing-body .ed-module-card:hover {
    transform: translateY(-6px);
    background: #FFFFFF !important;
    border-color: transparent !important;
    box-shadow:
        0 14px 34px -10px rgba(83, 93, 60, 0.18),
        0 0 20px -2px rgba(120, 131, 101, 0.15) !important;
}

.editorial-landing-body .ed-module-card:hover::before {
    opacity: 1;
}

.editorial-landing-body .ed-module-card:hover .ed-mod-icon {
    transform: scale(1.1) rotate(2deg);
    background: #535D3C !important;
    color: #FAF8F3 !important;
    box-shadow: 0 6px 16px -4px rgba(83, 93, 60, 0.4);
}

.editorial-landing-body .ed-mod-icon {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 4. Tarjeta Flotante en Hero con Resplandor Nocturno Elegante y Tilt */
.editorial-landing-body .ed-floating-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    box-shadow:
        0 24px 48px -12px rgba(32, 32, 29, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 35px -8px rgba(83, 93, 60, 0.4) !important;
}

.editorial-landing-body .ed-floating-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 30px 60px -15px rgba(32, 32, 29, 0.7),
        0 0 0 1px rgba(214, 107, 67, 0.35),
        0 0 45px -5px rgba(120, 131, 101, 0.5) !important;
}

/* 5. Marco fotográfico con reborde de luz viva */
.editorial-landing-body .ed-hero-photo-frame {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(32, 32, 29, 0.22);
}

.editorial-landing-body .ed-hero-photo {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
}

.editorial-landing-body .ed-hero-photo-frame:hover .ed-hero-photo {
    transform: scale(1.035);
}

/* 6. Tarjetas de Trilogía Sala/Cocina/Clientes y Sectores con Zoom suave */
.editorial-landing-body .ed-trio-card,
.editorial-landing-body .ed-sector-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.editorial-landing-body .ed-trio-card:hover,
.editorial-landing-body .ed-sector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -12px rgba(83, 93, 60, 0.2) !important;
}

.editorial-landing-body .ed-trio-photo-wrap,
.editorial-landing-body .ed-sector-photo-wrap {
    overflow: hidden;
}

.editorial-landing-body .ed-trio-photo,
.editorial-landing-body .ed-sector-photo {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.editorial-landing-body .ed-trio-card:hover .ed-trio-photo,
.editorial-landing-body .ed-sector-card:hover .ed-sector-photo {
    transform: scale(1.05);
}

/* 7. Pulsación luminosa para el punto de estado en vivo */
@keyframes edPulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.editorial-landing-body .ed-pulse-dot {
    animation: edPulseGreen 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* 8. Tarjetas de Precios con micro-borde activo */
.editorial-landing-body .ed-pricing-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.editorial-landing-body .ed-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px -10px rgba(83, 93, 60, 0.22) !important;
}



/* =========================================================================
   9. SECCIÓN MARQUEE INTERACTIVO DE CINTAS CRUZADAS REBOOST (Crossed Ribbons)
   Inspirado en la referencia, pero con nuestra paleta cromática de marca:
   - Cinta 1: Verde Oliva Profundo (#535D3C) con texto marfil (#FAF8F3)
   - Cinta 2: Terracota Vibrante (#D66B43) con texto blanco
   - Cinta 3: Verde Salvia Fresco (#788365) con texto blanco
   ========================================================================= */

.ed-ribbon-ticker-section {
    position: relative;
    padding: 30px 0 20px 0;
    margin-top: -20px;
    margin-bottom: -30px;
    overflow: hidden;
    background: #FAF8F3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ed-ribbon-wrapper {
    position: relative;
    width: 120%;
    margin-left: -10%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-ribbon-strip {
    position: absolute;
    width: 125%;
    left: -12.5%;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
    box-shadow: 0 12px 28px rgba(32, 32, 29, 0.2);
    padding: 16px 0;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Cinta 1: Verde Oliva Profundo (Cruce Ascendente) */
.ed-ribbon-strip-1 {
    background: #535D3C;
    color: #FAF8F3;
    transform: rotate(-3.5deg);
    z-index: 1;
}

/* Cinta 2: Terracota Vibrante (Cruce Descendente, frontal y limpio) */
.ed-ribbon-strip-2 {
    background: #D66B43;
    color: #FFFFFF;
    transform: rotate(3.2deg);
    z-index: 2;
}

.ed-ribbon-track {
    display: flex;
    gap: 45px;
    animation: ribbonScroll 25s linear infinite;
}

.ed-ribbon-strip-2 .ed-ribbon-track {
    animation: ribbonScrollReverse 28s linear infinite;
}

.ed-ribbon-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
}

.ed-ribbon-item i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.ed-ribbon-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    opacity: 0.7;
    display: inline-block;
}

@keyframes ribbonScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes ribbonScrollReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}








/* =========================================================================
   HOMOGENEIDAD Y COHERENCIA EDITORIAL PREMIUM EN TODAS LAS SECCIONES
   Alineación de geometría, bordes técnicos superiores y sombras arquitectónicas
   ========================================================================= */

/* Trilogía Sala / Cocina / Clientes con cabecera técnica minimalista */
.editorial-landing-body .ed-trio-card {
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.06) !important;
    position: relative;
}

.editorial-landing-body .ed-trio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #535D3C;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.editorial-landing-body .ed-trio-card:hover::before {
    opacity: 1;
}

/* Tarjetas de Sectores Especializados con barra superior activa */
.editorial-landing-body .ed-sector-card {
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.06) !important;
    position: relative;
    overflow: hidden;
}

.editorial-landing-body .ed-sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #D66B43;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.editorial-landing-body .ed-sector-card:hover::before {
    opacity: 1;
}

/* Cuadrícula de 15 Módulos Reales con acento técnico */
.editorial-landing-body .ed-module-card {
    border: 1px solid rgba(83, 93, 60, 0.14) !important;
    box-shadow: 0 10px 28px rgba(32, 32, 29, 0.04) !important;
    background: #FFFFFF !important;
    position: relative;
    overflow: hidden;
}

.editorial-landing-body .ed-module-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #535D3C;
    transition: width 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.editorial-landing-body .ed-module-card:hover::after {
    width: 100%;
}

/* Tarjetas de Precios y Tarifas alineadas al estilo editorial */
.editorial-landing-body .ed-pricing-card {
    border: 1px solid rgba(83, 93, 60, 0.18) !important;
    box-shadow: 0 18px 45px rgba(32, 32, 29, 0.07) !important;
}

.editorial-landing-body .ed-pricing-card.popular {
    border: 2px solid #535D3C !important;
    box-shadow: 0 24px 60px rgba(83, 93, 60, 0.18) !important;
}

/* Franja de Garantías Finales */
.editorial-landing-body .ed-guarantee-row {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.18) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.05) !important;
}

/* =========================================================================
   DISEÑO EDITORIAL PARA PÁGINAS DE MÓDULOS Y SECTORES
   Alineación de paleta marfil (#FAF8F3), verde oliva (#535D3C) y tipografía de lujo
   ========================================================================= */

.editorial-landing-body .page-hero {
    background: transparent !important;
    padding: 150px 0 70px !important;
    border-bottom: 1px solid rgba(83, 93, 60, 0.12) !important;
}

.editorial-landing-body .badge-tag {
    background: rgba(120, 131, 101, 0.14) !important;
    border: 1px solid rgba(83, 93, 60, 0.25) !important;
    color: #535D3C !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 6px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.editorial-landing-body .heading-hero {
    color: #20201D !important;
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    font-size: clamp(2.4rem, 4vw, 3.4rem) !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
}

.editorial-landing-body .sub-lead {
    color: #55544E !important;
    font-size: 1.12rem !important;
    line-height: 1.7 !important;
}

.editorial-landing-body .heading-section {
    color: #20201D !important;
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    font-size: clamp(2rem, 3.2vw, 2.8rem) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

.editorial-landing-body .screenshot-frame {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 20px 50px rgba(32, 32, 29, 0.08) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.editorial-landing-body .screenshot-bar {
    background: #FAF8F3 !important;
    border-bottom: 1px solid rgba(83, 93, 60, 0.1) !important;
    color: #63625B !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.editorial-landing-body .screenshot-img {
    width: 100% !important;
    height: auto !important;
    max-height: 520px !important;
    object-fit: contain !important;
    display: block !important;
    background: #FFFFFF !important;
}

.editorial-landing-body .feature-bullets li {
    color: #33322E !important;
    font-size: 0.96rem !important;
    line-height: 1.6 !important;
}

.editorial-landing-body .feature-bullets li i {
    color: #535D3C !important;
}

/* En módulos/sectores, el bloque de texto editorial NUNCA tiene fondo blanco ni borde encasillado */
.editorial-landing-body .feature-split>div:not(.screenshot-frame):not([style*="background: #0b"]):not([style*="background:#0b"]):not([style*="background: #07"]):not([style*="background:#07"]),
.editorial-landing-body .ed-feature-split>div:not(.ed-mockup-frame) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.editorial-landing-body .feature-split>div:not(.screenshot-frame) p,
.editorial-landing-body .ed-feature-split>div:not(.ed-mockup-frame) p {
    color: #55544E !important;
}

/* Tarjeta técnica complementaria de módulos (con generoso padding y armonía editorial) */
.editorial-landing-body .feature-split>div[style*="background: #0b"],
.editorial-landing-body .feature-split>div[style*="background:#0b"] {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.05) !important;
    padding: 44px 40px !important;
    color: #20201D !important;
}

.editorial-landing-body .feature-split>div[style*="background: #0b"] h4,
.editorial-landing-body .feature-split>div[style*="background:#0b"] h4 {
    color: #20201D !important;
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
}

.editorial-landing-body .feature-split>div[style*="background: #0b"] p,
.editorial-landing-body .feature-split>div[style*="background:#0b"] p {
    color: #55544E !important;
    line-height: 1.7 !important;
}

.editorial-landing-body .feature-split>div[style*="background: #0b"] div[style*="color:var(--primary)"],
.editorial-landing-body .feature-split>div[style*="background:#0b"] div[style*="color:var(--primary)"] {
    color: #535D3C !important;
    font-weight: 800 !important;
}

.editorial-landing-body .feature-split>div[style*="background: #0b"] i,
.editorial-landing-body .feature-split>div[style*="background:#0b"] i {
    color: #535D3C !important;
}

/* Bloques interiores de cita o subitems dentro de tarjetas técnicas */
.editorial-landing-body .feature-split div[style*="background: #070a12"],
.editorial-landing-body .feature-split div[style*="background:#070a12"] {
    background: #F4F1E8 !important;
    border: 1px solid rgba(83, 93, 60, 0.14) !important;
    border-left: 3px solid #535D3C !important;
    padding: 16px 20px !important;
    color: #20201D !important;
}

.editorial-landing-body .feature-split div[style*="background: #070a12"] span,
.editorial-landing-body .feature-split div[style*="background:#070a12"] span {
    color: #20201D !important;
    font-weight: 600 !important;
}

/* =========================================================================
   SISTEMA EDITORIAL DE VIÑETAS CON ICONOS TEMÁTICOS Y ESPACIADO HOLGADO
   ========================================================================= */
.editorial-landing-body .feature-bullets,
.editorial-landing-body .ed-trio-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 28px 0 34px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.editorial-landing-body .feature-bullets li,
.editorial-landing-body .ed-trio-features li {
    position: relative !important;
    display: block !important;
    padding-left: 54px !important;
    min-height: 40px !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    color: #44433E !important;
}

.editorial-landing-body .feature-bullets li>i,
.editorial-landing-body .ed-trio-features li>i,
.editorial-landing-body .feature-bullets li .bullet-icon,
.editorial-landing-body .ed-trio-features li .bullet-icon {
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    background: rgba(83, 93, 60, 0.1) !important;
    border: 1px solid rgba(83, 93, 60, 0.22) !important;
    color: #535D3C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.92rem !important;
    border-radius: 0 !important;
}

.editorial-landing-body .feature-bullets li strong,
.editorial-landing-body .ed-trio-features li strong {
    color: #20201D !important;
    font-weight: 700 !important;
    display: inline !important;
    margin-right: 6px !important;
}

.editorial-landing-body .feature-bullets li .bullet-content,
.editorial-landing-body .ed-trio-features li .bullet-content {
    display: inline !important;
    color: #44433E !important;
    line-height: 1.65 !important;
}

/* =========================================================================
   TARIFAS Y PLANES EDITORIALES (tarifas.php)
   ========================================================================= */
.editorial-landing-body .pricing-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 32px !important;
    flex-wrap: wrap !important;
    margin: 0 auto 50px !important;
    max-width: 1200px !important;
}

.editorial-landing-body .pricing-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.05) !important;
    padding: 44px 36px !important;
    flex: 1 1 320px !important;
    max-width: 380px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.editorial-landing-body .pricing-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 50px rgba(32, 32, 29, 0.09) !important;
}

.editorial-landing-body .pricing-card.popular {
    border: 2px solid #535D3C !important;
    position: relative !important;
}

.editorial-landing-body .pricing-title {
    font-family: 'Fraunces', serif !important;
    font-size: 1.65rem !important;
    color: #20201D !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.editorial-landing-body .pricing-desc {
    font-size: 0.92rem !important;
    color: #55544E !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    min-height: 44px !important;
}

.editorial-landing-body .pricing-price {
    font-family: 'Fraunces', serif !important;
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    color: #20201D !important;
    line-height: 1 !important;
    margin-bottom: 30px !important;
}

.editorial-landing-body .pricing-price span {
    font-family: inherit !important;
    font-size: 0.95rem !important;
    color: #77766F !important;
    font-weight: 400 !important;
}

.editorial-landing-body .pricing-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.editorial-landing-body .pricing-features li,
.editorial-landing-body .ed-pricing-features li {
    position: relative !important;
    display: block !important;
    padding-left: 44px !important;
    min-height: 32px !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: #44433E !important;
    text-align: left !important;
}

.editorial-landing-body .pricing-features li i,
.editorial-landing-body .ed-pricing-features li i {
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    background: rgba(83, 93, 60, 0.1) !important;
    border: 1px solid rgba(83, 93, 60, 0.2) !important;
    color: #535D3C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.editorial-landing-body .pricing-features li strong,
.editorial-landing-body .ed-pricing-features li strong {
    color: #20201D !important;
    font-weight: 700 !important;
    display: inline !important;
    margin-right: 4px !important;
}

.editorial-landing-body .pricing-features li .bullet-content,
.editorial-landing-body .ed-pricing-features li .bullet-content {
    display: inline !important;
    color: #44433E !important;
}

/* =========================================================================
   CHECKOUT Y CONTRATACIÓN EDITORIAL (checkout.php)
   ========================================================================= */
.editorial-landing-body .checkout-grid>div {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.05) !important;
    padding: 38px 34px !important;
    border-radius: 0 !important;
}

.editorial-landing-body .checkout-grid h2,
.editorial-landing-body .checkout-grid h3 {
    color: #20201D !important;
    font-family: 'Fraunces', serif !important;
}

.editorial-landing-body .checkout-grid label {
    color: #535D3C !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
}

.editorial-landing-body .checkout-grid input,
.editorial-landing-body .checkout-grid select {
    background: #FAF8F3 !important;
    border: 1px solid rgba(83, 93, 60, 0.2) !important;
    color: #20201D !important;
    border-radius: 0 !important;
    outline: none !important;
}

.editorial-landing-body .checkout-grid input:focus,
.editorial-landing-body .checkout-grid select:focus {
    border-color: #535D3C !important;
    background: #FFFFFF !important;
}

/* Tarjetas en sectores adicionales (sectores/otros.php) */
.editorial-landing-body div[style*="background: #0c121e"],
.editorial-landing-body div[style*="background:#0c121e"] {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 16px 40px rgba(32, 32, 29, 0.05) !important;
    color: #20201D !important;
}

.editorial-landing-body div[style*="background: #0c121e"] h3,
.editorial-landing-body div[style*="background:#0c121e"] h3 {
    color: #20201D !important;
    font-family: 'Fraunces', serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
}

.editorial-landing-body div[style*="background: #0c121e"] p,
.editorial-landing-body div[style*="background:#0c121e"] p {
    color: #55544E !important;
    line-height: 1.65 !important;
}

.editorial-landing-body div[style*="background: #0c121e"] div[style*="color: var(--primary)"],
.editorial-landing-body div[style*="background:#0c121e"] div[style*="color: var(--primary)"],
.editorial-landing-body div[style*="background: #0c121e"] i,
.editorial-landing-body div[style*="background:#0c121e"] i {
    color: #535D3C !important;
}

/* =========================================================================
   SISTEMA DE PREGUNTAS FRECUENTES (FAQ) EDITORIAL & SEO
   ========================================================================= */
.editorial-landing-body .ed-faq-section {
    padding: 90px 0 100px !important;
    background: #FAF8F3 !important;
    border-top: 1px solid rgba(83, 93, 60, 0.12) !important;
}

.editorial-landing-body .ed-faq-header {
    text-align: center !important;
    max-width: 820px !important;
    margin: 0 auto 54px !important;
}

.editorial-landing-body .ed-faq-header h2 {
    font-family: 'Fraunces', serif !important;
    font-size: clamp(2rem, 3.2vw, 2.7rem) !important;
    color: #20201D !important;
    margin-bottom: 14px !important;
    line-height: 1.25 !important;
}

.editorial-landing-body .ed-faq-header p {
    font-size: 1.05rem !important;
    color: #55544E !important;
    line-height: 1.65 !important;
}

.editorial-landing-body .ed-faq-list {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.editorial-landing-body .ed-faq-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 4px 16px rgba(32, 32, 29, 0.03) !important;
    border-radius: 0 !important;
    transition: all 0.25s ease !important;
}

.editorial-landing-body .ed-faq-item:hover {
    border-color: rgba(83, 93, 60, 0.35) !important;
    box-shadow: 0 8px 24px rgba(32, 32, 29, 0.06) !important;
}

.editorial-landing-body .ed-faq-summary {
    padding: 24px 28px !important;
    cursor: pointer !important;
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    font-family: 'Fraunces', serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #20201D !important;
    user-select: none !important;
}

.editorial-landing-body .ed-faq-summary::-webkit-details-marker {
    display: none !important;
}

.editorial-landing-body .ed-faq-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    background: rgba(83, 93, 60, 0.08) !important;
    border: 1px solid rgba(83, 93, 60, 0.2) !important;
    color: #535D3C !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    border-radius: 0 !important;
    transition: transform 0.25s ease !important;
}

.editorial-landing-body .ed-faq-item[open] .ed-faq-icon {
    transform: rotate(180deg) !important;
    background: #535D3C !important;
    color: #FAF8F3 !important;
}

.editorial-landing-body .ed-faq-answer {
    padding: 0 28px 24px !important;
    font-size: 0.98rem !important;
    color: #55544E !important;
    line-height: 1.7 !important;
    border-top: 1px solid rgba(83, 93, 60, 0.08) !important;
    padding-top: 18px !important;
}

/* =========================================================================
   COMPATIBILIDAD GLOBAL DE MOCKUPS EN MÓDULOS Y SECTORES
   ========================================================================= */
.editorial-landing-body .ed-mockup-frame,
.editorial-landing-body .screenshot-frame {
    background: #FFFFFF !important;
    border: 1px solid rgba(83, 93, 60, 0.16) !important;
    box-shadow: 0 20px 48px rgba(32, 32, 29, 0.07) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.editorial-landing-body .ed-mockup-bar,
.editorial-landing-body .screenshot-bar {
    background: #FAF8F3 !important;
    border-bottom: 1px solid rgba(83, 93, 60, 0.12) !important;
    padding: 10px 18px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #63625B !important;
    letter-spacing: 0.03em !important;
}

.editorial-landing-body .ed-mockup-dots,
.editorial-landing-body .screenshot-dots {
    display: flex !important;
    gap: 6px !important;
}

.editorial-landing-body .ed-mockup-dots span,
.editorial-landing-body .screenshot-dots span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(83, 93, 60, 0.25) !important;
    display: inline-block !important;
}

.editorial-landing-body .ed-photo-fit,
.editorial-landing-body .screenshot-img {
    width: 100% !important;
    height: 420px !important;
    max-height: 440px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* =========================================================================
   POPUP EDITORIAL DE CAPTACIÓN: DEMOSTRACIÓN GUIADA BOOKER YOU
   ========================================================================= */
.by-demo-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(32, 32, 29, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: byDemoFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes byDemoFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.by-demo-card {
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.28);
    box-shadow: 0 24px 60px rgba(32, 32, 29, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    width: 100%;
    max-width: 860px;
    position: relative;
    overflow: hidden;
    animation: byDemoScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes byDemoScaleUp {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.by-demo-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(83, 93, 60, 0.2);
    color: #20201D;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.by-demo-close:hover {
    background: #535D3C;
    color: #FAF8F3;
    border-color: #535D3C;
}

.by-demo-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 480px;
}

.by-demo-sidebar {
    background: #F4F1E8;
    padding: 38px 30px;
    border-right: 1px solid rgba(83, 93, 60, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.by-demo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(83, 93, 60, 0.12);
    border: 1px solid rgba(83, 93, 60, 0.24);
    color: #535D3C;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    width: fit-content;
    margin-bottom: 16px;
}

.by-demo-headline {
    font-family: 'Fraunces', serif;
    font-size: 1.65rem;
    color: #20201D;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
}

.by-demo-subtext {
    font-size: 0.9rem;
    color: #55544E;
    line-height: 1.6;
    margin: 0 0 22px;
}

.by-demo-bullets {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 22px !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.by-demo-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #44433E;
    line-height: 1.5;
}

.by-demo-bullets li i {
    width: 28px;
    height: 28px;
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.2);
    color: #535D3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.by-demo-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #535D3C;
    font-weight: 700;
    padding-top: 14px;
    border-top: 1px solid rgba(83, 93, 60, 0.14);
}

.by-demo-main {
    background: #FFFFFF;
    padding: 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.by-demo-form-header h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    color: #20201D;
    font-weight: 700;
    margin: 0 0 6px;
}

.by-demo-form-header p {
    font-size: 0.86rem;
    color: #66655F;
    margin: 0 0 18px;
}

.by-demo-alert {
    padding: 10px 14px;
    font-size: 0.84rem;
    margin-bottom: 16px;
}

.by-demo-alert.error {
    background: #FDF2E9;
    border: 1px solid rgba(214, 107, 67, 0.4);
    color: #A04020;
}

.by-demo-form-group {
    margin-bottom: 12px;
}

.by-demo-form-group label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: #33322E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.by-demo-form-group input,
.by-demo-form-group select {
    width: 100%;
    padding: 10px 12px;
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.22);
    color: #20201D;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    border-radius: 0 !important;
}

.by-demo-form-group input:focus,
.by-demo-form-group select:focus {
    border-color: #535D3C;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(83, 93, 60, 0.12);
}

.by-demo-form-row {
    display: flex;
    gap: 12px;
}

.by-demo-btn {
    width: 100%;
    margin-top: 8px;
    padding: 13px 20px;
    background: #535D3C;
    color: #FAF8F3;
    border: 1px solid #535D3C;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    border-radius: 0 !important;
}

.by-demo-btn:hover {
    background: #414a2f;
    border-color: #414a2f;
    box-shadow: 0 8px 20px rgba(83, 93, 60, 0.25);
    transform: translateY(-1px);
}

.by-demo-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
}

.by-demo-success-icon {
    width: 60px;
    height: 60px;
    background: rgba(83, 93, 60, 0.12);
    border: 1px solid rgba(83, 93, 60, 0.3);
    color: #535D3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.by-demo-success h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.45rem;
    color: #20201D;
    font-weight: 700;
    margin: 0 0 10px;
}

.by-demo-success p {
    font-size: 0.92rem;
    color: #55544E;
    line-height: 1.6;
    margin: 0 0 22px;
    max-width: 360px;
}

.by-demo-btn-outline {
    background: transparent;
    border: 1px solid rgba(83, 93, 60, 0.35);
    color: #535D3C;
    padding: 9px 20px;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.2s;
}

.by-demo-btn-outline:hover {
    background: rgba(83, 93, 60, 0.08);
}

@media (max-width: 768px) {
    .by-demo-split {
        grid-template-columns: 1fr;
    }

    .by-demo-sidebar {
        display: none;
    }

    .by-demo-main {
        padding: 30px 20px;
    }

    .by-demo-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================================================
   EFECTOS EDITORIALES DE LUZ, BRILLO Y MOVIMIENTO (PREMIUM LIGHT SYSTEM)
   ========================================================================= */

/* 1. Efecto Light Sweep (Barrido de luz diagonal suave) */
.btn-nav-primary,
.ed-btn-primary,
.by-demo-btn,
.by-demo-card,
.by-light-sweep {
    position: relative;
    overflow: hidden;
}

.btn-nav-primary::after,
.ed-btn-primary::after,
.by-demo-btn::after,
.by-light-sweep::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 60%;
    height: 200%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.22) 45%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0.22) 55%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    pointer-events: none;
    animation: byLightSweepAnim 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
}

@keyframes byLightSweepAnim {

    0%,
    65% {
        left: -80%;
        opacity: 0;
    }

    70% {
        opacity: 0.9;
    }

    82% {
        left: 130%;
        opacity: 0.9;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

.by-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D66B43, #535D3C, transparent);
    animation: byTopBorderGlow 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes byTopBorderGlow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(214, 107, 67, 0.8));
    }
}

/* 2. Respiración de Luz Ambiental (Breathing Ambient Glow) */
.btn-nav-primary,
.ed-btn-primary,
.by-demo-btn,
.by-tour-launcher-btn {
    animation: byAmbientGlowAnim 3.8s ease-in-out infinite;
}

@keyframes byAmbientGlowAnim {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(83, 93, 60, 0.2), 0 0 0 0 rgba(83, 93, 60, 0);
    }

    50% {
        box-shadow: 0 6px 20px rgba(83, 93, 60, 0.38), 0 0 16px 2px rgba(214, 107, 67, 0.28);
    }
}

/* 3. Micro-destellos eliminados */

/* =========================================================================
   ASISTENTE GUÍA: TOUR DE 1 MINUTO (BOOKER CONCIERGE)
   ========================================================================= */

/* =========================================================================
   ASISTENTE INTELIGENTE COMERCIAL (BOOKER CONCIERGE IA - GOOGLE GEMINI)
   ========================================================================= */

/* Lanzador Flotante (Elevado para NO montarse con el botón Back to Top) */
.by-ai-launcher,
.by-tour-launcher {
    position: fixed;
    bottom: 86px;
    right: 24px;
    z-index: 99980;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: byAiFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes byAiFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.by-ai-tooltip,
.by-tour-tooltip {
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.28);
    box-shadow: 0 10px 30px rgba(32, 32, 29, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.by-ai-tooltip:hover,
.by-tour-tooltip:hover {
    border-color: #535D3C;
    transform: translateX(-3px);
    box-shadow: 0 12px 35px rgba(32, 32, 29, 0.16);
}

.by-ai-tooltip-badge,
.by-tour-tooltip-badge {
    background: #535D3C;
    color: #FAF8F3;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.by-ai-tooltip-text,
.by-tour-tooltip-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #20201D;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.by-ai-tooltip-close,
.by-tour-tooltip-close {
    background: none;
    border: none;
    color: #888780;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    transition: color 0.2s;
    margin-left: 2px;
}

.by-ai-tooltip-close:hover,
.by-tour-tooltip-close:hover {
    color: #D66B43;
}

.by-ai-launcher-btn,
.by-tour-launcher-btn {
    width: 54px;
    height: 54px;
    background: #535D3C;
    border: 1px solid rgba(83, 93, 60, 0.4);
    color: #FAF8F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    border-radius: 50% !important;
    box-shadow: 0 10px 25px rgba(32, 32, 29, 0.18);
}

.by-ai-launcher-btn:hover,
.by-tour-launcher-btn:hover {
    background: #414a2f;
    transform: scale(1.08);
    box-shadow: 0 14px 30px rgba(32, 32, 29, 0.25);
}

.by-ai-launcher-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    pointer-events: none;
    transition: transform 0.25s ease;
}

.by-ai-launcher-btn:hover .by-ai-launcher-img {
    transform: scale(1.08) rotate(4deg);
}

.by-ai-pulse,
.by-tour-pulse {
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(83, 93, 60, 0.45);
    border-radius: 50%;
    animation: byPulseRingAnim 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
}

@keyframes byPulseRingAnim {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Ventana de Chat Comercial (Booker Concierge IA) */
.by-ai-chat-window {
    position: fixed;
    bottom: 86px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 530px;
    max-height: calc(100vh - 110px);
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.28);
    border-top: 3px solid #535D3C;
    box-shadow: 0 25px 60px rgba(20, 20, 18, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: flex;
    flex-direction: column;
    z-index: 99995;
    animation: byAiCardIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@keyframes byAiCardIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.by-ai-chat-header {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(83, 93, 60, 0.15);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.by-ai-chat-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.by-ai-chat-avatar {
    width: 38px;
    height: 38px;
    background: rgba(83, 93, 60, 0.12);
    border: 1px solid rgba(83, 93, 60, 0.25);
    color: #535D3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
}

.by-ai-online-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.by-ai-chat-title {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #20201D;
    margin: 0;
    line-height: 1.2;
}

.by-ai-chat-sub {
    font-size: 0.72rem;
    color: #77766F;
    margin: 0;
}

.by-ai-chat-close {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: #888780;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.by-ai-chat-close:hover {
    color: #D66B43;
}

.by-ai-chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FAF8F3;
}

.by-ai-msg-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    align-self: flex-start;
    max-width: 100%;
    width: 100%;
}

.by-ai-msg-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #FAF8F3;
    display: block;
    flex-shrink: 0;
}

.by-ai-msg {
    font-size: 0.88rem;
    line-height: 1.55;
    padding: 12px 14px;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.by-ai-msg-assistant {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.18);
    color: #20201D;
    box-shadow: 0 4px 12px rgba(32, 32, 29, 0.04);
}

.by-ai-msg-user {
    align-self: flex-end;
    max-width: 88%;
    background: #535D3C;
    color: #FAF8F3;
    border: 1px solid #535D3C;
}

.by-ai-quick-questions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.by-ai-chip {
    background: rgba(83, 93, 60, 0.08);
    border: 1px solid rgba(83, 93, 60, 0.2);
    color: #535D3C;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 11px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.by-ai-chip:hover {
    background: rgba(83, 93, 60, 0.16);
    border-color: #535D3C;
    transform: translateX(2px);
}

.by-ai-typing {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.15);
}

.by-ai-typing span {
    width: 6px;
    height: 6px;
    background: #535D3C;
    border-radius: 50%;
    animation: byTypingDotAnim 1.4s infinite ease-in-out both;
}

.by-ai-typing span:nth-child(1) {
    animation-delay: -0.32s;
}

.by-ai-typing span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes byTypingDotAnim {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.by-ai-chat-footer {
    background: #FFFFFF;
    border-top: 1px solid rgba(83, 93, 60, 0.15);
    padding: 12px 14px;
}

.by-ai-input-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.by-ai-input {
    flex: 1;
    height: 42px;
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.22);
    padding: 0 12px;
    font-size: 0.88rem;
    color: #20201D;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.by-ai-input:focus {
    border-color: #535D3C;
}

.by-ai-send-btn {
    width: 42px;
    height: 42px;
    background: #535D3C;
    border: 1px solid #535D3C;
    color: #FAF8F3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.by-ai-send-btn:hover {
    background: #414a2f;
}

.by-ai-demo-cta {
    margin-top: 8px;
    text-align: center;
    font-size: 0.74rem;
    color: #77766F;
}

.by-ai-demo-cta a {
    color: #D66B43;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 768px) {

    .by-ai-launcher,
    .by-tour-launcher {
        bottom: 82px !important;
        right: 16px !important;
    }

    .by-ai-tooltip,
    .by-tour-tooltip {
        display: none !important;
    }

    .by-ai-chat-window {
        bottom: 14px !important;
        right: 14px !important;
        left: 14px !important;
        width: auto !important;
        max-width: none !important;
        height: 480px !important;
    }
}

/* =========================================================================
   PACK COMPLETO PRÉMIUM: EFECTOS VISUALES ULTRA-VISIBLES & BLINDAJE DE CINTAS
   - Fondos Vivos con Malla de Luz Ambiental en Movimiento (Hero y Secciones)
   - Titular con Reflejo Metálico Luminoso Activo (Text Shimmer Oro/Terracota)
   - Levitación Flotante Suave y Halos de Luz en Foto Hero y Mockups
   - Blindaje Geométrico 150% de Cintas Cruzadas con Destello Deslizante
   - Border Beam Neón y Sombras Reactivas en Tarjetas de Módulos y Tarifas
   ========================================================================= */

/* 1. FONDOS VIVOS CON MALLA DE LUZ AMBIENTAL EN MOVIMIENTO (HERO) */
.editorial-landing-body .ed-hero-section {
    position: relative !important;
    background:
        radial-gradient(ellipse 750px 520px at 15% 35%, rgba(83, 93, 60, 0.24) 0%, rgba(83, 93, 60, 0.08) 50%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 85% 30%, rgba(214, 107, 67, 0.24) 0%, rgba(214, 107, 67, 0.08) 50%, transparent 70%),
        radial-gradient(circle 550px at 50% 85%, rgba(212, 175, 55, 0.18) 0%, transparent 65%),
        #FAF8F3 !important;
    background-size: 130% 130% !important;
    animation: byHeroAmbientBreathe 12s ease-in-out infinite alternate !important;
}

@keyframes byHeroAmbientBreathe {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 100%;
    }
}

/* 2. TITULARES Y DESTACADOS CON REFLEJO METÁLICO LUMINOSO EN TODAS LAS SECCIONES (PÁGINA PRINCIPAL, MÓDULOS Y SECTORES) */
.editorial-landing-body .ed-hero-title em,
.editorial-landing-body .ed-section-title h2 em,
.editorial-landing-body .ed-section-title h3 em,
.editorial-landing-body .ed-cta-title em,
.editorial-landing-body h1.ed-serif em,
.editorial-landing-body h2.ed-serif em,
.editorial-landing-body h3.ed-serif em,
.editorial-landing-body .heading-hero em,
.editorial-landing-body .heading-section em,
.heading-hero em,
.heading-section em,
.editorial-landing-body .page-hero-title em,
.editorial-landing-body .ed-benefit-text h4 em,
.editorial-landing-body .ed-sector-card h4 em,
.editorial-landing-body .by-demo-headline em,
.by-shimmer-highlight {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
    font-weight: 500 !important;
    font-style: italic !important;
    background: linear-gradient(105deg,
            #535D3C 0%,
            #829160 20%,
            #D66B43 40%,
            #FFFFFF 50%,
            #F6A87A 60%,
            #535D3C 85%) !important;
    background-size: 250% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: byHeroTitleShimmer 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    display: inline-block !important;
    filter: drop-shadow(0 2px 10px rgba(214, 107, 67, 0.25)) !important;
}

@keyframes byHeroTitleShimmer {
    0% {
        background-position: 250% 0;
    }

    100% {
        background-position: -150% 0;
    }
}

/* 3. FOTO HERO Y TARJETA FLOTANTE CON LEVITACIÓN 3D Y HALOS CÁLIDOS */
.editorial-landing-body .ed-hero-photo-frame {
    box-shadow: 0 25px 65px rgba(32, 32, 29, 0.18), 0 0 40px rgba(214, 107, 67, 0.18) !important;
    animation: byHeroPhotoFloat 6s ease-in-out infinite alternate !important;
    will-change: transform, box-shadow;
}

@keyframes byHeroPhotoFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.editorial-landing-body .ed-floating-card {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 25px rgba(83, 93, 60, 0.20) !important;
    animation: byFloatingCardGlow 4s ease-in-out infinite alternate !important;
}

@keyframes byFloatingCardGlow {
    0% {
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 15px rgba(83, 93, 60, 0.15);
    }

    100% {
        box-shadow: 0 24px 55px rgba(0, 0, 0, 0.20), 0 0 30px rgba(214, 107, 67, 0.25);
    }
}

/* 4. CINTAS APILADAS PARALELAS JUNTAS CON EFECTO DE LUZ RADIANTE (UNA ENCIMA DE OTRA) */
.ed-ribbon-ticker-section {
    position: relative !important;
    padding: 30px 0 !important;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    min-height: 140px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ed-ribbon-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: rotate(-1.5deg) !important;
    /* Inclinación arquitectónica paralela sutil y elegante */
    width: 110% !important;
    margin: 0 -5% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;
    /* Pegadas, una encima de la otra */
    box-shadow: 0 4px 20px rgba(32, 32, 29, 0.04) !important;
    /* Sombra ultra suave, limpia y difuminada */
}

.ed-ribbon-strip {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    transform-origin: center center !important;
    display: flex !important;
    white-space: nowrap !important;
    padding: 16px 0 !important;
    /* Cintas anchas, contundentes y legibles */
    font-size: 1rem !important;
    /* Tipografía rotunda y muy legible */
    font-weight: 800 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    overflow: hidden !important;
    user-select: none !important;
}

/* Cinta 1: Verde Oliva Profundo (Banda Superior) con Ola de Luz Continua */
.ed-ribbon-strip-1 {
    background: linear-gradient(105deg,
            #4E5837 0%,
            #535D3C 28%,
            #788A58 42%,
            #FFFFFF 50%,
            #788A58 58%,
            #535D3C 72%,
            #4E5837 100%) !important;
    background-size: 240% 100% !important;
    color: #FAF8F3 !important;
    z-index: 1 !important;
    box-shadow: none !important;
    animation: byRibbonSheenGlow1 3.6s ease-in-out infinite !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Cinta 2: Terracota Vibrante (Banda Inferior Pegada) con Ola de Luz Continua */
.ed-ribbon-strip-2 {
    background: linear-gradient(105deg,
            #C85F37 0%,
            #D66B43 28%,
            #F4926C 42%,
            #FFFFFF 50%,
            #F4926C 58%,
            #D66B43 72%,
            #C85F37 100%) !important;
    background-size: 240% 100% !important;
    color: #FFFFFF !important;
    z-index: 2 !important;
    box-shadow: 0 3px 12px rgba(32, 32, 29, 0.05) !important;
    /* Sutilísimo relieve, sin mancha oscura */
    animation: byRibbonSheenGlow2 3.6s ease-in-out infinite !important;
    animation-delay: 1.8s !important;
}

@keyframes byRibbonSheenGlow1 {
    0% {
        background-position: 240% 0;
    }

    100% {
        background-position: -40% 0;
    }
}

@keyframes byRibbonSheenGlow2 {
    0% {
        background-position: 240% 0;
    }

    100% {
        background-position: -40% 0;
    }
}

.ed-ribbon-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 18px !important;
}

.ed-ribbon-item i {
    font-size: 1.35rem !important;
    opacity: 0.95 !important;
}

.ed-ribbon-dot {
    width: 8px !important;
    height: 8px !important;
    background: currentColor !important;
    opacity: 0.8 !important;
    display: inline-block !important;
}

/* HAZ DE LUZ CRISTALINO SUPERPUESTO (Light Sweep de Alto Brillo) */
.ed-ribbon-strip::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -25% !important;
    width: 380px !important;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 25%,
            rgba(255, 255, 255, 0.98) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 100%) !important;
    transform: skewX(-25deg) !important;
    mix-blend-mode: overlay !important;
    animation: byRibbonSheenAnim 3.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.ed-ribbon-strip-2::after {
    animation-delay: 1.8s !important;
}

@keyframes byRibbonSheenAnim {
    0% {
        left: -25%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: 115%;
        opacity: 0;
    }
}

/* 5. BORDER BEAM Y RESPLANDOR PERIMÉTRICO EN TARJETAS */
.editorial-landing-body .pricing-card,
.editorial-landing-body .ed-sector-card,
.editorial-landing-body .ed-module-card {
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.editorial-landing-body .pricing-card::after,
.editorial-landing-body .ed-sector-card::after,
.editorial-landing-body .ed-module-card::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 70% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #535D3C, #FFFFFF, #D66B43, transparent) !important;
    animation: byBorderBeamTop 5s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.editorial-landing-body .pricing-card.popular::after {
    height: 4px !important;
    background: linear-gradient(90deg, transparent, #D66B43, #FFFFFF, #535D3C, #FFFFFF, #D66B43, transparent) !important;
    animation: byBorderBeamTop 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

@keyframes byBorderBeamTop {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.editorial-landing-body .pricing-card:hover,
.editorial-landing-body .ed-sector-card:hover,
.editorial-landing-body .ed-module-card:hover {
    box-shadow: 0 24px 55px rgba(83, 93, 60, 0.22), 0 0 35px rgba(214, 107, 67, 0.20) !important;
    transform: translateY(-4px) !important;
}

/* 6. LEVITACIÓN EN MOCKUPS DE SECCIONES (PLANO INTERACTIVO, TABLETAS, ETC.) */
.ed-mockup-frame,
.screenshot-frame,
.hero-preview,
.ed-plan-demo,
.ed-interactive-plan {
    animation: byDeviceFloatAnim 6s ease-in-out infinite alternate !important;
    will-change: transform, box-shadow;
}

@keyframes byDeviceFloatAnim {
    0% {
        transform: translateY(0px);
        box-shadow: 0 16px 36px rgba(32, 32, 29, 0.12), 0 0 15px rgba(83, 93, 60, 0.08);
    }

    50% {
        transform: translateY(-12px);
        box-shadow: 0 32px 65px rgba(32, 32, 29, 0.20), 0 0 35px rgba(83, 93, 60, 0.22);
    }

    100% {
        transform: translateY(0px);
        box-shadow: 0 16px 36px rgba(32, 32, 29, 0.12), 0 0 15px rgba(83, 93, 60, 0.08);
    }
}

/* 7. ORBES AURORA DE FONDO GLOBALES CON ALTO CONTRASTE VISIBLE */
.by-aurora-bg {
    position: fixed !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    overflow: hidden !important;
    opacity: 0.95 !important;
}

.by-aurora-orb {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(65px) !important;
    will-change: transform, opacity !important;
}

.by-aurora-orb-1 {
    width: 650px !important;
    height: 650px !important;
    top: -100px !important;
    left: -100px !important;
    background: radial-gradient(circle, rgba(83, 93, 60, 0.38) 0%, rgba(83, 93, 60, 0.16) 55%, transparent 75%) !important;
    animation: byAuroraAnim1 14s ease-in-out infinite alternate !important;
}

.by-aurora-orb-2 {
    width: 700px !important;
    height: 700px !important;
    top: 35% !important;
    right: -150px !important;
    background: radial-gradient(circle, rgba(214, 107, 67, 0.35) 0%, rgba(214, 107, 67, 0.14) 55%, transparent 75%) !important;
    animation: byAuroraAnim2 18s ease-in-out infinite alternate !important;
}

.by-aurora-orb-3 {
    width: 600px !important;
    height: 600px !important;
    bottom: -100px !important;
    left: 20% !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.32) 0%, rgba(83, 93, 60, 0.12) 60%, transparent 75%) !important;
    animation: byAuroraAnim3 22s ease-in-out infinite alternate !important;
}

/* 8. POSICIONAMIENTO DEL LANZADOR BUKI IA */
#byAiLauncher {
    position: fixed !important;
    bottom: 90px !important;
    right: 24px !important;
    z-index: 99999 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   9. MEGA MENÚ EDITORIAL PRÉMIUM (BOOKER YOU STYLE - 2 COLUMNAS SHOWCASE)
   -------------------------------------------------------------------------- */
.site-nav {
    overflow: visible !important;
}

.nav-menu {
    overflow: visible !important;
}

.nav-item.has-megamenu {
    position: relative !important;
}

.site-nav .chevron {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.nav-item.has-megamenu:hover .chevron,
.nav-item.has-megamenu.active-menu .chevron {
    transform: rotate(180deg);
    color: #D66B43 !important;
}

.by-megamenu {
    position: absolute;
    top: calc(100% + 14px);
    width: 880px;
    max-width: calc(100vw - 48px);
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.16);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(32, 32, 29, 0.16), 0 4px 16px rgba(83, 93, 60, 0.06);
    padding: 18px;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

/* Hover Bridge para evitar que el cursor pierda el foco al bajar desde el link */
.by-megamenu::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.nav-item.has-megamenu:hover .by-megamenu,
.nav-item.has-megamenu.active-menu .by-megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Posicionamiento horizontal de los Mega Menús */
.nav-item-modulos .by-megamenu {
    left: -80px;
}

.nav-item-sectores .by-megamenu {
    left: -180px;
}

@media (max-width: 1280px) {
    .nav-item-modulos .by-megamenu {
        left: -140px;
        width: 820px;
    }

    .nav-item-sectores .by-megamenu {
        left: -260px;
        width: 820px;
    }
}

/* Contenedor Grid 2 Columnas */
.by-megamenu-container {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 18px;
    align-items: stretch;
}

/* Columna Izquierda: Listado */
.by-megamenu-col-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.by-megamenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 10px 8px;
    border-bottom: 1px solid rgba(83, 93, 60, 0.1);
    margin-bottom: 8px;
}

.by-megamenu-category {
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7A7A73;
}

.by-megamenu-all-link {
    font-size: 0.77rem;
    font-weight: 700;
    color: #D66B43;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.18s ease;
}

.by-megamenu-all-link:hover {
    color: #B8532D;
    text-decoration: underline;
}

.by-megamenu-items-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.by-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.by-mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(83, 93, 60, 0.08);
    border: 1px solid rgba(83, 93, 60, 0.12);
    color: #535D3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.by-mega-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.by-mega-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #20201D;
    line-height: 1.25;
    margin-bottom: 2px;
    transition: color 0.18s ease;
}

.by-mega-desc {
    font-size: 0.74rem;
    color: #6A6962;
    font-weight: 450;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.by-mega-arrow {
    color: transparent;
    font-size: 0.76rem;
    margin-left: auto;
    flex-shrink: 0;
    transform: translateX(-4px);
    transition: all 0.18s ease;
}

/* Estados Activo y Hover */
.by-mega-item:hover,
.by-mega-item.active {
    background: #FAF8F2;
    border-color: rgba(214, 107, 67, 0.38);
    box-shadow: 0 4px 12px rgba(214, 107, 67, 0.08);
}

.by-mega-item:hover .by-mega-icon,
.by-mega-item.active .by-mega-icon {
    background: linear-gradient(135deg, #D66B43 0%, #C25B34 100%);
    border-color: #D66B43;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(214, 107, 67, 0.32);
}

.by-mega-item:hover .by-mega-title,
.by-mega-item.active .by-mega-title {
    color: #D66B43;
}

.by-mega-item:hover .by-mega-arrow,
.by-mega-item.active .by-mega-arrow {
    color: #D66B43;
    transform: translateX(0);
}

/* Footer del Mega Menú con Botones Pills Prémium */
.by-megamenu-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(83, 93, 60, 0.12);
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.by-megamenu-footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.by-megamenu-footer-title {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8C8B82;
    display: flex;
    align-items: center;
    gap: 6px;
}

.by-megamenu-footer-title i {
    color: #535D3C;
    font-size: 0.72rem;
}

.by-megamenu-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.by-footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.18);
    border-radius: 8px;
    color: #3B3C36 !important;
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(32, 32, 29, 0.03);
    cursor: pointer;
}

.by-footer-pill i {
    font-size: 0.76rem;
    color: #535D3C;
    transition: all 0.2s ease;
}

.by-footer-pill:hover,
.by-footer-pill.active {
    background: #535D3C;
    border-color: #535D3C;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(83, 93, 60, 0.25);
}

.by-footer-pill:hover i,
.by-footer-pill.active i {
    color: #FFFFFF;
    transform: scale(1.1);
}

/* En Sectores: Banner de consulta a medida */
.by-sector-custom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.16);
    border-radius: 10px;
    padding: 8px 12px;
    gap: 12px;
}

.by-sector-custom-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.by-sector-custom-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(214, 107, 67, 0.1);
    border: 1px solid rgba(214, 107, 67, 0.2);
    color: #D66B43;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.by-sector-custom-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.by-sector-custom-text strong {
    font-size: 0.75rem;
    color: #20201D;
    font-weight: 700;
}

.by-sector-custom-text span {
    font-size: 0.69rem;
    color: #6A6962;
}

.by-sector-custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #535D3C;
    color: #FFFFFF !important;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(83, 93, 60, 0.2);
    flex-shrink: 0;
}

.by-sector-custom-btn:hover {
    background: #D66B43;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(214, 107, 67, 0.3);
}

/* Columna Derecha: Tarjeta Showcase */
.by-megamenu-col-showcase {
    display: flex;
    flex-direction: column;
}

.by-mega-showcase {
    background: #F6F3EB;
    border: 1px solid rgba(83, 93, 60, 0.14);
    border-radius: 16px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.by-showcase-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9.2;
    background: #20201D;
    border: 1px solid rgba(83, 93, 60, 0.12);
    box-shadow: 0 4px 14px rgba(32, 32, 29, 0.1);
}

.by-showcase-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(32, 32, 29, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FAF8F3;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

.by-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

.by-showcase-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-end;
    padding-top: 12px;
}

.by-showcase-overline {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D66B43;
    margin-bottom: 4px;
    display: block;
}

.by-showcase-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #20201D;
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.by-showcase-desc {
    font-size: 0.79rem;
    color: #63625B;
    line-height: 1.42;
    margin: 0 0 12px 0;
    min-height: 44px;
}

.by-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.by-showcase-tag {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.16);
    color: #3B3C36;
    font-size: 0.69rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(32, 32, 29, 0.04);
}

.by-showcase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #D66B43 0%, #C25B34 100%);
    color: #FFFFFF !important;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(214, 107, 67, 0.32);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.by-showcase-btn:hover {
    background: linear-gradient(135deg, #BF5B34 0%, #A94E2B 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(214, 107, 67, 0.42);
    color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   10. CALCULADORA INTERACTIVA DE AHORRO VS COMISIONES (CRO CONVERSIÓN)
   -------------------------------------------------------------------------- */
.by-calc-wrapper {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 36px;
}

.by-calc-inputs {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.18);
    border-radius: 20px;
    padding: 38px 34px;
    box-shadow: 0 16px 45px rgba(32, 32, 29, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.by-calc-field {
    margin-bottom: 28px;
}

.by-calc-field-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.by-calc-field-head label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #20201D;
    margin: 0;
}

.by-calc-badge-val {
    background: #FAF8F3;
    border: 1px solid rgba(83, 93, 60, 0.25);
    color: #535D3C;
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(83, 93, 60, 0.08);
}

/* Custom Range Slider */
.by-calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #E5E1D5;
    outline: none;
    transition: background 0.2s;
    cursor: pointer;
}

.by-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #535D3C;
    border: 3px solid #FAF8F3;
    box-shadow: 0 4px 12px rgba(83, 93, 60, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.by-calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #D66B43;
}

.by-calc-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #535D3C;
    border: 3px solid #FAF8F3;
    box-shadow: 0 4px 12px rgba(83, 93, 60, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.by-calc-range-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.72rem;
    color: #8C8B82;
    font-weight: 600;
}

.by-calc-plan-note {
    background: rgba(83, 93, 60, 0.06);
    border: 1px solid rgba(83, 93, 60, 0.16);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #4A4A45;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.by-calc-plan-selector-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.by-calc-plan-selector-row label {
    font-weight: 700;
    color: #20201D;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.by-calc-plan-pills {
    display: flex;
    gap: 6px;
    background: #EAE6DB;
    padding: 3px;
    border-radius: 8px;
}

.by-calc-plan-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: #55544E;
    cursor: pointer;
    transition: all 0.2s ease;
}

.by-calc-plan-btn:hover {
    color: #20201D;
}

.by-calc-plan-btn.active {
    background: #535D3C;
    color: #FAF8F3;
    box-shadow: 0 2px 6px rgba(83, 93, 60, 0.25);
}

.by-calc-plan-detail {
    font-size: 0.80rem;
    color: #63625B;
    line-height: 1.45;
}

/* Columna de Resultados */
.by-calc-results {
    background: #FAF8F3;
    border: 2px solid #535D3C;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 50px rgba(83, 93, 60, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.by-calc-results-badge {
    display: inline-block;
    align-self: flex-start;
    background: #535D3C;
    color: #FAF8F3;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.by-calc-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: #63625B;
}

.by-cost-bad {
    color: #b91c1c;
    font-weight: 700;
    text-decoration: line-through;
    font-size: 1.05rem;
}

.by-cost-good {
    color: #535D3C;
    font-weight: 800;
    font-size: 1.15rem;
}

.by-calc-divider {
    height: 1px;
    background: rgba(83, 93, 60, 0.16);
    margin: 18px 0;
}

.by-calc-highlight {
    background: #FFFFFF;
    border: 1px solid rgba(83, 93, 60, 0.2);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(32, 32, 29, 0.04);
}

.by-calc-save-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8C8B82;
    display: block;
    margin-bottom: 4px;
}

.by-calc-save-amount {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #D66B43;
    line-height: 1.1;
    margin-bottom: 4px;
}

.by-calc-save-amount span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #63625B;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.by-calc-save-year {
    font-size: 0.88rem;
    font-weight: 700;
    color: #535D3C;
    background: rgba(83, 93, 60, 0.09);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    margin-top: 4px;
}

.by-calc-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #D66B43 0%, #C25B34 100%);
    color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 800;
    padding: 15px 24px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(214, 107, 67, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.by-calc-cta-btn:hover {
    background: linear-gradient(135deg, #BF5B34 0%, #A94E2B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 107, 67, 0.45);
    color: #FFFFFF !important;
}

.by-calc-guarantee-micro {
    display: block;
    text-align: center;
    font-size: 0.74rem;
    color: #77766F;
    margin-top: 10px;
    font-weight: 600;
}

@media (max-width: 992px) {
    .by-calc-wrapper {
        grid-template-columns: 1fr;
    }
}