/* Tax Squad — site styles
   Palette from the logo: deep slate ledger + a highlighter yellow for the things that matter.
   Logical properties throughout so Farsi (RTL) mirrors correctly. */

:root {
  --ink: #12262d;        /* deepest slate — header, footer */
  --slate: #1e3a44;      /* brand slate from the logo */
  --slate-2: #2f5361;    /* gradient partner */
  --paper: #f2f5f4;      /* cool paper, page background */
  --white: #ffffff;      /* receipts and cards */
  --hi: #ffd84d;         /* highlighter */
  --hi-deep: #f2bf1d;
  --mint: #23806f;       /* ticks, confirmations */
  --text: #17282e;
  --muted: #54686e;
  --line: #d3dddc;
  --line-dark: rgba(255, 255, 255, 0.14);

  --f-display: 'Nunito', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --f-body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --r: 14px;
  --r-sm: 9px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(18, 38, 45, 0.06), 0 8px 24px -12px rgba(18, 38, 45, 0.25);
}

:lang(fa) {
  --f-display: 'Vazirmatn', system-ui, sans-serif;
  --f-body: 'Vazirmatn', system-ui, sans-serif;
  --f-mono: 'Vazirmatn', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
}
:lang(fa) body, body:lang(fa) { line-height: 1.85; }
img, svg { max-width: 100%; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--hi-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 900; line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.01em; }
:lang(fa) :is(h1, h2, h3, h4) { font-weight: 800; letter-spacing: 0; line-height: 1.45; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--hi); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

/* ── buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-hi { background: var(--hi); color: var(--ink); }
.btn-hi:hover { background: var(--hi-deep); color: var(--ink); }
.btn-ink { background: var(--slate); color: var(--white); }
.btn-ink:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: inherit; }
.btn-block { width: 100%; }

/* ── header ──────────────────────────────────── */
.site-head { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-dark); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 30px; width: auto; display: block; }
.menu-toggle { display: none; }
.menu-panel { display: flex; align-items: center; gap: 22px; }
.menu nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu nav a { color: rgba(255, 255, 255, 0.86); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 700; font-size: 0.97rem; }
.menu nav a:hover, .menu nav a[aria-current] { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.menu nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--hi); border-radius: 8px 8px 0 0; }
.lang-switch { display: flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; }
.lang-switch a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font: 600 0.82rem/1 var(--f-mono); padding: 7px 10px; border-radius: 999px; min-width: 36px; text-align: center; }
.lang-switch a[lang='fa'] { font-family: 'Vazirmatn', system-ui, sans-serif; }
.lang-switch a[aria-current] { background: var(--white); color: var(--ink); }
.site-head .btn { min-height: 40px; padding: 8px 16px; }

@media (max-width: 1020px) {
  .head-row { flex-wrap: wrap; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 12px; min-height: 44px; border-radius: 10px; font: 700 1rem/1 var(--f-body); color: var(--white); background: transparent; border: 1px solid var(--line-dark); }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
  .menu-bars::before, .menu-bars::after { content: ''; position: absolute; inset-inline-start: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-panel { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 16px; }
  .js .menu-panel {
    position: absolute; inset-inline: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 22px; max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .js .menu-panel:not(.open) { display: none; }
  .menu nav ul { flex-direction: column; }
  .menu nav a { display: block; padding: 12px 10px; font-size: 1.05rem; }
  .lang-switch { align-self: flex-start; }
}

/* ── hero ────────────────────────────────────── */
.hero {
  background: radial-gradient(120% 90% at 85% 0%, var(--slate-2) 0%, var(--slate) 45%, var(--ink) 100%);
  color: var(--white);
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { font: 600 0.85rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hi); margin-bottom: 18px; }
:lang(fa) .eyebrow { letter-spacing: 0; font-size: 0.95rem; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.slogan { display: block; font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; }
:lang(fa) .slogan { line-height: 1.4; letter-spacing: 0; font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem); }
.hl {
  background: linear-gradient(transparent 72%, rgba(255, 216, 77, 0.95) 72%, rgba(255, 216, 77, 0.95) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(18, 38, 45, 0.35);
}
.h1-sub { display: block; margin-top: 18px; font: 700 clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem)/1.35 var(--f-body); color: rgba(255, 255, 255, 0.92); letter-spacing: 0; }
.hero .lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.82); max-width: 60ch; }
.hero .lead strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.langs-note { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.lang-chips { display: inline-flex; gap: 6px; }
.lang-chips span { font: 600 0.78rem/1 var(--f-mono); border: 1px solid var(--line-dark); padding: 5px 8px; border-radius: 6px; }
.lang-chips span[lang='fa'] { font-family: 'Vazirmatn', system-ui, sans-serif; }

/* ── receipt (signature) ─────────────────────── */
.receipt { margin: 0; position: relative; justify-self: center; width: 100%; max-width: 380px; }
.receipt::before { /* the printer slot */
  content: ''; position: absolute; inset-inline: -14px; top: -10px; height: 14px; border-radius: 8px;
  background: #0b1a1f; box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.6); z-index: 2;
}
.receipt-paper {
  position: relative; background: var(--white); color: var(--ink);
  padding: 30px 26px 40px; font: 500 0.92rem/1.5 var(--f-mono);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  --tooth: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
  transform-origin: top center;
  animation: print 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}
@keyframes print {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-24px); }
  to { clip-path: inset(0 0 -20px 0); transform: translateY(0); }
}
.r-title { font: 900 1.6rem/1 var(--f-display); text-align: center; letter-spacing: 0.06em; margin-bottom: 6px; }
.r-sub { text-align: center; color: var(--muted); font-size: 0.8rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed #b9c6c5; }
.r-from { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; text-align: end; }
:lang(fa) .r-from { letter-spacing: 0; }
.r-lines { list-style: none; margin: 0 0 14px; padding: 0; }
.r-lines li, .r-total { display: flex; align-items: baseline; gap: 6px; padding-block: 5px; }
.r-dots { flex: 1; border-bottom: 2px dotted #b9c6c5; transform: translateY(-4px); min-width: 12px; }
.r-val { font-weight: 600; white-space: nowrap; }
.r-total { border-top: 1px dashed #b9c6c5; padding-top: 12px; font-weight: 600; }
.r-total strong {
  background: linear-gradient(transparent 15%, var(--hi) 15%, var(--hi) 88%, transparent 88%);
  padding-inline: 4px; white-space: nowrap;
}
.r-thanks { text-align: center; margin: 18px 0 12px; font-size: 0.82rem; color: var(--muted); }
.r-barcode { height: 34px; margin-inline: 18%; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 8px, var(--ink) 8px 9px, transparent 9px 12px); opacity: 0.85; }

/* ── definition strip ────────────────────────── */
.defn { background: var(--white); border-bottom: 1px solid var(--line); }
.defn-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: clamp(16px, 4vw, 56px); padding-block: clamp(32px, 4vw, 52px); align-items: start; }
.defn h2 { font-size: 1.5rem; margin: 0; }
.defn p { font-size: 1.15rem; margin: 0; max-width: 70ch; }

/* ── sections ────────────────────────────────── */
.section { padding-block: clamp(52px, 7vw, 96px); }
.section-tint { background: #e7eeed; }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.mt { margin-top: 56px; }
.note { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }
.updated { margin-top: 28px; color: var(--muted); font: 500 0.85rem/1.4 var(--f-mono); }

/* service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card a {
  display: flex; flex-direction: column; height: 100%; padding: 26px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card a:hover { border-color: var(--slate-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--slate); color: var(--hi); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card .card-price { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink); }

.price { font-family: var(--f-mono); white-space: nowrap; }
.price-from { font-size: 0.78em; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
:lang(fa) .price-from { text-transform: none; letter-spacing: 0; }
.price data { font-weight: 600; font-size: 1.15em; }
.price-unit { color: var(--muted); font-size: 0.85em; }

/* packages & tiers — every tier is a little receipt */
.tab-list { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.tab-list button { border: 0; background: transparent; font: 700 0.98rem/1 var(--f-body); color: var(--muted); padding: 12px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.tab-list button[aria-selected='true'] { background: var(--slate); color: var(--white); }
.pkg + .pkg { margin-top: 48px; }
.tabs.is-ready .pkg + .pkg { margin-top: 0; }
.pkg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.pkg-head :is(h2, h3) { margin: 0; font-size: 1.55rem; }
.pkg-head p { margin: 0; color: var(--muted); }
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; }
.tiers-2 { max-width: 760px; }
.tier {
  position: relative; display: flex; flex-direction: column; background: var(--white); padding: 26px 24px 30px;
  border-radius: var(--r-sm) var(--r-sm) 0 0; box-shadow: var(--shadow);
  --tooth: 8px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
}
.tier-featured { outline: 3px solid var(--hi); outline-offset: -3px; }
.tier-featured::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--hi); }
.tier-name { font-size: 1.25rem; margin-bottom: 6px; }
.tier-price { font-size: 1.5rem; margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px dashed #b9c6c5; }
.tier-desc { color: var(--muted); font-size: 0.97rem; }
.tier .ticks { margin-bottom: 22px; flex: 1; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.tick { flex-shrink: 0; margin-top: 5px; color: var(--mint); }
.ticks-light .tick { color: var(--hi); }
.ticks-lg li { font-size: 1.1rem; }

/* online band */
.online { background: var(--slate); color: rgba(255, 255, 255, 0.86); padding-block: clamp(52px, 7vw, 90px); }
.online h2 { color: var(--white); }
.online p { font-size: 1.1rem; max-width: 60ch; margin-bottom: 26px; }
.online-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.online .ticks { background: rgba(0, 0, 0, 0.16); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 26px; gap: 14px; color: var(--white); }

/* industry tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.tile {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.tile:hover { border-color: var(--slate-2); background: #fbfdfc; }
.tile-ico { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e2ecea; color: var(--slate); }
.tile-text { display: grid; gap: 2px; flex: 1; }
.tile-text strong { font: 800 1.08rem/1.25 var(--f-display); color: var(--ink); }
.tile-text span { color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.tile .arr { flex-shrink: 0; color: var(--slate-2); transition: transform 0.2s ease; }
.tile:hover .arr { transform: translateX(3px); }
[dir='rtl'] .arr { transform: scaleX(-1); }
[dir='rtl'] .tile:hover .arr { transform: scaleX(-1) translateX(3px); }

/* steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 26px 22px 22px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--hi); color: var(--ink); font: 900 1.1rem/1 var(--f-display); margin-bottom: 14px;
}
:lang(fa) .steps li::before { content: counter(step, persian); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* deadlines */
.dl-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.source { font-size: 0.92rem; }
.deadlines { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.deadlines th, .deadlines td { padding: 16px 20px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.deadlines tr:last-child > * { border-bottom: 0; }
.deadlines th { font: 600 0.93rem/1.45 var(--f-mono); color: var(--ink); white-space: nowrap; width: 1%; background: #f7faf9; }

/* faq */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq summary::after { content: '+'; font: 700 1.5rem/1 var(--f-mono); color: var(--slate-2); flex-shrink: 0; transition: transform 0.2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; margin: 0; color: #2b3d43; max-width: 70ch; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 1.45rem; }
.faq-group h2 a { color: inherit; text-decoration-thickness: 2px; text-decoration-color: var(--hi-deep); }

/* cta band */
.cta-band { background: var(--hi); color: var(--ink); padding-block: clamp(40px, 5vw, 64px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-band .btn-hi { background: var(--ink); color: var(--white); }
.cta-band .btn-hi:hover { background: var(--slate); color: var(--white); }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; font: 600 1.05rem/1 var(--f-mono); color: var(--ink); direction: ltr; }

/* ── inner pages ─────────────────────────────── */
.page-hero { background: linear-gradient(160deg, var(--ink), var(--slate) 70%, var(--slate-2)); color: rgba(255, 255, 255, 0.86); padding-block: 28px clamp(48px, 6vw, 80px); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); max-width: 22ch; }
.page-hero .lead { font-size: 1.15rem; max-width: 62ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 28px; }
.page-hero-grid.no-aside { grid-template-columns: minmax(0, 1fr); }
.page-hero .btn-ghost { color: var(--white); }
.nf { padding-block: 80px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 0.9rem; }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline-start: 6px; opacity: 0.5; }
.crumbs a { color: rgba(255, 255, 255, 0.78); }
.crumbs [aria-current] { color: var(--hi); }

.stub { background: var(--white); color: var(--text); padding: 26px; border-radius: var(--r-sm) var(--r-sm) 0 0; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  --tooth: 8px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--tooth) * 2) 100%;
  padding-bottom: 34px;
}
.stub-price { font-size: 1.6rem; padding-bottom: 12px; border-bottom: 1px dashed #b9c6c5; }
.stub-h { font-size: 1.05rem; margin: 16px 0 12px; }
.stub .ticks { font-size: 0.97rem; gap: 7px; }

.ind-badge { justify-self: center; display: grid; place-items: center; width: clamp(150px, 20vw, 220px); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 216, 77, 0.12); border: 2px dashed rgba(255, 216, 77, 0.5); color: var(--hi); }
.ind-badge .ico { width: 46%; height: 46%; stroke-width: 1.2; }

.prose-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.08rem; max-width: 68ch; }
.who { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: sticky; top: 96px; }
.who h2 { font-size: 1.2rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #e7eeed; border-radius: 999px; padding: 7px 14px; font-size: 0.95rem; }

.handle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.handle li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px; }
.handle li::before { content: ''; display: block; width: 36px; height: 6px; border-radius: 3px; background: var(--hi); margin-bottom: 14px; }
.handle p { color: var(--muted); margin: 0; }
.ind-p { margin-top: 32px; font-size: 1.1rem; max-width: 70ch; }

.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 40px; }
.jump a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--slate); }
.jump a:hover { border-color: var(--slate); }
.pricing-section .pkg { scroll-margin-top: 90px; }
.pkg { scroll-margin-top: 90px; }
.addons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 22px; }
.addon h3 { margin-bottom: 2px; font-size: 1.1rem; }
.addon p { margin: 0; color: var(--muted); }
.addon-price { font-size: 1.2rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fbfcfc; border: 1.5px solid #b9c6c5; border-radius: 10px; padding: 11px 13px; min-height: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); outline: 3px solid rgba(255, 216, 77, 0.7); outline-offset: 0; }
.form .btn { justify-self: start; }
.form-note { color: var(--muted); font-size: 0.9rem; margin: 0; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; background: #e3f2ee; color: #135447; font-weight: 700; }
.contact-card { background: var(--ink); color: rgba(255, 255, 255, 0.86); border-radius: var(--r); padding: 28px; }
.contact-card h2 { color: var(--white); font-size: 1.35rem; }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { display: flex; align-items: center; gap: 8px; font: 600 0.8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--hi); margin-bottom: 6px; }
:lang(fa) .contact-card dt { letter-spacing: 0; font-size: 0.9rem; }
.contact-card dd { margin: 0; }
.contact-card a { color: var(--white); }
.contact-card dd a[href^='tel'] { direction: ltr; unicode-bidi: isolate; }

/* ── footer ──────────────────────────────────── */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding-top: 64px; font-size: 0.97rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.foot-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.foot-slogan { font: 900 1.2rem/1.3 var(--f-display); color: var(--hi); }
.site-foot h2 { color: var(--white); font: 700 0.85rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
:lang(fa) .site-foot h2 { letter-spacing: 0; font-size: 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot address { font-style: normal; display: grid; gap: 10px; }
.site-foot address p { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.site-foot address svg { flex-shrink: 0; margin-top: 3px; color: var(--hi); }
.site-foot address a[href^='tel'] { direction: ltr; unicode-bidi: isolate; }
.foot-links { margin-top: 18px !important; display: flex !important; gap: 16px !important; }
.foot-base { border-top: 1px solid var(--line-dark); padding-block: 22px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.86rem; }
.foot-base p { margin: 0; max-width: 80ch; }
.foot-machine { font-family: var(--f-mono); }

/* ── responsive ──────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .page-hero-grid, .online-grid, .dl-grid, .prose-grid, .contact-grid, .defn-grid { grid-template-columns: minmax(0, 1fr); }
  .receipt { max-width: 360px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .who { position: static; }
  .ind-badge { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .deadlines th { white-space: normal; width: 38%; }
  .deadlines th, .deadlines td { padding: 14px; }
  .addon { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 100%; }
  .site-head .btn-hi { display: none; }
  .menu-panel .btn-hi { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .site-foot, .cta-band, .hero-actions { display: none; }
  .hero, .page-hero, .online { background: none; color: #000; }
}
