:root {
  --ink: #0E2A47;
  --ink-2: #3D5875;
  --blue: #1E5BB8;
  --blue-deep: #12407F;
  --orange: #F07C1E;
  --orange-deep: #D9680C;
  --sky: #EAF2FC;
  --mist: #F6F8FB;
  --line: #DCE5F0;
  --white: #FFFFFF;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 12px 32px -12px rgba(14, 42, 71, .18);
}
html[lang="fa"] { --display: "Vazirmatn", Tahoma, sans-serif; --body: "Vazirmatn", Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .ico-flip, html[dir="rtl"] .svc-go, html[dir="rtl"] .crumbs .ico { transform: scaleX(-1); }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-300%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
bdi { unicode-bidi: isolate; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn .ico { width: 20px; height: 20px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-deep); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue-deep); color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-line-dark { border-color: rgba(14, 42, 71, .35); color: var(--ink); }
.btn-line-dark:hover { border-color: var(--ink); color: var(--ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* utility bar */
.utility { background: var(--ink); color: #C9D6E6; font-size: .9rem; }
.util-in { display: flex; align-items: center; gap: 24px; min-height: 44px; }
.util-in .ico { width: 17px; height: 17px; }
.util-hours, .util-phone { display: inline-flex; align-items: center; gap: 8px; }
.util-phone { white-space: nowrap; color: #fff; font-weight: 700; text-decoration: none; margin-inline-end: auto; }
.util-phone:hover { color: var(--orange); }
.utility .langs { background: transparent; border: 0; padding: 0; gap: 4px; }
.utility .langs a { color: #C9D6E6; padding: 4px 12px; }
.utility .langs a:hover { color: #fff; }
.utility .langs a[aria-current="true"] { background: var(--orange); color: var(--ink); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-inline-end: auto; }
.brand img { width: 44px; border-radius: 8px; }
.brand strong { display: block; font-family: var(--display); font-size: 1.1rem; line-height: 1.15; }
.brand small { display: block; color: var(--ink-2); font-size: .85rem; }
.nav-wrap { display: flex; align-items: center; gap: 14px; }
.nav { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a { white-space: nowrap; display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav > li > a:hover { background: var(--mist); }
.nav > li > a[aria-current="page"] { background: var(--sky); color: var(--blue-deep); }
.sub { display: none; position: absolute; inset-inline-start: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 8px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 500; }
.sub a:hover { background: var(--mist); }
.sub .ico { color: var(--blue); }
.langs { display: flex; border-radius: 999px; }
.langs a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
.nav-btn span, .nav-btn span::before, .nav-btn span::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-btn span::before, .nav-btn span::after { content: ""; position: absolute; }
.nav-btn span::before { top: -5px; } .nav-btn span::after { top: 5px; }

/* hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--sky) 0%, #fff 78%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
html[lang="fa"] .hero h1 { max-width: 16ch; }
.hero p.sub { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; border-radius: 0; font-size: 1.22rem; color: var(--ink-2); max-width: 54ch; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 30px 0 0; color: var(--ink-2); font-weight: 600; font-size: .98rem; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks .ico { color: var(--orange-deep); width: 20px; height: 20px; stroke-width: 2.4; }
.hero-fig { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); }
.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--sky); box-shadow: 18px 18px 0 0 var(--orange); }
html[dir="rtl"] .arch { box-shadow: -18px 18px 0 0 var(--orange); }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.hero-card { position: absolute; inset-inline-start: -36px; bottom: 44px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--shadow); }
.hero-card .ico { color: var(--blue); width: 26px; height: 26px; }
.hero-card strong { display: block; font-size: .98rem; }
.hero-card small { display: block; color: var(--ink-2); font-size: .85rem; }
.lang-chips { position: absolute; inset-inline-end: -14px; top: 36px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.lang-chips span { background: var(--ink); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.lang-chips span:nth-child(2) { background: var(--blue); }
.lang-chips span:nth-child(3) { background: #fff; color: var(--ink); box-shadow: var(--shadow); font-family: "Vazirmatn", Tahoma, sans-serif; }

/* promises */
.promises { padding: 8px 0 56px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.promise-list li { padding: 28px 24px 0 0; display: grid; gap: 4px; }
html[dir="rtl"] .promise-list li { padding: 28px 0 0 24px; }
.promise-list .ico { width: 30px; height: 30px; color: var(--blue); margin-bottom: 8px; }
.promise-list strong { font-family: var(--display); font-size: 1.15rem; }
.promise-list span { color: var(--ink-2); font-size: .98rem; }

/* services */
.services { padding: 80px 0; background: var(--mist); }
.svc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.svc-intro { position: sticky; top: 110px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.svc:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--blue); flex: none; }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-txt { flex: 1; display: grid; }
.svc-txt strong { font-family: var(--display); font-size: 1.15rem; }
.svc-txt span { color: var(--ink-2); font-size: .98rem; }
.svc-go { color: var(--orange-deep); }
.svc-sm { padding: 14px 16px; }
.svc-sm .svc-ico { width: 40px; height: 40px; border-radius: 10px; }
.svc-sm .svc-ico .ico { width: 22px; height: 22px; }
.svc-list-sm { grid-template-columns: 1fr 1fr; }

/* language band */
.lang-band { background: var(--ink); color: #fff; padding: 88px 0; }
.lb-line { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5.5vw, 4.4rem); line-height: 1.1; letter-spacing: -0.025em; }
.lb-line[lang="es"] { color: var(--orange); }
.lb-line[lang="fa"] { font-family: "Vazirmatn", Tahoma, sans-serif; letter-spacing: 0; line-height: 1.5; color: #9EC2F2; text-align: end; }
html[dir="rtl"] .lb-line[lang="fa"] { text-align: start; }
html[dir="rtl"] .lb-line[lang="en"], html[dir="rtl"] .lb-line[lang="es"] { direction: ltr; text-align: end; }

/* doctor */
.doctor { padding: 96px 0; }
.doc-grid { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.arch-sm { box-shadow: 14px 14px 0 0 var(--orange); }
html[dir="rtl"] .arch-sm { box-shadow: -14px 14px 0 0 var(--orange); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--orange); color: var(--ink); stroke-width: 3; }

/* insurance */
.insurance { padding: 0 0 72px; }
.ins-in { display: flex; gap: 18px; align-items: center; padding: 26px 30px; border-radius: var(--r-md); background: var(--sky); }
.ins-in .ico { width: 36px; height: 36px; color: var(--blue); }
.ins-in p { margin: 0; font-size: 1.1rem; font-weight: 500; }

/* location */
.location { padding: 0 0 96px; }
.loc-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: stretch; }
.map { width: 100%; min-height: 420px; border: 0; border-radius: var(--r-lg); }
.loc-card { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.side-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.side-facts li { display: flex; gap: 12px; align-items: flex-start; }
.side-facts .ico { color: var(--blue); margin-top: 3px; }

/* cta */
.cta { background: var(--orange); padding: 64px 0; }
.cta-in { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; font-size: 1.15rem; max-width: 52ch; }
.cta .actions { margin-top: 0; }

/* inner pages */
.page-head { padding: 48px 0 56px; background: linear-gradient(180deg, var(--sky), #fff); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 22ch; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs .ico { width: 16px; height: 16px; }
.content { padding: 24px 0 96px; }
.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.4em; }
.prose > h2:first-child, .svc-badge + h2 { margin-top: 0; }
.svc-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--sky); color: var(--blue); margin-bottom: 20px; }
.svc-badge .ico { width: 32px; height: 32px; }
.note { padding: 18px 22px; border-radius: var(--r-md); background: #FFF4EA; border-inline-start: 4px solid var(--orange); }
.related-title { margin-top: 2em !important; }
.side-card { position: sticky; top: 100px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card .side-facts { margin: 4px 0 8px; font-size: .98rem; }
.side-doc { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.side-doc img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.side-doc strong { display: block; font-family: var(--display); }
.side-doc small { display: block; color: var(--ink-2); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 12px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: center; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; }
.doc-head { padding-bottom: 72px; }
.doc-head .role { color: var(--orange-deep); font-weight: 700; margin-top: -6px; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cred-col h2 { font-size: 1.6rem; }
.cred-col h2:not(:first-child) { margin-top: 1.4em; }

/* form */
.appt-form { display: grid; gap: 18px; margin-top: 24px; }
.appt-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.appt-form input, .appt-form select, .appt-form textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--mist); color: var(--ink); }
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(30, 91, 184, .15); }
.appt-form textarea { min-height: 120px; }
.appt-form [aria-invalid="true"] { border-color: #B42318; }
.field-error, .form-error { color: #B42318; font-size: .95rem; margin: 6px 0 0; }
.field-help { color: var(--ink-2); font-size: .9rem; margin: 6px 0 0; }
.req { color: var(--orange-deep); }
.thanks { padding: 24px; border-radius: var(--r-md); background: var(--sky); font-size: 1.15rem; font-weight: 500; }

/* footer */
.site-footer { background: var(--ink); color: #C9D6E6; padding-top: 64px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.f-brand img { width: 44px; border-radius: 8px; margin-bottom: 12px; }
.f-name { font-family: var(--display); font-size: 1.2rem; color: #fff; font-weight: 700; margin-bottom: 6px; }
.f-title { font-family: var(--body); font-size: .95rem; color: #fff; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.f-links a { color: #C9D6E6; text-decoration: none; }
.f-links a:hover { color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.f-bottom p { margin: 0; }

/* responsive */
@media (max-width: 1100px) {
  .nav-btn { display: inline-flex; }
  .nav-wrap { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px; box-shadow: var(--shadow); }
  .nav-toggle:checked ~ .nav-wrap { display: flex; }
  .header-in { position: relative; }
  .nav { flex-direction: column; }
  .sub { display: grid; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-in, .svc-grid, .doc-grid, .loc-grid, .content-grid, .cred-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-fig { width: min(100%, 360px); margin-top: 8px; }
  .hero-card { inset-inline-start: -8px; }
  .svc-intro, .side-card { position: static; }
  .promise-list { grid-template-columns: 1fr 1fr; }
  .doc-grid .arch { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .brand small { display: none; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand strong { white-space: normal; font-size: 1rem; }
  .brand span { min-width: 0; }
  .util-hours { display: none; }
  .util-in { gap: 12px; }
  .promise-list, .svc-list-sm, .footer-grid { grid-template-columns: 1fr; }
  .lang-chips { inset-inline-end: -4px; }
  .actions .btn { width: 100%; }
  .svc { padding: 16px; gap: 14px; }
  .lang-band { padding: 64px 0; }
}
@media (max-width: 400px) {
  .utility .langs a { padding: 4px 8px; }
  .util-phone { font-size: .9rem; }
  .util-in { flex-wrap: wrap; row-gap: 4px; padding-block: 4px; }
}
