/* CATBET — carnaval / show */
:root {
  --cyan: #7df9ff;
  --red: #f34b2e;
  --magenta: #d60a8c;
  --magenta-deep: #5e0440;
  --bg: #e9fdff;          /* #8ff5ff33 sobre blanco */
  --ink: #2a1a1d;
  --ink-soft: #5a4a4d;
  --white: #fff;
  --line: rgba(42, 26, 29, .12);
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(42, 26, 29, .35);
  --wrap: 1120px;
  --font-head: "Bungee", "Arial Black", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); margin: 2.2em 0 .7em; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); margin: 1.8em 0 .5em; }
p, ul, ol { margin: 0 0 1.1em; }
li { margin-bottom: .45em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 4px solid var(--cyan);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cyan); font-family: var(--font-head); font-size: 1.5rem; }
.logo:hover { color: var(--white); }
.logo svg { width: 38px; height: 38px; flex: none; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem;
}
.nav a:hover { background: rgba(125, 249, 255, .15); color: var(--cyan); }
.nav a[aria-current="page"] { background: var(--cyan); color: var(--ink); }
.age-chip {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: 3px solid var(--red); color: var(--white);
  font-family: var(--font-head); font-size: .85rem;
}
.menu-btn {
  display: none; background: none; border: 2px solid var(--cyan); color: var(--cyan);
  border-radius: 10px; padding: 8px 12px; font: 700 .95rem var(--font-body); cursor: pointer;
}
.header-right { display: flex; align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 4px solid var(--cyan); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 18px; }
  .nav a { padding: 12px 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 3px solid transparent;
  font-family: var(--font-head); font-size: 1.05rem; text-decoration: none; letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 0 #a82a14; }
.btn-primary:hover { color: var(--white); box-shadow: 0 8px 0 #a82a14; }
.btn-ghost { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.btn-ghost:hover { background: var(--cyan); color: var(--ink); }
.btn-cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 6px 0 #2bb8c0; }
.btn-cyan:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 78% 30%, rgba(125, 249, 255, .35), transparent 38%),
    linear-gradient(135deg, var(--magenta) 0%, #a0076a 45%, var(--magenta-deep) 100%);
  padding-block: 64px 80px;
}
.hero::before { /* spot de luz */
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg at 78% 30%, rgba(255, 255, 255, .09) 0 6deg, transparent 6deg 18deg);
  pointer-events: none;
}
.hero .confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding: 6px 16px; border-radius: 999px; background: rgba(42, 26, 29, .35);
  border: 2px solid var(--cyan); color: var(--cyan); font-family: var(--font-head); font-size: .9rem;
}
.hero h1 { color: var(--white); text-shadow: 0 4px 0 rgba(42, 26, 29, .35); }
.hero h1 .accent { color: var(--cyan); }
.hero p { font-size: 1.1rem; max-width: 62ch; }
.hero a:not(.btn) { color: var(--cyan); }
.hero .note { background: rgba(42, 26, 29, .3); border-left: 4px solid var(--cyan); padding: 12px 16px; border-radius: 0 12px 12px 0; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: 100%; max-width: 360px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.page-hero { padding-block: 48px 56px; }
.page-hero .wrap { grid-template-columns: 1fr; }
.page-hero p { max-width: 70ch; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 220px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { margin-top: 0; }
.kicker { display: inline-block; font-family: var(--font-head); font-size: .85rem; color: var(--red); letter-spacing: .06em; margin-bottom: 8px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; margin: 0; padding: 30px 24px 24px; background: var(--white);
  border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--cyan);
}
.section-alt .step { background: var(--bg); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 22px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: var(--white);
  font-family: var(--font-head); font-size: 1.2rem; border: 3px solid var(--ink);
}
.step h3 { margin: 6px 0 8px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Category cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px) rotate(-.5deg); color: var(--ink); box-shadow: 8px 8px 0 var(--magenta); }
.card-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--cyan); border: 3px solid var(--ink); }
.card-icon svg { width: 46px; height: 46px; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; flex: 1; }
.rating { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.stars { color: var(--red); letter-spacing: 2px; font-size: 1.05rem; }
.card-link { font-weight: 800; color: var(--magenta); }

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* Article content */
.content { max-width: 820px; margin-inline: auto; }
.content > h2:first-child { margin-top: 0; }
.content h2 { padding-bottom: .3em; border-bottom: 4px solid var(--cyan); }
.content ul li::marker { color: var(--red); }
.content ol li::marker { color: var(--magenta); font-weight: 800; }
.content strong { font-weight: 800; }
.content section { scroll-margin-top: 90px; }
.content [id] { scroll-margin-top: 90px; }
.callout {
  padding: 18px 22px; border-radius: var(--radius); background: var(--white);
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--red); margin: 0 0 1.4em;
}
.callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius); border: 3px solid var(--ink); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .98rem; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--ink); color: var(--cyan); font-family: var(--font-head); font-weight: 400; font-size: .9rem; letter-spacing: .03em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(125, 249, 255, .12); }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; white-space: nowrap; }
.tag-on { background: var(--cyan); color: var(--ink); }
.tag-soon { background: var(--ink); color: var(--white); }

/* Helplines */
.helplines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 0 1.4em; }
.helpline { padding: 20px 22px; background: var(--white); border-radius: var(--radius); border: 3px solid var(--ink); }
.helpline h3 { margin: 0 0 6px; font-size: 1.05rem; }
.helpline .phone { display: inline-block; font-family: var(--font-head); font-size: 1.5rem; color: var(--red); text-decoration: none; margin: 4px 0 6px; }
.helpline p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 640px) { .helplines { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.section-alt .faq details { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cyan); font-family: var(--font-head); font-size: 1.1rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--red); color: var(--white); }
.faq summary h3 { margin: 0; font-size: 1.05rem; }
.faq .answer { padding: 0 22px 18px; }
.faq .answer p { margin: 0; }

/* About block */
.about { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 34px; border-radius: 26px; background: var(--ink); color: var(--white); }
.about h2 { margin: 0 0 .5em; color: var(--cyan); border: 0; }
.about p { color: #f1e9ea; }
.about svg { width: 140px; height: 140px; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; text-align: center; } .about svg { margin-inline: auto; } }

/* Hub cards */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 1.4em; }
.hub a { display: block; padding: 20px; border-radius: var(--radius); background: var(--white); border: 3px solid var(--ink); text-decoration: none; color: var(--ink); box-shadow: 5px 5px 0 var(--cyan); }
.hub a:hover { box-shadow: 5px 5px 0 var(--red); color: var(--ink); }
.hub strong { display: block; font-family: var(--font-head); font-weight: 400; margin-bottom: 6px; }
.hub span { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) { .hub { grid-template-columns: 1fr; } }

/* 18+ banner */
.age-banner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 26px 30px; border-radius: 26px; color: var(--white);
  background: linear-gradient(120deg, var(--red), var(--magenta));
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
}
.age-banner .big18 {
  flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--red); border: 4px solid var(--ink); font-family: var(--font-head); font-size: 1.7rem;
}
.age-banner > div { flex: 1 1 280px; }
.age-banner h2 { margin: 0 0 .3em; font-size: clamp(1.2rem, 3vw, 1.6rem); }
.age-banner p { margin: 0; }
.age-banner .btn { flex: none; }

/* Breadcrumbs */
.crumbs { font-size: .9rem; margin-bottom: 14px; color: rgba(255, 255, 255, .85); }
.crumbs a { color: var(--cyan); }
.crumbs span { margin-inline: 6px; }

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

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8dfe0; padding-block: 52px 28px; margin-top: 0; border-top: 6px solid var(--cyan); font-size: .95rem; }
.site-footer a { color: var(--cyan); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 34px; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-warning { margin-top: 36px; padding: 16px 20px; border: 2px solid var(--red); border-radius: 14px; display: flex; gap: 16px; align-items: center; }
.footer-warning .age-chip { width: 48px; height: 48px; }
.footer-warning p { margin: 0; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: #bfb3b5; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie notice */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  max-width: 560px; margin-inline: auto; padding: 16px 18px; border-radius: 16px;
  background: var(--white); border: 3px solid var(--ink); box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .92rem;
}
.cookie p { margin: 0; flex: 1 1 260px; }
.cookie button { border: 0; border-radius: 999px; padding: 10px 20px; background: var(--ink); color: var(--cyan); font: 800 .92rem var(--font-body); cursor: pointer; }

/* 404 */
.notfound { text-align: center; padding-block: 90px; }
.notfound .code { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--cyan); text-shadow: 6px 6px 0 var(--ink); margin: 0; }
.notfound .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.hero .wrap.notfound { grid-template-columns: 1fr; padding-block: 40px; }
.hero .confetti { opacity: .55; }
