@font-face {
  font-family: "IRANSans";
  src: url("/assets/fonts/iransans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSans";
  src: url("/assets/fonts/iransans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f3ed;
  --paper-2: #efeae1;
  --ink: #1f2522;
  --ink-2: #4f5853;
  --muted: #7a817c;
  --line: #ddd6ca;
  --sage: #3e5a4a;
  --sage-deep: #2f4639;
  --sage-soft: #e4e9e1;
  --radius: 6px;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IRANSans", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; margin: 0; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 237, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.5; }
.brand-name { font-weight: 700; font-size: 17px; }
.brand-sub { font-size: 13px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 7px 18px;
  border-radius: 999px;
}
.nav .nav-cta:hover { color: var(--paper); background: var(--sage-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--sage-deep); }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: var(--paper); border: 1px solid rgba(246, 243, 237, .45); }
.btn-outline-light:hover { border-color: var(--paper); }

:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; }
.hero-in {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 22px; letter-spacing: 0; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.role {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--sage);
  margin: 10px 0 26px;
}
.lead { font-size: 18px; color: var(--ink-2); max-width: 30em; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.facts {
  list-style: none;
  margin: 64px 0 0;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts li { display: flex; flex-direction: column; line-height: 1.7; padding-inline: 24px; }
.facts li + li { border-inline-start: 1px solid var(--line); }
.facts li:first-child { padding-inline-start: 0; }
.facts strong { font-size: 16px; }
.facts span { font-size: 14.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.4; }
.section-note { color: var(--muted); font-size: 15px; margin: 0; max-width: 34em; }

.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.split-head { align-items: end; margin-bottom: 56px; }
.prose { font-size: 18px; color: var(--ink-2); max-width: 38em; }
.prose p:last-child { margin-bottom: 0; }

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.svc { padding: 26px 0 0; padding-inline-end: 28px; }
.svc + .svc { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.svc-num { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.svc h3 { font-size: 19px; margin-bottom: 14px; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { color: var(--ink-2); font-size: 15.5px; padding: 6px 0; line-height: 1.8; }

/* office */
.office { background: var(--sage-soft); }
.office-in {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
}
.office-photo { margin: 0; }
.office-photo img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: var(--radius);
}
.office-text { max-width: 32em; color: var(--ink-2); font-size: 17.5px; }
.office-text .section-title { color: var(--ink); margin-bottom: 22px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  line-height: 1.9;
}
.link-arrow::after { content: "←"; font-weight: 400; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(-3px); }

/* clinics */
.clinics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clinic {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
}
.clinic h3 { font-size: 18.5px; margin-bottom: 10px; }
.clinic .addr { color: var(--ink-2); font-size: 15.5px; line-height: 1.95; min-height: 3.9em; }
.clinic dl { margin: 8px 0 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.clinic dl div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 15px; }
.clinic dt { color: var(--muted); }
.clinic dd { margin: 0; text-align: left; }
.clinic dd a { text-decoration: none; font-weight: 700; color: var(--ink); }
.clinic dd a:hover { color: var(--sage); }
.clinic .link-arrow { margin-top: auto; align-self: flex-start; }

/* booking */
.booking { background: var(--sage-deep); color: var(--paper); padding: 88px 0; }
.booking-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.booking h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 10px; }
.booking p { color: rgba(246, 243, 237, .75); margin: 0; max-width: 30em; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.foot { padding: 56px 0 40px; font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot-name { font-weight: 700; margin: 0; }
.foot-in .muted { margin: 0; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.fine { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .svc, .svc + .svc { padding: 24px 0 8px; border-inline-start: 0; border-top: 1px solid var(--ink); }
  .svc:nth-child(odd) { padding-inline-end: 24px; }
  .svc:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
  .clinics { grid-template-columns: 1fr; }
  .clinic .addr { min-height: 0; }
  .office-in { grid-template-columns: 260px 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .top-in { height: 64px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 28px; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 1 / 1; object-position: 50% 25%; }
  .lead { font-size: 16.5px; }
  .actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; padding: 8px 0; margin-top: 44px; }
  .facts li, .facts li:first-child { padding: 14px 0; }
  .facts li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 18px; }
  .split-head { margin-bottom: 36px; }
  .prose { font-size: 16.5px; }
  .services { grid-template-columns: 1fr; }
  .svc:nth-child(odd), .svc:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .office-in { grid-template-columns: 1fr; gap: 32px; }
  .office-photo { max-width: 300px; }
  .booking { padding: 64px 0; }
  .booking-in { flex-direction: column; align-items: stretch; }
  .booking-actions .btn { flex: 1 1 100%; }
  .foot-in { flex-direction: column; }
}
