/* ---- assets/css/base.css ---- */
/* Re-skin per client: their brand colour and type; two sites must not look alike.

   Starter base: neutral tokens (light + dark + .night), fonts, reset, type scale and primitives.
   House look: thin, sharp, quiet. Weights 400/500/600 only, 1px hairline borders, small radii (4-12px; pills only
   for chips), ONE accent set (--brand, --brand-fill, --brand-fill-hover, --brand-soft, --brand-ink) that each site
   replaces, strong ease-out, UI motion under 300ms, transform/opacity only, hover only on fine pointers.
   Section styles live in css/sections/<file>.css and are concatenated after this file. */

/* ---------- fonts: YekanBakh variable (round, friendly) ---------- */
@font-face { font-family: "YekanBakh"; src: url(/assets/fonts/yekanbakh-vf.woff2?v=4fc88cde46) format("woff2"); font-weight: 100 1000; font-display: swap; }

/* ---------- tokens: sky ground, sunshine spark, ONE coral action ---------- */
:root {
  --font: "YekanBakh", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-latin: var(--font);
  --canvas: #ffffff; --raised: #eef6fb; --card: #ffffff; --elevated: #e4eef6;
  --line: #d9e5ee; --line-strong: #b9cbd9;
  --fg: #16273b; --fg-2: #3a4c61; --fg-3: #566a80;
  --brand: #bd3a11; --brand-fill: #bd3a11; --brand-fill-hover: #9f300f; --brand-soft: #ffe9e0; --brand-ink: #ffffff;
  --spark: #ffc83d; --sun: #fff3c9; --sky: #dcedf8;
  --shadow: 0 1px 2px rgb(22 39 59 / .06), 0 10px 28px -14px rgb(22 39 59 / .22);
  --r-1: 4px; --r-2: 8px; --r-3: 14px; --pill: 999px;
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --t-fast: 140ms; --t-ui: 220ms; --hdr-h: 64px; --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 1024px) { :root { --hdr-h: 72px; --gutter: 32px; } }
:root[data-theme="dark"] {
  --canvas: #0e1a28; --raised: #132235; --card: #16283c; --elevated: #1d3148;
  --line: rgb(255 255 255 / .1); --line-strong: rgb(255 255 255 / .2);
  --fg: #f6f2ea; --fg-2: #c5d0dc; --fg-3: #9aaabb;
  --brand: #ff8f64; --brand-fill: #ff8f64; --brand-fill-hover: #ffa683; --brand-soft: rgb(255 143 100 / .14); --brand-ink: #1c0d06;
  --spark: #ffd166; --sun: #2a2614; --sky: #17314a;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --canvas: #0e1a28; --raised: #132235; --card: #16283c; --elevated: #1d3148;
  --line: rgb(255 255 255 / .1); --line-strong: rgb(255 255 255 / .2);
  --fg: #f6f2ea; --fg-2: #c5d0dc; --fg-3: #9aaabb;
  --brand: #ff8f64; --brand-fill: #ff8f64; --brand-fill-hover: #ffa683; --brand-soft: rgb(255 143 100 / .14); --brand-ink: #1c0d06;
  --spark: #ffd166; --sun: #2a2614; --sky: #17314a;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
  }
}
.night {
  --canvas: #0e1a28; --raised: #132235; --card: #16283c; --elevated: #1d3148;
  --line: rgb(255 255 255 / .1); --line-strong: rgb(255 255 255 / .2);
  --fg: #f6f2ea; --fg-2: #c5d0dc; --fg-3: #9aaabb;
  --brand: #ff8f64; --brand-fill: #ff8f64; --brand-fill-hover: #ffa683; --brand-soft: rgb(255 143 100 / .14); --brand-ink: #1c0d06;
  --spark: #ffd166; --sun: #2a2614; --sky: #17314a;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
  background: var(--canvas);
  color: var(--fg);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  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; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:target { scroll-margin-top: calc(var(--hdr-h) + 16px); }
::selection { background: var(--brand-soft); color: var(--fg); }
.is-locked { overflow: hidden; }
.is-theming *, .is-theming *::before, .is-theming *::after { transition: none !important; }
.sr-only { font-weight: 400; 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; padding: 10px 16px; background: var(--fg); color: var(--canvas); border-radius: var(--r-2); }
.skip:focus-visible { top: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-1); }

/* ---------- type scale ---------- */
.h-display { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.5rem); font-weight: 600; line-height: 1.25; letter-spacing: 0; text-wrap: balance; }
.h2 { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem); font-weight: 600; line-height: 1.4; text-wrap: balance; }
.h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.6; }
.lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); color: var(--fg-2); line-height: 1.95; max-width: 60ch; text-wrap: pretty; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 500; color: var(--brand); letter-spacing: 0; margin-bottom: 12px; }
.muted { color: var(--fg-3); }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }

/* Phone numbers in RTL: Persian digits are weak in bidi, so space-separated groups come out reversed
   («۰۹۱۳ ۷۳۰ ۰۷۵۰» shows as «۰۷۵۰ ۷۳۰ ۰۹۱۳»). One isolated LTR run fixes it; `right`, not match-parent. */
a[href^="tel:"] .num, a.num[href^="tel:"], .num { direction: ltr; unicode-bidi: isolate; text-align: right; word-spacing: .2em; font-variant-numeric: tabular-nums; }
/* Latin sub-labels and handles under Persian titles */
.tag-en { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec--mist { background: var(--raised); border-block: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .h2 { margin-bottom: 12px; }
.sec-head p:not(.eyebrow) { color: var(--fg-2); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-2);
  font-size: .95rem; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand-fill); color: var(--brand-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn--quiet { color: var(--brand); padding-inline: 8px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--brand-fill-hover); }
  .btn--ghost:hover { border-color: var(--fg-3); background: var(--elevated); }
  .btn--quiet:hover { background: var(--brand-soft); }
}
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-2); 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(.97); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--elevated); color: var(--fg); } }

/* ---------- card, chip ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(20px, 3vw, 28px);
  transition: border-color var(--t-ui) var(--ease-out), translate var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .card--link:hover { border-color: var(--line-strong); translate: 0 -2px; } }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--elevated);
  font-size: .8125rem; font-weight: 500; color: var(--fg-2);
}
.chip--brand { background: var(--brand-soft); border-color: transparent; color: var(--brand); }

/* ---------- reveal ----------
   [data-reveal] fades up once when first seen (core.js adds .is-in). [data-stagger] on a parent indexes its
   children (--i). Only transform and opacity. Without JS everything is visible. */
.js [data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease-out) calc(var(--i, 0) * 70ms), transform .45s var(--ease-out) calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

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


/* ---- assets/css/sections/00-chrome.css ---- */
/* Chrome: header, mobile menu, footer, preview badge, dialog and toast. */

/* header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h);
  background: var(--canvas); border-bottom: 1px solid var(--line);
  transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}
.hdr.is-solid { background: color-mix(in srgb, var(--canvas) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.hdr.is-over { background: transparent; border-bottom-color: transparent; color: #f3f5f8; }
.hdr.is-over .icon-btn { color: #bcc3cd; }
.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: 24px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--spark); color: #16273b; } .logo__mark svg { width: 18px; height: 18px; }
.hdr__nav { display: none; margin-inline-start: 16px; }
.hdr__list { display: flex; gap: 4px; }
.hdr__link { display: block; padding: 8px 12px; border-radius: var(--r-2); font-size: .9375rem; color: var(--fg-2); transition: color var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out); }
.hdr.is-over .hdr__link { color: #bcc3cd; }
.hdr__link[aria-current="page"] { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .hdr__link:hover { color: var(--fg); background: var(--elevated); } }
.hdr__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.hdr__cta { display: none; }
@media (min-width: 640px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1024px) { .hdr__nav { display: block; } .hdr__burger { display: none; } }

/* mobile menu: a sheet under the header */
.menu {
  position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 49; background: color-mix(in srgb, var(--canvas) 40%, transparent);
  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; }
.menu.is-instant { transition: none; }
.menu__panel { display: grid; gap: 16px; align-content: start; padding-block: 12px 24px; background: var(--canvas); border-bottom: 1px solid var(--line); max-width: none; }
.menu__nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.menu__nav a[aria-current="page"] { color: var(--brand); }
@media (min-width: 1024px) { .menu { display: none; } }

/* main sits under the fixed header; a leading .hero.night slides up behind it */
main { padding-top: var(--hdr-h); }
main > .hero:first-child { margin-top: calc(var(--hdr-h) * -1); padding-top: var(--hdr-h); }

/* footer */
.ftr { padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.ftr__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr__name { font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.ftr__h { font-weight: 500; font-size: .875rem; color: var(--fg-3); margin-bottom: 10px; }
.ftr__text { color: var(--fg-2); font-size: .9375rem; }
.ftr__list { display: grid; gap: 6px; font-size: .9375rem; color: var(--fg-2); }
.ftr a { transition: color var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: var(--fg); } }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-block: 20px calc(20px + 64px); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--fg-3); }
.ftr__bar a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* 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(--canvas); border: 1px solid var(--line-strong); border-radius: var(--r-2);
  font-size: .6875rem; line-height: 1.4; color: var(--fg-3);
}
.pbadge__link { position: relative; padding: 6px 4px 6px 8px; }
.pbadge__link::after, .pbadge__x::after { content: ""; position: absolute; inset: -9px -4px; }
.pbadge__x { position: relative; }
.pbadge__x { display: grid; place-items: center; width: 28px; height: 28px; margin-inline-end: 2px; border-radius: var(--r-1); color: var(--fg-3); transition: color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.pbadge__x:active { transform: scale(.97); }
@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: 1px solid var(--line-strong); border-radius: var(--r-3); background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
.dlg::backdrop { background: rgb(13 16 20 / .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: 600; }
.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 16px; background: var(--fg); color: var(--canvas); border-radius: var(--r-2); 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; }
.logo__name { white-space: nowrap; font-size: 1rem; }


/* ---- assets/css/sections/01-hero.css ---- */
.dot { display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 50%; background: var(--spark); vertical-align: 1px; }
.hero { padding-block: calc(var(--hdr-h) + 32px) clamp(40px, 6vw, 72px); background: radial-gradient(60% 70% at 85% 20%, var(--sun), transparent 70%); overflow: clip; }
.hero__in { display: grid; gap: 40px; align-items: center; }
.hero__text { display: grid; gap: 18px; justify-items: start; }
.hero .h-display { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.4rem); }
.mark { position: relative; display: inline-block; color: var(--brand); }
.mark::after { content: ""; position: absolute; inset-inline: -2px; bottom: .02em; height: .22em; background: var(--spark); z-index: -1; border-radius: 3px; opacity: .85; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__art { position: relative; min-height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
.hero__art figure { margin: 0; }
.arch { width: 62%; margin-inline-start: auto; aspect-ratio: 4/5; border-radius: 999px 999px 14px 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--sky); }
.arch img, .snap img { width: 100%; height: 100%; object-fit: cover; }
.snap { position: absolute; width: 46%; aspect-ratio: 4/3; padding: 6px; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-3); box-shadow: var(--shadow); transition: rotate var(--t-ui) var(--ease-out); }
.snap img { border-radius: 9px; }
.snap--a { inset-inline-start: 0; top: 4%; rotate: -4deg; }
.snap--b { inset-inline-start: 6%; bottom: 0; rotate: 3deg; width: 50%; }
.sticker { position: absolute; inset-inline-end: -4px; bottom: 8%; padding: 10px 16px; background: var(--spark); color: #16273b; border-radius: var(--r-2); font-size: .8125rem; line-height: 1.5; rotate: -5deg; box-shadow: var(--shadow); }
.sticker b { font-weight: 600; font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) { .snap:hover { rotate: 0deg; } }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero__art { min-height: 520px; } }
@media (max-width: 480px) { .hero__art { min-height: 340px; } .sticker { inset-inline-end: 0; } }
.js .hero__art [data-reveal] { transform: translateY(14px) scale(.98); }
.js .hero__art [data-reveal].is-in { transform: none; }
.snap--a.is-in, .snap--b.is-in { /* keep the tilt: rotate is its own property, not touched by reveal */ }

/* category strip: one band of kinds of animals */
.strip { border-block: 1px solid var(--line); background: var(--brand-fill); color: var(--brand-ink); }
.strip__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.strip__list li { display: flex; align-items: center; gap: 20px; padding-block: 12px; padding-inline-end: 20px; font-weight: 500; }
.strip__list li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); }
.strip__list li:last-child { padding-inline-end: 0; } .strip__list li:last-child::after { display: none; }

main > .hero:first-child { margin-top: 0; padding-top: 40px; }


/* ---- assets/css/sections/02-sides.css ---- */
.sec--tight { padding-block: clamp(40px, 6vw, 72px) 0; }
.sides { display: grid; gap: 16px; }
@media (min-width: 768px) { .sides { grid-template-columns: 1fr 1fr; } }
.side { display: grid; gap: 14px; align-content: space-between; min-height: 220px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-strong); border-radius: var(--r-3); transition: translate var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out); }
.side--clinic { background: var(--sky); }
.side--shop { background: var(--sun); }
.side__k { font-size: .875rem; font-weight: 500; color: var(--fg-2); }
.side__t { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 600; line-height: 1.6; text-wrap: balance; }
.side__go { font-weight: 500; color: var(--brand); }
.side__go i { font-style: normal; display: inline-block; transition: translate var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .side:hover { translate: 0 -3px; border-color: var(--fg-3); } .side:hover .side__go i { translate: -4px 0; } }
.side:active { translate: 0 0; }


/* ---- assets/css/sections/03-clinic.css ---- */
.sec--sky { background: var(--sky); }
.sec--sun { background: var(--sun); }
.clinic { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .clinic { grid-template-columns: 1.3fr 1fr; gap: 64px; } .clinic__photo { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.clinic__photo { margin: 0; border-radius: 14px 14px 140px 14px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 4/5; max-width: 440px; width: 100%; }
.clinic__photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--spark); color: #16273b; font-weight: 600; font-size: 1.15rem; }
.steps .h3 { font-size: 1.08rem; font-weight: 600; }
.clinic__cta { margin-top: 24px; }


/* ---- assets/css/sections/04-shop.css ---- */
.shop { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .shop { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .shop { grid-template-columns: repeat(3, 1fr); } }
.cat { display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; transition: translate var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out); }
.cat img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.cat__b { padding: 16px 18px 20px; }
.cat__b .h3 { font-weight: 600; margin-bottom: 4px; }
.cat__b p { color: var(--fg-2); font-size: .9375rem; line-height: 1.85; }
.cat--duo { grid-template-rows: none; grid-template-columns: 1fr; background: var(--brand-soft); border-color: transparent; align-content: center; }
.cat--duo .cat__b { padding: 24px 22px; }
.cat--duo .cat__b + .cat__b { border-top: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
@media (min-width: 600px) { .cat--duo { grid-column: span 2; grid-template-columns: 1fr 1fr; } .cat--duo .cat__b + .cat__b { border-top: 0; border-inline-start: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); } }
@media (min-width: 600px) and (max-width: 1023px) { .cat--photo:nth-child(4) { grid-column: auto; } }
@media (hover: hover) and (pointer: fine) { .cat:hover { translate: 0 -3px; border-color: var(--line-strong); } }
.shop__more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.chip--spark { background: var(--spark); border-color: transparent; color: #16273b; min-height: 36px; padding-inline: 16px; font-size: .9375rem; }


/* ---- assets/css/sections/05-magazine.css ---- */
.mag { display: grid; gap: 24px; }
@media (min-width: 900px) { .mag { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } .mag .sec-head { margin-bottom: 0; } }
.mag__list { counter-reset: m; border-top: 1px solid var(--line); }
.mag__list li { counter-increment: m; display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.05rem; }
.mag__list li::before { content: counter(m, persian); color: var(--brand); font-weight: 600; min-width: 1.6em; }


/* ---- assets/css/sections/06-faq.css ---- */
.faq { max-width: 760px; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--spark); color: #16273b; font-weight: 600; transition: transform var(--t-ui) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 16px; color: var(--fg-2); }


/* ---- assets/css/sections/07-contact.css ---- */
.contact { border-top: 1px solid var(--line); }
.ct { display: grid; gap: 14px; }
@media (min-width: 720px) { .ct { grid-template-columns: repeat(3, 1fr); } }
.ct .card { background: var(--card); }
.ct .card a { display: flex; align-items: center; margin-top: 4px; min-height: 44px; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .ct .card a:hover { color: var(--brand); } }


/* ---- assets/css/sections/90-assistant.css ---- */
/* Demo assistant: floating button at the bottom end corner, small 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: 52px; height: 52px; margin-inline-start: auto;
  background: var(--brand-fill); color: var(--brand-ink); border-radius: var(--r-3);
  box-shadow: var(--shadow);
  transition: background-color var(--t-ui) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.as__fab:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .as__fab:hover { background: var(--brand-fill-hover); } }
.as__panel {
  position: absolute; inset-inline-end: 0; bottom: 64px;
  width: min(340px, calc(100vw - 32px)); max-height: min(520px, calc(100dvh - 120px));
  display: flex; flex-direction: column;
  background: var(--card); color: var(--fg); border: 1px solid var(--line-strong); border-radius: var(--r-3); box-shadow: var(--shadow);
  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 16px; border-bottom: 1px solid var(--line); }
.as__title { font-weight: 600; font-size: .9375rem; }
.as__log { flex: 1; min-height: 80px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.as__msg { max-width: 88%; padding: 8px 12px; border-radius: var(--r-2); font-size: .875rem; line-height: 1.8; }
.as__msg--bot { background: var(--elevated); align-self: flex-start; }
.as__msg--user { background: var(--brand-soft); color: var(--fg); align-self: flex-end; }
.as__qs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.as__q {
  min-height: 34px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-2);
  font-size: .8125rem; text-align: start; line-height: 1.6;
  transition: border-color var(--t-ui) var(--ease-out), 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 { border-color: var(--brand); background: var(--brand-soft); } }
.as__note { padding: 8px 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--fg-3); text-align: center; }
@media (max-width: 480px) { .as__panel { width: calc(100vw - 32px); } }
