/* ==========================================================================
   lawyerup.ir — one-page site
   Palette: deep legal navy + warm gold on a soft off-white.
   Fonts are local (no external requests) so the page loads instantly.
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-900: #071f36;
  --navy-800: #0b2c49;
  --navy-700: #103a5f;
  --navy-600: #1f5f8b;
  --navy-050: #eef4fa;
  --gold-500: #d4a94a;
  --gold-400: #e9c46a;
  --gold-200: #f6e6bd;
  --ink: #0e1a26;
  --ink-soft: #46586a;
  --line: #dfe6ee;
  --white: #ffffff;
  --bg: #f7f9fc;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgb(9 30 51 / 6%), 0 4px 14px rgb(9 30 51 / 6%);
  --shadow-md: 0 10px 30px rgb(9 30 51 / 10%), 0 2px 6px rgb(9 30 51 / 5%);
  --shadow-lg: 0 28px 70px rgb(9 30 51 / 18%);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .68, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 { line-height: 1.35; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

/* ---------- background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 46vw; height: 46vw; top: -14vw; inset-inline-start: -10vw; background: radial-gradient(circle, #cfe3f7, transparent 68%); }
.orb-2 { width: 38vw; height: 38vw; top: 24vh; inset-inline-end: -12vw; background: radial-gradient(circle, #f6e6bd, transparent 68%); opacity: .55; }
.orb-3 { width: 44vw; height: 44vw; bottom: -18vw; inset-inline-start: 24vw; background: radial-gradient(circle, #d8e6f5, transparent 70%); opacity: .45; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px max(22px, calc((100vw - var(--wrap)) / 2 + 22px));
  background: rgb(247 249 252 / 78%);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgb(247 249 252 / 92%);
  box-shadow: 0 6px 22px rgb(9 30 51 / 6%);
}
.nav__brand { display: flex; align-items: center; gap: 11px; }
.nav__brand strong { display: block; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.nav__brand small { display: block; color: var(--ink-soft); font-size: .74rem; line-height: 1.4; }

.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .93rem;
  color: var(--ink-soft);
  transition: color .22s var(--ease), background .22s var(--ease);
}
.nav__links a:hover { color: var(--navy-700); background: rgb(31 95 139 / 8%); }
.nav__cta { margin-inline-start: 6px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
}
.nav__toggle span {
  width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 9px 18px; font-size: .88rem; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2a1e05;
  box-shadow: 0 8px 22px rgb(212 169 74 / 34%);
}
.btn--gold:hover { box-shadow: 0 14px 30px rgb(212 169 74 / 42%); }

.btn--ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}
.btn--outline { border-color: rgb(255 255 255 / 40%); color: var(--white); }
.btn--outline:hover { background: rgb(255 255 255 / 12%); }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--navy-600);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgb(233 196 106 / 26%);
}
.eyebrow--gold { color: var(--gold-400); }
.grad {
  background: linear-gradient(100deg, var(--gold-400), #f3d789 45%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 92px) 0 clamp(60px, 9vw, 110px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 18px; color: var(--navy-900); }
.lede { max-width: 46ch; color: var(--ink-soft); font-size: 1.06rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.6rem; color: var(--navy-800); line-height: 1.2; }
.hero__stats span { color: var(--ink-soft); font-size: .84rem; }

/* glass case card */
.hero__card { perspective: 1200px; }
.glass {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  color: #eaf2fa;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.hero__card:hover .glass { transform: rotateY(0) rotateX(0) translateY(-4px); }
.glass__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  font-size: .76rem;
  font-weight: 700;
}
.pill--live { background: rgb(233 196 106 / 16%); color: var(--gold-200); }
.pill--live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-400);
  animation: pulse 1.8s infinite;
}
.glass__case { font-size: 1.14rem; font-weight: 700; margin-bottom: 18px; }

.timeline { margin: 0; padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 7px;
  top: 8px; bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, rgb(233 196 106 / 60%), rgb(255 255 255 / 8%));
}
.timeline li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 0 0 16px;
}
.timeline li > div { display: flex; flex-direction: column; }
.timeline b { font-size: .95rem; font-weight: 400; }
.timeline small { color: rgb(234 242 250 / 58%); font-size: .76rem; }
.tick {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid rgb(255 255 255 / 35%);
}
.tick--gold { border-color: var(--gold-400); background: var(--gold-400); }
.tick--pulse { border-color: var(--gold-400); animation: pulse 1.8s infinite; }
.timeline__next b { color: var(--gold-200); }
.glass__note {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: rgb(234 242 250 / 62%);
  font-size: .78rem;
}
.hero__fade {
  position: absolute; inset-inline: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(233 196 106 / 55%); }
  70% { box-shadow: 0 0 0 10px rgb(233 196 106 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(233 196 106 / 0%); }
}

/* ---------- trust strip ---------- */
.strip { padding: 0 0 20px; margin-top: -30px; position: relative; z-index: 2; }
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--navy-700);
  font-size: .9rem;
  font-weight: 700;
}
.strip__item svg { width: 22px; height: 22px; color: var(--gold-500); flex: 0 0 auto; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, #eff4f9 12%, #eff4f9 88%, transparent); }

.head { max-width: 62ch; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.head--start { margin-inline: 0; text-align: start; }
.head h2 { color: var(--navy-900); }
.head__sub { margin-top: 12px; color: var(--ink-soft); }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--navy-600));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfdbe8; }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: 8px; color: var(--navy-800); }
.card p { color: var(--ink-soft); font-size: .94rem; }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy-050), #dceaf6);
  color: var(--navy-600);
}
.card__icon svg { width: 25px; height: 25px; }
.card__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gold-200);
  color: #6b5210;
  font-size: .74rem;
  font-weight: 700;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 18px;
  margin: 0; padding: 0; list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps__num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  font-size: 1.05rem;
  font-weight: 700;
}
.steps h3 { margin-bottom: 6px; color: var(--navy-800); }
.steps p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- feature (mokkelin) ---------- */
.feature {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900) 55%, #05182b);
  color: #e9f1f9;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  inset-inline-end: -180px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(233 196 106 / 18%), transparent 66%);
}
.feature__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.feature h2 { margin-bottom: 16px; }
.feature p { color: rgb(233 241 249 / 78%); }

.feature__list { margin: 22px 0 28px; padding: 0; list-style: none; }
.feature__list li {
  position: relative;
  padding-inline-start: 28px;
  margin-bottom: 11px;
  color: rgb(233 241 249 / 90%);
  font-size: .96rem;
}
.feature__list span {
  position: absolute;
  inset-inline-start: 0; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgb(233 196 106 / 18%);
}
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* phone mock */
.feature__device { display: grid; place-items: center; }
.phone {
  position: relative;
  width: min(340px, 88vw);
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(160deg, #16324c, #0a1c2e);
  box-shadow: 0 40px 90px rgb(0 0 0 / 45%), inset 0 0 0 1px rgb(255 255 255 / 8%);
  animation: float 7s ease-in-out infinite;
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 12px 12px;
  border-radius: 30px;
  background: #eef4fa;
}
.msg {
  max-width: 92%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: .82rem;
  line-height: 1.75;
  color: var(--ink);
  box-shadow: 0 2px 8px rgb(9 30 51 / 8%);
}
.msg b { display: block; margin-bottom: 3px; color: var(--navy-700); font-size: .78rem; }
.msg p { margin: 0; color: inherit; }
.msg--bot { align-self: flex-start; background: var(--white); border-end-start-radius: 5px; }
.msg--me { align-self: flex-end; background: #d8ecff; border-end-end-radius: 5px; direction: ltr; text-align: left; }
.phone__keyboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 4px;
}
.phone__keyboard span {
  padding: 8px 6px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-700);
  font-size: .72rem;
  text-align: center;
  box-shadow: 0 1px 4px rgb(9 30 51 / 8%);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- about ---------- */
.about { display: grid; place-items: center; }
.about__card {
  max-width: 760px;
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.about__card img { margin: 0 auto 16px; }
.about__card h2 { color: var(--navy-900); }
.about__role { color: var(--gold-500); font-weight: 700; margin-bottom: 16px; }
.about__bio { color: var(--ink-soft); }
.about__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}
.about__badges span {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--navy-050);
  color: var(--navy-700);
  font-size: .82rem;
  font-weight: 700;
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
details {
  padding: 4px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
details[open] { border-color: #cbdae9; box-shadow: var(--shadow-md); }
summary {
  position: relative;
  padding: 16px 30px 16px 0;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before,
summary::after {
  content: "";
  position: absolute;
  inset-inline-start: auto;
  inset-inline-end: 2px;
  top: 50%;
  width: 13px; height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transition: transform .3s var(--ease);
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
details p { padding-bottom: 18px; color: var(--ink-soft); font-size: .94rem; }

/* ---------- cta ---------- */
.cta { padding: 0 0 clamp(40px, 6vw, 70px); }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 28px;
  background: linear-gradient(120deg, var(--navy-700), var(--navy-900));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__inner h2 { margin-bottom: 8px; }
.cta__inner p { color: rgb(255 255 255 / 72%); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.contact__item {
  display: grid;
  gap: 4px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.contact__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact__ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--navy-050);
  color: var(--navy-600);
}
.contact__ico svg { width: 21px; height: 21px; }
.contact__item b { color: var(--navy-800); }
.contact__item > span:last-child { color: var(--ink-soft); font-size: .92rem; }

/* ---------- footer ---------- */
.foot { margin-top: 40px; padding-top: 46px; background: var(--navy-900); color: rgb(255 255 255 / 78%); }
.foot__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding-bottom: 30px;
}
.foot__grid > div { display: flex; align-items: center; gap: 12px; }
.foot__grid strong { color: #fff; }
.foot__grid small { opacity: .7; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px; }
.foot__links a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .88rem;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.foot__links a:hover { background: rgb(255 255 255 / 10%); color: #fff; }
.foot__note { max-width: 46ch; font-size: .82rem; opacity: .72; }
.foot__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-block: 16px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: .8rem;
  opacity: .78;
}

/* ---------- floating call button ---------- */
.fab {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-500));
  color: #2a1e05;
  box-shadow: 0 12px 30px rgb(212 169 74 / 45%);
  transition: transform .25s var(--ease);
}
.fab svg { width: 25px; height: 25px; }
.fab:hover { transform: scale(1.08); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 26px;
  z-index: 90;
  width: fit-content;
  max-width: 90vw;
  margin-inline: auto;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translateY(0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    inset-inline: 12px;
    top: 74px;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .nav__cta { margin-inline-start: auto; }
  .nav__toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .glass { transform: none; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .feature__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot__note { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .strip__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 12px 24px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .nav__brand small { display: none; }
  .fab { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .nav, .fab, .bg-orbs, .toast { display: none; }
  body { background: #fff; }
  .feature, .foot, .cta__inner, .glass { background: #fff; color: #000; }
}

/* =========================================================
   بخش‌های تازه‌ی کمپین: نوار آمار، نظر موکلین، تعهد،
   معرفی محصول، نوار تماس موبایل
   ========================================================= */

.eyebrow--dark { color: var(--navy-700); }

/* ---------- band: آمار برجسته ---------- */
.band { padding: 0 0 clamp(20px, 4vw, 34px); }
.band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.band__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3.4vw, 38px) clamp(18px, 2.6vw, 30px);
  text-align: center;
  color: #eaf2fa;
  position: relative;
}
.band__item:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgb(255 255 255 / 12%);
}
.band__item strong {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  background: linear-gradient(100deg, var(--gold-400), #f3d789 55%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band__item span { color: rgb(233 241 249 / 74%); font-size: .87rem; }

/* ---------- quotes: نظر موکلین ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 30px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote__mark {
  position: absolute;
  inset-inline-end: 22px;
  top: 6px;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--gold-200);
  pointer-events: none;
}
.quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: .97rem;
  line-height: 2;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote figcaption b { display: block; color: var(--navy-800); font-size: .92rem; }
.quote figcaption small { color: var(--ink-soft); font-size: .78rem; }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-800));
  color: var(--gold-200);
  font-size: .82rem;
  font-weight: 700;
}

/* ---------- guarantee: تعهد پاسخ‌گویی ---------- */
.guarantee {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 50px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.guarantee h2 { color: var(--navy-900); margin-bottom: 12px; }
.guarantee__copy > p { color: var(--ink-soft); }
.guarantee__list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.guarantee__list li { display: flex; gap: 14px; align-items: flex-start; }
.guarantee__list b { display: block; color: var(--navy-800); font-size: .96rem; }
.guarantee__list small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .88rem; line-height: 1.9; }
.guarantee__num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-500));
  color: #2a1e05;
  font-size: .95rem;
  font-weight: 700;
}
.guarantee__seal { display: grid; place-items: center; }
.seal {
  display: grid;
  place-items: center;
  gap: 2px;
  width: min(220px, 60vw);
  aspect-ratio: 1;
  padding: 20px;
  border-radius: 50%;
  text-align: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 26px 60px rgb(7 31 54 / 30%), inset 0 0 0 1px rgb(233 196 106 / 40%);
}
.seal span { color: rgb(233 241 249 / 76%); font-size: .86rem; }
.seal strong { font-size: 2.5rem; line-height: 1; color: var(--gold-400); }
.seal small { color: rgb(233 241 249 / 60%); font-size: .78rem; }

/* ---------- promo: معرفی نرم‌افزار حقوقی ---------- */
.promo {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 52px);
  border-radius: 28px;
  background: linear-gradient(135deg, #f4f8fc, #e8f1fa);
  border: 1px solid #dbe7f3;
}
.promo .pill--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2a1e05;
  margin-bottom: 14px;
}
.promo h3 { color: var(--navy-900); font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.promo__copy > p { margin-top: 12px; color: var(--ink-soft); }
.promo__list { margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.promo__list li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--navy-700);
  font-size: .94rem;
  font-weight: 700;
}
.promo__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgb(212 169 74 / 16%);
}
.promo__art { display: grid; place-items: center; }
.promo__win {
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.promo__bar { display: flex; gap: 6px; padding-bottom: 12px; }
.promo__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7e2ee; }
.promo__bar i:first-child { background: var(--gold-400); }
.promo__rows { display: grid; gap: 9px; }
.promo__rows span {
  height: 13px;
  border-radius: 7px;
  background: linear-gradient(90deg, #e4edf6, #f2f7fc);
}
.promo__rows span:nth-child(1) { width: 82%; }
.promo__rows span:nth-child(2) { width: 62%; }
.promo__rows span:nth-child(3) { width: 92%; background: linear-gradient(90deg, var(--gold-200), #fdf4dd); }
.promo__rows span:nth-child(4) { width: 54%; }
.promo__rows span:nth-child(5) { width: 74%; }

/* ---------- ctaBar: نوار تماس چسبان موبایل ---------- */
.ctaBar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgb(255 255 255 / 94%);
  backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 26px rgb(9 30 51 / 8%);
}
.ctaBar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  padding: 13px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2a1e05;
  font-size: .92rem;
  font-weight: 700;
}
.ctaBar a svg { width: 17px; height: 17px; }
.ctaBar__alt {
  background: var(--white) !important;
  border: 1px solid var(--line);
  color: var(--navy-700) !important;
}

/* ---------- qrbox: جعبه‌ی کد QR دفتر ---------- */
.qrbox {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin-top: 26px;
  padding: clamp(24px, 3.6vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}
.qrbox h3 { color: var(--navy-900); font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.qrbox__copy > p { margin-top: 12px; color: var(--ink-soft); font-size: .95rem; }
.qrbox__list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.qrbox__list li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--navy-700);
  font-size: .92rem;
  font-weight: 700;
}
.qrbox__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgb(212 169 74 / 16%);
}
.qrbox__art { display: grid; justify-items: center; gap: 14px; }
.qrbox__art img {
  width: min(240px, 68vw);
  height: auto;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.qrbox__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.qrbox__chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--navy-050);
  color: var(--navy-700);
  font-size: .84rem;
  font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.qrbox__chip:hover { background: var(--navy-700); color: #fff; }

@media (max-width: 980px) {
  .band__grid { grid-template-columns: 1fr 1fr; }
  .band__item:nth-child(2n)::after { display: none; }
  .guarantee { grid-template-columns: 1fr; }
  .guarantee__seal { order: -1; }
  .promo { grid-template-columns: 1fr; }
  .promo__art { order: -1; }
  .qrbox { grid-template-columns: 1fr; }
  .qrbox__art { order: -1; }
}

@media (max-width: 620px) {
  .band__grid { grid-template-columns: 1fr; }
  .band__item::after { display: none; }
  .band__item { padding: 20px 16px; }
  body { padding-bottom: 78px; }
  .ctaBar { display: flex; }
  .fab { display: none; }
  .toast { bottom: 96px; }
}

@media print {
  .ctaBar { display: none; }
}
