/* ==========================================================================
   منیس‌تک — Modern Persian (teal · saffron · ivory)
   Hand-written CSS, RTL-first with logical properties.
   ========================================================================== */

:root {
  --teal-950: #041f1e;
  --teal-900: #062f2e;
  --teal-850: #083a38;
  --teal-800: #0a4542;
  --teal-700: #0f5e59;
  --teal-600: #11766e;
  --teal-500: #14b8a6;
  --teal-300: #86dfd2;
  --gold: #e0a84e;
  --gold-soft: #f2cf8e;
  --gold-ink: #87570d;
  --ivory: #fbf7ef;
  --ivory-2: #f4ecdd;
  --paper: #fffdf8;
  --sand: #e8dcc6;
  --line-strong: #968870;
  --ink: #0b2a29;
  --ink-soft: #3d5754;
  --on-dark: #fbf7ef;
  --on-dark-soft: #c2d0ca;
  --on-dark-mute: #93aba4;
  --hair-gold: rgba(224, 168, 78, .28);
  --radius-lg: 30px;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Vazirmatn, Tahoma, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;
  --focus: var(--teal-700);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Smooth in-page scrolling is switched on by main.js only after load + web fonts,
   so a deep link (e.g. /#contact) is not smooth-scrolled against the pre-font layout. */
html.smooth-scroll { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--teal-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.45; font-weight: 800; }
p { text-wrap: pretty; }
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: normal; }
bdi, [dir="ltr"] { unicode-bidi: isolate; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
#g-star { vector-effect: non-scaling-stroke; }
.i-star { width: .8em; height: .8em; fill: currentColor; flex-shrink: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
.site-header, .hero, .band--dark, .site-footer, .contact__info, .fab { --focus: var(--gold); }
main:focus { outline: none; }
/* skip link target: keep the first hero line clear of the sticky header */
main { scroll-margin-top: var(--header-h); }

.skip-link {
  position: fixed; z-index: 100;
  inset-block-start: 10px; inset-inline-start: 16px;
  padding: 10px 18px; border-radius: 12px;
  background: var(--gold); color: var(--teal-950);
  font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.4;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .icon { width: 20px; height: 20px; }
.btn .i-arrow { transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(-4px); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .94rem; }
.btn--lg { min-height: 56px; padding: 12px 28px; font-size: 1.04rem; }
.btn--gold {
  background: linear-gradient(180deg, #ecbb6a, #dea247);
  color: var(--teal-950);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 28px -14px rgba(224, 168, 78, .9);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 34px -14px rgba(224, 168, 78, .95); }
.btn--ghost {
  color: var(--on-dark);
  border-color: rgba(251, 247, 239, .26);
  background: rgba(251, 247, 239, .04);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn--wa { background: var(--teal-700); color: var(--ivory); box-shadow: 0 12px 26px -16px rgba(15, 94, 89, .9); }
.btn--wa:hover { background: var(--teal-800); transform: translateY(-2px); }
.btn--outline { color: var(--teal-700); border-color: rgba(15, 94, 89, .45); background: transparent; }
.btn--outline:hover { border-color: var(--teal-700); background: rgba(15, 94, 89, .06); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 60;
  color: var(--on-dark);
  background: rgba(6, 47, 46, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-block-end: 1px solid rgba(224, 168, 78, .14);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(4, 31, 30, .94); box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .7); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 44px; height: 44px; flex-shrink: 0; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__fa { font-size: 1.35rem; font-weight: 800; }
.brand__en { font-size: .66rem; font-weight: 600; letter-spacing: .22em; color: var(--gold); margin-block-start: 3px; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: block;
  padding: 8px 14px; border-radius: 999px;
  color: var(--on-dark-soft); text-decoration: none;
  font-size: .96rem; font-weight: 500;
  transition: color .25s, background-color .25s;
}
.nav__link::after {
  content: ""; position: absolute; inset-block-end: 2px; inset-inline-start: 50%;
  width: 5px; height: 5px; margin-inline-start: -2.5px;
  background: var(--gold); transform: rotate(45deg) scale(0);
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--on-dark); background: rgba(251, 247, 239, .06); }
.nav__link[aria-current="location"] { color: var(--on-dark); }
.nav__link[aria-current="location"]::after { transform: rotate(45deg) scale(1); }
.nav__cta { display: none; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px; margin-inline-start: auto;
  border: 1px solid rgba(224, 168, 78, .35); border-radius: 14px;
  background: rgba(251, 247, 239, .04); color: var(--on-dark);
  cursor: pointer; place-items: center;
}
.menu-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
.menu-toggle__bars i {
  position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, inset-block-start .3s var(--ease);
}
.menu-toggle__bars i:nth-child(1) { inset-block-start: 0; }
.menu-toggle__bars i:nth-child(2) { inset-block-start: 6px; }
.menu-toggle__bars i:nth-child(3) { inset-block-start: 12px; inset-inline-start: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { inset-block-start: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { inset-block-start: 6px; inset-inline-start: 0; transform: rotate(-45deg); }

@media (max-width: 959px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__fa { font-size: 1.22rem; }

  /* No-JS: nav simply wraps below the brand; the taller header scrolls away instead of sticking */
  html:not(.js) .site-header { position: relative; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { width: 100%; margin: 0; }
  html:not(.js) .nav__list { flex-wrap: wrap; justify-content: center; }

  .js .menu-toggle { display: grid; }
  .js .nav {
    position: absolute; inset-block-start: 100%; inset-inline: 0;
    margin: 0; padding: 12px 16px 22px;
    background: var(--teal-950);
    border-block-end: 1px solid rgba(224, 168, 78, .25);
    box-shadow: 0 28px 40px -24px rgba(0, 0, 0, .7);
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  /* dim backdrop under the open menu; a tap on it closes the menu (target is <body>) */
  .js body::after {
    content: ""; position: fixed; inset: 0; z-index: 50;
    background: rgba(2, 18, 17, .6);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .js.menu-open body::after { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .nav__link { padding: 12px 14px; font-size: 1.06rem; border-radius: 14px; }
  .js .nav__link::after { inset-block-start: 50%; inset-block-end: auto; inset-inline-start: auto; inset-inline-end: 16px; margin: -2.5px 0 0; }
  .js .nav__cta { display: block; margin-block-start: 12px; }
  .js .nav__cta .btn { width: 100%; }
}

/* ---------- Shared section parts ---------- */
.band {
  position: relative;
  padding-block: clamp(76px, 9vw, 132px);
  overflow: clip;
  scroll-margin-top: calc(var(--header-h) - 1px);
}
.hero { scroll-margin-top: var(--header-h); }
.band--light { background: var(--ivory); }
.band--light-2 { background: var(--ivory-2); }
.band--dark { background: var(--teal-900); color: var(--on-dark); }
.band--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/girih-gold.svg") center / 112px 112px repeat;
  opacity: .07;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000 0%, transparent 72%);
}
.band > .container { position: relative; }
.services { overflow: visible; }
.services > .band-ornament { z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 700; color: var(--gold-ink);
}
.eyebrow .i-star { width: 12px; height: 12px; }
.eyebrow::after {
  content: ""; width: 44px; height: 1px;
  background: linear-gradient(to left, currentColor, transparent);
}
.band--dark .eyebrow, .contact__info .eyebrow { color: var(--gold); }

.sec-title {
  margin-block-start: 14px;
  font-size: clamp(1.8rem, 1.15rem + 2.4vw, 3rem);
  font-weight: 800; line-height: 1.4;
  text-wrap: balance;
}
.sec-lead {
  margin-block-start: 16px; max-width: 38em;
  font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
  color: var(--ink-soft); line-height: 2;
}
.band--dark .sec-lead { color: var(--on-dark-soft); }

.sec-head--split {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end;
  padding-block-end: 36px;
  border-block-end: 1px solid rgba(15, 94, 89, .14);
}
.sec-head--split .sec-lead { margin: 0; justify-self: end; max-width: 30em; }
.sec-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.sec-head--center .eyebrow::before {
  content: ""; width: 44px; height: 1px; order: -1;
  background: linear-gradient(to right, currentColor, transparent);
}
.sec-head--center .sec-lead { margin-inline: auto; }

.band-ornament {
  position: absolute; inset-block-start: 0; inset-inline: 0;
  display: flex; justify-content: center; align-items: center;
  height: 1px; pointer-events: none;
}
.band-ornament::before, .band-ornament::after {
  content: ""; flex: 0 1 280px; height: 1px;
}
.band-ornament::before { background: linear-gradient(to left, rgba(224, 168, 78, .6), transparent); }
.band-ornament::after { background: linear-gradient(to right, rgba(224, 168, 78, .6), transparent); }
.band-ornament svg {
  width: 26px; height: 26px; margin-inline: 12px; flex-shrink: 0;
  fill: var(--ivory); stroke: var(--gold); stroke-width: 1.2;
}

/* ---------- Reveal (only when JS runs) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-enter] { animation: enter .95s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } }
/* main.js arrived after the head guard gave up: content is already on screen, so no entrance/reveal motion */
.js-late [data-enter] { animation: none; }
.js-late [data-reveal], .js.js-late .svc[data-reveal] { transition: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: clip;
  color: var(--on-dark);
  background:
    radial-gradient(120% 90% at 100% 0%, #0b4a46 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, #0a3f3c 0%, transparent 60%),
    var(--teal-900);
  padding-block: clamp(40px, 5.5vw, 84px) clamp(84px, 9vw, 128px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/girih-gold.svg") center / 128px 128px repeat;
  opacity: .085;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 26% 48%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 75% at 26% 48%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px;
  background: linear-gradient(to left, transparent, rgba(224, 168, 78, .45), transparent);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__glow--a {
  width: 620px; height: 620px; inset-block-start: -220px; inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(20, 184, 166, .2), transparent 65%);
}
.hero__glow--b {
  width: 520px; height: 520px; inset-block-end: -260px; inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(224, 168, 78, .13), transparent 65%);
  animation-delay: -9s;
}
@keyframes drift { to { transform: translate3d(-60px, 40px, 0) scale(1.08); } }

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 72px); align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 16px; border-radius: 999px;
  border: 1px solid rgba(224, 168, 78, .32);
  background: rgba(224, 168, 78, .06);
  color: var(--gold-soft); font-size: .9rem; font-weight: 600;
}
.hero__eyebrow .i-star { width: 12px; height: 12px; color: var(--gold); }
.hero__title {
  margin-block: 24px 22px;
  font-size: clamp(2.2rem, 1rem + 3.1vw, 3.75rem);
  font-weight: 900; line-height: 1.34;
  text-wrap: balance;
}
.hero__title .line { display: block; }
.hero__title .accent {
  color: var(--gold);
  background: linear-gradient(100deg, #f6d9a0 0%, #e0a84e 45%, #c98c33 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  max-width: 34em;
  font-size: clamp(1.03rem, .96rem + .38vw, 1.22rem);
  line-height: 2.05; color: var(--on-dark-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  margin-block-start: 38px; padding-block-start: 24px;
  border-block-start: 1px solid rgba(224, 168, 78, .18);
  color: var(--on-dark-soft); font-size: .96rem;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta .icon { color: var(--gold); width: 20px; height: 20px; }
.hero__meta a { text-decoration: none; font-weight: 700; color: var(--on-dark); }
.hero__meta a:hover { color: var(--gold-soft); }

/* ---------- Hero visual ---------- */
.hero__visual { container-type: inline-size; width: 100%; max-width: 640px; margin-inline: auto; }
.hv {
  position: relative; aspect-ratio: 1;
  font-size: clamp(7.5px, 2.25cqi, 14.4px);
  line-height: 1.6;
  --px: 0; --py: 0;
}
.hv-star {
  position: absolute; inset-block-start: 8%; inset-inline-start: 8%; width: 84%; aspect-ratio: 1;
  clip-path: polygon(50% 0%, 64.645% 14.645%, 85.355% 14.645%, 85.355% 35.355%, 100% 50%, 85.355% 64.645%, 85.355% 85.355%, 64.645% 85.355%, 50% 100%, 35.355% 85.355%, 14.645% 85.355%, 14.645% 64.645%, 0% 50%, 14.645% 35.355%, 14.645% 14.645%, 35.355% 14.645%);
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 184, 166, .46), transparent 60%),
    linear-gradient(160deg, #117068 0%, #0b4d49 52%, #073b39 100%);
}
.hv-star::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/girih-gold.svg") center / 18% 18% repeat;
  opacity: .16;
}
.hv-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.hv-ring__circle { stroke: rgba(224, 168, 78, .22); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.hv-ring__spin { stroke: rgba(224, 168, 78, .38); transform-box: fill-box; transform-origin: center; animation: spin 140s linear infinite; }
.hv-ring__edge { stroke: rgba(242, 207, 142, .75); }
.hv-ring__inner { stroke: rgba(242, 207, 142, .3); }
@keyframes spin { to { transform: rotate(360deg); } }

.hv-spark {
  position: absolute; width: 1.1em; height: 1.1em;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 4.5s ease-in-out infinite;
}
.hv-spark--a { inset-block-start: 5%; inset-inline-start: 44%; }
.hv-spark--b { inset-block-end: 22%; inset-inline-start: 2%; width: .8em; height: .8em; animation-delay: -2s; }
@keyframes twinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }

.hv-card {
  position: absolute;
  border-radius: 1.1em;
  box-shadow: 0 2.2em 3.6em -1.8em rgba(0, 0, 0, .6), 0 0 0 1px rgba(224, 168, 78, .22);
  animation: float 9s ease-in-out infinite;
  translate: calc(var(--px) * var(--depth, 10px)) calc(var(--py) * var(--depth, 10px));
  transition: translate .8s var(--ease);
}
@keyframes float { 50% { transform: translateY(-0.7em); } }

.dots { display: inline-flex; gap: .32em; }
.dots i { width: .52em; height: .52em; border-radius: 50%; background: #e2d6bf; }
.dots i:first-child { background: var(--gold); }

.pill {
  display: inline-block; padding: .1em .7em; border-radius: 999px;
  font-size: .72em; font-weight: 700; white-space: nowrap;
}
.pill--ok { background: #dff3ef; color: #0c5b54; }
.pill--wait { background: #fbeed6; color: #7a4f0c; }
.pill--gold { background: #fbeed6; color: #7a4f0c; }

/* dashboard (light) */
.hv-dash {
  inset-block-start: 23%; inset-inline: 15.5%;
  padding: .95em; background: var(--paper); color: var(--ink);
  --depth: 8px; animation-duration: 11s; z-index: 1;
}
.dash-top { display: flex; align-items: center; gap: .7em; padding-block-end: .7em; border-block-end: 1px solid var(--sand); }
.dash-top b { font-size: .95em; }
.dash-search { flex: 1; max-width: 9em; height: 1.5em; margin-inline-start: auto; border-radius: .6em; background: var(--ivory-2); }
.dash-avatar { width: 1.6em; height: 1.6em; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #c98c33); }
.dash-body { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: .8em; padding-block-start: .8em; }
.dash-side { display: flex; flex-direction: column; gap: .5em; padding: .45em; border-radius: .8em; background: var(--teal-900); }
.dash-side i { display: block; aspect-ratio: 1; border-radius: .4em; background: rgba(251, 247, 239, .14); }
.dash-side i.on { background: var(--gold); }
.dash-main { display: grid; gap: .7em; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55em; }
.kpi { display: grid; gap: .35em; padding: .55em .65em; border-radius: .7em; background: var(--ivory); border: 1px solid var(--sand); }
.kpi span { font-size: .74em; color: var(--ink-soft); font-weight: 600; }
.kpi i { display: block; width: var(--w); height: .6em; border-radius: .3em; background: var(--teal-700); }
.kpi:nth-child(2) i { background: var(--gold); }
.kpi:nth-child(3) i { background: var(--teal-500); }
.chart { padding: .6em .7em .3em; border-radius: .8em; border: 1px solid var(--sand); }
.chart__head { display: flex; align-items: center; justify-content: space-between; font-size: .76em; font-weight: 700; color: var(--ink-soft); }
.chart__tabs { display: inline-flex; gap: .3em; }
.chart__tabs i { width: 1.6em; height: .7em; border-radius: .35em; background: var(--ivory-2); }
.chart__tabs i.on { background: var(--teal-700); }
.chart svg { display: block; width: 100%; height: auto; margin-block-start: .3em; overflow: visible; }
.chart__grid { stroke: var(--sand); stroke-width: 1; fill: none; }
.chart__line {
  fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 420; stroke-dashoffset: 0;
  animation: draw 2.6s .6s var(--ease) both;
}
.chart__dot { fill: var(--paper); stroke: var(--teal-700); stroke-width: 3; animation: pop .5s 2.6s var(--ease) both; transform-box: fill-box; transform-origin: center; }
@keyframes draw { from { stroke-dashoffset: 420; } }
@keyframes pop { from { transform: scale(0); } }
.rows { display: grid; gap: .45em; }
.row { display: flex; align-items: center; gap: .6em; padding: .35em .5em; border-radius: .6em; background: var(--ivory); }
.av { width: 1.5em; height: 1.5em; border-radius: 50%; background: #cfe9e4; flex-shrink: 0; }
.av--b { background: #f3dfb9; }
.bars { flex: 1; display: grid; gap: .25em; }
.bars i { display: block; height: .42em; border-radius: .2em; background: #e4d8c1; }
.bars i:last-child { width: 60%; background: #eee4d2; }

/* AI chat (dark) */
.hv-chat {
  inset-block-start: 1.5%; inset-inline-end: -1%; width: 47%;
  padding: .85em; color: var(--on-dark);
  background: linear-gradient(160deg, rgba(17, 94, 88, .97), rgba(5, 38, 37, .98));
  --depth: 18px; animation-duration: 8.5s; animation-delay: -2.5s; z-index: 3;
}
.chat-head { display: flex; align-items: center; gap: .6em; padding-block-end: .6em; margin-block-end: .6em; border-block-end: 1px solid rgba(224, 168, 78, .2); }
.chat-av {
  display: grid; place-items: center; width: 2.2em; height: 2.2em; flex-shrink: 0;
  background: var(--gold); color: var(--teal-950);
  clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}
.chat-av .icon { width: 1.3em; height: 1.3em; stroke-width: 1.8; }
.chat-id { display: grid; line-height: 1.35; }
.chat-id b { font-size: .88em; }
.chat-id small { display: inline-flex; align-items: center; gap: .4em; font-size: .7em; color: var(--teal-300); }
.live { position: relative; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--teal-500); flex-shrink: 0; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal-500); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 70%, 100% { transform: scale(2.6); opacity: 0; } }
.bubble { width: fit-content; max-width: 88%; padding: .45em .75em; font-size: .78em; line-height: 1.75; }
.bubble + .bubble { margin-block-start: .45em; }
.bubble--me { margin-inline-start: auto; border-radius: 1em 1em 1em .25em; background: rgba(251, 247, 239, .12); }
.bubble--ai { border-radius: 1em 1em .25em 1em; background: rgba(224, 168, 78, .16); border: 1px solid rgba(224, 168, 78, .3); color: #fbe9c8; }
.bubble--typing { display: flex; gap: .3em; padding: .6em .8em; border-radius: 1em; background: rgba(251, 247, 239, .08); }
.bubble--typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--on-dark-soft); animation: typing 1.4s ease-in-out infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .2s; }
.bubble--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 30% { transform: translateY(-.3em); opacity: .5; } }

/* shop order (light) */
.hv-order {
  inset-block-end: 1%; inset-inline-end: 3%; width: 41%;
  padding: .85em; background: var(--paper); color: var(--ink);
  --depth: 22px; animation-duration: 10s; animation-delay: -5s; z-index: 3;
}
.ord-head { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.ord-head b { font-size: .86em; }
.ord-item { display: flex; align-items: center; gap: .6em; margin-block: .7em; padding: .45em; border-radius: .7em; background: var(--ivory); border: 1px solid var(--sand); }
.ord-thumb { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: .6em; background: linear-gradient(145deg, var(--teal-700), var(--teal-900)); color: var(--gold-soft); flex-shrink: 0; }
.ord-thumb .icon { width: 1.35em; height: 1.35em; }
.ord-lines { display: grid; gap: .3em; flex: 1; }
.ord-lines b { font-size: .78em; }
.ord-lines i { display: block; width: 70%; height: .42em; border-radius: .2em; background: #e4d8c1; }
.ord-steps { display: flex; justify-content: space-between; position: relative; padding-block-start: 1.1em; }
.ord-steps::before, .ord-steps::after {
  content: ""; position: absolute; inset-block-start: .38em; height: 2px; border-radius: 2px;
}
.ord-steps::before { inset-inline: 8%; background: var(--sand); }
.ord-steps::after { inset-inline-start: 8%; width: 42%; background: var(--teal-500); }
.ord-steps li { position: relative; z-index: 1; display: grid; justify-items: center; font-size: .66em; font-weight: 600; color: var(--ink-soft); }
.ord-steps li::before {
  content: ""; position: absolute; inset-block-start: -1.55em; width: 1.05em; height: 1.05em; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--sand);
}
.ord-steps li.done::before { background: var(--teal-500); border-color: var(--teal-500); }
.ord-btn { display: block; margin-block-start: .7em; padding: .4em; border-radius: .6em; background: var(--teal-900); color: var(--ivory); text-align: center; font-size: .76em; font-weight: 700; }

/* code (dark) */
.hv-code {
  inset-block-end: 8%; inset-inline-start: -1%; width: 52%;
  background: var(--teal-950); color: #cfe3dd;
  --depth: 14px; animation-duration: 9.5s; animation-delay: -7s; z-index: 2;
}
.hv-code__in { padding: .75em .9em .85em; text-align: left; }
.code-head { display: flex; align-items: center; gap: .8em; padding-block-end: .5em; margin-block-end: .5em; border-block-end: 1px solid rgba(224, 168, 78, .18); font-family: var(--mono); font-size: .7em; color: var(--on-dark-mute); }
.code-head .dots i { background: rgba(251, 247, 239, .2); }
.code-head .dots i:first-child { background: var(--gold); }
.hv-code pre { margin: 0; font-family: var(--mono); font-size: .74em; line-height: 1.85; white-space: pre; overflow: hidden; }
.hv-code .k { color: var(--gold-soft); }
.hv-code .f { color: #9fe7dc; }
.hv-code .s { color: #f4b98c; }
.hv-code .c { color: #6e948c; }

/* status chip */
.hv-chip {
  inset-block-start: 11%; inset-inline-start: 1%;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .5em .95em; border-radius: 999px;
  background: rgba(4, 31, 30, .92); color: var(--on-dark);
  font-size: .8em; font-weight: 600; white-space: nowrap;
  box-shadow: 0 1.4em 2.4em -1.2em rgba(0, 0, 0, .6), 0 0 0 1px rgba(20, 184, 166, .45);
  --depth: 26px; animation-duration: 7.5s; animation-delay: -1s; z-index: 4;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/girih-teal.svg") center top / 104px 104px repeat;
  opacity: .05;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 38%);
  mask-image: linear-gradient(to bottom, #000, transparent 38%);
}
.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin-block-start: clamp(40px, 5vw, 60px);
}
.svc {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 28px 28px 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(15, 94, 89, .12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -34px rgba(6, 47, 46, .45);
}
.js .svc[data-reveal] { transition: opacity .75s var(--ease), transform .75s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.svc::before {
  content: ""; position: absolute; z-index: -1;
  inset-block-start: -70px; inset-inline-end: -70px; width: 220px; height: 220px;
  background: url("../img/girih-teal.svg") center / 72px 72px repeat;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  opacity: .1; transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.svc::after {
  content: ""; position: absolute; inset-inline: 28px; inset-block-end: 0; height: 2px;
  background: linear-gradient(to left, var(--gold), transparent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.svc:hover { border-color: rgba(224, 168, 78, .6); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 50px -30px rgba(6, 47, 46, .45); }
.js .svc.is-in:hover, html:not(.js) .svc:hover { transform: translateY(-6px); transition-delay: 0s; }
.svc:hover::before { opacity: .26; transform: rotate(22.5deg); }
.svc:hover::after { transform: scaleX(1); }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 24px; }
.svc__icon {
  display: grid; place-items: center; width: 60px; height: 60px;
  color: var(--gold);
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
  transition: transform .5s var(--ease);
}
.svc__icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.04); }
.svc__num {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.85rem; font-weight: 300; line-height: 1; color: var(--gold-ink);
}
.svc__num::before { content: ""; width: 26px; height: 1px; background: rgba(135, 87, 13, .5); }
.svc h3 { font-size: 1.16rem; font-weight: 800; line-height: 1.65; color: var(--ink); text-wrap: balance; }
.svc p { margin-block-start: 10px; font-size: .97rem; line-height: 1.95; color: var(--ink-soft); }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { background: linear-gradient(170deg, #07383a 0%, var(--teal-900) 45%, #052827 100%); }
.why__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.rosette {
  display: block; width: min(100%, 340px); height: auto; margin-block-start: 44px;
  fill: none; stroke: var(--gold); stroke-width: 1; overflow: visible;
}
.rosette .thin { stroke-opacity: .45; }
.rosette circle, .rosette path { vector-effect: non-scaling-stroke; }
.rosette .fill { fill: var(--gold); fill-opacity: .9; }
.rosette__spin { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
.why__list { border-block-start: 1px solid var(--hair-gold); }
.why__item {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 26px; align-items: start;
  padding-block: 34px; border-block-end: 1px solid var(--hair-gold);
}
.why__icon {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px;
  color: var(--gold);
}
.why__icon::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(224, 168, 78, .5);
  clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}
.why__icon::after {
  content: ""; position: absolute; inset: 1px;
  background: linear-gradient(160deg, #0b4a47, #062f2e);
  clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}
.why__icon .icon { position: relative; z-index: 1; width: 30px; height: 30px; stroke-width: 1.5; transition: transform .5s var(--ease); }
.why__item:hover .why__icon .icon { transform: scale(1.1); }
.why__item h3 {
  font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); font-weight: 800; line-height: 1.6;
  text-wrap: balance;
  transition: color .3s;
}
.why__item:hover h3 { color: var(--gold-soft); }
.why__item p { margin-block-start: 8px; color: var(--on-dark-soft); line-height: 2; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/girih-teal.svg") center / 104px 104px repeat;
  opacity: .045;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
}
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-block-start: clamp(48px, 6vw, 72px);
}
.steps::before {
  content: ""; position: absolute; inset-block-start: 36px; inset-inline: 12.5%; height: 1px;
  background: repeating-linear-gradient(to left, rgba(135, 87, 13, .55) 0 7px, transparent 7px 14px);
}
.step { position: relative; display: grid; grid-template-rows: auto 1fr; justify-items: center; text-align: center; }
.step__node { position: relative; display: grid; place-items: center; width: 72px; height: 72px; }
.step__node svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--paper); stroke: var(--gold); stroke-width: 1.5; overflow: visible; transition: transform .8s var(--ease), fill .4s; }
.step__node b { position: relative; font-size: 1.3rem; font-weight: 800; color: var(--teal-700); transition: color .4s; }
.step:hover .step__node svg { transform: rotate(45deg); fill: var(--teal-900); }
.step:hover .step__node b { color: var(--gold); }
.step__body {
  margin-block-start: 20px; padding: 24px 22px 26px; width: 100%;
  border-radius: var(--radius); background: var(--paper);
  border: 1px solid rgba(15, 94, 89, .1);
  box-shadow: 0 18px 40px -34px rgba(6, 47, 46, .5);
}
.step h3 { font-size: 1.14rem; font-weight: 800; text-wrap: balance; }
.step p { margin-block-start: 8px; font-size: .96rem; color: var(--ink-soft); line-height: 1.95; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: linear-gradient(190deg, #052827 0%, var(--teal-900) 55%, #07383a 100%); }
.faq.band--dark::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 10% 70%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 80% at 10% 70%, #000 0%, transparent 72%);
}
.faq__grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.faq__aside { position: sticky; inset-block-start: calc(var(--header-h) + 36px); }
.faq__card {
  margin-block-start: 36px; padding: 26px 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--hair-gold);
  background: linear-gradient(160deg, rgba(224, 168, 78, .09), rgba(224, 168, 78, .02));
}
.faq__card-title { font-weight: 800; font-size: 1.12rem; }
.faq__card p + p { margin-block-start: 6px; color: var(--on-dark-soft); }
.faq__phone {
  display: inline-flex; align-items: center; gap: 10px; margin-block-start: 16px;
  font-size: 1.35rem; font-weight: 800; color: var(--gold-soft); text-decoration: none;
}
.faq__phone .icon { width: 22px; height: 22px; color: var(--gold); }
.faq__phone:hover { color: var(--gold); }
.faq__list { display: grid; gap: 14px; }
.qa {
  border-radius: 20px;
  border: 1px solid rgba(224, 168, 78, .2);
  background: rgba(251, 247, 239, .025);
  transition: border-color .3s, background-color .3s;
}
.qa:hover { border-color: rgba(224, 168, 78, .42); }
.qa[open] { border-color: rgba(224, 168, 78, .55); background: rgba(251, 247, 239, .05); }
.qa summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 1.07rem; font-weight: 700; line-height: 1.7;
  border-radius: 20px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__num { font-size: .9rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.qa__q { flex: 1; text-wrap: balance; }
.qa__icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid rgba(224, 168, 78, .45); color: var(--gold);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.qa__icon .icon { width: 18px; height: 18px; }
.qa[open] .qa__icon { transform: rotate(135deg); background: var(--gold); color: var(--teal-950); }
.qa__a { padding: 0 24px 22px; padding-inline-start: 58px; color: var(--on-dark-soft); line-height: 2; }
.qa[open] .qa__a { animation: qa-in .45s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/girih-teal.svg") center / 104px 104px repeat;
  opacity: .05;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 100%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 100%, #000, transparent 70%);
}
.contact__card {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(15, 94, 89, .12);
  box-shadow: 0 50px 90px -60px rgba(6, 47, 46, .6);
}
.contact__info {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 4.2vw, 60px);
  color: var(--on-dark);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(20, 184, 166, .22), transparent 60%),
    linear-gradient(165deg, #0b4a47 0%, var(--teal-900) 60%, #052726 100%);
}
.contact__info::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/girih-gold.svg") center / 96px 96px repeat;
  opacity: .08;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
  mask-image: linear-gradient(200deg, #000, transparent 70%);
}
.contact__deco {
  position: absolute; z-index: -1; pointer-events: none;
  inset-block-end: -90px; inset-inline-end: -90px; width: 320px; height: 320px;
  fill: none; stroke: var(--gold); stroke-opacity: .28; overflow: visible;
}
.contact__deco circle { vector-effect: non-scaling-stroke; }
.contact__title {
  margin-block-start: 14px;
  font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.45rem); font-weight: 800; line-height: 1.5;
  text-wrap: balance;
}
.contact__label { margin-block-start: 30px; font-size: .9rem; color: var(--on-dark-soft); font-weight: 600; }
.contact__phone {
  display: inline-block; margin-block-start: 4px;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); font-weight: 800; line-height: 1.3;
  color: var(--gold-soft); text-decoration: none;
  transition: color .3s;
}
.contact__phone:hover { color: var(--gold); }
.contact__intl { margin-block-start: 2px; color: var(--on-dark-soft); font-size: .98rem; }
.contact__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-block-start: 26px; }
.cbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 10px 12px; border-radius: 16px;
  border: 1px solid rgba(224, 168, 78, .38); background: rgba(251, 247, 239, .04);
  color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: .96rem; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.cbtn .icon { width: 20px; height: 20px; color: var(--gold); transition: color .3s; }
.cbtn:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(224, 168, 78, .1); }
.cbtn--call { background: var(--gold); color: var(--teal-950); border-color: var(--gold); }
.cbtn--call .icon { color: var(--teal-950); }
.cbtn--call:hover { background: var(--gold-soft); }
.cbtn--wa { background: var(--teal-500); color: var(--teal-950); border-color: var(--teal-500); }
.cbtn--wa .icon { color: var(--teal-950); }
.cbtn--wa:hover { background: #3fcbbb; border-color: #3fcbbb; }
.contact__address {
  display: flex; gap: 16px; align-items: flex-start;
  margin-block-start: 34px; padding-block-start: 26px;
  border-block-start: 1px solid var(--hair-gold);
}
.contact__pin {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
  color: var(--gold); border: 1px solid var(--hair-gold); border-radius: 14px;
}
.contact__address .contact__label { margin: 0; }
.contact__addr { font-size: 1.15rem; font-weight: 800; }
.contact__map {
  display: inline-flex; align-items: center; gap: 8px; margin-block-start: 4px;
  color: var(--gold-soft); font-weight: 600; text-underline-offset: 6px;
}
.contact__map .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.contact__map:hover { color: var(--gold); }
.contact__map:hover .icon { transform: translateX(-4px); }

/* composer form */
.composer { padding: clamp(28px, 4.2vw, 60px); }
.composer__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.composer__title { font-size: 1.4rem; font-weight: 800; }
.composer__hint { margin-block-start: 6px; color: var(--ink-soft); font-size: .97rem; }
.field { display: grid; gap: 8px; margin-block-start: 20px; }
.field label { font-weight: 700; font-size: .96rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--ivory); color: var(--ink);
  font-size: 1rem; line-height: 1.7;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-inline-end: 48px;
  /* a long service name ends in "…" on narrow screens instead of being cut mid-word */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5e59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 20px; background-position: left 16px center;
}
.field ::placeholder { color: #65726e; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-700); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-700); background-color: var(--paper);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .22);
}
.field [aria-invalid="true"] { border-color: #b3261e; background-color: #fff7f5; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .16); }
.field__error { display: flex; align-items: center; gap: 8px; color: #a3231a; font-size: .9rem; font-weight: 600; }
.field__error::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex-shrink: 0; }
.field__error[hidden] { display: none; }
.composer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.composer__actions .btn { flex: 1 1 190px; }
.composer__status { margin-block-start: 12px; min-height: 1.6em; font-size: .93rem; font-weight: 700; color: var(--teal-700); }
.composer__status.is-error { color: #a3231a; }
.composer__note { display: flex; gap: 10px; align-items: flex-start; margin-block-start: 8px; font-size: .88rem; color: var(--ink-soft); line-height: 1.85; }
.composer__note .icon { width: 18px; height: 18px; margin-block-start: 3px; color: var(--teal-700); }
.composer__nojs { margin-block-start: 16px; padding: 12px 16px; border-radius: 12px; background: #fbeed6; color: #6a450b; font-size: .92rem; }
.js .composer__nojs { display: none; }
.composer__set:disabled .composer__actions { opacity: .55; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--teal-950); color: var(--on-dark-soft);
  padding-block: clamp(56px, 7vw, 84px) 28px;
  border-block-start: 1px solid rgba(224, 168, 78, .22);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/girih-gold.svg") center / 96px 96px repeat;
  opacity: .04;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.site-footer .container { position: relative; }
.site-footer .brand { color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer__desc { margin-block-start: 18px; max-width: 26em; line-height: 2; }
.footer__title { font-size: 1rem; font-weight: 800; color: var(--gold); margin-block-end: 14px; }
.footer__links { display: grid; gap: 6px; }
.footer__links a, .footer__contact a { text-decoration: none; transition: color .25s; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-soft); }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { width: 20px; height: 20px; color: var(--gold); }
.footer__contact a { font-weight: 700; color: var(--on-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-block-start: 48px; padding-block-start: 22px;
  border-block-start: 1px solid rgba(251, 247, 239, .1);
  font-size: .9rem; color: var(--on-dark-mute);
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-dark-soft); }
.footer__top .icon { width: 18px; height: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.footer__top:hover { color: var(--gold-soft); }
.footer__top:hover .icon { transform: translateY(-3px); }

/* floating quick contact (mobile) */
.fab { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__title { font-size: clamp(2.1rem, 1rem + 3.6vw, 3.4rem); }
}
/* two-column hero on small laptops: keep the h1 on two balanced lines */
@media (min-width: 960px) and (max-width: 1100px) {
  .hero__title { font-size: clamp(2.4rem, .55rem + 3.4vw, 2.95rem); }
}

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__content { max-width: 680px; }
  .hero__visual { max-width: 560px; margin-block-start: 8px; }
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .sec-head--split .sec-lead { justify-self: start; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:last-child { grid-column: 1 / -1; }
  .why__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .why__aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center; }
  .why__aside > :not(.rosette) { grid-column: 1; }
  .rosette { grid-column: 2; grid-row: 1 / span 3; width: 180px; margin: 0; }
  .faq__aside { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .contact__card { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .site-footer { padding-block-end: 108px; }
  .fab {
    position: fixed; z-index: 55;
    inset-block-end: calc(14px + env(safe-area-inset-bottom, 0px));
    inset-inline: 0; margin-inline: auto; width: max-content;
    display: flex; gap: 6px; padding: 6px;
    border-radius: 999px;
    background: rgba(4, 31, 30, .92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(224, 168, 78, .3);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
  }
  .fab.is-hidden, .menu-open .fab {
    opacity: 0; transform: translateY(140%); visibility: hidden; pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .fab__btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 46px; padding: 8px 20px; border-radius: 999px;
    font-weight: 700; font-size: .96rem; text-decoration: none;
  }
  .fab__btn .icon { width: 20px; height: 20px; }
  .fab__btn--call { background: var(--gold); color: var(--teal-950); }
  .fab__btn--wa { background: var(--teal-500); color: var(--teal-950); }
}

@media (max-width: 639px) {
  .hero { padding-block-start: 28px; }
  .hero__title { font-size: clamp(1.95rem, 1.05rem + 4.6vw, 2.5rem); margin-block: 18px 16px; }
  .hero__eyebrow { font-size: .84rem; padding-inline: 12px; }
  .hero__actions { margin-block-start: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { margin-block-start: 28px; gap: 8px 22px; font-size: .92rem; }
  .hv-chip { display: none; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 24px 22px 26px; }
  .svc__icon { width: 54px; height: 54px; }
  .why__aside { display: block; }
  .rosette { display: none; }
  .why__item { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-block: 26px; }
  .why__icon { width: 56px; height: 56px; }
  .why__icon .icon { width: 25px; height: 25px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  /* vertical timeline: one dashed connector per step, from its node centre to the next node centre
     (18px row gap + 30px half node), so the line ends exactly at node ۴ */
  .step:not(:last-child)::before {
    content: ""; position: absolute;
    inset-block: 30px -48px; inset-inline-start: 29px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(135, 87, 13, .55) 0 7px, transparent 7px 14px);
  }
  .step { grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: auto; column-gap: 16px; justify-items: stretch; text-align: start; align-items: start; }
  .step__node { width: 60px; height: 60px; }
  .step__body { margin: 0; padding: 18px 18px 20px; }
  .qa summary { padding: 16px 18px; gap: 12px; font-size: 1rem; }
  .qa__a { padding: 0 18px 18px; }
  .contact__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cbtn--call { grid-column: 1 / -1; }
  .contact__deco { width: 200px; height: 200px; inset-block-end: -70px; inset-inline-end: -70px; stroke-opacity: .2; }
  .composer__actions .btn { flex-basis: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1600px) {
  .container { max-width: 1400px; }
  .hero__visual { max-width: 680px; }
}

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