/* ===========================================================================
   Midomi Veteriner Kliniği — shared stylesheet
   Tokens · light/dark themes · type pairings · components · print
   Brand purple #af24d9 is fixed (logo). Accent is tweakable.
   =========================================================================== */

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul[role="list"] { list-style: none; padding: 0; }
:where(h1,h2,h3,h4) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

/* ---- Design tokens (light) ------------------------------------------------ */
:root {
  /* Fixed brand */
  --brand:        #af24d9;
  --brand-strong: oklch(0.50 0.27 318);
  --brand-ink:    #ffffff;
  --brand-tint:   oklch(0.96 0.035 320);
  --brand-tint-2: oklch(0.93 0.06 320);

  /* Accent — finalized: indigo #404ECE. The hex is intentional:
     #40·4E·CE → "…4ECE" → ECE, the clinician (Ece Yuvacan). Keep literal.
     Tweakable via the Tweaks panel; tint derives from the current surface. */
  --accent:       #404ECE;
  --accent-tint:  color-mix(in oklab, var(--accent) 14%, var(--surface));

  /* Neutrals — warm, faintly purple */
  --bg:        oklch(0.992 0.004 320);
  --surface:   #ffffff;
  --surface-2: oklch(0.975 0.006 320);
  --text:      oklch(0.24 0.02 318);
  --text-2:    oklch(0.44 0.02 318);
  --muted:     oklch(0.50 0.015 318);
  --border:    oklch(0.90 0.01 320);
  --border-2:  oklch(0.85 0.012 320);
  --ring:      oklch(0.55 0.20 318 / 0.55);

  --shadow-sm: 0 1px 2px oklch(0.4 0.05 320 / 0.06), 0 1px 3px oklch(0.4 0.05 320 / 0.05);
  --shadow-md: 0 4px 14px oklch(0.4 0.05 320 / 0.08), 0 2px 6px oklch(0.4 0.05 320 / 0.05);
  --shadow-lg: 0 18px 48px oklch(0.35 0.06 320 / 0.14), 0 6px 16px oklch(0.35 0.06 320 / 0.08);

  /* Type — default: warm humanist */
  --font-head: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(56px, 9vw, 120px);
}

/* Type pairings (Tweaks) */
[data-font="geometric"] {
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
[data-font="rounded"] {
  --font-head: "Nunito", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}

/* ---- Dark theme ----------------------------------------------------------- */
[data-theme="dark"] {
  --brand:        oklch(0.74 0.18 320);
  --brand-strong: oklch(0.80 0.16 320);
  --brand-ink:    oklch(0.16 0.03 320);
  --brand-tint:   oklch(0.30 0.06 320);
  --brand-tint-2: oklch(0.36 0.08 320);

  /* lighten indigo accent for contrast on dark surfaces */
  --accent:       oklch(0.74 0.14 268);

  --bg:        oklch(0.17 0.018 315);
  --surface:   oklch(0.21 0.022 316);
  --surface-2: oklch(0.25 0.024 316);
  --text:      oklch(0.95 0.01 320);
  --text-2:    oklch(0.80 0.015 320);
  --muted:     oklch(0.66 0.018 320);
  --border:    oklch(0.32 0.02 318);
  --border-2:  oklch(0.40 0.025 318);
  --ring:      oklch(0.78 0.16 320 / 0.6);

  --shadow-sm: 0 1px 2px #0006;
  --shadow-md: 0 6px 18px #0007;
  --shadow-lg: 0 22px 56px #0009, 0 6px 16px #0007;
}

/* System dark when no manual override (no-JS fallback) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --brand: oklch(0.74 0.18 320); --brand-strong: oklch(0.80 0.16 320);
    --brand-ink: oklch(0.16 0.03 320); --brand-tint: oklch(0.30 0.06 320);
    --brand-tint-2: oklch(0.36 0.08 320);
    --accent: oklch(0.74 0.14 268);
    --bg: oklch(0.17 0.018 315); --surface: oklch(0.21 0.022 316);
    --surface-2: oklch(0.25 0.024 316); --text: oklch(0.95 0.01 320);
    --text-2: oklch(0.80 0.015 320); --muted: oklch(0.66 0.018 320);
    --border: oklch(0.32 0.02 318); --border-2: oklch(0.40 0.025 318);
    --ring: oklch(0.78 0.16 320 / 0.6);
    --shadow-sm: 0 1px 2px #0006; --shadow-md: 0 6px 18px #0007;
    --shadow-lg: 0 22px 56px #0009, 0 6px 16px #0007;
  }
  :root:not([data-theme="light"]):not([data-theme="dark"]) .cta-band {
    --brand-ink: var(--text);
  }
}

/* ---- Base ----------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-tight { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }

/* Accessibility: skip link + focus */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: 12px 18px;
  border-radius: var(--r-sm); font-weight: 700; box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }

.lang-hide { display: none !important; }   /* language switching */

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.35em;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.2em; height: 1.2em; }

.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-wa { background: #25d366; color: #04210f; box-shadow: var(--shadow-md); }
.btn-wa:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-lg { min-height: 56px; padding: 0 1.7em; font-size: 1.08rem; }
.btn-sm { min-height: 44px; min-width: 44px; padding: 0 1.05em; font-size: 0.93rem; }

/* ---- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-family: var(--font-head); min-height: 44px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.035em; color: var(--brand); line-height: 1; }
.brand-word .dot { color: var(--accent); }
.brand-sub { display:block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* mobile-first: nav links are a drawer; become inline at >=880.
   Toggled with a CSS-only checkbox (#nav-cb) + :has() — no JavaScript. */
.nav-cb { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-links {
  position: fixed; inset: 76px 0 auto 0; display: flex; flex-direction: column; align-items: stretch;
  gap: 0; margin-left: 0; order: 1; background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0.5rem var(--gutter) 1.2rem; box-shadow: var(--shadow-lg);
  transform: translateY(-130%); transition: transform .28s cubic-bezier(.3,.7,.4,1);
  visibility: hidden;
}
.site-header:has(.nav-cb:checked) .nav-links { transform: translateY(0); visibility: visible; }
.nav-links a {
  text-decoration: none; color: var(--text-2); font-weight: 600; font-size: 1.1rem;
  padding: 0.95rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--border);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--brand-strong); background: var(--brand-tint); }
.nav-links a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-tint); }

.nav-tools { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; order: 2; }
.nav-tools .btn-wa { display: none; }
@media (min-width: 600px) { .nav-tools .btn-wa { display: inline-flex; } }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; min-width: 44px;
  border-radius: var(--r-pill); border: 1.5px solid var(--border-2);
  background: var(--surface); color: var(--text-2); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.icon-btn:hover { color: var(--brand-strong); border-color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { width: auto; display: inline-flex; align-items: center; padding: 0 0.7rem; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; font-family: var(--font-head); white-space: nowrap; }
.lang-btn .on { color: var(--brand-strong); }

.theme-sun { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }

/* nav toggle (a <label>) shows on mobile only */
.nav-toggle { display: inline-grid; order: 3; cursor: pointer; }
.nav-toggle .ico-close { display: none; }
.site-header:has(.nav-cb:checked) .nav-toggle .ico-open { display: none; }
.site-header:has(.nav-cb:checked) .nav-toggle .ico-close { display: block; }
.nav-cb:focus-visible + .nav-toggle { outline: 3px solid var(--ring); outline-offset: 3px; }
@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static; inset: auto; flex-direction: row; align-items: center; gap: 0.35rem;
    margin-left: auto; order: 1; background: none; border: 0; padding: 0; box-shadow: none;
    transform: none; visibility: visible;
  }
  .nav-links a { padding: 0.55rem 0.85rem; font-size: 0.98rem; border-radius: var(--r-sm); border-bottom: 0; }
  .nav-tools { margin-left: 0; order: 2; }
}

/* ---- Sections & headings -------------------------------------------------- */
section { scroll-margin-top: 90px; }
.section { padding-block: var(--section-y); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-strong);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 0.6rem; }
.section-head p { color: var(--text-2); font-size: 1.1rem; margin-top: 0.8rem; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-media { order: -1; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } .hero-media { order: 0; } }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--brand); }
.hero-lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--text-2); margin-top: 1.3rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.trust-item { display: flex; flex-direction: column; }
.trust-item b { font-family: var(--font-head); font-size: 1.7rem; color: var(--brand-strong); line-height: 1; }
.trust-item span { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }
.hero-blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(circle at 30% 30%, var(--brand-tint-2), transparent 70%);
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; right: -12vw; top: -16vw; opacity: .8;
}


/* ---- Image slot placeholder ----------------------------------------------- */
.imgslot {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--brand-tint) 0 14px, var(--surface-2) 14px 28px);
  border: 1px solid var(--border-2); display: grid; place-items: center; min-height: 220px;
  color: var(--muted);
}
.imgslot::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.78rem;
  letter-spacing: 0.02em; color: var(--text-2); background: var(--surface);
  padding: 0.45rem 0.8rem; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm); max-width: 80%; text-align: center;
}
.imgslot.tall { aspect-ratio: 4 / 5; }
.imgslot.wide { aspect-ratio: 16 / 10; }
.imgslot.square { aspect-ratio: 1; }
image-slot { border-radius: var(--r-lg); overflow: hidden; display: block; }
picture { display: block; }
img.imgslot { display: block; width: 100%; object-fit: cover; background: none; border: none; min-height: 0; }
img.imgslot.tall { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
img.imgslot.wide { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.post-card img.imgslot { border-radius: 0; border-bottom: 1px solid var(--border); height: clamp(180px, 28vw, 260px); }

/* ---- Cards: services ------------------------------------------------------ */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 760px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card, .card a.card-link { text-decoration: none; color: inherit; }
.card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint-2); }
.card-ico {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand-strong); margin-bottom: 1.1rem;
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: 0.98rem; margin-top: 0.5rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--brand-strong);
}
.card.is-link:hover .card-more svg { transform: translateX(3px); }
.card-more svg { width: 16px; height: 16px; transition: transform .2s; }

/* badges / tags */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 700; font-family: var(--font-head);
  background: var(--accent-tint); color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.badge.brand { background: var(--brand-tint); color: var(--brand-strong); border-color: var(--brand-tint-2); }

/* ---- Feature / split ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse .split-media { order: 2; } }

/* advice / info panel — stacks on mobile, row on desktop */
.advice { display: grid; grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
.advice .card-ico { margin: 0; }
@media (min-width: 760px) { .advice { grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; } }
.checklist { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck svg { width: 15px; height: 15px; }
.checklist b { font-family: var(--font-head); }
.checklist p { color: var(--text-2); font-size: 0.96rem; }

/* ---- Hours + contact ------------------------------------------------------ */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 600; }
.hours th { font-weight: 600; }
.hours tr.today th, .hours tr.today td { color: var(--brand-strong); font-weight: 800; }
.contact-line { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; }
.contact-line .ci { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; }
.contact-line .ci svg { width: 20px; height: 20px; }
.contact-line span { text-decoration: none; font-weight: 600; }
.contact-line a { text-decoration: none; font-weight: 600; display: flex; align-items: center; min-height: 44px; }
.contact-line small { display: block; color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--r-lg); }
.map-frame { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-height: 320px; }

.note {
  display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.2rem;
  border-radius: var(--r); background: var(--accent-tint);
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
}
.note .ni { color: var(--accent); flex: none; margin-top: 2px; }
.note .ni svg { width: 22px; height: 22px; }
.note p { font-size: 0.96rem; }
.note b { font-family: var(--font-head); }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(120% 140% at 0% 0%, var(--brand-tint-2), transparent 55%),
    var(--brand);
  color: var(--brand-ink); border-radius: var(--r-lg); padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
[data-theme="dark"] .cta-band { background: radial-gradient(120% 140% at 0% 0%, var(--brand-tint-2), transparent 55%), var(--surface-2); border: 1px solid var(--border-2); --brand-ink: var(--text); }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.cta-band p { margin-top: 0.8rem; font-size: 1.12rem; opacity: 0.92; max-width: 46ch; }
.cta-band .hero-cta { margin-top: 1.8rem; }
.cta-band .btn-ghost { background: color-mix(in oklab, var(--brand-ink) 14%, transparent); color: var(--brand-ink); border-color: color-mix(in oklab, var(--brand-ink) 40%, transparent); }
.cta-band .btn-ghost:hover { background: color-mix(in oklab, var(--brand-ink) 24%, transparent); color: var(--brand-ink); }

/* ---- Breadcrumb ----------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.9rem; color: var(--muted); padding-block: 1.4rem; }
.crumbs a { text-decoration: none; color: var(--text-2); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs a:hover { color: var(--brand-strong); }
.crumbs svg { width: 14px; height: 14px; opacity: 0.6; }

/* ---- Prose (blog / service body, print-friendly) -------------------------- */
.prose { font-size: 1.12rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p { color: var(--text); }
.prose a { color: var(--brand-strong); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--brand); }
.prose blockquote {
  border-left: 4px solid var(--brand); padding: 0.4em 0 0.4em 1.2em; margin-left: 0;
  color: var(--text-2); font-style: italic; font-size: 1.15rem;
}
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }

/* ---- Article meta --------------------------------------------------------- */
.article-head { padding-block: clamp(28px, 4vw, 48px) clamp(20px,3vw,32px); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; color: var(--muted); margin-top: 1.2rem; font-size: 0.95rem; }
.article-meta .dot-sep::before { content: "\00B7"; margin-right: 1.2rem; }
.author { display: flex; align-items: center; gap: 0.6rem; }
.author .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }

/* blog cards */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .imgslot { border-radius: 0; min-height: 180px; border: 0; border-bottom: 1px solid var(--border); }
.post-card .pc-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.22rem; margin-top: 0.7rem; }
.post-card p { color: var(--text-2); font-size: 0.97rem; margin-top: 0.5rem; }
.post-card .pc-meta { margin-top: auto; padding-top: 1.1rem; color: var(--muted); font-size: 0.85rem; display: flex; gap: 0.8rem; }
.post-card.feature { grid-column: auto; }
@media (min-width: 760px) { .post-card.feature { grid-column: span 2; } }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding-block: clamp(40px,6vw,72px) 1.5rem; margin-top: var(--section-y); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px,4vw,48px); }
@media (min-width: 520px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; color: var(--text-2); font-weight: 500; display: flex; align-items: center; min-height: 2.75rem; }
.footer-col a:hover { color: var(--brand-strong); }
.footer-about p { color: var(--text-2); font-size: 0.96rem; margin-top: 1rem; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: clamp(32px,5vw,56px); padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.footer-bottom a { color: var(--brand-strong); text-decoration: none; font-weight: 600; }
.design-credit { color: var(--muted) !important; font-weight: 500 !important; transition: color .15s; min-height: 44px; display: inline-flex; align-items: center; }
.design-credit:hover { color: var(--brand-strong) !important; }

/* ---- Floating WhatsApp ---------------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #25d366; color: #04210f; font-family: var(--font-head); font-weight: 800;
  padding: 0.85rem 1.2rem 0.85rem 0.95rem; border-radius: var(--r-pill);
  text-decoration: none; box-shadow: var(--shadow-lg); transition: transform .18s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-label { font-size: 0.98rem; }
.wa-float .wa-label { display: none; }
.wa-float { padding: 0.85rem; }
@media (min-width: 560px) { .wa-float .wa-label { display: inline; } .wa-float { padding: 0.85rem 1.2rem 0.85rem 0.95rem; } }

/* ---- Misc ----------------------------------------------------------------- */
.lead { font-size: 1.2rem; color: var(--text-2); }
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.stack { display: grid; gap: 1.2rem; }
.divider { height: 1px; background: var(--border); border: 0; }

/* Reveal on scroll — pure CSS, no JavaScript.
   Content is visible by default; only browsers that support scroll-driven
   animations get the entrance, and only when motion is allowed. Print, older
   browsers and reduced-motion users always see fully-rendered content. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: reveal-in both linear;
      animation-timeline: view();
      animation-range: entry 2% cover 26%;
    }
    [data-reveal][data-reveal-d="1"] { animation-range: entry 8% cover 32%; }
    [data-reveal][data-reveal-d="2"] { animation-range: entry 14% cover 38%; }
    [data-reveal][data-reveal-d="3"] { animation-range: entry 20% cover 44%; }
    @keyframes reveal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  }
}

/* form */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--border-2); background: var(--surface); transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--ring); }
.field .hint { color: var(--muted); font-size: 0.82rem; }

/* ===========================================================================
   PRINT — clean, ink-friendly layout for service & blog pages
   =========================================================================== */
@media print {
  :root { --bg: #fff; --surface: #fff; --text: #111; --text-2: #333; --border: #ccc; }
  body { background: #fff; color: #111; font-size: 11.5pt; }
  .site-header, .site-footer, .wa-float, .nav-tools, .nav-toggle,
  .cta-band, .map-frame, .hero-blob, .twk-panel, .no-print, .crumbs,
  .article-share, .related { display: none !important; }
  a { color: #111; text-decoration: underline; }
  .prose a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
  .prose a[href^="#"]::after, .prose a[href^="tel"]::after { content: ""; }
  .wrap, .wrap-tight { max-width: 100%; padding: 0; }
  .section, .article-head { padding-block: 0; }
  .prose { font-size: 11.5pt; line-height: 1.5; }
  h1 { font-size: 22pt; } h2 { font-size: 15pt; } h3 { font-size: 12.5pt; }
  .imgslot { border: 1px solid #ccc; background: #f4f4f4; min-height: 120px; }
  .print-url::after { content: " — midomi.vet"; color: #555; }
  .panel, .card { box-shadow: none; border: 1px solid #ccc; }
  @page { margin: 1.8cm; }
}
