/* ===== Tokens ===== */
:root {
  --teal-900: #0b3a3f;
  --teal-800: #0f4c52;
  --teal-600: #1a7479;
  --teal-500: #1f8a8f;
  --teal-300: #7cc4c3;
  --mint-100: #eaf6f4;
  --mint-50: #f4faf9;
  --gold: #c8a463;
  --ink: #17282a;
  --ink-soft: #546a6c;
  --line: #dbe9e7;
  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 58, 63, .06);
  --shadow: 0 12px 32px -12px rgba(11, 58, 63, .18);
  --header-h: 76px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.45; margin: 0; }
p { margin: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--teal-500);
  margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal-500); color: var(--white); box-shadow: 0 8px 20px -8px rgba(31, 138, 143, .7); }
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn--ghost { border-color: var(--teal-300); color: var(--teal-800); background: transparent; }
.btn--ghost:hover { background: var(--mint-100); }
.btn--sm { padding: 9px 18px; font-size: .88rem; }

.link { color: var(--teal-500); font-weight: 700; font-size: .92rem; }
.link:hover { color: var(--teal-800); }
.muted { color: var(--ink-soft); font-size: .88rem; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
  color: var(--white);
}
.brand__mark svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.5; }
.brand__text strong { font-size: 1.05rem; font-weight: 800; color: var(--teal-900); }
.brand__text small { font-size: .78rem; color: var(--ink-soft); }

.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 6px; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--teal-500); border-radius: 2px;
  transform: scaleX(0); transition: transform .25s;
}
.nav a:hover, .nav a.is-active { color: var(--teal-800); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(124, 196, 195, .28), transparent 60%),
    linear-gradient(180deg, var(--mint-50), var(--mint-100));
  padding: 56px 0 120px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: var(--teal-900); }
.hero h1 span { color: var(--teal-500); }
.hero__lead { margin-top: 18px; font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 36px; }
.hero__meta li { display: flex; flex-direction: column; padding-inline-start: 16px; border-inline-start: 2px solid var(--teal-300); line-height: 1.6; }
.hero__meta b { font-size: 1.25rem; color: var(--teal-900); }
.hero__meta span { font-size: .82rem; color: var(--ink-soft); }

.hero__visual { position: relative; justify-self: center; padding: 30px 40px; isolation: isolate; }
.portrait {
  position: relative;
  width: 260px; aspect-ratio: 3 / 4;
  border-radius: 140px 140px var(--radius-lg) var(--radius-lg);
  background: var(--white);
  padding: 10px;
  box-shadow: var(--shadow);
}
.portrait::before {
  content: ""; position: absolute; inset: -18px -18px 26px 26px; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, var(--teal-300), var(--teal-500));
  opacity: .35;
}
.portrait__art {
  width: 100%; height: 100%; padding: 34px 30px 26px;
  border-radius: 130px 130px calc(var(--radius-lg) - 8px) calc(var(--radius-lg) - 8px);
  background: linear-gradient(170deg, var(--teal-500), var(--teal-800));
  stroke-width: 2.4;
}
.art-crown { fill: var(--white); stroke: none; }
.art-metal { fill: rgba(255, 255, 255, .28); stroke: rgba(255, 255, 255, .85); }
.art-thread { stroke: rgba(255, 255, 255, .85); }
.art-gum { stroke: var(--gold); stroke-width: 3; opacity: .9; }

.badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow);
  line-height: 1.5; white-space: nowrap;
}
.badge svg { color: var(--teal-500); width: 26px; height: 26px; }
.badge b { display: block; font-size: .88rem; color: var(--teal-900); }
.badge small { font-size: .74rem; color: var(--ink-soft); }
.badge--top { top: 40px; right: -40px; }
.badge--bottom { bottom: 26px; left: -30px; }
.badge--bottom svg { color: var(--gold); }

.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; fill: var(--white); stroke: none; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section--tint { background: var(--mint-50); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--teal-900); }
.section__head p { margin-top: 12px; color: var(--ink-soft); }
.section__head--start { text-align: start; margin: 0; }
.section__head--start .btn { margin-top: 24px; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__intro h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--teal-900); }
.about__intro p { margin-top: 16px; color: var(--ink-soft); font-size: 1.02rem; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.creds li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
  line-height: 1.6;
}
.creds li:hover { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.creds__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-500); flex-shrink: 0; }
.creds b { display: block; color: var(--teal-900); }
.creds small { color: var(--ink-soft); font-size: .86rem; }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-500); margin-bottom: 18px; }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.12rem; color: var(--teal-900); margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: .93rem; }

.service--featured {
  grid-column: span 2; display: flex; gap: 22px; align-items: flex-start;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-500));
  border: none; color: var(--white);
}
.service--featured .service__icon { background: rgba(255, 255, 255, .14); color: var(--white); width: 68px; height: 68px; }
.service--featured .service__icon svg { width: 36px; height: 36px; }
.service--featured h3 { color: var(--white); font-size: 1.35rem; }
.service--featured p { color: rgba(255, 255, 255, .85); font-size: 1rem; max-width: 460px; }
.service--featured .link { display: inline-block; margin-top: 14px; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .5); }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; right: 12%; left: 12%;
  border-top: 2px dashed var(--teal-300); opacity: .7;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--white); border: 2px solid var(--teal-500);
  color: var(--teal-500); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--white);
}
.step h3 { font-size: 1.05rem; color: var(--teal-900); margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--teal-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint-100); color: var(--teal-500); font-size: 1.2rem; font-weight: 500;
  transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal-500); color: var(--white); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }

/* ===== Contact ===== */
.contact {
  display: grid; grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact__info { padding: 40px; display: grid; gap: 26px; align-content: start; }
.contact__item { display: flex; gap: 16px; }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal-500); flex-shrink: 0; }
.contact__item small { display: block; font-size: .82rem; color: var(--ink-soft); }
.contact__item p { font-weight: 500; color: var(--ink); }
.phones { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.phones a { direction: ltr; unicode-bidi: isolate; font-weight: 700; color: var(--teal-800); font-size: 1.08rem; }
.phones a:hover { color: var(--teal-500); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.contact__map { min-height: 380px; background: var(--mint-100); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: var(--teal-900); color: rgba(255, 255, 255, .7); padding: 36px 0; margin-top: 20px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand--light .brand__mark { background: rgba(255, 255, 255, .1); }
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text small { color: rgba(255, 255, 255, .6); }
.footer__copy { font-size: .85rem; }

/* ===== Floating call ===== */
.fab {
  position: fixed; bottom: 18px; left: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--teal-500); color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(31, 138, 143, .7);
}
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--teal-500); animation: ring 2.2s infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fab::before { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .header__cta { display: none; }
  .badge--top { right: -10px; }
  .badge--bottom { left: -10px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-inline-start: auto;
    background: var(--mint-100); border: 0; border-radius: 12px; cursor: pointer; padding: 0 11px;
  }
  .nav-toggle span { height: 2px; background: var(--teal-800); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0;
    flex-direction: column; gap: 0;
    background: var(--white); padding: 8px 16px 16px;
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .hero { padding: 44px 0 100px; }
  .hero::before {
    content: ""; position: absolute; top: -30px; left: -70px;
    width: 280px; height: 280px; opacity: .07; transform: rotate(-12deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f4c52'%3E%3Cpath d='M7 3c-2.2 0-4 1.9-4 4.4 0 2 .8 3.4 1.5 5 .7 1.7.9 3.4 1.2 5.6.2 1.5.7 3 1.8 3 1.4 0 1.6-2.2 1.9-3.8.3-1.5.8-2.7 2.6-2.7s2.3 1.2 2.6 2.7c.3 1.6.5 3.8 1.9 3.8 1.1 0 1.6-1.5 1.8-3 .3-2.2.5-3.9 1.2-5.6.7-1.6 1.5-3 1.5-5C21 4.9 19.2 3 17 3c-1.9 0-3 1.2-5 1.2S8.9 3 7 3z'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
  }
  .hero__inner { position: relative; grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__meta { display: none; }
  .eyebrow::before { display: none; }

  /* Mobile: no illustration, credentials as two cards */
  .portrait { display: none; }
  .hero__visual {
    justify-self: stretch; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .badge {
    position: static;
    flex-direction: column; text-align: center; gap: 8px;
    padding: 18px 12px; white-space: normal;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .badge svg {
    width: 46px; height: 46px; padding: 11px;
    border-radius: 50%; background: var(--mint-100);
  }
  .badge--bottom svg { background: #f7f0e3; }
  .badge b { font-size: .92rem; }
  .badge small { display: block; font-size: .76rem; line-height: 1.6; }

  .section { padding: 64px 0; }
  .about, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .section__head--start { text-align: center; }

  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }

  .contact { grid-template-columns: 1fr; }
  .contact__info { padding: 28px 22px; }
  .contact__map, .contact__map iframe { min-height: 300px; }

  .fab { display: grid; }
}

@media (max-width: 560px) {
  .brand__text small { display: none; }
  .services { grid-template-columns: 1fr; }
  .service--featured { grid-column: auto; flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
