/* SimuCanarias · seo.css — static guide / exam pages. GENERATED by tools/build_seo.py: edit there.
   Builds on assets/app.css tokens (glass dark/light). Mobile-first, no fixed widths. */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--fg); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
header.site nav.top .btn.small { white-space: nowrap; }

.seo { padding-top: 14px; padding-bottom: 8px; }
.seo > section { margin: 30px 0; }
.seo > section > h2 { margin-bottom: 12px; }
.sec h2 { margin-top: 0; }
.sec h3 { margin-top: 18px; }
.sec ul, .sec ol { padding-left: 22px; margin: 0 0 12px; }
.sec li { margin: 6px 0; }
.sec ul.check { padding-left: 0; }

/* breadcrumb */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; padding: 0; margin: 4px 0 6px; font-size: .86rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

/* hero */
.hero { padding: 6px 0 4px; }
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0;
  font: 600 .8rem/1.4 var(--font-body); letter-spacing: .01em; color: var(--brand);
  padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); border: 1px solid var(--brand-line);
}
.hero .lead { margin-bottom: 4px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.when { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.when strong { color: var(--fg); font-weight: 600; }
.when .days { color: var(--brand); font-weight: 600; }
.srcline { font-size: .86rem; color: var(--muted); margin: 10px 0 0; overflow-wrap: anywhere; }
.srcline a { color: var(--muted); }
.srcline a:hover { color: var(--fg); }

/* buttons */
.btn.xl { min-height: 56px; padding: 14px 24px; font-size: 1.06rem; border-radius: 16px; }
@media (max-width: 560px) {
  .cta-row .btn, .cta-band .btn, .pass .btn { width: 100%; }
}

/* cta band + pass card */
.cta-band { text-align: center; border-color: var(--brand-line); background: linear-gradient(135deg, var(--brand-soft), transparent 70%), var(--glass); }
.cta-band .cta-title { font: 800 clamp(1.2rem, 4vw, 1.5rem)/1.25 var(--font-head); letter-spacing: -.015em; margin: 0 0 8px; color: var(--fg); }
.cta-band .cta-row { justify-content: center; margin: 16px 0 8px; }
.cta-band .small { margin: 6px 0 0; }
.pass { border-color: color-mix(in srgb, var(--sun) 45%, transparent); background: linear-gradient(135deg, var(--sun-soft), transparent 70%), var(--glass); }
.pass .kicker { font: 700 .82rem/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--warn); margin: 0 0 2px; }
.pass .price { margin: 4px 0 8px; }

/* tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.t caption { text-align: left; font: 700 .98rem/1.3 var(--font-head); padding: 0 0 6px; color: var(--fg); }
.t th, .t td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.t th { font: 600 .8rem/1.3 var(--font-body); color: var(--muted); }
.t .n { text-align: right; white-space: nowrap; }
.t tr:last-child td { border-bottom: 0; }
@media (max-width: 400px) { table.t { font-size: .86rem; } .t th, .t td { padding: 8px 5px; } }
@media (max-width: 359px) {
  table.t { font-size: .8rem; } .t th, .t td { padding: 7px 3px; }
  header.site .logo { font-size: 1rem; gap: 8px; }
  header.site nav.top .btn.small { padding: 8px 10px; font-size: .86rem; }
}

/* quotes from the bases */
blockquote.base { margin: 12px 0; padding: 12px 16px; border-left: 4px solid var(--brand); background: var(--inset); border-radius: 0 12px 12px 0; }
blockquote.base p { margin: 0 0 4px; }
blockquote.base footer { font-size: .84rem; color: var(--muted); }

/* questions (static, read-only) */
.qa {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 12px 0; box-shadow: var(--shadow); scroll-margin-top: 16px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.qa-stem { font-weight: 500; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 10px; }
.qa .num { font-family: var(--font-head); font-weight: 800; color: var(--brand); margin-right: 4px; }
.opts { list-style: none; padding: 0; margin: 0; }
.opts li {
  display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; padding: 10px 12px;
  background: var(--inset); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.5;
}
.opts li > .t-opt { flex: 1; min-width: 0; overflow-wrap: anywhere; padding-top: 1px; }
.opts .l {
  flex: none; display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 6px;
  border-radius: 8px; background: var(--glass-2); border: 1px solid var(--line); color: var(--muted);
  font: 700 .84rem/1 var(--font-head);
}
.opts li.ok { border-color: var(--ok); background: var(--ok-soft); }
.opts li.ok .l { background: var(--ok); color: var(--bg); border-color: transparent; }
.opts li.ok::after {
  content: "✓"; flex: none; align-self: center; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--ok); color: var(--bg); font: 800 .75rem/1 var(--font-body);
}
.qa-key { margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.qa-key strong { color: var(--ok); }
body.hide-ans .opts li.ok { border-color: var(--line); background: var(--inset); }
body.hide-ans .opts li.ok .l { background: var(--glass-2); color: var(--muted); border-color: var(--line); }
body.hide-ans .opts li.ok::after, body.hide-ans .qa-key { display: none; }
.toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 4px 0; cursor: pointer; font-weight: 500; }
.toggle input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex: none; }
.navwrap .navgrid a { text-decoration: none; }

/* reveal + faq */
details.reveal { margin: 10px 0 0; border-top: 1px dashed var(--line); padding-top: 6px; }
details.reveal > summary, details.faq > summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font-weight: 600; -webkit-tap-highlight-color: transparent;
}
details.reveal > summary { color: var(--brand); }
details.reveal > summary::-webkit-details-marker, details.faq > summary::-webkit-details-marker { display: none; }
details.reveal > summary::before, details.faq > summary::before {
  content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px 0 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s ease; opacity: .75;
}
details.reveal[open] > summary::before, details.faq[open] > summary::before { transform: rotate(45deg); }
details.faq { border-bottom: 1px solid var(--line); padding: 2px 0; }
details.faq:last-child { border-bottom: 0; }
details.faq > div { padding: 0 0 10px 22px; }
details.faq > div p:last-child { margin-bottom: 0; }

/* link cards */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
a.lcard {
  display: block; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass);
  color: var(--fg); text-decoration: none; transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
a.lcard:hover { border-color: var(--brand-line); background: var(--glass-2); transform: translateY(-1px); }
a.lcard strong { display: block; font: 700 1.02rem/1.3 var(--font-head); margin-bottom: 4px; }
a.lcard span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; }
a.lcard span::after { content: " →"; color: var(--brand); }

/* share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 6px; }
.share > span { width: 100%; font-weight: 600; }
.share .btn { flex: 1 1 auto; }

/* calculator */
.calc fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px 14px; margin: 0 0 14px; min-width: 0; background: var(--inset); }
.calc legend { font: 700 1rem/1.3 var(--font-head); padding: 0 6px; }
.calc .fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc label, .calc .flabel { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 4px; }
.calc input, .calc output.box {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px; font: 600 1.1rem/1.2 var(--font-body);
  font-variant-numeric: tabular-nums; color: var(--fg); background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
}
.calc output.box { display: flex; align-items: center; color: var(--muted); }
.calc input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.calc .res { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 0 4px; }
.calc .mark { font: 800 1.9rem/1.1 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc .detail { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.calc .verdict { margin-top: 4px; }
.calc .mean { font: 800 2.2rem/1.1 var(--font-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* countdown */
.cd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 18px 0 0; }
.cd-card { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cd-card.main { border-color: var(--brand-line); background: linear-gradient(135deg, var(--brand-soft), transparent 75%), var(--glass); }
.cd-card .who { font-size: .86rem; color: var(--muted); margin: 0 0 4px; }
.cd-card .day { font: 800 1.25rem/1.25 var(--font-head); margin: 0; }
.cd-card .cd { display: block; margin-top: 6px; font: 700 .98rem/1.3 var(--font-body); color: var(--brand); font-variant-numeric: tabular-nums; }

/* footer */
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 0 0 14px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links a[aria-current] { color: var(--fg); }
