:root {
  --cream: #f3ebe0;
  --paper: #faf6f0;
  --sand: #e7d8c4;
  --stone: #b7a48a;
  --terracotta: #c45c32;
  --ink: #1a1714;
  --ink-2: #3f3a34;
  --ink-3: #6b645c;
  --teal: #0e4f4a;
  --teal-2: #18756e;
  --teal-3: #2a9a91;
  --mist: #d7edeb;
  --gold: #c6a46a;
  --white: #fffcfa;
  --line: rgba(26, 23, 20, 0.12);
  --line-strong: rgba(26, 23, 20, 0.2);
  --shadow: 0 28px 70px rgba(26, 23, 20, 0.18);
  --shadow-soft: 0 12px 30px rgba(26, 23, 20, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --max: 1180px;
}

html[lang="ar"] {
  --font-sans: "IBM Plex Sans Arabic", "Outfit", system-ui, sans-serif;
  --font-serif: "IBM Plex Sans Arabic", "Fraunces", serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: var(--mist);
  color: var(--teal);
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.2rem;
  min-width: 0;
}

h1,
h2,
h3,
p,
.lead {
  overflow-wrap: break-word;
}

.topbar {
  background: var(--teal);
  color: #eef7f6;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
}

.topbar a {
  text-decoration: none;
  color: inherit;
}

.topbar-desk {
  opacity: 0.9;
}

.lang {
  display: flex;
  gap: 0.15rem;
}

.lang button {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
}

.lang button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(26, 23, 20, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 28px;
  color: var(--teal);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-cic {
  font-weight: 650;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.brand-name {
  font-size: 0.62rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  max-width: 12rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-2);
}

.nav a:hover,
.nav a.is-current {
  color: var(--teal);
}

.nav a.is-current {
  font-weight: 650;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  font-weight: 560;
  line-height: 1.15;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold,
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary {
  background: var(--teal);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-sm {
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  min-width: 42px;
  height: 36px;
  padding: 0 0.7rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: clamp(640px, calc(100vh - 112px), 780px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(16, 13, 10, 0.78) 0%, rgba(16, 13, 10, 0.42) 48%, rgba(16, 13, 10, 0.18) 100%),
    linear-gradient(to top, rgba(16, 13, 10, 0.55), transparent 42%);
}

html[dir="rtl"] .hero-bg::after {
  background:
    linear-gradient(to left, rgba(16, 13, 10, 0.78) 0%, rgba(16, 13, 10, 0.42) 48%, rgba(16, 13, 10, 0.18) 100%),
    linear-gradient(to top, rgba(16, 13, 10, 0.55), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: end;
  padding-block: 4.5rem 3.2rem;
  min-width: 0;
  width: 100%;
}

.hero-inner > div,
.timeline,
.section-head,
.split,
.paths {
  max-width: 100%;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.86;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

h1,
.h1 {
  font-family: var(--font-serif);
  font-weight: 520;
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.5;
  max-width: 36rem;
  color: rgba(255, 252, 250, 0.88);
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.clocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 36rem;
}

.hero .clock {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 10, 8, 0.5);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  color: #f7f4ef;
}

.hero .clock b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: #f7f4ef;
  font-weight: 600;
}

.hero .clock span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 239, 0.78);
}

.timeline {
  background: rgba(250, 246, 240, 0.94);
  color: var(--ink);
  border-radius: 22px;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  min-width: 0;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-2);
  font-weight: 650;
  margin: 0 0 0.2rem;
}

.timeline h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 560;
}

.pill {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--mist);
  color: var(--teal);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}

.patient-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.8rem;
}

.dot-flag {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d21034;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #007a3d;
  flex-shrink: 0;
}

.patient-row strong {
  display: block;
  font-size: 0.92rem;
}

.patient-row span {
  font-size: 0.75rem;
  color: var(--ink-3);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.steps li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  margin-top: 0.15rem;
}

.steps b {
  display: block;
  font-size: 0.9rem;
}

.steps small {
  color: var(--ink-3);
  font-size: 0.75rem;
}

.status {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--teal-2);
  align-self: center;
}

.timeline-note {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin: 0.75rem 0 0;
}

.section {
  padding-block: 5rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0;
  font-weight: 540;
  line-height: 1.15;
}

.section p.intro {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-2);
}

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.path-card {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 10, 0.82), rgba(16, 13, 10, 0.1) 55%);
}

.path-card div {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.path-card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
  font-weight: 540;
}

.path-card p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.how {
  background: var(--cream);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.how-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(26, 23, 20, 0.06);
}

.num {
  font-family: var(--font-serif);
  color: var(--terracotta);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.6rem;
}

.how-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.how-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 1.4rem;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  background: var(--white);
}

.specialties {
  background:
    linear-gradient(180deg, var(--paper), var(--cream));
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.spec {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1rem;
  min-height: 108px;
}

.spec span {
  display: block;
  font-size: 0.72rem;
  color: var(--teal-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.spec strong {
  font-size: 1.02rem;
}

.clinic-facts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.fact {
  background: var(--teal);
  color: #eef7f6;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
}

.fact b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 520;
}

.partners {
  margin-top: 1.4rem;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.partners strong {
  color: var(--ink-2);
  font-weight: 600;
}

.book {
  background: var(--ink);
  color: var(--paper);
}

.book .section-head,
.book h2 {
  color: var(--paper);
}

.book .kicker {
  color: var(--gold);
}

.book p.intro {
  color: rgba(250, 246, 240, 0.84);
}

.book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.book-copy .fine {
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.9rem;
}

.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 560;
  margin-bottom: 0.75rem;
  color: var(--ink-2);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.who label {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.8rem;
  background: var(--white);
  cursor: pointer;
}

.who input {
  width: auto;
  margin-inline-end: 0.4rem;
}

.who label:has(input:checked) {
  border-color: var(--teal);
  background: var(--mist);
}

.city-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.2rem 0 0.9rem;
}

.city-picks button {
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
}

.city-picks button[aria-pressed="true"] {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.check-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8rem;
  font-weight: 450;
  color: var(--ink-2);
  margin: 0.55rem 0;
}

.check-line input {
  width: auto;
  margin-top: 0.2rem;
}

[hidden] {
  display: none !important;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-error {
  color: #9b2c2c;
  font-size: 0.88rem;
  margin: 0.4rem 0 0.8rem;
}

.form-error[hidden] {
  display: none !important;
}

.form-success {
  display: none;
  padding: 1.5rem 0.4rem;
}

.form.is-done .form-fields {
  display: none;
}

.form.is-done .form-success {
  display: block;
}

.contact-strip {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.4rem;
}

.contact-strip a {
  color: var(--gold);
}

.site-footer {
  background: #12100e;
  color: #d8cfc4;
  padding: 2.4rem 0 1.4rem;
  font-size: 0.88rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

.site-footer h3 {
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #9d9488;
  font-size: 0.78rem;
}

.page-hero {
  background: var(--cream);
  padding: 3.4rem 0 2.4rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.page-hero .lead {
  color: var(--ink-2);
}

.page-hero .clocks {
  max-width: 36rem;
}

.page-hero .clock {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.page-hero .clock b,
.page-hero .clock span {
  color: var(--ink);
}

.page-hero .clock b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.page-hero .clock span {
  opacity: 0.7;
}

.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  margin-top: 1.2rem;
}

.callout h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.callout p {
  margin: 0;
  color: var(--ink-2);
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 2.1rem 0 0.6rem;
  font-weight: 560;
}

.legal p,
.legal li {
  color: var(--ink-2);
}

.legal ul {
  padding-inline-start: 1.1rem;
}

.legal .fine {
  font-size: 0.88rem;
  color: var(--ink-3);
}

.legal-switch [hidden] {
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav a {
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink-2);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-inner,
  .paths,
  .how-grid,
  .split,
  .spec-grid,
  .clinic-facts,
  .book-grid,
  .form-row,
  .foot-grid,
  .section-head,
  .who,
  .clocks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-inner,
  .split,
  .book-grid,
  .clinic-facts,
  .section-head,
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

  .clocks {
    max-width: none;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--paper);
    padding: 1.4rem;
    z-index: 30;
  }
}

@media (max-width: 720px) {
  .topbar-desk {
    display: none;
  }

  .topbar .wrap {
    font-size: 0.7rem;
  }

  .brand-name {
    display: none;
  }

  h1,
  .h1 {
    font-size: 1.62rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .section h2 {
    font-size: 1.55rem;
  }

  .hero h1,
  .hero .lead,
  .section-head h2,
  .section-head .intro {
    padding-inline-end: 0.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .status {
    display: none;
  }

  .menu-toggle {
    border-color: var(--line-strong);
    background: #fff;
  }

  .hero-inner {
    padding-block: 3.2rem 2rem;
  }

  .paths,
  .how-grid,
  .form-row,
  .who {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec-grid,
  .clocks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .timeline .pill {
    display: none;
  }

  .path-card {
    min-height: 280px;
  }

  .header-actions .btn {
    display: none;
  }

  .section {
    padding-block: 3.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
