:root {
    --bg: #080808;
    --panel: #121212;
    --panel-2: #181818;
    --text: #f7f7f4;
    --muted: #aaa9a5;
    --gold: #d9a13a;
    --gold-2: #f4d77a;
    --line: rgba(255,255,255,.1);
    --shadow: 0 24px 70px rgba(0,0,0,.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(255,255,255,.06), transparent 24rem),
        radial-gradient(circle at 85% 40%, rgba(217,161,58,.06), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(8,8,8,.88); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { object-fit: contain; }
.brand-logo-ej { width: min(330px, 54vw); max-height: 48px; filter: brightness(0) invert(1); }
.topbar-badge, .eyebrow {
    letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-size: .78rem;
}
.topbar-badge { color: #0a0a0a; background: linear-gradient(90deg, #b87918, #f1ce72, #bd791a); padding: 8px 12px; transform: rotate(-1.5deg); }
.hero { min-height: 580px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-block: 78px; }
.hero-copy { max-width: 720px; }
.eyebrow { color: var(--gold-2); }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 5.8rem); line-height: .94; margin: 16px 0 24px; letter-spacing: -.055em; }
.hero p { color: #d1d1ce; font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.65; max-width: 680px; }
.hero-note { margin-top: 28px; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 14px; }
.hero-art { min-height: 430px; position: relative; display: grid; place-items: center; overflow: hidden; }
.hero-art span { position: relative; z-index: 2; font-weight: 900; line-height: .82; font-size: clamp(4.5rem, 8vw, 8rem); letter-spacing: -.07em; }
.orb { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); background: linear-gradient(145deg, #2b2b2b, #050505 60%); box-shadow: inset 0 0 40px rgba(255,255,255,.05); }
.orb-a { width: 340px; height: 340px; left: -80px; top: -55px; }
.orb-b { width: 270px; height: 270px; right: -30px; bottom: -20px; border-color: rgba(217,161,58,.35); }
.gold-line { position: absolute; width: 80%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: rotate(-22deg); }
.offers-section { padding: 80px 0 96px; border-top: 1px solid var(--line); }
.section-heading { text-align: center; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 10px 0 0; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; }
.offer-card { background: linear-gradient(180deg, #151515, #0f0f0f); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.offer-media { background: #080808; aspect-ratio: 1/1; overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.offer-card:hover .offer-media img { transform: scale(1.015); }
.offer-body { padding: 28px; }
.offer-brand { color: var(--gold-2); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; }
.offer-body h3 { font-size: 1.8rem; margin: 8px 0 10px; }
.offer-body p { color: var(--muted); line-height: 1.55; min-height: 74px; }
.price-row { display: flex; align-items: end; gap: 10px; padding-top: 16px; }
.price-row strong { font-size: 2.45rem; line-height: 1; }
.price-row span { color: var(--muted); }
.tax-hint { margin: 10px 0 22px; color: #c9c8c4; font-size: .92rem; }
.btn-primary {
    border: 0; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; text-decoration: none;
    background: linear-gradient(90deg, #ba7c1b, #f1d078, #c0821f); color: #0b0b0b; font-weight: 900; text-transform: uppercase;
    letter-spacing: .08em; padding: 15px 20px; min-height: 52px; border-radius: 8px; transition: transform .2s ease, filter .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.trust-strip { border-block: 1px solid var(--line); background: #101010; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 30px; text-align: center; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { display: block; font-size: 1.1rem; }
.trust-grid span { color: var(--muted); font-size: .9rem; }
.brands { padding: 55px 0; display: flex; justify-content: center; align-items: center; gap: 70px; flex-wrap: wrap; }
.brands img { max-width: 360px; max-height: 100px; object-fit: contain; background: rgba(255,255,255,.94); padding: 10px 14px; border-radius: 8px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a { color: #ddd; }

.checkout-page { min-height: 100vh; }
.back-link { text-decoration: none; color: #ddd; }
.checkout-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; padding-block: 52px 80px; align-items: start; }
.summary-card, .form-card { border: 1px solid var(--line); background: rgba(18,18,18,.92); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.summary-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.summary-content { padding: 26px; }
.summary-content h1 { margin: 8px 0 12px; font-size: 2rem; }
.summary-content p, .summary-content small { color: var(--muted); line-height: 1.55; }
.summary-price { margin: 24px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.summary-price span { color: var(--muted); }
.summary-price strong { font-size: 1.8rem; }
.form-card { padding: clamp(24px, 4vw, 42px); }
.form-heading h2 { font-size: 2.2rem; margin: 8px 0; }
.form-heading p { color: var(--muted); margin-bottom: 28px; }
.field-grid { display: grid; gap: 16px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
label { display: grid; gap: 8px; font-size: .91rem; color: #dededb; margin-bottom: 16px; }
input, select {
    width: 100%; min-height: 50px; border: 1px solid rgba(255,255,255,.13); background: #0c0c0c; color: #fff;
    border-radius: 8px; padding: 12px 14px; font: inherit; outline: none;
}
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,161,58,.12); }
.price-box { background: #0b0b0b; border: 1px solid rgba(217,161,58,.3); padding: 18px; border-radius: 10px; margin: 10px 0 18px; }
.price-box > div { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; color: #ccc; }
.price-box .price-total { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: #fff; font-size: 1.13rem; }
.price-total strong { color: var(--gold-2); }
.check-row { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.check-row input { width: 18px; min-height: 18px; margin-top: 2px; }
.check-row a { color: var(--gold-2); }
.btn-wide { width: 100%; }
.secure-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 12px; }
.alert { background: rgba(160,28,28,.22); border: 1px solid rgba(255,80,80,.4); padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.thanks-card { width: min(620px, 100%); text-align: center; background: #111; border: 1px solid var(--line); border-radius: 20px; padding: 50px 34px; box-shadow: var(--shadow); }
.check-icon { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg,#b47b20,#f3cf70); color:#080808; font-size:2.2rem; font-weight:900; }
.thanks-card h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 12px 0; }
.thanks-card p, .thanks-card small { color: var(--muted); line-height: 1.6; display: block; margin-bottom: 24px; }

@media (max-width: 860px) {
    .hero, .checkout-layout { grid-template-columns: 1fr; }
    .hero { padding-block: 58px; gap: 16px; }
    .hero-art { min-height: 280px; }
    .offer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-grid > div:last-child { border-bottom: 0; }
    .summary-card { max-width: 580px; margin-inline: auto; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 24px, 1160px); }
    .topbar-inner { min-height: 66px; }
    .topbar-badge { font-size: .64rem; letter-spacing: .11em; }
    .hero h1 { font-size: 3.1rem; }
    .hero-art span { font-size: 4.7rem; }
    .field-grid.two { grid-template-columns: 1fr; gap: 0; }
    .offer-body { padding: 22px; }
    .footer-inner { flex-direction: column; justify-content: center; padding: 18px 0; }
}

.btn-secondary { display:flex; justify-content:center; align-items:center; min-height:48px; border:1px solid #d7a544; border-radius:8px; margin-top:12px; color:#f0ce82; text-decoration:none; text-transform:uppercase; font-weight:800; letter-spacing:.07em; }
.btn-secondary:hover{background:rgba(215,165,68,.12)}
textarea {width:100%;border:1px solid rgba(255,255,255,.13);background:#0c0c0c;color:#fff;border-radius:8px;padding:12px 14px;font:inherit;resize:vertical}textarea:focus{outline:2px solid #d9a13a}
.honeypot {position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}

/* Indicación explícita de entorno de pruebas. Desaparece en modo live. */
.test-mode-banner { padding: 12px 18px; text-align: center; font-size: 13px; line-height: 1.45; color: #1c1402; background: #f7dea0; border-bottom: 1px solid #cda753; font-weight: 700; }
