@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

:root {
  --navy: #0B2545;
  --navy-700: #13315C;
  --navy-500: #1D4E89;
  --gold: #D99A2B;
  --gold-light: #F2C14E;
  --ink: #14202E;
  --muted: #6B7A90;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --cream: #FBF8F1;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.06), 0 2px 8px rgba(11,37,69,.05);
  --shadow-md: 0 4px 12px rgba(11,37,69,.08), 0 12px 32px rgba(11,37,69,.07);
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Latin numerals stay LTR-clean inside RTL text */
.num, time, .tel { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: embed; display: inline-block; }

h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--navy-500); text-decoration: none; transition: color .18s; }
a:hover { color: var(--gold); }
img, svg { max-width: 100%; height: auto; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .5px;
  color: var(--gold); background: rgba(217,154,43,.1);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}

.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { inset-inline-start: 16px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark { width: 44px; height: 44px; display: block; border-radius: 11px; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav__logo-text strong { font-size: 1.18rem; font-weight: 700; color: var(--navy); }
.nav__logo-text small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav__links a { color: var(--navy-700); font-weight: 500; font-size: .96rem; position: relative; }
.nav__links a::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold); transition: width .22s;
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: inherit; white-space: nowrap;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #201703; }
.btn--gold:hover { background: var(--gold-light); color: #201703; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--lg { padding: 14px 30px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(29,78,137,.16), transparent 60%),
    radial-gradient(700px 400px at 5% 10%, rgba(217,154,43,.12), transparent 60%),
    var(--bg-soft);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero h1 span { color: var(--gold); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow-md);
}
.hero__card h3 { margin-bottom: 18px; font-size: 1.05rem; }
.hero__list { list-style: none; margin: 0; padding: 0; }
.hero__list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.hero__list li:last-child { border-bottom: 0; }
.hero__list .tick {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: rgba(217,154,43,.16); color: var(--gold);
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat__num { font-size: 2.1rem; font-weight: 700; color: var(--navy); display: block; }
.stat__num small { color: var(--gold); }
.stat__label { color: var(--muted); font-size: .9rem; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(217,154,43,.4); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-500) 100%);
  display: grid; place-items: center; color: var(--gold-light);
}
.card__icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 12px; }
.step__n {
  width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--gold-light);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; font-size: 1.05rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); font-size: .88rem; margin: 0 0 2px; }
.info-list .v { font-weight: 500; margin: 0; }
.info-list .ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(29,78,137,.08); color: var(--navy-500); display: grid; place-items: center;
}
.info-list .ico svg { width: 20px; height: 20px; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); filter: grayscale(.2); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 55%, var(--navy-500) 100%);
  color: #fff; text-align: center; padding: clamp(48px, 7vw, 80px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 58ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 24px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 5px 0; }
.footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__toggle { display: block; margin-inline-start: auto; }
  .nav__links {
    position: absolute; top: 76px; inset-inline: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__actions { margin-inline-start: 12px; }
}
@media (max-width: 560px) {
  .grid-3, .stats, .steps, .footer-grid { grid-template-columns: 1fr; }
  .nav__logo-mark { width: 38px; height: 38px; }
  .nav__logo-text strong { font-size: 1.02rem; }
  .nav__logo-text small { display: none; }
}
