/*
THESIS:         Vet prices read like a shelf label — one big number, the range as the "unit price"
                line under it. Refuses the vet-chain look (teal, paws, stock puppy) and its
                opposite (dark data terminal).
OWN-WORLD:      warm paper, dark ink, hairline-ruled passport rows; label-yellow spent ONLY on
                prices, so the yellow column is always "what it costs". One variable face
                (Archivo): condensed for figures, normal width for reading.
STORY:          understand what a procedure costs here → trust it (named clinics, dates,
                sources) → call the right clinic.
FIRST VIEWPORT: H1 + search + the "loom vajab abi kohe" row on 390; price table starts
                immediately below. Call button is the first action on every profile.
FORM:           A · Hinnasilt — beat B (Valve) because price is what nobody else answers;
                beat C (standard) because C is indistinguishable from the chains.
*/
@font-face { font-family: "Archivo"; src: url(fonts/archivo-latin.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: oklch(97.6% 0.009 85);
  --paper-2: oklch(94.4% 0.014 85);
  --ink: oklch(23% 0.014 60);
  --ink-2: oklch(43% 0.013 60);
  --rule: oklch(85.5% 0.014 80);
  --label: oklch(90.5% 0.155 97);
  --label-ink: oklch(21% 0.02 80);
  --go: oklch(47% 0.12 150);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem;
  --t0: .875rem; --t1: 1.125rem; --t2: 1.40625rem; --t3: 1.7578rem; --t4: 2.197rem;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: oklch(18.5% 0.01 70); --paper-2: oklch(23% 0.012 70);
    --ink: oklch(94% 0.01 85); --ink-2: oklch(75% 0.012 80); --rule: oklch(34% 0.012 70);
    --go: oklch(79% 0.14 150);
  }
}
:root[data-theme="dark"] {
  --paper: oklch(18.5% 0.01 70); --paper-2: oklch(23% 0.012 70);
  --ink: oklch(94% 0.01 85); --ink-2: oklch(75% 0.012 80); --rule: oklch(34% 0.012 70);
  --go: oklch(79% 0.14 150);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t1)/1.55 var(--font);
  font-stretch: 100%; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-stretch: 84%; font-weight: 760; line-height: 1.12; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.25rem); }
h2 { font-size: var(--t3); margin-top: var(--s5); margin-bottom: var(--s2); }
h3 { font-size: var(--t2); margin-top: var(--s4); margin-bottom: var(--s1); }
p { margin: 0 0 var(--s2); max-width: 70ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--t0); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: var(--s1) var(--s2); z-index: 9; }
.skip:focus { left: var(--s2); }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 var(--s4); } }
.i { flex: none; vertical-align: -.2em; }

/* header */
.top { border-bottom: 1px solid var(--rule); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1) var(--s3); padding-block: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.2rem; font-stretch: 88%; letter-spacing: -.01em; }
.brand b { font-weight: 800; }
.brand-mark { width: 1.35rem; height: 1rem; background: var(--label); box-shadow: inset 0 -3px 0 var(--label-ink); }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: 1rem; }
.nav a { text-decoration: none; padding-block: .35rem; }
.nav a:hover { text-decoration: underline; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: var(--s3) 0 0; font-size: var(--t0); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .25rem; color: var(--rule); }

/* hero */
.hero-in { padding-block: var(--s5) var(--s4); }
.hero h1 { max-width: 19ch; }
.lede { font-size: 1.25rem; line-height: 1.5; margin-top: var(--s2); color: var(--ink); max-width: 60ch; }
.hero-search { display: flex; gap: var(--s1); margin-top: var(--s3); max-width: 40rem; }
.search { display: flex; align-items: center; gap: .5rem; flex: 1; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px; padding: 0 .75rem; min-height: 3rem; }
.search input { all: unset; flex: 1; min-width: 0; font: inherit; color: var(--ink); padding-block: .6rem; }
.search input::placeholder { color: var(--ink-2); opacity: 1; }
.search:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.search-big { min-height: 3.4rem; }
.hero-search button, .btn-call { background: var(--ink); color: var(--paper); }
.hero-search button { font: 700 1.05rem var(--font); border: 0; border-radius: 3px; padding: 0 1.4rem; cursor: pointer; }
.hero-urgent { margin-top: var(--s3); max-width: 40rem; }
.hero-urgent a { display: flex; gap: .75rem; align-items: center; text-decoration: none; padding: .85rem 1rem; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper-2); }
.hero-urgent a span { flex: 1; }
.hero-urgent a:hover span b { text-decoration: underline; }

/* sections */
.band { border-top: 1px solid var(--rule); }
.band > .wrap { padding-block: var(--s2) var(--s5); }
.band h2:first-child { margin-top: var(--s4); }
.head > .wrap { padding-block: var(--s4) var(--s5); }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; margin-top: var(--s2); }

/* price tables: the yellow column is always the price */
.ptable { width: 100%; border-collapse: collapse; margin-block: var(--s2); }
.ptable th, .ptable td { text-align: left; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ptable thead th { font-size: var(--t0); font-weight: 600; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.ptable tbody th { font-weight: 500; }
.ptable tbody th .small, .ptable tbody th .src-label { display: block; font-weight: 400; }
.ptable .num { text-align: right; white-space: nowrap; }
.ptable tbody td:first-of-type { background: var(--label); color: var(--label-ink); font-stretch: 76%; font-weight: 750; font-size: 1.2rem;
  padding-inline: .7rem; border-bottom-color: color-mix(in oklch, var(--label-ink) 25%, var(--label)); }
.ptable tbody td:first-of-type b { font-weight: inherit; }
.ptable-svc td.small { color: var(--ink-2); }
@media (max-width: 40rem) {
  .ptable { font-size: 1rem; }
  .ptable-svc thead th:nth-child(3), .ptable-svc td.small { display: none; }
  .ptable-prof thead th:nth-child(3), .ptable-prof td:nth-of-type(2) { display: none; }
}
.cmp { font-size: var(--t0); color: var(--ink-2); white-space: nowrap; }
.cmp-lo { color: var(--go); font-weight: 600; }

/* price card (service pages) — the shelf label */
.pcard { display: grid; gap: var(--s3); margin-block: var(--s3) var(--s2); }
@media (min-width: 52rem) { .pcard { grid-template-columns: minmax(18rem, 26rem) 1fr; align-items: start; } }
.pcard-label { background: var(--label); color: var(--label-ink); padding: var(--s2) var(--s3) var(--s3); box-shadow: inset 0 -5px 0 var(--label-ink); display: grid; }
.pcard-k { font-size: var(--t0); font-weight: 650; letter-spacing: .02em; }
.pcard-big { font-stretch: 68%; font-weight: 820; font-size: clamp(3.5rem, 2.5rem + 5vw, 5.5rem); line-height: 1; letter-spacing: -.02em; }
.pcard-sub { font-size: var(--t0); font-weight: 500; margin-top: .4rem; }
.pcard-meta p { margin-bottom: .4rem; }
.hist { margin: var(--s2) 0 0; max-width: 30rem; }
.hist svg { display: block; border-bottom: 1.5px solid var(--ink); }
.hb { fill: var(--ink-2); opacity: .45; }
.hb-m { fill: var(--label); opacity: 1; stroke: var(--label-ink); stroke-width: 1.5; }
.hist figcaption { display: flex; justify-content: space-between; margin-top: .25rem; }

/* hubs */
.hubs { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 var(--s3); }
.hubs a { display: flex; justify-content: space-between; gap: var(--s1); padding: .7rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.hubs a:hover span:first-child { text-decoration: underline; }
.hubs-sm a { font-weight: 450; padding: .5rem 0; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); align-items: center; margin: var(--s3) 0 var(--s2); }
.filters .search { flex: 1 1 18rem; max-width: 30rem; }
.chk { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; cursor: pointer; }
.chk input { width: 1.15rem; height: 1.15rem; accent-color: var(--ink); }
.filter-empty { padding: var(--s3) 0; }

/* clinic rows — fixed slots, every row carries a number */
.cards { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 0 var(--s4); }
.card { display: grid; gap: .3rem; padding: var(--s2) 0 1.1rem; border-top: 1px solid var(--rule); }
.card[hidden] { display: none; }
.card-a { text-decoration: none; }
.card-name { font-weight: 700; font-size: 1.15rem; font-stretch: 90%; line-height: 1.25; }
.card-a:hover .card-name { text-decoration: underline; }
.card-addr { color: var(--ink-2); font-size: 1rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .3rem .75rem; align-items: center; font-size: var(--t0); }
.rate { display: inline-flex; align-items: center; gap: .25rem; }
.i-star { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.open { color: var(--ink-2); display: inline-flex; align-items: center; gap: .35rem; }
.open::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; opacity: .55; }
.open.is-open { color: var(--go); font-weight: 650; }
.open.is-open::before { opacity: 1; }
.tag { border: 1px solid var(--rule); border-radius: 2px; padding: 0 .4rem; color: var(--ink-2); }
.tag-247 { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 650; }
.tag-price { display: none; }
.card-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .35rem; }
.cp { display: grid; }
.cp-l { font-size: .78rem; color: var(--ink-2); }
.cp-v { font-stretch: 76%; font-weight: 720; font-size: 1.05rem; }
.card-noprice { display: block; font-size: var(--t0); color: var(--ink-2); margin-top: .35rem; }
.cards-sm .card-prices { display: none; }

/* profile */
.prof-in { display: grid; gap: var(--s4); padding-block: var(--s3) var(--s5); }
@media (min-width: 60rem) { .prof-in { grid-template-columns: 22rem 1fr; gap: var(--s6); }
  .prof-head { position: sticky; top: var(--s3); align-self: start; } }
.prof-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.6rem); }
.prof-addr { display: flex; gap: .4rem; margin-top: var(--s2); color: var(--ink-2); }
.prof-rate { display: flex; align-items: center; gap: .35rem; margin-bottom: .5rem; }
.open-big { font-size: 1.05rem; margin: .25rem 0 var(--s2); }
.actions { display: grid; gap: var(--s1); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1rem;
  border: 1.5px solid var(--ink); border-radius: 3px; text-decoration: none; font-weight: 650; overflow-wrap: anywhere; }
.btn:hover { background: var(--paper-2); }
.btn-call { font-size: 1.15rem; border-color: var(--ink); }
.btn-call:hover { background: var(--ink); text-decoration: underline; }
.block h2 { margin-top: var(--s4); }
.prof-body > .block:first-child h2 { margin-top: 0; }
.block-247 { border: 1.5px solid var(--ink); padding: var(--s2) var(--s3); margin-bottom: var(--s3); }
.block-247 h2 { margin-top: 0; font-size: var(--t2); }
.hours { list-style: none; padding: 0; margin: 0 0 var(--s1); max-width: 28rem; }
.hours li { display: flex; justify-content: space-between; gap: var(--s2); padding: .45rem .5rem; border-bottom: 1px solid var(--rule); }
.hours li.today { background: var(--paper-2); font-weight: 700; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem var(--s3); margin: 0 0 var(--s1); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }

/* emergency */
.head-urgent .lede b { font-weight: 750; }
.now-line { font-weight: 650; }
.e-list { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.e-card { display: grid; gap: .35rem; align-content: start; border: 1.5px solid var(--ink); padding: var(--s2); }
.e-name { font-weight: 780; font-size: 1.25rem; font-stretch: 86%; }
.e-addr { color: var(--ink-2); font-size: 1rem; }
.btn-block { width: 100%; margin-top: .5rem; }
.faq details { border-bottom: 1px solid var(--rule); padding: .75rem 0; max-width: 46rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: .5rem 0 0; }
.disclaimer { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid var(--rule); font-size: var(--t0); color: var(--ink-2); }

/* prose */
.prose-list { padding-left: 1.2rem; max-width: 68ch; }
.prose-list li { margin-bottom: .6rem; }

/* footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--rule); margin-top: var(--s5); }
.foot-in { padding-block: var(--s4) var(--s5); font-size: var(--t0); color: var(--ink-2); }
.foot-brand { color: var(--ink); font-size: 1.1rem; font-stretch: 88%; }
.foot-brand b { font-weight: 800; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: var(--s2); }

@media (max-width: 30rem) {
  .hero-search { flex-direction: column; }
  .hero-search button { min-height: 3rem; }
  .nav { gap: .1rem 1rem; font-size: .95rem; }
}

/* batch 1 fixes (2026-10-15): hero carries the price shelf on desktop; tables capped */
.hero-prices h2 { margin-top: var(--s5); }
@media (min-width: 64rem) {
  .hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s6); align-items: start; }
  .hero-prices { padding-top: .4rem; }
  .hero-prices h2 { margin-top: 0; font-size: var(--t2); }
  .hero-prices .muted { font-size: 1rem; }
}
.head .ptable:not(.ptable-svc), .band .ptable { max-width: 48rem; }
.ptable-prof .cmp { display: block; font-stretch: 100%; font-size: .78rem; font-weight: 600; margin-top: .1rem; color: color-mix(in oklch, var(--label-ink) 75%, var(--label)); }
.ptable-prof .cmp-lo { color: var(--label-ink); }
.ptable-prof tbody th { width: 100%; }
.ptable-svc td.small { padding-left: .9rem; }
@media (max-width: 30rem) {
  .ptable th, .ptable td { padding-right: .45rem; }
  .ptable tbody th { overflow-wrap: anywhere; hyphens: auto; }
  .ptable td.num.muted { white-space: normal; }
  .ptable thead th:nth-child(4), .ptable tbody td:nth-of-type(3) { display: none; }
  .ptable tbody td:first-of-type { font-size: 1.05rem; padding-inline: .5rem; }
}

/* review batch (fresh-context review 2026-10-15) */
.open[hidden], .open:empty { display: none; }
.card { align-content: start; }
.card-name { margin: 0; font-size: var(--t1); font-stretch: 90%; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; }
.card-meta { font-size: 1rem; }
.cp-l { font-size: var(--t0); }
.cp-v { font-size: var(--t1); }
.cp-more { font-size: var(--t0); color: var(--ink-2); }
.card-noprice { display: block; font-size: var(--t0); color: var(--ink-2); margin-top: .35rem; }
.card[data-open] .tag-247 { display: none; }
.ptable-prof .cmp { font-size: var(--t0); }
.btn-call, .open-big { font-size: var(--t1); }
.e-name { font-size: var(--t2); }
.open-big { display: inline-flex; flex-wrap: wrap; gap: .25rem .5rem; color: var(--ink); font-weight: 650; padding: .25rem .6rem;
  border: 1.5px solid currentColor; border-radius: 2px; margin: var(--s2) 0 var(--s1); }
.open-big.is-open { color: var(--go); }
.open-big a { font-weight: 650; }
.ptable tbody td:first-of-type { border-bottom: 3px solid var(--paper); }
.ptable tbody th a { display: inline-block; padding-block: .4rem; }
.hb { opacity: 1; fill: color-mix(in oklch, var(--ink-2) 70%, var(--paper)); }
.hb-m { vector-effect: non-scaling-stroke; }
.hist-med { color: var(--ink); font-weight: 600; }
.head h2 + .filters { margin-top: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --label: oklch(80% 0.13 95); }
  :root:not([data-theme="light"]) .pcard-label, :root:not([data-theme="light"]) .brand-mark { box-shadow: inset 0 -5px 0 oklch(60% 0.12 90); } }
:root[data-theme="dark"] { --label: oklch(80% 0.13 95); }
.hb.hb-m { fill: var(--label); }
