/* CATBET — Recoleta Marble */
:root {
  --bg: #16171A;
  --surface: #222328;
  --surface-2: #2A2B31;
  --copper: #fd8f29;
  --copper-soft: rgba(253, 143, 41, .35);
  --copper-faint: rgba(253, 143, 41, .1);
  --text: #ffebbf;
  --muted: rgba(255, 235, 191, .68);
  --line: rgba(255, 235, 191, .12);
  --radius: 6px;
  --max: 1120px;
  --head: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --marble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0025 .009' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .92  0 0 0 0 .75  0 0 0 -2.2 1.35'/%3E%3C/filter%3E%3Crect width='1600' height='1000' filter='url(%23m)'/%3E%3C/svg%3E");
}

*, *::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;
}

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

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

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

h1, h2, h3 { font-family: var(--head); line-height: 1.18; color: var(--text); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.6vw, 3.4rem); font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.5rem, 3.8vw, 2.15rem); font-weight: 700; margin-top: 2em; scroll-margin-top: 84px; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.32rem); font-weight: 700; color: var(--copper); margin-top: 1.6em; scroll-margin-top: 84px; }

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

.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(--copper); color: var(--bg); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Belle Époque: líneas finas ---------- */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--copper); margin: 0 auto 18px; max-width: 280px;
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 5px;
  border-top: 1px solid var(--copper-soft); border-bottom: 1px solid var(--copper-soft);
}
.ornament svg { width: 22px; height: 22px; flex: none; }

.framed {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.framed::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--copper-faint); border-radius: 3px; pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 23, 26, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-soft), transparent);
}
.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(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: .12em;
  color: var(--text); text-decoration: none;
}
.logo svg { width: 36px; height: 36px; flex: none; }
.logo:hover { color: var(--copper); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent;
  border: 1px solid var(--copper-soft); border-radius: var(--radius);
  color: var(--copper); 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(--line);
  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; border-bottom: 1px solid var(--line);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--copper); }
.main-nav .btn { margin-top: 16px; border-bottom: 0; }

@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(--head); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none; text-align: center;
  background: linear-gradient(180deg, #ffa24a, var(--copper) 55%, #e37a17);
  color: #16171A !important; border: 1px solid var(--copper);
  box-shadow: 0 10px 28px -12px rgba(253, 143, 41, .8);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--copper-soft); box-shadow: none;
}
.btn-ghost:hover { background: var(--copper-faint); border-color: var(--copper); filter: none; }

.eyebrow {
  display: inline-block; color: var(--copper);
  font-family: var(--head); font-size: .8rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; margin-bottom: 12px;
}
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Hero: mármol + arco ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 0 72px;
  background: radial-gradient(ellipse 55% 60% at 50% 35%, rgba(253, 143, 41, .16), transparent 70%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--marble); background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: .09; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: var(--line);
}
.hero-arch, .hero-sparks {
  position: absolute; left: 50%; transform: translateX(-50%);
  pointer-events: none; color: var(--copper);
}
.hero-arch { top: 28px; width: min(980px, 96%); height: calc(100% - 28px); opacity: .5; }
.hero-sparks { top: 0; width: 100%; height: 100%; }
.hero > .container { position: relative; }
.hero-slogan {
  font-family: var(--head); font-weight: 600; font-style: italic; color: var(--copper);
  font-size: clamp(1.1rem, 2.8vw, 1.45rem); margin: 0 0 18px; letter-spacing: .02em;
}
.hero-lead { max-width: 720px; margin: 0 auto 28px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.facts {
  list-style: none; padding: 0; margin: 40px auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--copper-soft); border-bottom: 1px solid var(--copper-soft);
}
.facts li { padding: 16px 10px; font-size: .88rem; color: var(--muted); }
.facts li + li { border-left: 1px solid var(--line); }
.facts li:nth-child(3) { border-left: 0; }
.facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--head); font-size: 1.25rem; color: var(--text); }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li:nth-child(3) { border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 0; }
}

/* ---------- Article ---------- */
.article { padding: 56px 0 24px; }
.article > .container > :first-child { margin-top: 0; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .55em; }
.article ul { list-style: none; padding-left: 0; }
.article ul li { position: relative; padding-left: 24px; }
.article ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border: 1px solid var(--copper); transform: rotate(45deg);
}
.article ol li::marker { color: var(--copper); font-family: var(--head); font-weight: 700; }
.article em { color: var(--muted); }
.article h2::before {
  content: ""; display: block; width: 44px; height: 5px; margin-bottom: 16px;
  border-top: 1px solid var(--copper); border-bottom: 1px solid var(--copper);
}

.table-wrap {
  overflow-x: auto; margin: 0 0 1.6em;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .96rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-family: var(--head); font-weight: 700; color: var(--copper);
  background: var(--surface-2); border-bottom: 1px solid var(--copper-soft);
}
tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  table { min-width: 0; font-size: .88rem; }
  th, td { padding: 10px; }
}
.status {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.status.on { border-color: var(--copper); color: var(--copper); }

.callout { padding: 22px 24px; margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }
.example { padding: 20px 22px; margin: 0 0 1.4em; border-left: 3px solid var(--copper); }
.example p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-bottom: 1.4em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--copper-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border: 1px solid var(--copper); transform: rotate(45deg);
  transition: background .2s ease;
}
.faq details[open] summary::after { background: var(--copper); }
.faq summary h3 { margin: 0; font-size: 1.08rem; color: var(--text); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Pros / cons ---------- */
.proscons { display: grid; gap: 20px; }
@media (min-width: 760px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons .framed { padding: 30px 26px 24px; }
.proscons h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.25rem; color: var(--text); }
.proscons h3 svg { width: 34px; height: 34px; flex: none; color: var(--copper); }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--muted); }
.proscons li strong { color: var(--text); }
.proscons li::before { position: absolute; left: 2px; top: 0; font-family: var(--head); font-weight: 800; color: var(--copper); }
.pros li::before { content: "+"; }
.cons li::before { content: "−"; opacity: .7; }

/* ---------- About / hub ---------- */
.about-block { padding: 40px 28px; text-align: center; }
.about-block p { color: var(--muted); max-width: 680px; margin: 0 auto 22px; }

.hub { display: grid; gap: 14px; margin: 0 0 12px; }
@media (min-width: 700px) { .hub { grid-template-columns: repeat(3, 1fr); } }
.hub a { display: block; padding: 22px 20px; text-decoration: none; color: var(--text); transition: border-color .15s ease; }
.hub a:hover { border-color: var(--copper-soft); }
.hub strong { display: block; font-family: var(--head); font-size: 1.05rem; margin-bottom: 4px; }
.hub span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- Inner page head ---------- */
.page-head { position: relative; overflow: hidden; padding: 60px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--marble); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: .08; pointer-events: none;
}
.page-head > .container { position: relative; }
.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: 8px; padding: 0; margin: 0; }
.breadcrumbs li + li::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: middle;
  border: 1px solid var(--copper); transform: rotate(45deg);
}
.breadcrumbs a { color: var(--muted); }
.updated { font-size: .9rem; color: var(--muted); margin-top: 10px !important; }

.toc { padding: 24px 26px; margin: 0 0 32px; }
.toc p { font-family: var(--head); font-weight: 700; color: var(--copper); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: 4px; }

/* ---------- Helplines ---------- */
.helplines { display: grid; gap: 16px; margin: 0 0 1.6em; }
@media (min-width: 760px) { .helplines { grid-template-columns: repeat(3, 1fr); } }
.helpline { padding: 26px 22px; text-align: center; }
.helpline a.tel {
  display: block; font-family: var(--head); font-size: 1.7rem; font-weight: 800;
  color: var(--copper); 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: .85rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- 18+ ---------- */
.age-banner {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 28px 24px;
}
.age-badge {
  flex: none; width: 68px; height: 68px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--copper); outline: 1px solid var(--copper-soft); outline-offset: 4px;
  color: var(--copper); font-family: var(--head); font-weight: 800; font-size: 1.3rem;
}
.age-banner p { margin: 0; color: var(--muted); }
.age-banner .age-title { font-family: var(--head); font-weight: 700; font-size: 1.2rem; 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 { position: relative; overflow: hidden; text-align: center; padding: 80px 0; }
.notfound::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--marble); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: .1; pointer-events: none;
}
.notfound > .container { position: relative; }
.notfound .code {
  font-family: var(--head); font-weight: 800; font-size: clamp(5rem, 22vw, 9rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--copper); margin: 0 0 12px;
}
.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: #111214; border-top: 1px solid var(--line);
  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: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 14px;
}
.site-footer h2::before { display: none; }
.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(--copper); }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.footer-warning { display: flex; align-items: center; gap: 16px; color: var(--text); }
.footer-warning .age-badge { width: 44px; height: 44px; font-size: .9rem; outline-offset: 3px; }
.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, .faq summary::after { transition: none; }
}
