/* Burger Rodante · landing. Estilo "de cartón" del juego (BurgerRodante/UI/Tema.swift). */
@font-face { font-family: Fredoka; font-weight: 300 700; font-display: swap; src: url(fonts/Fredoka.ttf) format("truetype"); }
@font-face { font-family: Nunito; font-weight: 200 1000; font-display: swap; src: url(fonts/Nunito.ttf) format("truetype"); }

:root {
  --cielo: #BFE3EE;
  --cielo-claro: #DDF1F6;
  --tinta: #1E2230;
  --gris: #3B4252;
  --papel: #FFF8E7;
  --papel-sombra: #D9C9A8;
  --ketchup: #C4301F;
  --mostaza: #F2B705;
  --lechuga: #2F7A33;
  --asfalto: #2F3340;
  --noche: #1E2440;
  --radio: 22px;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--cielo);
  color: var(--tinta);
  font: 500 18px/1.55 Nunito, ui-rounded, system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .brand-name, .btn, .eyebrow, .stamp, .bubble, .big404 { font-family: Fredoka, ui-rounded, system-ui, sans-serif; }
h1 { font-weight: 700; font-size: clamp(44px, 7vw, 84px); line-height: 1.0; letter-spacing: -.01em; }
h2 { font-weight: 700; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; }
h3 { font-weight: 600; font-size: 24px; line-height: 1.15; }
h1 em, h2 em { font-style: normal; color: var(--ketchup); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--tinta); color: var(--papel); padding: 10px 16px; border-radius: 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 4px solid var(--mostaza); outline-offset: 3px; border-radius: 8px; }

/* ── Cartón ─────────────────────────────────────────────── */
.carton {
  background: var(--papel);
  border: 4px solid var(--tinta);
  border-radius: var(--radio);
  box-shadow: 0 7px 0 var(--tinta);
}
.eyebrow { font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ketchup); margin-bottom: 12px; }
.eyebrow.light { color: var(--mostaza); }

/* ── Botones ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 20px; text-decoration: none;
  padding: 16px 26px; border-radius: 18px; border: 4px solid var(--tinta);
  box-shadow: 0 6px 0 var(--tinta); transition: transform .08s, box-shadow .08s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--tinta); }
.btn.primary { background: var(--ketchup); color: #fff; }
.btn.ghost { background: var(--papel); color: var(--tinta); }
.btn.small { font-size: 16px; padding: 9px 16px; border-width: 3px; box-shadow: 0 4px 0 var(--tinta); }
.btn.soon { background: var(--tinta); color: var(--papel); box-shadow: 0 6px 0 rgba(30, 34, 48, .45); cursor: default; }
.btn.soon:active { transform: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.ctas.center { justify-content: center; }

/* ── Cabecera ───────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(191, 227, 238, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 3px solid rgba(30, 34, 48, .08); }
.top { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 11px; }
.brand-name { font-weight: 700; font-size: 24px; white-space: nowrap; }
.brand-name b { color: var(--ketchup); font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a, .lang { text-decoration: none; font-weight: 800; font-size: 16px; color: var(--gris); }
.nav a:hover, .lang:hover { color: var(--ketchup); }
.top-actions { display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) { .nav { display: none; } .top-actions { margin-left: auto; } }
@media (max-width: 420px) { .brand-name { font-size: 19px; } .brand img { width: 36px; height: 36px; } .top { gap: 10px; } .top-actions { gap: 10px; } .lang { font-size: 14px; } }

/* ── Héroe ──────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.lead { font-size: 21px; color: var(--gris); margin-top: 22px; max-width: 34em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.facts li { font-weight: 800; font-size: 15px; background: rgba(255, 248, 231, .75); border: 2px solid rgba(30, 34, 48, .15); padding: 6px 12px; border-radius: 999px; }
.hero-shot { position: relative; margin-bottom: 80px; }
.hero-shot .phone { transform: rotate(-3deg); }
.bubble { position: absolute; left: 8%; bottom: -54px; font-weight: 600; font-size: clamp(17px, 2vw, 24px); padding: 14px 22px; }
.bubble::before { content: ""; position: absolute; left: 44px; top: -24px; border: 11px solid transparent; border-bottom: 13px solid var(--tinta); }
.sun { position: absolute; right: 7%; top: 30px; width: 130px; height: 130px; border-radius: 50%; background: var(--mostaza); box-shadow: 0 0 90px 30px rgba(242, 183, 5, .35); }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .85; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 170%; left: 14%; bottom: 20%; }
.cloud::after { width: 38%; height: 130%; left: 50%; bottom: 30%; }
.cloud.c1 { width: 180px; height: 56px; left: 4%; top: 120px; }
.cloud.c2 { width: 140px; height: 44px; right: 26%; top: 230px; opacity: .7; }
.road, .street { background: var(--asfalto); border-top: 12px solid var(--mostaza); position: relative; }
.road { height: 120px; margin-top: 10px; }
.lane { position: absolute; left: 0; right: 0; top: 50px; height: 10px;
  background: repeating-linear-gradient(90deg, rgba(255, 248, 231, .75) 0 90px, transparent 90px 180px); border-radius: 5px; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .sun { width: 90px; height: 90px; right: 5%; top: 18px; }
  .hero-shot { margin-top: 10px; }
}

/* ── Móviles ────────────────────────────────────────────── */
.phone { background: #0b0d14; padding: 10px; border-radius: 44px; border: 2px solid rgba(255, 255, 255, .2);
  box-shadow: 0 30px 60px rgba(20, 24, 40, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.phone img { border-radius: 36px; width: 100%; }
.phone.land { padding: 9px; }
.phone.land img { border-radius: 34px; }
.phone.port { border-radius: 40px; padding: 8px; }
.phone.port img { border-radius: 33px; }
.tilt-r { transform: rotate(2.5deg); }
.tilt-l { transform: rotate(-2.5deg); }

/* ── Bloques ────────────────────────────────────────────── */
.block { padding-block: 96px; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split p { margin-top: 16px; color: var(--gris); font-size: 19px; }
@media (max-width: 900px) {
  .block { padding-block: 64px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-copy { order: 0; }
}
.points { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.chk { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lechuga); color: #fff;
  display: grid; place-items: center; margin-top: 1px; }

/* ── Tu negocio (noche, Sanidad y Hacienda) ─────────────── */
.business { background: linear-gradient(180deg, var(--noche), #2a2440 60%, var(--noche)); color: var(--papel); }
.section-head { max-width: 760px; }
.section-head p { margin-top: 14px; font-size: 19px; color: rgba(255, 248, 231, .82); }
.threats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.threat { position: relative; border-radius: 30px; padding: 32px 32px 34px; display: grid; grid-template-columns: 220px 1fr; gap: 8px 28px; align-items: center; }
.threat.health { background: linear-gradient(160deg, #D9503F, #a8392d); }
.threat.tax { background: linear-gradient(160deg, #343c66, #262c4d); border: 2px solid rgba(255, 248, 231, .12); }
.threat .phone { grid-row: span 2; }
.threat h3 { font-size: 30px; align-self: end; }
.threat p { align-self: start; color: rgba(255, 248, 231, .88); }
.stamp { position: absolute; top: 18px; right: 18px; transform: rotate(-6deg); font-weight: 700; font-size: 18px; text-transform: uppercase;
  color: var(--mostaza); border: 4px solid var(--mostaza); border-radius: 12px; padding: 6px 12px; background: rgba(30, 34, 48, .85); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card { padding: 26px; color: var(--tinta); }
.card p { margin-top: 8px; color: var(--gris); font-size: 17px; }
.badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--mostaza);
  border: 3px solid var(--tinta); font-size: 26px; margin-bottom: 14px; }
@media (max-width: 980px) {
  .threats, .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .threat { grid-template-columns: 1fr; padding: 70px 22px 26px; }
  .threat .phone { grid-row: auto; max-width: 260px; margin: 0 auto 10px; }
}

/* ── Galería ────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 0; }
.gallery figcaption { text-align: center; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 20px; margin-top: 16px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── Privacidad y final ─────────────────────────────────── */
.privacy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 44px; }
.privacy p { margin-top: 14px; color: var(--gris); }
.more { display: inline-block; margin-top: 16px; font-weight: 800; color: var(--ketchup); text-decoration: none; }
.more:hover { text-decoration: underline; }
@media (max-width: 800px) { .privacy { grid-template-columns: 1fr; padding: 28px; } }
.final { background: var(--ketchup); color: #fff; padding-block: 90px; border-top: 6px solid var(--tinta); }
.final-in { text-align: center; display: grid; justify-items: center; gap: 14px; }
.final-in img { border-radius: 28px; border: 4px solid var(--tinta); box-shadow: 0 7px 0 var(--tinta); }
.final p { font-size: 21px; font-weight: 700; opacity: .92; }
.final .btn.soon, .final .btn.primary { background: var(--mostaza); color: var(--tinta); }

/* ── Pie: la calle ──────────────────────────────────────── */
.street { color: rgba(255, 248, 231, .85); padding: 96px 0 40px; }
.street .lane { top: 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 15px; font-weight: 700; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--mostaza); }

/* ── Páginas de texto (privacidad, soporte, 404) ────────── */
.doc { max-width: 820px; padding-block: 64px 90px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); }
.doc .updated { margin-top: 12px; color: var(--gris); font-weight: 700; }
.doc h2 { font-size: 30px; margin-top: 44px; }
.doc p, .doc ul { margin-top: 14px; }
.doc ul { padding-left: 22px; display: grid; gap: 10px; }
.doc a { color: var(--ketchup); font-weight: 800; }
.faq { margin-top: 16px; padding: 18px 22px; box-shadow: 0 5px 0 var(--tinta); border-width: 3px; }
.faq summary { cursor: pointer; font-family: Fredoka, sans-serif; font-weight: 600; font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: .8; color: var(--ketchup); }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--gris); }
.notfound { text-align: center; }
.big404 { font-weight: 700; font-size: clamp(110px, 22vw, 200px); line-height: 1; color: var(--ketchup); text-shadow: 0 8px 0 var(--tinta); }
