:root {
  --bg: #eef9fb;
  --white: #fff;
  --ink: #0f3b4a;
  --muted: #5d7d88;
  --line: #d5eef2;
  --teal: #14b8c6;
  --teal-d: #0e8f9c;
  --teal-s: #e4f7fa;
  --navy: #0b3d4a;
  --cta: #0a6d78;
  --r: 22px;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: 16px; flex-shrink: 0;
}
.brand__text { display: block; font-weight: 800; font-size: 15px; line-height: 1.2; }
.brand__sub { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.nav { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav__link {
  font-size: 13.5px; color: var(--ink); padding: 7px 14px;
  border-radius: 999px; font-weight: 600;
}
.nav__link.is-active, .nav__link:hover { background: var(--teal); color: #fff; }
.header__cta {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--teal); color: var(--teal-d);
  background: #fff; font-weight: 800; font-size: 13px;
  padding: 8px 16px; border-radius: 999px;
}
.nav-toggle { display: none; width: 42px; height: 42px; place-items: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; }
.mobile-menu { display: none; padding: 8px 18px 14px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; font-weight: 800; font-size: 13.5px; padding: 11px 18px;
}
.btn--teal { background: var(--teal); color: #fff; }
.btn--ghost { border: 1.5px solid var(--teal); color: var(--teal-d); background: #fff; }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--white { background: #fff; color: var(--teal-d); }

.hero { padding: 22px 0 8px; }
.hero__card {
  position: relative;
  min-height: 460px;
  border-radius: 32px;
  overflow: hidden;
  background: #e7f7fa;
}
.hero__copy {
  position: relative;
  z-index: 2;
  width: min(520px, 48%);
  margin-inline-end: auto;
  min-height: 460px;
  padding: 48px 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to left, rgba(231,247,250,.97) 58%, rgba(231,247,250,.55) 82%, transparent);
}
.hero__title { font-size: clamp(28px, 4vw, 44px); line-height: 1.28; font-weight: 800; margin-bottom: 14px; }
.hero__desc { color: var(--muted); max-width: 42ch; margin-bottom: 22px; font-size: 14.5px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.hero-chip {
  position: absolute; left: 22px; top: 42%; z-index: 3;
  background: rgba(255,255,255,.94); color: var(--teal-d);
  padding: 12px 16px; border-radius: 16px; font-weight: 800; font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 10px 28px rgba(14,143,156,.12);
}
.hero-chip i { color: var(--teal); margin-left: 4px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: #fff; border-radius: 20px; padding: 18px 10px;
  margin-top: -28px; position: relative; z-index: 2;
  box-shadow: 0 14px 36px rgba(14,143,156,.1);
}
.stat { text-align: center; font-size: 12.5px; color: var(--muted); }
.stat__ico {
  width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--teal-s); color: var(--teal-d);
  display: grid; place-items: center; font-size: 18px;
}
.stat strong { display: block; color: var(--ink); font-size: 15px; }

.section { padding: 64px 0 20px; }
.section--tight { padding-top: 48px; }
.section__head { text-align: center; margin-bottom: 28px; }
.section__head--plain { margin-bottom: 0; }
.section__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.section__sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section__bar {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; margin-bottom: 28px; gap: 12px;
}
.section__bar .btn { justify-self: start; }

.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.svc {
  background: #fff; border-radius: 20px; padding: 22px 14px 18px;
  text-align: center; border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14,143,156,.05);
}
.svc .ico {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--teal-s); color: var(--teal-d);
  display: grid; place-items: center; font-size: 22px;
}
.svc h3 { font-size: 14.5px; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 12.5px; }
.svc--feat {
  background: var(--navy); color: #fff; text-align: right;
  padding: 18px 16px; display: grid; align-content: space-between;
}
.svc--feat p { color: #b7d4dc; margin-bottom: 10px; }
.svc--feat img { width: 88px; margin: 8px auto 0; border-radius: 12px; }
.feat-link { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; font-size: 12.5px; }

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr) .72fr;
  gap: 10px;
  align-items: start;
}
.process::before {
  content: "";
  position: absolute; top: 23px; right: 11%; left: 24%;
  border-top: 2px dashed #b7e4ea;
}
.step { text-align: center; position: relative; z-index: 1; }
.step__n {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--teal-s); color: var(--teal-d);
  display: grid; place-items: center; font-weight: 800;
  border: 4px solid var(--bg);
}
.step h3 { font-size: 14.5px; }
.step p { color: var(--muted); font-size: 12.5px; }
.process-note {
  background: var(--teal-s); border-radius: 18px; padding: 18px 14px;
  font-weight: 800; color: var(--teal-d); font-size: 13.5px; line-height: 1.7;
}

.ba-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ba { background: transparent; }
.ba__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.ba__shots img { width: 100%; height: 118px; object-fit: cover; border-radius: 16px; }
.ba__arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: 12px; z-index: 1;
  box-shadow: 0 4px 12px rgba(14,143,156,.3);
}
.ba figcaption {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  text-align: center; font-size: 11.5px; color: var(--muted); padding-top: 8px;
}

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 16px 22px; text-align: center;
  box-shadow: 0 8px 24px rgba(14,143,156,.05);
}
.pcard h3 { font-size: 16px; margin-bottom: 4px; }
.pcard p { color: var(--muted); font-size: 13px; }
.pcard .from { color: var(--teal-d); font-weight: 800; font-size: 18px; margin: 14px 0 16px; }
.pcard .btn { width: 100%; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.member { text-align: center; }
.member img {
  width: 118px; height: 118px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 12px; border: 5px solid #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.member h3 { font-size: 14.5px; }
.member p { color: var(--muted); font-size: 12.5px; }

.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.test {
  background: #fff; border-radius: 20px; padding: 20px 18px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14,143,156,.05);
}
.test p { font-size: 13.5px; min-height: 5.6em; }
.test__who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.test__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.test__stars { color: #f5b301; font-size: 12px; display: flex; gap: 1px; }

.cta { padding: 28px 0 56px; }
.cta__box {
  border-radius: 26px; overflow: hidden; min-height: 210px;
  background:
    linear-gradient(90deg, rgba(10,109,120,.92) 0%, rgba(10,109,120,.78) 48%, rgba(10,109,120,.45) 100%),
    url("../images/hero.jpg") center / cover no-repeat;
  color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: center; padding: 36px 40px; gap: 16px;
}
.cta__eyebrow { opacity: .9; font-size: 13.5px; margin-bottom: 4px; }
.cta__box h2 { font-size: clamp(22px, 3vw, 32px); margin: 4px 0 10px; }
.cta__box p { opacity: .92; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }

.footer { background: #fff; border-top: 1px solid var(--line); padding: 42px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.1fr; gap: 22px; padding-bottom: 28px; }
.footer__title { font-size: 14px; margin-bottom: 10px; }
.footer__link { display: block; color: var(--muted); font-size: 13.5px; padding: 3px 0; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-lines li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.contact-lines b { flex: 0 0 48px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.contact-lines a, .contact-lines p { display: flex !important; align-items: center; margin: 0; padding: 0; min-width: 0; color: inherit; text-decoration: none; font-size: 13.5px; }
.contact-lines span { min-width: 0; word-break: break-word; }
.contact-lines span[dir="ltr"] { direction: ltr; unicode-bidi: isolate; text-align: right; }
.contact-lines a[hidden], .contact-lines p[hidden], .contact-lines li[hidden] { display: flex !important; }
.footer__bottom {
  border-top: 1px solid var(--line); padding: 12px 0;
  text-align: center; color: var(--muted); font-size: 12px;
}

@media (max-width: 980px) {
  .header__inner { grid-template-columns: auto 1fr; }
  .nav, .header__cta { display: none; }
  .nav-toggle { display: grid; justify-self: end; }
  .svc-grid, .process, .ba-grid, .price-grid, .team-grid, .test-grid, .footer__grid, .cta__box, .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
  .process::before { display: none; }
  .hero__card { min-height: 560px; }
  .hero__copy {
    width: 100%;
    min-height: 280px;
    padding: 28px 22px 40px;
    background: linear-gradient(to top, rgba(231,247,250,.96) 55%, rgba(231,247,250,.4) 85%, transparent);
  }
  .hero__media img { object-position: center top; }
  .section__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .section__bar > div:empty { display: none; }
  .section__bar .btn { justify-self: center; width: auto; }
}
@media (max-width: 640px) {
  .svc-grid, .process, .ba-grid, .price-grid, .team-grid, .test-grid, .footer__grid, .cta__box, .hero__stats {
    grid-template-columns: 1fr;
  }
  .hero__card { min-height: 520px; }
  .hero-chip { display: none; }
  .cta__box { padding: 24px 18px; }
  .process-note {
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
  }
  .process-note br { display: none; }
}
