:root {
  --ink: #102b28;
  --muted: #63716f;
  --green: #103b35;
  --green-2: #18564c;
  --mint: #baf3df;
  --mint-soft: #e9faf4;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: #dfe6e2;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(16, 59, 53, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 9999; padding: 10px 16px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 244, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 43, 40, .08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 45px; height: 45px; display: grid; place-items: center;
  border-radius: 15px 15px 6px 15px; background: var(--green); color: var(--mint);
  font-size: 22px; font-weight: 800; box-shadow: 0 8px 24px rgba(16, 59, 53, .18);
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.site-nav { margin-inline: auto; display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #52605e; font-size: 14px; font-weight: 600; transition: .25s ease; }
.site-nav a:hover { color: var(--green); }
.button {
  min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 16px; background: var(--green); color: #fff; border: 1px solid var(--green);
  font-weight: 700; box-shadow: 0 14px 30px rgba(16, 59, 53, .17); transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-2); box-shadow: 0 18px 36px rgba(16, 59, 53, .23); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); }
.button-small { min-height: 43px; padding-inline: 18px; border-radius: 13px; font-size: 13px; }
.button-ghost { background: transparent; color: var(--green); box-shadow: none; border-color: #cbd7d2; direction: ltr; }
.button-ghost:hover { background: #fff; color: var(--green); box-shadow: none; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.hero { position: relative; overflow: hidden; padding: 82px 0 88px; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; left: -260px; top: -200px; border: 1px solid rgba(16, 59, 53, .08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(16, 59, 53, .025), 0 0 0 160px rgba(16, 59, 53, .018); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 78px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--green-2); }
.eyebrow i { width: 24px; height: 2px; background: var(--green-2); border-radius: 2px; }
.hero h1 { margin: 22px 0 24px; font-size: clamp(50px, 6.2vw, 84px); line-height: 1.18; letter-spacing: -3px; }
.hero h1 span { color: var(--green-2); position: relative; }
.hero h1 span::after { content: ""; position: absolute; right: 2px; left: 4px; bottom: 1px; height: 11px; background: var(--mint); z-index: -1; border-radius: 12px; transform: rotate(-1deg); }
.hero-copy > p { max-width: 585px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: #52605e; font-size: 12px; }
.hero-notes span { display: flex; align-items: center; gap: 7px; }
.hero-notes svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--mint-soft); fill: none; stroke: var(--green-2); stroke-width: 2.2; }
.hero-visual { position: relative; min-height: 570px; }
.visual-card {
  position: absolute; inset: 0 18px 50px 0; border-radius: 42px 42px 18px 42px; overflow: hidden;
  background: var(--green); box-shadow: var(--shadow); isolation: isolate;
}
.visual-card::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -100px; border-radius: 50%; background: rgba(186, 243, 223, .08); box-shadow: 0 0 0 65px rgba(186, 243, 223, .035), 0 0 0 130px rgba(186, 243, 223, .02); z-index: -1; }
.visual-topline { position: absolute; top: 26px; right: 28px; left: 28px; display: flex; justify-content: space-between; color: rgba(255,255,255,.68); font-size: 11px; z-index: 3; }
.pulse { display: flex; align-items: center; gap: 7px; }
.pulse i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(186, 243, 223, .12); animation: pulse 2s infinite; }
.motion-art { width: 100%; height: 100%; }
.orbit { fill: none; stroke: rgba(186, 243, 223, .13); stroke-width: 1; stroke-dasharray: 8 10; }
.orbit-b { stroke-dasharray: 2 12; }
.joint-one { fill: none; stroke: url(#lineGlow); stroke-width: 3; }
.body-line, .signal { fill: none; stroke: url(#lineGlow); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.signal { stroke-width: 2; opacity: .8; }
.joint { fill: var(--mint); }
.soft-dot { fill: rgba(186,243,223,.55); }
.dot-a { animation: float 4s ease-in-out infinite; }
.dot-b { animation: float 5s ease-in-out infinite reverse; }
.metric { position: absolute; display: grid; gap: 1px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); color: #fff; border-radius: 14px; }
.metric b { font-size: 18px; line-height: 1.2; color: var(--mint); }
.metric span { font-size: 9px; color: rgba(255,255,255,.63); }
.metric-one { right: 26px; bottom: 34px; }
.metric-two { left: 25px; top: 82px; }
.mini-card {
  position: absolute; left: -18px; bottom: 4px; display: flex; align-items: center; gap: 13px;
  min-width: 265px; padding: 17px 18px; border-radius: 18px 18px 6px 18px; background: #fff; box-shadow: 0 18px 45px rgba(16, 43, 40, .16); z-index: 4;
}
.mini-card span:last-child { display: grid; line-height: 1.55; }
.mini-card small { color: var(--muted); font-size: 10px; }
.mini-card strong { font-size: 13px; }
.mini-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: var(--mint-soft); }
.mini-icon svg { width: 21px; fill: none; stroke: var(--green-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.trust-strip { background: #fff; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 25px 0; display: grid; gap: 2px; }
.trust-grid > div + div { border-right: 1px solid var(--line); padding-right: 38px; }
.trust-grid strong { font-size: 14px; }
.trust-grid span { color: var(--muted); font-size: 11px; }

.section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 50px; }
.section-head h2, .process h2, .appointment h2, .contact h2 { margin: 15px 0 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.32; letter-spacing: -1.5px; }
.section-head > p { width: min(100%, 440px); color: var(--muted); margin: 0; font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  position: relative; min-height: 318px; display: flex; flex-direction: column; padding: 28px;
  border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.68); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(16, 43, 40, .08); border-color: #c9d9d3; }
.service-card.featured { background: var(--green); color: #fff; border-color: var(--green); }
.service-number { position: absolute; top: 22px; left: 24px; color: #a9b4b1; font-size: 11px; }
.featured .service-number { color: rgba(255,255,255,.5); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px 16px 5px 16px; background: var(--mint-soft); }
.service-icon svg { width: 25px; fill: none; stroke: var(--green-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.featured .service-icon { background: rgba(186, 243, 223, .13); }
.featured .service-icon svg { stroke: var(--mint); }
.service-card h3 { margin: 25px 0 8px; font-size: 20px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; }
.featured p { color: rgba(255,255,255,.65); }
.service-card footer { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #6f7d7a; font-size: 10px; }
.featured footer { border-color: rgba(255,255,255,.13); color: rgba(255,255,255,.55); }

.process { background: var(--green); color: #fff; overflow: hidden; position: relative; }
.process::after { content: ""; position: absolute; width: 500px; height: 500px; left: -230px; bottom: -330px; border-radius: 50%; border: 1px solid rgba(186,243,223,.12); box-shadow: 0 0 0 75px rgba(186,243,223,.025), 0 0 0 150px rgba(186,243,223,.018); }
.process-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: center; position: relative; z-index: 2; }
.eyebrow-light { color: var(--mint); }
.eyebrow-light i { background: var(--mint); }
.process-copy p { color: rgba(255,255,255,.62); font-size: 14px; max-width: 430px; margin: 24px 0 28px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-weight: 700; font-size: 13px; }
.text-link span { font-size: 20px; transition: transform .25s ease; }
.text-link:hover span { transform: translateX(-5px); }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 20px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.process-list b { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(186,243,223,.28); color: var(--mint); border-radius: 15px 15px 5px 15px; font-size: 13px; }
.process-list div { display: grid; }
.process-list strong { font-size: 16px; }
.process-list span { color: rgba(255,255,255,.53); font-size: 12px; }

.team { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.team-card { padding: 22px 18px; border: 1px solid var(--line); border-radius: 21px; display: flex; align-items: center; gap: 13px; background: #fff; }
.avatar { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 15px 15px 5px 15px; background: var(--mint-soft); color: var(--green-2); font-weight: 800; }
.team-card h3 { margin: 0; font-size: 14px; }
.team-card p { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }

.appointment { padding-bottom: 60px; background: #fff; }
.appointment-card { padding: 54px 58px; border-radius: 34px 34px 12px 34px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; overflow: hidden; }
.appointment-card::after { content: ""; position: absolute; width: 260px; height: 260px; left: 30%; top: -180px; border: 1px solid rgba(186,243,223,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(186,243,223,.025), 0 0 0 110px rgba(186,243,223,.018); }
.appointment-card h2 { font-size: clamp(31px, 4vw, 48px); position: relative; z-index: 2; }
.appointment-actions { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; }
.button-light { background: var(--mint); color: var(--green); border-color: var(--mint); box-shadow: none; }
.button-light:hover { background: #d5faed; color: var(--green); box-shadow: none; }
.phone-link { display: grid; line-height: 1.45; direction: rtl; }
.phone-link small { color: rgba(255,255,255,.56); font-size: 10px; }
.phone-link strong { direction: ltr; font-size: 15px; }

.contact { background: #fff; padding-top: 70px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-copy p { color: var(--muted); font-size: 14px; max-width: 410px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); transition: .25s ease; }
a.contact-card:hover { transform: translateX(-5px); border-color: #c7d8d1; background: var(--mint-soft); }
.contact-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: #fff; }
.contact-icon svg { width: 23px; fill: none; stroke: var(--green-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card > span:nth-child(2) { display: grid; line-height: 1.55; }
.contact-card small { color: var(--muted); font-size: 10px; }
.contact-card strong { font-size: 13px; }
.contact-card > i { color: #899692; font-style: normal; }

.site-footer { background: #0b2925; color: #fff; padding: 28px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand-footer .brand-mark { background: var(--mint); color: var(--green); box-shadow: none; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.48); }
.footer-grid p { color: rgba(255,255,255,.48); font-size: 10px; margin: 0; }
.to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; border: 1px solid rgba(255,255,255,.13); color: var(--mint); }
.floating-call { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(186, 243, 223, 0); } }
@keyframes float { 50% { transform: translateY(-15px); } }

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 500px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
  .nav-wrap { min-height: 72px; }
  .menu-button { display: block; margin-right: auto; }
  .nav-cta { display: none; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; padding: 26px 20px 35px; display: grid; gap: 0; background: rgba(247,248,244,.98); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .3s ease; }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 55px; }
  .hero-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-notes { justify-content: center; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { gap: 50px; }
  .process-copy { text-align: center; }
  .process-copy p { margin-inline: auto; }
  .section-head { align-items: start; flex-direction: column; gap: 20px; }
  .appointment-card { align-items: flex-start; flex-direction: column; }
  .contact-grid { gap: 35px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-copy { display: none; }
  .hero { padding: 38px 0 64px; }
  .hero h1 { font-size: 47px; letter-spacing: -2px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 10px 16px; }
  .hero-visual { min-height: 420px; }
  .visual-card { inset: 0 0 40px 0; border-radius: 30px 30px 14px 30px; }
  .mini-card { left: 12px; bottom: 0; min-width: 245px; }
  .metric-two { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { padding: 17px 0; text-align: center; }
  .trust-grid > div + div { border-right: 0; border-top: 1px solid var(--line); padding-right: 0; }
  .section { padding: 78px 0; }
  .section-head h2, .process h2, .appointment h2, .contact h2 { font-size: 35px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .process-list li { grid-template-columns: 50px 1fr; gap: 14px; }
  .team-grid { grid-template-columns: 1fr; }
  .appointment { padding-bottom: 35px; }
  .appointment-card { padding: 34px 25px; border-radius: 26px 26px 10px 26px; }
  .appointment-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .phone-link { text-align: center; }
  .contact-card { grid-template-columns: 47px 1fr auto; padding: 13px; }
  .contact-icon { width: 47px; height: 47px; }
  .footer-grid { flex-wrap: wrap; }
  .footer-grid p { order: 3; width: 100%; text-align: center; }
  .floating-call { position: fixed; left: 14px; bottom: 14px; z-index: 80; display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-radius: 15px 15px 5px 15px; background: var(--mint); color: var(--green); box-shadow: 0 12px 30px rgba(16, 43, 40, .22); font-size: 12px; font-weight: 800; }
  .floating-call svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
