/* FixMate customer site — base theme. Plain CSS, no build step, logical properties (RTL needs no audit).
   Mobile first: the phone layout is the default, wider screens are added with min-width queries.
   A theme's theme.css overrides the variables in :root and nothing else. */
:root {
  --brand: #0f766e; --brand-deep: #0b5a54; --brand-soft: #e3f1ee; --brand-ink: #fff;
  --ink: #12312e; --ink-2: #4d6763; --ink-3: #7a908c;
  --page: #f2f6f5; --paper: #fff; --line: #d6e2df; --line-2: #e8efed;
  --signal: #f2b134; --signal-soft: #fdf3dc; --signal-ink: #5b3c00;
  --ok: #17763c; --ok-soft: #e4f4ea; --bad: #b4232a; --bad-soft: #fbe9e9;
  --r: 14px; --r-sm: 9px; --r-pill: 999px;
  --wrap: 1120px;
  --font: Inter, 'FixMate Sinhala', 'FixMate Tamil', ui-sans-serif, system-ui, sans-serif;
  --top-bg: var(--paper); --top-ink: var(--ink); --top-line: var(--line-2);
  --hero-bg: var(--brand); --hero-ink: #fff; --hero-ink-2: #cfe9e4;
  --foot-bg: var(--ink); --foot-ink: #c7d6d3; --foot-head: #fff;
  --shadow: 0 1px 2px rgba(18, 49, 46, .06), 0 4px 14px rgba(18, 49, 46, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--page);
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; }
:lang(si) body, body:lang(si) { line-height: 1.65; }
:lang(ta) body, body:lang(ta) { line-height: 1.65; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.015em; }
h1 { font-size: 1.75rem; font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); } .small { font-size: .875rem; } .num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== Header ===== */
.top { position: sticky; top: 0; z-index: 40; background: var(--top-bg); color: var(--top-ink); border-bottom: 1px solid var(--top-line); }
.top-in { display: flex; align-items: center; gap: 10px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.1rem; color: inherit; text-decoration: none; white-space: nowrap; min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.top .search { display: none; }
.top-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.top-nav a, .top-nav button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); color: inherit; text-decoration: none; font: inherit; font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.top-nav a:hover { background: var(--brand-soft); }
.top-nav .label { display: none; }
.badge { min-width: 1.35em; height: 1.35em; padding: 0 .35em; border-radius: var(--r-pill); background: var(--signal); color: var(--signal-ink); font-size: .75rem; font-weight: 800; display: inline-grid; place-items: center; }

/* The area tag — the one thing every price on the page answers to. */
.subhead { background: var(--top-bg); color: var(--top-ink); border-bottom: 1px solid var(--top-line); }
.subhead .search-row { padding-bottom: 10px; }
.area-tag { display: flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }
.area-tag .pin { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.area-tag .where { color: var(--ink-2); font-weight: 500; }
.area-tag .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.area-tag .change { margin-inline-start: auto; color: var(--brand); font-size: .875rem; }
.area-tag.unset .name { color: var(--bad); }

.search { position: relative; display: flex; height: 46px; border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--paper); overflow: hidden; }
.search:focus-within { border-color: var(--brand); }
.search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1rem; padding: 0 16px; background: none; color: var(--ink); outline: none; }
.search button { flex: none; width: 48px; border: 0; background: none; color: var(--brand); cursor: pointer; display: grid; place-items: center; }

/* ===== Messages ===== */
.flash { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; }
.flash.ok { background: var(--ok-soft); color: var(--ok); }
.flash.err { background: var(--bad-soft); color: var(--bad); }
.errors { background: var(--bad-soft); color: var(--bad); border-radius: var(--r-sm); padding: 12px 14px; margin: 0 0 14px; }
.errors ul { margin: 6px 0 0; padding-inline-start: 20px; }
.field-err { display: block; color: var(--bad); font-size: .875rem; font-weight: 500; margin-top: 4px; }

/* ===== Buttons and fields ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; background: var(--brand); color: var(--brand-ink); }
.btn:hover { background: var(--brand-deep); color: var(--brand-ink); }
.btn-quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--brand-soft); color: var(--ink); }
.btn-danger { background: var(--paper); color: var(--bad); border-color: currentColor; }
.btn-danger:hover { background: var(--bad-soft); color: var(--bad); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; min-height: 44px; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); }
.field textarea { min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.field .hint { display: block; font-size: .85rem; color: var(--ink-2); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.grid2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }

/* ===== Page parts ===== */
main { display: block; }
.page-h { padding: 22px 0 14px; }
.page-h p { margin-top: 6px; color: var(--ink-2); }
.crumbs { font-size: .875rem; color: var(--ink-2); margin-bottom: 8px; }
.crumbs a { color: inherit; }
.panel { background: var(--paper); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.section { margin: 26px 0; }
.section > h2 { margin-bottom: 12px; }
.empty { background: var(--paper); border-radius: var(--r); padding: 22px 18px; text-align: center; }
.empty p + p, .empty p + .btn { margin-top: 10px; }

/* Home: a teal band that asks the one question this site exists to answer. */
.hero { background: var(--hero-bg); color: var(--hero-ink); padding: 28px 0 30px; }
.hero h1 { font-size: 2rem; line-height: 1.12; max-width: 18ch; }
.hero p { color: var(--hero-ink-2); margin-top: 10px; max-width: 46ch; }
.hero .search { margin-top: 18px; border-color: transparent; }
.hero-area { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .14); color: var(--hero-ink); font-weight: 600; text-decoration: none; }
.hero-area:hover { background: rgba(255, 255, 255, .22); color: var(--hero-ink); }

/* Category tiles: a picture when the platform has one, otherwise the initial on a tinted disc. */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; background: var(--paper); border-radius: var(--r);
  color: var(--ink); text-decoration: none; text-align: center; font-weight: 600; font-size: .9rem; line-height: 1.25; min-height: 116px; box-shadow: var(--shadow); }
.tile:hover { outline: 2px solid var(--brand); color: var(--ink); }
.tile .disc { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; overflow: hidden; }
.tile .disc img { width: 100%; height: 100%; object-fit: cover; }

/* Service rows: name and summary on the left, the price in this area on the right. */
.rows { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: var(--ink); text-decoration: none; min-height: 72px; }
.row + .row { border-top: 1px solid var(--line-2); }
.row:hover { background: var(--brand-soft); color: var(--ink); }
.row .thumb { flex: none; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--brand-soft); overflow: hidden; display: grid; place-items: center; color: var(--brand); font-weight: 800; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .what { min-width: 0; flex: 1; }
.row .what strong { display: block; }
.row .what .muted { display: block; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row .price { flex: none; text-align: end; font-weight: 800; white-space: nowrap; }
.row .price small { display: block; font-weight: 500; color: var(--ink-3); font-size: .75rem; }
.price-none { color: var(--ink-3); font-weight: 500; font-size: .85rem; white-space: normal; max-width: 9rem; }
.sub-h { margin: 22px 0 10px; scroll-margin-top: 120px; }

/* Service page */
.svc-head { display: grid; gap: 16px; }
.svc-pic { border-radius: var(--r); overflow: hidden; background: var(--brand-soft); aspect-ratio: 16 / 9; }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.options { list-style: none; margin: 0; padding: 0; }
.option { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.option + .option { border-top: 1px solid var(--line-2); }
.option .what { flex: 1; min-width: 0; }
.option .what .muted { font-size: .875rem; }
.option .p { font-weight: 800; white-space: nowrap; text-align: end; }
.option .p s { display: block; font-weight: 500; color: var(--ink-3); font-size: .8rem; }
@media (max-width: 400px) { .option { flex-wrap: wrap; } .option .what { flex-basis: 100%; } .option .p { margin-inline-start: auto; } }
.cart-line { flex-wrap: wrap; }
.cart-line .what { flex-basis: 100%; }
.cart-line .p { margin-inline-start: auto; }
@media (min-width: 768px) { .cart-line { flex-wrap: nowrap; } .cart-line .what { flex-basis: auto; } }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; flex: none; }
.qty button { width: 40px; height: 44px; border: 0; background: var(--paper); font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--brand); cursor: pointer; }
.qty input { width: 40px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 11px; width: 14px; height: 8px; border-inline-start: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.ticks.no li::before { width: 14px; height: 0; border: 0; border-top: 2.5px solid var(--ink-3); top: 17px; transform: none; }
details.faq { border-top: 1px solid var(--line-2); }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 44px; }
details.faq p { padding: 0 0 14px; color: var(--ink-2); }
.sticky-buy { position: sticky; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px; margin: 0 -16px; }

/* Area picker */
.area-list { display: grid; gap: 8px; }
.area-list button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; text-align: start; cursor: pointer; }
.area-list button:hover, .area-list button[aria-current="true"] { border-color: var(--brand); background: var(--brand-soft); }
.site-map { height: 300px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line-2); z-index: 0; }

/* Booking: day strip and time grid */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 64px; padding: 8px 0; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); text-decoration: none; font-size: .8rem; }
.day strong { font-size: 1.2rem; }
.day[aria-current="true"] { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time { position: relative; }
.time input { position: absolute; opacity: 0; inset: 0; }
.time span { display: grid; place-items: center; min-height: 46px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.time input:checked + span { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.time input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.time input:disabled + span { color: var(--ink-3); background: var(--line-2); text-decoration: line-through; cursor: not-allowed; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
.choice + .choice { margin-top: 8px; }
.choice input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice small { display: block; color: var(--ink-2); }
.totals { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.totals td { padding: 6px 0; vertical-align: top; }
.totals td:last-child { text-align: end; white-space: nowrap; }
.totals tr.sum td { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 1.1rem; }

/* Booking page: the status line and the visit code */
.status-steps { list-style: none; margin: 0; padding: 0; }
.status-steps li { position: relative; padding: 0 0 18px; padding-inline-start: 30px; color: var(--ink-3); }
.status-steps li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.status-steps li::after { content: ""; position: absolute; inset-inline-start: 10px; top: 21px; bottom: 2px; width: 2px; background: var(--line); }
.status-steps li:last-child::after { display: none; }
.status-steps li.done { color: var(--ink); }
.status-steps li.done::before { border-color: var(--brand); background: var(--brand); }
.status-steps li.done::after { background: var(--brand); }
.status-steps li.now { color: var(--ink); font-weight: 700; }
.status-steps li.now::before { border-color: var(--brand); background: var(--paper); box-shadow: 0 0 0 4px var(--brand-soft); }
.code { background: var(--signal-soft); border: 2px dashed var(--signal); border-radius: var(--r); padding: 16px; text-align: center; }
.code strong { display: block; font-size: 2.4rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; color: var(--signal-ink); margin-inline-start: .3em; }
.code p { color: var(--signal-ink); font-size: .9rem; }
.pill { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; background: var(--line-2); color: var(--ink-2); }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.bad { background: var(--bad-soft); color: var(--bad); } .pill.now { background: var(--brand-soft); color: var(--brand); }
.bk { display: block; background: var(--paper); border-radius: var(--r); padding: 14px 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.bk + .bk { margin-top: 10px; }
.bk:hover { outline: 2px solid var(--brand); color: var(--ink); }
.bk .top-line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
dl.facts { display: grid; grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr); gap: 6px 14px; margin: 0; }
dl.facts dt { color: var(--ink-2); } dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.tabs-anchor { scroll-margin-top: 100px; }

/* Quote requests: day chips to tick, the price cards, request photos */
fieldset { min-width: 0; }   /* a fieldset is min-content wide by default: the day strip would widen the page */
label.day { position: relative; cursor: pointer; }
label.day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
label.day:has(input:checked) { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
label.day:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }
.how-list { margin: 10px 0 0; padding-inline-start: 1.3em; display: grid; gap: 8px; color: var(--ink-2); }
.how-list li::marker { color: var(--brand); font-weight: 800; }
.quote { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; }
.quote-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px dashed var(--line); }
.quote-top h2 { font-size: 1.1rem; }
.quote-who { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.quote-logo { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--line-2); }
.quote-about { margin-top: 4px; overflow-wrap: anywhere; }
.quote-price { font-size: 1.55rem; font-weight: 800; color: var(--brand-deep); white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.1; }
.quote-note { margin-top: 10px; padding: 10px 12px; background: var(--page); border-radius: var(--r-sm); white-space: pre-line; overflow-wrap: anywhere; }
.quote-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.quote-accept .choice { padding: 10px 12px; }
.bk-go { display: grid; gap: 4px; text-decoration: none; color: var(--ink); border: 2px solid var(--brand); }
.empty-wait { border-inline-start: 4px solid var(--brand); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--line-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs a { position: relative; }
.coupon-box { margin-top: 12px; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { flex: 1 1 auto; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); text-transform: uppercase; }
.coupon-row .btn { flex: none; }
.page-body { max-width: 72ch; }
.page-body h2 { margin: 1.4em 0 .4em; font-size: 1.25rem; } .page-body h3 { margin: 1.2em 0 .3em; font-size: 1.05rem; }
.page-body p, .page-body ul, .page-body ol { margin: 0 0 .9em; } .page-body ul, .page-body ol { padding-inline-start: 1.3em; }
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.banner { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.banner img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; display: block; background: var(--brand-soft); }
.banner .b-text { padding: 12px 14px; } .banner strong { display: block; font-size: 1.05rem; } .banner span { color: var(--ink-2); font-size: .92rem; }
a.banner:hover { outline: 2px solid var(--brand); }
.photo-tag { position: absolute; inset-inline-start: 6px; bottom: 6px; background: rgba(18, 49, 46, .78); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 1px 6px; }
.extras-ask { border: 2px solid var(--signal); background: var(--signal-soft); }
.extra-line { padding: 10px 0; border-top: 1px dashed var(--signal); }
.extra-line:first-of-type { border-top: 0; }
.extra-go { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.extra-go form { flex: 1 1 8rem; } .extra-go .btn { width: 100%; }

/* Reviews: stars shown, stars chosen (works without JavaScript) */
.stars { letter-spacing: 1px; color: var(--line); font-size: 1.05rem; }
.stars .on, .stars-sm { color: var(--signal); }
.rating-line { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.review { padding: 12px 0; border-top: 1px solid var(--line-2); }
.rate { border: 0; padding: 0; margin: 0; }
.rate-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-top: 6px; }
.rate-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-row label { font-size: 2.1rem; line-height: 1; color: var(--line); cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); }
.rate-row input:checked ~ label, .rate-row label:hover, .rate-row label:hover ~ label { color: var(--signal); }
.rate-row input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 1px; }

/* ===== Footer ===== */
.foot { background: var(--foot-bg); color: var(--foot-ink); margin-top: 40px; padding: 28px 0 20px; font-size: .95rem; }
.foot a { color: var(--foot-ink); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.foot a:hover { color: var(--foot-head); text-decoration: underline; }
.foot h2 { color: var(--foot-head); font-size: 1rem; margin: 0 0 8px; }
.foot-cols { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.foot-cols nav { display: grid; }
.foot-bar { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.lang select { font: inherit; font-size: .9rem; min-height: 40px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: inherit; padding: 0 8px; }
.lang option { color: var(--ink); background: var(--paper); }

/* ===== Bottom bar (phones) ===== */
.bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; min-height: 58px; color: var(--ink-2); text-decoration: none; font-size: .72rem; font-weight: 600; line-height: 1.15; text-align: center; }
.bar a[aria-current="page"] { color: var(--brand); }
.bar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; inset-inline: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
.bar .badge { position: absolute; top: 4px; inset-inline-start: calc(50% + 4px); }

/* ===== Wider screens ===== */
@media (min-width: 560px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .times { grid-template-columns: repeat(4, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .top-in { min-height: 68px; gap: 16px; }
  .top .search { display: flex; flex: 1; max-width: 420px; }
  .top-nav .label { display: inline; }
  .subhead { display: none; }
  h1 { font-size: 2.1rem; }
  .hero { padding: 48px 0 52px; }
  .hero h1 { font-size: 2.9rem; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .times { grid-template-columns: repeat(6, 1fr); }
  .svc-head { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
  .two > aside { position: sticky; top: 90px; }
  .sticky-buy { position: static; border: 0; padding: 0; margin: 16px 0 0; background: none; }
  .foot-cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.top-in > .area-tag { display: none; }
@media (min-width: 768px) { .top-in > .area-tag { display: flex; max-width: 260px; } }
