/* =========================================================
   دیجی‌گواه — کانسپت ۱۰: چهارباغ
   زبان بصری: نمای بالای باغ ایرانی؛ محور، جوی، حوض، کرت، سرو
   ========================================================= */

:root {
  --cypress: #1F4D3A;
  --cypress-2: #2C6A4F;
  --cypress-deep: #123326;
  --water: #3FA7B5;
  --water-2: #7CC6CF;
  --water-deep: #1B6F7C;
  --water-mist: #DDF0F1;
  --rose: #D9677F;
  --rose-deep: #A5405A;
  --rose-mist: #F7E1E6;
  --sand: #E6DCC8;
  --sand-2: #D6C8AB;
  --sand-3: #A8946C;
  --sand-mist: #F2EDE3;
  --leaf: #A8C686;
  --leaf-2: #C9DCB2;
  --leaf-mist: #E6EFDC;
  --bg: #F3F6F1;
  --paper: #FCFDFB;
  --ink: #16302A;
  --ink-2: #455B52;
  --line: #D3DCD0;

  --font: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
  --nast: "Noto Nastaliq Urdu", "Vazirmatn", Tahoma, serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 72px;
  --r: 14px;
  --r-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
svg { display: block; }
a { color: var(--water-deep); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--cypress); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--leaf-2); color: var(--cypress-deep); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--cypress); color: #fff; padding: 8px 16px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.latin { font-family: var(--font); direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Nastaliq display ---------- */
.nast {
  font-family: var(--nast);
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: 0;
  font-feature-settings: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .55em 1.35em;
  border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--cypress); color: #fff; }
.btn-solid:hover { background: var(--cypress-deep); color: #fff; }
.btn-line { border-color: var(--cypress); color: var(--cypress); background: transparent; }
.btn-line:hover { background: var(--cypress); color: #fff; }
.btn-water { background: var(--water-deep); color: #fff; }
.btn-water:hover { background: var(--cypress); color: #fff; }
.btn-sand { background: var(--sand); color: var(--cypress-deep); }
.btn-sand:hover { background: var(--sand-2); color: var(--cypress-deep); }
.btn .ico { width: 20px; height: 20px; flex: none; }
/* a small fountain "seed" marks the primary CTA instead of an arrow */
.btn-seed::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--water-2); box-shadow: 0 0 0 3px rgba(124, 198, 207, .3);
  flex: none;
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 241, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.35; }
.brand-txt b { font-size: 1.2rem; font-weight: 900; color: var(--cypress); }
.brand-txt small { font-size: .74rem; color: var(--ink-2); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav a:not(.btn) {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative;
}
.nav a:not(.btn):hover { background: var(--leaf-mist); color: var(--cypress); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 4px;
  border-radius: 2px; background: var(--water);
}
.nav .btn { min-height: 44px; margin-inline-start: 10px; font-size: .92rem; }
.head-phone {
  display: none; font-weight: 700; color: var(--cypress); text-decoration: none; font-size: .9rem;
  direction: ltr;
}
.burger {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: var(--leaf-mist); position: relative; margin-inline-start: auto;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; inset-inline-start: 12px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--cypress); content: ""; transition: transform .3s var(--ease), opacity .2s;
}
.burger span { top: 22px; }
.burger span::before { top: -7px; inset-inline-start: 0; }
.burger span::after { top: 7px; inset-inline-start: 0; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); background: var(--cypress); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); background: var(--cypress); }

@media (min-width: 1180px) { .head-phone { display: block; } }

@media (max-width: 1023px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px;
    background:
      radial-gradient(circle at 50% 100%, rgba(63, 167, 181, .14) 0 120px, transparent 121px),
      var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px dashed var(--sand-2); }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 1.15rem; }
  .nav a[aria-current="page"]::after { inset-inline: auto 0; inset-inline-start: auto; width: 10px; height: 10px; top: 50%; bottom: auto; margin-top: -5px; border-radius: 50%; }
  .nav .btn { margin: 28px 0 0; min-height: 54px; }
  .nav-extra { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; color: var(--ink-2); font-size: .95rem; }
  .menu-open { overflow: hidden; }
  .menu-open .site-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
}
@media (min-width: 1024px) { .nav-extra { display: none; } }

/* ---------- Section scaffolding ---------- */
.sec { padding-block: clamp(64px, 5vw + 40px, 128px); position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-title { display: flex; flex-direction: column; gap: 0; }
.sec-title .nast { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); color: var(--cypress); display: block; margin-bottom: .05em; }
.sec-title .sec-sub { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 800; color: var(--ink); line-height: 1.6; }
.sec-lead { font-size: 1.06rem; color: var(--ink-2); margin-top: 12px; }

/* the jooy: a water channel used as divider / connector */
.jooy {
  height: 14px; border-radius: 7px; background: var(--sand);
  position: relative; overflow: hidden;
}
.jooy::before {
  content: ""; position: absolute; inset: 4px 0; background: var(--water);
}
.jooy::after {
  content: ""; position: absolute; inset: 5px -40px; width: calc(100% + 80px);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 10px, transparent 10px 40px);
  height: 2px; top: 6px;
  animation: drift 3.2s linear infinite;
}
@keyframes drift { to { transform: translateX(-40px); } }

/* ---------- HERO ---------- */
.hero {
  padding-block: clamp(24px, 3vw, 48px) clamp(48px, 5vw, 88px);
  position: relative; overflow: hidden;
  background:
    linear-gradient(var(--bg), rgba(243,246,241,0) 30%, rgba(243,246,241,0) 70%, var(--bg)),
    repeating-linear-gradient(0deg, rgba(31,77,58,.045) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(31,77,58,.045) 0 1px, transparent 1px 40px);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 72px); align-items: center;
}
.hero-copy { padding-block: 12px; }
.hero h1 { display: flex; flex-direction: column; }
.hero h1 .nast {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem);
  color: var(--cypress); line-height: 2; margin-bottom: -.1em;
}
.hero h1 .nast em { font-style: normal; color: var(--rose-deep); }
.hero h1 .h1-sub {
  font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem); font-weight: 800; line-height: 1.7; color: var(--ink);
}
.hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.14rem); color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 30px;
  font-size: .9rem; color: var(--ink-2);
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg);
  background: var(--water); flex: none;
}

.plan-wrap { position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 1; }
.garden { width: 100%; height: 100%; overflow: visible; }
.plan-caption {
  text-align: center; font-size: .85rem; color: var(--ink-2); margin-top: 12px;
}
.compass {
  position: absolute; inset-inline-end: -14px; top: -14px; width: 46px; height: 46px; color: var(--sand-3);
  background: var(--bg); border-radius: 50%; padding: 4px; overflow: visible;
}

/* hero SVG animation */
.garden .arm, .garden .p, .garden .pool-water, .garden .flow { transform-box: fill-box; }
.garden .arm-n { transform-origin: 50% 100%; }
.garden .arm-s { transform-origin: 50% 0; }
.garden .arm-e { transform-origin: 0 50%; }
.garden .arm-w { transform-origin: 100% 50%; }
.garden .p { transform-origin: center; }
.garden .pool-water { transform-origin: center; }
.garden .ripple { transform-box: fill-box; transform-origin: center; animation: ripple 4s ease-out infinite; opacity: 0; }
.garden .ripple.r2 { animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.garden .flow { animation: flow 1.6s linear infinite; }
@keyframes flow { to { transform: translate(var(--fx), var(--fy)); } }

html.js .garden:not(.is-on) .arm-v { transform: scaleY(0); }
html.js .garden:not(.is-on) .arm-h { transform: scaleX(0); }
html.js .garden:not(.is-on) .p { transform: scale(0); opacity: 0; }
html.js .garden:not(.is-on) .pool-water { transform: scale(0); }
html.js .garden:not(.is-on) .flows { opacity: 0; }
html.js .garden.is-on .pool-water { animation: poolFill .9s var(--ease) both; }
html.js .garden.is-on .arm-v { animation: armV 1s .6s var(--ease) both; }
html.js .garden.is-on .arm-h { animation: armH 1s .6s var(--ease) both; }
html.js .garden.is-on .flows { animation: fadeIn .6s 1.4s both; }
html.js .garden.is-on .p { animation: bloom .7s calc(var(--qd, 0s) + var(--d, 0s)) var(--spring) both; }
@keyframes poolFill { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes armV { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes armH { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bloom { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.garden .quad { transition: opacity .35s var(--ease); }
.plan-wrap.has-active .garden .quad:not(.on) { opacity: .38; }

/* quadrant overlays */
.q {
  position: absolute; width: 39.7%; height: 39.7%;
  display: flex; align-items: center; justify-content: center;
}
.q-1 { top: 5.6%; right: 5.6%; }
.q-2 { top: 5.6%; left: 5.6%; }
.q-3 { bottom: 5.6%; right: 5.6%; }
.q-4 { bottom: 5.6%; left: 5.6%; }
.q-label {
  border: 0; background: rgba(252, 253, 251, .94);
  padding: 8px 14px 9px; border-radius: 10px;
  box-shadow: 0 0 0 1px var(--sand-2), 0 10px 24px -14px rgba(18, 51, 38, .5);
  text-align: center; line-height: 1.5; max-width: 86%;
  transition: transform .3s var(--ease), background-color .3s, opacity .4s;
}
.q-label b { display: block; font-size: .92rem; font-weight: 800; color: var(--cypress-deep); }
.q-label small { display: block; font-size: .74rem; color: var(--ink-2); font-weight: 600; }
html.js .plan-wrap:not(.labels-on) .q-label { opacity: 0; transform: translateY(6px); }
.q-label:hover, .q.on .q-label { background: var(--cypress); }
.q-label:hover b, .q.on .q-label b { color: #fff; }
.q-label:hover small, .q.on .q-label small { color: var(--leaf-2); }

.q-panel {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(252, 253, 251, .97); border-radius: 10px;
  box-shadow: 0 0 0 1px var(--sand-2), 0 22px 40px -22px rgba(18, 51, 38, .55);
  padding: 12px 14px 10px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: scale(.96);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.q.on .q-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.q-panel h2 { font-size: .95rem; color: var(--cypress); padding-bottom: 6px; border-bottom: 2px solid var(--water); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.q-close { border: 0; background: var(--leaf-mist); width: 28px; height: 28px; border-radius: 50%; font-size: 1rem; line-height: 1; color: var(--cypress); flex: none; }
.q-panel ul { list-style: none; flex: 1; overflow: auto; scrollbar-width: thin; }
.q-panel li a {
  display: flex; align-items: baseline; gap: 6px; padding: 1px 0;
  font-size: .8rem; color: var(--ink); text-decoration: none; line-height: 1.6;
}
.q-panel li a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); flex: none; transform: translateY(-2px); }
.q-panel li a:hover { color: var(--water-deep); }
.q-more { font-size: .8rem; font-weight: 700; margin-top: 4px; }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .plan-wrap { max-width: 520px; }
}
@media (max-width: 640px) {
  .q { position: static; width: auto; height: auto; }
  .q-label { position: absolute; padding: 5px 9px 6px; }
  .q-1 .q-label { top: 21%; right: 25%; transform: translate(50%, -50%); }
  .q-2 .q-label { top: 21%; left: 25%; transform: translate(-50%, -50%); }
  .q-3 .q-label { bottom: 21%; right: 25%; transform: translate(50%, 50%); }
  .q-4 .q-label { bottom: 21%; left: 25%; transform: translate(-50%, 50%); }
  html.js .plan-wrap:not(.labels-on) .q-label { opacity: 0; }
  .q-label b { font-size: .74rem; }
  .q-label small { display: none; }
  .q-panel { inset: 6%; padding: 16px; }
  .q-panel li a { font-size: .9rem; padding: 5px 0; }
}

/* ---------- Seed finder (quick tool) ---------- */
.finder {
  background: var(--paper); border-radius: 22px;
  box-shadow: 0 0 0 10px var(--sand), 0 0 0 11px var(--sand-2);
  margin: 11px;
  padding: clamp(24px, 3.5vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px);
}
.finder .sec-head { margin-bottom: 18px; }
.goal-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .92rem; line-height: 1.5;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--water); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--cypress); border-color: var(--cypress); color: #fff; }
.seed-out { display: flex; flex-direction: column; }
.seed-bed {
  min-height: 210px; border-radius: 16px; position: relative;
  background:
    radial-gradient(circle, rgba(31,77,58,.10) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
    var(--leaf-mist);
  box-shadow: inset 0 0 0 8px var(--sand), inset 0 0 0 9px var(--sand-2);
  padding: 28px 24px 20px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 10px 18px;
  list-style: none;
}
.seed-bed .empty { color: var(--ink-2); font-size: .95rem; align-self: center; text-align: center; max-width: 22em; }
.seedling { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; }
.seedling svg { width: 48px; height: 48px; transform-origin: 50% 100%; animation: sprout .6s var(--spring) both; animation-delay: calc(var(--i) * 110ms); }
.seedling span { font-size: .82rem; font-weight: 800; color: var(--cypress-deep); background: var(--paper); padding: 1px 8px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
@keyframes sprout { from { transform: scaleY(0) scaleX(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.seed-why { margin-top: 18px; font-size: .97rem; color: var(--ink-2); min-height: 3.8em; }
.seed-why strong { color: var(--ink); }
.seed-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 899px) { .finder { grid-template-columns: 1fr; } }

/* ---------- Parterre (service families) ---------- */
.parterre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  gap: 22px 0;
  position: relative;
}
.axis {
  grid-column: 2; grid-row: 1 / span 3;
  position: relative; margin-inline: 14px;
  background: var(--sand); border-radius: 22px;
}
.axis::before {
  content: ""; position: absolute; inset: 14px 13px; border-radius: 6px;
  background: linear-gradient(180deg, var(--water), var(--water-deep) 50%, var(--water));
}
.axis::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px;
  background: var(--water-2); border: 7px solid var(--sand); border-radius: 12px; transform: rotate(45deg);
}
.bed {
  position: relative; padding: 26px 26px 22px; border-radius: 6px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; align-items: start;
  transition: background-color .3s;
}
.bed::before, .bed::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cypress); top: -6px;
}
.bed::before { inset-inline-start: -6px; }
.bed::after { inset-inline-end: -6px; }
.bed:nth-of-type(odd) { margin-inline-end: 0; }
.bed:hover { background: #fff; }
.bed-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--leaf-mist); display: grid; place-items: center; grid-row: span 3; transition: transform .4s var(--spring); }
.bed:hover .bed-ico { transform: scale(1.08) rotate(-4deg); }
.bed-ico svg { width: 42px; height: 42px; }
.bed h3 { font-size: 1.12rem; }
.bed h3 a { color: var(--ink); text-decoration: none; }
.bed h3 a::after { content: ""; position: absolute; inset: 0; }
.bed p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.bed .std { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 10px; }
.bed .std li { font-size: .78rem; font-weight: 700; padding: 1px 9px; border-radius: 5px; background: var(--sand-mist); color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.bed .count { position: absolute; inset-inline-end: 18px; bottom: 14px; font-size: .78rem; color: var(--water-deep); font-weight: 700; }
.bed.b-right { grid-column: 1; }
.bed.b-left { grid-column: 3; }
.parterre-foot { text-align: center; margin-top: 36px; }
@media (max-width: 767px) {
  .parterre { grid-template-columns: 30px minmax(0, 1fr); gap: 16px 0; }
  .axis { grid-column: 1; grid-row: 1 / span 6; margin-inline: 0 10px; border-radius: 12px; }
  .axis::before { inset: 8px 7px; }
  .axis::after { display: none; }
  .bed.b-right, .bed.b-left { grid-column: 2; }
  .bed { grid-template-columns: 52px 1fr; padding: 22px 18px 34px; }
  .bed-ico { width: 52px; height: 52px; }
  .bed-ico svg { width: 34px; height: 34px; }
}

/* ---------- Tender package (cypress row) ---------- */
.tender {
  background: var(--cypress-deep); color: #EAF2EC;
  position: relative; overflow: hidden;
}
.tender::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(63, 167, 181, .2), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 56px);
  pointer-events: none;
}
.tender .sec-title .nast { color: var(--leaf); }
.tender .sec-title .sec-sub { color: #fff; }
.tender .sec-lead { color: #C9D9CF; }
.tender-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: end; position: relative; }
.tender-copy .btn-sand { margin-top: 18px; }
.tender-note { font-size: .9rem; color: #A9C2B4; margin-top: 16px; }
.cy-row {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  align-items: end; position: relative; padding-bottom: 0;
}
.cy-row::after {
  content: ""; position: absolute; inset-inline: -10px; bottom: 132px; height: 12px; border-radius: 6px;
  background: var(--sand); opacity: .9;
}
.cy-row li { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.cy-row svg { width: 64px; height: var(--h); transform-origin: 50% 100%; position: relative; z-index: 1; }
html.js .cy-row:not(.in) svg { transform: scaleY(0); }
html.js .cy-row.in svg { animation: grow 1s calc(var(--i) * 140ms) var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.cy-row .cy-txt { height: 132px; padding-top: 22px; }
.cy-row b { display: block; font-size: .95rem; color: #fff; line-height: 1.55; }
.cy-row small { display: block; font-size: .8rem; color: #A9C2B4; line-height: 1.6; margin-top: 4px; }
.cy-row .n {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--water); color: var(--cypress-deep); font-weight: 800; font-size: .8rem; margin-bottom: 6px;
}
@media (max-width: 899px) {
  .tender-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cy-row { grid-template-columns: 1fr; gap: 0; }
  .cy-row::after { display: none; }
  .cy-row li { flex-direction: row; text-align: start; align-items: center; gap: 14px; padding-block: 10px; border-bottom: 1px dashed rgba(230,220,200,.25); }
  .cy-row svg { width: 34px; height: calc(var(--h) * .42); flex: none; }
  .cy-row .cy-txt { height: auto; padding-top: 0; }
}

/* ---------- Process: the water path ---------- */
.waterway { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.waterway::before, .waterway .ww-water {
  content: ""; position: absolute; top: 34px; height: 14px; inset-inline: calc(100% / 12) calc(100% / 12);
  border-radius: 7px;
}
.waterway::before { background: var(--sand); }
.waterway .ww-water {
  background: var(--water); top: 38px; height: 6px; margin-inline: 4px;
  transform-origin: right center; transition: transform 2.6s var(--ease);
}
html.js .waterway:not(.in) .ww-water { transform: scaleX(0); }
.ww-step { position: relative; text-align: center; z-index: 1; }
.ww-pool {
  width: 82px; height: 82px; margin: 0 auto 16px; border-radius: 22px; transform: rotate(45deg) scale(.82);
  background: var(--sand); display: grid; place-items: center; position: relative;
}
.ww-pool::before {
  content: ""; position: absolute; inset: 9px; border-radius: 14px; background: var(--water);
  transform: scale(var(--fill, 1)); transition: transform .6s var(--spring); transition-delay: calc(var(--i) * 380ms + 200ms);
}
html.js .waterway:not(.in) .ww-pool::before { --fill: 0; }
.ww-pool span { position: relative; transform: rotate(-45deg); font-weight: 900; font-size: 1.35rem; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.15); }
html.js .waterway:not(.in) .ww-pool span { color: var(--sand-3); text-shadow: none; }
.ww-pool span { transition: color .3s; transition-delay: calc(var(--i) * 380ms + 300ms); }
.ww-step h3 { font-size: 1rem; margin-bottom: 6px; }
.ww-step p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.ww-step .ww-time { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700; color: var(--water-deep); background: var(--water-mist); padding: 1px 10px; border-radius: 99px; }
.ww-step .ww-out { display: block; margin-top: 6px; font-size: .8rem; color: var(--ink); font-weight: 600; }
@media (max-width: 1023px) {
  .waterway { grid-template-columns: 1fr; gap: 0; }
  .waterway::before, .waterway .ww-water { top: 30px; bottom: 30px; inset-inline: 33px auto; width: 14px; height: auto; }
  .waterway .ww-water { width: 6px; inset-inline-start: 37px; margin: 0; transform-origin: center top; }
  html.js .waterway:not(.in) .ww-water { transform: scaleY(0); }
  .ww-step { display: grid; grid-template-columns: 80px 1fr; gap: 0 16px; text-align: start; padding-bottom: 26px; }
  .ww-pool { width: 70px; height: 70px; margin: 0; grid-row: span 5; }
  .ww-step h3 { padding-top: 10px; }
}

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rings { width: 100%; max-width: 480px; margin-inline: auto; }
.rings text { font-family: var(--font); }
.ring-legend { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.ring-legend li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.ring-legend i { width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; }
.ring-legend b { display: block; font-size: 1rem; }
.ring-legend span { font-size: .9rem; color: var(--ink-2); }
.verify {
  margin-top: 28px; padding: 22px 24px; border-radius: 14px;
  background: var(--water-mist); border-inline-start: 6px solid var(--water);
}
.verify h3 { font-size: 1.05rem; margin-bottom: 8px; }
.verify ol { list-style-type: persian; padding-inline-start: 1.5em; font-size: .93rem; color: var(--ink-2); }
.verify ol li { margin-bottom: 4px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 26px 18px; text-align: center; position: relative; }
.stats li + li { border-inline-start: 1px dashed var(--sand-2); }
.stats b { display: block; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 900; color: var(--cypress); line-height: 1.4; }
.stats span { font-size: .9rem; color: var(--ink-2); }
.foot-note { font-size: .8rem; color: var(--ink-2); margin-top: 10px; text-align: center; }
@media (max-width: 899px) { .trust-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .stats li:nth-child(3) { border-inline-start: 0; } .stats li:nth-child(n+3) { border-top: 1px dashed var(--sand-2); } }

/* ---------- Industries (orchard) ---------- */
.orchard { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.orchard li { border-bottom: 1px dashed var(--sand-2); }
.orchard li:not(:nth-child(3n)) { border-inline-end: 1px dashed var(--sand-2); }
.orchard li:nth-last-child(-n+3) { border-bottom: 0; }
.orchard a { display: grid; grid-template-columns: 58px 1fr; gap: 4px 16px; padding: 24px 22px; text-decoration: none; color: var(--ink); height: 100%; transition: background-color .25s; }
.orchard a:hover { background: var(--paper); }
.orchard svg { width: 58px; height: 58px; grid-row: span 2; transition: transform .5s var(--spring); }
.orchard a:hover svg { transform: scale(1.1) rotate(8deg); }
.orchard b { font-size: 1.02rem; }
.orchard span { font-size: .84rem; color: var(--ink-2); direction: rtl; }
@media (max-width: 899px) {
  .orchard { grid-template-columns: 1fr 1fr; }
  .orchard li { border-inline-end: 0 !important; border-bottom: 1px dashed var(--sand-2) !important; }
  .orchard li:nth-child(odd) { border-inline-end: 1px dashed var(--sand-2) !important; }
}
@media (max-width: 560px) {
  .orchard { grid-template-columns: 1fr; }
  .orchard li:nth-child(odd) { border-inline-end: 0 !important; }
  .orchard a { padding: 18px 4px; }
}

/* ---------- Revision callout + articles ---------- */
.revision {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 26px 30px; border-radius: 18px; background: var(--rose-mist);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.revision svg { width: 72px; height: 72px; }
.revision h3 { font-size: 1.15rem; }
.revision p { margin: 4px 0 0; color: #5A3A43; font-size: .95rem; }
@media (max-width: 767px) { .revision { grid-template-columns: 1fr; text-align: start; } }
.notes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 clamp(24px, 4vw, 56px); }
.note { padding-block: 22px; border-top: 1px solid var(--line); }
.note a { text-decoration: none; color: var(--ink); display: block; }
.note a:hover h3 { color: var(--water-deep); }
.note-main { grid-row: span 2; border-top: 3px solid var(--cypress); }
.note-main h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.6; }
.note h3 { font-size: 1.1rem; transition: color .2s; }
.note p { color: var(--ink-2); font-size: .94rem; margin: 8px 0 0; }
.note .meta { font-size: .8rem; color: var(--water-deep); font-weight: 700; margin-bottom: 6px; display: block; }
.note-art { margin-bottom: 18px; border-radius: 12px; overflow: hidden; }
@media (max-width: 767px) { .notes { grid-template-columns: 1fr; } .note-main { grid-row: auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 3px;
  background: var(--sand); box-shadow: inset 0 0 0 4px var(--sand), inset 0 0 0 14px var(--water);
  transform: rotate(45deg) scale(.7); transition: transform .3s var(--spring), box-shadow .3s;
}
.faq details[open] summary::after { transform: rotate(45deg) scale(1); box-shadow: inset 0 0 0 3px var(--sand), inset 0 0 0 14px var(--rose); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.reach { list-style: none; display: grid; gap: 4px; margin-top: 18px; }
.reach li { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--sand-2); }
.reach i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--leaf-mist); }
.reach svg { width: 20px; height: 20px; }
.reach a, .reach span { color: var(--ink); text-decoration: none; font-weight: 600; }
.reach small { display: block; font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.form-bed {
  background: var(--paper); border-radius: 18px; padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 0 0 8px var(--sand), 0 0 0 9px var(--sand-2);
  margin: 9px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 4px rgba(63,167,181,.18); }
.field input[inputmode="tel"] { direction: ltr; text-align: right; }
.field .err { display: block; min-height: 1.4em; color: var(--rose-deep); font-size: .82rem; margin-top: 4px; }
.field.invalid input { border-color: var(--rose); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.form-foot small { color: var(--ink-2); font-size: .82rem; flex: 1; min-width: 200px; }
.form-ok {
  display: none; margin-top: 18px; padding: 18px 20px; border-radius: 12px;
  background: var(--leaf-mist); color: var(--cypress-deep); font-weight: 700;
  border-inline-start: 6px solid var(--cypress);
}
.form-ok.show { display: block; animation: fadeIn .4s both; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--cypress-deep); color: #C9D9CF; padding-top: 0; margin-top: 0; position: relative; }
.foot-hedge { height: 30px; background:
  radial-gradient(circle at 15px 15px, var(--cypress) 10px, transparent 11px) 0 0 / 30px 30px repeat-x,
  var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-block: 56px 36px; }
.site-foot .brand-txt b { color: #fff; }
.site-foot .brand-txt small { color: #A9C2B4; }
.site-foot p { font-size: .9rem; margin-top: 16px; }
.site-foot h2 { font-size: .98rem; color: #fff; margin-bottom: 12px; }
.site-foot ul { list-style: none; display: grid; gap: 4px; }
.site-foot a { color: #C9D9CF; text-decoration: none; font-size: .9rem; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px 90px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (min-width: 1024px) { .foot-bottom { padding-bottom: 22px; } }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Floating contact ---------- */
.float-contact {
  position: fixed; inset-inline-end: 14px; bottom: 14px; z-index: 40;
  display: flex; gap: 8px; padding: 6px; border-radius: 999px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -14px rgba(18,51,38,.45);
}
.float-contact a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 18px;
  border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .92rem;
}
.float-contact svg { width: 22px; height: 22px; }
.fc-wa { background: var(--cypress); color: #fff; }
.fc-wa:hover { color: #fff; background: var(--cypress-deep); }
.fc-call { color: var(--cypress); background: var(--leaf-mist); }
@media (min-width: 1024px) {
  .float-contact { padding: 5px; }
  .fc-call { display: none !important; }
}

/* ---------- Page hero (inner pages) ---------- */
.crumbs { font-size: .85rem; color: var(--ink-2); padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--sand-3); }
.crumbs a { color: var(--ink-2); }
.page-hero { padding-block: 20px clamp(32px, 4vw, 56px); }
.page-hero h1 { display: flex; flex-direction: column; }
.page-hero h1 .nast { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); color: var(--cypress); line-height: 2; margin-bottom: -.1em; }
.page-hero h1 .h1-sub { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); font-weight: 900; line-height: 1.6; }
.page-hero .sec-lead { max-width: 46em; }

/* ---------- SERVICES PAGE ---------- */
.svc-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.bedplan {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto 26px auto;
  gap: 10px 8px; padding: 12px; border-radius: 18px; background: var(--sand); position: relative;
}
.bedplan .chan {
  grid-column: 2 / -1; grid-row: 2; border-radius: 4px; background: var(--water);
  align-self: center; height: 10px; position: relative; overflow: hidden;
}
.bedplan .chan::after {
  content: ""; position: absolute; inset: 4px -40px auto; height: 2px; width: calc(100% + 80px);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 8px, transparent 8px 40px);
  animation: drift 3s linear infinite;
}
.bp-all {
  grid-column: 1; grid-row: 2; border: 0; border-radius: 50%; width: 46px; height: 46px; justify-self: center; align-self: center;
  background: var(--water); color: #fff; font-weight: 800; font-size: .78rem; box-shadow: 0 0 0 5px var(--sand-2); position: relative; z-index: 1;
}
.bp-all[aria-pressed="true"] { background: var(--cypress); }
.bp {
  border: 0; border-radius: 8px; padding: 10px 6px 9px; min-height: 104px;
  background: var(--leaf-mist); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px;
  text-align: center; line-height: 1.45; position: relative; transition: background-color .25s, transform .25s var(--ease);
}
.bp svg { width: 34px; height: 34px; transition: transform .4s var(--spring); }
.bp b { font-size: .76rem; font-weight: 800; color: var(--ink); }
.bp small { font-size: .7rem; color: var(--ink-2); }
.bp:hover { background: #fff; }
.bp:hover svg { transform: scale(1.12); }
.bp[aria-pressed="true"] { background: var(--cypress); }
.bp[aria-pressed="true"] b { color: #fff; }
.bp[aria-pressed="true"] small { color: var(--leaf-2); }
.bp[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border-radius: 11px; box-shadow: 0 0 0 3px var(--water); pointer-events: none; }
.bp.core { background: var(--rose-mist); }
.bp.core[aria-pressed="true"] { background: var(--rose-deep); }
.bp.dim { opacity: .4; }
.bp-row1 { grid-row: 1; }
.bp-row3 { grid-row: 3; }
.searchbox { position: relative; }
.searchbox input {
  width: 100%; min-height: 58px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  padding: 10px 52px 10px 16px; font-size: 1.05rem;
}
.searchbox input:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 4px rgba(63,167,181,.18); }
.searchbox svg { position: absolute; inset-inline-start: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--ink-2); }
.svc-status { font-size: .92rem; color: var(--ink-2); margin-top: 12px; min-height: 1.6em; }
.svc-status b { color: var(--cypress); }
.svc-hints { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; }
.svc-hints button { border: 0; background: var(--sand-mist); padding: 3px 12px; border-radius: 99px; font-size: .84rem; }
.svc-hints button:hover { background: var(--sand); }
.svc-aside-cta { margin-top: 26px; padding: 20px 22px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.svc-aside-cta p { font-size: .93rem; color: var(--ink-2); margin-bottom: 12px; }
.svc-aside-cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1023px) { .svc-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .bedplan { grid-template-columns: 1fr 22px 1fr; grid-template-rows: none; gap: 8px; }
  .bedplan .chan { grid-column: 2; grid-row: 2 / span 6; width: 10px; height: auto; justify-self: center; align-self: stretch; }
  .bedplan .chan::after { display: none; }
  .bp-all { grid-column: 1 / -1; grid-row: 1; width: auto; height: 42px; border-radius: 10px; justify-self: stretch; padding-inline: 16px; font-size: .9rem; }
  .bp { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: start; padding: 8px 10px; gap: 8px; }
  .bp svg { width: 28px; height: 28px; flex: none; }
  .bp small { display: none; }
  .bp-row1, .bp-row3 { grid-row: auto; }
  .bp-row1 { grid-column: 1; }
  .bp-row3 { grid-column: 3; }
}

.catalog { margin-top: clamp(40px, 5vw, 72px); }
.cat-group { padding-block: 30px 10px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: 20px clamp(20px, 4vw, 56px); }
.cat-group[hidden] { display: none; }
.cat-head { position: sticky; top: calc(var(--head-h) + 16px); align-self: start; }
.cat-head svg { width: 52px; height: 52px; margin-bottom: 8px; }
.cat-head h2 { font-size: 1.2rem; }
.cat-head p { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
.svc-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.svc { padding: 14px 0 14px; border-bottom: 1px dashed var(--sand-2); display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: start; }
.svc[hidden] { display: none; }
.svc h3 { font-size: 1rem; font-weight: 800; line-height: 1.6; }
.svc h3 .code { font-size: .8rem; font-weight: 700; color: var(--water-deep); margin-inline-start: 8px; unicode-bidi: plaintext; display: inline-block; }
.svc p { font-size: .87rem; color: var(--ink-2); margin: 2px 0 0; grid-column: 1; }
.svc .go {
  grid-row: 1 / span 2; grid-column: 2; align-self: center;
  font-size: .82rem; font-weight: 700; text-decoration: none; padding: 6px 12px; border-radius: 8px;
  background: var(--leaf-mist); color: var(--cypress); white-space: nowrap;
}
.svc .go:hover { background: var(--cypress); color: #fff; }
.svc.is-core h3::before {
  content: "خدمت شاخص"; display: inline-block; font-size: .68rem; font-weight: 800; color: #fff;
  background: var(--rose-deep); padding: 0 8px; border-radius: 5px; margin-inline-end: 8px; vertical-align: 2px; line-height: 1.8;
}
.svc mark { background: var(--leaf-2); color: inherit; border-radius: 3px; padding: 0 2px; }
.no-results { display: none; text-align: center; padding: 48px 16px; color: var(--ink-2); }
.no-results.show { display: block; }
@media (max-width: 899px) {
  .cat-group { grid-template-columns: 1fr; }
  .cat-head { position: static; display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; }
  .cat-head svg { grid-row: span 2; margin: 0; }
  .svc-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .svc { grid-template-columns: 1fr; }
  .svc .go { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 8px; }
}

/* ---------- ISO 9001 PAGE ---------- */
.iso-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.facts li { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { border-inline-end: 1px dashed var(--sand-2); padding-inline-end: 16px; }
.facts li:nth-child(even) { padding-inline-start: 16px; }
.facts small { display: block; font-size: .8rem; color: var(--ink-2); }
.facts b { font-size: 1rem; }
.kiosk-art { max-width: 440px; margin-inline: auto; width: 100%; }
@media (max-width: 899px) { .iso-hero { grid-template-columns: 1fr; } .kiosk-art { max-width: 320px; } }

.what-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.what-grid p { color: var(--ink-2); }
.callout { padding: 22px 24px; border-radius: 14px; background: var(--rose-mist); }
.callout h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--rose-deep); }
.callout ul { padding-inline-start: 1.2em; font-size: .93rem; color: #4D3740; }
.callout li { margin-bottom: 4px; }
@media (max-width: 899px) { .what-grid { grid-template-columns: 1fr; } }

/* garden-path roadmap */
.path-wrap { position: relative; }
.gpath {
  list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)) minmax(96px, 1.4fr);
  align-items: end; position: relative; padding-bottom: 8px;
}
.gpath::before {
  content: ""; position: absolute; inset-inline: 0 40px; bottom: 30px; height: 30px; border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(168,148,108,.35) 22px 24px),
    var(--sand);
}
.gpath .gp-water {
  position: absolute; inset-inline-start: 0; bottom: 42px; height: 6px; border-radius: 3px; background: var(--water);
  width: calc(100% - 40px); transform-origin: right center; transform: scaleX(var(--p, .05)); transition: transform .7s var(--ease);
}
.gp-st { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.gp-st button {
  border: 0; background: none; padding: 0 2px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%;
}
.gp-st .lbl { font-size: .76rem; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.5; min-height: 3em; display: flex; align-items: flex-end; transition: color .2s; }
.gp-st .kio {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--paper); box-shadow: 0 0 0 4px var(--sand-2), 0 0 0 7px var(--bg);
  font-weight: 900; color: var(--cypress); transition: background-color .25s, transform .3s var(--spring), color .25s;
}
.gp-st button:hover .kio { transform: translateY(-3px); }
.gp-st.done .kio { background: var(--leaf-2); }
.gp-st button[aria-selected="true"] .kio { background: var(--cypress); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 4px var(--water), 0 0 0 7px var(--bg); }
.gp-st button[aria-selected="true"] .lbl { color: var(--cypress); }
.gp-pav { display: flex; flex-direction: column; align-items: center; z-index: 1; text-align: center; }
.gp-pav svg { width: 100%; max-width: 132px; height: auto; margin-bottom: 4px; transition: transform .5s var(--spring); }
.gp-pav.lit svg { transform: scale(1.05); }
.gp-pav small { font-size: .74rem; font-weight: 700; color: var(--rose-deep); }
.gp-panel {
  margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 40px;
  padding: 28px 30px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  min-height: 210px;
}
.gp-panel h3 { font-size: 1.25rem; margin-bottom: 8px; }
.gp-panel .gp-n { color: var(--water-deep); font-weight: 800; font-size: .9rem; display: block; }
.gp-panel p { color: var(--ink-2); }
.gp-panel dl { margin: 0; display: grid; gap: 10px; align-content: start; }
.gp-panel dt { font-size: .8rem; color: var(--ink-2); }
.gp-panel dd { margin: 0; font-weight: 700; }
.gp-nav { display: flex; gap: 10px; margin-top: 14px; }
.gp-nav button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 16px; font-weight: 700; font-size: .88rem; }
.gp-nav button:hover:not(:disabled) { border-color: var(--cypress); }
.gp-nav button:disabled { opacity: .45; cursor: default; }
@media (max-width: 1023px) {
  .gpath { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .gpath::before { inset-inline: 19px auto; width: 22px; bottom: 60px; top: 0; height: auto; }
  .gpath .gp-water { inset-inline-start: 27px; width: 6px; top: 0; bottom: auto; height: calc(100% - 140px); transform-origin: center top; transform: scaleY(var(--p, .05)); }
  .gp-st button { flex-direction: row-reverse; justify-content: flex-end; padding: 4px 0; }
  .gp-st .kio { margin: 0 7px 0 0; margin-inline: 7px 0; flex: none; }
  .gp-st .lbl { min-height: 0; text-align: start; font-size: .9rem; }
  .gp-pav { flex-direction: row; gap: 12px; padding-top: 6px; }
  .gp-pav svg { max-width: 64px; }
  .gp-panel { grid-template-columns: 1fr; padding: 22px 20px; }
}

/* clause plan (PDCA chaharbagh) */
.cl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cplan {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); grid-template-rows: minmax(150px, auto) 64px minmax(150px, auto);
  background: var(--sand); padding: 12px; border-radius: 20px; position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin-inline: auto;
}
.cplan .ch-v, .cplan .ch-h { background: var(--water); border-radius: 3px; align-self: center; justify-self: center; }
.cplan .ch-v { grid-column: 2; grid-row: 1 / -1; width: 12px; height: 100%; }
.cplan .ch-h { grid-row: 2; grid-column: 1 / -1; height: 12px; width: 100%; }
.cq { padding: 10px; display: flex; flex-direction: column; gap: 8px; border-radius: 8px; background: var(--leaf-mist); position: relative; }
.cq .pd { font-size: .72rem; font-weight: 800; color: var(--cypress-2); letter-spacing: 0; display: flex; justify-content: space-between; }
.cq .pd i { font-style: normal; direction: ltr; color: var(--sand-3); }
.cq-p { grid-column: 1; grid-row: 1; }
.cq-d { grid-column: 1; grid-row: 3; }
.cq-c { grid-column: 3; grid-row: 3; }
.cq-a { grid-column: 3; grid-row: 1; }
.cbed {
  flex: 1; border: 0; border-radius: 6px; background: var(--paper); padding: 8px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; line-height: 1.5;
  box-shadow: inset 0 0 0 1px var(--leaf-2);
  background-image: radial-gradient(circle, rgba(217,103,127,.35) 1.5px, transparent 2px);
  background-size: 14px 14px;
  transition: background-color .25s, box-shadow .25s;
}
.cbed b { font-size: 1.5rem; font-weight: 900; color: var(--cypress); line-height: 1.2; }
.cbed span { font-size: .8rem; font-weight: 700; background: var(--paper); padding: 0 6px; border-radius: 4px; }
.cbed:hover { box-shadow: inset 0 0 0 2px var(--water); }
.cbed[aria-selected="true"] { background-color: var(--cypress); box-shadow: inset 0 0 0 2px var(--cypress); background-image: radial-gradient(circle, rgba(168,198,134,.4) 1.5px, transparent 2px); }
.cbed[aria-selected="true"] b { color: #fff; }
.cbed[aria-selected="true"] span { background: var(--cypress); color: #fff; }
.cpool {
  grid-column: 2; grid-row: 2; z-index: 2; width: 118px; height: 118px; justify-self: center; align-self: center;
  border: 10px solid var(--sand); border-radius: 30px; transform: rotate(45deg);
  background: var(--water); color: #fff; padding: 0; display: grid; place-items: center;
  transition: background-color .25s;
}
.cpool > span { transform: rotate(-45deg); display: flex; flex-direction: column; line-height: 1.4; }
.cpool b { font-size: 1.5rem; font-weight: 900; }
.cpool small { font-size: .74rem; font-weight: 700; }
.cpool:hover { background: var(--water-deep); }
.cpool[aria-selected="true"] { background: var(--cypress); box-shadow: 0 0 0 3px var(--water); }
.cplan-io { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-2); max-width: 560px; margin: 10px auto 0; gap: 10px; }
.cl-detail { padding: 26px 28px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); min-height: 300px; }
.cl-detail .pd-tag { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--water-deep); background: var(--water-mist); padding: 1px 10px; border-radius: 99px; }
.cl-detail h3 { font-size: 1.3rem; margin: 8px 0 8px; }
.cl-detail p { color: var(--ink-2); }
.cl-detail ul { list-style: none; display: grid; gap: 6px; }
.cl-detail li { display: grid; grid-template-columns: 44px 1fr; font-size: .93rem; padding: 6px 0; border-bottom: 1px dashed var(--sand-2); }
.cl-detail li b { color: var(--water-deep); direction: ltr; text-align: right; }
@media (max-width: 899px) { .cl-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .cplan { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); grid-template-rows: auto 40px auto; aspect-ratio: auto; padding: 8px; }
  .cpool { width: 82px; height: 82px; border-width: 7px; border-radius: 20px; }
  .cpool b { font-size: 1.15rem; }
  .cpool small { font-size: .62rem; }
  .cbed { min-height: 84px; }
  .cbed b { font-size: 1.2rem; }
  .cbed span { font-size: .72rem; }
}

/* seven cypresses */
.seven { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; align-items: end; border-bottom: 10px solid var(--sand); }
.seven li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-bottom: 14px; }
.seven svg { width: 36px; height: auto; }
.seven b { font-size: .92rem; }
.seven span { font-size: .8rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 899px) {
  .seven { grid-template-columns: 1fr; border-bottom: 0; gap: 0; }
  .seven li { flex-direction: row; text-align: start; align-items: center; gap: 14px; border-bottom: 1px dashed var(--sand-2); padding: 10px 0; }
  .seven svg { width: 22px; flex: none; }
  .seven li > div { display: flex; flex-direction: column; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 899px) { .two-col { grid-template-columns: 1fr; } }
.leaf-list { list-style: none; display: grid; gap: 2px; }
.leaf-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--sand-2); }
.leaf-list li svg { width: 22px; height: 22px; margin-top: 4px; }
.leaf-list b { display: block; }
.leaf-list span { color: var(--ink-2); font-size: .92rem; }
.h3-plain { font-size: 1.25rem; margin-bottom: 14px; }

.timebar { margin-top: 10px; }
.tb-row { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.tb-row b { font-size: .9rem; }
.tb-track { height: 22px; border-radius: 6px; background: var(--sand-mist); position: relative; }
.tb-fill { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--water); inset-inline-start: var(--s); width: var(--w); display: flex; align-items: center; justify-content: center; font-size: .76rem; font-weight: 800; color: #fff; }
.tb-fill.big { background: var(--cypress-2); }
.tb-scale { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; font-size: .74rem; color: var(--ink-2); }
.tb-scale div { display: flex; justify-content: space-between; }
.factors { list-style: none; display: grid; gap: 10px; }
.factors li { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; font-size: .94rem; padding: 6px 0; border-bottom: 1px dashed var(--sand-2); }
.factors .w { display: flex; gap: 4px; justify-content: flex-end; }
.factors .w i { width: 14px; height: 14px; border-radius: 50%; background: var(--sand); }
.factors .w i.on { background: var(--rose); }
@media (max-width: 480px) { .tb-row, .tb-scale { grid-template-columns: 6.8em 1fr; } }

/* ---------- START (wizard) ---------- */
.wiz { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 80px; }
.wiz-garden { position: sticky; top: calc(var(--head-h) + 16px); }
.wiz-garden svg { width: 100%; max-width: 460px; margin-inline: auto; }
.wiz-garden text { font-family: var(--font); }
.wg-bed .wg-plants { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; transition: transform .7s var(--spring), opacity .3s; }
.wg-bed.planted .wg-plants { transform: none; opacity: 1; }
.wg-bed .wg-soil { transition: fill .4s; }
.wg-bed.planted .wg-soil { fill: #CFE0BC; }
.wg-bed.current .wg-frame { stroke: var(--water); stroke-width: 3; stroke-dasharray: 6 5; }
.wg-bed .wg-txt { opacity: 0; transition: opacity .4s .2s; }
.wg-bed.planted .wg-txt { opacity: 1; }
.wg-water { transform-box: fill-box; transform-origin: 50% 0; transition: transform .8s var(--ease); }
.wg-pav { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .7s var(--spring), opacity .4s; }
.wiz-garden:not(.done) .wg-pav { transform: scale(0); opacity: 0; }
.wiz-prog { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--ink-2); margin-top: 10px; gap: 10px; max-width: 460px; margin-inline: auto; }
.wiz-prog b { color: var(--cypress); }

.wiz-card {
  background: var(--paper); border-radius: 18px; padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 0 0 8px var(--sand), 0 0 0 9px var(--sand-2); margin: 9px;
}
.wstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.wstep[hidden] { display: none; }
.wstep legend:focus, .wiz-result:focus { outline: none; }
.wstep legend { padding: 0; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 900; line-height: 1.6; margin-bottom: 6px; }
.wstep .hint { color: var(--ink-2); font-size: .93rem; margin-bottom: 18px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opts.one { grid-template-columns: 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.opt > span {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; line-height: 1.5;
  transition: border-color .2s, background-color .2s;
}
.opt > span::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--sand-3); background: #fff;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.opt input[type="checkbox"] + span::before { border-radius: 5px; }
.opt span small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-2); }
.opt input:hover + span { border-color: var(--water); }
.opt input:focus-visible + span { outline: 3px solid var(--water); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--cypress); background: var(--leaf-mist); }
.opt input:checked + span::before { background: var(--cypress); border-color: var(--cypress); box-shadow: inset 0 0 0 3px #fff; }
.opt .latin { font-weight: 800; }
.sub-q { margin-top: 22px; font-weight: 800; font-size: 1rem; }
.std-group { margin-top: 16px; }
.std-group h3 { font-size: .86rem; color: var(--ink-2); font-weight: 700; margin-bottom: 8px; }
.pre-tag { font-size: .7rem; color: var(--rose-deep); font-weight: 800; margin-inline-start: auto; white-space: nowrap; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--sand-2); }
.wiz-err { color: var(--rose-deep); font-size: .88rem; min-height: 1.5em; margin-top: 10px; }
.wiz-result[hidden] { display: none; }
.res-head { display: flex; flex-direction: column; }
.res-head .nast { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); color: var(--cypress); line-height: 2; }
.res-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 12px 0 20px; border-top: 1px solid var(--line); }
.res-sum div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.res-sum div:nth-child(odd) { border-inline-end: 1px dashed var(--sand-2); padding-inline-end: 12px; }
.res-sum div:nth-child(even) { padding-inline-start: 14px; }
.res-sum small { display: block; font-size: .78rem; color: var(--ink-2); }
.res-sum b { font-size: 1.05rem; color: var(--cypress); }
.res-road { list-style: none; position: relative; margin: 14px 0 24px; }
.res-road::before { content: ""; position: absolute; inset-inline-start: 11px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--water); }
.res-road li { position: relative; padding-inline-start: 38px; padding-block: 8px; }
.res-road li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 16px; width: 18px; height: 18px; border-radius: 5px; transform: rotate(45deg); background: var(--paper); box-shadow: inset 0 0 0 4px var(--water); }
.res-road li.track::before { box-shadow: inset 0 0 0 4px var(--rose); }
.res-road b { display: block; font-size: .97rem; }
.res-road span { font-size: .86rem; color: var(--ink-2); }
.res-road em { font-style: normal; font-size: .78rem; font-weight: 800; color: var(--water-deep); background: var(--water-mist); padding: 0 8px; border-radius: 99px; margin-inline-start: 6px; }
.res-why { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.res-why li { font-size: .9rem; color: var(--ink-2); padding-inline-start: 14px; border-inline-start: 3px solid var(--leaf); }
.res-why b { color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.res-form h3 { font-size: 1.1rem; margin-bottom: 12px; }
.final-garden { margin: 6px 0 4px; }
@media (max-width: 1023px) {
  .wiz { grid-template-columns: 1fr; }
  .wiz-garden { position: static; }
  .wiz-garden svg { max-width: 340px; }
}
@media (max-width: 480px) {
  .opts { grid-template-columns: 1fr; }
  .wiz-garden svg { max-width: 280px; }
}

.fg-bed { transform-box: fill-box; transform-origin: center; animation: bloom .7s calc(var(--i) * 120ms + 200ms) var(--spring) both; }
@media (max-width: 1023px) {
  .wiz-garden { order: -1; }
  .wiz-prog { max-width: 340px; }
}
@media (max-width: 640px) {
  .bedplan { grid-auto-flow: row dense; }
  .wiz-garden svg { max-width: 230px; }
}

/* ---------- reveal (used sparingly) ---------- */
html.js .soft { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .soft.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .garden .flow, .garden .ripple, .jooy::after, .bedplan .chan::after { animation: none !important; }
  html.js .soft { opacity: 1; transform: none; }
}
