/* ============================================================
   bonoria.pro — hoja de estilos principal
   Paleta: paño de mesa (verde profundo) + bronce + papel
   Tipografía: Bodoni Moda (display) / Archivo + Archivo Narrow
   ============================================================ */

:root {
    --felt:        #0d2a21;
    --felt-deep:   #071a14;
    --felt-soft:   #12362a;
    --brass:       #c89b3c;
    --brass-lite:  #e6c67f;
    --brass-dim:   rgba(200, 155, 60, .30);
    --paper:       #eeefe7;
    --paper-warm:  #e5e7dc;
    --ink:         #14201b;
    --ink-soft:    #4c5a52;
    --carmin:      #9e2a2b;
    --white:       #ffffff;

    --font-display: "Bodoni Moda", "Times New Roman", Georgia, serif;
    --font-body:    "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-util:    "Archivo Narrow", "Archivo", Arial, sans-serif;

    --wrap: 1120px;
    --gap: 24px;
    --radius: 4px;
    --shadow: 0 18px 48px rgba(7, 26, 20, .18);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

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

a { color: #14382c; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--carmin); }

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 99;
    background: var(--brass); color: var(--felt-deep);
    padding: 10px 18px; font-family: var(--font-util); text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Tipografía ---------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--font-util); font-weight: 700; letter-spacing: .02em; }

p { margin: 0 0 1.1em; }

.eyebrow {
    font-family: var(--font-util);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 18px;
    display: block;
}
.eyebrow--ink { color: #7a6320; }

.lede { font-size: clamp(1.05rem, 1.9vw, 1.28rem); line-height: 1.6; color: var(--ink-soft); }

.note { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Filete: divisor ornamental (elemento firma) ---------- */

.filete {
    border: 0;
    height: 14px;
    margin: 44px 0;
    background:
        linear-gradient(var(--brass-dim), var(--brass-dim)) 0 3px / 100% 1px no-repeat,
        linear-gradient(var(--brass-dim), var(--brass-dim)) 0 10px / 100% 1px no-repeat;
    position: relative;
}
.filete::after {
    content: "";
    position: absolute; left: 50%; top: 50%;
    width: 26px; height: 26px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid var(--brass-dim);
    background: var(--paper);
}
.filete--dark::after { background: var(--felt); }

/* ---------- Cinta de edad ---------- */

.agebar {
    background: var(--felt-deep);
    color: var(--brass-lite);
    font-family: var(--font-util);
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 16px;
    border-bottom: 1px solid rgba(200, 155, 60, .22);
}

/* ---------- Cabecera ---------- */

.site-head { background: var(--felt); color: var(--paper); position: relative; z-index: 20; }

.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    max-width: var(--wrap);
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--paper);
    text-decoration: none;
    line-height: 1;
}
.brand:hover { color: var(--brass-lite); }
.brand span { color: var(--brass); }
.brand small {
    font-family: var(--font-util);
    font-size: .62rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(238, 239, 231, .55);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--brass-dim);
    color: var(--paper);
    font-family: var(--font-util);
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 9px 14px;
    border-radius: var(--radius);
    cursor: pointer;
}

.nav-zone { display: flex; align-items: center; gap: 26px; }

.nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    font-family: var(--font-util);
    font-size: .93rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(238, 239, 231, .86);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--brass); }
.nav a.is-current { color: var(--brass-lite); border-bottom-color: var(--brass); }

.lang {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--brass-dim);
    border-radius: 999px;
    overflow: hidden;
    font-family: var(--font-util);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
}
.lang a {
    color: rgba(238, 239, 231, .78);
    text-decoration: none;
    padding: 6px 13px;
}
.lang a:hover { color: var(--white); background: rgba(200, 155, 60, .16); }
.lang a.is-active { background: var(--brass); color: var(--felt-deep); }

/* ---------- Botones ---------- */

.btn {
    display: inline-block;
    font-family: var(--font-util);
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 34px;
    border: 1px solid var(--brass);
    border-radius: var(--radius);
    background: var(--brass);
    color: var(--felt-deep);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { background: var(--brass-lite); border-color: var(--brass-lite); color: var(--felt-deep); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--brass-lite); }
.btn--ghost:hover { background: rgba(200, 155, 60, .14); color: var(--brass-lite); }

.btn--ink { background: var(--felt); border-color: var(--felt); color: var(--paper); }
.btn--ink:hover { background: var(--felt-soft); border-color: var(--felt-soft); color: var(--white); }

.btn--sm { padding: 11px 22px; font-size: .84rem; }

/* ---------- Secciones ---------- */

.band { padding: 84px 0; }
.band--paper { background: var(--paper); }
.band--warm { background: var(--paper-warm); }
.band--felt { background: var(--felt); color: var(--paper); }
.band--felt h2, .band--felt h3 { color: var(--paper); }
.band--felt .lede, .band--felt .note { color: rgba(238, 239, 231, .74); }
.band--felt a { color: var(--brass-lite); }

.band-head { max-width: 720px; margin-bottom: 44px; }

/* ---------- Hero ---------- */

.hero {
    background: var(--felt);
    color: var(--paper);
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(72% 120% at 78% 8%, rgba(200, 155, 60, .20), transparent 62%),
        radial-gradient(50% 80% at 8% 100%, rgba(158, 42, 43, .18), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--carmin) 0 33%, var(--brass) 33% 66%, var(--felt-soft) 66% 100%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.hero h1 { color: var(--paper); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--brass-lite); }
.hero .lede { color: rgba(238, 239, 231, .82); max-width: 40ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-legal {
    margin-top: 30px;
    font-family: var(--font-util);
    font-size: .84rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(238, 239, 231, .6);
}
.hero-legal strong { color: var(--brass-lite); font-weight: 700; }

/* Ficha decorativa del hero (elemento firma) */
.ficha {
    border: 1px solid var(--brass-dim);
    background: linear-gradient(160deg, rgba(200, 155, 60, .10), rgba(7, 26, 20, .55));
    padding: 34px 30px;
    border-radius: 6px;
    box-shadow: inset 0 0 0 6px rgba(238, 239, 231, .03);
}
.ficha dl { margin: 0; }
.ficha dt {
    font-family: var(--font-util);
    font-size: .74rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(238, 239, 231, .55);
}
.ficha dd {
    margin: 4px 0 22px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--brass-lite);
    line-height: 1.2;
}
.ficha dd:last-child { margin-bottom: 0; }

/* Hero compacto para páginas interiores */
.hero--page { padding: 72px 0 76px; }
.hero--page h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.hero--page .lede { max-width: 62ch; }

/* ---------- Migas ---------- */

.crumbs {
    font-family: var(--font-util);
    font-size: .82rem;
    letter-spacing: .08em;
    color: rgba(238, 239, 231, .55);
    margin-bottom: 20px;
}
.crumbs a { color: rgba(238, 239, 231, .78); text-decoration: none; }
.crumbs a:hover { color: var(--brass-lite); }

/* ---------- Boleta: tarjeta de bono (elemento firma) ---------- */

.boletas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.boleta {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(20, 32, 27, .14);
    border-left: 4px solid var(--felt);
    border-radius: var(--radius);
    padding: 34px 32px 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.boleta::before {
    content: "";
    position: absolute;
    left: -4px; top: 0; bottom: 0;
    width: 4px;
    background-image: radial-gradient(circle at 2px 5px, var(--paper) 2.2px, transparent 2.4px);
    background-size: 4px 14px;
}
.boleta--sports { border-left-color: var(--carmin); }

.boleta-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-util);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: var(--felt);
    color: var(--brass-lite);
    padding: 6px 12px;
    border-radius: 2px;
    margin-bottom: 20px;
}
.boleta--sports .boleta-badge { background: var(--carmin); color: #f7e9d9; }

.boleta h3 { margin-bottom: 6px; font-size: 1.55rem; }

.boleta-kind {
    font-family: var(--font-util);
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.boleta-offer {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--felt);
    padding: 18px 0;
    border-top: 1px solid var(--brass-dim);
    border-bottom: 1px solid var(--brass-dim);
    margin-bottom: 20px;
}

.boleta-features { list-style: none; margin: 0 0 22px; padding: 0; }
.boleta-features li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 9px;
    font-size: .97rem;
}
.boleta-features li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    color: var(--brass);
    font-weight: 700;
}

.boleta-terms {
    font-size: .86rem;
    line-height: 1.55;
    color: var(--ink-soft);
    background: var(--paper);
    border-left: 2px solid var(--brass);
    padding: 12px 14px;
    margin: 0 0 24px;
}

.boleta .btn { margin-top: auto; text-align: center; }

.boleta-foot {
    margin: 14px 0 0;
    font-family: var(--font-util);
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: center;
}

.disclaimer {
    margin-top: 30px;
    border: 1px dashed var(--brass);
    background: rgba(200, 155, 60, .09);
    padding: 20px 24px;
    font-size: .95rem;
    line-height: 1.6;
    color: #3c4a41;
}
.disclaimer strong { color: var(--ink); }

/* ---------- Tabla comparativa ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.cmp {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 560px;
}
table.cmp caption {
    caption-side: bottom;
    text-align: left;
    font-size: .86rem;
    color: var(--ink-soft);
    padding-top: 14px;
}
table.cmp th, table.cmp td {
    text-align: left;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(20, 32, 27, .10);
    vertical-align: top;
    font-size: .96rem;
}
table.cmp thead th {
    background: var(--felt);
    color: var(--paper);
    font-family: var(--font-util);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 0;
}
table.cmp tbody th {
    font-family: var(--font-util);
    font-weight: 700;
    color: var(--ink);
    width: 30%;
    background: rgba(200, 155, 60, .07);
}
table.cmp tbody tr:last-child th,
table.cmp tbody tr:last-child td { border-bottom: 0; }

/* ---------- Pasos ---------- */

.steps { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li {
    counter-increment: paso;
    border-top: 1px solid var(--brass-dim);
    padding-top: 18px;
    font-size: .97rem;
}
.steps li::before {
    content: counter(paso, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brass);
    margin-bottom: 8px;
}
.steps strong { display: block; font-family: var(--font-util); letter-spacing: .02em; margin-bottom: 4px; }

/* ---------- Grilla de tarjetas de contenido ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--white);
    border: 1px solid rgba(20, 32, 27, .12);
    border-radius: var(--radius);
    padding: 28px 26px;
}
.card h3 { font-size: 1.25rem; }
.card p:last-child { margin-bottom: 0; }

.band--felt .card {
    background: rgba(238, 239, 231, .05);
    border-color: var(--brass-dim);
    color: rgba(238, 239, 231, .82);
}

/* ---------- Prosa legal / editorial ---------- */

.prose { max-width: 78ch; }
.prose h2 { margin-top: 46px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 30px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table.cmp { margin: 26px 0; }

.updated {
    font-family: var(--font-util);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-left: 2px solid var(--brass);
    padding-left: 12px;
    margin-bottom: 34px;
}

.callout {
    background: var(--white);
    border: 1px solid var(--brass-dim);
    border-left: 4px solid var(--brass);
    padding: 22px 24px;
    margin: 30px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; }
.faq details {
    border-bottom: 1px solid rgba(20, 32, 27, .14);
    padding: 6px 0;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 40px 18px 0;
    position: relative;
    font-family: var(--font-util);
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute; right: 6px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--brass);
    line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 72ch; }

/* ---------- Formularios ---------- */

.form-panel {
    background: var(--white);
    border: 1px solid rgba(20, 32, 27, .12);
    border-radius: var(--radius);
    padding: 34px 32px;
    box-shadow: var(--shadow);
}
.band--felt .form-panel { background: rgba(238, 239, 231, .06); border-color: var(--brass-dim); }

.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-family: var(--font-util);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: inherit;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid rgba(20, 32, 27, .22);
    border-radius: var(--radius);
    padding: 13px 15px;
}
textarea { min-height: 150px; resize: vertical; }

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, .22);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-inline { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: 22px;
}
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brass); }

.form-done {
    border: 1px solid var(--brass);
    background: rgba(200, 155, 60, .10);
    padding: 30px 28px;
    border-radius: var(--radius);
}
.form-done h3 { margin-bottom: 10px; color: inherit; }
.form-done p { margin-bottom: 16px; }
.form-done p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

/* ---------- Bloque suscripción ---------- */

.subscribe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- 404 ---------- */

.error-block { text-align: center; padding: 110px 0 120px; }
.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 700;
    line-height: .9;
    color: var(--brass);
    margin: 0 0 10px;
    letter-spacing: -.03em;
}
.error-block .lede { margin: 0 auto 32px; max-width: 52ch; }

/* ---------- Pie ---------- */

.site-foot {
    background: var(--felt-deep);
    color: rgba(238, 239, 231, .72);
    padding: 66px 0 34px;
    font-size: .95rem;
    border-top: 4px solid var(--brass);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-foot h4 {
    font-family: var(--font-util);
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 16px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: rgba(238, 239, 231, .78); text-decoration: none; }
.site-foot a:hover { color: var(--brass-lite); text-decoration: underline; }
.site-foot .brand { font-size: 1.4rem; margin-bottom: 14px; }

.foot-note { font-size: .88rem; line-height: 1.6; color: rgba(238, 239, 231, .55); }

.foot-bottom {
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid rgba(238, 239, 231, .12);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-util);
    font-size: .82rem;
    letter-spacing: .06em;
    color: rgba(238, 239, 231, .55);
}
.foot-age {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.foot-age span {
    border: 1px solid var(--brass);
    color: var(--brass-lite);
    border-radius: 999px;
    padding: 3px 11px;
    font-weight: 700;
    letter-spacing: .1em;
}

/* ---------- Revelado al hacer scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn { transition: none; }
    .btn:hover { transform: none; }
}
