/* ---- assets/css/base.css ---- */
/* College Clinic (دامپزشکی کالج), Isfahan: re-skin of the zafaranieh pitch site (2026-11-25).
   White ground, College yellow (their posts) as fields and stickers, deep forest-green ink, one green action colour (yellow in dark).
   Noto Kufi Arabic (geometric Kufi with true Persian forms) for headlines, Rubik for body. Signature: squircle photo cut-outs, sticker badges,
   wavy section edges. Weights 400/500/600 only; UI motion under 300ms with a strong ease-out; transform/opacity
   only; hover on fine pointers only. Section styles live in css/sections/*.css. */

/* ---------- fonts (self-hosted, fontsource WOFF2) ---------- */
@font-face { font-family: "Noto Kufi Arabic"; src: url(/assets/fonts/noto-kufi-arabic-500.woff2?v=c71c578a9f) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face { font-family: "Noto Kufi Arabic"; src: url(/assets/fonts/noto-kufi-arabic-600.woff2?v=a4bc071078) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face { font-family: "Rubik"; src: url(/assets/fonts/rubik-arabic-400.woff2?v=840ffc6121) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face { font-family: "Rubik"; src: url(/assets/fonts/rubik-arabic-500.woff2?v=1d94edba21) format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face { font-family: "Rubik"; src: url(/assets/fonts/rubik-latin-400.woff2?v=06b031a668) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212; }
@font-face { font-family: "Rubik"; src: url(/assets/fonts/rubik-latin-500.woff2?v=bf0279d032) format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212; }

/* ---------- tokens ----------
   Light is the default; dark follows the system or the header toggle ([data-theme] on <html> wins).
   .night pins the dark palette on one block (the closing band). No cream anywhere: whites are pure, tints are cool. */
:root {
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-display: "Noto Kufi Arabic", "Rubik", system-ui, sans-serif;

  --bg: #ffffff;
  --surface: #ecf7f0;          /* pale leaf, the green's own tint */
  --surface-2: #d8efe0;
  --card: #ffffff;
  --line: #d0e8d8;
  --line-strong: #a6ceb3;
  --fg: #0a2e1a;               /* deep forest ink */
  --fg-2: #27503a;
  --fg-3: #436b55;
  --saffron: #ffd21a;          /* College yellow (from their posts): fields, stickers, the wave under a word */
  --saffron-ink: #0a2e1a;      /* text on saffron */
  --action: #0b7a35;           /* the one solid action colour: the logo green, darkened for 5.5:1 */
  --action-hover: #09662c;
  --action-ink: #ffffff;
  --band: var(--saffron);      /* the saffron band (prep) */
  --band-ink: #0a2e1a;
  --edge: #ffffff;             /* a sticker's die-cut edge */

  --shadow-sticker: 0 1px 1px rgb(6 38 20 / .10), 0 8px 18px -8px rgb(6 38 20 / .35);
  --shadow-pop: 0 2px 4px rgb(6 38 20 / .06), 0 22px 44px -22px rgb(6 38 20 / .38);
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5 V10 H0Z' fill='black'/%3E%3C/svg%3E");

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-btn: 14px;
  --pill: 999px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --t-fast: 150ms;
  --t-ui: 220ms;
  --hdr-h: 64px;
  --gutter: 16px;
  --pad-y: 88px;
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --hdr-h: 72px; --gutter: 48px; --pad-y: 120px; } }

:root[data-theme="dark"] {
  --bg: #05190e; --surface: #082215; --surface-2: #0d2e1c; --card: #0b2918;
  --line: rgb(176 228 196 / .13); --line-strong: rgb(176 228 196 / .26);
  --fg: #eaf7ef; --fg-2: #b4d4c0; --fg-3: #8fb59d;
  --saffron: #ffd21a; --saffron-ink: #05190e;
  --action: #ffd21a; --action-hover: #ffdd4d; --action-ink: #05190e;
  --band: #0f3f24; --band-ink: #eaf7ef; --edge: #eaf7ef;
  --shadow-sticker: 0 1px 1px rgb(0 0 0 / .3), 0 10px 22px -10px rgb(0 0 0 / .7);
  --shadow-pop: 0 2px 4px rgb(0 0 0 / .25), 0 26px 50px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05190e; --surface: #082215; --surface-2: #0d2e1c; --card: #0b2918;
    --line: rgb(176 228 196 / .13); --line-strong: rgb(176 228 196 / .26);
    --fg: #eaf7ef; --fg-2: #b4d4c0; --fg-3: #8fb59d;
    --saffron: #ffd21a; --saffron-ink: #05190e;
    --action: #ffd21a; --action-hover: #ffdd4d; --action-ink: #05190e;
    --band: #0f3f24; --band-ink: #eaf7ef; --edge: #eaf7ef;
    --shadow-sticker: 0 1px 1px rgb(0 0 0 / .3), 0 10px 22px -10px rgb(0 0 0 / .7);
    --shadow-pop: 0 2px 4px rgb(0 0 0 / .25), 0 26px 50px -24px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
.night {
  --bg: #05190e; --surface: #082215; --surface-2: #0d2e1c; --card: #0b2918;
  --line: rgb(176 228 196 / .13); --line-strong: rgb(176 228 196 / .26);
  --fg: #eaf7ef; --fg-2: #b4d4c0; --fg-3: #8fb59d;
  --saffron: #ffd21a; --saffron-ink: #05190e;
  --action: #ffd21a; --action-hover: #ffdd4d; --action-ink: #05190e;
  --edge: #ffffff;
  --shadow-sticker: 0 1px 1px rgb(0 0 0 / .3), 0 10px 22px -10px rgb(0 0 0 / .7);
  color-scheme: dark;
  background: var(--bg);
  color: var(--fg);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr-h); -webkit-tap-highlight-color: transparent; }
/* mobile-native: no double-tap wait on controls; a long press never selects a control's label (content stays selectable) */
a, button, summary, [role="button"] { touch-action: manipulation; }
button, .btn, summary, .icon-btn, .as__q { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
summary { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--saffron); color: var(--saffron-ink); }
.is-locked { overflow: hidden; }
.is-theming *, .is-theming *::before, .is-theming *::after { transition: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 12px; top: -80px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--fg); color: var(--bg); border-radius: var(--r-sm); }
.skip:focus-visible { top: calc(var(--hdr-h) + 8px); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible { outline-color: var(--band-ink); }

/* ---------- type ---------- */
.h-display, .h2, .display { font-family: var(--font-display); letter-spacing: 0; }
.h-display { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 600; line-height: 1.3; text-wrap: balance; }
.h2 { font-size: clamp(1.95rem, 1.35rem + 2.2vw, 3.1rem); font-weight: 600; line-height: 1.38; text-wrap: balance; }
.h3 { font-family: var(--font); font-size: clamp(1.125rem, 1.08rem + .2vw, 1.25rem); font-weight: 500; line-height: 1.6; }
/* (kept as a no-op hook) */
.k1 { }  /* was a Reem Kufi letter-form fix; Noto Kufi Arabic draws Persian forms correctly */
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--fg-2); line-height: 1.95; max-width: 52ch; text-wrap: pretty; }
.muted { color: var(--fg-3); }
.latin { font-family: var(--font); direction: ltr; unicode-bidi: isolate; }
/* the saffron wave under one word of a headline */
.swash { position: relative; isolation: isolate; white-space: nowrap; }
.swash::after {
  content: ""; position: absolute; inset-inline: -.04em; bottom: .02em; height: .22em; z-index: -1;
  background: var(--swash, var(--saffron));
  -webkit-mask: var(--wave-mask) 0 0 / .8em 100% repeat-x; mask: var(--wave-mask) 0 0 / .8em 100% repeat-x;
}

/* Phone numbers in RTL: Persian digits are weak in bidi; one isolated LTR run keeps the groups in order. */
a[href^="tel:"] .num, a.num[href^="tel:"], .num { direction: ltr; unicode-bidi: isolate; text-align: right; word-spacing: .12em; font-variant-numeric: tabular-nums; }
.tag-en { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* ---------- layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
.sec { position: relative; padding-block: var(--pad-y); background: var(--bg); }
/* stickers may hang over a block's side, never past the page: clip sideways only, so the waves still show */
main > section, footer.closing { overflow-x: clip; }
@media (min-width: 1024px) { .sec--screen { min-height: 100svh; } }
.sec-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }

/* the tag above a heading: a small sticker-like label */
.tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 12px;
  border-radius: var(--pill); background: var(--saffron); color: var(--saffron-ink);
  font-size: .875rem; font-weight: 500; line-height: 1;
}
.tag svg { width: 16px; height: 16px; flex: none; }

/* ---------- wavy section edges ----------
   .wave-top draws the section's own ground as a wave above its top edge (over the section before it);
   .wave-bottom does the same below its foot. --wave-w / --wave-h set the swell. */
.wave-top::before, .wave-bottom::after {
  content: ""; position: absolute; inset-inline: 0; height: var(--wave-h, 22px); z-index: 1; pointer-events: none;
  background: inherit;
  -webkit-mask: var(--wave-mask) 0 0 / var(--wave-w, 110px) 100% repeat-x; mask: var(--wave-mask) 0 0 / var(--wave-w, 110px) 100% repeat-x;
}
.wave-top::before { top: calc(var(--wave-h, 22px) * -1 + 1px); }
.wave-bottom::after { bottom: calc(var(--wave-h, 22px) * -1 + 1px); transform: scaleY(-1); }
@media (min-width: 1024px) { .wave-top, .wave-bottom { --wave-h: 36px; --wave-w: 180px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--r-btn);
  font-size: 1rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--action); color: var(--action-ink); }
.btn--secondary { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.btn--xl { min-height: 64px; padding: 0 32px; font-size: 1.25rem; border-radius: 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.97); }
  .btn--primary:hover { background: var(--action-hover); }
  .btn--secondary:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .btn-row > .btn { flex: 1 1 100%; } }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-sm); color: var(--fg-2);
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.icon-btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--surface); color: var(--fg); } }

/* ---------- stickers ----------
   A sticker: a die-cut edge, a soft lift and a small turn (--tilt). Photo stickers are round. */
.sticker {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px;
  border-radius: var(--pill); background: var(--saffron); color: var(--saffron-ink);
  font-size: .9688rem; font-weight: 500; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 0 0 4px var(--edge), var(--shadow-sticker);
  rotate: var(--tilt, -4deg);
}
.sticker svg { width: 18px; height: 18px; flex: none; }
.sticker--teal { background: var(--fg); color: var(--bg); }
.photo-sticker {
  display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--saffron);
  box-shadow: 0 0 0 5px var(--edge), var(--shadow-sticker);
  rotate: var(--tilt, 6deg);
}
.photo-sticker img { width: 100%; height: 100%; object-fit: cover; }

/* the squircle cut-out (clip-path #sq in layout.html) */
.cut { clip-path: url(#sq); background: var(--saffron); }
.cut img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero entrance (once, on load) ---------- */
@keyframes enter-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes enter-pop { from { opacity: 0; transform: scale(.94); } }
.m-enter [data-enter] .e-up { animation: enter-up 640ms var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 70ms + 60ms); }
.m-enter [data-enter] .e-pop { animation: enter-pop 720ms var(--ease-out) backwards; animation-delay: calc(var(--d, 0) * 70ms + 60ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}


/* ---- assets/css/sections/00-chrome.css ---- */
/* Chrome: header (nav-centre), mobile menu, the closing footer (close-type + footer-dark), preview badge, dialog, toast. */

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h);
  background: var(--bg); box-shadow: 0 1px 0 transparent;
  transition: transform var(--t-ui) var(--ease-out);
}
.hdr.is-solid { box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-instant, .hdr.is-instant * { transition: none !important; }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; }
.logo__mark {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--saffron); color: var(--saffron-ink); clip-path: url(#sq);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr__nav { display: none; }
.hdr__list { display: flex; gap: 2px; }
.hdr__link {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: .9688rem; color: var(--fg-2); transition: color var(--t-ui) var(--ease-out);
}
.hdr__link::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 6px; height: 6px; background: var(--saffron);
  -webkit-mask: var(--wave-mask) 0 0 / 14px 100% repeat-x; mask: var(--wave-mask) 0 0 / 14px 100% repeat-x;
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hdr__link:hover { color: var(--fg); }
  .hdr__link:hover::after { transform: scaleX(1); }
}
.hdr__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.hdr__cta { display: none; }
.hdr__cta svg { width: 18px; height: 18px; }
/* the theme button shows the icon of the theme it switches to */
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
:root:not([data-theme="dark"]) .i-sun { display: none; } :root:not([data-theme="dark"]) .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
@media (min-width: 640px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .hdr__bar { display: grid; grid-template-columns: 1fr auto 1fr; }
  .hdr__nav { display: block; }
  .hdr__actions { justify-self: end; }
  .hdr__burger { display: none; }
}
@media (max-width: 380px) { .logo__name { white-space: normal; font-size: .95rem; line-height: 1.25; } }

/* ---------- mobile menu: a full-width sheet under the header ---------- */
.menu {
  position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 49; background: rgb(3 24 12 / .4);
  opacity: 0; visibility: hidden; transition: opacity var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui);
}
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
/* closing is quicker than opening */
.menu:not(.is-open) { transition-duration: 150ms, 0s; transition-delay: 0s, 150ms; }
.menu:not(.is-open) .menu__panel { transition-duration: 150ms; }
.menu.is-instant { transition: none; }
.menu__panel {
  background: var(--bg); border-radius: 0 0 var(--r-lg) var(--r-lg); padding-block: 8px 24px;
  transform: translateY(-8px); transition: transform var(--t-ui) var(--ease-out);
}
.menu.is-open .menu__panel { transform: none; }
.menu.is-instant .menu__panel { transition: none; }
.menu__nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.menu__call { width: 100%; margin-top: 20px; }
@media (min-width: 1024px) { .menu { display: none; } }

main { padding-top: var(--hdr-h); }

/* ---------- closing: the call, the address, then the footer rows (one deep-teal band) ---------- */
.closing { position: relative; padding-block: calc(var(--pad-y) - 8px) 0; --wave-h: 30px; }
.closing__cta { position: relative; display: grid; gap: 28px; justify-items: start; padding-bottom: clamp(56px, 7vw, 88px); }
.closing__pets { display: flex; gap: 14px; margin-bottom: 4px; }
.closing__pets .photo-sticker { width: clamp(64px, 6vw, 84px); box-shadow: 0 0 0 4px var(--edge), var(--shadow-sticker); }
.closing__head { display: grid; gap: 14px; max-width: 42rem; }
.closing__head .lead { color: var(--fg-2); }
.closing__call svg { width: 24px; height: 24px; }
.closing__call .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.closing__cards { display: grid; gap: 16px; width: 100%; margin-top: 8px; }
@media (min-width: 768px) { .closing__cards { grid-template-columns: 1fr 1fr; } }
.ccard {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start;
  padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface-2);
}
.ccard__icon { grid-row: span 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--saffron); color: var(--saffron-ink); }
.ccard__icon svg { width: 22px; height: 22px; }
.ccard__k { font-size: .875rem; color: var(--fg-3); }
.ccard__v { font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.ccard__link {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 2px;
  color: var(--saffron); font-weight: 500;
}
.ccard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ccard:has(.ccard__link:focus-visible) { outline: 2px solid var(--saffron); outline-offset: 3px; }
.ccard .ccard__link:focus-visible { outline: none; }
.ccard__link svg { width: 18px; height: 18px; transition: transform var(--t-ui) var(--ease-out); }
.ccard { transition: translate var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ccard:hover { translate: 0 -2px; }
  .ccard:hover .ccard__link svg { transform: translateX(-3px); }
}
.closing__links {
  display: grid; gap: 20px; padding-block: 8px calc(40px + 64px + env(safe-area-inset-bottom));
  font-size: .9375rem; color: var(--fg-2);
}
@media (min-width: 1024px) { .closing__links { grid-template-columns: 1.2fr 1fr; align-items: center; padding-bottom: 40px; } }
.closing__brand { display: grid; gap: 4px; }
.closing__tagline { color: var(--fg-3); font-size: .9375rem; }
.closing__nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
@media (min-width: 1024px) { .closing__nav { justify-content: end; } }
.closing__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; transition: color var(--t-ui) var(--ease-out); }
.closing__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 28px; font-size: .8125rem; color: var(--fg-3); }
.closing__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.closing__legal p { padding-block: 10px; }
@media (min-width: 1024px) {
  .closing { --wave-h: 40px; --wave-w: 220px; min-height: 100svh; padding-top: 76px; }
  .closing__cta { gap: 20px; padding-bottom: 40px; }
  .closing__pets .photo-sticker { width: 76px; }
  .closing__links { padding-bottom: 20px; }
}
@media (hover: hover) and (pointer: fine) { .closing__nav a:hover, .closing__legal a:hover { color: var(--fg); } }

/* ---------- preview badge: bottom start corner, quiet, hideable ---------- */
.pbadge {
  position: fixed; inset-inline-start: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; max-width: calc(100vw - 96px);
  background: var(--bg); color: var(--fg-3); border-radius: var(--pill);
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sticker);
  font-size: .75rem; line-height: 1.4;
}
.pbadge__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px 0 14px; }
.pbadge__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--fg-3); transition: color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.pbadge__x:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .pbadge__link:hover, .pbadge__x:hover { color: var(--fg); } }

/* ---------- dialog (D.dialog) ---------- */
.dlg { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--card); color: var(--fg); box-shadow: var(--shadow-pop); }
.dlg::backdrop { background: rgb(3 24 12 / .5); }
.dlg[open] { animation: dlg-in var(--t-ui) var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dlg__head { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 6px 20px; border-bottom: 1px solid var(--line); }
.dlg__title { font-weight: 500; }
.dlg__body { padding: 20px; }

/* ---------- toast (D.toast) ---------- */
.toasts { position: fixed; inset-inline: 0; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 70; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast { padding: 10px 18px; background: var(--fg); color: var(--bg); border-radius: var(--pill); font-size: .875rem; opacity: 0; transform: translateY(8px); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.toast.is-in { opacity: 1; transform: none; }

/* ---------- College re-skin (2026-11-25) ---------- */
/* the logo: College's own green cross with the dog and cat, no tile behind it */
.logo__mark { width: 36px; height: 36px; background: none; clip-path: none; }
.logo__mark svg { width: 34px; height: 34px; fill: #13a549; }
.logo__name { display: grid; line-height: 1.25; }
.logo__sub { font-family: var(--font); font-size: .75rem; font-weight: 400; color: var(--fg-3); }
.menu__call + .menu__call { margin-top: 10px; }
/* closing: one call per branch, the emergency line in the lead */
.closing__calls { width: 100%; }
.closing__call { gap: 12px; }
.closing__b { font-size: 1rem; font-weight: 500; opacity: .85; }
.closing__sosrow { font-size: 1.0625rem; color: var(--fg-2); }
.closing__sos { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--fg); font-weight: 500; text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (min-width: 1024px) { .closing__cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .closing__call { padding-inline: 20px; } .closing__call .num { font-size: 1.3rem; } }
.closing__cta { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 380px) {
  .closing__call { padding-inline: 16px; gap: 10px; }
  .closing__call > svg { display: none; }
  .closing__b { font-size: .9rem; }
  .closing__call .num { font-size: 1.15rem; }
}


/* ---- assets/css/sections/01-hero.css ---- */
/* Hero: the words on the start side, a pet in a large squircle cut-out on the end side, sticker badges on its rim. */
.hero { position: relative; padding-block: 28px 72px; background: var(--bg); }
main > .hero:first-child { margin-top: calc(var(--hdr-h) * -1); padding-top: calc(var(--hdr-h) + 28px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__text { display: grid; gap: 22px; justify-items: start; }
.hero__title { max-width: 11ch; }
.hero__lead { max-width: 40ch; }
.hero__text .btn-row { margin-top: 6px; }

.hero__art { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; margin-block: 8px 16px; }
/* phone: the whole hero fits one screen; the two buttons share a row and the cut-out takes what is left */
@media (max-width: 1023px) {
  .hero__text { gap: 16px; }
  .hero .btn-row { width: 100%; }
  .hero__grid { gap: 28px; }
}
@media (min-width: 370px) and (max-width: 1023px) {
  .hero .btn-row { flex-wrap: nowrap; }
  .hero .btn-row > .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
}
@media (max-width: 639px) { .hero__art { width: min(100%, 330px, calc(100svh - 500px)); min-width: 240px; } .hero { padding-bottom: 28px; } }
.hero__cut { position: absolute; inset: 0; }
.hero__cut img { object-position: 50% 40%; }
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; translate: -10px 12px; color: var(--fg); opacity: .35; overflow: visible; }
.hero__ring path { stroke-width: 1px; }
.hero__s1 { position: absolute; top: 6%; inset-inline-start: -2%; }
.hero__s2 { position: absolute; bottom: 2%; inset-inline-end: 1%; width: 30%; }
.hero__s3 { position: absolute; bottom: -4%; inset-inline-start: 12%; }

@media (min-width: 1024px) {
  main > .hero:first-child { height: 100svh; min-height: 640px; padding-top: calc(var(--hdr-h) + 48px); padding-bottom: 48px; }
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; }
  .hero__text { padding-top: 24px; }
  .hero__art { width: min(100%, 600px, calc(100svh - var(--hdr-h) - 150px)); justify-self: end; margin: 0; }
  .hero__ring { translate: 18px 18px; }
  .hero__s1 { inset-inline-start: -8%; }
  .hero__s2 { inset-inline-end: -3%; }
  .hero__s3 { inset-inline-start: 16%; }
}

/* stickers sit still once in place; a fine pointer can straighten one */
.hero__art .sticker, .hero__art .photo-sticker { transition: rotate var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .hero__art .sticker:hover, .hero__art .photo-sticker:hover { rotate: 0deg; }
}
/* College: two branch calls share the phone row; «تماس با» drops so «خانه اصفهان» fits beside its icon */
.btn__pre { white-space: pre; }
@media (max-width: 639px) { .hero .btn__pre { display: none; } }


/* ---- assets/css/sections/02-signs.css ---- */
/* Signs to watch for: a cool mint section under a wave. The heading beside a wide care photograph that develops
   (picture-develops), then six signs with saffron icon stickers in three columns. */
.signs { background: var(--surface); }
.signs__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: clamp(36px, 4vw, 52px); }
.signs__top .sec-head { margin-bottom: 0; align-content: start; }
.signs__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.signs__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.signs__list { display: grid; gap: 24px 36px; }
.sign { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; }
.sign__icon {
  grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--saffron); color: var(--saffron-ink); box-shadow: 0 0 0 3px var(--edge);
}
.sign__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sign__icon svg ellipse { fill: currentColor; stroke: none; }
.sign__t { font-size: 1.0625rem; font-weight: 500; line-height: 1.6; padding-top: 10px; }
.sign__d { font-size: .9688rem; line-height: 1.85; color: var(--fg-2); }
.signs__note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 36px;
  font-size: .9375rem; color: var(--fg-2);
}
.signs__note svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--fg-3); }

@media (min-width: 640px) { .signs__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .signs__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .signs__photo { aspect-ratio: auto; height: clamp(260px, 32svh, 320px); }
  .signs__list { grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
}


/* ---- assets/css/sections/03-prep.css ---- */
/* Before you come: the saffron band between two waves; three white step cards, each led by a photograph. */
.band { background: var(--band); color: var(--band-ink); }
.band .tag--edge { background: var(--bg); color: var(--fg); }
.band { --swash: #ffffff; }
:root[data-theme="dark"] .band { --swash: var(--saffron); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { --swash: var(--saffron); } }
.prep { padding-block: calc(var(--pad-y) - 8px); }
.prep__list { display: grid; gap: 20px; counter-reset: none; }
.step {
  position: relative; display: grid; align-content: start; gap: 10px; padding: 12px 12px 26px;
  border-radius: var(--r-lg); background: var(--card); color: var(--fg);
}
.step__photo { border-radius: calc(var(--r-lg) - 10px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); margin-bottom: 14px; }
.step__photo img { width: 100%; height: 100%; object-fit: cover; }
.step__n {
  position: absolute; top: 24px; inset-inline-start: 24px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--saffron); color: var(--saffron-ink); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1;
  box-shadow: 0 0 0 4px var(--edge), var(--shadow-sticker); rotate: -6deg;
}
.step__t, .step__d { padding-inline: 12px; }
.step__d { color: var(--fg-2); font-size: 1rem; line-height: 1.85; }
@media (min-width: 768px) { .prep__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .prep__list { gap: 28px; } .step { padding: 14px 14px 30px; } .step__t, .step__d { padding-inline: 14px; } }

/* dark: the band turns deep teal and keeps a saffron hairline on its waves */
:root[data-theme="dark"] .band .step, :root[data-theme="dark"] .band .tag--edge { background: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band .step, :root:not([data-theme="light"]) .band .tag--edge { background: var(--bg); } }

/* College: each card is a branch (or the pet shop) with its hours, phone and map link */
.step__n svg { width: 24px; height: 24px; }
.branch { display: grid; gap: 2px; padding-inline: 12px; margin-top: 6px; }
.branch__row { display: flex; gap: 8px; align-items: flex-start; padding-block: 6px; font-size: .9375rem; line-height: 1.8; color: var(--fg-2); }
.branch svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--fg-3); }
.branch__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--line-strong); transition: text-decoration-color var(--t-ui) ease; }
.branch__link svg { margin-top: 0; }
@media (hover: hover) and (pointer: fine) { .branch__link:hover { text-decoration-color: currentColor; } }
@media (min-width: 1024px) { .branch { padding-inline: 14px; } }


/* ---- assets/css/sections/04-faq.css ---- */
/* FAQ: questions open in place (native details, the plus turns); a squircle portrait with two photo stickers beside. */
/* dark: the FAQ sits on the raised teal so the closing band's wave still reads */
:root[data-theme="dark"] .faq { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .faq { background: var(--surface); } }
:root[data-theme="dark"] .qa__icon { background: var(--surface-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .qa__icon { background: var(--surface-2); } }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.faq__list { display: grid; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px;
  cursor: pointer; list-style: none; font-size: 1.0938rem; font-weight: 500; line-height: 1.7;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); color: var(--fg); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out);
}
.qa__icon svg { width: 18px; height: 18px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--saffron); color: var(--saffron-ink); }
.qa__a { padding: 0 0 20px; max-width: 58ch; color: var(--fg-2); }
@media (hover: hover) and (pointer: fine) { .qa__q:hover .qa__icon { background: var(--saffron); color: var(--saffron-ink); } }

.faq__art { position: relative; width: min(100%, 420px); justify-self: center; aspect-ratio: 4 / 5; margin-block: 8px 24px; }
.faq__cut { position: absolute; inset: 0; }
.faq__s1 { position: absolute; width: 34%; top: 6%; inset-inline-end: 0; }
@media (min-width: 1024px) { .faq__s1 { inset-inline-end: -8%; } }
.faq__s2 { position: absolute; width: 30%; bottom: -3%; inset-inline-start: -2%; }
@media (min-width: 1024px) { .faq__s2 { inset-inline-start: -6%; } }

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
  .faq__art { width: 100%; max-width: 440px; justify-self: end; margin: 0; }
}


/* ---- assets/css/sections/05-nf.css ---- */
/* 404 */
.nf { padding-block: 48px 120px; }
.nf__grid { display: grid; gap: 40px; align-items: center; min-height: calc(100svh - var(--hdr-h) - 168px); }
.nf__text { display: grid; gap: 18px; justify-items: start; }
.nf__code { font-size: 1.4rem; font-weight: 600; }
.nf__cut { width: min(100%, 360px); aspect-ratio: 1; justify-self: center; }
@media (min-width: 1024px) { .nf__grid { grid-template-columns: 1fr 1fr; } .nf__cut { width: min(100%, 440px); justify-self: end; } }


/* ---- assets/css/sections/90-assistant.css ---- */
/* Demo assistant: a saffron squircle button at the bottom end corner, a rounded panel above it. */
.as { position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; }
.as__fab {
  display: grid; place-items: center; width: 56px; height: 56px; margin-inline-start: auto;
  background: var(--saffron); color: var(--saffron-ink); border-radius: 20px; box-shadow: 0 0 0 3px var(--edge), var(--shadow-sticker);
  transition: transform var(--t-fast) var(--ease-out);
}
.as__fab:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .as__fab:hover { transform: translateY(-2px); } .as__fab:active { transform: scale(.95); } }
.as__panel {
  position: absolute; inset-inline-end: 0; bottom: 68px;
  width: min(340px, calc(100vw - 32px)); max-height: min(520px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain;
  background: var(--card); color: var(--fg); border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-pop);
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom left;
  transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
.as__panel.is-open { opacity: 1; transform: none; }
.as__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 18px; background: var(--saffron); color: var(--saffron-ink); }
.as__head .icon-btn { color: var(--saffron-ink); }
.as__title { font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.as__log { flex: 1; min-height: 96px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.as__msg { max-width: 88%; padding: 8px 14px; border-radius: 18px; font-size: .875rem; line-height: 1.8; }
.as__msg--bot { background: var(--surface); align-self: flex-start; border-start-start-radius: 6px; }
.as__msg--user { background: var(--action); color: var(--action-ink); align-self: flex-end; border-start-end-radius: 6px; }
.as__qs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; min-height: 0; max-height: 40dvh; overflow-y: auto; overscroll-behavior: contain; }
.as__q {
  min-height: 44px; padding: 6px 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: .8125rem; text-align: start; line-height: 1.6;
  transition: background-color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.as__q:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .as__q:hover { box-shadow: inset 0 0 0 1px var(--fg); background: var(--surface); } }
.as__note { padding: 8px 16px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--fg-3); text-align: center; }
@media (max-width: 480px) { .as__panel { width: calc(100vw - 32px); } }
