/* =============================================================
   شیشه سکوریت اسماعیلی — سیستم طراحی صفحه اصلی
   ترتیب: توکن‌ها → پایه → المان‌های تکرارشونده → سکشن‌ها → موبایل
   ============================================================= */

/* ---------- ۱. توکن‌ها ---------- */
:root {
  --navy:        #12233F;
  --navy-deep:   #0C1A31;
  --navy-light:  #2A3E63;
  --gold:        #C9A24B;   /* پرکننده: حاشیه، خط تأکید، آیکن روی تیره */
  --gold-light:  #E3C078;   /* متن و آیکن طلایی روی زمینه تیره */
  --gold-ink:    #8A6A1F;   /* متن و آیکن طلایی روی زمینه روشن — کنتراست ۵:۱ */
  --gold-deep:   #B98F3C;   /* دو لبه گرادیان دکمه */
  --gold-sheen:  #F5E3B4;   /* درخشش وسط گرادیان دکمه */

  /* سطح واحد همه دکمه‌های سایت — طلایی فلزی با درخشش وسط.
     متن همیشه سرمه‌ای است؛ کنتراست روی تیره‌ترین نقطه گرادیان ۵:۱. */
  --grad-gold: linear-gradient(100deg,
    var(--gold-deep) 0%,
    var(--gold-light) 20%,
    var(--gold-sheen) 50%,
    var(--gold-light) 80%,
    var(--gold-deep) 100%);
  --grad-gold-hover: linear-gradient(100deg,
    var(--gold) 0%,
    var(--gold-sheen) 30%,
    #FFF6DE 50%,
    var(--gold-sheen) 70%,
    var(--gold) 100%);
  --white:       #FFFFFF;
  --mist:        #F4F7FB;
  --mist-2:      #FAFCFF;
  --line:        #E8EDF5;
  --muted:       #5A6A85;

  --ok:    #4ADE80;
  --warn:  #FBBF24;
  --stop:  #F87171;

  /* شعاع گوشه — یک سیستم واحد در کل صفحه */
  --r-sm:   16px;
  --r-md:   20px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 100px;

  --shadow-card:  0 4px 24px rgba(18, 35, 63, .06);
  --shadow-hover: 0 12px 32px rgba(18, 35, 63, .10);
  --shadow-lift:  0 20px 60px rgba(18, 35, 63, .12);

  --ease: cubic-bezier(.22, 1, .36, 1);

  --pad-x: 20px;
  --gap-section: 64px;
  --gap-action: clamp(28px, 3vw, 40px);
  --wrap: 1240px;
  --header-h: 82px;

  color-scheme: light;
}

@media (min-width: 900px) {
  :root { --pad-x: 32px; --gap-section: 112px; --header-h: 108px; }
}

/* ---------- ۲. پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { max-width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: Vazirmatn, "Vazirmatn FD", system-ui, "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) { body { font-size: 17px; } }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ارقام هم‌عرض برای هر جایی که عدد نمایش داده می‌شود */
.num, table, .price, input[inputmode="numeric"] {
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

[hidden] { display: none !important; }

/* Keep semantic table captions available to assistive technology without
   letting them participate in the visual table layout. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- ۳. تایپوگرافی ---------- */
h1, .h1 { font-size: 28px; font-weight: 900; line-height: 1.45; letter-spacing: -.01em; }
h2, .h2 { font-size: 22px; font-weight: 700; line-height: 1.5; }
h3, .h3 { font-size: 18px; font-weight: 700; line-height: 1.6; }
.lead   { font-size: 16px; line-height: 1.9; color: var(--muted); }
.small  { font-size: 13px; font-weight: 500; line-height: 1.7; }
.counter { font-size: 32px; font-weight: 900; line-height: 1.2; }

@media (min-width: 900px) {
  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 34px; }
  h3, .h3 { font-size: 22px; }
  .lead   { font-size: 18px; }
  .small  { font-size: 14px; }
  .counter { font-size: 48px; }
}

/* ---------- ۴. چیدمان ---------- */
.wrap { width: 100%; min-width: 0; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }

.section { position: relative; padding-block: var(--gap-section); }

/* حالت روشن: مش‌گرادیان بسیار کم‌رنگ در گوشه‌ها */
.section--light { background: var(--white); }
.section--light::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(18, 35, 63, .04), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(18, 35, 63, .04), transparent 70%);
  pointer-events: none;
}
.section--mist { background: var(--mist); }
.section--mist::before { content: none; }

/* تکسچر خطوط مورب شیشه‌ای */
.section--texture::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .03;
  background-image: repeating-linear-gradient(135deg, var(--navy) 0 1px, transparent 1px 14px);
  pointer-events: none;
}

/* حالت تیره + هاله نوری بلور */
.section--dark {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: var(--white); }
/* کارت تیره و نوار فرم میانی می‌توانند داخل یک سکشن روشن باشند،
   پس متن ثانویه‌شان جداگانه روشن می‌شود. */
.section--dark .lead,
.card-dark .lead,
.midform .lead { color: rgba(255, 255, 255, .74); }
.card-dark .footnote,
.midform .footnote { color: rgba(255, 255, 255, .62); }

.glow {
  position: absolute;
  width: 460px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy-light);
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  will-change: transform;
}
.glow--a { top: -160px; inset-inline-end: -120px; }
.glow--b { bottom: -200px; inset-inline-start: -140px; }

.section > .wrap { position: relative; z-index: 1; }

/* ---------- ۵. المان‌های تکرارشونده ---------- */

/* روی زمینه تیره، متن و آیکن طلایی روشن می‌شود.
   دکمه‌ها اینجا نمی‌آیند: سطحشان خودش طلایی است و متنشان همیشه سرمه‌ای. */
.section--dark .link-gold, .card-dark .link-gold, .hero .link-gold, .midform .link-gold,
.section--dark .chip svg,  .card-dark .chip svg,  .hero .chip svg,  .midform .chip svg,
.section--dark .checklist .tick { color: var(--gold-light); }

.head { max-width: 720px; margin-bottom: 40px; }
.head--center { margin-inline: auto; text-align: center; }
.head h2 + .lead { margin-top: 12px; }

/* دکمه‌ها — همه دکمه‌های سایت یک سطح دارند: گرادیان طلایی فلزی.
   واریانت‌ها (gold / navy / ghost / white) فقط برای معنای کد باقی مانده‌اند
   و همگی همین ظاهر را می‌گیرند. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 16px 32px;
  background: var(--grad-gold);
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(185, 143, 60, .22);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-image .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { flex: none; color: var(--navy); }

.btn:hover {
  background: var(--grad-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(185, 143, 60, .34);
}

/* واریانت‌های قدیمی — همان سطح طلایی، بدون تفاوت ظاهری */
.btn--gold,
.btn--navy,
.btn--ghost,
.btn--white { background: var(--grad-gold); color: var(--navy); border: 0; }
.btn--gold:hover,
.btn--navy:hover,
.btn--ghost:hover,
.btn--white:hover { background: var(--grad-gold-hover); color: var(--navy); }

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--full { width: 100%; }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: var(--gap-action);
}

/* لینک طلایی با فلش */
.link-gold {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-ink); font-weight: 700; font-size: 15px;
}
.link-gold svg { transition: transform .25s var(--ease); }
.link-gold:hover svg { transform: translateX(-4px); }

/* کارت روشن */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* کارت تیره + لبه نورخورده شیشه (امضای بصری) */
.card-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, #1A2E52 0%, #12233F 100%);
  border: 1px solid rgba(201, 162, 75, .18);
  border-radius: var(--r-lg);
  color: var(--white);
  padding: 28px;
}
.card-dark::before {
  content: "";
  position: absolute; inset-block-start: 0; inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 192, 120, .55), transparent);
}
.card-dark::after {
  content: "";
  position: absolute;
  inset-block-start: -120px; inset-inline-end: -80px;
  width: 260px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy-light);
  filter: blur(70px);
  opacity: .55;
  z-index: -1;
}

/* چیپ اطلاعاتی */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  color: var(--navy);
}
.section--dark .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .88); }
.chip svg { color: var(--gold-ink); flex: none; }

/* چیپ انتخابی (فیلتر و ماشین‌حساب) */
.chip-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chip-btn:hover:not([disabled]):not([aria-pressed="true"]) { border-color: var(--gold); color: var(--navy); }
.chip-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 700; }
.chip-btn[aria-pressed="true"]:hover:not([disabled]) { border-color: var(--gold); color: var(--white); }
.chip-btn[disabled] { opacity: .38; cursor: not-allowed; }

/* فرم */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
/* فرم روی هر زمینه تیره — شامل کارت تیره داخل سکشن روشن */
.section--dark .field label,
.card-dark .field label,
.midform .field label { color: rgba(255, 255, 255, .86); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.9; }
.field input::placeholder, .field textarea::placeholder { color: #93A0B5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .18);
}
.field .hint { font-size: 13px; color: var(--muted); }
.section--dark .field .hint { color: rgba(255, 255, 255, .6); }
.field .err { font-size: 13px; font-weight: 500; color: #C2410C; }
.section--dark .field .err { color: #FCA5A5; }
.field input[aria-invalid="true"] { border-color: #C2410C; }

.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; pointer-events: none; }

/* نسخه دسکتاپ / موبایل یک محتوا (جدول ↔ کارت، فهرست ↔ کاشی) */
@media (max-width: 899px) { [data-view="desktop"] { display: none !important; } }
@media (min-width: 900px) { [data-view="mobile"]  { display: none !important; } }

/* فوکوس کیبورد — حلقه طلایی ۲px */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* پرش به محتوا — با فوکوس کیبورد ظاهر می‌شود */
.skip {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 50%;
  transform: translate(50%, -200%);
  z-index: 70;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: translate(50%, 0); }

/* تصویر جایگزین تا زمان تحویل عکس‌های واقعی */
img.ph {
  background:
    linear-gradient(135deg, rgba(18, 35, 63, .06), rgba(18, 35, 63, .02)),
    repeating-linear-gradient(135deg, rgba(18, 35, 63, .05) 0 1px, transparent 1px 12px);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- ۶. انیمیشن ورود ----------
   حالت اولیه فقط وقتی اعمال می‌شود که جاوااسکریپت در دسترس باشد.
   اگر اسکریپت اجرا نشود، تمام محتوا از ابتدا دیده می‌شود. */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ---------- ۷. هدر ---------- */
.header {
  position: fixed;
  inset-block-start: 0; inset-inline: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  pointer-events: none;
}
.header .wrap { pointer-events: auto; }

/* ریل شیشه‌ای: فرم مورب و خط نور از خودِ متریال شیشه می‌آید. */
.header__glass {
  position: relative;
  isolation: isolate;
  min-height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 11px 9px 16px;
  background: linear-gradient(112deg, rgba(12, 26, 49, .86), rgba(18, 35, 63, .70));
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(3, 10, 24, .16);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
/* لایه درخشش داخل ریل. جدا نگه داشته می‌شود تا خودِ ریل بتواند
   overflow: visible بماند و مگامنو از زیر آن بیرون بزند. */
.header__sheen {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.header__sheen::before {
  content: "";
  position: absolute;
  inset-block: -80%;
  inset-inline-end: 20%;
  width: 135px;
  transform: skewX(-25deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .075), transparent);
}
.header__glass::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  inset-block-start: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 192, 120, .7), transparent);
  opacity: .7;
}
.header.is-stuck .header__glass,
.header--solid .header__glass {
  background: rgba(12, 26, 49, .96);
  border-color: rgba(201, 162, 75, .24);
  box-shadow: 0 18px 46px rgba(3, 10, 24, .24);
}
.header.is-stuck .header__glass::after { animation: headerGlint .9s var(--ease) both; }
@keyframes headerGlint {
  from { transform: translateX(45%); opacity: 0; }
  45% { opacity: .9; }
  to { transform: translateX(-45%); opacity: .45; }
}
@media (min-width: 900px) {
  .header__glass { min-height: 80px; padding: 11px 14px 11px 20px; border-radius: 23px; gap: 22px; }
}

/* صفحاتی که محتوا از زیر هدر ثابت شروع می‌شود، نه از پشت آن */
.page-offset { padding-block-start: var(--header-h); }

.header .wrap { display: block; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); flex: none; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__copy { display: grid; gap: 0; line-height: 1; }
.logo__copy strong { font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.logo__sub { display: block; margin-block-start: 5px; font-size: 10px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .58); line-height: 1.2; }

.nav { display: none; min-width: 0; flex: 1; }
.nav ul { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 90px;
  min-height: 48px;
  padding: 0 13px;
  color: rgba(255, 255, 255, .82);
  border: 1px solid transparent;
  border-radius: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.nav__link span { font-size: 14px; font-weight: 750; line-height: 1.2; }
.nav__link:hover,
.nav__link:focus-visible { color: var(--white); background: rgba(255, 255, 255, .065); border-color: rgba(255, 255, 255, .1); }
.nav__link--featured {
  color: var(--white);
  background: rgba(201, 162, 75, .1);
  border-color: rgba(201, 162, 75, .2);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav__link--featured::before {
  content: none;
}

/* ---------- مگامنو ----------
   پنل با :focus-within و :hover باز می‌شود، پس بدون جاوااسکریپت هم
   با کیبورد قابل استفاده است. app.js فقط aria-expanded، کلیک و Escape
   را مدیریت می‌کند. */
.nav__item { position: static; }
.nav__link--has-mega {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.nav__chev {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 3px;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  transform-origin: 50% 50%;
  transition: transform .22s var(--ease), color .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease);
}
.nav__item--mega:hover .nav__chev,
.nav__item--mega:focus-within .nav__chev {
  transform: rotate(180deg);
  color: var(--gold-light);
  background: rgba(201, 162, 75, .12);
  border-color: rgba(201, 162, 75, .34);
}
.nav__item--mega:hover .nav__link--has-mega,
.nav__item--mega:focus-within .nav__link--has-mega { color: var(--white); background: rgba(255, 255, 255, .065); }

.mega {
  position: absolute;
  z-index: 5;
  /* محدوده شفاف بالا و طرفین، پل پیوسته‌ای بین دکمه و پنل می‌سازد.
     فاصله بصری حفظ می‌شود اما هنگام حرکت آرام ماوس، هاور قطع نمی‌شود. */
  inset-inline: -8px;
  /* ۲۰px هم‌پوشانی با کف هدر، فضای خالی زیر خود دکمه را هم پوشش می‌دهد؛
     ۳۲px پدینگ باعث می‌شود پنل همچنان ۱۲px پایین‌تر دیده شود. */
  inset-block-start: calc(100% - 20px);
  padding: 32px 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega,
.mega.is-hovered,
.mega.is-open { opacity: 1; visibility: visible; transform: none; }

/* هنگام عبور مستقیم به آیتم بعدی، پنل قبلی باید همان فریم اول ناپدید شود؛
   این وضعیت حتی focus-within یا انیمیشن خروج پنل قبلی را هم خنثی می‌کند. */
.nav__item--mega.is-suppressed .mega {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  transform: translateY(-8px) !important;
  transition: none !important;
}
.nav__item--mega.is-suppressed .nav__chev {
  transform: none !important;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .035);
  border-color: rgba(255, 255, 255, .12);
}
.nav__item--mega.is-suppressed .nav__link--has-mega {
  color: rgba(255, 255, 255, .82);
  background: none;
}

.mega__inner {
  display: grid;
  gap: 26px;
  padding: 24px;
  background: rgba(12, 26, 49, .97);
  border: 1px solid rgba(201, 162, 75, .22);
  border-radius: var(--r-md);
  box-shadow: 0 26px 64px rgba(3, 10, 24, .34);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}
/* یک ستون برای هر ضخامت، به‌علاوه کارت پرفروش */
.mega__inner--glass { grid-template-columns: repeat(4, 1fr) minmax(196px, .86fr); gap: 18px; }
#mega-company {
  inset-inline-start: auto;
  inset-inline-end: -8px;
  width: min(740px, calc(100% + 16px));
}
.mega__inner--company { display: block; }

/* منوی شرکتی: نام صفحه، توضیح و وضعیت سه نقش جدا دارند؛
   جداکننده طلایی از منطق قاب شیشه الهام گرفته و صرفاً تزئینی نیست. */
.mega__inner--company .mega__col,
.mega__inner--company .mega__col > ul,
.mega__inner--company .mega__row { width: 100%; }
.mega__inner--company .mega__col > ul { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mega__inner--company .mega__row {
  grid-template-columns: minmax(138px, .42fr) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 0 18px;
  min-height: 58px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
}
.mega__inner--company .mega__row__name {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-inline: 10px 16px;
  border-inline-end: 1px solid rgba(201, 162, 75, .34);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 800;
}
.mega__inner--company .mega__row small {
  grid-column: 2;
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
  line-height: 1.7;
}
.mega__inner--company .mega__row em {
  grid-column: 3;
  justify-self: end;
  margin-block-start: 0;
  white-space: nowrap;
}
a.mega__row:hover .mega__row__name,
a.mega__row:focus-visible .mega__row__name { color: var(--gold-light); }

.mega__title {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* تیتر ستون ضخامت — خودش لینک صفحه مادر آن ضخامت است */
.mega__head {
  display: grid;
  gap: 3px;
  margin-block-end: 10px;
  padding: 0 11px 10px;
  border-block-end: 1px solid rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 900;
}
.mega__head small { color: var(--gold-light); font-size: 10px; font-weight: 600; }
a.mega__head:hover { color: var(--gold-light); }
a.mega__head:hover small { color: var(--white); }
.mega__head--soon { color: rgba(255, 255, 255, .5); }
.mega__head--soon small { color: rgba(227, 192, 120, .5); }
.mega__col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega__grid { grid-template-columns: 1fr 1fr; column-gap: 14px; }

.mega__row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 10px;
  padding: 9px 11px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.35;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.mega__row > svg { grid-row: 1 / -1; color: var(--gold-light); flex: none; }
.mega__row__name { font-size: 13.5px; font-weight: 700; }
.mega__row small { grid-column: -2; color: rgba(255, 255, 255, .46); font-size: 10.5px; font-weight: 500; }
a.mega__row:hover,
a.mega__row:focus-visible { background: rgba(255, 255, 255, .07); color: var(--white); }
a.mega__row:hover small { color: rgba(255, 255, 255, .66); }

/* ردیف صفحه ساخته‌نشده: بدون لینک، بدون هاور، با نشان «به‌زودی» */
.mega__row--soon { color: rgba(255, 255, 255, .42); cursor: default; }
.mega__row--soon > svg { color: rgba(227, 192, 120, .38); }
.mega__row--soon em {
  grid-column: -2;
  justify-self: start;
  margin-block-start: 3px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, .5);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
}

.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-block-start: 12px;
  padding-inline: 11px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}
.mega__all:hover { color: var(--white); }

.mega__card {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  background: linear-gradient(150deg, rgba(201, 162, 75, .16), rgba(255, 255, 255, .03));
  border: 1px solid rgba(201, 162, 75, .26);
  border-radius: var(--r-sm);
}
.mega__card__tag { color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.mega__card strong { color: var(--white); font-size: 16px; font-weight: 900; }
.mega__card__price { color: var(--white); font-size: 18px; font-weight: 900; }
.mega__card__price small { font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .6); }
/* ستون کارت باریک است و دکمه با nowrap نمی‌تواند جمع شود؛
   اینجا پدینگ کم و شکستن خط آزاد می‌شود تا از کارت بیرون نزند. */
.mega__card .btn {
  margin-block-start: 4px;
  padding-inline: 12px;
  gap: 7px;
  font-size: 12.5px;
  white-space: normal;
}
.mega__card__link { color: rgba(255, 255, 255, .66); font-size: 11.5px; text-align: center; }
.mega__card__link:hover { color: var(--gold-light); }

.header__actions { display: flex; align-items: center; gap: 7px; }
.header__cta { display: none; min-height: 48px; padding-inline: 19px; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 1060px) {
  .nav { display: block; }
  .nav__link { min-width: 0; padding-inline: 10px; }
}
@media (min-width: 1180px) {
  .nav__link { padding-inline: 14px; }
}

.burger {
  min-width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding-inline: 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.burger span { display: none; font-size: 12px; font-weight: 700; }
.burger:hover { background: rgba(255, 255, 255, .1); border-color: rgba(201, 162, 75, .42); }
@media (min-width: 400px) { .burger span { display: inline; } }
@media (min-width: 1060px) { .burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .38s;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-menu__backdrop {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: rgba(3, 10, 24, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  cursor: pointer;
  transition: opacity .3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute;
  inset-block: 9px;
  inset-inline-start: 9px;
  width: min(430px, calc(100% - 18px));
  display: flex; flex-direction: column;
  overflow-y: auto;
  padding: 18px 18px calc(20px + env(safe-area-inset-bottom));
  background:
    linear-gradient(145deg, rgba(42, 62, 99, .24), transparent 36%),
    var(--navy-deep);
  border: 1px solid rgba(201, 162, 75, .24);
  border-radius: 22px;
  box-shadow: -24px 0 70px rgba(0, 0, 0, .28);
  transform: translateX(108%);
  transition: transform .38s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-bottom: 28px; }
.mobile-menu__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
}
.mobile-menu__eyebrow {
  margin-block-end: 9px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.mobile-menu__nav { display: grid; }
.mobile-menu__nav li {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity .28s var(--ease), transform .34s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms + 100ms);
}
.mobile-menu.is-open .mobile-menu__nav li { opacity: 1; transform: none; }
.mobile-menu__nav li:nth-child(2) { --i: 1; }
.mobile-menu__nav li:nth-child(3) { --i: 2; }
.mobile-menu__nav li:nth-child(4) { --i: 3; }
.mobile-menu__nav li:nth-child(5) { --i: 4; }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 59px;
  color: var(--white);
  border-block-end: 1px solid rgba(255, 255, 255, .085);
}
.mobile-menu__nav a > span { display: grid; gap: 3px; }
.mobile-menu__nav strong { font-size: 16px; font-weight: 700; }
.mobile-menu__nav small { color: rgba(255, 255, 255, .46); font-size: 11px; }
.mobile-menu__nav svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 4px;
  color: rgba(227, 192, 120, .82);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.mobile-menu__nav a:hover svg,
.mobile-menu__nav a:focus-visible svg {
  color: var(--gold-light);
  background: rgba(201, 162, 75, .12);
  border-color: rgba(201, 162, 75, .32);
}
.mobile-menu__nav li:nth-child(6) { --i: 5; }

/* آکاردئون گروه‌های منوی موبایل — همان درخت مگامنو */
.m-acc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  min-height: 59px;
  padding: 0;
  background: none;
  border: 0;
  border-block-end: 1px solid rgba(255, 255, 255, .085);
  color: var(--white);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.m-acc__head > span { display: grid; gap: 3px; }
.m-acc__head strong { font-size: 16px; font-weight: 700; }
.m-acc__head small { color: rgba(255, 255, 255, .46); font-size: 11px; }
.m-acc__head svg {
  transform-origin: 50% 50%;
  transition: transform .22s var(--ease), color .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease);
}
.m-acc__head:hover svg,
.m-acc__head:focus-visible svg,
.m-acc__head[aria-expanded="true"] svg {
  color: var(--gold-light);
  background: rgba(201, 162, 75, .12);
  border-color: rgba(201, 162, 75, .32);
}
.m-acc__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-acc__panel { padding-block: 6px 12px; }
.m-acc__panel ul { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.m-acc__panel a,
.m-acc__panel .m-acc__soon {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px;
  padding-inline-start: 13px;
  border-inline-start: 2px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .84);
  font-size: 13.5px;
}
.m-acc__panel a:hover { color: var(--white); border-inline-start-color: var(--gold); }
.m-acc__child a,
.m-acc__child .m-acc__soon { padding-inline-start: 26px; font-size: 12.5px; }
.m-acc__soon { color: rgba(255, 255, 255, .4); }
.m-acc__soon em {
  padding: 2px 7px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--r-pill);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
}

.mobile-menu__foot { margin-block-start: auto; padding-block-start: 24px; }
.mobile-menu__foot .btn { min-height: 52px; }
.mobile-menu__foot p { margin-block-start: 12px; color: rgba(255, 255, 255, .44); font-size: 10.5px; text-align: center; }
@media (min-width: 1060px) { .mobile-menu { display: none; } }

/* نوار چسبان پایین موبایل */
.dock {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 26, 49, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-start: 1px solid rgba(255, 255, 255, .10);
}
.dock .btn { padding: 13px 12px; font-size: 14px; }
@media (min-width: 900px) { .dock { display: none; } }
@media (max-width: 899px) { body { padding-block-end: 76px; } }

/* ---------- ۸. سکشن ۱ — هیرو ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-block: 96px 72px;
}
@media (min-width: 900px) { .hero { padding-block: 152px 120px; } }

.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(270deg, var(--navy) 12%, rgba(18, 35, 63, .92) 46%, rgba(18, 35, 63, .55) 100%);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 42%; align-items: center; } }

.hero h1 { margin-bottom: 18px; }
.hero .lead { color: rgba(255, 255, 255, .80); max-width: 46ch; }
.hero .btn-row { margin-block: 30px 26px; }
.hero__update { margin-block-end: 14px; color: rgba(255, 255, 255, .62); font-size: 13px; font-weight: 500; }
.hero__update span { color: var(--gold-light); }

.hero__panel { display: none; }
@media (min-width: 900px) {
  .hero__panel { display: block; }
  .hero__panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); border: 1px solid rgba(201, 162, 75, .22); }
}

/* توالی ارکستره ورود هیرو — کاملاً CSS، بدون وابستگی به جاوااسکریپت
   تا عنصر LCP (تیتر H1) منتظر هیچ اسکریپتی نماند. */
.hero .seq { animation: seqIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes seqIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- ۹. سکشن ۲ — نوار آمار ---------- */
.stats-shell { position: relative; z-index: 2; margin-block-start: -60px; }
/* minmax(0,…) لازم است: عدد بلند مثل ۶۰۰٬۰۰۰ یا برچسب طولانی،
   با 1fr ساده ستون را پهن‌تر از سهمش می‌کند و ستون‌ها نامساوی می‌شوند. */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { padding: 22px 16px; text-align: center; }
.stats li + li { border-inline-start: 1px solid rgba(201, 162, 75, .20); }
@media (max-width: 759px) {
  .stats li:nth-child(odd) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-block-start: 1px solid rgba(201, 162, 75, .20); }
}
.stats .counter { color: var(--gold-light); }
.stats .small { color: rgba(255, 255, 255, .70); margin-top: 4px; }
.stats-shell + .section--light { padding-block-start: 96px; }

/* ---------- ۱۰. سکشن ۳ — جعبه پاسخ فوری ---------- */
.answer {
  max-width: 980px;
  border-block: 1px solid var(--line);
  padding-block: 24px;
  font-size: 16px;
  line-height: 2;
}
.answer strong { color: var(--navy); font-weight: 900; }
@media (min-width: 900px) { .answer { font-size: 18px; padding-block: 30px; } }

.price-spectrum { display: grid; margin-block-start: 30px; border-block: 1px solid var(--line); }
.pricepoint { display: grid; gap: 5px; padding: 20px 0; transition: color .2s var(--ease), background-color .2s var(--ease); }
.pricepoint + .pricepoint { border-block-start: 1px solid var(--line); }
.pricepoint:hover { color: var(--gold-ink); background: rgba(201, 162, 75, .045); }
.pricepoint .name { color: var(--muted); font-size: 14px; font-weight: 500; }
.pricepoint .price { color: var(--navy); font-size: 24px; font-weight: 900; }
.pricepoint .price span { color: var(--muted); font-size: 13px; font-weight: 500; }
@media (min-width: 760px) {
  .price-spectrum { grid-template-columns: repeat(3, 1fr); }
  .pricepoint { padding: 24px 24px; }
  .pricepoint + .pricepoint { border-block-start: 0; border-inline-start: 1px solid var(--line); }
}
.footnote { margin-block-start: 18px; font-size: 14px; color: var(--muted); }

/* ---------- ۱۱. سکشن ۴ — جدول قیمت ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.ptable { width: 100%; border-collapse: collapse; text-align: right; }
.ptable caption { text-align: right; padding: 0 0 12px; font-size: 13px; color: var(--muted); }
.ptable th, .ptable td { padding: 16px 20px; }
.ptable thead th { background: var(--mist); color: var(--navy); font-weight: 700; font-size: 15px; }
.ptable tbody tr { border-block-start: 1px solid var(--line); transition: background-color .2s var(--ease); }
.ptable tbody tr:nth-child(even) { background: var(--mist-2); }
.ptable tbody tr:hover { background: rgba(201, 162, 75, .07); }
.ptable .t-name { font-weight: 500; }
.ptable .t-price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.ptable .t-price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.ptable .t-act { width: 1%; text-align: left; }
.ptable .t-act .btn { opacity: 0; transform: translateX(6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.ptable tr:hover .t-act .btn, .ptable .t-act .btn:focus-visible { opacity: 1; transform: none; }

/* واریانت تیره جدول — روی سکشن سرمه‌ای.
   نشانه‌گذاری `ptable--dark` از ابتدا در پروتوتایپ بود ولی قاعده‌اش نوشته
   نشده بود: کارت جدول سفید می‌ماند و متن رنگ سفیدِ `.section--dark` را ارث
   می‌برد، یعنی سفید روی سفید. سطح تیره اینجا با همان زبان `.card-dark`
   ساخته می‌شود تا رنگ تازه‌ای به سیستم اضافه نشود. */
.section--dark .table-wrap {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.ptable--dark thead th {
  background: rgba(255, 255, 255, .07);
  color: var(--gold-light);
  border-block-end: 1px solid rgba(201, 162, 75, .22);
}
.ptable--dark tbody tr { border-block-start-color: rgba(255, 255, 255, .12); }
.ptable--dark tbody tr:nth-child(even) { background: rgba(255, 255, 255, .035); }
.ptable--dark tbody tr:hover { background: rgba(201, 162, 75, .12); }
.ptable--dark tbody th { color: var(--white); font-weight: 700; }
.ptable--dark tbody td { color: rgba(255, 255, 255, .82); }
.ptable--dark caption,
.ptable--dark .t-scope,
.ptable--dark .t-time,
.ptable--dark .t-feature,
.ptable--dark .t-price span { color: rgba(255, 255, 255, .62); }

/* کارت روشن داخل سکشن تیره — همان ایراد سفید روی سفید.
   `.chip` و `.field` قبلاً همین‌طور روشن شده‌اند؛ `.card` جا مانده بود. */
.section--dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.section--dark .card p { color: rgba(255, 255, 255, .78); }
.section--dark .card:hover { border-color: rgba(201, 162, 75, .32); }

.pcards { display: grid; gap: 12px; }
.pcard { display: grid; gap: 12px; }
.pcard h3 { font-size: 17px; }
.pcard .price { font-size: 22px; font-weight: 900; color: var(--gold-ink); }
.pcard .price span { font-size: 13px; font-weight: 500; color: var(--muted); }

.notes { display: grid; gap: 14px; margin-block-start: 24px; }
.notes li { display: flex; gap: 12px; font-size: 15px; color: var(--muted); line-height: 1.9; }
.notes li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-block-start: 13px; }
.notes .btn { margin-block-start: 18px; }

/* ---------- ۱۲. سکشن ۵ — آموزشی ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.split__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); border: 1px solid rgba(201, 162, 75, .2); }
.prose p + p { margin-block-start: 18px; }
.section--dark .prose p { color: rgba(255, 255, 255, .80); }

/* ---------- ۱۳. سکشن ۶ — ماشین‌حساب ---------- */
.calc {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  padding: 24px;
  overflow: hidden;
}
@media (min-width: 900px) { .calc { padding: 44px; } }

.calc__steps { display: grid; gap: 28px; }
@media (min-width: 900px) { .calc__steps { grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; } }

.calc__label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.calc__label i {
  width: 22px; height: 22px; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
  border-radius: 50%; font-size: 12px; font-style: normal; font-weight: 700;
}
.calc__block + .calc__block { margin-block-start: 24px; }
.calc__dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* پنل نتیجه — اسلاید افقی بین مرحله شماره و نتیجه */
.calc__panel { position: relative; overflow: hidden; }
.calc__slide { transition: transform .3s var(--ease), opacity .3s var(--ease); }
.calc__slide[hidden] { display: none !important; }

.result { padding: 26px; }
.result__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 12px; }
.result__row + .result__row { border-block-start: 1px solid rgba(255, 255, 255, .10); }
.result__row dt { font-size: 14px; color: rgba(255, 255, 255, .72); }
.result__row dd { margin: 0; font-size: 20px; font-weight: 900; color: var(--white); }
.result__row dd.gold { color: var(--gold-light); }
.result__row dd.big { font-size: 26px; }
.result .note { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .62); margin-block-start: 16px; }
.result .btn-row { margin-block-start: 28px; }
.result .btn { flex: 1 1 auto; }

.gate { padding: 26px; }
.gate p { font-size: 15px; color: rgba(255, 255, 255, .82); margin-bottom: 18px; }
.gate .range { display: block; font-size: 22px; font-weight: 900; color: var(--gold-light); margin-block: 4px 14px; }
.gate .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--white); }
.gate .field input::placeholder { color: rgba(255, 255, 255, .45); }

/* ---------- ۱۴. سکشن ۷ — پنل خدمات ---------- */
.services-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
@media (min-width: 900px) { .services-shell { padding: 48px; } }

.services { display: grid; gap: 24px; }
@media (min-width: 900px) { .services { grid-template-columns: 55% 45%; gap: 40px; align-items: start; } }

/* دسکتاپ: فهرست ردیفی */
.svc-list { display: grid; }
.svc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: 100%;
  text-align: right;
  padding: 18px;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--navy);
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.svc-item + .svc-item { box-shadow: 0 -1px 0 var(--line); }
.svc-item__ico { width: 26px; height: 26px; color: var(--gold-ink); margin-block-start: 3px; }
.svc-item h3 { font-size: 17px; margin-bottom: 2px; }
.svc-item p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.svc-item[aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.svc-item[aria-selected="true"] + .svc-item { box-shadow: none; }
.svc-item[aria-selected="true"] p { color: rgba(255, 255, 255, .78); }
.svc-item[aria-selected="true"] .svc-item__ico { color: var(--gold-light); }

.svc-foot { margin-block-start: 18px; font-size: 14px; color: var(--muted); }
.svc-foot a { color: var(--gold-ink); font-weight: 700; }

/* پنل پیش‌نمایش */
.svc-panel { padding: 26px; }
.svc-panel__inner { transition: opacity .3s var(--ease); }
.svc-panel.is-fading .svc-panel__inner { opacity: 0; }
.svc-panel h3 { font-size: 21px; margin-bottom: 14px; }
.svc-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .10); }
.svc-panel p { font-size: 15px; line-height: 1.9; color: rgba(255, 255, 255, .80); margin-block: 16px; }
.svc-panel__chips { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block: 16px 30px; }
.svc-panel__chips span { flex: 1; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .84); }
.svc-panel__chips span + span { border-inline-start: 1px solid rgba(255, 255, 255, .14); }

/* موبایل: گرید کاشی + آکاردئون */
.svc-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}
.svc-tile {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-width: 0;
  min-height: 164px;
  gap: 8px;
  padding: 16px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: right;
  cursor: pointer;
  color: var(--navy);
  transition: transform .18s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease);
}
.svc-tile svg { width: 24px; height: 24px; color: var(--gold-ink); }
.svc-tile b { font-size: 15px; font-weight: 700; line-height: 1.5; }
.svc-tile span { font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.svc-tile:active { transform: translateY(1px); }
.svc-tile[data-id="fori"] {
  background: #FFF9E9;
  border-color: #E6D29A;
  box-shadow: 0 6px 18px rgba(138, 106, 31, .08);
}
.svc-tile[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.svc-tile[aria-expanded="true"] span { color: rgba(255, 255, 255, .74); }
.svc-tile[aria-expanded="true"] svg { color: var(--gold-light); }
.svc-tile[data-id="fori"][aria-expanded="true"] { box-shadow: none; }

.svc-acc { grid-column: 1 / -1; }
.svc-acc[hidden] { display: none !important; }
.svc-acc > * { margin-block-start: 12px; }

@media (max-width: 380px) {
  .services-shell { padding-inline: 16px; }
  .svc-tiles { gap: 10px; }
  .svc-tile { min-height: 158px; padding-inline: 12px; }
}

/* ---------- ۱۵. ویدیو (الگوی Facade) ---------- */
.video-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .video-split { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.video-split--rev { direction: ltr; }
.video-split--rev > * { direction: rtl; }

.facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-deep);
  cursor: pointer;
  padding: 0;
  display: block;
}
.facade img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.facade:hover img { transform: scale(1.03); opacity: .9; }
.facade__play {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(50%, -50%);
  width: 68px; height: 68px;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.facade:hover .facade__play { background: var(--gold-light); transform: translate(50%, -50%) scale(1.07); }
.facade__len {
  position: absolute; inset-block-end: 14px; inset-inline-end: 14px;
  background: rgba(12, 26, 49, .8); color: var(--white);
  font-size: 12px; padding: 4px 12px; border-radius: var(--r-pill);
}
.facade iframe, .facade video { width: 100%; height: 100%; border: 0; }

/* مراحل شماره‌دار کنار ویدیو */
.steps-list { display: grid; gap: 4px; }
.steps-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding-block: 14px; }
.steps-list li + li { border-block-start: 1px solid rgba(255, 255, 255, .10); }
.steps-list .n { font-size: 30px; font-weight: 900; color: var(--gold); opacity: .4; line-height: 1; }
.steps-list b { font-size: 16px; font-weight: 700; }

/* چک‌لیست کنترل کیفیت */
.checklist { display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.checklist .tick {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: rgba(201, 162, 75, .12);
  border: 1px solid rgba(201, 162, 75, .35);
  color: var(--gold-ink);
  border-radius: 50%;
}
.checklist p { font-size: 15px; line-height: 1.85; }

/* ---------- ۱۶. سکشن ۹ — هاب محصولات ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.prod { position: relative; display: grid; gap: 8px; align-content: start; }
.prod__ico { width: 38px; height: 38px; color: var(--gold-ink); margin-bottom: 4px; }
.prod h3 { font-size: 16px; }
.prod .price { font-size: 15px; font-weight: 900; color: var(--gold-ink); }
.prod .price span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.prod p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.prod__arrow {
  position: absolute; inset-block-start: 22px; inset-inline-start: 22px;
  color: var(--line);
  transition: transform .28s var(--ease), color .28s var(--ease);
}
.prod:hover .prod__arrow { color: var(--gold-ink); transform: translateX(6px); }
@media (min-width: 900px) { .prod h3 { font-size: 18px; } .prod .price { font-size: 17px; } }

/* ---------- ۱۷. سکشن ۱۰ — راهنمای ضخامت ---------- */
.guide { display: grid; gap: 32px; }
@media (min-width: 900px) { .guide { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.guide-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); }
.guide-table th, .guide-table td { padding: 16px 20px; text-align: right; }
.guide-table thead th { background: var(--navy); color: var(--white); font-size: 14px; font-weight: 700; }
.guide-table tbody tr + tr { border-block-start: 1px solid var(--line); }
.guide-table td:last-child { font-weight: 900; color: var(--gold-ink); white-space: nowrap; }
@media (max-width: 719px) {
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table td { display: block; width: 100%; }
  .guide-table thead { display: none; }
  .guide-table tr { background: var(--white); border-radius: var(--r-sm); box-shadow: var(--shadow-card); padding: 6px 4px; }
  .guide-table tr + tr { margin-block-start: 12px; border: 0; }
  .guide-table td { padding: 8px 16px; }
  .guide-table td::before { content: attr(data-th); display: block; font-size: 12.5px; color: var(--muted); }
}

/* ---------- ۱۸. سکشن ۱۱ — چهار دلیل ---------- */
.reasons { display: grid; gap: 28px 56px; padding-block-start: 28px; border-block-start: 1px solid rgba(255, 255, 255, .18); }
.reasons li { display: block; }
.reasons h3 { margin-bottom: 8px; }
.reasons p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.9; max-width: 62ch; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); } }

/* ---------- ۱۹. سکشن ۱۲ — فرم میانی ---------- */
.midform {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1A2E52 0%, #12233F 100%);
  border: 1px solid rgba(201, 162, 75, .18);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  color: var(--white);
}
@media (min-width: 900px) { .midform { padding: 52px; } }
.midform__img {
  display: none;
}
@media (min-width: 1040px) {
  .midform__img {
    display: block;
    position: absolute; inset-block: 0; inset-inline-start: 0;
    width: 32%;
    object-fit: cover;
    height: 100%;
    opacity: .5;
    -webkit-mask-image: linear-gradient(270deg, transparent, #000 45%);
    mask-image: linear-gradient(270deg, transparent, #000 45%);
  }
  .midform__body { max-width: 64%; }
}
.midform h2 { margin-bottom: 10px; }
.midform .lead { margin-bottom: 24px; }
.midform form { display: grid; gap: 14px; }
.midform form > .btn { margin-block-start: 10px; }
@media (min-width: 760px) { .midform form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.midform .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--white); }
.midform .field input::placeholder { color: rgba(255, 255, 255, .45); }
.midform .after { margin-block-start: 16px; font-size: 14px; }

/* ---------- ۲۰. سکشن ۱۴ — دو مسیر ---------- */
.paths { display: grid; gap: 16px; }
@media (min-width: 800px) { .paths { grid-template-columns: 1fr 1fr; gap: 24px; } }
.path { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; }
.path h3 { font-size: 20px; }
.path p { color: var(--muted); font-size: 15px; line-height: 1.9; flex: 1; }
.path--main { border-color: var(--gold); box-shadow: 0 12px 34px rgba(201, 162, 75, .14); }
.path .btn { align-self: start; margin-block-start: 10px; }

/* ---------- ۲۱. سکشن ۱۵ — ظرفیت هفتگی ---------- */
.capacity { display: grid; gap: 14px; }
@media (min-width: 900px) { .capacity { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 899px) {
  .capacity {
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block-end: 8px;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
  }
  .capacity > * { scroll-snap-align: start; }
}
.cap { display: grid; gap: 10px; padding: 24px; }
.cap b { font-size: 16px; font-weight: 700; }
.cap .days { font-size: 26px; font-weight: 900; color: var(--gold-light); }
.cap .days span { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.cap .state { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: inherit; opacity: .35; animation: pulse 2s var(--ease) infinite; }
.dot--green { background: var(--ok); }
.dot--amber { background: var(--warn); }
.dot--red   { background: var(--stop); }
@keyframes pulse { 0% { transform: scale(.7); opacity: .45; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

/* ---------- ۲۲. سکشن ۱۶ — تایم‌لاین ---------- */
.timeline { position: relative; }
.timeline__track { position: absolute; background: var(--line); }
.timeline__fill { position: absolute; background: var(--gold); transform-origin: right top; }

@media (max-width: 899px) {
  .timeline { padding-inline-start: 0; padding-inline-end: 34px; }
  .timeline__track { inset-block: 14px 14px; inset-inline-end: 13px; width: 2px; }
  .timeline__fill { inset-block-start: 14px; inset-inline-end: 13px; width: 2px; height: calc(100% - 28px); transform: scaleY(var(--p, 0)); transform-origin: top; }
  .tl-item { position: relative; padding-block: 14px; }
  .tl-item__dot { position: absolute; inset-block-start: 14px; inset-inline-end: -34px; }
}
@media (min-width: 900px) {
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block-start: 54px; }
  .timeline__track { inset-block-start: 19px; inset-inline: 12%; height: 2px; }
  .timeline__fill { inset-block-start: 19px; inset-inline: 12%; height: 2px; transform: scaleX(var(--p, 0)); transform-origin: right center; }
  .tl-item { position: relative; padding-block-start: 0; text-align: center; }
  .tl-item__dot { position: absolute; inset-block-start: -54px; inset-inline: 0; margin-inline: auto; }
}

.tl-item__dot {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
  z-index: 1;
}
.tl-item.is-on .tl-item__dot { background: var(--navy); border-color: var(--gold); color: var(--gold); }
.tl-item.is-on .tl-item__dot svg { animation: tick .4s var(--ease); }
@keyframes tick { 0% { transform: scale(.5); opacity: .3; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.tl-item__card { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tl-item.is-on .tl-item__card { opacity: 1; transform: none; }
.tl-item h3 { font-size: 17px; margin-block: 0 6px; }
.tl-item p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- ۲۳. سکشن ۱۷ — نمونه‌کار ---------- */
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); padding-block-end: 10px;
}
@media (min-width: 900px) { .reels { grid-auto-columns: 26%; gap: 24px; } }
.reel { scroll-snap-align: center; opacity: .5; transform: scale(.94); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.reel.is-active { opacity: 1; transform: none; }
.reel .facade { aspect-ratio: 9 / 16; }
.reel .facade__play { width: 54px; height: 54px; }
.reel .meta { margin-block-start: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .78); line-height: 1.8; }

/* ---------- ۲۴. سکشن ۱۸ — نظرات ---------- */
.tst-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .tst-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 899px) {
  .tst-grid { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); padding-block-end: 8px; }
  .tst-grid > * { scroll-snap-align: start; }
}
.tst { position: relative; display: grid; gap: 16px; align-content: start; overflow: hidden; }
.tst__quotemark { position: absolute; inset-block-start: 60px; inset-inline-start: 12px; font-size: 110px; line-height: 1; color: rgba(201, 162, 75, .10); font-weight: 900; pointer-events: none; }
.tst__top { display: flex; align-items: center; gap: 12px; }
.tst__ava { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--gold); color: var(--navy); border-radius: 50%; font-weight: 900; font-size: 18px; }
.tst__who b { display: block; font-size: 15px; }
.tst__who span { font-size: 13px; color: var(--muted); }
.tst__stars { display: flex; gap: 2px; color: var(--gold-ink); margin-inline-start: auto; }
.tst q { display: block; font-size: 17px; line-height: 1.85; position: relative; }
.player { display: flex; align-items: center; gap: 12px; padding-block-start: 8px; }
.player__btn { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--gold); color: var(--navy); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .2s var(--ease); }
.player__btn:hover { background: var(--gold-light); }
.player__wave { flex: 1; height: 34px; cursor: pointer; }
.player__wave rect { fill: var(--line); }
.player__wave rect.on { fill: var(--gold); }
.player__time { font-size: 13px; color: var(--muted); flex: none; }

/* ---------- ۲۴-الف. نظرات تأییدشده مشتریان ---------- */
.customer-reviews { overflow: clip; }
.review-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-block-end: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--line);
}
.review-proof__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .88);
}
.review-proof__item:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: -5px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-block-start: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  background: var(--white);
  transform: rotate(45deg);
}
.review-proof__index {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 75, .5);
  border-radius: 50%;
  background: rgba(201, 162, 75, .12);
  color: var(--gold-ink);
  font-weight: 900;
}
.review-proof__item b,
.review-proof__item small { display: block; }
.review-proof__item b { color: var(--navy); font-size: 14px; }
.review-proof__item small { margin-block-start: 2px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }

.review-stack { display: grid; gap: clamp(42px, 6vw, 72px); }
.review-feed { min-width: 0; display: grid; gap: 22px; }
.review-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .72);
}
.review-summary strong { color: var(--navy); font-size: 24px; line-height: 1; }
.review-summary__stars { display: flex; gap: 2px; color: var(--gold-ink); }
.review-summary small { margin-inline-start: auto; color: var(--muted); font-size: 12px; }
.review-list { display: grid; gap: 16px; }
.review-card { position: relative; min-width: 0; display: grid; gap: 16px; overflow: hidden; }
.review-card__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; }
.review-card__rating {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: var(--r-pill);
  background: rgba(201, 162, 75, .14);
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 800;
}
.review-card p { position: relative; z-index: 1; color: var(--navy); font-size: 15px; line-height: 1.95; }
.review-card footer { display: flex; align-items: center; gap: 10px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.review-card time { margin-inline-start: auto; color: var(--muted); font-size: 11.5px; }
.review-verified { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-size: 11.5px; font-weight: 800; }
.review-verified svg { padding: 2px; border-radius: 50%; background: rgba(201, 162, 75, .14); }
.review-empty { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.review-empty > svg { color: var(--gold-ink); }
.review-empty h3 { font-size: 18px; }
.review-empty p { max-width: 54ch; color: var(--muted); font-size: 14px; line-height: 1.9; }
.review-policy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 17px 18px;
  border-inline-end: 3px solid var(--gold);
  border-radius: var(--r-sm);
  background: rgba(18, 35, 63, .055);
}
.review-policy > svg { color: var(--gold-ink); margin-block-start: 2px; }
.review-policy b { display: block; color: var(--navy); font-size: 14px; }
.review-policy p { margin-block-start: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.9; }

.review-form-card {
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border-color: rgba(201, 162, 75, .26);
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 46%),
    var(--navy-deep);
  box-shadow: 0 18px 42px rgba(18, 35, 63, .18);
}
.review-form-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.review-form-card__head { display: grid; gap: 8px; margin-block-end: 20px; }
.review-form-card__head h3 { color: var(--white); font-size: clamp(19px, 2vw, 23px); }
.review-form-card__head p { color: rgba(255, 255, 255, .64); font-size: 12.5px; line-height: 1.8; }
.review-form { display: grid; gap: 14px; }
@media (min-width: 560px) { .review-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review-form .field label,
.review-rating legend { color: rgba(255, 255, 255, .86); font-size: 13px; font-weight: 700; }
.review-form .field label span { color: rgba(255, 255, 255, .46); font-size: 11px; font-weight: 400; }
.review-form .field input,
.review-form .field select,
.review-form .field textarea {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .065);
  color: var(--white);
}
.review-form .field select option { color: var(--navy); }
.review-form .field input::placeholder,
.review-form .field textarea::placeholder { color: rgba(255, 255, 255, .42); }
.review-form .field .hint { color: rgba(255, 255, 255, .5); }
.review-form .field input:focus,
.review-form .field select:focus,
.review-form .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .18); }
.review-rating { min-width: 0; margin: 0; padding: 0; border: 0; }
.review-rating legend { margin-block-end: 8px; }
.review-rating__choices { display: flex; flex-wrap: wrap; gap: 7px; }
.review-rating__choices label { cursor: pointer; }
.review-rating__choices input { position: absolute; opacity: 0; pointer-events: none; }
.review-rating__choices span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 46px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 800;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.review-rating__choices input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.review-rating__choices input:focus-visible + span { outline: 3px solid rgba(227, 192, 120, .42); outline-offset: 2px; }
.review-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: start; color: rgba(255, 255, 255, .66); font-size: 11.5px; line-height: 1.8; cursor: pointer; }
.review-consent input { width: 17px; height: 17px; margin-block-start: 2px; accent-color: var(--gold); }
.review-submit { display: flex; align-items: center; gap: 12px; }
.review-submit small { color: rgba(255, 255, 255, .5); font-size: 10.5px; line-height: 1.7; }
.review-notice { margin-block-end: 16px; padding: 11px 13px; border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.8; }
.review-notice--success { background: rgba(88, 190, 125, .13); color: #BCEACB; }
.review-notice--error { background: rgba(252, 165, 165, .11); color: #FECACA; }
@media (max-width: 699px) {
  .review-proof { grid-template-columns: 1fr; }
  .review-proof__item:not(:last-child)::after { inset-block-end: -5px; inset-block-start: auto; inset-inline-end: 28px; transform: rotate(135deg); }
  .review-summary { flex-wrap: wrap; }
  .review-summary small { width: 100%; margin-inline-start: 0; }
  .review-submit { align-items: flex-start; flex-direction: column; }
}

/* بازطراحی عمودی Reviews — فرم کامل در بالا، فهرست صفحه‌بندی‌شده در پایین. */
.customer-reviews {
  --review-dark-surface: var(--navy-deep);
  --review-dark-field: rgba(255, 255, 255, .065);
  --review-dark-line: rgba(255, 255, 255, .18);
  --review-focus: rgba(227, 192, 120, .42);
}
.customer-reviews > .wrap { position: relative; z-index: 1; }
.review-form-card {
  position: relative;
  inset: auto;
  width: 100%;
  padding: clamp(24px, 4vw, 52px);
  border-color: rgba(201, 162, 75, .28);
  border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 46%),
    var(--review-dark-surface);
}
.review-form-card__head {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  margin-block-end: clamp(24px, 4vw, 38px);
  padding-block-end: clamp(22px, 3vw, 30px);
  border-block-end: 1px solid rgba(255, 255, 255, .12);
}
.review-form-card__head > div:first-child { max-width: 620px; }
.review-form-card__head h3 { margin-block-start: 7px; font-size: clamp(22px, 2.5vw, 30px); }
.review-form-card__head p { margin-block-start: 8px; max-width: 62ch; font-size: 13.5px; }
.review-form-card .review-proof { align-self: start; margin: 0; border-color: var(--review-dark-line); background: var(--review-dark-line); }
.review-form-card .review-proof__item { min-height: 78px; padding: 14px; background: rgba(255, 255, 255, .045); }
.review-form-card .review-proof__item::after { border-color: var(--review-dark-line); background: var(--navy-deep); }
.review-form-card .review-proof__item b { color: var(--white); }
.review-form-card .review-proof__item small { color: rgba(255, 255, 255, .54); }
.review-form-card .review-proof__index { border-color: rgba(227, 192, 120, .48); background: rgba(201, 162, 75, .12); color: var(--gold-light); }
@media (min-width: 980px) {
  .review-form-card__head { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); align-items: center; }
}

.review-form { gap: 18px 22px; }
@media (min-width: 720px) { .review-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review-form .field--wide { grid-column: 1 / -1; }
.review-form .field { min-width: 0; }
.review-form .field label,
.review-rating legend { font-size: 13.5px; }
.review-form .field input,
.review-form .field select,
.review-form .field textarea,
.review-static-field {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--review-dark-line);
  border-radius: 13px;
  background: var(--review-dark-field);
  color: var(--white);
}
.review-form .field input,
.review-form .field select { padding: 12px 15px; }
.review-form .field textarea { min-height: 190px; padding: 15px 17px; line-height: 2; resize: vertical; }
.review-static-field { display: flex; align-items: center; padding: 12px 15px; color: rgba(255, 255, 255, .78); }
.review-form .field input[aria-invalid="true"],
.review-form .field select[aria-invalid="true"],
.review-form .field textarea[aria-invalid="true"] { border-color: var(--stop); box-shadow: 0 0 0 3px rgba(248, 113, 113, .12); }
.review-form .err,
.review-rating .err,
.review-consent-wrap .err { margin-block-start: 2px; color: #FCA5A5; font-size: 12px; line-height: 1.7; }

.review-rating { min-width: 0; }
.review-rating__choices { display: grid; grid-template-columns: repeat(5, minmax(48px, 1fr)); gap: 8px; }
.review-rating__choices label { min-width: 0; }
.review-rating__choices span {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  gap: 7px;
  border-radius: 13px;
  background: var(--review-dark-field);
}
.review-rating__choices span svg { color: rgba(255, 255, 255, .52); }
.review-rating__choices span small { color: inherit; font-size: 11px; }
.review-rating__choices label:hover span { border-color: rgba(227, 192, 120, .68); color: var(--white); }
.review-rating__choices label:hover svg { color: var(--gold-light); }
.review-rating__choices input:checked + span { border-color: var(--gold-light); background: var(--grad-gold); color: var(--navy); box-shadow: 0 7px 18px rgba(201, 162, 75, .18); }
.review-rating__choices input:checked + span svg { color: var(--navy); }
.review-rating__choices input:focus-visible + span { outline: 3px solid var(--review-focus); outline-offset: 3px; }

.review-consent-wrap { display: grid; gap: 4px; }
.review-consent { max-width: 78ch; font-size: 12.5px; }
.review-consent input { flex: none; width: 19px; height: 19px; }
.review-consent input:focus-visible { outline: 3px solid var(--review-focus); outline-offset: 3px; }
.review-submit { min-height: 54px; justify-content: space-between; padding-block-start: 2px; }
.review-submit .btn { min-width: 178px; }
.review-submit small { max-width: 48ch; font-size: 11.5px; }
.review-submit__loading,
.review-loadmore__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-inline-start-color: transparent;
  border-radius: 50%;
  animation: review-spin .75s linear infinite;
}
.review-submit .is-loading .review-submit__loading,
.review-loadmore .is-loading .review-loadmore__spinner { display: inline-block; }
@keyframes review-spin { to { transform: rotate(360deg); } }
.review-policy { margin-block-start: clamp(24px, 4vw, 36px); border-color: var(--gold); background: rgba(255, 255, 255, .045); }
.review-policy > svg { color: var(--gold-light); }
.review-policy b { color: var(--white); }
.review-policy p { color: rgba(255, 255, 255, .64); font-size: 13px; }

.review-feed { padding-block-start: 4px; }
.review-feed__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block-end: 20px; border-block-end: 1px solid var(--line); }
.review-feed__head h3 { margin-block-start: 6px; font-size: clamp(22px, 2.5vw, 30px); }
.review-summary { flex: none; min-width: 245px; background: var(--white); box-shadow: var(--shadow-card); }
.review-summary small { width: auto; }
.review-list { max-width: 980px; width: 100%; margin-inline: auto; }
.review-card { padding: clamp(20px, 3vw, 30px); gap: 20px; border-color: var(--line); box-shadow: var(--shadow-card); }
.review-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; }
.review-card__identity { min-width: 0; display: grid; gap: 5px; }
.review-card__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.review-card__name b { color: var(--navy); font-size: 16px; }
.review-card__meta { display: flex; flex-wrap: wrap; gap: 3px 15px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.review-card__meta li { position: relative; }
.review-card__meta li:not(:last-child)::after { content: ""; position: absolute; inset-block-start: .75em; inset-inline-end: -9px; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.review-card__score { display: grid; justify-items: end; gap: 6px; }
.review-card__score time { color: var(--muted); font-size: 11.5px; }
.review-card__stars { display: flex; gap: 2px; color: var(--line); }
.review-card__stars .is-filled { color: var(--gold-ink); }
.review-card__body { color: var(--navy); font-size: 15.5px; line-height: 2; overflow-wrap: anywhere; }
.review-verified { padding: 4px 8px; border: 1px solid rgba(201, 162, 75, .32); border-radius: var(--r-pill); background: rgba(201, 162, 75, .09); }
.review-replies { display: grid; gap: 12px; margin-inline-start: clamp(18px, 5vw, 62px); padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.review-reply { position: relative; padding: 18px 20px; border: 1px solid rgba(201, 162, 75, .28); border-inline-start: 3px solid var(--gold); border-radius: var(--r-sm); background: rgba(18, 35, 63, .045); }
.review-reply__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-block-end: 10px; }
.review-reply__badge { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-size: 12px; font-weight: 800; }
.review-reply__badge svg { padding: 2px; border-radius: 50%; background: rgba(201, 162, 75, .13); }
.review-reply time { color: var(--muted); font-size: 11px; }
.review-reply p { color: var(--navy); font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.review-empty { min-height: 180px; max-width: 980px; width: 100%; margin-inline: auto; }
.review-loadmore { display: grid; justify-items: center; gap: 8px; margin-block-start: 4px; }
.review-loadmore .btn { min-width: 196px; gap: 9px; }
.review-loadmore__status { min-height: 22px; color: var(--muted); font-size: 12.5px; text-align: center; }

@media (max-width: 719px) {
  .review-form { grid-template-columns: 1fr; }
  .review-form .field--wide,
  .review-form .review-rating,
  .review-form .review-consent-wrap,
  .review-form .review-submit { grid-column: auto; }
  .review-rating__choices { grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 6px; }
  .review-rating__choices span { min-height: 48px; padding-inline: 6px; }
  .review-feed__head { align-items: stretch; flex-direction: column; }
  .review-summary { min-width: 0; width: 100%; }
}
@media (max-width: 559px) {
  .review-form-card { padding: 22px 18px; }
  .review-form-card .review-proof { grid-template-columns: 1fr; }
  .review-card__head { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .review-card__score { grid-column: 2; justify-items: start; }
  .review-card__stars svg { width: 15px; height: 15px; }
  .review-replies { margin-inline-start: 10px; }
  .review-reply { padding: 16px; }
  .review-submit .btn { width: 100%; }
  .review-policy { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .review-submit__loading,
  .review-loadmore__spinner { animation-duration: 1.8s; }
}

/* Keep below-the-fold homepage sections out of the initial rendering budget. */
@media (min-width: 1px) {
  body.home main#main > section:not(#hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }
}

/* ---------- ۲۵. سکشن ۱۹ — سؤالات متداول ---------- */
.faq { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } }
/* فقط ارتفاع انیمیشن دارد. پس‌زمینه هم‌زمان با رنگ متن عوض می‌شود تا
   در میانه ترنزیشن، متن سفید روی زمینه نیمه‌روشن کم‌کنتراست نشود. */
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: transparent; border: 0; cursor: pointer;
  text-align: right; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.7;
}
.faq-item__sign { margin-inline-start: auto; flex: none; width: 24px; height: 24px; display: grid; place-items: center; color: var(--gold-ink); transition: transform .3s var(--ease); }
.faq-item__a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq-item__a p { padding: 0 20px 20px; font-size: 15px; line-height: 1.95; color: var(--muted); }
.faq-item[data-open="true"] { background: var(--navy); border-color: var(--navy); }
.faq-item[data-open="true"] .faq-item__q { color: var(--white); }
.faq-item[data-open="true"] .faq-item__sign { transform: rotate(180deg); color: var(--gold-light); }
.faq-item[data-open="true"] .faq-item__a p { color: rgba(255, 255, 255, .80); }

/* ---------- ۲۶. سکشن ۲۰ — پرسش کاربران ---------- */
.qa-form { display: grid; gap: 16px; }
.qa-submit { margin-block-start: 8px; }
@media (min-width: 760px) { .qa-form { grid-template-columns: 1fr 1fr; } .qa-form .field--wide, .qa-form .qa-submit { grid-column: 1 / -1; } }
.qa-list { display: grid; gap: 16px; margin-block-start: 36px; }
.qa-item { padding: 22px 24px; }
.qa-item__q { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.qa-item__q svg { color: var(--gold-ink); margin-block-start: 4px; }
.qa-item__q p { font-size: 16px; font-weight: 700; line-height: 1.8; }
.qa-item__meta { font-size: 13px; color: var(--muted); margin-block-start: 4px; }
.qa-item__a {
  margin-block-start: 16px; margin-inline-start: 34px;
  background: var(--white);
  border-inline-end: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
}
.qa-item__a b { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold-ink); margin-bottom: 6px; }
.qa-item__a p { font-size: 15px; line-height: 1.9; color: var(--muted); }
.qa-empty { text-align: center; color: var(--muted); font-size: 15px; padding-block: 28px; }

/* ---------- ۲۷. سکشن ۲۱ — مقالات ---------- */
.arts { display: grid; gap: 20px; }
@media (min-width: 860px) { .arts { grid-template-columns: repeat(3, 1fr); } }
.art { display: grid; gap: 0; padding: 0; overflow: hidden; }
.art__media { position: relative; overflow: hidden; }
.art__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.art:hover .art__media img { transform: scale(1.03); }
.art__body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.art h3 { font-size: 17px; line-height: 1.65; }
.art p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.art .read { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-block-start: 4px; }
.art .read svg { color: var(--gold-ink); }

/* ---------- ۲۸. سکشن ۲۲ — CTA نهایی ---------- */
.final { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .final { grid-template-columns: .9fr 1.1fr; gap: 60px; } }
.final__media { display: none; }
@media (min-width: 940px) { .final__media { display: block; } .final__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); border: 1px solid rgba(201, 162, 75, .22); } }
.final form { display: grid; gap: 16px; margin-block-start: 26px; }
.final-submit { margin-block-start: 8px; }
@media (min-width: 700px) { .final form { grid-template-columns: 1fr 1fr; } .final .field--wide, .final .final-submit { grid-column: 1 / -1; } }
.final .field input, .final .field select { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--white); }
.final .field input::placeholder { color: rgba(255, 255, 255, .45); }
.final .field select option { color: var(--navy); }
.final .after { margin-block-start: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .76); }
.final .after a { color: var(--gold-light); font-weight: 700; }
.final .hours { margin-block-start: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* حالت موفقیت فرم */
.success { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 40px 24px; }
.success svg { color: var(--gold-ink); }
.success svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .1s forwards; }
.success circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: draw .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success p { font-size: 17px; font-weight: 700; }

/* حالت «ثبت نشد» — پیام هشدار به‌علاوه راه تماس مستقیم، تا کاربر
   بعد از پر کردن فرم به بن‌بست نرسد. */
.success--fallback svg { color: var(--gold-ink); }
.success--fallback p { font-size: 15.5px; font-weight: 500; line-height: 2; max-width: 46ch; }
.success__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-block-start: 4px; }
.section--dark .success p, .card-dark .success p { color: rgba(255, 255, 255, .88); }
.section--dark .success svg, .card-dark .success svg { color: var(--gold-light); }

/* ---------- ۲۹. سکشن ۲۳ — باکس سئو ---------- */
.seobox {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  text-align: center;
}
@media (min-width: 900px) { .seobox { padding: 56px; } }
/* محو شدن انتهای متن با ماسک انجام می‌شود تا مستقل از گرادیان پس‌زمینه
   کارت، همیشه دقیقاً روی همان رنگ بنشیند. */
.seobox__clip {
  position: relative;
  overflow: hidden;
  max-height: 420px;
  transition: max-height .5s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.seobox.is-open .seobox__clip,
#seobox.is-open .seobox__clip { -webkit-mask-image: none; mask-image: none; }
.seobox__byline {
  margin: -8px auto 24px;
  color: rgba(255, 255, 255, .62);
  font-size: 13.5px;
  line-height: 1.9;
}
.seobox__body { max-width: 800px; margin-inline: auto; text-align: right; }
.seobox__body p { color: rgba(255, 255, 255, .82); line-height: 2.1; font-size: 15.5px; }
.seobox__body p + p { margin-block-start: 18px; }
.seobox__body h3 { font-size: 20px; color: var(--white); margin-block: 34px 12px; }
.seobox__body b { color: var(--white); font-weight: 700; }
.seobox__body a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.seobox__body a:hover { color: var(--white); }
.seobox__body ul {
  display: grid;
  gap: 10px;
  margin-block: 20px;
  padding-inline-start: 22px;
  color: rgba(255, 255, 255, .82);
  line-height: 2;
  font-size: 15.5px;
}
.seobox__body li::marker { color: var(--gold-light); }
.seobox__table { margin-block: 22px; overflow-x: auto; }
.seobox__table .ptable { min-width: 680px; }
.seobox__table .ptable th, .seobox__table .ptable td { padding: 13px 15px; }
.seobox__table .ptable td { color: var(--navy); }
.seobox__table-hint { display: none; }
@media (max-width: 680px) {
  .seobox__table-hint { display: block; margin-block: 16px -8px; font-size: 13px !important; color: var(--gold-light) !important; }
}
.seobox h2 { margin-bottom: 22px; }
.seobox__more { margin-block-start: 34px; }
.seobox__more svg { transition: transform .35s var(--ease); }
.seobox.is-open .seobox__more svg,
#seobox.is-open .seobox__more svg { transform: rotate(180deg); }

/* ---------- ۳۰. فوتر ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(42, 62, 99, .38), transparent 62%),
    var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  padding-block: 72px 0;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 192, 120, .85) 50%, transparent);
}
.footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -92px;
  inset-inline-end: -48px;
  width: 360px;
  height: 180px;
  border: 1px solid rgba(227, 192, 120, .11);
  border-radius: 32px;
  transform: rotate(-8deg);
  box-shadow: -38px 42px 0 -1px rgba(255, 255, 255, .018), -38px 42px 0 0 rgba(227, 192, 120, .07);
  pointer-events: none;
}
.footer > .wrap { position: relative; z-index: 1; }
.footer a { transition: color .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease); }

.footer__intro {
  display: grid;
  gap: 32px;
  padding-block-end: 48px;
  border-block-end: 1px solid rgba(255, 255, 255, .10);
}
.footer__brand { max-width: 520px; }
.footer .logo { margin-block-end: 18px; }
.footer__brand > p { max-width: 58ch; font-size: 14.5px; line-height: 2; }
.footer__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-block-start: 22px;
  color: rgba(255, 255, 255, .84);
  font-size: 12.5px;
  font-weight: 600;
}
.footer__assurances li { display: inline-flex; align-items: center; gap: 8px; }
.footer__assurances li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, .10);
}

.footer__contact {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(227, 192, 120, .18);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.footer__contact::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-light), rgba(201, 162, 75, .08));
}
.footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.footer__eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.footer__contact h2 { max-width: 620px; margin-block-start: 10px; color: var(--white); font-size: 21px; line-height: 1.65; }
.footer__contact > p { max-width: 680px; margin-block-start: 8px; font-size: 13.5px; line-height: 1.9; }
.footer__actions { display: grid; gap: 10px; margin-block-start: 22px; }
.footer__action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .045);
  color: var(--white);
}
.footer__action svg { flex: none; color: var(--gold-light); }
.footer__action span { display: grid; gap: 1px; min-width: 0; }
.footer__action small { color: rgba(255, 255, 255, .58); font-size: 11px; font-weight: 500; }
.footer__action strong { color: inherit; font-size: 13.5px; line-height: 1.55; }
.footer__action:hover { border-color: rgba(227, 192, 120, .55); background: rgba(255, 255, 255, .08); color: var(--white); transform: translateY(-2px); }
.footer__action--primary { border-color: transparent; background: var(--grad-gold); color: var(--navy); }
.footer__action--primary svg, .footer__action--primary small { color: rgba(18, 35, 63, .72); }
.footer__action--primary:hover { border-color: transparent; background: var(--grad-gold-hover); color: var(--navy); }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-block-start: 18px; }
.footer__meta li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 12px; }
.footer__meta svg { flex: none; color: var(--gold-light); }
.footer__company-link::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }
.footer__meta a { color: rgba(255, 255, 255, .86); text-decoration: underline; text-decoration-color: rgba(227, 192, 120, .38); text-underline-offset: 4px; }
.footer__meta a:hover { color: var(--gold-light); text-decoration-color: currentColor; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 20px;
  padding-block: 48px 52px;
}
.footer__group h2 {
  position: relative;
  margin-block-end: 15px;
  padding-block-end: 13px;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.6;
}
.footer__group h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 34px;
  height: 2px;
  border-radius: 10px;
  background: var(--gold);
}
.footer__group ul { display: grid; gap: 2px; }
.footer__group a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-block: 7px;
  padding-inline-start: 15px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.65;
}
.footer__group a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(227, 192, 120, .48);
  transition: width .22s var(--ease), border-radius .22s var(--ease), background-color .22s var(--ease);
}
.footer__group a:hover { color: var(--white); transform: translateX(-3px); }
.footer__group a:hover::before { width: 9px; border-radius: 5px; background: var(--gold-light); }
.footer__group:last-child { grid-column: 1 / -1; }
.footer__group:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.footer__bar {
  min-height: 72px;
  padding-block: 18px;
  border-block-start: 1px solid rgba(255, 255, 255, .10);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  color: rgba(255, 255, 255, .54);
  font-size: 12.5px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.footer__legal a:hover { color: var(--gold-light); }
.trust { display: flex; gap: 12px; align-items: center; }
.trust__slot { width: 74px; height: 74px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 12px; display: grid; place-items: center; text-align: center; font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .45); padding: 6px; }

@media (max-width: 639px) { .footer::after { display: none; } }
@media (max-width: 359px) { .footer__nav { grid-template-columns: 1fr; } }
@media (min-width: 640px) {
  .footer__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__group:last-child { grid-column: auto; }
  .footer__group:last-child ul { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .footer { padding-block-start: 88px; }
  .footer__intro { grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); align-items: center; gap: 64px; padding-block-end: 56px; }
  .footer__contact { padding: 34px; }
  .footer__nav { padding-block: 56px 60px; }
}
@media (min-width: 1100px) {
  .footer__nav { grid-template-columns: 1.08fr .95fr 1.1fr 1fr 1.18fr; gap: 34px; }
}

/* ---------- هاب قیمت و راهنمای خرید ---------- */
.jumpnav { position: relative; z-index: 5; background: var(--white); border-block: 1px solid var(--line); }
.jumpnav__inner { display: flex; gap: 10px; align-items: center; overflow-x: auto; padding-block: 13px; scrollbar-width: none; }
.jumpnav__inner::-webkit-scrollbar { display: none; }
.jumpnav a { flex: none; padding: 8px 14px; border-radius: var(--r-pill); background: var(--mist); color: var(--navy); font-size: 13px; font-weight: 700; transition: color .2s var(--ease), background-color .2s var(--ease); }
.jumpnav a:hover { background: var(--navy); color: var(--white); }
@media (min-width: 900px) { .jumpnav { position: sticky; inset-block-start: var(--header-h); } }

.compare-note { display: grid; gap: 16px; margin-block-start: 36px; padding-block-start: 24px; border-block-start: 1px solid var(--line); }
.compare-note b { color: var(--navy); }
.compare-note ul { display: grid; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.compare-note li { max-width: 38ch; }
@media (min-width: 820px) {
  .compare-note { grid-template-columns: 220px 1fr; gap: 40px; }
  .compare-note ul { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

.price-clarifier { display: grid; gap: 8px 30px; max-width: 980px; margin-block-start: 34px; padding-block: 22px; border-block: 1px solid var(--line); }
.price-clarifier strong { color: var(--navy); font-size: 17px; }
.price-clarifier p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.price-provenance { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-block-start: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.price-provenance p { max-width: 56ch; }
@media (min-width: 760px) { .price-clarifier { grid-template-columns: minmax(260px, .75fr) 1.25fr; align-items: start; } }
.ptable .t-scope, .ptable .t-time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.pcard__meta { margin-block: 2px 12px; color: var(--muted); font-size: 12px; }

.formula-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .formula-grid { grid-template-columns: 1.05fr .95fr; } }
.formula-card {
  padding: clamp(24px, 3.6vw, 40px);
  display: grid;
  align-content: center;
  gap: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 42%),
    linear-gradient(160deg, #1a3157 0%, var(--navy) 56%, var(--navy-deep) 100%);
  border-color: rgba(227, 192, 120, .28);
  box-shadow: 0 24px 60px rgba(12, 26, 49, .18);
}
.formula-card::after {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: inherit;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(227, 192, 120, .09) 48.2% 48.45%, transparent 48.7%),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, .025) 47px 48px);
  filter: none;
  opacity: 1;
}
.formula-card__head,
.formula-card__parts,
.formula-card__result { position: relative; z-index: 1; }
.formula-card__head { display: grid; gap: 9px; }
.formula-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.formula-card__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 13px; font-weight: 800; }
.formula-card__eyebrow svg { flex: none; }
.formula-card__count { padding: 4px 10px; border: 1px solid rgba(227, 192, 120, .28); border-radius: var(--r-pill); color: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 700; white-space: nowrap; }
.formula-card__title { color: var(--white); font-size: clamp(19px, 2vw, 25px); line-height: 1.55; }
.formula-card__intro { max-width: 54ch; color: rgba(255, 255, 255, .68); font-size: 13px; line-height: 1.9; }
.formula-card__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.formula-card__part {
  position: relative;
  min-width: 0;
  min-height: 92px;
  padding: 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 2px 10px;
  align-content: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px 4px 14px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}
.formula-card__part:not(:first-child)::before {
  content: "+";
  position: absolute;
  inset-block-start: -8px;
  inset-inline-start: 11px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227, 192, 120, .42);
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.formula-card__part--base { grid-column: 1 / -1; min-height: 84px; grid-template-columns: 24px minmax(0, 1fr); }
.formula-card__part > svg { grid-row: 1 / span 2; width: 24px; height: 24px; align-self: center; color: var(--gold-light); }
.formula-card__part > span:last-child { min-width: 0; }
.formula-card__part strong { display: block; color: var(--white); font-size: 14px; line-height: 1.65; }
.formula-card__part small { display: block; margin-block-start: 2px; color: rgba(255, 255, 255, .58); font-size: 11.5px; line-height: 1.65; }
.formula-card__index {
  position: absolute;
  inset-block-start: 9px;
  inset-inline-end: 10px;
  color: rgba(227, 192, 120, .58);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.formula-card__result {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(227, 192, 120, .4);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(201, 162, 75, .16), rgba(227, 192, 120, .06));
}
.formula-card__equals { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--gold-light); color: var(--navy-deep); font-size: 22px; font-weight: 900; line-height: 1; }
.formula-card__result small { display: block; color: rgba(255, 255, 255, .62); font-size: 11px; line-height: 1.5; }
.formula-card__result strong { display: block; margin-block-start: 1px; color: var(--white); font-size: 17px; line-height: 1.5; }
.formula-example { padding: clamp(24px, 3.5vw, 38px); }
.formula-example h3 { margin-block: 0 18px; font-size: 20px; }
.formula-example ol { display: grid; gap: 9px; margin-inline-start: 20px; color: var(--muted); line-height: 1.8; }
.formula-example p { margin-block-start: 18px; color: var(--muted); line-height: 1.9; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-block-start: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--mist); }
.callout svg { flex: none; color: var(--gold-ink); margin-block-start: 3px; }
.callout p { color: var(--muted); line-height: 1.9; font-size: 14px; }

.factor-grid { display: grid; gap: 30px 56px; }
@media (min-width: 680px) { .factor-grid { grid-template-columns: repeat(2, 1fr); } }
.factor { position: relative; min-height: 0; padding-inline-end: clamp(0px, 2vw, 24px); }
.factor--wide { max-width: 760px; }
@media (min-width: 680px) { .factor--wide { grid-column: 1 / -1; } }
.factor h3 { font-size: 18px; margin-block-end: 8px; }
.factor p { color: var(--muted); font-size: 14px; line-height: 1.9; }

.cost-table, .invoice-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.cost-table th, .cost-table td, .invoice-table th, .invoice-table td { padding: 16px 18px; text-align: right; border-block-end: 1px solid rgba(255, 255, 255, .1); }
.cost-table th { background: rgba(255, 255, 255, .08); color: var(--white); font-size: 14px; }
.cost-table td { color: rgba(255, 255, 255, .74); font-size: 14px; line-height: 1.8; }
.cost-table td strong { color: var(--white); }
#installed-price .table-wrap {
  overflow-x: auto;
  border-color: rgba(201, 162, 75, .28);
  background: linear-gradient(145deg, rgba(42, 62, 99, .78), rgba(12, 26, 49, .96));
  box-shadow: 0 22px 60px rgba(3, 10, 24, .24);
}
.cost-table__intro {
  display: block;
  padding: 22px 24px;
  border-block-end: 1px solid rgba(201, 162, 75, .24);
  background: rgba(255, 255, 255, .035);
}
.cost-table__intro strong { display: block; color: var(--white); font-size: 17px; }
.cost-table__intro p { max-width: 76ch; margin-block-start: 6px; color: rgba(255, 255, 255, .64); font-size: 13px; line-height: 1.8; }
#installed-price .cost-table thead th {
  background: rgba(255, 255, 255, .065);
  color: var(--gold-light);
  border-color: rgba(201, 162, 75, .18);
}
#installed-price .cost-table tbody tr { transition: background-color .2s var(--ease); }
#installed-price .cost-table tbody tr:hover { background: rgba(201, 162, 75, .075); }
#installed-price .cost-table tbody tr:last-child td { border-block-end: 0; }
#installed-price .cost-table td strong { color: var(--white); }

@media (max-width: 719px) {
  #installed-price .table-wrap {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .cost-table__intro { padding: 18px 16px; }
  .cost-table__intro strong { font-size: 16px; line-height: 1.75; }
  .cost-table__intro p { font-size: 13px; line-height: 1.85; }
  #installed-price .cost-table {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px;
  }
  #installed-price .cost-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  #installed-price .cost-table tbody { display: grid; width: 100%; gap: 10px; }
  #installed-price .cost-table tr {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
  }
  #installed-price .cost-table td {
    display: grid;
    grid-template-columns: minmax(76px, 92px) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
  #installed-price .cost-table td::before {
    content: attr(data-label);
    color: rgba(255, 255, 255, .46);
    font-size: 12px;
    font-weight: 500;
  }
}
.install-grid { display: grid; gap: 16px; margin-block-start: 22px; }
@media (min-width: 820px) { .install-grid { grid-template-columns: repeat(3, 1fr); } }
.install-grid article { padding: 24px; }
.install-grid h3 { color: var(--white); font-size: 17px; margin-block-end: 10px; }
.install-grid p { color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.9; }

.invoice { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.invoice__top { display: grid; gap: 1px; background: var(--line); }
.invoice__top > div { padding: 18px 20px; background: var(--navy); color: var(--white); }
.invoice__top span { display: block; color: rgba(255, 255, 255, .58); font-size: 12px; margin-block-end: 4px; }
@media (min-width: 720px) { .invoice__top { grid-template-columns: repeat(3, 1fr); } }
.invoice-table th { background: var(--mist); color: var(--navy); }
.invoice-table td { border-color: var(--line); color: var(--muted); }
.invoice-table td strong { color: var(--navy); }
.invoice__note { padding: 18px 20px; border-block-start: 1px solid var(--line); background: rgba(201, 162, 75, .08); color: var(--muted); font-size: 13px; line-height: 1.85; }

@media (max-width: 719px) {
  .invoice { width: 100%; min-width: 0; border-radius: var(--r-md); }
  .invoice__top > div { padding: 16px; }
  .invoice__top b { display: block; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }

  .invoice > .table-wrap {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--mist-2);
    box-shadow: none;
  }
  .invoice-table {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px;
  }
  .invoice-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .invoice-table tbody { display: grid; width: 100%; gap: 10px; }
  .invoice-table tr {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 16px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 3px 14px rgba(18, 35, 63, .045);
  }
  .invoice-table td {
    display: grid;
    grid-template-columns: minmax(76px, 92px) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
  .invoice-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
  }
  .invoice-table td:first-child { color: var(--navy); font-weight: 700; }
  .invoice__note { padding: 16px; }
}
.btn--ghost-dark { border: 0; color: var(--navy); background: var(--grad-gold); }
.btn--ghost-dark:hover { background: var(--grad-gold-hover); color: var(--navy); }
.source-note { padding: 14px 16px; border-inline-end: 3px solid var(--gold); border-radius: 10px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .62) !important; font-size: 13px !important; }

.type-guide { display: grid; gap: 16px; margin-block-start: 32px; }
@media (min-width: 760px) { .type-guide { grid-template-columns: repeat(2, 1fr); } }
.type-guide article { padding: 22px; }
.type-guide h3 { margin-block-end: 8px; font-size: 17px; }
.type-guide p { color: var(--muted); font-size: 14px; line-height: 1.9; }

.quote-layout { display: grid; gap: 36px; align-items: start; }
@media (min-width: 940px) { .quote-layout { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.quote-layout h2 { margin-block: 12px 18px; }
.quote-layout .btn { margin-block-start: 32px; }
.quote-list { display: grid; gap: 10px; }
.quote-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-sm); background: rgba(255, 255, 255, .05); }
.quote-list li > span { color: var(--gold-light); font-weight: 900; }
.quote-list p { color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.8; }
.quote-list b { display: block; color: var(--white); margin-block-end: 2px; }
.compare-box { margin-block-start: 22px; padding: 22px 24px; border: 1px solid rgba(201, 162, 75, .35); border-radius: var(--r-sm); background: rgba(201, 162, 75, .08); }
.compare-box h3 { color: var(--white); font-size: 17px; margin-block-end: 8px; }
.compare-box p { color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.9; }

@media (max-width: 639px) {
  .formula-card { gap: 18px; }
  .formula-card__meta { align-items: flex-start; }
  .formula-card__part { min-height: 98px; padding: 14px 12px; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 8px; }
  .formula-card__part--base { min-height: 84px; }
  .formula-card__part > svg { width: 22px; height: 22px; }
  .formula-card__part strong { font-size: 13px; }
  .formula-card__part small { font-size: 10.5px; }
  .factor { min-height: auto; }
  .jumpnav__inner { padding-inline: var(--pad-x); }
}

@media (max-width: 374px) {
  .formula-card__parts { grid-template-columns: 1fr; }
  .formula-card__part--base { grid-column: auto; }
  .formula-card__part { min-height: 78px; }
}

/* =============================================================
   ۳۱. لندینگ ضخامت — سند landing-thickness-brief.md
   هیچ رنگ، فونت یا شعاعی اینجا هاردکد نشده؛ همه از توکن‌های بالا.
   ============================================================= */

/* ---------- بردکرامب ---------- */
.crumb { background: var(--mist); border-block-end: 1px solid var(--line); }
.crumb ol {
  display: flex; align-items: center; gap: 9px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  padding-block: 12px; font-size: 13px; color: var(--muted);
}
.crumb ol::-webkit-scrollbar { display: none; }
.crumb li { display: flex; align-items: center; gap: 9px; flex: none; }
.crumb li + li::before { content: "‹"; color: var(--navy); opacity: .35; }
.crumb a:hover { color: var(--gold-ink); }
.crumb [aria-current="page"] { color: var(--navy); font-weight: 700; }

/* ---------- سکشن ۱ — هیرو لندینگ ---------- */
.hero--sub { padding-block: 56px 60px; }
@media (min-width: 900px) { .hero--sub { padding-block: 84px 96px; } }
@media (min-width: 900px) { .hero--sub .hero__grid { grid-template-columns: minmax(0, 1fr) 40%; } }
@media (max-width: 899px) {
  .hero--sub { overflow: hidden; }
  .hero--sub .hero__grid,
  .hero--sub .hero__grid > * { min-width: 0; max-width: 100%; }
  .hero--sub h1 { max-width: 100%; overflow-wrap: anywhere; }
  .hero--sub .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero--sub .btn { width: 100%; min-width: 0; padding-inline: 18px; white-space: normal; }
}

.hero__badges { display: grid; gap: 12px; margin-block-start: 4px; }
.hero__badges li { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; font-size: 14.5px; color: rgba(255, 255, 255, .84); }
.hero__badges svg { color: var(--gold-light); flex: none; margin-block-start: 5px; }
@media (min-width: 620px) { .hero__badges { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* کارت شناور مشخصات روی تصویر هیرو */
.hero__panel { position: relative; }
.spec-float {
  position: absolute; inset-block-end: 20px; inset-inline: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 162, 75, .28);
  border: 1px solid rgba(201, 162, 75, .32);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.spec-float div { padding: 14px 10px; text-align: center; background: rgba(12, 26, 49, .90); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.spec-float span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .58); }
.spec-float b { display: block; margin-block-start: 3px; font-size: 15px; font-weight: 700; color: var(--gold-light); }

/* ---------- سکشن ۲ — جعبه پاسخ فوری ---------- */
.answer-card {
  max-width: 980px;
  padding: 22px 24px;
  background: var(--mist);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--r-sm);
  font-size: 16px; line-height: 2;
}
.answer-card strong { color: var(--navy); font-weight: 900; }
@media (min-width: 900px) { .answer-card { font-size: 18px; padding: 30px 34px; } }

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 18px;
}

.content-visual {
  position: relative;
  display: grid;
  margin-block: 30px 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.content-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-deep);
}
.content-visual figcaption {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px 22px 22px;
}
.content-visual__eyebrow {
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  color: var(--gold-ink);
  background: rgba(201, 162, 75, .12);
  font-size: 11.5px;
  font-weight: 900;
}
.content-visual h3 {
  color: var(--navy);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}
.content-visual p {
  max-width: 74ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}
@media (min-width: 860px) {
  .content-visual:not(.content-visual--wide) {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  }
  .content-visual:not(.content-visual--wide) img {
    height: 100%;
    min-height: 300px;
  }
}
@media (max-width: 519px) {
  .quick-actions .btn { width: 100%; }
  .content-visual { margin-block: 22px 28px; border-radius: var(--r-md); }
  .content-visual figcaption { padding: 17px 16px 19px; }
}

.price-visual {
  display: grid;
  max-width: 980px;
  margin-block: 24px 0;
  background: var(--navy-deep);
  border: 1px solid rgba(201, 162, 75, .34);
  border-radius: var(--r-md);
  box-shadow: 0 22px 54px rgba(12, 26, 49, .16);
  overflow: hidden;
}
.price-visual__media { min-width: 0; background: #07111f; }
.price-visual__media img {
  display: block;
  width: 100%; height: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.price-visual__caption {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
  padding: 25px 24px;
  color: rgba(255, 255, 255, .78);
}
.price-visual__eyebrow {
  align-self: flex-start;
  margin-block-end: 8px;
  padding: 4px 11px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 800;
}
.price-visual__caption h3 { color: var(--white); font-size: clamp(20px, 2vw, 25px); line-height: 1.55; }
.price-visual__caption > p { margin-block-start: 8px; font-size: 13.5px; line-height: 1.85; }
.price-visual__list { display: grid; gap: 8px; margin-block-start: 17px; }
.price-visual__list li {
  display: grid; grid-template-columns: 12px minmax(0, 1fr); align-items: center; gap: 9px;
  font-size: 13px; line-height: 1.7;
}
.price-visual__list strong { color: var(--white); font-weight: 800; }
.price-visual__swatch {
  width: 10px; height: 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
}
.price-visual__swatch--plus { background: #9fbfb1; }
.price-visual__swatch--clear { background: #d9ebee; }
.price-visual__swatch--satina { background: #e7e3dc; }
.price-visual__swatch--bronze { background: #a8743e; }
.price-visual__swatch--smoke { background: #4c5563; }
.price-visual__link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  margin-block-start: 18px;
  color: var(--gold-light);
  font-size: 13px; font-weight: 800;
  border-block-end: 1px solid rgba(229, 199, 116, .34);
}
.price-visual__link:hover { color: var(--white); border-color: var(--gold-light); }
@media (min-width: 760px) {
  .price-visual { grid-template-columns: minmax(0, 1.6fr) minmax(285px, .8fr); }
  .price-visual__media img { aspect-ratio: auto; }
}
@media (max-width: 759px) {
  .price-visual__caption { padding: 22px 20px 24px; }
  .price-visual__media img { min-height: 0; }
}

.tchips {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 12px; margin-block-start: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--pad-x) * -1); padding: 2px var(--pad-x) 10px;
}
.tchips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tchips { grid-auto-columns: 1fr; grid-template-columns: repeat(5, 1fr); margin-inline: 0; padding-inline: 0; overflow: visible; } }
.tchip {
  scroll-snap-align: start;
  display: grid; gap: 6px; align-content: start;
  padding: 18px 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.tchip:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.tchip__name { font-size: 15px; font-weight: 700; }
.tchip__price { font-size: 20px; font-weight: 900; color: var(--gold-ink); }
.tchip__price span { font-size: 12px; font-weight: 500; color: var(--muted); }
.tchip--lead { border-color: var(--gold); }
.tchip__badge {
  justify-self: start;
  padding: 3px 12px; margin-block-end: 2px;
  background: var(--gold); color: var(--navy);
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700;
}

/* ---------- سکشن ۳ — جدول قیمت ضخامت ---------- */
.ptable .t-feature { color: var(--muted); font-size: 13.5px; }
.sizes-table { width: 100%; border-collapse: collapse; text-align: right; }
.sizes-table th, .sizes-table td { padding: 15px 20px; }
.sizes-table thead th { background: var(--mist); font-size: 14.5px; font-weight: 700; }
.sizes-table tbody tr { border-block-start: 1px solid var(--line); }
.sizes-table tbody tr:hover { background: rgba(201, 162, 75, .07); }
.sizes-table .s-price { font-weight: 900; color: var(--gold-ink); white-space: nowrap; }
@media (max-width: 719px) {
  .sizes-table, .sizes-table tbody, .sizes-table tr, .sizes-table td { display: block; width: 100%; }
  .sizes-table thead { display: none; }
  .sizes-table tr { padding: 10px 4px; }
  .sizes-table tr + tr { border-block-start: 1px solid var(--line); }
  .sizes-table td { padding: 6px 16px; }
  .sizes-table td::before { content: attr(data-th); display: block; font-size: 12.5px; color: var(--muted); }
}
.table-note { display: grid; gap: 14px; margin-block-start: 22px; }

/* ---------- سکشن ۴ — دیتاشیت فنی ---------- */
.spec-table { width: 100%; border-collapse: collapse; text-align: right; }
.spec-table th, .spec-table td { padding: 15px 20px; border-block-end: 1px solid rgba(255, 255, 255, .10); }
.spec-table th { width: 46%; font-weight: 500; color: rgba(255, 255, 255, .70); font-size: 14.5px; }
.spec-table td { font-weight: 700; color: var(--white); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-block-end: 0; }
#spec .table-wrap {
  border-color: rgba(201, 162, 75, .28);
  background: linear-gradient(145deg, rgba(42, 62, 99, .78), rgba(12, 26, 49, .96));
  box-shadow: 0 22px 60px rgba(3, 10, 24, .24);
}
@media (max-width: 719px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 14px 18px; border-block-end: 1px solid rgba(255, 255, 255, .09); }
  .spec-table tr:last-child { border-block-end: 0; }
  .spec-table th, .spec-table td { padding: 0; border: 0; }
  .spec-table td { font-size: 18px; margin-block-start: 2px; }
}

.warnbox {
  display: flex; gap: 14px; align-items: flex-start;
  margin-block-start: 22px; padding: 20px 22px;
  border: 1px solid rgba(201, 162, 75, .40);
  border-radius: var(--r-sm);
  background: rgba(201, 162, 75, .10);
}
.warnbox svg { flex: none; color: var(--gold-light); margin-block-start: 4px; }
.warnbox p { color: rgba(255, 255, 255, .80); font-size: 14.5px; line-height: 1.95; }

/* ---------- سکشن ۶ — بهینه‌ساز برش ---------- */
.opt { display: grid; gap: 24px; }
@media (min-width: 900px) { .opt { grid-template-columns: 360px 1fr; gap: 34px; align-items: start; } }
.opt__form { display: grid; gap: 16px; align-content: start; }
.opt-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.opt-row .field label { font-size: 13px; }
.opt-row .field input { padding: 12px 14px; }
.opt-del {
  width: 44px; height: 46px; display: grid; place-items: center;
  background: transparent; border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--muted); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.opt-del:hover { border-color: var(--gold); color: var(--gold-ink); }
.opt-row:only-child .opt-del { visibility: hidden; }
.opt__add { justify-self: start; }

.opt__canvas-wrap { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--mist-2); padding: 14px; }
.opt__canvas { width: 100%; height: auto; aspect-ratio: 225 / 321; display: block; }
@media (min-width: 900px) { .opt__canvas { aspect-ratio: 321 / 225; } }
.opt__out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-block-start: 18px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
@media (min-width: 700px) { .opt__out { grid-template-columns: repeat(4, 1fr); } }
.opt__out div { padding: 16px 14px; background: var(--white); text-align: center; }
.opt__out span { display: block; font-size: 12.5px; color: var(--muted); }
.opt__out b { display: block; margin-block-start: 4px; font-size: 20px; font-weight: 900; color: var(--navy); }
.opt__out b.gold { color: var(--gold-ink); }
.opt__tip { display: none; margin-block-start: 16px; padding: 14px 18px; border-inline-start: 3px solid var(--gold); border-radius: 12px; background: rgba(201, 162, 75, .10); font-size: 14px; line-height: 1.9; color: var(--navy); }
.opt__tip.is-on { display: block; }
.opt__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-block-start: 14px; font-size: 13px; color: var(--muted); }
.opt__legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-inline-end: 7px; vertical-align: -2px; }
.opt__legend .k-fit { background: var(--navy); }
.opt__legend .k-waste { background: repeating-linear-gradient(135deg, var(--gold) 0 2px, transparent 2px 6px), rgba(201, 162, 75, .18); }

/* ---------- سکشن ۷ — کاربردها ---------- */
.apps { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.app {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.app__media { position: relative; overflow: hidden; display: block; }
.app__media img, .app__media .imgslot { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.app:hover .app__media img { transform: scale(1.03); }
.app__more {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 11px 16px;
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.app:hover .app__more, .app:focus-within .app__more { transform: none; }
.app__body { padding: 16px 18px 20px; display: grid; gap: 7px; }
.app h3 { font-size: 16px; }
.app p { font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* جای‌نگهدار تصویر تا تحویل فایل واقعی — بدون آیکن شکسته و بدون پرش چیدمان */
.imgslot {
  display: block; width: 100%;
  background:
    linear-gradient(135deg, rgba(18, 35, 63, .07), rgba(18, 35, 63, .02)),
    repeating-linear-gradient(135deg, rgba(18, 35, 63, .06) 0 1px, transparent 1px 12px);
}

/* ---------- سکشن ۹ — مقایسه ضخامت ---------- */
.cmp { width: 100%; border-collapse: collapse; text-align: right; }
.cmp th, .cmp td { padding: 15px 18px; border-block-end: 1px solid var(--line); }
.cmp thead th { background: var(--mist); font-size: 14.5px; }
.cmp tbody th { font-weight: 500; color: var(--muted); font-size: 14px; }
.cmp .col-this { background: rgba(201, 162, 75, .08); font-weight: 700; }
.cmp thead .col-this { background: var(--navy); color: var(--white); box-shadow: inset 0 3px 0 var(--gold); }
.cmp thead .col-this span { display: block; font-size: 11.5px; font-weight: 500; color: var(--gold-light); }
.cmp thead a { color: var(--gold-ink); }
.cmp thead a:hover { text-decoration: underline; }
.cmp-summary { margin-block-start: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--mist); color: var(--muted); font-size: 15px; line-height: 1.95; }

.cmp-cards { display: grid; gap: 12px; }
.cmp-card { padding: 20px 22px; display: grid; gap: 10px; }
.cmp-card--this { border-color: var(--gold); box-shadow: 0 12px 34px rgba(201, 162, 75, .14); }
.cmp-card h3 { font-size: 18px; }
.cmp-card .price { font-size: 20px; font-weight: 900; color: var(--gold-ink); }
.cmp-card dl { display: grid; gap: 8px; margin: 0; }
.cmp-card dl > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding-block: 7px; border-block-start: 1px solid var(--line); }
.cmp-card dt { color: var(--muted); }
.cmp-card dd { margin: 0; font-weight: 700; }

/* ---------- سکشن ۱۰ — ابزار انتخاب شیشه ---------- */
.advisor { padding: 26px; }
@media (min-width: 900px) { .advisor { padding: 44px; } }
.advisor__bar { height: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); overflow: hidden; margin-block-end: 28px; }
.advisor__bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width .4s var(--ease); }
.advisor__q { font-size: 19px; font-weight: 700; margin-block-end: 6px; }
.advisor__hint { font-size: 13.5px; color: rgba(255, 255, 255, .58); margin-block-end: 22px; }
.advisor__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .advisor__opts { grid-template-columns: repeat(3, 1fr); } }
.advisor__opt {
  padding: 16px 14px; text-align: right;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-sm);
  color: var(--white); font-size: 14.5px; font-weight: 500; line-height: 1.6;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.advisor__opt:hover { border-color: var(--gold); background: rgba(201, 162, 75, .12); transform: translateY(-2px); }
.advisor__opt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.advisor__nav { display: flex; gap: 12px; align-items: center; margin-block-start: 24px; }
.advisor__back { background: transparent; border: 0; color: rgba(255, 255, 255, .62); font-size: 14px; cursor: pointer; }
.advisor__back:hover { color: var(--gold-light); }
.advisor__gate { display: grid; gap: 16px; max-width: 460px; }
.advisor__gate p { color: rgba(255, 255, 255, .80); font-size: 15px; line-height: 1.95; }
.advisor__gate .field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--white); }
.advisor__gate .field input::placeholder { color: rgba(255, 255, 255, .45); }
.advisor__result { display: grid; gap: 16px; }
.advisor__pick { font-size: 26px; font-weight: 900; color: var(--gold-light); line-height: 1.4; }
@media (min-width: 900px) { .advisor__pick { font-size: 32px; } }
.advisor__why { color: rgba(255, 255, 255, .80); font-size: 15px; line-height: 1.95; max-width: 62ch; }
.advisor__price { font-size: 19px; font-weight: 700; }
.advisor__price span { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .62); }

/* ---------- سکشن ۱۲ — انواع جام ---------- */
.types-visual { margin-block-end: 28px; }
.types-visual__media { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--navy); box-shadow: var(--shadow-card); scrollbar-width: thin; }
.types-visual__media img { display: block; width: 100%; min-width: 820px; height: auto; }
.types-legend { display: grid; grid-template-columns: repeat(5, 1fr); min-width: 820px; padding: 10px 8px 0; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.types-visual__media + .types-legend { overflow: hidden; }
@media (max-width: 899px) {
  .types-visual { overflow-x: auto; padding-block-end: 6px; }
  .types-visual__media { overflow: visible; width: 820px; }
  .types-visual .types-legend { width: 820px; }
}
.tcards { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .tcards { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.tcard { display: grid; gap: 0; padding: 0; overflow: hidden; align-content: start; }
.tcard__media { overflow: hidden; }
.tcard__media img, .tcard__media .imgslot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.03); }
.tcard__body { padding: 16px 18px 20px; display: grid; gap: 7px; }
.tcard h3 { font-size: 16px; }
.tcard .price { font-size: 16px; font-weight: 900; color: var(--gold-ink); }
.tcard .price span { font-size: 12px; font-weight: 500; color: var(--muted); }
.tcard p { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- سکشن ۱۳ — خدمات لبه ---------- */
.edge-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .edge-tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.edge-tile { display: grid; gap: 8px; padding: 20px 18px; align-content: start; }
.edge-tile svg { width: 26px; height: 26px; color: var(--gold-ink); }
.edge-tile b { font-size: 15.5px; font-weight: 700; }
.edge-tile p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.edge-tile .tagline { justify-self: start; margin-block-start: 4px; padding: 4px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700; color: var(--gold-ink); }
.edge-foot { margin-block-start: 22px; color: var(--muted); font-size: 14.5px; line-height: 1.95; max-width: 76ch; }
.edge-proof { display: grid; gap: 24px; align-items: center; margin-block-start: 34px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-card); }
.edge-proof img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--r-md) - 8px); }
.edge-proof > div { display: grid; gap: 10px; padding: 4px 6px 10px; }
.edge-proof h3 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.55; color: var(--navy); }
.edge-proof p:not(.hero__update) { color: var(--muted); line-height: 2; }
.process-figure { margin-block-start: 28px; padding: 14px; border-radius: var(--r-md); background: var(--navy); box-shadow: var(--shadow-card); }
.process-figure > img { display: block; width: 100%; border-radius: calc(var(--r-md) - 8px); }
.process-legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 6px 2px; color: rgba(255, 255, 255, .78); font-size: 12.5px; line-height: 1.7; }
.process-legend span { display: flex; gap: 8px; align-items: center; }
.process-legend b { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); }
@media (min-width: 820px) {
  .edge-proof { grid-template-columns: 1.05fr .95fr; gap: 36px; padding: 22px; }
  .edge-proof > div { padding: 10px 8px; }
  .process-legend { grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px 18px 4px; font-size: 13.5px; }
}

/* ---------- سکشن ۱۵ — راهنمای اندازه‌گیری ---------- */
.measure { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .measure { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.measure article { display: grid; gap: 0; padding: 0; overflow: hidden; align-content: start; }
.measure img, .measure .imgslot { width: 100%; aspect-ratio: 1; object-fit: cover; }
.measure__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.measure h3 { font-size: 15.5px; }
.measure p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.measure__n { font-size: 12px; font-weight: 900; color: var(--gold-ink); }

/* ---------- سکشن ۱۷ — نمونه‌کار ---------- */
.gfilters { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 22px; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gitem { position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid rgba(201, 162, 75, .22); background: var(--navy-deep); padding: 0; cursor: pointer; text-align: right; }
.gitem img, .gitem .imgslot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .86; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.gitem:hover img { transform: scale(1.04); opacity: 1; }
.gitem figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(12, 26, 49, .92), transparent); color: var(--white); font-size: 13.5px; font-weight: 700; }

.lightbox { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: var(--pad-x); background: rgba(12, 26, 49, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox__box { max-width: 900px; width: 100%; }
.lightbox__box img { width: 100%; border-radius: var(--r-lg); }
.lightbox__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-block-start: 16px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.lightbox__meta b { color: var(--gold-light); }
.lightbox__close { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: var(--white); cursor: pointer; }

/* ---------- سکشن ۱۸ — نظرات ویدیویی همگام ---------- */
.testi { display: grid; gap: 26px; }
@media (min-width: 900px) { .testi { grid-template-columns: 30% 1fr; gap: 40px; align-items: center; direction: ltr; } }
.testi > * { direction: rtl; }

.testi__video { display: grid; gap: 16px; justify-items: center; }
.testi__frame {
  position: relative; width: 100%; max-width: 290px; aspect-ratio: 9 / 16;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #1A2E52 0%, #0C1A31 100%);
  border: 0; padding: 0; cursor: pointer;
}
.testi__frame::after {
  content: ""; position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(135deg, var(--white) 0 1px, transparent 1px 14px);
}
@media (max-width: 899px) { .testi__frame { max-width: none; max-height: 420px; } }
.testi__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .3s var(--ease); }
.testi__play {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(50%, -50%);
  width: 70px; height: 70px; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  border-radius: 50%; color: var(--white);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.testi__frame:hover .testi__play { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.testi__who { position: absolute; inset-inline: 18px; inset-block-end: 18px; text-align: right; transition: opacity .3s var(--ease); }
.testi__who b { display: block; font-size: 20px; font-weight: 700; color: var(--white); }
.testi__who span { display: block; font-size: 14px; color: var(--gold-light); }
.testi__frame.is-swapping img, .testi__frame.is-swapping .testi__who { opacity: 0; }
.testi__frame video { position: absolute; inset: 0; width: 100%; height: 100%; }

.testi__dots { display: flex; gap: 7px; }
.testi__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: var(--r-pill); background: rgba(18, 35, 63, .2); cursor: pointer; transition: width .3s var(--ease), background-color .3s var(--ease); }
.testi__dots button[aria-current="true"] { width: 24px; background: var(--gold); }
.section--dark .testi__dots button { background: rgba(255, 255, 255, .25); }
.section--dark .testi__dots button[aria-current="true"] { background: var(--gold); }

.testi__stack { position: relative; height: 235px; }
@media (max-width: 899px) { .testi__stack { height: auto; } }
.testi__card {
  background: var(--navy-deep); color: var(--white);
  border: 1px solid rgba(201, 162, 75, .18);
  border-radius: var(--r-md);
  padding: 32px;
  display: grid; gap: 14px; align-content: space-between;
}
@media (min-width: 900px) {
  .testi__card {
    position: absolute; inset-inline: 0; inset-block-start: 50%;
    height: 235px;
    transform: translateY(calc(-50% + var(--off, 0px))) scale(var(--sc, .94));
    opacity: var(--op, 0);
    transition: transform .4s var(--ease), opacity .4s var(--ease);
    pointer-events: none;
  }
  .testi__card.is-active { --off: 0px; --sc: 1; --op: 1; pointer-events: auto; z-index: 2; }
  .testi__card.is-prev { --off: -240px; --sc: .94; --op: .28; }
  .testi__card.is-next { --off: 240px; --sc: .94; --op: .28; }
  .testi__card.is-far { --off: 0px; --sc: .9; --op: 0; }
}
@media (max-width: 899px) {
  .testi__card { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .testi__card.is-active { position: relative; opacity: 1; pointer-events: auto; }
}
.testi__stars { display: flex; gap: 3px; color: var(--gold); }
.testi__quote { font-size: 17px; line-height: 2; color: var(--white); }
.testi__by { display: flex; align-items: center; gap: 12px; }
.testi__ava { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy-light); color: var(--white); font-weight: 900; font-size: 18px; object-fit: cover; }
.testi__by b { display: block; font-size: 15px; font-weight: 700; color: var(--white); }
.testi__by span { display: block; font-size: 13px; color: var(--gold-light); }

.testi__nav { display: flex; gap: 10px; margin-block-start: 24px; }
@media (min-width: 900px) { .testi__nav { justify-content: flex-start; direction: ltr; } }
@media (max-width: 899px) { .testi__nav { justify-content: center; } }
.testi__nav button {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  cursor: pointer;
  transition: background-color .22s var(--ease), transform .22s var(--ease), opacity .22s var(--ease);
}
.testi__nav button:hover:not([disabled]) { background: var(--gold-light); transform: translateY(-2px); }
.testi__nav button[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- سکشن ۲۳ — سایر ضخامت‌ها ---------- */
.others {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--pad-x) * -1); padding: 2px var(--pad-x) 10px;
}
.others::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .others { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin-inline: 0; padding-inline: 0; overflow: visible; } }
.other { scroll-snap-align: start; display: grid; gap: 4px; padding: 0; overflow: hidden; align-content: start; }
.other__media img, .other__media .imgslot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.other__body { padding: 16px 18px 18px; display: grid; gap: 5px; }
.other h3 { font-size: 16px; }
.other .price { font-size: 14.5px; font-weight: 900; color: var(--gold-ink); }
.other .price span { font-size: 12px; font-weight: 500; color: var(--muted); }

/* ---------- نشانه بصری نوع جام در صفحات محصول ----------
   ساختار و پالت همان قالب مرجع است؛ فقط نور تصویر هیرو با ماهیت
   سوپرکلیر، ساتینا، دودی یا برنز اندکی تنظیم می‌شود. */
body[data-product$="-superclear"] .hero__bg img { filter: saturate(.82) brightness(1.08) contrast(.96); }
body[data-product$="-satina"] .hero__bg img { filter: saturate(.62) brightness(1.04) contrast(.88); }
body[data-product$="-smoke"] .hero__bg img { filter: saturate(.72) brightness(.7) contrast(1.08); }
body[data-product$="-bronze"] .hero__bg img { filter: sepia(.2) saturate(1.08) brightness(.82); }
body[data-product$="-superclear"] .hero__panel,
body[data-product$="-satina"] .hero__panel,
body[data-product$="-smoke"] .hero__panel,
body[data-product$="-bronze"] .hero__panel { box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); }

@media (prefers-reduced-transparency: reduce) {
  .header__glass, .mega__inner, .mobile-menu__panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* خودِ .mega ناحیه شفاف اتصال هاور را هم در بر می‌گیرد؛ رنگ فقط باید
     روی پنل دیداری اعمال شود تا فاصله‌ی بین هدر و پنل باز باقی بماند. */
  .header__glass, .mega__inner { background: var(--navy) !important; }
  .mobile-menu__panel { background: var(--navy-deep) !important; }
}

/* =============================================================
   ۳۲. صفحه «درباره ما»
   امضای بصری صفحه، سکشن «نقطه بی‌بازگشت» است: همان جام، در سه حالت
   پیش از کوره، داخل کوره و پس از کوره. هیچ عکس یا ویدیویی لازم ندارد،
   چون خودِ استدلال صفحه را نشان می‌دهد: بعد از کوره چیزی قابل اصلاح نیست.
   بدون جاوااسکریپت، سه مرحله کنار هم و بدون حرکت خوانده می‌شوند.
   ============================================================= */

/* هیرو تک‌ستونه: این صفحه محصول نمی‌فروشد، یک استدلال را باز می‌کند،
   پس ستون متن پهن می‌ماند و امضای بصری سکشن بعدی است. */
.hero__lede { position: relative; z-index: 1; max-width: 780px; }

/* پسوند عدد نوار سابقه (+ یا ٪) — کنار خود عدد، یک پله کوچک‌تر */
.stats__suffix { font-size: .62em; font-weight: 700; color: var(--gold-light); }
.stats .counter + .stats__suffix { margin-inline-start: 2px; }

.furnace { display: grid; gap: 20px; }

/* ---------- قاب جام ---------- */
.furnace__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  border: 1px solid rgba(201, 162, 75, .28);
  background: linear-gradient(150deg, #16294A 0%, #0C1A31 100%);
  overflow: hidden;
  isolation: isolate;
}

/* خود جام: مستطیل شیشه‌ای وسط قاب */
.furnace__glass {
  position: absolute;
  inset-block: 12%; inset-inline: 16%;
  border: 1px solid rgba(227, 192, 120, .55);
  border-radius: 4px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, .09) 60%, rgba(255, 255, 255, .01) 100%),
    rgba(42, 62, 99, .45);
  transition: box-shadow .7s var(--ease), border-color .7s var(--ease);
}

/* نشانه‌های ابزارکاری — هر کدام یک تصمیم برگشت‌ناپذیر است */
.furnace__mark {
  position: absolute;
  border: 1.5px dashed var(--gold-light);
  color: var(--gold-light);
  transition: border-style .5s step-end, opacity .6s var(--ease), border-color .6s var(--ease);
}
.furnace__mark--hole  { inset-block-start: 18%; inset-inline-start: 24%; width: 15%; aspect-ratio: 1; border-radius: 50%; }
.furnace__mark--lock  { inset-block-start: 46%; inset-inline-start: 22%; width: 19%; height: 9%; border-radius: 3px; }
.furnace__mark--cut   { inset-block-end: 18%; inset-inline: 20% 20%; height: 0; border-width: 0 0 1.5px; }
.furnace__mark--edge  { inset-block: 8% 8%; inset-inline-end: 14%; width: 0; border-width: 0 1.5px 0 0; }

/* برچسب «قابل تغییر» کنار نشانه‌ها */
.furnace__tag {
  position: absolute;
  inset-block-start: 8%; inset-inline-end: 8%;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(12, 26, 49, .82);
  border: 1px solid rgba(227, 192, 120, .45);
  color: var(--gold-light);
  font-size: 11.5px; font-weight: 700;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transform: translateY(-6px);
}

/* حرارت کوره */
.furnace__heat {
  position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 62%, rgba(245, 227, 180, .55), rgba(201, 162, 75, .18) 45%, transparent 72%);
  opacity: 0;
  transition: opacity .8s var(--ease);
}

/* الگوی شکست شیشه سکوریت: خرد شدن به قطعات ریز، نه تکه‌های تیز */
.furnace__dice {
  position: absolute;
  inset-block: 12%; inset-inline: 16%;
  background-image:
    repeating-linear-gradient(90deg, rgba(227, 192, 120, .30) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg,  rgba(227, 192, 120, .30) 0 1px, transparent 1px 13px);
  opacity: 0;
  transition: opacity .7s var(--ease);
}

/* مهر پایانی */
.furnace__seal {
  position: absolute;
  inset-block-end: 7%; inset-inline: 16%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: rgba(12, 26, 49, .9);
  border: 1px solid rgba(227, 192, 120, .45);
  color: var(--gold-light);
  font-size: 12.5px; font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.furnace__seal svg { flex: none; }

/* ---------- حالت‌ها ----------
   data-step="0" حالت بدون جاوااسکریپت است: همه چیز ساکن و هم‌زمان دیده می‌شود. */
.furnace[data-step="0"] .furnace__dice { opacity: .5; }
.furnace[data-step="0"] .furnace__seal { opacity: 1; transform: none; }

.furnace[data-step="1"] .furnace__tag { opacity: 1; transform: none; }
.furnace[data-step="1"] .furnace__glass { box-shadow: inset 0 0 0 1px rgba(227, 192, 120, .12); }

.furnace[data-step="2"] .furnace__heat { opacity: 1; }
.furnace[data-step="2"] .furnace__mark { opacity: .3; }
.furnace[data-step="2"] .furnace__glass { border-color: var(--gold-sheen); box-shadow: 0 0 34px rgba(245, 227, 180, .35); }

.furnace[data-step="3"] .furnace__heat { opacity: .16; }
.furnace[data-step="3"] .furnace__dice { opacity: 1; }
.furnace[data-step="3"] .furnace__mark { border-style: solid; border-color: rgba(227, 192, 120, .75); }
.furnace[data-step="3"] .furnace__seal { opacity: 1; transform: none; }

/* ---------- مراحل ---------- */
.furnace__steps { display: grid; gap: 10px; }
.furnace__step {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: start;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
  color: inherit;
  cursor: default;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.js .furnace__step { cursor: pointer; }
.furnace__step b { display: block; font-size: 15px; font-weight: 700; color: var(--white); }
.furnace__step span { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .70); }
.furnace__step i {
  flex: none;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(227, 192, 120, .40);
  color: var(--gold-light);
  font-size: 13px; font-weight: 700; font-style: normal;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.js .furnace__step[aria-pressed="true"] { border-color: rgba(227, 192, 120, .55); background: rgba(201, 162, 75, .10); }
.js .furnace__step[aria-pressed="true"] i { background: var(--gold-light); color: var(--navy-deep); }
.js .furnace__step:hover { border-color: rgba(227, 192, 120, .40); }

@media (min-width: 900px) {
  .furnace { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: center; }
  .furnace__frame { aspect-ratio: 1 / 1; }
  .furnace__steps { gap: 14px; }
  .furnace__step { padding: 18px 20px; }
}

/* ---------- دفتر تعهدها ----------
   هر تعهد یک جمله دوم دارد: «اگر رعایت نشد، چه می‌شود». تعهد بدون
   ضمانت اجرا فقط یک شعار است، پس این خط هیچ‌وقت حذف نمی‌شود. */
.ledger { display: grid; gap: 14px; }
@media (min-width: 760px) { .ledger { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .ledger { grid-template-columns: repeat(3, 1fr); } }

.ledger__item { display: grid; gap: 10px; align-content: start; }
.ledger__item h3 { font-size: 17px; }
.ledger__item p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.ledger__then {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  margin-block-start: 4px; padding-block-start: 14px;
  border-block-start: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.8; color: var(--navy);
}
.ledger__then svg { flex: none; color: var(--gold-ink); margin-block-start: 4px; }
.ledger__then b { font-weight: 700; }

/* علامت «نمی‌پذیریم» — همان چک‌لیست، با نشان خنثی به‌جای تیک.
   رد کردن یک سفارش خبر بد نیست، پس رنگ هشدار نمی‌گیرد. */
.checklist .tick--no { background: rgba(18, 35, 63, .05); border-color: var(--line); color: var(--muted); }
.section--dark .checklist .tick--no,
.card-dark .checklist .tick--no { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .26); color: rgba(255, 255, 255, .72); }

/* =============================================================
   ۳۳. صفحه «تماس با ما»
   ============================================================= */

/* ---------- کارت تماس هیرو ---------- */
.callcard {
  display: grid;
  gap: 18px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(201, 162, 75, .30);
  border-radius: var(--r-lg);
}
@media (min-width: 900px) { .callcard { padding: 32px; } }

.callcard__eyebrow { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.callcard__num {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 30px; font-weight: 900; line-height: 1.3;
  color: var(--gold-light);
  letter-spacing: .01em;
  direction: ltr;
}
@media (min-width: 900px) { .callcard__num { font-size: 40px; } }
.callcard__num svg { flex: none; width: 26px; height: 26px; }
.callcard__num:hover { color: var(--gold-sheen); }

.callcard__meta { display: grid; gap: 10px; }
.callcard__meta li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: rgba(255, 255, 255, .78); }
.callcard__meta svg { flex: none; color: var(--gold-light); margin-block-start: 4px; }

/* ---------- سازنده متن استعلام ---------- */
.builder {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  padding: 24px;
}
@media (min-width: 900px) { .builder { padding: 44px; } }
@media (min-width: 1000px) {
  .builder__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
}

.builder__block + .builder__block { margin-block-start: 26px; }
.builder__block > .chips { margin-block-start: 12px; }
.builder__hint { margin-block-start: 10px; font-size: 13px; color: var(--muted); }

/* ستون خروجی روی دسکتاپ همراه اسکرول می‌ماند تا متن در حال ساخت دیده شود */
@media (min-width: 1000px) {
  .builder__panel { position: sticky; inset-block-start: calc(var(--header-h) + 20px); }
}
.builder__panel { margin-block-start: 30px; }
@media (min-width: 1000px) { .builder__panel { margin-block-start: 0; } }

.builder__out {
  min-height: 210px;
  margin-block-start: 14px;
  padding: 20px;
  background: var(--navy-deep);
  border: 1px solid rgba(201, 162, 75, .22);
  border-radius: var(--r-md);
  color: rgba(255, 255, 255, .92);
  font-size: 14.5px;
  line-height: 2.1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-feature-settings: "tnum" 1;
}
.builder__out.is-empty { color: rgba(255, 255, 255, .45); font-style: normal; }

.builder__status { margin-block-start: 12px; font-size: 13.5px; line-height: 1.8; min-height: 1.8em; }
.builder__status.is-ok { color: var(--gold-ink); font-weight: 700; }
.builder__status.is-err { color: #C2410C; }

.builder .btn-row { margin-block-start: 16px; }
.builder .btn-row .btn { flex: 1 1 auto; }

/* ---------- «چه چیزی را تلفنی می‌شود گفت» ---------- */
.saylist { display: grid; gap: 14px; }
.saylist li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.85; }
.saylist svg { flex: none; margin-block-start: 6px; }
.saylist--yes svg { color: var(--gold-ink); }
.saylist--no svg { color: var(--muted); opacity: .7; }
.section--dark .saylist--yes svg { color: var(--gold-light); }
.section--dark .saylist--no svg { color: rgba(255, 255, 255, .55); }

/* =============================================================
   ۳۴. صفحه قیمت شیشه سکوریت نما
   ============================================================= */
.facade-price-page .head { max-width: 880px; }
.facade-price-hero .hero__bg img { object-position: center 42%; filter: saturate(.72) contrast(1.06); }
.facade-price-hero__panel { overflow: hidden; min-height: 390px; }
.facade-price-hero__panel > img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.facade-layers {
  position: absolute;
  inset-inline: 18px;
  inset-block-end: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.facade-layers li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(227, 192, 120, .28);
  border-radius: var(--r-sm);
  background: rgba(12, 26, 49, .84);
  color: rgba(255, 255, 255, .9);
  font-size: 12.5px;
}
.facade-layers b { color: var(--gold-light); font-size: 15px; }
.facade-layers span { overflow-wrap: anywhere; }

.facade-takeaways { margin-block-start: 24px; }
.facade-takeaways .card { padding: 22px; }
.facade-takeaways h3, .facade-factor-grid h3, .facade-estimates h3 { margin-block-end: 8px; font-size: 17px; }
.facade-takeaways p, .facade-factor-grid p, .facade-estimates p { color: var(--muted); line-height: 1.85; }

.facade-system-table { max-height: min(720px, 76vh); }
.facade-system-table th:first-child { min-width: 175px; }
.facade-system-table td { min-width: 180px; vertical-align: top; line-height: 1.8; }
.facade-price-note { margin-block-start: 18px; padding: 18px 20px; line-height: 1.9; }

.facade-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-start: 24px;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--mist);
}
.facade-formula span { padding: 8px 12px; border-radius: var(--r-pill); background: var(--white); font-size: 13px; font-weight: 700; }
.facade-formula b { color: var(--gold-ink); }
.facade-caution { margin-block-start: 20px; padding: 18px 20px; border-inline-start: 4px solid var(--gold); background: var(--white); border-radius: var(--r-sm); line-height: 1.9; }
.facade-estimates small { display: block; margin-block-start: 14px; padding-block-start: 12px; border-block-start: 1px solid var(--line); color: var(--navy); line-height: 1.8; }

.facade-quote-grid { display: grid; gap: 20px; }
.facade-checklist { counter-reset: facade-check; list-style: none; display: grid; gap: 10px; }
.facade-checklist li { counter-increment: facade-check; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.85; }
.facade-checklist li::before { content: counter(facade-check); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-light); color: var(--navy-deep); font-size: 12px; font-weight: 900; }
.facade-cta { display: grid; align-content: center; gap: 18px; }
.facade-cta p { color: rgba(255, 255, 255, .78); line-height: 1.9; }
.facade-final { display: grid; gap: 20px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.facade-final h2 { margin-block: 6px; font-size: clamp(23px, 3vw, 34px); }
.facade-final p { color: var(--muted); }

/* =============================================================
   ۳۵. صفحه قیمت درب شیشه سکوریت

   HTML مرجع برای کارت‌های دو و سه‌ستونه از grid-2 / grid-3 استفاده
   می‌کند. این دو utility در خروجی اولیه تعریف نشده بودند؛ در نتیجه کارت‌ها
   روی هم می‌افتادند، لینک‌های inline از قاب خارج می‌شدند و تصاویر با اندازه
   طبیعی خود نمایش داده می‌شدند. قواعد زیر فقط به همین صفحه محدود هستند و
   تمام مقادیر از توکن‌های معتبر سیستم طراحی می‌آیند.
   ============================================================= */
.door-price-page .grid-2,
.door-price-page .grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.door-price-page .grid-2 > *,
.door-price-page .grid-3 > * {
  min-width: 0;
}

.door-price-page .grid-2 .card,
.door-price-page .grid-3 .card {
  display: block;
  width: 100%;
  height: 100%;
}

.door-price-page .card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-block-end: 18px;
}

.door-price-page .card h3 + p { margin-block-start: 6px; }
.door-price-page .card p { color: var(--muted); }

.door-price-page .answer-card ul {
  display: grid;
  gap: 8px;
  margin-block-start: 14px;
}

.door-price-page .answer-card li {
  position: relative;
  padding-inline-start: 20px;
}

.door-price-page .answer-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-start: .85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.door-price-page .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.door-price-page .ptable { min-width: 720px; }
.door-price-page section[id] { scroll-margin-block-start: calc(var(--header-h) + 18px); }

@media (min-width: 760px) {
  .door-price-page .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .door-price-page .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .facade-layers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facade-quote-grid { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
  .facade-final { grid-template-columns: 1fr auto; padding: 32px; }
}

@media (max-width: 520px) {
  .facade-price-hero__panel { min-height: 330px; }
  .facade-layers { inset-inline: 12px; inset-block-end: 12px; }
  .facade-layers li { padding: 9px; font-size: 11.5px; }
  .facade-formula { justify-content: flex-start; }
}

/* ---------- ۳۵. کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero .seq { opacity: 1 !important; transform: none !important; }
  .tl-item__card { opacity: 1 !important; transform: none !important; }
  .glow { transform: none !important; }
  .ptable .t-act .btn { opacity: 1; transform: none; }
  .reel { opacity: 1; transform: none; }
  /* پشته نظرات: حرکت عمودی به کراس‌فید ساده تبدیل می‌شود */
  .testi__card { transform: translateY(-50%) scale(1) !important; }
  .testi__card:not(.is-active) { opacity: 0 !important; }
  .app__more { transform: none; }
  /* «نقطه بی‌بازگشت»: پخش خودکار حذف می‌شود و جام مستقیم در حالت نهایی
     می‌نشیند. سه مرحله همچنان با کلیک قابل مرور است. */
  .furnace__glass, .furnace__mark, .furnace__tag, .furnace__heat,
  .furnace__dice, .furnace__seal { transition: none !important; }
}

/* لوگوی کامل رسمی، بدون زمینه و محدود به ارتفاع اصلی هدر. */
.header__glass{padding-block:4px}
.logo--full{width:auto;height:56px;padding:0;background:transparent;border-radius:0;overflow:visible}
.logo__image{display:block;width:auto;height:100%;object-fit:contain;flex:none;filter:none}
:root{--header-h:82px}
.footer .logo--full{width:180px;height:auto;padding:0}
.footer .logo__image{width:100%;height:auto;filter:none}
@media(min-width:900px){:root{--header-h:108px}.logo--full{width:auto;height:72px}.footer .logo--full{width:180px;height:auto}}
