/* BestPragueHotels.com design system (huisstijl v1). Tokens first, then
   components. One file, no build step. Every colour, size and radius is a
   token from the brand guide; do not add ad-hoc values. */

@font-face { font-family: "Playfair Display"; src: url(/assets/fonts/playfair.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #1F2937; --night-2: #2B3647; --terracotta: #C65A2E; --terracotta-h: #AD4924; --terracotta-a: #943D1D;
  --gilded: #B89143; --sand: #E8DCC6; --sand-2: #F3ECDF; --moldau: #6B7F6B; --river: #6B8DA9; --paper: #FAF8F4; --bg: #FFFFFF;
  --ink: #17202A; --muted: #6D7278; --line: #E2DACB; --success: #55715E; --warning: #A86B2B; --danger: #8E3B2F;
  --display: "Playfair Display", Georgia, "Times New Roman", serif; --body: Inter, Arial, Helvetica, sans-serif;
  --r-s: 8px; --r-m: 14px; --r-l: 24px; --r-pill: 999px;
  --shadow: 0 12px 35px rgba(31,41,55,.10); --shadow-h: 0 16px 40px rgba(31,41,55,.14);
  --ease: cubic-bezier(.2,.8,.2,1); --t: 180ms;
  --wrap: 1240px; --reading: 760px; --gutter: 32px; --hdr: 88px;
}
@media (max-width: 1100px) { :root { --gutter: 24px; --hdr: 72px; } }
@media (max-width: 600px) { :root { --gutter: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); font-feature-settings: "tnum"; -webkit-font-smoothing: antialiased; }
@media (max-width: 600px) { body { font-size: 16px; } }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-h); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 2px; border-radius: 3px; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
em { font-style: italic; }
hr { border: 0; height: 28px; margin: 36px auto; max-width: 420px; background: url(/assets/img/charles-bridge-rule.svg) center/contain no-repeat; opacity: .7; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 56px; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: 40px; line-height: 1.12; }
h3 { font-size: 30px; line-height: 1.2; font-weight: 600; }
h4, .h4 { font-family: var(--body); font-weight: 700; font-size: 22px; line-height: 1.3; margin: 0 0 .5em; }
@media (max-width: 1000px) { h1 { font-size: 44px; } h2 { font-size: 34px; } h3 { font-size: 26px; } }
@media (max-width: 600px) { h1 { font-size: 40px; } h2 { font-size: 30px; } h3 { font-size: 23px; } h4, .h4 { font-size: 19px; } }
.eyebrow { font: 600 12px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--night-2); max-width: 44em; }
.note { font-size: 15px; color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.reading { max-width: var(--reading); }
.reading h2 { font-size: 30px; margin-top: 1.4em; }
.reading h3 { font-size: 23px; margin-top: 1.2em; }
.reading h2:first-child { margin-top: 0; }
.reading ul li, .reading ol li { margin-bottom: .35em; }
.reading table { margin: 1em 0 1.5em; }

/* --------------------------------------------------------------- icons */
.ic { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; }
.ic-s { width: 18px; height: 18px; display: inline-block; vertical-align: -4px; margin-right: 6px; }
.ic-btn { width: 18px; height: 18px; margin-left: 8px; }
.ic-chip { width: 20px; height: 20px; color: var(--night); }
.ic-badge { width: 12px; height: 12px; margin-right: 4px; stroke-width: 4; }
.ic-tile { width: 32px; height: 32px; color: var(--terracotta); margin-bottom: 10px; }
.ic-chev { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.hero-ic { width: 220px; height: 220px; stroke-width: 1.2; color: var(--gilded); opacity: .8; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-s); border: 2px solid transparent;
  font: 600 16px/1 var(--body); cursor: pointer; text-decoration: none; transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.btn-primary:hover { background: var(--terracotta-h); border-color: var(--terracotta-h); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(198,90,46,.25); }
.btn-primary:active { background: var(--terracotta-a); transform: none; }
.btn-secondary { background: transparent; color: var(--night); border-color: var(--night); }
.btn-secondary:hover { background: var(--night); color: #fff; }
.btn-ghost { background: rgba(250,248,244,.12); color: #fff; border-color: rgba(250,248,244,.5); }
.btn-ghost:hover { background: rgba(250,248,244,.22); color: #fff; }
.btn-s { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--terracotta); cursor: pointer; font: inherit; }
.btn-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------- header */
.skip { position: absolute; left: -999px; top: 8px; background: var(--night); color: #fff; padding: 10px 16px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease); }
.site-header.is-compact { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(31,41,55,.08); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: var(--hdr); transition: min-height var(--t) var(--ease); }
.is-compact .hdr { min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.logo-full { height: 40px; width: auto; }
.logo-compact { height: 40px; width: auto; display: none; }
.is-compact .logo-full { display: none; }
.is-compact .logo-compact { display: block; }
.menu-btn { display: none; align-items: center; gap: 8px; margin-left: auto; background: none; border: 2px solid var(--night); border-radius: var(--r-s); padding: 0 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-top { display: inline-block; padding: 10px 10px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: var(--r-s); white-space: nowrap; }
.nav-top:hover { background: var(--sand-2); text-decoration: none; color: var(--ink); }
.nav-item.is-active > .nav-top { box-shadow: inset 0 -3px 0 var(--terracotta); border-radius: var(--r-s) var(--r-s) 0 0; }
.nav-sub-btn { background: none; border: 0; padding: 8px 4px; cursor: pointer; color: var(--muted); display: inline-flex; border-radius: var(--r-s); }
.nav-sub-btn[aria-expanded="true"] .ic-chev { transform: rotate(180deg); }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); list-style: none; margin: 4px 0 0; padding: 8px; display: none; z-index: 60; }
.nav-sub-btn[aria-expanded="true"] + .nav-sub { display: block; }
.nav-sub li a { display: block; padding: 9px 12px; color: var(--ink); border-radius: var(--r-s); font-size: 15px; }
.nav-sub li a:hover { background: var(--sand-2); text-decoration: none; }
.nav-sub li a[aria-current] { color: var(--terracotta); font-weight: 600; }
.nav-util { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--night); padding: 8px 14px; border: 1.5px solid var(--sand); border-radius: var(--r-pill); }
.nav-util:hover { border-color: var(--night); text-decoration: none; }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .logo-full { height: 34px; }
  .site-nav { display: none; position: fixed; inset: var(--hdr) 0 0 0; background: var(--bg); overflow: auto; padding: 16px var(--gutter) 40px; flex-direction: column; align-items: stretch; gap: 16px; margin: 0; z-index: 49; }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-top { flex: 1; padding: 14px 4px; font-size: 18px; }
  .nav-item.is-active > .nav-top { box-shadow: none; color: var(--terracotta); }
  .nav-sub-btn { padding: 14px; }
  .nav-sub-btn .ic-chev { width: 22px; height: 22px; }
  .nav-sub { position: static; width: 100%; box-shadow: none; border: 0; background: var(--sand-2); margin: 0 0 12px; }
  .nav-util { align-self: flex-start; }
}

/* --------------------------------------------------------------- hero */
.hero { position: relative; background: var(--night); color: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero.has-photo .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,41,55,.92) 0%, rgba(31,41,55,.75) 45%, rgba(31,41,55,.25) 100%); }
.hero-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 8%; background: var(--night) url(/assets/img/cobblestone-pattern.svg) center/360px repeat; }
.hero.is-fallback .hero-fallback { background-color: var(--night); }
.hero.is-fallback .hero-fallback::before { content: ""; position: absolute; inset: 0; background: var(--night); opacity: .96; }
.hero-fallback .hero-ic { position: relative; }
.hero-copy { position: relative; padding: 72px var(--gutter) 64px; max-width: var(--wrap); }
.hero-copy .eyebrow { color: var(--sand); }
.hero-copy h1 { color: #fff; max-width: 15em; margin-bottom: .35em; }
.hero-copy .lead { color: var(--sand-2); max-width: 34em; }
.hero-copy .subline { color: var(--sand-2); font-size: 17px; margin: 0; }
.hero-copy .subline a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.t-detail .hero-copy, .t-trust .hero-copy, .t-guide .hero-copy { padding: 56px var(--gutter) 48px; }
@media (max-width: 1100px) { .hero-copy { padding: 48px var(--gutter) 40px; } .hero-ic { width: 150px; height: 150px; } .hero-copy h1 { max-width: none; } }
@media (max-width: 600px) { .hero-fallback { justify-content: center; padding: 0; } .hero-fallback .hero-ic { opacity: .22; } .hero-copy { padding: 36px var(--gutter) 32px; } }

/* --------------------------------------------------------------- crumbs and sections */
.crumbs { padding-top: 16px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--sand); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--terracotta); }
.sec { padding: 40px 0; }
.sec.intro { padding-top: 32px; }
.sec.intro p:first-child { font-size: 19px; }
.sec-cards, .sec-table, .sec-map, .sec-qp { padding: 48px 0; }
.sec-faq { background: var(--sand-2); padding: 56px 0; }
.sec-trust { border-top: 1px solid var(--line); }
.sec > .wrap > h2 { margin-bottom: 24px; }
.more { margin-top: 20px; font-weight: 600; }
.more .ic-s { margin: 0 0 0 4px; }
.last-checked { font-size: 14px; color: var(--muted); margin: 8px 0 32px; }
.last-checked .ic-s { color: var(--moldau); }
.disclosure { font-size: 14px; color: var(--muted); margin-bottom: 40px; }

/* --------------------------------------------------------------- shortlist card */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.scard { background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); border: 1px solid rgba(31,41,55,.05); }
.scard:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.card-strip { background: var(--night); color: var(--sand); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; font-size: 12px; min-height: 44px; }
.card-strip .checked { white-space: nowrap; color: var(--sand); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--r-pill); font: 700 11px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.badge-s { min-height: 26px; padding: 0 10px; }
.b-shortlisted { background: var(--gilded); color: var(--night); }
.b-inspected { background: var(--moldau); }
.b-quiet { background: var(--river); }
.b-summer { background: var(--terracotta); }
.b-door { background: var(--night-2); border: 1px solid var(--sand); }
.b-realprice { background: var(--warning); }
.b-not { background: transparent; border: 1px solid var(--muted); color: var(--muted); }
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-family: var(--display); font-size: 24px; line-height: 1.2; font-weight: 600; margin: 0; display: flex; gap: 10px; align-items: baseline; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--terracotta); }
.rank { font-family: var(--display); color: var(--terracotta); font-size: 20px; }
.meta { margin: 0; font-size: 14px; color: var(--muted); }
.meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.rating { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.score { font: 700 22px/1 var(--body); color: var(--night); background: var(--sand-2); padding: 6px 10px; border-radius: var(--r-s); }
.reviews { font-size: 14px; color: var(--muted); }
.blurb { margin: 0; font-size: 16px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; background: var(--paper); }
.more-facts summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--terracotta); list-style: none; display: inline-block; }
.more-facts summary::-webkit-details-marker { display: none; }
.more-facts summary::after { content: " +"; }
.more-facts[open] summary::after { content: " \2212"; }
.more-facts[open] summary { margin-bottom: 8px; }
.gn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 14.5px; margin-top: 4px; }
.gn ul { margin: 0; padding-left: 1.1em; }
.gn-h { font: 700 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 6px; }
.good .gn-h { color: var(--success); }
.not .gn-h { color: var(--danger); }
.card-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.card-ctas .btn { flex: 1; min-width: 140px; }
.t-detail .scard { max-width: 520px; }
.t-detail .scard .card-title { font-size: 26px; }

/* --------------------------------------------------------------- tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--sand-2); font: 700 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--night); position: sticky; top: 0; }
.tbl tbody th { font-weight: 600; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--sand-2); }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }
.tbl .sort { background: none; border: 0; padding: 0; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.tbl .sort::after { content: "\2195"; opacity: .4; font-size: 12px; }
.tbl .sort[data-dir="asc"]::after { content: "\2191"; opacity: 1; }
.tbl .sort[data-dir="desc"]::after { content: "\2193"; opacity: 1; }
.qp .tbl td, .qp .tbl th { vertical-align: middle; }
.qp-tbl tbody th { white-space: nowrap; color: var(--terracotta); font-family: var(--display); font-size: 18px; }
.qp-meta { display: block; font-size: 13px; color: var(--muted); }
.qp .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.dist { max-width: 640px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin-bottom: 16px; padding: 16px 20px; background: var(--sand-2); border-radius: var(--r-m); }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--night); }
.filters label.chk { flex-direction: row; align-items: center; gap: 8px; min-height: 42px; }
.filters input[type="search"], .filters select { font: 400 15px var(--body); padding: 0 12px; min-height: 42px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); min-width: 150px; }
.filters input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--terracotta); }
.filters .count { margin-left: auto; font-size: 14px; color: var(--muted); align-self: center; }
.filters .count:empty { display: none; }
.filters:not(.is-live) .count { display: none; }

/* --------------------------------------------------------------- tiles, related, stats */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; min-height: 140px; color: var(--ink); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease); }
.tile:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--sand); color: var(--ink); }
.tile-t { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.tile-l { font-size: 14px; color: var(--muted); }
.tile-wide { min-height: 0; }
.related { padding: 28px 0 8px; border-top: 1px solid var(--line); }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--night); border-radius: var(--r-pill); color: var(--night); font-weight: 600; font-size: 15px; }
.related li a:hover { background: var(--night); color: #fff; text-decoration: none; }
.related li a .ic-s { margin: 0 0 0 6px; }
.stats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.stat-n { display: block; font: 700 30px/1.1 var(--display); color: var(--night); }
.stat-l { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.steps li { margin-bottom: .6em; }

/* --------------------------------------------------------------- faq */
.faq { max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 10px; padding: 0 20px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 600 18px/1.35 var(--body); margin: 0; }
.faq-item summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--terracotta); flex: none; transition: transform var(--t) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; max-width: 70ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- map */
.map { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.map-svg svg { width: 100%; height: auto; border-radius: var(--r-s); }
.datamap text { font-family: var(--body); }
.datamap .mk circle { transition: r var(--t) var(--ease); }
.datamap .mk:hover circle { r: 9; stroke-width: 2.5; }
.map-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-alt { margin-top: 12px; font-size: 14px; }
.map-alt summary { cursor: pointer; color: var(--terracotta); font-weight: 600; }
.map-alt ul { columns: 2; margin-top: 10px; }
@media (max-width: 600px) { .map-alt ul { columns: 1; } }

/* --------------------------------------------------------------- detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.detail-grid > div > h2 { font-size: 30px; margin-top: 32px; }
.editorial { max-width: var(--reading); }
.factwrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; position: sticky; top: 90px; }
.factbox { margin: 0 0 20px; }
.factbox div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.factbox dt { color: var(--muted); font-weight: 500; }
.factbox dd { margin: 0; text-align: right; font-weight: 600; }
.factwrap .btn { width: 100%; }
.fac-list { list-style: none; padding: 0; columns: 2; gap: 24px; }
.fac-list li { display: flex; align-items: flex-start; break-inside: avoid; margin-bottom: 6px; }
.fac-list .ic-s { color: var(--success); margin-top: 3px; }
@media (max-width: 1000px) { .detail-grid { grid-template-columns: 1fr; } .factwrap { position: static; } .fac-list { columns: 1; } }

/* --------------------------------------------------------------- guide */
.guide-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 14px; color: var(--muted); border-left: 2px solid transparent; margin-left: -2px; }
.toc li a:hover { color: var(--terracotta); border-left-color: var(--terracotta); text-decoration: none; }
.guide-body h2 { font-size: 30px; margin-top: 1.5em; }
.guide-body h2:first-child { margin-top: 0; }
.sources { font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

/* --------------------------------------------------------------- A to Z, forms */
.az ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.az a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: var(--r-s); font-weight: 600; font-size: 14px; color: var(--night); background: #fff; }
.az a:hover { background: var(--night); color: #fff; text-decoration: none; }
.form { margin-top: 24px; max-width: 560px; }
.f-row { margin-bottom: 18px; }
.f-row label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.f-row input, .f-row textarea { width: 100%; font: 400 16px var(--body); padding: 12px 14px; border: 1px solid var(--muted); border-radius: var(--r-s); background: #fff; color: var(--ink); }
.f-row input:focus, .f-row textarea:focus { border-color: var(--night); }
.hp { position: absolute; left: -9999px; }
.form-status { display: block; margin-top: 12px; font-weight: 600; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--success); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--night); color: var(--sand-2); margin-top: 48px; font-size: 15px; }
.roofline { overflow: hidden; height: 60px; display: flex; justify-content: center; align-items: flex-end; opacity: .9; }
.roofline img { width: min(100%, 1240px); height: auto; }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding: 40px var(--gutter); }
.f-logo { height: 56px; width: auto; margin-bottom: 20px; }
.f-small { font-size: 13.5px; color: var(--sand); line-height: 1.55; }
.site-footer a { color: var(--sand-2); }
.site-footer a:hover { color: #fff; }
.f-h { font: 700 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--gilded); margin: 0 0 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 8px; }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px var(--gutter) 28px; border-top: 1px solid rgba(232,220,198,.18); font-size: 13.5px; color: var(--sand); }
.f-base p { margin: 0; }
.site-footer .btn-link { color: var(--sand-2); }
@media (max-width: 1000px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .f-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --------------------------------------------------------------- consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-h); padding: 20px; z-index: 80; font-size: 14.5px; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; }

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .scard:hover, .tile:hover, .btn-primary:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .consent, .hero-media, .card-ctas, .filters, .skip { display: none !important; }
  .hero { background: none; color: var(--ink); }
  .hero-copy h1 { color: var(--ink); }
  a { color: inherit; }
}
