/* etiasfaq v2: juvenil e informal */
:root {
  --navy: #172554;
  --navy-2: #22337A;
  --ink: #1E1B3A;
  --muted: #5B5875;
  --sun: #FFC83D;
  --sun-2: #FFE08A;
  --coral: #FF6B5B;
  --coral-bg: #FFE3DF;
  --sky: #DCEBFF;
  --mint: #BFF0DD;
  --mint-ink: #0F7A55;
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --line: #EDE3D1;
  --r: 22px;
  --display: "Plus Jakarta Sans", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --body: "Source Sans 3", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Source Sans 3", system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.65 var(--body); }
a { color: var(--navy-2); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun); }
a:hover { text-decoration-color: var(--coral); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; }
.hand { font-family: var(--hand); font-style: italic; font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--coral); }
.mark { background: linear-gradient(transparent 58%, var(--sun) 58% 92%, transparent 92%); padding: 0 .08em; }

/* ---------- Barra de estado ---------- */
.topbar { background: var(--sun); color: var(--ink); font-weight: 700; font-size: 15px; }
.topbar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 107, 91, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 107, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 91, 0); } }
.topbar a { margin-left: auto; color: var(--ink); white-space: nowrap; text-decoration-color: var(--ink); }

/* ---------- Cabecera ---------- */
.header { background: var(--navy); color: #fff; }
.header .wrap { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: -.03em; }
.logo-svg { display: block; height: 38px; width: auto; }
@media (max-width: 640px) { .logo-svg { height: 32px; } }
.menu { display: flex; gap: 6px; font-weight: 700; font-size: 16px; }
.menu a { color: #E6EAFF; text-decoration: none; padding: 9px 14px; border-radius: 999px; }
.menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lang { margin-left: auto; display: flex; gap: 4px; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px; }
.lang a { color: #C9D2FF; text-decoration: none; font-size: 14px; padding: 6px 11px; border-radius: 999px; }
.lang a[aria-current] { background: #fff; color: var(--navy); }
.burger { display: none; margin-left: auto; background: var(--sun); border: 0; border-radius: 12px; padding: 10px 14px; font: 700 15px var(--body); color: var(--navy); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--cream); clip-path: ellipse(75% 100% at 50% 100%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; padding-top: 50px; padding-bottom: 90px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .y { color: var(--sun); }
.hero .lead { font-size: 20px; color: #D5DCFF; margin: 20px 0 28px; max-width: 30em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--body); padding: 16px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-2px, -2px); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 4px 4px 0 var(--coral); }
.btn-sun:hover { box-shadow: 6px 6px 0 var(--coral); }
.btn-line { color: #fff; border: 2px solid rgba(255, 255, 255, .35); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 4px 4px 0 var(--sun); }
.hero-note { position: absolute; left: 6%; bottom: 74px; transform: rotate(-4deg); }
.hero .hand { color: var(--sun-2); }
.map-wrap { position: relative; }
#europe { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
.map-wrap { max-width: 620px; margin: 0 auto; width: 100%; }
.sticker { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 10px; }
.sticker .big { font: 600 26px/1 var(--display); color: var(--navy); }
.sticker.s1 { left: -2%; top: 12%; transform: rotate(-5deg); }
.sticker.s2 { right: 2%; bottom: 10%; transform: rotate(4deg); }
.sticker .em { font-size: 26px; }

/* ---------- Secciones ---------- */
section { padding: 70px 0; }
.kicker { display: inline-block; font: 700 15px/1 var(--body); background: var(--sky); color: var(--navy-2); padding: 8px 14px; border-radius: 999px; margin-bottom: 16px; }
.kicker.sun { background: var(--sun-2); color: var(--ink); }
.kicker.coral { background: var(--coral-bg); color: #B23A2D; }
.intro { max-width: 760px; margin: 16px 0 34px; font-size: 19px; color: var(--muted); }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }

/* Comprobador */
.checker { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: 0 2px 0 var(--line), 0 20px 50px rgba(23, 37, 84, .10); margin-top: -40px; position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 16px; align-items: end; }
.checker h2 { font-size: 24px; }
.checker p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.checker label { font-weight: 700; font-size: 14px; color: var(--muted); display: block; }
.checker select { margin-top: 6px; width: 100%; font: 700 17px var(--body); color: var(--ink); padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--cream); appearance: none; }
.checker select:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255, 200, 61, .35); }
.answer { grid-column: 1 / -1; display: flex; gap: 16px; align-items: flex-start; background: var(--mint); border-radius: 18px; padding: 18px 20px; }
.answer.wait { background: #FFF1C9; }
.answer.stop { background: var(--coral-bg); }
.answer .emoji { font-size: 30px; line-height: 1; }
.answer b.v { font: 500 20px/1.2 var(--display); display: block; margin-bottom: 4px; }
.answer p { margin: 0; font-size: 17px; }

/* Lo esencial */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { background: #fff; border-radius: var(--r); padding: 24px; position: relative; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.fact:nth-child(2) { background: var(--sky); }
.fact:nth-child(3) { background: var(--sun-2); }
.fact:nth-child(4) { background: var(--mint); }
.fact .n { font: 700 44px/1 var(--display); letter-spacing: -.04em; }
.fact p { margin: 10px 0 0; font-size: 16px; font-weight: 600; }
.fact .ico { position: absolute; right: 18px; top: 16px; font-size: 30px; }

/* Infografía de pasos */
.steps-box { background: #fff; border-radius: 30px; padding: 40px 34px 30px; border: 2px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.steps svg.route { position: absolute; left: 6%; right: 6%; top: 44px; width: 88%; height: 40px; overflow: visible; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step .bubble { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; position: relative; border: 3px solid var(--ink); }
.step:nth-child(2) .bubble { background: var(--sky); }
.step:nth-child(3) .bubble { background: var(--sun-2); }
.step:nth-child(4) .bubble { background: var(--mint); }
.step:nth-child(5) .bubble { background: var(--coral-bg); }
.step .num { position: absolute; top: -6px; right: -6px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 15px/32px var(--display); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
.steps-foot { margin-top: 26px; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.postit { background: var(--sun-2); padding: 12px 18px; transform: rotate(-1.5deg); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); font-size: 16px; font-weight: 700; max-width: 560px; }
.postit .hand { font-size: 17px; color: var(--ink); margin-right: 6px; }

/* Mapa mundial */
.world-card { background: var(--navy); color: #fff; border-radius: 30px; padding: 30px; }
#world { width: 100%; height: auto; display: block; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; font-size: 15px; margin-top: 10px; color: #D5DCFF; }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; vertical-align: -3px; margin-right: 7px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.list-card { background: #fff; border-radius: var(--r); padding: 24px; border: 2px solid var(--line); }
.list-card h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { text-decoration: none; font-weight: 700; font-size: 15px; padding: 7px 13px; border-radius: 999px; background: var(--cream); color: var(--ink); border: 1.5px solid var(--line); }
.chips a:hover { background: var(--sun-2); border-color: var(--sun); }
.chips .more { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Comparativa */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.vs-col { background: #fff; border-radius: var(--r); padding: 28px; border: 2px solid var(--ink); }
.vs-col.etias { box-shadow: 6px 6px 0 var(--sun); }
.vs-col.visa { box-shadow: 6px 6px 0 var(--coral); }
.vs-col h3 { font-size: 26px; margin-bottom: 14px; }
.vs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.vs-col li { display: flex; gap: 10px; font-weight: 600; }
.vs-col li span { flex: none; }
.vs-mid { display: grid; place-items: center; padding: 0 18px; }
.vs-mid b { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; font: 600 20px var(--display); transform: rotate(-10deg); }

/* Cronología */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; border-top: 3px dashed var(--navy); opacity: .35; }
.tl { position: relative; text-align: center; }
.tl .dot { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); display: grid; place-items: center; font: 600 15px var(--display); position: relative; z-index: 1; }
.tl.past .dot { background: var(--sky); }
.tl.now .dot { background: var(--sun); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(255, 200, 61, .35); }
.tl.done .dot { background: var(--mint); }
.tl b { display: block; font-size: 16px; }
.tl p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

/* Aviso estafas */
.scam { background: #D23B2C; color: #fff; border-radius: 30px; padding: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.scam .big-emoji { font-size: 56px; }
.scam h2 { font-size: 28px; }
.scam p { margin: 8px 0 0; font-size: 18px; color: #fff; }
.scam .btn { background: #fff; color: #B23A2D; box-shadow: 4px 4px 0 var(--ink); }

/* Aviso por email */
.notify { background: var(--sky); border-radius: 30px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.notify form { display: grid; gap: 12px; }
.notify input, .notify select { font: 700 17px var(--body); padding: 15px 18px; border-radius: 14px; border: 2px solid #BCD3F5; background: #fff; color: var(--ink); width: 100%; }
.notify small { color: var(--muted); font-size: 14px; }

/* Guías con imagen */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border-radius: var(--r); overflow: hidden; border: 2px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s ease; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px) rotate(-.4deg); }
.post .img { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.post .img .tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.post .img .ph { position: absolute; right: 12px; bottom: 10px; font-size: 12px; font-weight: 700; color: rgba(30, 27, 58, .55); background: rgba(255,255,255,.7); padding: 3px 8px; border-radius: 8px; }
.post .body { padding: 20px 22px 24px; }
.post h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.25; }
.post p { font-size: 16px; color: var(--muted); margin: 0; }

/* Pie */
.footer { background: var(--navy); color: #C9D2FF; padding: 60px 0 30px; margin-top: 30px; font-size: 16px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer h3 { color: #fff; font: 500 16px var(--display); margin: 0 0 14px; }
.footer a { display: block; color: #C9D2FF; font-weight: 600; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--sun); }
.legal { margin-top: 40px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .07); display: flex; gap: 14px; align-items: center; }
.legal .badge-legal { flex: none; background: var(--sun); color: var(--navy); font: 600 13px/1.1 var(--display); padding: 12px; border-radius: 14px; transform: rotate(-6deg); text-align: center; }

.ad { border: 2px dashed #DCCFB7; border-radius: 18px; color: #7A6B52; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: grid; place-items: center; min-height: 110px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .menu { display: none; }
  .burger { display: inline-block; margin-left: 0; }
  .lang { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 80px; }
  .hero-note { display: none; }
  .checker { grid-template-columns: 1fr 1fr; }
  .checker .head { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .timeline::before { display: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .topbar { font-size: 13px; }
  .header .wrap { height: 64px; gap: 10px; }
  .lang a:not([aria-current]) { display: none; }
  .hero .wrap { padding-top: 30px; }
  .hero .lead { font-size: 18px; }
  .hero h1 { font-size: 36px; }
  .sticker { padding: 8px 12px; font-size: 13px; }
  .sticker .big { font-size: 20px; }
  section { padding: 50px 0; }
  .checker { grid-template-columns: 1fr; padding: 22px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact { padding: 18px; }
  .fact .n { font-size: 32px; }
  .fact .ico { font-size: 22px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .steps svg.route { display: none; }
  .steps-box { padding: 30px 18px; }
  .world-card { padding: 16px; border-radius: 22px; }
  .cols-2, .posts, .notify { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; gap: 14px; }
  .vs-mid { padding: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .scam { grid-template-columns: 1fr; text-align: center; padding: 26px; }
  .notify { padding: 26px; }
  .footer .cols { grid-template-columns: 1fr; }
}


/* ---------- Ilustraciones (Replicate) ---------- */
.fact .ico { width: 92px; height: 92px; border-radius: 20px; top: 14px; right: 14px; object-fit: cover; font-size: 0; }

.step .bubble .bubble-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.step .num { z-index: 2; }
.post .img img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scam-img img { width: 120px; height: 120px; border-radius: 24px; display: block; object-fit: cover; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.notify-img { width: 110px; height: 110px; border-radius: 26px; display: block; margin-bottom: 16px; object-fit: cover; }
@media (max-width: 720px) { .scam-img img { margin: 0 auto; } .fact .ico { width: 60px; height: 60px; } }
.footer a.logo { display: flex; color: #fff; }
.fact { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n ico" "p ico"; column-gap: 14px; align-items: center; }
.fact .n { grid-area: n; }
.fact p { grid-area: p; }
.fact .ico { grid-area: ico; position: static; }

/* ---------- Páginas interiores ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: 10px 14px; z-index: 99; }
.skip:focus { left: 10px; top: 10px; }
.menu a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.mobile-nav { display: none; background: var(--navy); padding: 6px 16px 18px; }
.mobile-nav a { display: block; color: #E6EAFF; text-decoration: none; font-weight: 700; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav.open { display: block; }
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--cream); clip-path: ellipse(75% 100% at 50% 100%); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; align-items: center; padding-top: 26px; padding-bottom: 64px; position: relative; z-index: 1; }
.page-hero.noimg .wrap { grid-template-columns: 1fr; }
.crumbs { font-size: 15px; color: #B9C4F5; margin-bottom: 14px; }
.crumbs a { color: #DDE3FF; font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 7px; opacity: .5; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.page-hero .lead { color: #D5DCFF; font-size: 19px; margin: 14px 0 0; max-width: 40em; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 15px; color: #B9C4F5; }
.page-hero .meta b { color: #fff; }
.page-hero .hero-img img { width: 100%; height: auto; border-radius: 22px; display: block; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-top: 30px; padding-bottom: 20px; }
.answer-box { background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--sun); border-radius: var(--r); padding: 24px 26px; margin-bottom: 10px; }
.answer-box .label { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; background: var(--sun-2); border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; }
.answer-box p { font-size: 19px; margin: 0 0 10px; }
.answer-box p:last-child { margin: 0; }
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 46px 0 14px; scroll-margin-top: 20px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: #2D2A4A; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose figure { margin: 26px 0; }
.prose figure img { width: 100%; height: auto; border-radius: 18px; display: block; }
.prose figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 16px; margin: 18px 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--sky); font-weight: 700; color: var(--navy); }
.callout { border-radius: 18px; padding: 18px 20px; margin: 22px 0; background: var(--sun-2); }
.callout.info { background: var(--sky); }
.callout.ok { background: var(--mint); }
.callout.warn { background: var(--coral-bg); }
.callout p { margin: 0; }
.callout b:first-child { display: block; margin-bottom: 4px; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 60px; position: relative; margin: 0 !important; }
.steps-list li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 15px/32px var(--display); text-align: center; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.faq-block details { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 18px; margin: 10px 0; }
.faq-block summary { cursor: pointer; list-style: none; font-weight: 700; padding: 14px 30px 14px 0; position: relative; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; position: absolute; right: 0; top: 9px; font: 600 26px/1 var(--display); color: var(--navy-2); }
.faq-block details[open] summary::after { content: "–"; }
.faq-block details > div { padding-bottom: 14px; }
.faq-block details p { margin: 0 0 8px; }
.sources { font-size: 15px; color: var(--muted); }
.sources a { font-weight: 600; }
.disclaimer-note { font-size: 15px; color: var(--muted); border-top: 2px dashed var(--line); padding-top: 14px; margin-top: 30px; }
.side { display: flex; flex-direction: column; gap: 18px; }
.side-sticky { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; }
.toc { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.toc h2, .side-card h2 { font-size: 15px; margin: 0 0 10px; color: var(--muted); font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 18px; font-size: 15px; }
.toc li { margin: 7px 0; }
.toc a { color: var(--ink); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--navy-2); text-decoration: underline; }
.side-card { background: var(--navy); color: #E9ECFF; border-radius: 18px; padding: 20px; }
.side-card h2 { color: var(--sun-2); }
.side-card p { font-size: 16px; margin: 0 0 14px; }
.side-card .btn { width: 100%; justify-content: center; }
.side-card img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 12px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.related a { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.related a::after { content: "→"; color: var(--navy-2); }
.related a:hover { border-color: var(--sun); }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-cards a { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.grid-cards a:hover { border-color: var(--sun); background: #FFFDF6; }
.grid-cards .cc { font: 700 12px/1 var(--display); background: var(--sky); color: var(--navy); border-radius: 8px; padding: 6px 7px; min-width: 34px; text-align: center; }
.grid-cards small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.badge.yes { background: var(--mint); color: #0B6346; }
.badge.no { background: var(--coral-bg); color: #A33426; }
.badge.wait { background: #FFF1C9; color: #7A5300; }
.badge.neutral { background: var(--sky); color: var(--navy); }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.status-grid div { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.status-grid small { display: block; color: var(--muted); font-weight: 700; font-size: 13px; margin-bottom: 6px; }
/* Herramientas */
.tool-box { background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--sun); border-radius: var(--r); padding: 24px; margin: 6px 0 20px; }
.tool-box label { display: block; font-weight: 700; font-size: 15px; color: var(--muted); margin: 0 0 6px; }
.tool-box select, .tool-box input { width: 100%; font: 600 17px var(--body); color: var(--ink); padding: 13px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); }
.tool-box select:focus, .tool-box input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255,200,61,.35); }
.tool-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 12px; }
.trip-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.trip-row button, .tool-box .btn-mini { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font: 700 15px var(--body); cursor: pointer; color: var(--ink); }
.result-box { margin-top: 16px; border-radius: 16px; padding: 18px 20px; background: var(--mint); }
.result-box.warn { background: var(--coral-bg); }
.result-box.wait { background: #FFF1C9; }
.result-box b.v { display: block; font: 700 21px/1.25 var(--display); margin-bottom: 6px; }
.result-box p { margin: 0 0 6px; }
.meter { height: 14px; background: #fff; border-radius: 999px; overflow: hidden; border: 2px solid var(--ink); margin: 10px 0; }
.meter i { display: block; height: 100%; background: var(--sun); }
/* Mapas */
.map-card { background: var(--navy); border-radius: 22px; padding: 16px; margin: 18px 0; }
.map-card svg, .map-card img { width: 100%; height: auto; display: block; }
.map-card .legend { margin-top: 8px; }
@media (max-width: 1040px) {
  .layout { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .hero-img { max-width: 360px; }
  .status-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .related, .grid-cards { grid-template-columns: 1fr; }
  .tool-row, .trip-row { grid-template-columns: 1fr; }
  .prose table { font-size: 15px; }
  .answer-box p { font-size: 17px; }
}
.map-wrap svg, .map-wrap img { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
.checker label { display: block; }
.checker select optgroup { font-weight: 700; }

/* Japonés: cortes de línea por frase y sin signos colgando */
:lang(ja) { line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.layout > * { min-width: 0; }
.prose table { max-width: 100%; }
.fact { min-width: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
