/* ============================================================
   زیست‌فناوری دستوا — Dastva BioTech
   Design System v2 · Dark-first Luxury · Emerald × Gold
   RTL · Persian-first · data-visual art direction
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Marcellus';
  src: url('../fonts/Marcellus-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --emerald-950: #04120D;
  --emerald-900: #06231C;
  --emerald-800: #0A3B2E;
  --emerald-700: #0E4D3A;
  --emerald-600: #14684D;
  --emerald-500: #1C7F5F;
  --emerald-100: #D9ECE4;
  --emerald-50:  #EDF6F1;
  --mint: #7FD1AC;
  --mint-soft: #9FE3C2;
  --gold-100: #F7F0DD;
  --gold-200: #F1E6C8;
  --gold-300: #EAD9AE;
  --gold-400: #D8BE85;
  --gold-500: #C9A96A;
  --gold-600: #B08D4F;
  --gold-700: #8F703B;
  --ivory: #FAF8F3;
  --paper: #F3F0E7;
  --paper-2: #EDE9DE;
  --ink: #0E1B16;
  --ink-soft: #33453D;
  --muted: #5F7268;
  --muted-2: #8FA39A;
  --hair: rgba(14, 27, 22, 0.10);
  --hair-strong: rgba(14, 27, 22, 0.20);
  --hair-gold: rgba(201, 169, 106, 0.30);
  --hair-gold-soft: rgba(201, 169, 106, 0.16);
  --white: #FFFFFF;

  --font: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  --font-latin: 'Marcellus', 'Georgia', serif;
  --font-mono: 'Vazirmatn', 'Consolas', monospace;

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 12px rgba(4, 18, 13, 0.05);
  --shadow-md: 0 16px 44px rgba(4, 18, 13, 0.10);
  --shadow-lg: 0 34px 80px rgba(4, 18, 13, 0.16);
  --shadow-gold: 0 14px 38px rgba(176, 141, 79, 0.30);
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 2;
  color: var(--ink);
  background: var(--ivory);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01';
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold-500); color: var(--emerald-950); }

h1, h2, h3, h4 { line-height: 1.4; font-weight: 800; color: var(--ink); text-wrap: balance; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

/* subtle film grain for depth */
.noise::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  box-shadow: 0 0 12px rgba(201, 169, 106, .7);
}

/* ---------- Utilities ---------- */
.container { width: min(var(--container), 93%); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 124px); position: relative; }
.section--tight { padding-block: clamp(46px, 6vw, 76px); }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--emerald {
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(28, 127, 95, .38), transparent 60%),
    radial-gradient(700px 380px at 6% 112%, rgba(201, 169, 106, .12), transparent 55%),
    linear-gradient(160deg, var(--emerald-950) 0%, var(--emerald-900) 52%, var(--emerald-800) 100%);
  color: #DCEBE3;
}
.section--dark { background: var(--emerald-950); color: #DCEBE3; }

.hairline { border: 0; height: 1px; background: var(--hair); }
.hairline--gold { background: linear-gradient(90deg, transparent, var(--hair-gold), transparent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.section--emerald .eyebrow, .section--dark .eyebrow { color: var(--gold-300); }

/* editorial section head with ghost number */
.sec-head { position: relative; max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; position: relative; }
.sec-head p { color: var(--muted); font-size: 1.01rem; max-width: 640px; }
.sec-head--center p { margin-inline: auto; }
.sec-head .num {
  position: absolute;
  top: -0.55em; inset-inline-start: -0.12em;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-gold);
  opacity: .8;
  pointer-events: none;
  user-select: none;
}
.sec-head--center .num { inset-inline-start: 50%; transform: translateX(50%); }
.section--emerald .sec-head h2, .section--dark .sec-head h2 { color: #F4F8F5; }
.section--emerald .sec-head p, .section--dark .sec-head p { color: #A9C0B4; }
.section--emerald .sec-head .num, .section--dark .sec-head .num { -webkit-text-stroke: 1px rgba(201, 169, 106, .35); }

.gold-text {
  background: linear-gradient(100deg, var(--gold-300) 5%, var(--gold-500) 45%, var(--gold-400) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.latin { font-family: var(--font-latin); letter-spacing: .12em; }
.mono { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .94rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn:hover svg { transform: translateX(-4px); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: var(--emerald-950);
  box-shadow: var(--shadow-gold);
}
.btn--gold::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(140%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(-140%); }

.btn--emerald { background: var(--emerald-700); color: #F2F7F4; box-shadow: var(--shadow-md); }
.btn--emerald:hover { background: var(--emerald-600); }

.btn--ghost {
  border: 1.5px solid rgba(201, 169, 106, .5);
  color: var(--gold-300);
  background: rgba(201, 169, 106, .05);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold-400); background: rgba(201, 169, 106, .12); }

.btn--outline { border: 1.5px solid var(--hair-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--emerald-600); color: var(--emerald-700); }

.btn--sm { padding: 11px 22px; font-size: .86rem; }
.btn--lg { padding: 18px 42px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--emerald-950);
  color: #A9C0B4;
  font-size: .78rem;
  padding: 8px 0;
  position: relative;
  z-index: 61;
  border-bottom: 1px solid rgba(201, 169, 106, .14);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.topbar__links a:hover { color: var(--gold-300); }
.topbar__links svg { width: 15px; height: 15px; color: var(--gold-500); }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; color: #8FA89B; }
.topbar__note .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(127, 209, 172, .15);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(127, 209, 172, .18); }
  50% { box-shadow: 0 0 0 7px rgba(127, 209, 172, .05); }
}

/* ---------- Header (dark glass) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 30, 23, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 169, 106, .16);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(4, 18, 13, .94); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo {
  width: 46px; height: 46px; flex: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5));
  transition: transform .45s var(--ease-spring);
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__fa { font-weight: 800; font-size: 1.04rem; color: #F2F7F4; }
.brand__en { font-family: var(--font-latin); font-size: .62rem; letter-spacing: .36em; color: var(--gold-400); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 24px); }
.nav__link {
  position: relative;
  font-size: .92rem;
  font-weight: 600;
  color: #C4D6CC;
  padding: 9px 2px;
  transition: color .25s;
}
.nav__link::after {
  content: '';
  position: absolute;
  right: 0; bottom: 3px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #F4F8F5; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(201, 169, 106, .4);
  position: relative;
  background: rgba(255, 255, 255, .04);
}
.burger span {
  position: absolute; right: 11px; left: 11px;
  height: 2px; border-radius: 2px;
  background: #EAF1ED;
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(28, 127, 95, .45), transparent 62%),
    radial-gradient(760px 440px at 4% 112%, rgba(201, 169, 106, .15), transparent 58%),
    linear-gradient(155deg, var(--emerald-950) 0%, var(--emerald-900) 46%, var(--emerald-800) 100%);
  color: #E7F0EB;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='110' viewBox='0 0 96 110'%3E%3Cpolygon points='48,0 96,28 96,82 48,110 0,82 0,28' fill='none' stroke='%23C9A96A' stroke-opacity='0.06' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 96px 110px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.6), transparent 78%);
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,.6), transparent 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 116px) clamp(48px, 5vw, 72px);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(201, 169, 106, .4);
  border-radius: 999px;
  background: rgba(201, 169, 106, .08);
  color: var(--gold-300);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero__tag svg { width: 16px; height: 16px; }
.hero__tag .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 2.4s infinite; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  color: #F7FAF8;
  margin-bottom: 20px;
  line-height: 1.32;
}
.hero h1 .thin { font-weight: 500; color: #C4D6CC; }
.hero__lead {
  font-size: clamp(.99rem, 1.4vw, 1.12rem);
  color: #AFc6B9;
  max-width: 580px;
  margin-bottom: 34px;
}
.hero__lead b { color: #EAF1ED; font-weight: 600; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__note { display: flex; align-items: center; gap: 9px; color: #8FA89B; font-size: .84rem; flex-wrap: wrap; }
.hero__note svg { width: 16px; height: 16px; color: var(--mint); }

/* hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__art {
  width: min(480px, 100%);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .45));
  animation: artIn 1.1s var(--ease) both;
}
@keyframes artIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.hero__float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(4, 18, 13, .88);
  border: 1px solid rgba(234, 217, 174, .3);
  color: #E8F1EC;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  animation: floaty 6.5s ease-in-out infinite;
}
.hero__float svg { width: 19px; height: 19px; color: var(--gold-400); flex: none; }
.hero__float--1 { top: 4%; inset-inline-start: -3%; }
.hero__float--2 { bottom: 9%; inset-inline-end: -4%; animation-delay: 2.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* hero stats */
.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: clamp(52px, 6vw, 84px);
}
.hero__stat {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(234, 217, 174, .16);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  transition: border-color .3s, transform .35s var(--ease-spring), background .3s;
}
.hero__stat:hover { border-color: rgba(201, 169, 106, .5); transform: translateY(-4px); background: rgba(255,255,255,.07); }
.hero__stat b {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.hero__stat span { font-size: .78rem; color: #8FA89B; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(201, 169, 106, .18);
  border-bottom: 1px solid rgba(201, 169, 106, .18);
  background: rgba(4, 18, 13, .55);
  overflow: hidden;
  padding: 14px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 0; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-inline: 34px;
  font-size: .86rem;
  font-weight: 600;
  color: #9DB2A8;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.marquee__item::after {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px rgba(201, 169, 106, .6);
}
.marquee__item.latin { letter-spacing: .14em; font-size: .78rem; color: #7E968A; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--hair); position: relative; z-index: 5; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item {
  display: flex; align-items: center; gap: 15px;
  padding: 26px clamp(14px, 2.4vw, 30px);
  border-inline-start: 1px solid var(--hair);
}
.trust__item:first-child { border-inline-start: 0; }
.trust__icon {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 17px;
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-700));
  color: var(--gold-300);
  box-shadow: 0 10px 26px rgba(6, 35, 28, .25);
  transition: transform .35s var(--ease-spring);
}
.trust__item:hover .trust__icon { transform: rotate(-7deg) scale(1.06); }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item b { display: block; font-size: .95rem; color: var(--ink); }
.trust__item span { font-size: .79rem; color: var(--muted); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.split__media { position: relative; }
.split__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--hair-gold-soft);
  box-shadow: var(--shadow-lg);
  background: var(--emerald-900);
}
.split__frame img { width: 100%; height: auto; }
.split__badge {
  position: absolute;
  bottom: 24px; inset-inline-start: 24px;
  background: rgba(250, 248, 243, .94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 15px 22px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 13px;
}
.split__badge .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-700));
  color: var(--gold-300);
}
.split__badge .ico svg { width: 22px; height: 22px; }
.split__badge b { display: block; font-size: .94rem; }
.split__badge span { font-size: .77rem; color: var(--muted); }

.split__copy h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 8px 0 18px; }
.split__copy .lead { color: var(--ink-soft); margin-bottom: 24px; }

.checklist { display: grid; gap: 13px; margin: 26px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.checklist li::before {
  content: '';
  flex: none;
  width: 23px; height: 23px;
  margin-top: 5px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A96A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat,
    var(--emerald-50);
  border: 1px solid rgba(14, 77, 58, .15);
}

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .4s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 46px; height: 46px;
  background: linear-gradient(225deg, var(--gold-300) 0 2px, transparent 2px);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--hair-gold); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 19px;
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-600));
  color: var(--gold-300);
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(6, 35, 28, .28);
  transition: transform .4s var(--ease-spring);
}
.card:hover .card__icon { transform: rotate(-7deg) scale(1.07); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; flex: 1; }
.card__list { margin: 18px 0 0; display: grid; gap: 9px; }
.card__list li {
  position: relative;
  padding-inline-start: 22px;
  font-size: .87rem;
  color: var(--ink-soft);
}
.card__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}
.card__foot { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .89rem; color: var(--emerald-700); }
.card__foot svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card__foot svg { transform: translateX(-5px); }

.card--tint { background: linear-gradient(175deg, var(--emerald-50), var(--white)); }
.card--dark {
  background: linear-gradient(165deg, var(--emerald-900), var(--emerald-800));
  border-color: rgba(234, 217, 174, .18);
  color: #DCEAE2;
}
.card--dark h3 { color: #F3F7F4; }
.card--dark p { color: #A5BDB0; }
.card--dark .card__list li { color: #C4D6CC; }
.card--dark .card__foot { color: var(--gold-300); }

/* feature panel with art */
.feature {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hair-gold-soft);
  background: linear-gradient(170deg, var(--white), var(--paper));
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
}
.feature__art { position: absolute; inset-inline-end: -30px; top: 50%; transform: translateY(-50%); width: min(300px, 40%); opacity: .9; pointer-events: none; }
.feature__body { position: relative; z-index: 2; max-width: 62%; }
.feature h3 { font-size: 1.5rem; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 34px;
  inset-inline-start: calc(50% + 44px);
  width: calc(100% - 88px);
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold-500) 0 7px, transparent 7px 13px);
  opacity: .5;
}
.step__num {
  counter-increment: step;
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(234, 217, 174, .45);
  box-shadow: inset 0 0 0 6px rgba(4, 18, 13, .7);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold-300);
  transition: transform .4s var(--ease-spring), background .3s, border-color .3s;
  font-variant-numeric: tabular-nums;
}
.step__num::before { content: counter(step, persian); }
.step:hover .step__num { transform: translateY(-6px) scale(1.05); border-color: var(--gold-400); background: rgba(201,169,106,.1); }
.step h3 { font-size: 1rem; margin-bottom: 7px; color: #EDF4F0; }
.step p { font-size: .82rem; color: #93AC9F; }

/* ---------- Journey timeline (light version) ---------- */
.journey { --prog: 0; position: relative; padding-top: 12px; }
.journey__rail {
  position: absolute;
  top: 48px; right: 8%; left: 8%;
  height: 2px;
  background: var(--hair);
  border-radius: 2px;
}
.journey__rail span {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: calc(var(--prog) * 100%);
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(201, 169, 106, .5);
}
.journey__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.journey__step { position: relative; text-align: center; }
.journey__dot {
  width: 20px; height: 20px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-500);
  position: relative;
  z-index: 2;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.journey__step:hover .journey__dot { transform: scale(1.25); box-shadow: 0 0 0 7px rgba(201, 169, 106, .18); }
.journey__step h4 { font-size: .98rem; margin-bottom: 5px; }
.journey__step p { font-size: .8rem; color: var(--muted); }
.journey__step .promise {
  display: inline-block;
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid rgba(14, 77, 58, .14);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ---------- Personas ---------- */
.persona {
  display: flex; flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
}
.persona::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--emerald-600));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.persona:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--hair-gold); }
.persona:hover::before { transform: scaleX(1); }
.persona__avatar {
  width: 76px; height: 76px;
  border-radius: 24px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-700));
  color: var(--gold-300);
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(6, 35, 28, .25);
}
.persona__avatar svg { width: 33px; height: 33px; }
.persona h3 { font-size: 1.12rem; margin-bottom: 8px; }
.persona__role { color: var(--gold-600); font-weight: 700; font-size: .84rem; margin-bottom: 12px; display: block; }
.persona p { color: var(--muted); font-size: .9rem; flex: 1; }
.persona__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid rgba(14, 77, 58, .12);
}

/* ---------- Band ---------- */
.band {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(760px 320px at 90% 0%, rgba(201, 169, 106, .13), transparent 60%),
    linear-gradient(150deg, var(--emerald-900), var(--emerald-950));
  color: #DCEAE2;
  padding: clamp(42px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.band::after {
  content: '';
  position: absolute;
  inset-inline-end: -90px; bottom: -130px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, .16);
  box-shadow: 0 0 0 46px rgba(201,169,106,.05), 0 0 0 92px rgba(201,169,106,.035);
}
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 2; }
.band__item { display: flex; align-items: flex-start; gap: 16px; }
.band__item svg { width: 30px; height: 30px; color: var(--gold-400); flex: none; margin-top: 4px; }
.band__item b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold-300); line-height: 1.3; font-variant-numeric: tabular-nums; }
.band__item span { font-size: .84rem; color: #93AC9F; }

/* ---------- Posts (blog cards) ---------- */
.post {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--hair-gold); }
.post__media {
  height: 210px;
  display: grid; place-items: center;
  background:
    radial-gradient(420px 200px at 82% 8%, rgba(28,127,95,.5), transparent 62%),
    radial-gradient(300px 180px at 8% 100%, rgba(201,169,106,.22), transparent 60%),
    linear-gradient(150deg, var(--emerald-950), var(--emerald-700));
  position: relative;
  overflow: hidden;
}
.post__media::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='110' viewBox='0 0 96 110'%3E%3Cpolygon points='48,0 96,28 96,82 48,110 0,82 0,28' fill='none' stroke='%23C9A96A' stroke-opacity='0.08' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 96px 110px;
}
.post__media svg { width: 58px; height: 58px; color: var(--gold-300); position: relative; z-index: 2; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.post__cat {
  position: absolute; top: 16px; inset-inline-start: 16px;
  z-index: 3;
  font-size: .72rem; font-weight: 700;
  background: rgba(4, 18, 13, .66);
  border: 1px solid rgba(234, 217, 174, .4);
  color: var(--gold-300);
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.post__body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; align-items: center; gap: 14px; font-size: .76rem; color: var(--muted); margin-bottom: 10px; }
.post__meta time { display: inline-flex; align-items: center; gap: 6px; }
.post__meta svg { width: 14px; height: 14px; color: var(--gold-600); }
.post h3 { font-size: 1.07rem; margin-bottom: 9px; line-height: 1.55; }
.post h3 a { transition: color .25s; }
.post h3 a:hover { color: var(--emerald-600); }
.post p { color: var(--muted); font-size: .87rem; flex: 1; }
.post__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.post__more { margin-top: 16px; font-weight: 700; font-size: .87rem; color: var(--emerald-700); display: inline-flex; align-items: center; gap: 7px; }
.post__more svg { width: 15px; height: 15px; }

/* ---------- Blog filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: var(--white);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter-pill:hover { border-color: var(--gold-500); color: var(--emerald-800); }
.filter-pill.is-active {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  color: var(--gold-300);
  box-shadow: 0 8px 22px rgba(6, 35, 28, .3);
}
.filter-count { font-size: .72rem; opacity: .75; margin-inline-start: 6px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(201, 169, 106, .2);
  background:
    radial-gradient(620px 300px at 50% -70px, rgba(201,169,106,.2), transparent 65%),
    linear-gradient(160deg, var(--emerald-800), var(--emerald-950));
  padding: clamp(58px, 8vw, 100px) clamp(24px, 5vw, 80px);
  color: #E7F0EB;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='110' viewBox='0 0 96 110'%3E%3Cpolygon points='48,0 96,28 96,82 48,110 0,82 0,28' fill='none' stroke='%23C9A96A' stroke-opacity='0.07' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 96px 110px;
  opacity: .6;
}
.cta h2 { color: #F6F9F7; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 14px; position: relative; }
.cta p { color: #A9C0B4; max-width: 640px; margin: 0 auto 30px; position: relative; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background:
    radial-gradient(860px 400px at 88% -20%, rgba(28,127,95,.5), transparent 62%),
    radial-gradient(600px 320px at 4% 110%, rgba(201,169,106,.14), transparent 55%),
    linear-gradient(155deg, var(--emerald-950), var(--emerald-800));
  color: #E7F0EB;
  padding: clamp(56px, 8vw, 96px) 0 clamp(50px, 7vw, 84px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='110' viewBox='0 0 96 110'%3E%3Cpolygon points='48,0 96,28 96,82 48,110 0,82 0,28' fill='none' stroke='%23C9A96A' stroke-opacity='0.055' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 96px 110px;
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.45));
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.45));
}
.page-hero__inner { position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; color: #8FA89B;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .sep { color: var(--gold-600); }
.breadcrumb .here { color: var(--gold-300); font-weight: 600; }
.page-hero h1 { color: #F6F9F7; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero__lead { color: #B9CEC2; max-width: 660px; font-size: 1.02rem; }

/* ---------- Sticky subnav (tests/blog) ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(250, 248, 243, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  padding: 12px 0;
}
.subnav__inner { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav .filter-pill { white-space: nowrap; }
.subnav__search {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 9px 18px;
  min-width: 220px;
  transition: border-color .25s, box-shadow .25s;
}
.subnav__search:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 169, 106, .15); }
.subnav__search svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; }
.subnav__search input { border: 0; outline: none; background: transparent; font-size: .86rem; width: 100%; }

/* ---------- Test catalog ---------- */
.test-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.test-card.is-open { border-color: var(--hair-gold); box-shadow: var(--shadow-md); }
.test-card__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  text-align: right;
}
.test-card__icon {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-600));
  color: var(--gold-300);
}
.test-card__icon svg { width: 26px; height: 26px; }
.test-card__titles { flex: 1; min-width: 0; }
.test-card__titles h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.test-card__titles h3 .en { font-family: var(--font-latin); letter-spacing: .08em; font-size: .82rem; color: var(--gold-600); font-weight: 400; }
.test-card__titles p { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.test-card__cat {
  font-size: .72rem; font-weight: 700;
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid rgba(14, 77, 58, .14);
  border-radius: 999px;
  padding: 4px 13px;
  white-space: nowrap;
}
.test-card__chev {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-600);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.test-card__chev svg { width: 15px; height: 15px; }
.test-card.is-open .test-card__chev { transform: rotate(180deg); background: var(--emerald-900); color: var(--gold-300); border-color: var(--emerald-900); }
.test-card__body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.test-card__body-in { padding: 0 26px 28px; border-top: 1px dashed var(--hair-strong); margin: 0 26px; padding-top: 24px; }
.test-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.test-meta__item {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.test-meta__item b { display: block; font-size: .8rem; color: var(--gold-600); margin-bottom: 6px; }
.test-meta__item span { font-size: .86rem; color: var(--ink-soft); line-height: 1.8; }
.test-desc { color: var(--ink-soft); font-size: .93rem; margin-bottom: 20px; }
.test-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hair); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hair);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
table.data { width: 100%; border-collapse: collapse; font-size: .91rem; min-width: 620px; }
table.data th {
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-800));
  color: #EFF5F1;
  font-weight: 600;
  padding: 16px 20px;
  text-align: right;
  white-space: nowrap;
}
table.data td { padding: 15px 20px; border-top: 1px solid var(--hair); color: var(--ink-soft); vertical-align: top; }
table.data tr:hover td { background: var(--emerald-50); }
table.data td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- Tier cards ---------- */
.tier {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
  overflow: hidden;
}
.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--hair-gold); }
.tier--gold {
  border: 1.5px solid rgba(201, 169, 106, .6);
  background: linear-gradient(180deg, #FDFAF1, var(--white));
  box-shadow: var(--shadow-gold);
}
.tier--gold::after {
  content: 'ویژه';
  position: absolute;
  top: 18px; inset-inline-start: -34px;
  transform: rotate(45deg);
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--emerald-950);
  font-size: .7rem;
  font-weight: 800;
  padding: 5px 44px;
}
.tier__badge {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--gold-600);
  background: var(--emerald-50);
}
.tier__badge svg { width: 26px; height: 26px; }
.tier h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tier__sub { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.tier__list { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.tier__list li { position: relative; padding-inline-start: 24px; font-size: .88rem; color: var(--ink-soft); }
.tier__list li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.tier__score { border-top: 1px dashed var(--hair-strong); padding-top: 16px; font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.tier__score b { color: var(--emerald-700); font-size: 1.05rem; }

/* ---------- Plans ---------- */
.plan {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--hair-gold); }
.plan--featured {
  background: linear-gradient(175deg, var(--emerald-900), var(--emerald-800));
  border-color: rgba(234, 217, 174, .28);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.plan--featured::before {
  content: 'پرطرفدار';
  position: absolute;
  top: -14px; inset-inline-start: 26px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--emerald-950);
  font-size: .72rem; font-weight: 800;
  padding: 5px 16px;
  border-radius: 999px;
}
.plan h3 { font-size: 1.12rem; margin-bottom: 4px; }
.plan--featured h3 { color: #F3F7F4; }
.plan__aud { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.plan--featured .plan__aud { color: #93AC9F; }
.plan__price { margin-bottom: 6px; }
.plan__price b { font-size: 1.7rem; font-weight: 800; color: var(--emerald-800); font-variant-numeric: tabular-nums; }
.plan--featured .plan__price b { color: var(--gold-300); }
.plan__price span { font-size: .8rem; color: var(--muted); }
.plan__list { display: grid; gap: 9px; margin: 18px 0 26px; flex: 1; }
.plan__list li { position: relative; padding-inline-start: 24px; font-size: .87rem; color: var(--ink-soft); }
.plan--featured .plan__list li { color: #B9CEC2; }
.plan__list li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.acc {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.acc.is-open { box-shadow: var(--shadow-sm); border-color: rgba(201, 169, 106, .5); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  text-align: right;
  padding: 20px 24px;
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink);
}
.acc__btn .plus {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-600);
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.acc__btn .plus svg { width: 14px; height: 14px; }
.acc.is-open .acc__btn .plus { transform: rotate(45deg); background: var(--emerald-900); color: var(--gold-300); border-color: var(--emerald-900); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc__body-in { padding: 0 24px 22px; color: var(--muted); font-size: .92rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .88rem; }
.form-field label .req { color: #C0564A; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--hair-strong);
  background: var(--ivory);
  transition: border-color .25s, box-shadow .25s, background .25s;
  font-size: .93rem;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(28, 127, 95, .12);
}
.form-foot { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--hair-gold); }
.contact-card__icon {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--emerald-900), var(--emerald-600));
  color: var(--gold-300);
}
.contact-card__icon svg { width: 25px; height: 25px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: .88rem; }
.contact-card a { color: var(--emerald-700); font-weight: 600; }

.map-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-md);
  line-height: 0;
  filter: saturate(.9);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 46px 0 16px; padding-top: 8px; position: relative; }
.prose h2::before {
  content: '';
  position: absolute;
  top: -6px; inset-inline-start: 0;
  width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.prose h3 { font-size: 1.15rem; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 20px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-inline-start: 24px; color: var(--ink-soft); }
.prose ul li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.prose ol { counter-reset: pn; }
.prose ol li { counter-increment: pn; position: relative; padding-inline-start: 34px; color: var(--ink-soft); }
.prose ol li::before {
  content: counter(pn, persian);
  position: absolute;
  inset-inline-start: 0; top: 3px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-size: .76rem; font-weight: 700;
  border-radius: 8px;
  background: var(--emerald-50);
  color: var(--emerald-700);
}
.prose strong { color: var(--ink); }
.prose a { color: var(--emerald-700); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(201, 169, 106, .5); text-underline-offset: 4px; }
.prose blockquote {
  margin: 26px 0;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  border-inline-start: 4px solid var(--gold-500);
  color: var(--emerald-800);
  font-weight: 500;
}
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .89rem; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--hair); text-align: right; }
.prose th { background: linear-gradient(150deg, var(--emerald-900), var(--emerald-800)); color: #EFF5F1; font-weight: 600; }
.prose tr:nth-child(even) td { background: var(--paper); }

.article-head { max-width: 820px; margin: 0 auto 40px; }
.article-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.article-head .meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .84rem; flex-wrap: wrap; }
.article-head .meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-head .meta svg { width: 15px; height: 15px; color: var(--gold-600); }

/* related posts */
.related { border-top: 1px solid var(--hair); margin-top: 48px; padding-top: 34px; }
.related h3 { font-size: 1.2rem; margin-bottom: 20px; }
.related__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related__links a {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.related__links a:hover { transform: translateY(-4px); border-color: var(--hair-gold); box-shadow: var(--shadow-sm); }
.related__links svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--emerald-950);
  color: #A9C0B4;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 106, .16);
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='110' viewBox='0 0 96 110'%3E%3Cpolygon points='48,0 96,28 96,82 48,110 0,82 0,28' fill='none' stroke='%23C9A96A' stroke-opacity='0.04' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 96px 110px;
}
.footer__main {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(30px, 4vw, 60px);
  padding: clamp(58px, 7vw, 88px) 0 44px;
}
.footer__brand p { font-size: .89rem; margin: 18px 0 22px; max-width: 330px; line-height: 1.95; }
.footer h4 {
  color: #EFF5F1;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .89rem; transition: color .25s, padding .25s; display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: var(--gold-300); padding-inline-start: 5px; }
.footer__links a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-600); flex: none; }
.footer__contact { display: grid; gap: 13px; font-size: .89rem; }
.footer__contact a, .footer__contact span { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; margin-top: 6px; }
.footer__contact a:hover { color: var(--gold-300); }

.socials { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(234, 217, 174, .25);
  background: rgba(255, 255, 255, .03);
  color: #C4D6CC;
  transition: transform .3s var(--ease-spring), background .3s, color .3s, border-color .3s;
}
.socials a:hover {
  transform: translateY(-4px);
  background: linear-gradient(150deg, var(--gold-500), var(--gold-600));
  color: var(--emerald-950);
  border-color: transparent;
}
.socials svg { width: 19px; height: 19px; }

/* keyword cloud */
.cloud {
  position: relative;
  border-top: 1px solid rgba(234, 217, 174, .14);
  padding: 26px 0;
}
.cloud__label { font-size: .74rem; color: #7E968A; margin-bottom: 12px; letter-spacing: .04em; }
.cloud__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud__tags a {
  font-size: .76rem;
  color: #93AC9F;
  border: 1px solid rgba(234, 217, 174, .18);
  border-radius: 999px;
  padding: 5px 13px;
  transition: color .25s, border-color .25s, background .25s;
}
.cloud__tags a:hover { color: var(--gold-300); border-color: rgba(201, 169, 106, .5); background: rgba(201, 169, 106, .06); }

.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(234, 217, 174, .14);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #7E968A;
}
.footer__bottom .latin { letter-spacing: .22em; }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; inset-inline-start: 26px;
  z-index: 70;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(150deg, #35C26B, #1F9D52);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(31, 157, 82, .4);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 18px 44px rgba(31, 157, 82, .5); }
.wa-float svg { width: 29px; height: 29px; }

.order-float {
  position: fixed;
  bottom: 26px; inset-inline-end: 26px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
  color: var(--emerald-950);
  font-weight: 800;
  font-size: .88rem;
  box-shadow: var(--shadow-gold);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.order-float:hover { transform: translateY(-4px); }
.order-float svg { width: 18px; height: 18px; }

.back-top {
  position: fixed;
  bottom: 96px; inset-inline-start: 32px;
  z-index: 70;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hair-strong);
  color: var(--emerald-800);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.err { text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.err__code {
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--emerald-600), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.err h1 { font-size: 1.5rem; margin-bottom: 12px; }
.err p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__float, .marquee__track { animation: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__float--1 { inset-inline-start: 0; }
  .hero__float--2 { inset-inline-end: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-inline-start: 0; }
  .trust__item { border-top: 1px solid var(--hair); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 42px; }
  .step:nth-child(3)::after, .step:nth-child(4)::after { display: none; }
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .journey__steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .journey__rail { display: none; }
  .feature__body { max-width: 74%; }
  .test-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .topbar__note { display: none; }
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--emerald-950);
    border-bottom: 1px solid rgba(201, 169, 106, .2);
    box-shadow: var(--shadow-lg);
    padding: 14px 4vw 26px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open .nav__link { padding: 15px 6px; font-size: 1rem; border-bottom: 1px solid rgba(234, 217, 174, .12); }
  .nav.is-open .nav__link::after { display: none; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__frame, .split__media .form-card, .split__media .band, .split__media .table-wrap, .split__media .grid { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .footer__main { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .feature__art { opacity: .35; }
  .feature__body { max-width: 100%; }
  .related__links { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .grid--4 { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-inline-start: 0; border-top: 1px solid var(--hair); }
  .trust__item:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .step:not(:last-child)::after { display: none; }
  .band__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__stat b { font-size: 1.35rem; }
  .hero__float { display: none; }
  .band { border-radius: 22px; padding: 34px 24px; }
  .topbar__links { gap: 14px; font-size: .74rem; }
  .btn--lg { padding: 15px 30px; font-size: .95rem; }
  .order-float { padding: 12px 18px; font-size: .8rem; }
  .test-meta { grid-template-columns: 1fr; }
  .test-card__cat { display: none; }
  .test-card__head { padding: 18px; gap: 12px; }
  .test-card__body-in { margin: 0 18px; padding: 18px 0 22px; }
  .subnav__search { min-width: 0; width: 100%; }
}

@media print {
  .site-header, .topbar, .footer, .wa-float, .back-top, .order-float, .scroll-progress, .marquee { display: none; }
  body { background: #fff; }
}
