/* AwkwardPinch. Un solo archivo de estilos, sin frameworks.
   Colores como tokens: claro por defecto, oscuro con data-theme="dark" o, sin
   JS, segun la preferencia del sistema. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --ink: #17151f;
  --ink-soft: #4d4a5e;
  --muted: #77738a;
  --border: #e5e1d8;
  --brand: #6d28d9;
  --brand-strong: #5b21b6;
  --brand-ink: #ffffff;
  --brand-soft: #efe8fd;
  --mark: #f3ecff;
  --mark-ink: #4c1d95;
  --ok: #0f7b4f;
  --warn-bg: #fff6e0;
  --warn-ink: #6b4a00;
  --warn-border: #f0d48a;
  --wa: #128c4b;
  --money: #f5a524;
  --money-strong: #e8930c;
  --money-ink: #2a1a00;
  --money-soft: #fff5df;
  --money-border: #f2cf86;
  --shadow: 0 1px 2px rgba(23, 21, 31, .06), 0 6px 24px rgba(23, 21, 31, .06);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 760px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0e15; --surface: #18171f; --surface-2: #211f2b; --ink: #f2f0f7; --ink-soft: #c4c0d4;
    --muted: #8f8aa6; --border: #2d2a3a; --brand: #a78bfa; --brand-strong: #c4b5fd; --brand-ink: #160f2a;
    --brand-soft: #2a2142; --mark: #2e2448; --mark-ink: #ddd3fe; --ok: #4ade80; --warn-bg: #2a2312;
    --warn-ink: #f5d98a; --warn-border: #5a4a1d; --wa: #25d366; --money: #fbbf24; --money-strong: #f59e0b; --money-ink: #1f1400; --money-soft: #2a2314; --money-border: #6b5419;  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0e15; --surface: #18171f; --surface-2: #211f2b; --ink: #f2f0f7; --ink-soft: #c4c0d4;
  --muted: #8f8aa6; --border: #2d2a3a; --brand: #a78bfa; --brand-strong: #c4b5fd; --brand-ink: #160f2a;
  --brand-soft: #2a2142; --mark: #2e2448; --mark-ink: #ddd3fe; --ok: #4ade80; --warn-bg: #2a2312;
  --warn-ink: #f5d98a; --warn-border: #5a4a1d; --wa: #25d366; --money: #fbbf24; --money-strong: #f59e0b; --money-ink: #1f1400; --money-soft: #2a2314; --money-border: #6b5419;  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* El atributo hidden siempre gana (los .btn tienen display propio y lo pisaban). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 6.4vw, 42px); font-weight: 800; }
h2 { font-size: clamp(21px, 4.4vw, 26px); font-weight: 750; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; color: var(--brand-ink); }
.small { font-size: 14px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand .logo { width: 30px; height: 30px; flex-shrink: 0; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name b, .footer-brand b { color: var(--brand); font-weight: 800; }
.header-in { position: relative; }
.header-nav { margin-left: auto; display: none; }
.header-nav a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-soft); text-decoration: none; font-weight: 650; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.header-nav a:hover { color: var(--ink); background: var(--surface-2); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-nav + .header-tools { margin-left: 0; }
.header-lang { display: none; }
.lang-pill { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.lang-pill a { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-decoration: none; color: var(--muted); padding: 4px 9px; border-radius: 999px; line-height: 1.4; }
.lang-pill a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); }
.lang-pill a:not([aria-current="true"]):hover { color: var(--ink); }
.theme-btn, .menu-btn {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.theme-btn:hover, .menu-btn:hover { background: var(--surface-2); }
.theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-moon { display: block; }

/* Salida de emergencia (llamada falsa): un boton distinto, no una seccion mas */
.escape-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e5484d; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: escape-pulse 1.8s ease-out infinite; }
@keyframes escape-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
.header-nav a.escape-pill { gap: 8px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; color: var(--ink); background: var(--surface); font-weight: 700; }
.header-nav a.escape-pill:hover { border-color: #e5484d; background: var(--surface); }
.escape-inline { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; font-weight: 650; color: var(--ink-soft); text-decoration: none; border-bottom: 1px dashed var(--border); padding-bottom: 2px; }
.escape-inline:hover { color: var(--ink); border-bottom-color: #e5484d; }

/* Menu hamburguesa (movil) */
.menu-btn { list-style: none; }
.menu-btn::-webkit-details-marker { display: none; }
.menu-btn .i-close { display: none; }
.nav-menu[open] .menu-btn { background: var(--surface-2); }
.nav-menu[open] .menu-btn .i-menu { display: none; }
.nav-menu[open] .menu-btn .i-close { display: block; }
.nav-panel {
  position: absolute; right: 16px; top: calc(100% + 6px); z-index: 30;
  width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
}
.nav-panel a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 650; padding: 10px 12px; border-radius: 10px; }
.nav-panel a:hover { background: var(--surface-2); color: var(--ink); }
.nav-panel .nav-panel-cta { background: var(--brand-soft); color: var(--ink); margin-bottom: 2px; align-items: flex-start; gap: 10px; }
.nav-panel .nav-panel-cta .escape-dot { margin-top: 7px; }
.nav-panel-cta strong { display: block; font-size: 15px; line-height: 1.3; }
.nav-panel-cta small { display: block; font-size: 13.5px; font-weight: 600; color: var(--brand); margin-top: 2px; }
.nav-panel .nav-panel-cta:hover { background: var(--brand-soft); color: var(--brand-strong); }
.nav-panel-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 12px 4px; }
.nav-panel-cats { list-style: none; padding: 0; margin: 0; }
.nav-panel-cats a { font-weight: 600; font-size: 15.5px; padding: 8px 12px; }
.nav-panel-langs { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); margin-top: 8px; padding: 12px 12px 4px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-panel-langs .lang-pill a { padding: 4px 12px; }

@media (min-width: 640px) {
  .header-nav { display: block; }
  .header-lang { display: block; }
  .nav-menu { display: none; }
}

/* ---------- Botones y piezas comunes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 750; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-strong); color: var(--brand-ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(1.05); }
[data-theme="dark"] .btn-wa { color: #08240f; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-lg { min-height: 54px; font-size: 17px; width: 100%; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips-tight { margin: 10px 0 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); text-decoration: none;
  font: inherit; font-size: 15px; font-weight: 650; cursor: pointer;
}
.chip:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- Inicio ---------- */
.hero { padding: 44px 0 20px; }
.hero h1 { max-width: 15em; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 36em; }
.search { position: relative; margin-top: 22px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 54px; padding: 12px 16px 12px 44px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: inherit; box-shadow: var(--shadow);
}
.search input::placeholder { color: var(--muted); }
.hero-count { margin: 10px 2px 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.cats { display: grid; gap: 28px; margin: 18px 0 36px; }
.cat-h { font-size: 20px; margin-bottom: 10px; }
.cat-h a { color: var(--ink); text-decoration: none; }
.cat-h a:hover { color: var(--brand); }
.sit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sit-link {
  display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .08s ease;
}
.sit-link:hover { border-color: var(--brand); color: var(--ink); }
.sit-link:active { transform: scale(.995); }
.sit-title { display: block; font-weight: 750; line-height: 1.35; }
.sit-sub { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 3px; }
.sit-list-lg .sit-link { padding: 18px; }
/* Inicio: con 100+ situaciones, solo los titulos (la respuesta corta va en cada categoria). */
.sit-list-compact { gap: 8px; }
.sit-list-compact .sit-link { padding: 11px 14px; }
.sit-list-compact .sit-sub { display: none; }
@media (min-width: 768px) { .sit-list-compact { grid-template-columns: 1fr 1fr; } }
.no-results { color: var(--muted); text-align: center; padding: 16px; }
.promo { display: flex; gap: 16px; padding: 22px; margin: 8px 0 8px; align-items: flex-start; }
.promo h2 { font-size: 21px; margin-bottom: 6px; }
.promo p { color: var(--ink-soft); }
.promo-icon { font-size: 30px; line-height: 1; padding: 10px; border-radius: 14px; background: var(--brand-soft); }
.steps { padding-left: 22px; margin: 0; }
.steps li { margin-bottom: 8px; padding-left: 4px; }

/* ---------- Paginas internas ---------- */
.page { padding-top: 22px; padding-bottom: 40px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .6; }
.page-head { margin-bottom: 20px; }
.byline { font-size: 14px; color: var(--muted); margin: -4px 0 0; }
.byline a { color: var(--ink-soft); font-weight: 650; }
.eyebrow { color: var(--brand); font-weight: 750; font-size: 14px; letter-spacing: .02em; margin-bottom: 8px; }
.block { margin-top: 40px; }
.block > p { color: var(--ink-soft); }
.notice {
  background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-border);
  border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.updated { color: var(--muted); font-size: 14px; margin-top: 36px; }
.more { margin-top: 14px; font-weight: 650; }

/* ---------- Generador ---------- */
.gen { padding: 20px; margin: 22px 0 8px; }
.gen-h { font-size: 20px; margin-bottom: 14px; }
.gen-fields { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gen-fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 5px; }
.field-label { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 0; }
.field input {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.gen-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); max-width: 100%; }
.seg-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); width: 100%; margin-bottom: 18px; }
.seg-wrap .seg-btn { padding: 8px 6px; }
.seg-btn {
  border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-size: 15px; font-weight: 700;
  padding: 8px 14px; border-radius: 9px; cursor: pointer; min-height: 38px;
}
.seg-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
[data-theme="dark"] .seg-btn[aria-pressed="true"] { background: var(--brand-soft); }
.seg-sm .seg-btn { padding: 8px 12px; }
.gen-out-label { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 14px 0 6px; }
.gen-subject { font-size: 15px; margin: 0 0 8px; }
.gen-subject > span:first-child { color: var(--muted); font-weight: 700; }
.gen-out {
  white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border: 1px dashed var(--border);
  border-radius: 12px; padding: 14px 16px; font-size: 17px; line-height: 1.6; min-height: 80px;
}
mark.ph { background: var(--mark); color: var(--mark-ink); border-radius: 5px; padding: 0 3px; font-weight: 650; }
mark.ph.filled { background: transparent; color: inherit; padding: 0; font-weight: inherit; }
.gen-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.gen-actions .btn { flex: 1 1 180px; }
.gen-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Kit (lo que se monetiza lleva su propio color: ambar) ---------- */
.kit {
  position: relative; margin: 22px 0 8px; padding: 22px 20px 18px; border-radius: 18px;
  background: linear-gradient(140deg, var(--money-soft) 0%, var(--surface) 75%);
  border: 2px solid var(--money-border); box-shadow: 0 10px 30px rgba(245, 165, 36, .14);
}
.kit-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.kit-badge {
  display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--money-ink); background: var(--money); padding: 5px 10px; border-radius: 999px;
}
.kit-price { font-size: 26px; font-weight: 850; line-height: 1; color: var(--ink); text-align: right; letter-spacing: -.02em; }
.kit-price small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.kit-h { font-size: 22px; margin: 0 0 6px; }
.kit-pitch { color: var(--ink-soft); margin-bottom: 12px; }
.kit-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.kit-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink); }
.kit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 900; color: var(--money-ink); background: var(--money);
}
.btn-money {
  width: 100%; min-height: 54px; font-size: 17px; font-weight: 800; color: var(--money-ink); background: var(--money);
  box-shadow: 0 8px 20px rgba(245, 165, 36, .35);
}
.btn-money:hover { background: var(--money-strong); color: var(--money-ink); }
.kit-thanks { font-weight: 700; color: var(--ink); margin: 6px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--money-soft); }
.kit-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* ---------- Bloques de contenido ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%236d28d9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.examples { display: grid; gap: 12px; }
.example { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.example figcaption { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 6px; }
.example blockquote { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-soft); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 16px 20px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--bg); }
.t-when { display: inline-block; font-size: 13px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); }
.replies { display: grid; gap: 12px; }
.reply { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.reply p { margin: 0; padding: 12px 16px; }
.r-they { background: var(--surface-2); }
.r-you { color: var(--ink-soft); }
.r-label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.r-you .r-label { color: var(--ok); }
.avoid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.avoid li { padding: 12px 16px 12px 44px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); position: relative; }
.avoid li::before { content: "✕"; position: absolute; left: 16px; top: 12px; font-weight: 900; color: #d4384a; }
.avoid strong { display: block; }
.avoid span { color: var(--ink-soft); font-size: 15.5px; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 10px 28px 10px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 12px; }

/* ---------- Legal ---------- */
.legal .block { margin-top: 28px; }
.legal .block h2 { font-size: 20px; }
.profiles { color: var(--ink-soft); }
.profiles b { color: var(--ink); }

/* ---------- Raiz y 404 ---------- */
.root { text-align: center; padding-top: 56px; padding-bottom: 56px; }
.root-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.root-logo .logo { width: 64px; height: 64px; }
.root-h1 { display: grid; gap: 4px; font-size: clamp(24px, 5.4vw, 34px); }
.root-h1 span + span { color: var(--muted); font-weight: 650; font-size: .8em; }
.root-choices { display: grid; gap: 12px; margin: 28px auto 0; max-width: 520px; text-align: left; }
.root-choice { display: flex; gap: 14px; align-items: center; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.root-choice:hover { border-color: var(--brand); color: var(--ink); }
.root-choice small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.root-flag { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.notfound { text-align: center; padding-top: 48px; padding-bottom: 48px; }
.nf-code { font-size: 72px; font-weight: 900; color: var(--brand); line-height: 1; margin-bottom: 18px; }
.nf-cols { display: grid; gap: 28px; }
.nf-cols h1, .nf-cols h2 { font-size: 24px; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 32px 0 28px; background: var(--surface); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.footer-brand .logo { width: 26px; height: 26px; }
.footer-about p:last-child { color: var(--muted); font-size: 14.5px; }
.footer-h { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.site-footer nav a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 18px; color: var(--muted); }
.footer-bottom p { margin: 0 0 6px; }
.made-by { color: var(--ink-soft); font-weight: 650; }

/* ---------- Aviso flotante ---------- */
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); max-width: calc(100vw - 32px);
}

/* ---------- Llamada falsa ---------- */
.fc-setup { padding: 20px; }
.fc-screen {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: space-between;
  align-items: center; text-align: center; color: #fff; padding: max(48px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
}
.fc-screen[hidden] { display: none; }
.fc-wait { background: #000; justify-content: center; gap: 10px; color: #6f6c7a; }
.fc-wait-count { font-size: 15px; margin: 0; }
.fc-wait-hint { font-size: 13px; max-width: 28em; margin: 0; }
.fc-link { margin-top: 18px; background: none; border: 0; color: #8f8aa6; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.fc-ring, .fc-call { background: linear-gradient(180deg, #2b2440 0%, #141120 60%, #0b0a12 100%); }
.fc-top { display: grid; justify-items: center; gap: 6px; margin-top: 4vh; }
.fc-label { font-size: 15px; color: rgba(255,255,255,.7); margin: 0; }
.fc-avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #5b21b6); display: grid; place-items: center; font-size: 42px; font-weight: 700; margin: 14px 0 8px; }
.fc-name { font-size: 34px; font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.fc-sub { font-size: 16px; color: rgba(255,255,255,.7); margin: 0; font-variant-numeric: tabular-nums; }
.fc-actions { display: flex; justify-content: space-around; width: 100%; max-width: 340px; margin-bottom: 4vh; }
.fc-actions-one { justify-content: center; }
.fc-btn { background: none; border: 0; color: #fff; font: inherit; font-size: 14px; display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.fc-circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.fc-decline .fc-circle { background: #eb3b4a; }
.fc-accept .fc-circle { background: #2fbf5b; animation: fc-pulse 1.4s ease-in-out infinite; }
@keyframes fc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.fc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 100%; max-width: 320px; }
.fc-tile { display: grid; justify-items: center; gap: 6px; font-size: 26px; padding: 14px 0; border-radius: 50%; background: rgba(255,255,255,.08); aspect-ratio: 1; align-content: center; }
.fc-tile small { font-size: 12px; color: rgba(255,255,255,.8); }
body.fc-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
