/*
 * STYLES.CSS - Experiencia Cinematográfica 2025
 * Tema: Obsidiana + Oro, app futurista y ritual.
 */

/* ---------------------------------- */
/* 1. VARIABLES Y RESET GLOBAL */
/* ---------------------------------- */

:root {
    --color-obsidiana: #0B0A0D;
    --color-terciopelo-borgona: #4A0112;
    --color-dorado-liquido: #F7B500;
    --color-dorado-texto: #E0C07B;
    --color-papiro: #FBF5E5;
    --color-texto-claro: #FBF5E5;
    --color-texto-oscuro: #1C1A1F;
    --color-ink: #0E0D11;
    --color-aurora: #180E23;

    --color-glass-bg: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.1);
    --texture-noise: url("data:image/svg+xml;utf8,<svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.45' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.05'/></svg>");

    --font-mistica: 'Cormorant Garamond', serif;
    --font-moderna: 'Inter', sans-serif;

    --transition-screen: 1s cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:focus-visible {
    outline: 2px solid var(--color-dorado-liquido);
    outline-offset: 3px;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    background-color: var(--color-obsidiana);
    color: var(--color-texto-claro);
    font-family: var(--font-moderna);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------------------------------- */
/* 2. LÓGICA DE PANTALLAS (SPA) */
/* ---------------------------------- */

#oracle-app {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;

    opacity: 0;
    visibility: hidden;
    clip-path: circle(14% at 50% 50%);
    transform: translateY(26px) scale(1.015);
    filter: blur(14px) saturate(0.94);
    pointer-events: none;
    transition: clip-path var(--transition-screen), opacity var(--transition-screen), visibility var(--transition-screen), transform var(--transition-screen), filter var(--transition-screen);

    background-position: center;
    background-size: cover;
}

.screen.active {
    opacity: 1;
    visibility: visible;
    clip-path: circle(130% at 50% 50%);
    transform: translateY(0) scale(1);
    filter: blur(0) saturate(1);
    pointer-events: auto;
}

#screen-comprar-1 {
    padding-top: 7rem;
    align-items: flex-start;
}

#screen-regalar-1 {
    padding-top: 7rem;
    align-items: flex-start;
}

.screen#screen-testimonios {
    padding-top: 6.5rem;
    align-items: flex-start;
}

#screen-comprar-1 .parchment-content {
    margin-top: 0;
}

.screen::-webkit-scrollbar { width: 10px; }
.screen::-webkit-scrollbar-thumb {
    background: rgba(224, 192, 123, 0.35);
    border-radius: 999px;
}
.screen::-webkit-scrollbar-thumb:hover { background: rgba(224, 192, 123, 0.6); }

.theme-dark {
    background-color: var(--color-obsidiana);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(247, 181, 0, 0.16), transparent 32%),
        radial-gradient(circle at 82% 74%, rgba(230, 168, 70, 0.22), transparent 42%),
        radial-gradient(circle at 50% 120%, rgba(114, 78, 26, 0.2), transparent 40%),
        linear-gradient(160deg, rgba(12, 8, 18, 0.97), rgba(15, 10, 18, 0.94)),
        var(--texture-noise);
    color: var(--color-texto-claro);
    background-blend-mode: screen, screen, soft-light, normal, soft-light;
    background-attachment: fixed;
}

/* ---------------------------------- */
/* 3. PANTALLA 0: WELCOME */
/* ---------------------------------- */

#screen-welcome {
    cursor: pointer;
}

.veil-content {
    font-family: var(--font-mistica);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-dorado-texto);
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    letter-spacing: 0.4px;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.veil-text {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.veil-text.animate {
    animation: veilFade 1.1s ease-out forwards;
    animation-delay: var(--veil-delay, 0s);
}
.veil-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes veilFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.enter-light-point {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-dorado-liquido);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px 5px var(--color-dorado-liquido),
                0 0 30px 10px rgba(247, 181, 0, 0.5),
                0 0 60px 20px rgba(247, 181, 0, 0.3);
    animation: pulse 3s infinite ease-in-out;
    transition: all var(--transition-fast);
    opacity: 0;
    animation-delay: 3s;
}
@keyframes pulse {
    0% { transform: translateX(-50%) scale(0.9); }
    70% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-50%) scale(0.9); }
}
.enter-light-point.is-visible { opacity: 1; }
.enter-light-point:hover { transform: translateX(-50%) scale(1.1); }

.enter-prompt {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-moderna);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dorado-texto);
    opacity: 0;
    transition: opacity var(--transition-fast);
    animation: fadeIn 1s ease-out 3.5s forwards;
}
@keyframes fadeIn { to { opacity: 0.7; } }

/* ---------------------------------- */
/* 4. HOME - HERO DORADO */

#screen-home {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
}

.hero-shell {
    position: relative;
    width: 100%;
    height: 100%;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(1.4rem, 2.6vw, 2.6rem) clamp(2.4rem, 4vw, 3.6rem);
    overflow-x: hidden;
    overflow-y: auto;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(1.2rem, 2vw, 1.8rem);
    background: radial-gradient(circle at 20% 18%, rgba(247, 181, 0, 0.24), transparent 36%),
                radial-gradient(circle at 78% 22%, rgba(255, 196, 119, 0.16), transparent 40%),
                radial-gradient(circle at 50% 86%, rgba(120, 82, 32, 0.32), transparent 42%),
                linear-gradient(170deg, #0b0a0d 10%, #100c14 45%, #0b0a0d 80%);
    background-blend-mode: screen, screen, multiply, normal;
}

.hero-shell::after {
    content: '';
    position: absolute;
    inset: -5% 2% 6% 2%;
    background-image:
        linear-gradient(110deg, rgba(224, 192, 123, 0.1) 1px, transparent 1px),
        linear-gradient(250deg, rgba(224, 192, 123, 0.12) 1px, transparent 1px);
    background-size: 240px 240px, 260px 260px;
    opacity: 0.45;
    filter: blur(0.4px);
    z-index: 0;
}

.hero-gradient,
.hero-glow {
    position: absolute;
    inset: -16% -6%;
    z-index: 0;
}
.hero-gradient {
    background: radial-gradient(circle at 48% 32%, rgba(255, 202, 120, 0.32), transparent 40%),
                radial-gradient(circle at 60% 60%, rgba(255, 174, 94, 0.3), transparent 42%),
                radial-gradient(circle at 40% 80%, rgba(247, 181, 0, 0.24), transparent 50%);
    filter: blur(4px) saturate(1.1);
    opacity: 0.9;
}
.hero-glow {
    background: radial-gradient(ellipse at 50% 95%, rgba(255, 202, 120, 0.3), transparent 48%),
                linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    mix-blend-mode: screen;
}

.topbar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.8rem);
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(224, 192, 123, 0.35);
    background: linear-gradient(120deg, rgba(17, 14, 20, 0.78), rgba(17, 14, 20, 0.6));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 32px rgba(247, 181, 0, 0.12);
    backdrop-filter: blur(16px) saturate(1.08);
}

.topbar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(224, 192, 123, 0.4);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    justify-self: end;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    padding: 10px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.topbar-toggle span {
    width: 100%;
    height: 2px;
    background: rgba(255, 247, 225, 0.9);
    border-radius: 999px;
}
.topbar-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(247, 181, 0, 0.9), rgba(123, 88, 31, 0.8));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 28px rgba(247, 181, 0, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand-mark-icon { font-size: 1.2rem; line-height: 1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; letter-spacing: 0.4px; color: var(--color-texto-claro); }
.brand-tag { font-size: 0.76rem; color: rgba(247, 181, 0, 0.92); letter-spacing: 0.6px; text-transform: none; }

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(0.7rem, 1.6vw, 1.4rem);
    flex-wrap: wrap;
}
.nav-anchor {
    all: unset;
    cursor: pointer;
    color: rgba(255, 247, 225, 0.85);
    font-weight: 500;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.nav-anchor:hover {
    color: var(--color-texto-claro);
    background: rgba(224, 192, 123, 0.12);
    transform: translateY(-1px);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}
.top-link {
    all: unset;
    cursor: pointer;
    color: rgba(255, 247, 225, 0.78);
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.top-link:hover {
    color: var(--color-texto-claro);
    background: rgba(255, 255, 255, 0.06);
}
.top-cta {
    all: unset;
    cursor: pointer;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    color: #0c0a0f;
    background: linear-gradient(120deg, #ffd873, #f7b500);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(247, 181, 0, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}
.top-cta:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(247, 181, 0, 0.45);
    filter: saturate(1.05);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    text-align: left;
    padding: clamp(0.4rem, 1.4vw, 1rem) clamp(0.4rem, 1.8vw, 1.2rem) clamp(2.4rem, 4vw, 3.2rem);
    margin-top: clamp(0.4rem, 1.6vw, 1.2rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(0.8rem, 1.6vw, 1.3rem);
    min-height: calc(100vh - 180px);
}
.hero-content > * { position: relative; z-index: 2; }

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.6rem);
}
.hero-copy {
    display: flex;
    flex-direction: column;
    gap: clamp(0.6rem, 1.2vw, 1rem);
    align-items: flex-start;
}
.hero-kicker {
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(224, 192, 123, 0.9);
    font-weight: 700;
    font-size: 0.95rem;
}
.hero-title {
    font-family: var(--font-mistica);
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    color: var(--color-texto-claro);
    text-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5px;
}
.hero-subtitle {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 247, 225, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}
.hero-link {
    all: unset;
    cursor: pointer;
    color: var(--color-dorado-texto);
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(247, 181, 0, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(247, 181, 0, 0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 12px rgba(247, 181, 0, 0.22);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.hero-link:hover {
    transform: translateY(-1px);
    border-color: rgba(247, 181, 0, 0.6);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 16px rgba(247, 181, 0, 0.28);
}

.mockup-wrap {
    position: relative;
    width: min(420px, 44vw);
    pointer-events: none;
    opacity: 0.96;
    transform: none;
    margin: clamp(0.2rem, 1vw, 0.6rem) auto clamp(0.6rem, 1.4vw, 1.2rem);
    filter: drop-shadow(0 22px 44px rgba(0,0,0,0.32));
    mix-blend-mode: screen;
}
.hero-mockup {
    width: 100%;
    display: block;
    border-radius: 12px;
    background: none;
}

.hero-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 2vw, 1.4rem);
    margin-top: clamp(0.6rem, 1vw, 0.8rem);
}

.hero-pill {
    all: unset;
    cursor: pointer;
    border-radius: 14px;
    padding: 1rem 1rem 1rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(224, 192, 123, 0.28);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px) saturate(1.05);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.hero-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(247, 181, 0, 0.15), rgba(255, 255, 255, 0));
    opacity: 0.6;
    pointer-events: none;
}
.hero-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 181, 0, 0.6);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45), 0 0 24px rgba(247, 181, 0, 0.28);
}

.chapters-viewer {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-screen);
    z-index: 20;
}
.chapters-viewer.is-open {
    opacity: 1;
    pointer-events: auto;
}
.chapters-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 4, 6, 0.75);
    backdrop-filter: blur(6px);
}
.chapters-modal {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 90vw);
    width: 100%;
    background: rgba(16, 12, 19, 0.95);
    border: 1px solid rgba(247, 181, 0, 0.4);
    border-radius: 18px;
    padding: clamp(1rem, 2vw, 1.6rem);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 28px rgba(247, 181, 0, 0.18);
}
.chapters-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    all: unset;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    color: rgba(255, 247, 225, 0.9);
    padding: 0.2rem 0.4rem;
}
.chapters-carousel {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}
.chapters-slide-button {
    all: unset;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(247, 181, 0, 0.45);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-dorado-texto);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
.chapters-slide-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.chapters-slides {
    display: flex;
    gap: clamp(0.6rem, 1.6vw, 1.2rem);
    overflow: hidden;
    width: 100%;
}
.chapter-page {
    flex: 0 0 100%;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.chapter-page img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 4, 6, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-screen);
    z-index: 25;
}
.image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 4, 6, 0.65);
}
.image-lightbox-modal {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-lightbox-modal img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.5);
}
.image-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    all: unset;
    cursor: pointer;
    background: rgba(0,0,0,0.55);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.pill-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 30%, rgba(247, 181, 0, 0.95), rgba(123, 88, 31, 0.7));
    color: #0b0a0d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 18px rgba(247, 181, 0, 0.35);
    flex-shrink: 0;
}
.pill-icon svg { width: 24px; height: 24px; }
.pill-label { display: flex; flex-direction: column; gap: 0.2rem; color: var(--color-texto-claro); }
.pill-label strong { font-size: 1rem; }
.pill-label small { color: rgba(255, 247, 225, 0.75); font-size: 0.9rem; line-height: 1.4; }

/* Sellos */
.nav-seal {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    width: clamp(140px, 16vw, 170px);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--color-glass-border);
    border-radius: 50%;
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.nav-seal::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(247, 181, 0, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.nav-seal:hover {
    background: var(--color-dorado-liquido);
    border-color: var(--color-dorado-liquido);
    box-shadow: 0 0 20px 5px rgba(247, 181, 0, 0.5);
    transform: scale(1.05);
}
.nav-seal:hover::after { opacity: 1; }
.seal-icon {
    width: 42px;
    height: 42px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
    transition: all var(--transition-fast);
}
.nav-seal:hover .seal-icon { transform: translateY(-2px) scale(1.05); }
.seal-label {
    font-family: var(--font-moderna);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-texto-claro);
    transition: all var(--transition-fast);
}
.nav-seal:hover .seal-label { color: var(--color-texto-claro); font-weight: 400; }

.portal-card .seal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(224, 192, 123, 0.35);
    background-color: rgba(255, 255, 255, 0.06);
    padding: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

#icon-book { background-image: url("data:image/svg+xml;utf8,<svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0C07B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 4h10a2 2 0 0 1 2 2v13H8a2 2 0 0 0-2-2V4z'/><path d='M8 17h10'/><path d='M8 8h10'/></svg>"); }
#icon-gift { background-image: url("data:image/svg+xml;utf8,<svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0C07B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='8' width='18' height='13' rx='2'/><path d='M3 12h18'/><path d='M12 21V8'/><path d='M12 8c-.5-2-2-4-3.5-4S5.5 5 6 6c.7 1.5 3 2 6 2z'/><path d='M12 8c.5-2 2-4 3.5-4S18.5 5 18 6c-.7 1.5 3 2-6 2z'/></svg>"); }
#icon-key { background-image: url("data:image/svg+xml;utf8,<svg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0C07B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='8' r='4'/><path d='M12 12l7 7'/><path d='M15 12l4 4'/><path d='M17 10l2 2'/></svg>"); }

/* ---------------------------------- */
/* 5. CONTENIDO / FORMULARIOS */
/* ---------------------------------- */

.parchment-content {
    background: linear-gradient(150deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    color: var(--color-texto-claro);
    width: 100%;
    max-width: 820px;
    padding: 3.2rem;
    border-radius: 18px;
    border: 1px solid rgba(224, 192, 123, 0.28);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    text-align: left;
    backdrop-filter: blur(12px);
}
.parchment-content h2 {
    font-family: var(--font-mistica);
    font-weight: 600;
    font-size: 2.3rem;
    color: var(--color-dorado-texto);
    margin-bottom: 1rem;
    text-align: center;
}
.parchment-content p { font-size: 1.05rem; line-height: 1.8; color: rgba(255, 247, 225, 0.9); }

.final-screen { text-align: center; }
.final-screen h2 { font-size: 1.8rem; line-height: 1.6; }

.long-text .parchment-content { max-width: 860px; }
.screen.long-text {
    align-items: flex-start;
    padding-top: 5rem;
}

.nav-button {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-moderna);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 1.05rem 2.8rem;
    border-radius: 999px;
    transition: all var(--transition-fast);
    margin-top: 1.1rem;
    position: relative;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 16px rgba(247, 181, 0, 0.08);
    backdrop-filter: saturate(1.05);
}
.nav-button.primary {
    background: linear-gradient(120deg, #ffd873, #f7b500);
    color: #0c0a0f;
    border: 1px solid rgba(224, 192, 123, 0.55);
    padding-right: 3rem;
}
.nav-button.primary::after {
    content: '↗';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}
.nav-button.primary:hover {
    background: linear-gradient(120deg, #ffe7a3, #f7b500);
    border-color: rgba(224, 192, 123, 0.85);
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 18px 44px rgba(0,0,0,0.35), 0 0 22px rgba(247, 181, 0, 0.35);
}
.nav-button.secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-dorado-texto);
    border: 1px solid rgba(224, 192, 123, 0.6);
    padding-right: 2.6rem;
}
.nav-button.secondary::after {
    content: '›';
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}
.nav-button.secondary:hover {
    background-color: rgba(224, 192, 123, 0.1);
    color: var(--color-texto-claro);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 14px 34px rgba(0,0,0,0.27), 0 0 16px rgba(247, 181, 0, 0.18);
}
.nav-button.tertiary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(224, 192, 123, 0.4);
    color: var(--color-dorado-texto);
    padding-right: 2.4rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.nav-button.tertiary::after {
    content: '';
    display: none;
}
.nav-button.tertiary:hover {
    border-style: solid;
    border-color: rgba(224, 192, 123, 0.65);
    background: rgba(224, 192, 123, 0.08);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 26px rgba(0,0,0,0.22), 0 0 14px rgba(247, 181, 0, 0.16);
}
.nav-button.ghost {
    border-style: dashed;
    padding-right: 1.4rem;
    background: rgba(255,255,255,0.02);
}
.nav-button:active {
    transform: translateY(-1px) scale(0.99);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.double-input {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.8rem;
}

.time-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}
.time-group select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(224, 192, 123, 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    color: var(--color-texto-claro);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.gift-choices {
    border: 1px solid rgba(224, 192, 123, 0.35);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin: 0.6rem 0;
    background: rgba(255, 255, 255, 0.03);
}
.gift-choices legend {
    padding: 0 0.4rem;
    color: var(--color-dorado-texto);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.gift-option {
    display: block;
    margin: 0.35rem 0;
    color: var(--color-texto-claro);
}
.gift-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.4rem;
}
.gift-card {
    position: relative;
    border: 1px solid rgba(224, 192, 123, 0.28);
    border-radius: 14px;
    padding: 0.9rem;
    background: linear-gradient(140deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.gift-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.gift-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
}
.gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(247, 181, 0, 0.7);
    background: linear-gradient(120deg, rgba(247, 181, 0, 0.2), rgba(247, 181, 0, 0.08));
    color: var(--color-texto-claro);
    font-size: 0.8rem;
}
.gift-badge.subtle {
    border-color: rgba(224, 192, 123, 0.45);
    background: linear-gradient(120deg, rgba(224, 192, 123, 0.15), rgba(224, 192, 123, 0.06));
}
.gift-title {
    font-weight: 700;
    color: var(--color-texto-claro);
}
.gift-desc {
    font-size: 0.95rem;
    color: rgba(255, 247, 225, 0.8);
}
.gift-card.locked {
    border-color: rgba(247, 181, 0, 0.6);
    box-shadow: 0 0 18px rgba(247, 181, 0, 0.18);
}
.gift-card.is-selected {
    border-color: rgba(247, 181, 0, 0.7);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 22px rgba(247, 181, 0, 0.28);
}
.gift-card:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 181, 0, 0.6);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 18px rgba(247, 181, 0, 0.22);
}
.gift-card input:checked + .gift-card-body {
    color: var(--color-texto-claro);
}
.gift-helper {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 247, 225, 0.7);
}

.back-button {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 100;
    width: 42px;
    height: 42px;
    padding: 0;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(224, 192, 123, 0.35);
    color: var(--color-texto-claro);
    box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}
.back-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}
.back-button:hover {
    transform: scale(1.08) translateY(-2px);
    background: var(--color-dorado-liquido);
    border-color: var(--color-dorado-liquido);
    color: var(--color-texto-oscuro);
    box-shadow: 0 14px 28px rgba(0,0,0,0.3), 0 0 14px rgba(247, 181, 0, 0.35);
}

/* Inputs y selects */
select,
input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"] {
    font-family: var(--font-moderna);
    font-size: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(224, 192, 123, 0.35);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    color: var(--color-texto-claro);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 10px 22px rgba(0, 0, 0, 0.25);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23E0C07B" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
select::placeholder,
input::placeholder { color: rgba(255, 247, 225, 0.6); }
select:focus,
input:focus {
    border-color: rgba(247, 181, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(247, 181, 0, 0.25), 0 12px 28px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.price-box {
    text-align: center;
    padding: 1.6rem;
    margin: 2rem 0;
    border: 1px solid rgba(224, 192, 123, 0.28);
    border-radius: 14px;
    color: var(--color-texto-claro);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.price-box strong { color: var(--color-dorado-texto); font-size: 1.3rem; }
.price-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}
.discount-deadline {
    font-size: 0.95rem;
    color: rgba(224, 192, 123, 0.9);
    letter-spacing: 0.5px;
}
.price-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    text-align: center;
    margin: 0.6rem 0;
}
.price-original {
    text-decoration: line-through;
    color: rgba(255, 247, 225, 0.6);
}
.price-final {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dorado-texto);
}
.price-note.emphasis {
    color: rgba(224, 192, 123, 0.95);
    font-weight: 600;
}
.price-footnote {
    font-size: 0.82rem;
    color: rgba(224, 192, 123, 0.9);
    margin-top: 0.6rem;
}
.price-footnote a {
    color: rgba(224, 192, 123, 1);
    text-decoration: underline;
}
.bulk-note {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}
.bulk-note p {
    color: rgba(255, 247, 225, 0.85);
    text-align: center;
    font-size: 0.95rem;
}
.currency-toggle {
    display: grid;
    gap: 0.4rem;
    margin: 0.8rem 0;
    text-align: left;
}
.currency-toggle label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.currency-toggle input {
    width: auto;
}
.discount-status {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: rgba(255, 247, 225, 0.8);
}

.progress-ribbon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    justify-content: center;
}
.ribbon-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(224, 192, 123, 0.6);
    background: transparent;
    opacity: 0.4;
    transition: all var(--transition-fast);
}
.ribbon-dot.is-active {
    background: var(--color-terciopelo-borgona);
    border-color: var(--color-terciopelo-borgona);
    box-shadow: 0 0 10px rgba(74, 1, 18, 0.25);
    opacity: 1;
}

.glass-form {
    margin-top: 1rem;
    padding: 1.4rem;
    border: 1px solid rgba(224, 192, 123, 0.25);
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    box-shadow: 0 18px 38px rgba(0,0,0,0.28);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.glass-form > * { position: relative; z-index: 1; }
.glass-form::before {
    content: '';
    position: absolute;
    inset: -40% 20% auto 20%;
    height: 140px;
    background: radial-gradient(circle, rgba(247, 181, 0, 0.08), transparent 60%);
    filter: blur(18px);
    opacity: 0.9;
    pointer-events: none;
}
.glass-form::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
    opacity: 0.6;
    pointer-events: none;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--color-texto-claro);
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(224, 192, 123, 0.16);
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.form-steps { display: grid; gap: 0.8rem; }
.form-step { display: none; }
.form-step.is-active { display: block; }
.stepped-actions { justify-content: space-between; }
.form-hint { font-size: 0.9rem; color: rgba(255, 247, 225, 0.75); margin-top: 0.3rem; }
.form-actions {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.form-status { font-size: 0.95rem; color: var(--color-dorado-texto); }
.hidden { display: none; }
.payment-redirect {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 247, 225, 0.85);
}

.discount-row {
    margin: 1rem 0 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.captcha-row {
    margin: 0.5rem 0 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.captcha-row label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--color-texto-claro);
}
.captcha-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-dorado-liquido);
}

.microcopy {
    font-size: 0.9rem;
    color: rgba(255, 247, 225, 0.8);
    margin-top: 0.5rem;
}

#screen-garantia .parchment-content h2 {
    font-size: 1.7rem;
    line-height: 1.3;
}
#screen-garantia .parchment-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    text-align: left;
    max-width: 860px;
    margin: 0 auto;
}
#screen-garantia .parchment-content > * {
    width: 100%;
}
#screen-garantia .microcopy {
    display: block;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: var(--color-dorado-texto);
    text-align: left;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}
.styled-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    color: var(--color-texto-claro);
}
.styled-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-dorado-texto);
    font-size: 0.8rem;
    top: 0;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}
.gift-card {
    padding: 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(224, 192, 123, 0.25);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}
.gift-card h3 {
    font-size: 1.3rem;
    color: var(--color-dorado-texto);
    margin-bottom: 0.5rem;
    text-align: left;
}
.gift-card.accent {
    background: linear-gradient(135deg, rgba(247, 181, 0, 0.16), rgba(255, 255, 255, 0.02));
    border-color: rgba(247, 181, 0, 0.4);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32), 0 0 16px rgba(247, 181, 0, 0.15);
}

.cta-inline {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Video */
.video-container-wrapper {
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.video-container-wrapper h2 {
    font-family: var(--font-mistica);
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--color-dorado-texto);
    margin-bottom: 1.5rem;
}
.screen#screen-info-video {
    align-items: flex-start;
    padding-top: 6rem;
}
.screen#screen-info-leer-2-no {
    align-items: flex-start;
    padding-top: 6rem;
}
.video-player { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.video-frame {
    width: 100%;
    max-width: 740px;
    min-height: auto;
    /* Ajuste landing 2025-11-28 */
    margin-bottom: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle at 30% 30%, rgba(247, 181, 0, 0.12), rgba(11, 10, 13, 0.7)),
                linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-texto-claro);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.35);
}
.embed-responsive {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.embed-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.video-notes { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(224, 192, 123, 0.5);
    color: var(--color-dorado-texto);
    font-size: 0.88rem;
    background: linear-gradient(120deg, rgba(224, 192, 123, 0.12), rgba(224, 192, 123, 0.05));
    box-shadow: 0 10px 24px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.glass-content {
    background: linear-gradient(150deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid rgba(224, 192, 123, 0.25);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 2rem;
    width: 100%;
    max-width: 620px;
    box-shadow: 0 22px 55px rgba(0,0,0,0.32);
}
.glass-content h2 {
    font-family: var(--font-mistica);
    font-weight: 600;
    font-size: 2.25rem;
    color: var(--color-dorado-texto);
    margin-bottom: 2rem;
}

.path-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
}
.path-navigation.vertical { flex-direction: column; gap: 1.2rem; }
.nav-choice.pill-card {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    padding: 1.2rem 1.4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(224, 192, 123, 0.28);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    box-shadow: 0 16px 46px rgba(0,0,0,0.32), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.nav-choice.pill-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(247, 181, 0, 0.12), rgba(255, 255, 255, 0));
    opacity: 0.75;
    pointer-events: none;
}
.nav-choice.pill-card:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 181, 0, 0.6);
    box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 20px rgba(247, 181, 0, 0.28);
}
.nav-choice .pill-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 30%, rgba(247, 181, 0, 0.95), rgba(123, 88, 31, 0.7));
    color: #0b0a0d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 18px rgba(247, 181, 0, 0.35);
    flex-shrink: 0;
}
.nav-choice .pill-icon svg { width: 22px; height: 22px; }
.nav-choice .pill-label { display: flex; flex-direction: column; gap: 0.25rem; color: var(--color-texto-claro); }
.nav-choice .pill-label strong { font-size: 1rem; }
.nav-choice .pill-label small { font-size: 0.92rem; color: rgba(255, 247, 225, 0.78); line-height: 1.4; }

/* ---------------------------------- */
/* 5. QUIÉN SOY / TESTIMONIOS / GARANTÍA */
/* ---------------------------------- */

.about-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: flex-start;
}

.about-portrait {
    display: flex;
    justify-content: center;
}

.about-photo {
    width: min(340px, 100%);
    border-radius: 16px;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
}

.about-copy {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-text {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.about-actions {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-start;
    gap: 0.6rem;
    padding-top: 0.6rem;
    flex-wrap: wrap;
}
.about-actions .nav-button {
    min-width: 220px;
}

.testimonials-gallery {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-feature {
    margin: 1.5rem auto 2rem;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}
.testimonial-feature h3 {
    font-size: 1.4rem;
    color: var(--color-dorado-texto);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testimonial-feature h4 {
    font-size: 1.15rem;
    color: rgba(255, 247, 225, 0.9);
}
.testimonial-feature p { max-width: 760px; }
.testimonial-feature .feature-link {
    color: var(--color-dorado-texto);
    text-decoration: underline;
}
.featured-video {
    max-width: 480px;
    width: 100%;
}
.shorts-heading {
    color: var(--color-dorado-texto);
    font-size: 1.1rem;
    letter-spacing: 0.6px;
}
.shorts-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.short-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(224, 192, 123, 0.2);
    border-radius: 14px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}
.short-card figcaption {
    color: var(--color-dorado-texto);
    font-weight: 600;
}
.testimonial-note {
    color: rgba(255, 247, 225, 0.85);
    margin: 1rem 0 0.5rem;
    text-align: center;
}
.yt-short {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 10px 28px rgba(0,0,0,0.35);
}
.featured-video .yt-short {
    max-width: 480px;
}
.yt-short iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dh-examples-block {
    margin: 1.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.dh-examples-block h3 {
    color: var(--color-dorado-texto);
    font-size: 1.3rem;
}
.dh-examples-block h4 {
    color: rgba(255, 247, 225, 0.9);
}
.dh-images-grid {
    display: grid;
    gap: 0.9rem;
}
.dh-images-grid.two-cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dh-images-grid.three-cols { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dh-example-card {
    background: rgba(10, 5, 0, 0.85);
    border: 1px solid rgba(224, 192, 123, 0.18);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}
.dh-example-card img.example-image,
.example-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    background: #111;
}
.dh-example-card figcaption {
    color: var(--color-dorado-texto);
    font-weight: 600;
}
.dh-card-copy {
    font-size: 0.95rem;
    color: rgba(255, 247, 225, 0.85);
}
.dh-video-vertical {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    /* Ajuste landing 2025-11-28 */
    margin: 0 auto 1.4rem;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 10px 28px rgba(0,0,0,0.35);
}

.text-center {
    text-align: center;
}

.chapter-viewer-cta {
    display: flex;
    justify-content: center;
    margin: 1.3rem 0 1rem;
}
.chapter-viewer-cta.roomy {
    margin: 1.9rem 0 1.4rem;
}

@media (max-width: 768px) {
    .dh-images-grid.two-cols,
    .dh-images-grid.three-cols {
        grid-template-columns: 1fr;
    }
    .dh-examples-block {
        margin-top: 1.4rem;
    }
    .dh-example-card {
        max-width: 100%;
        margin: 0 auto;
    }
    #screen-garantia .parchment-content h2 {
        font-size: 1.5rem;
    }
}
.dh-video-vertical iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonials-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.testimonial-photo {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(224, 192, 123, 0.2);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.testimonial-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    image-rendering: auto;
    cursor: zoom-in;
}

.testimonial-photo figcaption {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--color-dorado-texto);
    text-align: left;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.testimonials-photo-track {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.testimonials-nav-btn {
    all: unset;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(224, 192, 123, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-dorado-texto);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.testimonials-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.testimonials-gallery.videos h3 {
    color: var(--color-dorado-texto);
    font-size: 1.3rem;
}

.testimonials-videos-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.testimonial-video-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(224, 192, 123, 0.2);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.testimonial-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.testimonial-video-card figcaption {
    font-weight: 600;
    color: var(--color-dorado-texto);
}

.testimonials-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.guarantee-subtitle {
    color: var(--color-dorado-texto);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.guarantee-actions {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0.3rem;
}

.promo-video {
    width: 100%;
    max-width: 720px;
    border-radius: 14px;
    margin-top: 1rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    background: #000;
}

/* ---------------------------------- */
/* 6. RESPONSIVE */
/* ---------------------------------- */

@media (min-width: 1024px) {
    .chapter-page { flex: 0 0 calc(33.333% - 0.8rem); }
    .testimonials-videos-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 1100px) {
    #screen-home { padding: 0; }
    .hero-shell {
        padding: 1.2rem 1.4rem 3rem;
        gap: 1.3rem;
    }
    .topbar {
        grid-template-columns: auto auto;
        align-items: center;
    }
    .topbar-toggle { display: flex; }
    .main-nav, .topbar-actions {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.4rem 0.4rem 0.8rem;
    }
    .main-nav { justify-content: flex-start; }
    .topbar-actions { justify-content: flex-start; flex-wrap: wrap; }
    .hero-shell.menu-open .main-nav,
    .hero-shell.menu-open .topbar-actions {
        display: flex;
    }
    .topbar-actions button { width: 100%; text-align: left; }
    .top-cta { text-align: center; }
    .hero-content { margin-top: 1rem; min-height: unset; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-subtitle { margin: 0 auto; }
    .hero-pills { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .double-input { grid-template-columns: 1fr; }
    .mockup-wrap { transform: none; margin: 0.4rem auto 0.9rem; width: min(360px, 64vw); mix-blend-mode: normal; opacity: 1; }
}

@media (max-width: 768px) {
    .screen { 
        padding: 5.5rem 1rem 3.5rem; 
        align-items: flex-start;
    }
    .veil-content { font-size: 1.3rem; }
    #screen-home { padding: 0; }
    .hero-shell { padding: 1.1rem 1rem 3rem; gap: 1.4rem; min-height: 100vh; }
    .hero-gradient {
        inset: -12% -14% -20% -14%;
        background: radial-gradient(circle at 48% 18%, rgba(255, 202, 120, 0.38), transparent 46%),
                    radial-gradient(circle at 56% 54%, rgba(255, 174, 94, 0.34), transparent 52%),
                    radial-gradient(ellipse at 50% 94%, rgba(247, 181, 0, 0.32), transparent 58%);
        filter: blur(6px) saturate(1.05);
        opacity: 0.96;
    }
    .topbar { gap: 0.6rem; grid-template-columns: auto auto; }
    .main-nav { gap: 0.6rem; }
    .hero-content { margin-top: 1rem; padding: 1.2rem 0.6rem 2.8rem; min-height: unset; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-copy { align-items: center; text-align: center; }
    .hero-subtitle { margin: 0 auto; }
    .hero-title { font-size: 2.4rem; }
    .hero-pills { grid-template-columns: 1fr; }
    .mockup-wrap { transform: translateX(-18px); mix-blend-mode: normal; opacity: 0.95; width: min(320px, 82vw); }

    .parchment-content { padding: 2rem 1.2rem; }
    .parchment-content h2 { font-size: 1.9rem; }
    .parchment-content p { font-size: 1rem; }
    .parchment-content:not(:first-child) { margin-top: 0.6rem; }

    .button-group { flex-direction: column; }
    .nav-button:not(.back-button) { width: 100%; text-align: center; }

    .discount-row,
    .form-actions { flex-direction: column; align-items: flex-start; }
    .glass-form { padding: 1rem; }

    .gift-grid,
    .form-grid { grid-template-columns: 1fr; }

    .video-container-wrapper { padding: 1.2rem; }
    .video-frame { min-height: auto; padding: 0.9rem; gap: 0.6rem; }
    .embed-responsive { max-width: 100%; }
    .screen#screen-info-video { padding-top: 5.2rem; }
    .screen#screen-info-leer-2-no { padding-top: 5.2rem; }

    .back-button { 
        position: fixed;
        top: 1rem; 
        left: 1rem; 
        width: 46px; 
        height: 46px; 
        padding: 0;
        min-width: 46px;
        min-height: 46px;
    }

    #screen-comprar-1 { padding-top: 6.5rem; }
    #screen-regalar-1 { padding-top: 6.5rem; }
    .screen#screen-testimonios { padding-top: 6rem; }
    .about-layout { grid-template-columns: 1fr; }
    .about-copy { max-height: none; }
    .about-text { max-height: none; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .screen {
        transition: none;
        clip-path: none;
        transform: none;
        filter: none;
    }
    .veil-text {
        transition: none;
    }
    .enter-light-point,
    .enter-prompt {
        animation: none;
        transition: none;
        opacity: 1;
    }
}

a[href^="https://wa.me"] {
    color: var(--color-dorado-texto);
    font-weight: 600;
}
a[href^="https://wa.me"]:hover {
    color: #ffd873;
}
