/* ---- 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?v=cbee7234c1) 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; }
@font-face { font-family: "Space Grotesk"; src: url(/assets/fonts/space-grotesk-latin.woff2?v=cbee7234c1) format("woff2"); font-weight: 300 700; 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: "Space Grotesk", "Estedad", system-ui, sans-serif;

  --canvas: #f8f5ee;
  --raised: #f0ebe0;
  --card: #fbf9f4;
  --elevated: #e9e3d5;
  --line: #e1dacb;
  --line-strong: #c9c0ac;
  --fg: #16130e;
  --fg-2: #413b30;
  --fg-3: #655d4d;

  /* THE accent. Each site replaces these four (and checks contrast: --brand as text 4.5:1, --brand-ink on --brand-fill 4.5:1). */
  --brand: #7a5f2b;
  --brand-fill: #7a5f2b;
  --brand-fill-hover: #654e22;
  --brand-soft: #efe6d2;
  --brand-ink: #ffffff;
  --spark: #a336cf;

  --shadow: 0 1px 2px rgb(22 19 14 / .05), 0 8px 24px -12px rgb(22 19 14 / .16);

  --r-1: 2px;
  --r-2: 4px;
  --r-3: 6px;
  --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: #12100d;
  --raised: #181510;
  --card: #1b1812;
  --elevated: #231f18;
  --line: rgb(255 244 220 / .1);
  --line-strong: rgb(255 244 220 / .2);
  --fg: #f4efe4;
  --fg-2: #c9c1b0;
  --fg-3: #9a927f;
  --brand: #cec19f;
  --brand-fill: #cec19f;
  --brand-fill-hover: #ddd2b6;
  --brand-soft: rgb(206 193 159 / .12);
  --brand-ink: #14110d;
  --spark: #c35cf0;
  --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: #12100d;
    --raised: #181510;
    --card: #1b1812;
    --elevated: #231f18;
    --line: rgb(255 244 220 / .1);
    --line-strong: rgb(255 244 220 / .2);
    --fg: #f4efe4;
    --fg-2: #c9c1b0;
    --fg-3: #9a927f;
    --brand: #cec19f;
    --brand-fill: #cec19f;
    --brand-fill-hover: #ddd2b6;
    --brand-soft: rgb(206 193 159 / .12);
    --brand-ink: #14110d;
    --spark: #c35cf0;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
.night {
  --canvas: #12100d;
  --raised: #181510;
  --card: #1b1812;
  --elevated: #231f18;
  --line: rgb(255 244 220 / .1);
  --line-strong: rgb(255 244 220 / .2);
  --fg: #f4efe4;
  --fg-2: #c9c1b0;
  --fg-3: #9a927f;
  --brand: #cec19f;
  --brand-fill: #cec19f;
  --brand-fill-hover: #ddd2b6;
  --brand-soft: rgb(206 193 159 / .12);
  --brand-ink: #14110d;
  --spark: #c35cf0;
  --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: #f4efe4; }
.hdr.is-over .icon-btn { color: #c9c1b0; }
.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 { width: 14px; height: 21px; flex: none; background: var(--brand); -webkit-mask: url(/assets/img/mark.png?v=60550eefb6) center / contain no-repeat; mask: url(/assets/img/mark.png?v=60550eefb6) center / contain no-repeat; }
.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: #c9c1b0; }
.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 { display: flex; align-items: center; gap: 10px; 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 ---- */
/* Hero: night, braided-mark photo frame, facts row, a moving pulse line. */
.hero { position: relative; overflow: clip; padding-bottom: 0; isolation: isolate; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgb(195 92 240 / .16), transparent 70%); pointer-events: none; }
.hero__in { display: grid; gap: 32px; padding-block: clamp(40px, 7vw, 88px) clamp(32px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero__text { display: grid; gap: 20px; justify-items: start; }
.hero__text .eyebrow { margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__shot { position: relative; margin: 0; aspect-ratio: 4 / 4.4; border: 1px solid var(--line-strong); border-radius: var(--r-3); overflow: hidden; }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(18 16 13 / .55), transparent 45%); }
.hero__mark { position: absolute; z-index: 1; inset-inline-start: 16px; bottom: 16px; width: 26px; height: 38px; background: var(--brand); -webkit-mask: url(/assets/img/mark.png?v=60550eefb6) center / contain no-repeat; mask: url(/assets/img/mark.png?v=60550eefb6) center / contain no-repeat; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); padding-inline: 0; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { padding: 18px var(--gutter); border-inline-start: 1px solid var(--line); }
.facts > div:first-child { border-inline-start: 0; }
@media (max-width: 719px) { .facts > div:nth-child(3) { border-inline-start: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.facts dt { font-size: .8125rem; color: var(--fg-3); }
.facts dd { margin: 0; color: var(--fg-2); }
.facts .big { font-family: var(--font); font-size: 2rem; font-weight: 500; color: var(--fg); line-height: 1.2; }
/* pulse line: two copies slide one width; transform only */
.wave { position: relative; display: flex; height: 56px; color: var(--spark); opacity: .75; overflow: hidden; direction: ltr; }
.wave__run { flex: none; width: 100%; height: 100%; animation: pulse-run 14s linear infinite; }
@keyframes pulse-run { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .wave__run { animation: none; } }


/* ---- assets/css/sections/02-spaces.css ---- */
/* Gallery */
.gal { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gal__i--a { grid-column: span 2; }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(4, 1fr); gap: 16px; } .gal__i--a { grid-column: span 2; grid-row: span 2; } }
.gal__i { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--elevated); }
.gal__i img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s var(--ease-out); }
.gal__i--a img { aspect-ratio: auto; min-height: 100%; }
.gal__i figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 28px 12px 10px; font-size: .8125rem; color: #f4efe4; background: linear-gradient(to top, rgb(18 16 13 / .75), transparent); }
@media (hover: hover) and (pointer: fine) { .gal__i:hover img { transform: scale(1.03); } }

/* Facilities */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: .8fr 1.2fr; gap: 72px; } .split .sec-head { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; } }
.svc { display: grid; }
.svc__i { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line-strong); }
.svc__i:last-child { border-bottom: 1px solid var(--line-strong); }
.svc__n { font-family: var(--font); font-size: .875rem; color: var(--brand); padding-top: 4px; }
.svc__i .h3 { margin-bottom: 4px; }

/* Classes */
.cls { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-strong); border-inline-start: 1px solid var(--line-strong); }
@media (min-width: 900px) { .cls { grid-template-columns: repeat(4, 1fr); } }
.cls__i { display: grid; gap: 2px; align-content: end; min-height: 120px; padding: 16px; border-bottom: 1px solid var(--line-strong); border-inline-end: 1px solid var(--line-strong); transition: background-color var(--t-ui) var(--ease-out); }
.cls__fa { font-size: 1.15rem; font-weight: 500; }
.cls__en { font-size: .8125rem; color: var(--fg-3); text-align: right; }
@media (hover: hover) and (pointer: fine) { .cls__i:hover { background: var(--brand-soft); } }
.keep { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--fg-2); }
.keep__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--spark) 22%, transparent); }


/* ---- assets/css/sections/03-faq.css ---- */
.faq { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq__i { border-top: 1px solid var(--line-strong); }
.faq__i:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding-block: 14px; font-weight: 500; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: "+"; font-family: var(--font-latin); font-size: 1.4rem; font-weight: 400; color: var(--brand); transition: transform var(--t-ui) var(--ease-out); }
.faq__i[open] summary::after { transform: rotate(45deg); }
.faq__i p { padding-bottom: 18px; color: var(--fg-2); max-width: 56ch; }


/* ---- assets/css/sections/04-contact.css ---- */
.cta { position: relative; overflow: clip; }
.cta::before { content: ""; position: absolute; inset: auto auto -40% -10%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(195 92 240 / .13), transparent 70%); pointer-events: none; }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 900px) { .cta__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }
.cta__h { overflow-wrap: anywhere; font-size: clamp(1.7rem, 1.2rem + 3vw, 3.4rem); margin-bottom: 12px; }
.cta__box { display: grid; gap: 10px; justify-items: stretch; }
.cta__box .btn { white-space: normal; text-align: center; padding-inline: 12px; min-height: 52px; line-height: 1.5; }
.cta__box .btn--quiet { min-height: 44px; }
.req { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.req__row { display: flex; gap: 8px; }
.req input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; background: var(--elevated); border: 1px solid var(--line-strong); border-radius: var(--r-2); }
.req input::placeholder { color: var(--fg-3); }


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