/* CATBET — Tango Noir */
:root {
  --bg: #14100E;
  --surface: #221A17;
  --surface-2: #2A201C;
  --gold: #D4A94A;
  --gold-soft: rgba(212, 169, 74, .35);
  --gold-faint: rgba(212, 169, 74, .12);
  --malbec: #5B1A2B;
  --malbec-deep: #3A1019;
  --text: #F0E6D2;
  --muted: #BFB29C;
  --radius: 4px;
  --max: 1120px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Sol de Mayo: rayos apenas visibles detrás de todo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(91, 26, 43, .45), transparent 60%),
    repeating-conic-gradient(from 0deg at 50% -10%, rgba(212, 169, 74, .035) 0deg 3deg, transparent 3deg 12deg);
}

img, svg { max-width: 100%; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-top: 1.8em; }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); margin-top: 1.6em; color: var(--gold); }

p { margin: 0 0 1.1em; }
strong { color: #fff6e4; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 16, 14, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-soft);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 1.45rem;
  letter-spacing: .14em; color: var(--text); text-decoration: none;
}
.logo svg { width: 38px; height: 38px; flex: none; }
.logo:hover { color: var(--gold); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent;
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
  color: var(--gold); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.main-nav { display: none; }
.main-nav.is-open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--gold-soft);
  padding: 8px 16px 20px;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 12px 0; color: var(--text); text-decoration: none;
  font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid var(--gold-faint);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav .btn { margin-top: 16px; border-bottom: 1px solid var(--gold); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.is-open {
    display: block; position: static; padding: 0; background: none; border: 0;
  }
  .main-nav ul { display: flex; align-items: center; gap: 28px; }
  .main-nav a { padding: 6px 0; border: 0; font-size: .95rem; }
  .main-nav .btn { margin: 0; padding: 10px 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, #E2BC64, var(--gold));
  color: var(--bg) !important; border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 169, 74, .12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(212, 169, 74, .18); }
.btn-ghost {
  background: transparent; color: var(--gold) !important; box-shadow: none;
}
.btn-ghost:hover { background: var(--gold-faint); }

/* ---------- Art déco ---------- */
.deco-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  outline: 1px solid var(--gold-faint);
  outline-offset: -8px;
  border-radius: var(--radius);
}
.deco-frame::before, .deco-frame::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  background: var(--gold); transform: rotate(45deg);
}
.deco-frame::before { top: -6px; left: calc(50% - 5px); }
.deco-frame::after { bottom: -6px; left: calc(50% - 5px); }

.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold); margin: 0 auto 14px; max-width: 240px;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span { font-size: .7rem; }

.eyebrow {
  display: block; text-align: center; color: var(--gold);
  font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 10px;
}
.section { padding: 64px 0; }
.section-title { text-align: center; margin-top: 0; }
.section-lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--gold-soft);
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 1400px; height: 1400px; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(212, 169, 74, .09) 0deg 2deg, transparent 2deg 9deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 30%, transparent 62%);
          mask-image: radial-gradient(circle, #000 0 30%, transparent 62%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-emblem { width: 92px; height: 92px; margin: 0 auto 18px; display: block; }
.hero-slogan {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--gold); margin: 0 0 18px;
}
.hero-lead { max-width: 720px; margin: 0 auto 28px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust {
  list-style: none; padding: 0; margin: 36px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 760px;
}
.trust li {
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
  padding: 12px 10px; font-size: .9rem; color: var(--muted); background: rgba(34, 26, 23, .7);
}
.trust strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 1.15rem; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 34px 24px 26px; text-align: center; counter-increment: step; }
.steps li::marker { content: none; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 14px;
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.step-num span { transform: rotate(-45deg); }
.steps h3 { margin-top: 0; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Category cards ---------- */
.cards { display: grid; gap: 24px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 30px 22px 24px; display: flex; flex-direction: column; }
.card-icon {
  width: 64px; height: 64px; padding: 12px; margin-bottom: 16px;
  border-radius: 50%; border: 1px solid var(--gold-soft);
  background: radial-gradient(circle, var(--malbec), var(--malbec-deep));
  color: var(--gold);
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); font-size: .96rem; }
.card dl { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--gold-faint); font-size: .88rem; }
.card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.card dt { color: var(--muted); }
.card dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.pace { letter-spacing: 2px; color: var(--gold); }
.pace i { font-style: normal; opacity: .25; }

.providers {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none; padding: 0; margin: 36px 0 0;
}
.providers li {
  padding: 6px 14px; border: 1px solid var(--gold-soft); border-radius: 999px;
  font-size: .85rem; letter-spacing: .05em; color: var(--muted);
}

/* ---------- Article ---------- */
.article { padding: 56px 0 24px; }
.article > .container > h2:first-child { margin-top: 0; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--gold); }
.article em { color: var(--muted); }

.table-wrap {
  overflow-x: auto; margin: 0 0 1.6em;
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
}
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .96rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--gold-faint); vertical-align: top; }
thead th {
  background: linear-gradient(180deg, var(--malbec), var(--malbec-deep));
  color: var(--gold); font-family: var(--serif); font-weight: 600; letter-spacing: .03em;
}
tbody tr:nth-child(even) { background: rgba(34, 26, 23, .6); }
tbody tr:last-child td { border-bottom: 0; }

.callout { padding: 22px 24px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--gold-soft); border-radius: var(--radius);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-size: 1.1rem; color: var(--text); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- About block / hub ---------- */
.about-block { padding: 36px 24px; text-align: center; }
.about-block p { max-width: 700px; margin-left: auto; margin-right: auto; color: var(--muted); }

.hub { display: grid; gap: 18px; margin: 8px 0 12px; }
@media (min-width: 700px) { .hub { grid-template-columns: repeat(2, 1fr); } }
.hub a {
  display: block; padding: 22px; text-decoration: none; color: var(--text);
  transition: border-color .15s ease;
}
.hub a:hover { border-color: var(--gold); }
.hub strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--gold); margin-bottom: 4px; }
.hub span { color: var(--muted); font-size: .95rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 56px 0 36px; text-align: center; border-bottom: 1px solid var(--gold-soft); }
.page-head p { color: var(--muted); max-width: 680px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "◆"; font-size: .55rem; color: var(--gold); margin-right: 6px; vertical-align: middle; }
.breadcrumbs a { color: var(--muted); }
.updated { font-size: .9rem; color: var(--muted); }

.toc { padding: 22px 24px; margin: 0 0 32px; }
.toc p { font-family: var(--serif); color: var(--gold); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; }

/* ---------- Helplines ---------- */
.helplines { display: grid; gap: 18px; margin: 0 0 1.6em; }
@media (min-width: 760px) { .helplines { grid-template-columns: repeat(3, 1fr); } }
.helpline { padding: 24px 20px; text-align: center; }
.helpline a.tel {
  display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 700;
  color: var(--gold); text-decoration: none; margin: 4px 0 8px;
}
.helpline p { margin: 0; font-size: .92rem; color: var(--muted); }
.helpline .who { color: var(--text); font-weight: 700; font-size: .95rem; }

/* ---------- 18+ banner ---------- */
.age-banner {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--malbec), var(--malbec-deep));
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
}
.age-badge {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
}
.age-banner p { margin: 0; }
.age-banner .age-title { font-family: var(--serif); font-size: 1.3rem; color: var(--text); margin-bottom: 4px; }
@media (min-width: 760px) {
  .age-banner { flex-direction: row; text-align: left; }
  .age-banner .btn { margin-left: auto; flex: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0; }
.notfound .code {
  font-family: var(--serif); font-size: clamp(5rem, 22vw, 9rem); line-height: 1;
  color: var(--gold); margin: 0 0 10px;
}
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px; padding: 48px 0 28px;
  background: #0F0C0A; border-top: 1px solid var(--gold-soft);
  font-size: .94rem; color: var(--muted);
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 {
  font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--gold-faint);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.footer-warning { display: flex; align-items: center; gap: 14px; color: var(--text); }
.footer-warning .age-badge { width: 48px; height: 48px; font-size: 1rem; }
.footer-warning p { margin: 0; }
.copy { font-size: .85rem; margin: 0; }
@media (min-width: 820px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

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