/*
  تم روشن حرفه‌ای (آبی سلطنتی + زرد CTA) — RTL
  فونت وزیرمتن: سه فایل woff2 را در /assets/fonts/ بگذارید؛ بلوک @font-face زیر را از کامنت خارج کنید و در :root مقدار --font را به
  "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif برگردانید.
  (دانلود خودکار از این محیط به‌خاطر قطع/فیلتر شبکه انجام نشد.)
*/
/*
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*/
@font-face {
  font-family: "Mikhak";
  src: local("Mikhak"), local("Mikhak DS"), url("/assets/fonts/Mikhak.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #143c8c;
  --brand-dark: #0f2f6d;
  --brand-soft: #e8eefc;
  --accent: #f5c400;
  --accent-hover: #ffd54a;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --border: rgba(20, 60, 140, 0.12);
  --text: #0f172a;
  --muted: #475569;
  --shadow: 0 18px 50px -28px rgba(20, 60, 140, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(15, 23, 42, 0.18);
  --radius: 20px;
  --radius-sm: 14px;
  --font: Tahoma, "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body,
.site-body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  letter-spacing: 0;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(900px 420px at 10% -5%, rgba(245, 196, 0, 0.12), transparent),
    radial-gradient(700px 380px at 95% 0%, rgba(20, 60, 140, 0.08), transparent);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-weight: 800;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: #1a1200;
  border-radius: 10px;
  transform: translateY(-200%);
  z-index: 9999;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.preheader {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #e8eefc;
  font-size: 0.9rem;
}

.preheader-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.preheader-tagline {
  opacity: 0.95;
}

.preheader-phone a {
  font-weight: 800;
  color: #fff;
  direction: ltr;
  unicode-bidi: isolate;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.18);
  border: 1px solid rgba(245, 196, 0, 0.45);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.nav-desktop {
  display: none;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-desktop a:hover {
  color: var(--brand);
}

.phone-inline {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  color: #1a1200;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px -12px rgba(245, 196, 0, 0.85);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--brand);
}

.btn-ghost:hover {
  border-color: rgba(20, 60, 140, 0.28);
  background: var(--brand-soft);
}

.mobile-nav-toggle {
  display: inline-flex;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer nav {
  display: grid;
  gap: 12px;
  font-weight: 700;
}

.mobile-drawer nav a {
  padding: 10px 4px;
  border-bottom: 1px dashed rgba(20, 60, 140, 0.12);
}

.hero-wrap {
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero {
  padding: 40px 0 48px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-title-mikhak {
  font-family: "Mikhak", "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  font-weight: 700;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 52ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.35);
}

.hero-visual {
  position: relative;
}

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-badge {
  position: absolute;
  inset-inline-end: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.photo-split {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

@media (min-width: 720px) {
  .photo-split {
    grid-template-columns: 1fr 1fr;
  }
}

.media-tile {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.media-caption {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  background: linear-gradient(180deg, #fff, var(--brand-soft));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--brand);
}

.mini-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.mini-form input,
.mini-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fbfcff;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.mini-form textarea {
  min-height: 88px;
  resize: vertical;
}

.mini-form .field {
  margin-bottom: 12px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: linear-gradient(180deg, #ffffff, var(--surface-2));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.form-center-card {
  margin-inline: auto;
}

.grid-3 {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--brand);
}

.feature span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.services-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 780px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-item {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.service-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--brand);
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.testimonials {
  display: grid;
  gap: 16px;
}

@media (min-width: 860px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quote p {
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 500;
}

.quote cite {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fff;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--brand);
}

.faq details[open] summary {
  color: var(--brand-dark);
}

.map-block {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  background: linear-gradient(135deg, #ffffff, var(--brand-soft));
  box-shadow: var(--shadow-sm);
}

.map-block h3 {
  margin-top: 0;
  color: var(--brand);
}

.district-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.district-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: #fff;
}

.district-links a:hover {
  border-color: rgba(245, 196, 0, 0.65);
  background: #fffdf3;
}

.footer {
  padding: 48px 0 120px;
  background: linear-gradient(180deg, var(--brand-dark), #0a1f4d);
  color: #cbd5f5;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer strong,
.footer .brand {
  color: #fff !important;
}

.footer a {
  color: #e8eefc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer a:hover {
  color: #fff;
}

.footer-showcase {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.footer-media-card {
  width: min(760px, 100%);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.28);
  box-shadow: 0 16px 38px -24px rgba(0, 0, 0, 0.55);
  background: #102f72;
}

.footer-media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.footer-media-card figcaption {
  display: grid;
  gap: 3px;
  padding: 12px 14px 14px;
}

.footer-media-card strong {
  color: #fff;
  font-size: 1rem;
}

.footer-media-card span {
  color: #d8e4ff;
  font-size: 0.9rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumb a {
  color: var(--brand);
}

.breadcrumb li::after {
  content: "/";
  margin-inline-start: 8px;
  opacity: 0.35;
}

.breadcrumb li:last-child::after {
  content: "";
}

.prose p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 500;
}

.prose h2 {
  margin: 28px 0 12px;
  font-size: 1.28rem;
  color: var(--brand);
}

.cta-band {
  margin: 28px 0;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(20, 60, 140, 0.14);
  background: linear-gradient(135deg, #ffffff, var(--brand-soft));
  box-shadow: var(--shadow-sm);
}

.cta-band .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.sticky-mobile {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  box-shadow: 0 -12px 40px -28px rgba(15, 23, 42, 0.35);
}

.sticky-mobile .btn {
  padding: 11px 6px;
  font-size: 0.76rem;
}

@media (min-width: 900px) {
  .sticky-mobile {
    display: none;
  }
  .site-body {
    padding-bottom: 0;
  }
}

@media (max-width: 899px) {
  .site-body {
    padding-bottom: 78px;
  }
}

.alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.alert-error {
  background: #fff1f2;
  border: 1px solid #fda4af;
  color: #9f1239;
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
