/* Malvern Hills Veterinary Practice — site stylesheet (MHVP-54).
   Design per docs/design/mockup-v1.html (v4): blue slate-teal palette anchored
   on the practice's own #4F7282, Source Sans 3 (≈ logo wordmark) for headings,
   Kalam (≈ logo tagline hand) for script accents, Figtree (carried over from
   the old site) for body copy. Fonts self-hosted; no third-party requests. */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-latin-wght.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin-wght.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-italic-latin-wght.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Kalam';
  src: url('/assets/fonts/kalam-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kalam';
  src: url('/assets/fonts/kalam-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --pine: #4F7282;
  --pine-deep: #314853;
  --pine-ink: #243640;
  --seafoam: #87A6AE;
  --seafoam-deep: #4A7683;
  --mist: #EAF1F3;
  --ground: #FAFCFD;
  --card: #FFFFFF;
  --line: #D9E3E8;
  --muted: #4A5F68;
  --soft: #41565F;
  --amber: #96621B;
  --amber-bright: #C08023;
  --amber-soft: #F6E8CF;
  --amber-line: #E4C892;
  --ok: #2F6B4F;
  --err: #A03A2E;
  --seafoam-light: #C6DBE1;
  --shadow: 0 1px 2px rgba(36,52,64,.06), 0 10px 30px -12px rgba(36,52,64,.18);
  --radius: 16px;
  --ridge-h: clamp(34px, 7.6vw, 110px);   /* rendered height of the ridgeline divider */
  --display: 'Source Sans 3', 'Segoe UI', 'Trebuchet MS', sans-serif;
  --script: 'Kalam', 'Segoe Print', 'Comic Sans MS', cursive;
  --body: 'Figtree', 'Segoe UI', Arial, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--pine-ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; color: var(--pine-ink); }
p { margin: 0 0 1em; }
a { color: var(--seafoam-deep); }
a:hover { color: var(--pine-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--pine-deep); color: #fff; padding: .6em 1em; z-index: 99; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; text-decoration: none; text-align: center;
  border-radius: 999px; padding: .7em 1.35em; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; font-family: var(--body);
}
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-deep); color: #fff; }
.btn-ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--mist); color: var(--pine-deep); }
.btn-amber { background: var(--amber-soft); border-color: var(--amber-line); color: #5C3E10; }
.btn-amber:hover { background: #F0DDBA; color: #5C3E10; }
/* on dark photo backgrounds (home hero) */
.btn-light { background: #fff; color: var(--pine-deep); }
.btn-light:hover { background: var(--mist); color: var(--pine-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.82); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- kickers / script accents ---------- */
.kicker { font-family: var(--script); font-size: 1.18rem; font-weight: 400; color: var(--seafoam-deep); margin: 0 0 .5em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--script); font-size: 1.18rem; color: var(--seafoam-deep); margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--seafoam); border-radius: 2px; }

/* ---------- top bar ---------- */
.topbar { background: var(--pine-deep); color: #E6EEF2; font-size: .875rem; }
.topbar .wrap { display: flex; gap: 1.25em; align-items: center; min-height: 42px; flex-wrap: wrap; padding-block: 4px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .45em; }
.topbar a svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .hours { opacity: .85; }
.topbar .ooh { margin-left: auto; background: var(--amber-soft); color: #5C3E10; padding: .28em .85em; border-radius: 999px; font-weight: 700; }
.topbar .ooh:hover { background: #F0DDBA; text-decoration: none; color: #5C3E10; }
@media (max-width: 640px) { .topbar .hours { display: none; } }

/* ---------- header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 70;
  background: rgba(250,252,253,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5em; min-height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: .8em; text-decoration: none; color: var(--pine-ink); flex: none; }
.brand img { width: 62px; height: auto; flex: none; }
.brand .name {
  font-family: var(--display); font-weight: 700; font-size: .92rem; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--pine-deep); display: block; white-space: nowrap;
}
.nav-links { display: flex; gap: 1.6em; align-items: center; margin-left: auto; }
.nav-links a { color: var(--pine); text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; }
.nav-links a:hover { color: var(--pine-deep); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--seafoam); }
.nav-links a[aria-current="page"] { color: var(--pine-deep); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--seafoam-deep); }
.nav-cta { white-space: nowrap; }
.nav-toggle {
  display: none; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 8px 12px; font-size: 1.25rem; line-height: 1; color: var(--pine-deep); cursor: pointer;
}
.mobile-menu {
  display: none; position: absolute; top: 100%;
  left: 0; right: 0; /* containing block is the .wrap.nav padding box, so 0/0 is already full width */
  flex-direction: column; background: var(--card);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px -18px rgba(36,52,64,.35);
  padding: .5em 0 1em; margin: 0;
}
.mobile-menu a { padding: .85em clamp(26px, 7vw, 40px); text-decoration: none; color: var(--pine-ink); font-weight: 600; font-size: 1.02rem; }
.mobile-menu a + a { border-top: 1px solid var(--line); }
.mobile-menu a:hover { background: var(--mist); }
.mobile-menu.open { display: flex; }
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .brand img { width: 48px; }
  .brand .name { white-space: normal; font-size: .8rem; }
  .brand .name span { display: block; }
  /* No JS: the menu button can't work, so show the links stacked under the bar. */
  html.no-js .nav-toggle { display: none; }
  html.no-js .nav { flex-wrap: wrap; }
  html.no-js .mobile-menu { display: flex; position: static; flex-basis: calc(100% + 2 * clamp(18px, 4vw, 32px)); box-shadow: none; margin-inline: calc(-1 * clamp(18px, 4vw, 32px)); }
}

/* ---------- home hero (mock-up v1.1: full-bleed photo behind the text, logo alongside) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(30rem, 78vh, 44rem);
  display: flex; align-items: flex-end;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(36,52,64,.50) 0%, rgba(36,52,64,.22) 40%, rgba(36,52,64,0) 72%),
    linear-gradient(180deg, rgba(36,52,64,.18) 0%, rgba(36,52,64,.34) 45%, rgba(36,52,64,.84) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.6rem, 4vw, 3.5rem); align-items: end; width: 100%;
  padding-top: clamp(4.5rem, 11vh, 7.5rem);
  padding-bottom: calc(var(--ridge-h) + clamp(2.6rem, 5vh, 3.6rem));
}
.hero .eyebrow { color: #D9E7EB; text-shadow: 0 1px 12px rgba(36,52,64,.5); }
.hero .eyebrow::before { background: var(--seafoam); }
.hero h1 {
  font-family: var(--script);
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  font-weight: 700; letter-spacing: 0; line-height: 1.12; margin-bottom: .3em;
  color: #fff; text-shadow: 0 2px 26px rgba(36,52,64,.55);
}
.hero h1 em { font-style: normal; color: var(--seafoam-light); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em; color: rgba(255,255,255,.92); text-shadow: 0 1px 14px rgba(36,52,64,.45); }
.hero-ctas { display: flex; gap: .9em; flex-wrap: wrap; margin: 1.6em 0 1.7em; }
.chips { display: flex; gap: .6em; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.34); border-radius: 999px;
  padding: .42em .95em; font-size: .85rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chips svg { width: 14px; height: 14px; fill: var(--seafoam-light); flex: none; }
.hero-logo { display: flex; justify-content: center; align-items: flex-end; padding-bottom: .4rem; }
.hero-logo img {
  width: min(100%, 390px); height: auto;
  filter: drop-shadow(0 6px 28px rgba(36,52,64,.6)) drop-shadow(0 1px 3px rgba(36,52,64,.35));
}
@media (max-width: 880px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 2rem; }
  .hero-logo { order: -1; justify-content: center; }
  .hero-logo img { width: min(74vw, 330px); }
  .hero .eyebrow { font-size: 1.05rem; }
  .hero .lede { font-size: 1rem; }
  .chips li { font-size: .8rem; }
  .hero::after { background: linear-gradient(180deg, rgba(36,52,64,.42) 0%, rgba(36,52,64,.58) 45%, rgba(36,52,64,.86) 100%); }
}

/* ---------- ridgeline divider ---------- */
.ridge { display: block; width: 100%; height: auto; margin-bottom: -1px; }
/* directly under the home hero it overlaps the foot of the photo and dissolves it into the mist section */
.hero + .ridge { height: var(--ridge-h); margin-top: calc(-1 * var(--ridge-h)); position: relative; z-index: 1; }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.4rem) 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.005em; margin-bottom: .2em; }
.page-hero .intro { max-width: 50em; color: var(--soft); font-size: 1.08rem; margin: 0; }

/* ---------- sections ---------- */
section { scroll-margin-top: 96px; }
.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section-mist { background: var(--mist); }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.005em; }
.section .intro { max-width: 46em; color: var(--soft); }

/* ---------- notice card ---------- */
.notice {
  display: flex; gap: 1.1em; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid var(--amber-line);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 0 2.2rem;
}
.notice .dot { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.notice .dot svg { width: 22px; height: 22px; fill: var(--amber-bright); }
.notice h2, .notice h3 { margin: 0 0 .25em; font-size: 1.08rem; }
.notice p { margin: 0; font-size: .97rem; color: #4A3A1C; }
.notice a { color: var(--amber); font-weight: 700; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem; box-shadow: 0 1px 2px rgba(36,52,64,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic, .service .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; margin-bottom: .9em; }
.card .ic svg, .service .ic svg { width: 24px; height: 24px; stroke: var(--pine); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.card p { font-size: .94rem; color: var(--muted); margin: 0 0 .5em; }
.card p:last-child { margin-bottom: 0; }
.more-link { display: inline-block; margin-top: 1.6rem; font-weight: 700; color: var(--pine); text-decoration: none; border-bottom: 2px solid var(--seafoam); }
.more-link:hover { color: var(--pine-deep); }

/* ---------- accreditation band ---------- */
.band { background: var(--pine-deep); color: #DEE8ED; padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.band .kicker { color: var(--seafoam); }
.band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.band p { color: #C6D3DA; max-width: 44em; }
.band strong { color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 840px) { .band-grid { grid-template-columns: 1fr; } }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .badges { grid-template-columns: 1fr; } }
.badge-card { background: #fff; border-radius: var(--radius); padding: .9rem; box-shadow: var(--shadow); margin: 0; }
.badge-card img { border-radius: 10px; width: 100%; }
.badge-card figcaption { font-size: .8rem; color: var(--pine); font-weight: 600; text-align: center; padding-top: .6em; }

/* ---------- team teaser (home) ---------- */
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
@media (max-width: 840px) { .team-grid { grid-template-columns: 1fr; } }
.team-photo { position: relative; max-width: 420px; margin: 0; }
.team-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.team-photo figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(250,252,253,.93); border-radius: 12px; padding: .6em .9em;
  font-size: .85rem; line-height: 1.35;
}
.team-photo figcaption b { font-family: var(--display); }
blockquote.pull {
  margin: 0 0 1.2em; padding-left: 1.1em; border-left: 3px solid var(--seafoam);
  font-size: clamp(1.25rem, 2vw, 1.55rem); font-family: var(--script); font-weight: 400;
  color: var(--pine-deep); line-height: 1.45;
}
.fact-row { display: flex; gap: 2.2em; flex-wrap: wrap; margin-top: 1.4em; }
.fact-row div b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--pine-deep); font-variant-numeric: tabular-nums; }
.fact-row div span { font-size: .85rem; color: var(--muted); }

/* ---------- plans ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.7rem 1.5rem; box-shadow: 0 1px 2px rgba(36,52,64,.04);
  display: flex; flex-direction: column; gap: .4em;
}
.plan .price-chip {
  align-self: flex-start; background: var(--mist); color: var(--pine-deep);
  font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .3em .9em; margin-bottom: .5em;
  font-variant-numeric: tabular-nums;
}
.plan ul { margin: .2em 0 1em; padding-left: 1.2em; font-size: .94rem; color: var(--muted); }
.plan ul li { margin-bottom: .35em; }
.plan .btn { align-self: flex-start; margin-top: auto; }

/* ---------- news ---------- */
.news-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 1.8rem; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.news-card img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.news-card .pad { padding: 1.1rem 1.2rem 1.2rem; }
.news-card time { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--seafoam-deep); font-weight: 700; }
.news-card h3 { font-size: 1.1rem; margin: .35em 0 .3em; }
.news-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* news post article */
.post { padding: clamp(2rem, 5vw, 3.4rem) 0; }
.post .wrap, .prose-page .wrap { max-width: 820px; }
.post-meta { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--seafoam-deep); font-weight: 700; }
.post h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: .25em 0 .6em; }
.post figure { margin: 1.6em 0; }
.post figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.post figcaption { font-size: .85rem; color: var(--muted); padding-top: .5em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin: 1.6em 0; }
.gallery img { border-radius: 12px; box-shadow: 0 1px 2px rgba(36,52,64,.08); aspect-ratio: 1; object-fit: cover; width: 100%; }
.back-link { display: inline-block; margin-top: 2rem; font-weight: 700; color: var(--pine); text-decoration: none; border-bottom: 2px solid var(--seafoam); }
.back-link:hover { color: var(--pine-deep); }

/* ---------- prose (legal pages, services, senior clinics…) ---------- */
.prose { color: var(--pine-ink); }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.prose address { font-style: normal; background: var(--mist); border-radius: 12px; padding: 1em 1.2em; display: inline-block; line-height: 1.6; }

/* service entries (services page): card grid with icon tiles, same look as the homepage cards */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem; box-shadow: 0 1px 2px rgba(36,52,64,.04);
}
.service h2 { font-size: 1.2rem; margin: 0 0 .4em; }
.service p { font-size: .95rem; color: var(--muted); margin-bottom: .7em; }
.service p { max-width: 60em; }
.service p:last-child { margin-bottom: 0; }
.service:last-child { grid-column: 1 / -1; }   /* 13 entries: the last one spans the row instead of sitting orphaned */

/* ---------- team page ---------- */
.bios { display: grid; gap: 1.4rem; margin-top: 2rem; }
.bio {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 0 1px 2px rgba(36,52,64,.04);
}
@media (max-width: 640px) { .bio { grid-template-columns: 1fr; } .bio img { max-width: 260px; } }
.bio img { border-radius: 12px; width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.bio h2 { font-size: 1.3rem; margin-bottom: .1em; }
.bio .role { font-family: var(--script); color: var(--seafoam-deep); font-size: 1.1rem; margin: 0 0 .8em; }
.bio p { color: var(--soft); font-size: .97rem; }
.bio p:last-child { margin-bottom: 0; }

/* ---------- tables (prices, comparison) ---------- */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; border-radius: 12px; box-shadow: 0 1px 2px rgba(36,52,64,.05); }
table.price { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; font-size: .95rem; }
table.price th {
  text-align: left; font-family: var(--display); font-weight: 700; font-size: .85rem;
  background: var(--pine-deep); color: #fff; padding: .7em 1em;
}
table.price td { padding: .6em 1em; border-bottom: 1px solid var(--line); vertical-align: top; }
table.price td:last-child { text-align: right; font-weight: 600; color: var(--pine-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.price tr.group td {
  background: var(--mist); font-family: var(--display); font-weight: 700; color: var(--pine-deep);
  font-size: .9rem; text-align: left;
}
table.price td .small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); white-space: normal; }
table.compare td:first-child { font-weight: 600; }
table.compare td { text-align: center; }
table.compare td:first-child { text-align: left; }
.tick { color: var(--ok); font-weight: 700; }
.no-tick { color: var(--line); }

/* ---------- hours + contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); margin-top: 1.6rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.addr { font-style: normal; line-height: 1.7; }
.addr b { font-family: var(--display); font-size: 1.05rem; }
.addr a { color: var(--pine); font-weight: 600; }
.w3w { font-size: .9rem; color: var(--muted); }
.w3w code { background: var(--mist); border-radius: 6px; padding: .15em .5em; font-family: Consolas, monospace; font-size: .85em; color: var(--pine-deep); }
.hours-tables { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.4rem; }
table.hours { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .93rem; }
table.hours caption {
  text-align: left; font-family: var(--display); font-weight: 700; font-size: .95rem;
  background: var(--mist); padding: .55em .95em; border: 1px solid var(--line); border-bottom: none; border-radius: 12px 12px 0 0;
}
table.hours td { padding: .5em .95em; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.hours td:last-child { text-align: right; font-weight: 600; color: var(--pine-deep); }
table.hours .note td { font-size: .85rem; color: var(--muted); font-weight: 400; text-align: left; }
.map-panel {
  margin-top: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(145deg, #E3ECF0 0%, #D3E1E7 55%, #C6D8DF 100%);
  padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1em;
}
.map-panel svg { width: 34px; height: 34px; fill: var(--pine); flex: none; }
.map-panel p { margin: 0; font-size: .9rem; color: var(--pine-deep); }
.map-panel a { font-weight: 700; color: var(--pine); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35em; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: .65em .8em; font: inherit; font-size: .95rem; background: var(--ground); color: var(--pine-ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--seafoam-deep); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
fieldset {
  border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem 1rem;
  margin: 0 0 1.2rem;
}
fieldset legend { font-family: var(--display); font-weight: 700; padding: 0 .5em; color: var(--pine-deep); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pet + .pet { margin-top: 1rem; }
.pet-actions { display: flex; gap: .8em; align-items: center; margin: .2rem 0 1.2rem; }
.btn-small { padding: .45em 1em; font-size: .88rem; }
html.no-js .pet-actions { display: none; }
.form-note { font-size: .8rem; color: var(--muted); margin: .9em 0 0; }
.sent {
  display: none; margin-top: 1rem; border-radius: 10px; padding: .8em 1em; font-weight: 600; font-size: .95rem;
  background: #E7F2EC; color: var(--ok); border: 1px solid #BFDCCC;
}
.sent.fail { background: #F9ECEA; color: var(--err); border-color: #E8C9C4; }
.sent.show { display: block; }
.cf-turnstile { margin-bottom: 1rem; min-height: 65px; }

/* ---------- out-of-hours steps ---------- */
.ooh-steps, .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 1.8rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--mist); color: var(--pine-deep); font-family: var(--display); font-weight: 700; margin-bottom: .8em;
}
.step.emergency { background: var(--amber-soft); border-color: var(--amber-line); }
.step.emergency::before { background: #fff; color: var(--amber); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0 0 .6em; }
.step.emergency p { color: #5C4318; }
.step .tel { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--pine-deep); text-decoration: none; font-variant-numeric: tabular-nums; }
.step.emergency .tel { color: #8A5410; }
.ooh-partners { display: flex; align-items: center; gap: 2em; flex-wrap: wrap; margin-top: 2rem; }
.ooh-partners img { height: 34px; width: auto; }
.ooh-partners .qr { display: flex; align-items: center; gap: .8em; font-size: .82rem; color: var(--muted); }
.ooh-partners .qr img { height: 84px; border-radius: 8px; border: 1px solid var(--line); }

/* ---------- vidivet page ---------- */
.vv-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.page-hero.vv-hero .intro { margin-bottom: 1.3rem; }
.vv-hero .phone { width: min(100%, 320px); margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.vv-cta { display: flex; align-items: center; gap: 1.4em; flex-wrap: wrap; margin: 0 0 1.3rem; }
.vv-cta .qr { display: flex; align-items: center; gap: .7em; font-size: .82rem; color: var(--muted); }
.vv-cta .qr img { width: 84px; height: 84px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.facts { display: flex; gap: .6em; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.facts li {
  display: inline-flex; align-items: center; gap: .5em;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .42em .95em; font-size: .85rem; font-weight: 600; color: var(--pine);
}
.facts svg { width: 14px; height: 14px; fill: var(--seafoam-deep); flex: none; }
.vv-band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.vv-band img.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.vv-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.vv-partner { display: flex; align-items: center; gap: .7em; font-size: .85rem; color: var(--muted); margin: 0 0 .9em; }
.vv-partner img { height: 26px; width: auto; }
.vv-band .note { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 880px) {
  .vv-hero .wrap, .vv-band { grid-template-columns: 1fr; }
  .vv-hero .phone { width: min(100%, 240px); }
}

/* ---------- footer ---------- */
footer.site { background: var(--pine-deep); color: #BFCED6; font-size: .92rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.section-mist + footer.site, .band + footer.site { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.4rem; padding-block: 3.2rem 2.4rem; }
@media (max-width: 840px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site .logo { width: 170px; margin-bottom: 1em; }
footer.site h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9em; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site ul li { margin-bottom: .45em; }
footer.site a { color: #DBE5EB; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.2rem 0 1.4rem; font-size: .8rem; color: #9DB1BB; }
.foot-bottom .wrap { display: flex; gap: .5em 1.8em; flex-wrap: wrap; align-items: center; }
.no-cookies { display: inline-flex; align-items: center; gap: .5em; color: #CCDCE3; font-weight: 600; }
.no-cookies svg { width: 15px; height: 15px; fill: var(--seafoam); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .topbar, header.site, footer.site, .nav-toggle, .mobile-menu, .btn, .back-link, .more-link { display: none !important; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .page-hero { background: #fff; border-bottom: 2px solid #333; }
  .table-scroll { overflow: visible; box-shadow: none; }
  table.price { min-width: 0; font-size: 10pt; }
  table.price th { background: #333 !important; color: #fff !important; }
  a { color: #111; text-decoration: none; }
}
