@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
    --bg: #f7f5ef;
    --bg-soft: #efece2;
    --surface: #ffffff;
    --surface-2: #f2efe6;
    --border: rgba(176, 138, 38, .32);
    --border-soft: rgba(30, 26, 18, .10);
    --gold: #c39a3d;
    --gold-light: #9a7615;
    --gold-ink: #8a6a12;
    --gold-dark: #7a5e10;
    --text: #1e1c16;
    --muted: #6b675c;
    --red: #d92a1f;
    --green: #1f9c52;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 24px 55px -30px rgba(60, 46, 16, .35);
    --maxw: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand {
    font-family: 'Sora', 'Inter', sans-serif;
    letter-spacing: -.02em;
}

a {
    color: var(--gold-ink);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--gold-dark);
}

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

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

/* Dark scope: header, hero, CTA and footer keep the premium dark look */
.topbar, .hero, .cta-band, .footer {
    --text: #f5f3ee;
    --muted: #c7c3b8;
    --surface: #16161b;
    --surface-2: #1e1e25;
    --bg-soft: #101014;
    --border-soft: rgba(255, 255, 255, .10);
    --border: rgba(212, 175, 55, .32);
    --gold-light: #f4dc8c;
    --gold: #d4af37;
    --gold-ink: #f4dc8c;
    color: var(--text);
}

/* ---------- Topbar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 12, .72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    transition: background .3s ease, box-shadow .3s ease;
}

.topbar.scrolled {
    background: rgba(10, 10, 12, .95);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px 12px;
    box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .9);
}

.brand img {
    height: 34px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease;
}

.nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
}

.nav a.active {
    color: var(--gold-light);
}

.nav a.btn {
    color: #1a1508;
}

.nav a.live-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #e5231b, #b31810);
    box-shadow: 0 10px 24px -14px rgba(229, 35, 27, .9);
}

.nav a.live-btn:hover {
    color: #ffffff;
    filter: brightness(1.08);
}

.live-btn .dot {
    width: 7px;
    height: 7px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f4dc8c, #d4af37 55%, #9c7a1e);
    color: #1a1508;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 12px 28px -16px rgba(180, 140, 40, .85);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn:hover {
    color: #1a1508;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 34px -14px rgba(180, 140, 40, .95);
}

.btn.ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-soft);
    box-shadow: none;
}

.btn.ghost:hover {
    color: var(--gold-ink);
    border-color: var(--gold);
    background: rgba(195, 154, 61, .1);
}

.btn.small {
    padding: 9px 16px;
    font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 90px;
    background:
        radial-gradient(1000px 500px at 12% -10%, rgba(212, 175, 55, .18), transparent 60%),
        radial-gradient(800px 420px at 96% 6%, rgba(212, 175, 55, .09), transparent 62%),
        linear-gradient(180deg, #0a0a0c, #121218);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: rgba(212, 175, 55, .12);
    border: 1px solid var(--border);
    color: var(--gold-light);
    margin-bottom: 22px;
}

.pill.live {
    color: #ffd7d4;
    background: rgba(229, 35, 27, .14);
    border-color: rgba(229, 35, 27, .42);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 35, 27, .55); }
    70% { box-shadow: 0 0 0 10px rgba(229, 35, 27, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 35, 27, 0); }
}

.hero h1 {
    font-size: clamp(34px, 5.4vw, 60px);
    line-height: 1.06;
    margin: 0 0 20px;
    font-weight: 800;
}

.hero h1 .gold {
    background: linear-gradient(120deg, #f4dc8c, #d4af37 60%, #b8912f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 620px;
    margin: 0 0 30px;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Countdown ---------- */
.countdown {
    margin-top: 44px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(22, 22, 27, .72);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(10px);
    max-width: 560px;
}

.countdown .label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.countdown .clock {
    display: flex;
    gap: 12px;
}

.countdown .unit {
    flex: 1;
    text-align: center;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 12px 6px;
}

.countdown .num {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.countdown .cap {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
    padding: 82px 0;
}

.section.alt {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.section-head {
    max-width: 680px;
    margin-bottom: 46px;
}

.section-head .eyebrow {
    display: block;
    color: var(--gold-ink);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    margin: 0 0 12px;
    font-weight: 700;
}

.section-head p {
    color: var(--muted);
    margin: 0;
    font-size: 17px;
}

.grid {
    display: grid;
    gap: 22px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 1px 2px rgba(40, 30, 10, .04);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card h2, .card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.card.hoverable:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.card .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(195, 154, 61, .14);
    border: 1px solid var(--border);
    color: var(--gold-ink);
    margin-bottom: 18px;
}

.card .icon svg {
    width: 24px;
    height: 24px;
}

.event-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    margin: 6px 0 14px;
}

.event-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(195, 154, 61, .14);
    border: 1px solid var(--border);
    color: var(--gold-ink);
    font-family: 'Sora', sans-serif;
    line-height: 1.1;
}

.event-date .d {
    font-size: 20px;
    font-weight: 700;
}

.event-date .m {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.event-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform .35s ease, filter .35s ease;
}

.gallery a:hover img {
    transform: scale(1.05);
}

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.stat {
    text-align: center;
    padding: 30px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: 0 1px 2px rgba(40, 30, 10, .04);
}

.stat .value {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--gold-ink);
    line-height: 1;
    margin-bottom: 8px;
}

.stat .label {
    color: var(--muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ---------- Live / iframe ---------- */
.iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: #000;
}

.iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.badge.live {
    color: #b31810;
    background: rgba(217, 42, 31, .12);
    border: 1px solid rgba(217, 42, 31, .35);
}

.badge.prox {
    color: var(--gold-ink);
    background: rgba(195, 154, 61, .14);
    border: 1px solid var(--border);
}

.badge.off {
    color: var(--muted);
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
}

/* ---------- Tables ---------- */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
}

.table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.table tr:hover td {
    background: rgba(0, 0, 0, .02);
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    color: var(--muted);
}

.input, .textarea, .select {
    width: 100%;
    padding: 13px 14px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(195, 154, 61, .18);
}

/* ---------- Notice / alerts ---------- */
.notice, .success, .error {
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 15px;
}

.notice {
    background: rgba(195, 154, 61, .12);
    color: var(--gold-ink);
    border: 1px solid var(--border);
}

.success {
    background: rgba(31, 156, 82, .12);
    color: #12683a;
    border: 1px solid rgba(31, 156, 82, .32);
}

.error {
    background: rgba(217, 42, 31, .10);
    color: #a31810;
    border: 1px solid rgba(217, 42, 31, .32);
}

.muted {
    color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 56px 40px;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(212, 175, 55, .22), transparent 60%),
        linear-gradient(135deg, #1e1e25, #101015);
    border: 1px solid var(--border);
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(24px, 3.4vw, 36px);
    margin: 0 0 12px;
}

.cta-band p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 26px;
}

/* ---------- Footer ---------- */
.footer {
    padding: 56px 0 30px;
    border-top: 1px solid var(--border-soft);
    margin-top: 40px;
    background: #0d0d10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
    margin-bottom: 34px;
}

.footer h4 {
    margin: 0 0 14px;
    font-size: 15px;
    letter-spacing: .02em;
}

.footer img {
    height: 34px;
    width: auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 12px;
    margin-bottom: 14px;
}

.footer a {
    display: block;
    color: var(--muted);
    padding: 4px 0;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 20px;
    color: var(--muted);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Social & stores ---------- */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border-soft);
    color: var(--muted);
}

.social-link:hover {
    background: var(--gold);
    color: #1a1508;
    border-color: transparent;
}

.social-link svg {
    width: 19px;
    height: 19px;
}

.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    padding: 10px 18px;
}

.store-btn:hover {
    color: #fff;
    background: #000;
    border-color: var(--gold);
}

.store-btn svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.store-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-weight: 600;
    font-size: 14px;
}

.store-btn small {
    font-size: 10px;
    font-weight: 400;
    opacity: .72;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ---------- Sedes ---------- */
.sedes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.sede {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    font-weight: 500;
}

.sede-pin {
    color: var(--gold-ink);
    display: inline-flex;
}

.sede-pin svg {
    width: 20px;
    height: 20px;
}

/* ---------- Legal documents ---------- */
.doc-card {
    color: inherit;
}

.doc-card:hover {
    color: inherit;
}

.doc-card h3 {
    margin-bottom: 4px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
    transition: transform .2s ease;
}

.wa-float:hover {
    transform: scale(1.08);
    color: #fff;
}

.wa-float svg {
    width: 30px;
    height: 30px;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .dot {
        animation: none;
    }
}

/* ---------- Admin ---------- */
.admin-wrap {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--bg-soft);
    border-right: 1px solid var(--border-soft);
    padding: 26px 18px;
}

.sidebar h2 {
    font-size: 20px;
    margin: 0 0 22px;
    padding: 0 12px;
    color: var(--gold-ink);
}

.sidebar a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: background .2s ease, color .2s ease;
}

.sidebar a:hover {
    background: var(--surface);
    color: var(--text);
}

.content {
    padding: 34px 30px;
}

.top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.logo-placeholder {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    font-weight: 800;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 22px 20px;
        background: rgba(10, 10, 12, .98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-soft);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .3s ease, opacity .3s ease, padding .3s ease;
    }

    .nav.open {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        color: #c7c3b8;
        padding: 13px 14px;
        border-radius: var(--radius-sm);
    }

    .nav a:hover {
        color: #fff;
    }

    .topbar-inner {
        position: relative;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .admin-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .hero {
        padding: 84px 0 66px;
    }

    .section {
        padding: 60px 0;
    }

    .cta-band {
        padding: 42px 22px;
    }
}

@media (max-width: 520px) {
    .countdown .clock {
        flex-wrap: wrap;
    }

    .countdown .unit {
        flex: 1 1 40%;
    }
}

/* =====================================================================
   DORADAEXPO v2 — rediseño con animaciones (sitio público)
   ===================================================================== */
body.site {
    --bg: #0b0b0e;
    --bg-soft: #101015;
    --surface: #16161b;
    --surface-2: #1e1e25;
    --text: #f5f3ee;
    --muted: #b8b4a8;
    --border-soft: rgba(255, 255, 255, .09);
    --border: rgba(212, 175, 55, .35);
    --gold: #d4af37;
    --gold-light: #f4dc8c;
    --gold-ink: #f4dc8c;
    --gold-dark: #d4af37;
    --red: #e5231b;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .85);
    background: var(--bg);
    animation: pageIn .6s ease both;
}
body.site.leaving { opacity: 0; transition: opacity .25s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

body.site .success { color: #7ee2a8; }
body.site .error { color: #ff9a93; }
body.site .badge.live { color: #ff9a93; }
body.site .table tr:hover td { background: rgba(255, 255, 255, .03); }
body.site .section.alt { background: linear-gradient(180deg, #0f0f13, #0c0c10); }
body.site ::selection { background: var(--gold); color: #1a1508; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 999; background: #0a0a0c;
    display: grid; place-items: center;
    transition: opacity .6s ease, visibility .6s ease;
    animation: plFallback 0s 4s forwards;
}
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes plFallback { to { opacity: 0; visibility: hidden; } }
.preloader .box { text-align: center; }
.preloader img {
    height: 66px; width: auto; background: #fff; padding: 10px 20px; border-radius: 16px;
    animation: plPulse 1.4s ease-in-out infinite;
}
@keyframes plPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, .0); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px 0 rgba(212, 175, 55, .35); }
}
.preloader .bar { width: 190px; height: 3px; background: rgba(255, 255, 255, .1); margin: 24px auto 0; border-radius: 3px; overflow: hidden; }
.preloader .bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, #e5231b, #f4dc8c); animation: plBar 1.1s ease-in-out infinite; }
@keyframes plBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ---------- Barra de progreso y volver arriba ---------- */
.progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 120;
    transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, #e5231b, #f4dc8c);
    box-shadow: 0 0 12px rgba(212, 175, 55, .6);
}
.to-top {
    position: fixed; right: 26px; bottom: 90px; z-index: 59;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
    background: rgba(18, 18, 22, .85); backdrop-filter: blur(8px); color: var(--gold-light);
    display: grid; place-items: center; cursor: pointer;
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, background .2s ease, color .2s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: #1a1508; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Topbar mejorado ---------- */
body.site .topbar { background: rgba(10, 10, 12, .55); }
body.site .topbar-inner { transition: padding .3s ease; }
body.site .topbar.scrolled .topbar-inner { padding: 8px 0; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #e5231b, #f4dc8c); transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.live-btn.is-live { animation: liveGlow 2s ease-in-out infinite; }
@keyframes liveGlow {
    0%, 100% { box-shadow: 0 10px 24px -14px rgba(229, 35, 27, .9); }
    50% { box-shadow: 0 0 26px 2px rgba(229, 35, 27, .65); }
}

/* ---------- Botones ---------- */
.btn { position: relative; overflow: hidden; }
.btn:not(.ghost)::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg); transition: left .7s ease;
}
.btn:not(.ghost):hover::after { left: 140%; }
.btn.red { background: linear-gradient(135deg, #ff4a40, #e5231b 55%, #a8140d); color: #fff; box-shadow: 0 12px 28px -14px rgba(229, 35, 27, .9); }
.btn.red:hover { color: #fff; }
.btn.lg { padding: 16px 28px; font-size: 16px; }

/* ---------- HERO ---------- */
.js .hero .reveal-in { opacity: 0; transform: translateY(30px); }
.js body.loaded .hero .reveal-in { animation: riseIn .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, .2s); }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.hero-home { min-height: min(100vh, 880px); display: flex; align-items: center; padding: 130px 0 110px; }
.hero-bg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center 40%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero-shade {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 8, 10, .94) 0%, rgba(8, 8, 10, .78) 42%, rgba(8, 8, 10, .35) 100%),
        linear-gradient(0deg, #0b0b0e 0%, transparent 28%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-glow { position: absolute; z-index: 1; width: 560px; height: 560px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, rgba(229, 35, 27, .22), transparent 65%); animation: floatGlow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes floatGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 70px) scale(1.2); } }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.hero-grid .hero-inner { max-width: none; }
.hero-home h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.05; }
body.site .section-head h2 { line-height: 1.15; }
.nav a.btn.ghost { color: var(--text); }
.nav a.btn.ghost:hover { color: var(--gold-light); }
.hero h1 .w { display: inline-block; }
.js .hero h1 .w { opacity: 0; transform: translateY(46px) rotateX(-40deg); }
.js body.loaded .hero h1 .w { animation: wordIn .85s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * .08s + .25s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.rotator { display: inline-block; position: relative; vertical-align: bottom; height: 1.12em; overflow: hidden; }
.rotator .gold { display: block; white-space: nowrap; transition: transform .6s cubic-bezier(.7, 0, .2, 1), opacity .6s ease; }
.rotator .gold.out { transform: translateY(-110%); opacity: 0; }
.rotator .gold.in-start { transform: translateY(110%); opacity: 0; transition: none; }
.hero .pill { backdrop-filter: blur(6px); }

.hero-card {
    position: relative; padding: 26px; border-radius: 24px;
    background: linear-gradient(145deg, rgba(30, 30, 37, .78), rgba(14, 14, 18, .72));
    border: 1px solid var(--border); backdrop-filter: blur(16px);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
    animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(244, 220, 140, .9) 85%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: spin 5s linear infinite;
}
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.hero-card .label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-light); margin-bottom: 8px; }
.hero-card h3 { margin: 0 0 4px; font-size: 22px; line-height: 1.2; }
.hero-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.hero-card .clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.hero-card .unit { text-align: center; background: rgba(0, 0, 0, .35); border: 1px solid var(--border-soft); border-radius: 14px; padding: 12px 4px; }
.hero-card .num { display: block; font-family: 'Sora', sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--gold-light); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-card .num.tick { animation: tick .45s ease; }
@keyframes tick { 0% { transform: translateY(-8px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.hero-card .cap { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--gold-light); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Heroes internos (eventos, en vivo, contacto, app) */
.hero:not(.hero-home)::before {
    content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 35, 27, .2), transparent 65%); animation: floatGlow 9s ease-in-out infinite alternate; pointer-events: none;
}
.hero:not(.hero-home) .hero-canvas { opacity: .7; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: linear-gradient(90deg, #b3150e, #e5231b 50%, #b3150e); border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(0, 0, 0, .3); padding: 14px 0; position: relative; z-index: 4; transform: rotate(-.6deg) scale(1.02); margin: -18px 0 0; box-shadow: 0 20px 40px -20px rgba(229, 35, 27, .55); }
.marquee .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.marquee span::after { content: "✦"; color: #f4dc8c; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section-head { position: relative; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.section-head .eyebrow::before { content: ""; width: 0; height: 2px; background: linear-gradient(90deg, #e5231b, #f4dc8c); transition: width .9s .2s ease; }
.section-head.visible .eyebrow::before { width: 38px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }

.reveal { transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.grid > .reveal:nth-child(2) { transition-delay: .12s; }
.grid > .reveal:nth-child(3) { transition-delay: .24s; }
.grid > .reveal:nth-child(4) { transition-delay: .36s; }
.stats > .reveal:nth-child(2) { transition-delay: .1s; }
.stats > .reveal:nth-child(3) { transition-delay: .2s; }
.stats > .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Tarjetas con luz que sigue al mouse ---------- */
body.site .card { position: relative; overflow: hidden; background: linear-gradient(160deg, #18181e, #121216); }
body.site .card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, .14), transparent 60%);
}
body.site .card:hover::before { opacity: 1; }
body.site .card.tilt { transition: transform .15s ease-out, border-color .25s ease, box-shadow .25s ease; will-change: transform; }
body.site .card.hoverable:hover { transform: translateY(-6px); }
body.site .card.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
body.site .card .icon { transition: transform .4s ease, background .3s ease, color .3s ease; }
body.site .card:hover .icon { transform: rotate(-8deg) scale(1.1); background: var(--gold); color: #1a1508; }

/* ---------- Estadísticas ---------- */
body.site .stat { position: relative; overflow: hidden; background: linear-gradient(160deg, #1a1a21, #121216); transition: transform .3s ease, border-color .3s ease; }
body.site .stat:hover { transform: translateY(-5px); border-color: var(--border); }
body.site .stat::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #e5231b, #f4dc8c); transform: scaleX(0); transition: transform .5s ease; }
body.site .stat:hover::after { transform: scaleX(1); }
body.site .stat .value { background: linear-gradient(120deg, #f4dc8c, #d4af37 60%, #b8912f); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* ---------- Pasos (cómo funciona) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, rgba(212, 175, 55, .55) 0 10px, transparent 10px 20px); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s ease; }
.steps.visible::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .n { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; color: #1a1508; background: linear-gradient(135deg, #f4dc8c, #d4af37 60%, #9c7a1e); box-shadow: 0 0 0 8px rgba(212, 175, 55, .12), 0 16px 30px -12px rgba(212, 175, 55, .6); transition: transform .4s ease; }
.step:hover .n { transform: scale(1.12) rotate(-6deg); }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Galería bento + lightbox ---------- */
.gallery.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
.gallery.bento a { position: relative; height: 100%; cursor: zoom-in; }
.gallery.bento a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery.bento img { height: 100%; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.gallery.bento a::after { content: "Ver foto"; position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 55%); opacity: 0; transition: opacity .35s ease; }
.gallery.bento a:hover::after { opacity: 1; }
.gallery.bento a:hover img { transform: scale(1.1); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(5, 5, 7, .94); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 14px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9); transform: scale(.94); transition: transform .35s ease; }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: rgba(20, 20, 24, .8); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.lightbox button:hover { background: var(--gold); color: #1a1508; }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 22px; top: 50%; margin-top: -24px; }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: var(--muted); font-size: 14px; letter-spacing: .1em; }

/* ---------- CTA animado ---------- */
body.site .cta-band::before { content: ""; position: absolute; inset: -60%; z-index: 0; background: conic-gradient(from 0deg, transparent 0 60%, rgba(212, 175, 55, .18) 75%, transparent 90%); animation: spinSlow 14s linear infinite; }
body.site .cta-band::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(500px 260px at 10% 110%, rgba(229, 35, 27, .28), transparent 60%); }
body.site .cta-band > * { position: relative; z-index: 1; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
body.site .footer { position: relative; overflow: hidden; }
body.site .footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #e5231b, #f4dc8c, #e5231b, transparent); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.footer a { transition: color .2s ease, transform .2s ease; }
.footer-grid a:hover { transform: translateX(4px); }
.social-link { transition: transform .25s ease, background .25s ease, color .25s ease; }
.social-link:hover { transform: translateY(-4px) rotate(-6deg); }

/* ---------- WhatsApp con onda ---------- */
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.2s ease-out infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Eventos: tarjeta fecha ---------- */
body.site .event-date { transition: transform .3s ease; }
body.site .card:hover .event-date { transform: scale(1.08) rotate(-3deg); }

/* ---------- Responsive v2 ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero-home { padding: 100px 0 90px; min-height: auto; }
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .steps::before { display: none; }
    .gallery.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .scroll-cue { display: none; }
    .hero-shade { background: linear-gradient(180deg, rgba(8, 8, 10, .85), rgba(8, 8, 10, .9)), linear-gradient(0deg, #0b0b0e 0%, transparent 28%); }
    .to-top { right: 22px; bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-img, .hero-glow, .hero-card, .hero-card::before, .marquee .track, .cta-band::before, .footer::before, .wa-float::after, .scroll-cue span, .preloader img, .preloader .bar i { animation: none !important; }
    .js .hero .reveal-in, .js .hero h1 .w { opacity: 1; transform: none; animation: none !important; }
    body.site { animation: none; }
}

/* Heroes internos alineados a la izquierda con el resto del contenido */
.hero:not(.hero-home) .hero-inner { max-width: var(--maxw); }

/* ---------- Descargas de la app ---------- */
.store-btn svg { color: #fff; }
body.site .store-btn { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
body.site .store-btn:hover { transform: translateY(-4px); }
.platform-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.platform-card .icon.big { width: 76px; height: 76px; border-radius: 22px; }
.platform-card .icon.big svg { width: 38px; height: 38px; }
.platform-card .btn { margin-top: auto; }
.platform-card p { margin-bottom: 22px; }

.app-promo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 50px; border-radius: 28px; border: 1px solid var(--border); background: radial-gradient(600px 300px at 0% 0%, rgba(229, 35, 27, .16), transparent 60%), linear-gradient(160deg, #18181e, #101014); overflow: hidden; }
.app-promo .eyebrow { display: block; color: var(--gold-ink); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.app-promo h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 14px; line-height: 1.15; }
.phone-wrap { display: grid; place-items: center; }
.phone { position: relative; width: 230px; height: 440px; border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #3a3a44, #121216); border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(212, 175, 55, .25); animation: phoneFloat 6s ease-in-out infinite; transform: rotate(4deg); }
@keyframes phoneFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.phone .notch { position: absolute; top: 16px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 12px; background: #000; z-index: 2; }
.phone .screen { height: 100%; border-radius: 28px; background: linear-gradient(180deg, #0c0c10, #17171d); padding: 48px 16px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.phone .screen img { height: 34px; width: auto; align-self: center; background: #fff; border-radius: 10px; padding: 5px 10px; }
.live-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #ffd7d4; background: rgba(229, 35, 27, .2); border: 1px solid rgba(229, 35, 27, .5); padding: 4px 10px; border-radius: 999px; }
.live-chip .dot { width: 7px; height: 7px; background: #e5231b; }
.fake-video { position: relative; height: 130px; border-radius: 14px; background: linear-gradient(135deg, #3a2a10, #1a1208), url('../img/galeria/foto-04.jpg') center/cover; background-blend-mode: multiply; border: 1px solid var(--border-soft); display: grid; place-items: center; overflow: hidden; }
.fake-video::before { content: ""; position: absolute; inset: 0; background: url('../img/galeria/foto-04.jpg') center/cover; opacity: .75; }
.fake-video span { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(229, 35, 27, .92); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(229, 35, 27, .6); animation: pulse 1.8s infinite; }
.fake-video span::after { content: ""; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.fake-lines { display: grid; gap: 9px; }
.fake-lines i { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.fake-lines i:nth-child(1) { width: 90%; }
.fake-lines i:nth-child(2) { width: 70%; }
.fake-lines i:nth-child(3) { width: 80%; }
@media (max-width: 900px) {
    .app-promo { grid-template-columns: 1fr; padding: 34px 22px; }
    .phone { width: 200px; height: 390px; }
}
@media (prefers-reduced-motion: reduce) { .phone, .fake-video span { animation: none !important; } }

/* Acceso discreto al panel (el © del pie de página) */
.footer .footer-bottom a.secret-door { display: inline; padding: 0; color: inherit; cursor: text; }
.footer .footer-bottom a.secret-door:hover { color: inherit; }

/* ---------- Subasta semanal (Eventos) ---------- */
.weekly { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding: 36px; border-radius: 28px; border: 1px solid var(--border); background: radial-gradient(500px 260px at 0% 0%, rgba(229, 35, 27, .2), transparent 60%), linear-gradient(160deg, #1b1b22, #101014); position: relative; overflow: hidden; }
.weekly::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(244, 220, 140, .08) 50%, transparent 60%); transform: translateX(-100%); animation: weeklyShine 5s ease-in-out infinite; pointer-events: none; }
@keyframes weeklyShine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.weekly-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 190px; padding: 24px 22px; border-radius: 24px; background: linear-gradient(135deg, #f4dc8c, #d4af37 55%, #9c7a1e); color: #1a1508; text-align: center; box-shadow: 0 24px 50px -20px rgba(212, 175, 55, .7); }
.weekly-badge .w-day { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.weekly-badge strong { font-family: 'Sora', sans-serif; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; }
.weekly-badge .w-hour { margin-top: 8px; font-size: 18px; font-weight: 800; padding: 5px 14px; border-radius: 999px; background: rgba(26, 21, 8, .12); }
.weekly-body .eyebrow { display: block; color: var(--gold-ink); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.weekly-body h2 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; }
.weekly-body p { margin: 0 0 20px; max-width: 620px; }
@media (max-width: 700px) { .weekly { grid-template-columns: 1fr; padding: 26px 20px; } .weekly-badge { width: 100%; } }
