/* ---- 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 ----------
   Only Peyda is declared by default. To switch, replace this block with one below (the files are in
   assets/fonts/) and set --font. Peyda has 400/500/700 files; its 700 file serves weight 600 here, so the page
   never asks for anything heavier than 600.
     YekanBakh:  @font-face { font-family: "YekanBakh"; src: url(/assets/fonts/yekanbakh-vf.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
     Estedad:    @font-face { font-family: "Estedad"; src: url(/assets/fonts/estedad-arabic.woff2?v=4ea2a63e4e) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200D; font-weight: 100 900; font-display: swap; }
                 @font-face { font-family: "Estedad"; src: url(/assets/fonts/estedad-latin.woff2?v=d4c9a2bcc1) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F; font-weight: 100 900; font-display: swap; }
     Vazirmatn:  one @font-face per file vazirmatn-400 / 500 / 700 (700 file used as 600).
     Latin accent face: @font-face { font-family: "Space Grotesk"; src: url(/assets/fonts/space-grotesk-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
   Peyda's space is very narrow: phone numbers get word-spacing (see .num). */
@font-face { font-family: "Estedad"; src: url(/assets/fonts/estedad-arabic.woff2?v=4ea2a63e4e) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200D; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Estedad"; src: url(/assets/fonts/estedad-latin.woff2?v=d4c9a2bcc1) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F; font-weight: 100 900; font-display: swap; }

/* ---------- 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 whatever the theme (a dark hero, the CTA band, the footer). */
:root {
  --font: "Estedad", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-latin: var(--font);

  --canvas: #fcfaf6;
  --raised: #f5f1e8;
  --card: #fffdf9;
  --elevated: #ece5d7;
  --line: #e7dfcf;
  --line-strong: #d2c8b2;
  --fg: #1c1a16;
  --fg-2: #46413a;
  --fg-3: #6b6458;
  --brand: #1d5a49;
  --brand-fill: #1d5a49;
  --brand-fill-hover: #164536;
  --brand-soft: #e3eee8;
  --brand-ink: #ffffff;
  --spark: #c98a0b;

  --shadow: 0 1px 2px rgb(40 30 10 / .05), 0 8px 24px -12px rgb(40 30 10 / .14);

  --r-1: 3px;
  --r-2: 6px;
  --r-3: 8px;
  --pill: 999px;           /* chips only */

  --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: #11140f;
  --raised: #161a14;
  --card: #191e17;
  --elevated: #21271f;
  --line: rgb(255 246 225 / .1);
  --line-strong: rgb(255 246 225 / .2);
  --fg: #f4f1ea;
  --fg-2: #c7c2b5;
  --fg-3: #9b9585;
  --brand: #7cc5a8;
  --brand-fill: #7cc5a8;
  --brand-fill-hover: #93d2b8;
  --brand-soft: rgb(124 197 168 / .12);
  --brand-ink: #0f1410;
  --spark: #e8b04a;
  --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: #11140f;
    --raised: #161a14;
    --card: #191e17;
    --elevated: #21271f;
    --line: rgb(255 246 225 / .1);
    --line-strong: rgb(255 246 225 / .2);
    --fg: #f4f1ea;
    --fg-2: #c7c2b5;
    --fg-3: #9b9585;
    --brand: #7cc5a8;
    --brand-fill: #7cc5a8;
    --brand-fill-hover: #93d2b8;
    --brand-soft: rgb(124 197 168 / .12);
    --brand-ink: #0f1410;
    --spark: #e8b04a;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
.night {
  --canvas: #11140f;
  --raised: #161a14;
  --card: #191e17;
  --elevated: #21271f;
  --line: rgb(255 246 225 / .1);
  --line-strong: rgb(255 246 225 / .2);
  --fg: #f4f1ea;
  --fg-2: #c7c2b5;
  --fg-3: #9b9585;
  --brand: #7cc5a8;
  --brand-fill: #7cc5a8;
  --brand-fill-hover: #93d2b8;
  --brand-soft: rgb(124 197 168 / .12);
  --brand-ink: #0f1410;
  --spark: #e8b04a;
  --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 { 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: 40px; height: 40px;
  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 .5s var(--ease-out) calc(var(--i, 0) * 70ms), transform .5s 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; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.logo__mark { color: var(--brand); flex: none; }
.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.night: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 { padding: 6px 4px 6px 8px; }
.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; }

/* Checks 2026-11-18: tap targets of at least 44px */
.logo { min-height: 44px; }
.icon-btn { width: 44px; height: 44px; }
.hdr__cta { min-height: 44px; }
.pbadge__link { display: inline-flex; align-items: center; min-height: 44px; }
.pbadge__x { width: 44px; height: 44px; margin-inline-end: 0; }
.hdr__link { display: flex; align-items: center; min-height: 44px; }
.btn--sm { min-height: 44px; }


/* ---- assets/css/sections/01-hero.css ---- */
.spark { display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px; border-radius: 50%; background: var(--spark); vertical-align: 1px; }
.hero { padding-block: clamp(28px, 5vw, 64px) 0; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__text { display: grid; gap: 18px; justify-items: start; }
.hero .h-display { font-size: clamp(2.1rem, 1rem + 4.2vw, 4.1rem); font-weight: 500; line-height: 1.3; }
.hero .hl { box-shadow: inset 0 -.28em 0 color-mix(in srgb, var(--spark) 38%, transparent); }
.hero .eyebrow { margin-bottom: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__photo { position: relative; margin: 0 0 14px; }
.hero__photo::before { content: ""; position: absolute; inset: 14px 14px -14px -14px; border: 1px solid var(--line-strong); border-radius: var(--r-3); z-index: 0; }
.hero__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 40%; border-radius: var(--r-3); background: var(--elevated); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); }
  .hero__photo img { aspect-ratio: 5 / 6; }
}
.facts { display: grid; margin-top: clamp(40px, 6vw, 72px); border-block: 1px solid var(--line); }
.facts__i { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.facts__i:last-child { border-bottom: 0; }
.facts dt { font-size: .8125rem; color: var(--fg-3); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .facts { grid-template-columns: 1.4fr 1fr 1fr; }
  .facts__i { padding: 20px 24px; border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .facts__i:first-child { border-inline-start: 0; padding-inline-start: 0; }
}


/* ---- assets/css/sections/02-signs.css ---- */
.signs { display: grid; gap: 36px; }
.signs__photo { margin: 0; }
.signs__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-3); }
.rule { counter-reset: n; }
.rule li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.rule li:last-child { border-bottom: 1px solid var(--line-strong); }
.rule__n { font-size: .9rem; font-weight: 500; color: var(--fg-2); padding-top: 4px; font-variant-numeric: tabular-nums; }
.rule .h3 { margin-bottom: 2px; }
.note { margin-top: 24px; max-width: 62ch; font-size: .9rem; color: var(--fg-3); }
@media (min-width: 900px) {
  .signs { grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
  .signs__side { position: sticky; top: calc(var(--hdr-h) + 24px); }
}


/* ---- assets/css/sections/03-prep.css ---- */
.prep { display: grid; gap: 28px; }
.prep li { border-top: 1px solid var(--fg); padding-top: 16px; }
.prep__n { display: block; font-size: .9rem; font-weight: 500; color: var(--fg-2); margin-bottom: 10px; }
.prep .h3 { margin-bottom: 6px; }
@media (min-width: 768px) { .prep { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.mosaic { display: grid; gap: 12px; margin-top: clamp(40px, 6vw, 72px); grid-template-columns: 1fr 1fr; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r-3); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic__b { aspect-ratio: 3 / 4; }
.mosaic__b img { object-position: 50% 25%; }
.mosaic__c { aspect-ratio: 3 / 4; }
@media (min-width: 768px) {
  .mosaic { grid-template-columns: 1.6fr .8fr 1fr; align-items: end; gap: 16px; }
  .mosaic__a { grid-column: auto; aspect-ratio: 4 / 3.2; }
  .mosaic__b { aspect-ratio: 3 / 4.6; }
  .mosaic__c { aspect-ratio: 3 / 4; }
}


/* ---- assets/css/sections/04-faq.css ---- */
.faqwrap { display: grid; gap: 8px; }
.faq { 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: "+"; color: var(--spark); font-size: 1.3rem; line-height: 1; transition: transform var(--t-ui) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 18px; color: var(--fg-2); max-width: 62ch; }
@media (min-width: 900px) { .faqwrap { grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 7vw, 96px); align-items: start; } .faqwrap .sec-head { margin-bottom: 0; } }


/* ---- assets/css/sections/05-contact.css ---- */
.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; gap: 40px; }
.contact__tel { display: block; min-height: 44px; margin-top: 20px; font-size: clamp(2rem, 1rem + 5vw, 3.6rem); font-weight: 500; line-height: 1.2; color: var(--brand); width: fit-content; }
.contact__list { display: grid; border-top: 1px solid var(--line-strong); align-content: start; }
.contact__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.contact__list li > span { grid-column: 1 / -1; font-size: .8125rem; }
.contact__list p { overflow-wrap: anywhere; }
.contact__list .btn { grid-row: 2; grid-column: 2; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; } }


/* ---- 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); } }
