/* =====================================================================
   ScubaDahab — site design (2026-10)
   Editorial travel-magazine look: white pages, deep-sea ink, Newsreader serif
   for headlines, Figtree for everything you read or tap. Photos carry colour;
   the interface stays quiet. One accent: anthias pink, used only for "book" actions.
   ===================================================================== */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0e2a3b;        /* deep sea: headings, header text */
  --text: #34474f;       /* body copy */
  --muted: #6a7d86;      /* secondary text */
  --line: #dde6ea;       /* hairlines, borders */
  --mist: #f1f6f7;       /* alternate section background */
  --lagoon: #0c7581;     /* links, scores */
  --lagoon-soft: #e3f2f3;
  --anthias: #d8436a;    /* booking actions only */
  --anthias-dark: #b8335a;
  --deal: #1d7a4c;
  --white: #fff;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-photo: 6px;
  --r-ui: 10px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
small { font-size: .85em; }
s { color: var(--muted); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 450; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.28rem; line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.bg-sand { background: var(--mist); }
.muted { color: var(--muted); font-size: .92rem; }
.lead { font-size: 1.15rem; line-height: 1.55; max-width: 62ch; }
.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.7; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem/1 var(--sans); padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--anthias); color: var(--white); }
.btn-primary:hover { background: var(--anthias-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.footer-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header with dropdowns ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 550; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo img { width: 30px; height: 30px; border-radius: 7px; }
.logo:hover { color: var(--ink); }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav .top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 550; font-size: .97rem; text-decoration: none; background: none; border: 0; font-family: var(--sans); cursor: pointer; }
.main-nav .top:hover, .main-nav li:focus-within > .top, .main-nav .top.current { background: var(--mist); }
.main-nav .caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.drop { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(14,42,59,.35); padding: 10px; display: none; }
.main-nav li:hover > .drop, .main-nav li:focus-within > .drop { display: block; }
.main-nav li:hover > .drop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.drop a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 550; }
.drop a small { display: block; color: var(--muted); font-weight: 400; font-size: .83rem; margin-top: 1px; }
.drop a:hover { background: var(--mist); }
.drop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.nav-cta { margin-left: 8px; }
.menu-chk { position: absolute; opacity: 0; pointer-events: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .menu-chk:checked ~ .mobile-menu { display: block; }
  .mobile-menu { border-top: 1px solid var(--line); padding: 8px 20px 24px; max-height: calc(100vh - 68px); overflow-y: auto; background: var(--white); }
  .mobile-menu details { border-bottom: 1px solid var(--line); }
  .mobile-menu summary { list-style: none; padding: 14px 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: "+"; font-family: var(--sans); color: var(--muted); }
  .mobile-menu details[open] summary::after { content: "–"; }
  .mobile-menu details a { display: block; padding: 8px 0 8px 2px; color: var(--text); text-decoration: none; }
  .mobile-menu details > div { padding-bottom: 12px; }
  .mobile-menu > a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; width: 100%; }
}

/* ---------- page heads ---------- */
.lb-hero { padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.lb-hero h1 { max-width: 20ch; }
.lb-hero p.lead { color: var(--text); }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.fact-row { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.fact-row span { font-size: 1.02rem; color: var(--ink); font-weight: 550; }
.fact-row span b { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }

/* home hero: one big photograph, the memorable moment of the site */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,59,.05) 30%, rgba(14,42,59,.82) 100%); }
.hero .container { position: relative; z-index: 1; padding-bottom: 46px; padding-top: 120px; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 14ch; margin-bottom: .3em; }
.hero p { font-size: 1.18rem; max-width: 52ch; color: rgba(255,255,255,.9); }
.hero .credit { position: absolute; right: 16px; bottom: 10px; z-index: 1; font-size: .74rem; color: rgba(255,255,255,.7); }
.hero .credit a { color: inherit; }
.search { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 10px; background: var(--white); padding: 10px; border-radius: 16px; max-width: 780px; margin-top: 26px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.search label { display: grid; gap: 2px; padding: 6px 12px; border-radius: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.search label:hover { background: var(--mist); }
.search select { font: 550 1rem var(--sans); color: var(--ink); border: 0; background: transparent; padding: 2px 0; width: 100%; min-width: 0; appearance: auto; }
.search .btn { border-radius: 12px; }
@media (max-width: 640px) { .search { grid-template-columns: 1fr; } .hero { min-height: 0; } .hero .container { padding-top: 220px; } }
.stats { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 22px; font-size: .95rem; color: rgba(255,255,255,.88); }
.stats b { color: var(--white); font-weight: 650; }

/* ---------- section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.sec-head .more { font-weight: 600; white-space: nowrap; }

/* ---------- boat cards: magazine listing, not boxed tiles ---------- */
.cards { display: grid; gap: 34px 26px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: grid; gap: 6px; align-content: start; color: var(--text); text-decoration: none; }
a.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); background: var(--mist); margin-bottom: 8px; }
.card h3 { margin: 0; font-size: 1.32rem; }
.card .meta { font-size: .9rem; color: var(--muted); }
.card .rating { font-weight: 700; color: var(--lagoon); }
.card .price { font-weight: 650; color: var(--ink); }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 2px; }
.cards.text .card, .card.box { border: 1px solid var(--line); border-radius: var(--r-ui); padding: 20px; }
a.card.box:hover { border-color: var(--ink); }
.region-title { font-size: 1.5rem; margin: 40px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- destination tiles ---------- */
.dest-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.dest { position: relative; display: block; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); text-decoration: none; background: var(--ink); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest:hover img { transform: scale(1.03); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14,42,59,.85)); }
.dest span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.dest b { display: block; font: 500 1.7rem/1.1 var(--serif); }
.dest small { color: rgba(255,255,255,.85); font-size: .9rem; }
.dest:hover { color: var(--white); }

/* ---------- layout grids ---------- */
.lb-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .lb-grid.two { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; } }
.lb-grid > *, .lb-grid > * > *, main .container > * { min-width: 0; }
.stack { display: grid; gap: 36px; min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--r-ui); padding: 22px; background: var(--white); }
.panel h2 { font-size: 1.4rem; margin-bottom: 12px; }
aside .panel { position: relative; }

/* ---------- booking box (Divebooker) ---------- */
.cx { border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--white); }
.cx-h { display: grid; gap: 4px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cx-h b { font: 500 1.4rem/1.2 var(--serif); color: var(--ink); }
.cx-h span { color: var(--muted); font-size: .92rem; }
.cx-rows { display: grid; }
.cx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.cx-row:hover { background: var(--mist); color: var(--text); }
.cx-row.best { background: var(--lagoon-soft); border-bottom: 0; }
.cx-row.best:hover { background: #d4ebed; }
.cx-n { font-weight: 650; color: var(--ink); }
.cx-n small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.cx-side { display: flex; align-items: center; gap: 14px; }
.cx-p { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-p s { font-weight: 400; font-size: .84rem; margin-left: 4px; }
.cx-cta { background: var(--anthias); color: var(--white); border-radius: 999px; padding: 8px 15px; font-weight: 650; font-size: .88rem; white-space: nowrap; }
.cx-row:hover .cx-cta { background: var(--anthias-dark); }
.cx-badge { display: inline-block; margin-left: 8px; font-size: .72rem; font-weight: 700; color: var(--deal); background: #e1f3e8; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.cx-f { padding: 12px 20px 14px; margin: 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 520px) { .cx-side { flex-direction: column; align-items: flex-end; gap: 6px; } }

/* ---------- ratings, specs ---------- */
.score { display: flex; align-items: baseline; gap: 10px; }
.score .big { font: 500 3rem/1 var(--serif); color: var(--lagoon); font-variant-numeric: tabular-nums; }
table.spec { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec th { text-align: left; font-weight: 500; color: var(--muted); padding: 7px 12px 7px 0; vertical-align: top; white-space: nowrap; border-bottom: 1px solid var(--line); }
.spec td { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 600px; }
.tbl th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 12px 12px 10px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr:hover td { background: #fafcfc; }
.tbl .deal { color: var(--deal); font-weight: 650; font-size: .8rem; display: block; }
.tbl a.go { font-weight: 650; color: var(--anthias); white-space: nowrap; }
.tbl a.go:hover { color: var(--anthias-dark); }
.tbl td.dates { white-space: nowrap; color: var(--ink); font-weight: 550; }
.tbl td a { text-decoration: none; }
.tbl td a:hover { text-decoration: underline; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: .84rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; white-space: nowrap; background: var(--white); }
.chip.port { background: var(--mist); border-color: var(--mist); }
a.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- boat page ---------- */
.boat-photo { margin: 26px 0 0; }
.boat-photo img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-photo); }
.boat-photo figcaption { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.boat-photo figcaption a { color: inherit; }
.take ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.take li { line-height: 1.55; }
.take .suits { background: var(--lagoon-soft); border-radius: 8px; padding: 12px 14px; color: var(--ink); }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 500 1.18rem/1.3 var(--serif); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; max-width: 70ch; }
.picks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.pick { border-top: 2px solid var(--ink); padding: 12px 0 0; color: var(--text); display: grid; gap: 3px; text-decoration: none; }
.pick .lbl { font-size: .84rem; font-weight: 600; color: var(--lagoon); }
.pick b { font: 500 1.25rem/1.2 var(--serif); color: var(--ink); }
a.pick:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- finder ---------- */
.finder { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .finder { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }
.filters { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-ui); }
@media (min-width: 960px) { .filters { position: sticky; top: 88px; } }
.filters label { display: grid; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.filters select, .filters input[type=search] { font: inherit; font-size: .97rem; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 11px; width: 100%; }
.filters input[type=range] { width: 100%; accent-color: var(--lagoon); }
.filters .val { font-weight: 500; color: var(--muted); }
.boat-list { display: grid; }
.boat-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1fr); align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.boat-row.has-img { grid-template-columns: 150px minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1fr); }
a.boat-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.boat-row h3 { margin: 0 0 4px; font-size: 1.3rem; }
.row-img { width: 150px; height: 100px; object-fit: cover; border-radius: var(--r-photo); background: var(--mist); }
.boat-row .card { display: block; }
.boat-row .rating { font: 500 1.7rem/1 var(--serif); color: var(--lagoon); }
.boat-row .price { font-weight: 650; color: var(--ink); }
@media (max-width: 720px) { .boat-row, .boat-row.has-img { grid-template-columns: 1fr; gap: 8px; } .row-img { width: 100%; height: auto; aspect-ratio: 3 / 2; } }
.finder-count { color: var(--muted); font-size: .92rem; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }

/* ---------- notices, disclosure ---------- */
.notice { background: var(--mist); border-radius: var(--r-ui); padding: 16px 18px; font-size: .95rem; }
.disclosure { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 40px 0 0; max-width: 90ch; }
.secondary-strip { background: var(--mist); }
.secondary-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 22px; }
.db-widget { border: 1px solid var(--line); border-radius: var(--r-ui); overflow: hidden; }

/* ---------- guide pages ---------- */
.guide-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.guide-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.guide-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,59,.15), rgba(14,42,59,.8)); }
.guide-hero .container { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 40px; }
.guide-hero h1 { color: var(--white); max-width: 18ch; }
.guide-hero .lead { color: rgba(255,255,255,.92); }
.guide-hero .crumbs, .guide-hero .crumbs a { color: rgba(255,255,255,.8); }
.guide-hero .fact-row { border-top-color: rgba(255,255,255,.3); }
.guide-hero .fact-row span { color: var(--white); }
.guide-hero .fact-row span b { color: rgba(255,255,255,.75); }
.toc { font-size: .95rem; }
.toc a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--lagoon); }
@media (min-width: 960px) { .sticky { position: sticky; top: 88px; } }
.callout { border-left: 3px solid var(--lagoon); padding: 6px 0 6px 18px; margin: 1.4em 0; color: var(--ink); }
.site-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.site-list a { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.site-list img { width: 110px; height: 74px; object-fit: cover; border-radius: var(--r-photo); }
.site-list b { display: block; font: 500 1.25rem/1.2 var(--serif); color: var(--ink); }
.site-list a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.site-list .depth { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .site-list a { grid-template-columns: 84px minmax(0, 1fr); } .site-list img { width: 84px; height: 60px; } .site-list .depth { grid-column: 2; } }
.levels { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.levels > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.levels h3 { margin: 0; }
.levels p { margin: 0; }
@media (max-width: 640px) { .levels > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 0; padding: 60px 0 0; font-size: .95rem; }
.site-footer a, .site-footer .footer-link { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover, .site-footer .footer-link:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); margin-bottom: 12px; }
.footer-grid p { margin: 0 0 8px; }
.footer-brand { font: 500 1.5rem/1.2 var(--serif); color: var(--white); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding: 20px 20px 26px; font-size: .84rem; color: rgba(255,255,255,.6); }

/* ---------- cookie banner (js/site.js) ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(14,42,59,.3); }
@media (min-width: 720px) { .cookie-banner { left: auto; right: 18px; bottom: 18px; max-width: 460px; border: 1px solid var(--line); border-radius: 14px; } }
.cookie-inner { display: grid; gap: 12px; padding: 16px 18px; }
.cookie-text { font-size: .9rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }
.fbox > summary { display: none; }
@media (max-width: 959px) {
  .fbox > summary { display: flex; justify-content: space-between; list-style: none; cursor: pointer; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-ui); font-weight: 650; color: var(--ink); }
  .fbox > summary::-webkit-details-marker { display: none; }
  .fbox > summary::after { content: "+"; color: var(--muted); }
  .fbox[open] > summary { border-radius: var(--r-ui) var(--r-ui) 0 0; }
  .fbox[open] > summary::after { content: "–"; }
  .fbox[open] .filters { border-top: 0; border-radius: 0 0 var(--r-ui) var(--r-ui); }
}
.card .price { white-space: nowrap; }
