:root {
  --bg: #fbf7ef;
  --surface: #ffffff;
  --muted: #f0e8dc;
  --ink: #15211f;
  --text: #44504d;
  --subtle: #66736f;
  --primary: #0f5b5f;
  --primary-2: #0b7771;
  --accent: #c58b4c;
  --accent-soft: #f5d7a4;
  --line: rgba(21, 33, 31, 0.12);
  --shadow: 0 24px 70px rgba(16, 57, 57, 0.14);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1160px;
  --font: "Tajawal", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 10%, rgba(214,155,85,.20), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(15,91,95,.16), transparent 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

body[dir="rtl"] {
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 96px 0; }
.muted { background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(240,232,220,.75)); }
.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.88);
  font-size: 0.92rem;
}
.topbar__inner {
  min-height: 40px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.topbar a { color: white; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251,247,239,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(21,33,31,.06);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand__mark {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15,91,95,.22);
  border: 1px solid rgba(21, 33, 31, 0.08);
  flex: 0 0 auto;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none;
}
.brand strong { display: block; line-height: 1.15; }
.brand small { color: var(--subtle); font-size: .84rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links a,
.language-toggle {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav__links a:hover,
.language-toggle:hover { background: rgba(15,91,95,.08); }
.language-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  margin-inline-start: 4px;
}
.nav__toggle { display: none; }

.hero { padding-top: 72px; }
.hero--image-bg {
  position: relative;
  min-height: calc(100svh - 118px);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: white;
  overflow: hidden;
}
.hero--image-bg.section-pad {
  padding: 34px 0 42px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 6s ease;
}

.hero__bg-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero--image-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(21,33,31,.92),
    rgba(21,33,31,.68),
    rgba(21,33,31,.18)
  );
}

body[dir="rtl"] .hero--image-bg::after {
  background: linear-gradient(
    270deg,
    rgba(21,33,31,.92),
    rgba(21,33,31,.68),
    rgba(21,33,31,.18)
  );
}

.hero--image-bg .container {
  position: relative;
  z-index: 2;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.hero__dots button.is-active {
  width: 28px;
  background: white;
}

.hero--image-bg h1,
.hero--image-bg .hero__subtitle,
.hero--image-bg .hero__lead {
  color: white;
}

.hero--image-bg .eyebrow,
.hero--image-bg .microcopy {
  color: rgba(255,255,255,.82);
}

.hero--image-bg .trust-row div {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}

.hero--image-bg .trust-row strong,
.hero--image-bg .trust-row span {
  color: white;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero--image-bg .hero__grid {
  display: block;
}

.hero--image-bg .hero__content {
  width: min(780px, 100%);
  margin-inline-start: 0;
  margin-inline-end: auto;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
}
body[dir="rtl"] .eyebrow { letter-spacing: 0; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.035em;
}
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3 { letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 4.35vw, 4.6rem); max-width: 850px; }
.hero__title-line { display: block; }
body[dir="ltr"] .hero__title-line { display: inline; }
body[dir="ltr"] .hero__title-line + .hero__title-line::before { content: " "; }
h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
h3 { font-size: 1.25rem; }
.hero__subtitle {
  margin: 10px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 1.9vw, 1.75rem);
  line-height: 1.22;
  font-weight: 400;
}

.hero__lead {
  margin: 14px 0 0;
  font-size: clamp(.94rem, 1.12vw, 1.04rem);
  max-width: 760px;
  color: var(--text);
}
.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero .hero__actions {
  margin-top: 20px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(214,155,85,.55);
  outline-offset: 3px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 18px 38px rgba(15,91,95,.24);
}
.btn--soft {
  background: rgba(255,255,255,.72);
  border-color: var(--line);
  color: var(--primary);
}
.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  max-width: 720px;
}
.trust-row div {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.trust-row strong { display: block; color: var(--ink); font-size: 1.25rem; line-height: 1.1; }
.trust-row span { display: block; color: var(--subtle); margin-top: 5px; font-size: .86rem; line-height: 1.25; }


.microcopy { margin-top: 12px; color: var(--subtle); font-size: .88rem; }
.hero__visual { position: relative; }
.photo-card {
  position: relative;
  padding: 18px;
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(240,232,220,.72));
  box-shadow: 0 28px 90px rgba(16, 57, 57, 0.18);
  border: 1px solid rgba(21, 33, 31, 0.08);
  overflow: hidden;
}
.photo-card::before {
  content: "";
  position: absolute;
  inset: 8% 4% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(214,155,85,.2);
  filter: blur(8px);
}
.photo-card img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 34px;
  background: #e6efe9;
}
.photo-card__badge {
  position: absolute;
  inset-inline: 34px;
  bottom: 34px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(21,33,31,.86);
  color: white;
  backdrop-filter: blur(12px);
}
.photo-card__badge span { display: block; font-size: .86rem; color: rgba(255,255,255,.72); }
.photo-card__badge strong { display: block; margin-top: 2px; }

.quick-card {
  margin-top: -28px;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
}
.card-label {
  display: inline-block;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.quick-card p { margin: 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 1.05rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-list {
  margin-top: 24px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 10px 28px rgba(21,33,31,.05);
}

.services-list h3 {
  margin-bottom: 10px;
}

.services-list p {
  margin: 0 0 18px;
}

.services-list__grid {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.services-list__grid li {
  position: relative;
  padding-inline-start: 28px;
  color: var(--ink);
}

.services-list__grid li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: .12em;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15,91,95,.12);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 900;
}
.service-card,
.step,
.faq-list details {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(21,33,31,.05);
}
.service-card p,
.step p { margin-bottom: 0; }
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(15,91,95,.10), rgba(214,155,85,.18));
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.doctor__grid,
.visit__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 46px;
  align-items: center;
}
.doctor__media,
.map-card {
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.doctor__media img { 
  border-radius: 24px; 
  width: 100%; 
}
.clinic-carousel {
  position: relative;
 overflow: hidden;
}
.clinic-carousel__track {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: var(--muted);
}

.clinic-carousel__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .35s ease;
}

.clinic-carousel__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.clinic-carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(21,33,31,.55);
}

.clinic-carousel__button:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.08);
}

.clinic-carousel__button--prev {
  inset-inline-start: 30px;
}

.clinic-carousel__button--next {
  inset-inline-end: 30px;
}

.clinic-carousel__dots {
  position: absolute;
  inset-inline: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.clinic-carousel__dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
}

.clinic-carousel__dots button.is-active {
  width: 24px;
  background: white;
}
.check-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-inline-start: 34px;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: .8rem;
}


.hospital-note {
  margin-top: 34px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
}
.hospital-note strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}
.hospital-note p {
  margin: 0;
}

.doctor--hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: white;
}

.doctor--hero.section-pad {
  padding: 96px 0;
}

.doctor--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/doctor-about-hero.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.01);
}
@media (min-width: 761px) {
  .doctor--hero::before {
    inset: 0 -8%;
    background-position: center 18%;
    transform: translateX(3%) scale(1.01);
  }
}

.doctor--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(21, 33, 31, 0.94) 0%,
    rgba(21, 33, 31, 0.82) 28%,
    rgba(21, 33, 31, 0.46) 52%,
    rgba(21, 33, 31, 0.08) 78%
  );
}

.doctor--hero .container {
  position: relative;
  z-index: 1;
}

.doctor--hero__content {
  width: min(610px, 100%);
  margin-left: 0;
  margin-right: auto;
}

.doctor--hero .eyebrow {
  color: var(--accent-soft);
}

.doctor--hero h2 {
  color: white;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
}

.doctor--hero p,
.doctor--hero .check-list li {
  color: rgba(255, 255, 255, 0.84);
}

.doctor--hero .check-list li::before {
  background: var(--accent);
  color: white;
}

.doctor--hero .hospital-note {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.doctor--hero .hospital-note strong {
  color: white;
}

.doctor--hero .hospital-note p {
  color: rgba(255, 255, 255, 0.78);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
}

.visit__grid {
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
}
.visit__grid .map-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.visit__grid .map-embed {
  flex: 1;
  min-height: 310px;
}

.visit__grid .map-embed iframe {
  height: 100%;
  min-height: 310px;
}
.info-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.info-list div {
  display: grid;
  gap: 4px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}
.info-list strong { color: var(--ink); }
.info-list a { color: var(--primary); font-weight: 800; }
body[dir="rtl"] .info-list .phone-number {
  display: block;
  width: 100%;
  text-align: right;
  direction: ltr;
  unicode-bidi: isolate;
}
.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
body[dir="rtl"] .phone-number {
  direction: rtl;
  text-align: right;
}
body[dir="rtl"] .info-list a.phone-number {
  justify-self: end;
}
.map-placeholder {
  min-height: 310px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15,91,95,.14), rgba(214,155,85,.2)),
    repeating-linear-gradient(45deg, rgba(21,33,31,.04) 0 10px, rgba(21,33,31,.02) 10px 20px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map-embed {
  position: relative;
  width: 100%;
  min-height: 310px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--muted);
}

.map-embed iframe {
  width: 100%;
  height: 310px;
  display: block;
  border: 0;
}
.map-placeholder span { color: var(--ink); font-weight: 900; font-size: 1.25rem; }
.map-placeholder p { margin: 8px 0 0; max-width: 320px; }
.map-card .btn {
  width: 100%;
  margin-top: 14px;
}


.direction-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.direction-tips div {
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.direction-tips strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}
.direction-tips span {
  display: block;
  color: var(--subtle);
  font-size: .92rem;
  margin-top: 4px;
}
.map-placeholder--ready {
  background:
    radial-gradient(circle at 28% 24%, rgba(214,155,85,.26), transparent 36%),
    linear-gradient(135deg, rgba(15,91,95,.16), rgba(214,155,85,.22)),
    repeating-linear-gradient(45deg, rgba(21,33,31,.04) 0 10px, rgba(21,33,31,.02) 10px 20px);
}

.mobile-action-bar {
  display: none;
}

.mobile-action-bar.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mobile-action-bar__btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.22);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.32);

  font-weight: 900;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 6px 18px rgba(21, 33, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.mobile-action-bar__btn--primary {
  background: linear-gradient(135deg, rgba(15,91,95,.92), rgba(11,119,113,.88));
  color: white;
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 12px 26px rgba(15,91,95,.26);
}

.reviews__box,
.contact__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--ink), #113b3d);
  color: rgba(255,255,255,.78);
  border-radius: 38px;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}
.reviews__box h2,
.contact__box h2 { color: white; }
.reviews__box .eyebrow,
.contact__box .eyebrow { color: var(--accent-soft); }
.rating-card {
  min-width: 220px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  padding: 24px;
  text-align: center;
}
.rating-card strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: white;
}
.rating-card span { display: block; font-weight: 800; color: white; margin-top: 8px; }
.rating-card small { display: block; margin-top: 4px; color: rgba(255,255,255,.68); }

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details { padding: 0; overflow: hidden; }
.faq-list summary {
  cursor: pointer;
  padding: 22px 26px;
  color: var(--ink);
  font-weight: 900;
}
.faq-list p { margin: 0; padding: 0 26px 24px; }

.contact__box .btn--soft,
.contact__box .btn--ghost {
  color: white;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.contact__actions { justify-content: flex-end; margin-top: 0; }

.site-footer {
  padding: 42px 0;
  background: var(--ink);
  color: rgba(255,255,255,.72);
}
.footer__grid {
  display: grid;
  grid-template-columns: 170px 1fr 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer__mark-column {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer__brand {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__mark {
  width: 140px;
  max-width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.96;
}
.site-footer strong { display: block; color: white; margin-bottom: 8px; }
.site-footer p { margin: 0; }

.site-footer [data-i18n="footerCopyright"] {
  white-space: pre-line;
}

body[dir="rtl"] .site-footer [data-i18n="footerCopyright"] {
  direction: rtl;
  text-align: right;
}

#visit h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  white-space: nowrap;
}

#faq h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

.footer__copyright {
  white-space: normal;
  font-size: .95rem;
  line-height: 1.7;
}
body[dir="rtl"] .footer__copyright {
  direction: rtl;
  text-align: right;
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .section-pad { padding: 70px 0; }
  .hero__grid,
  .doctor__grid,
  .visit__grid,
  .reviews__box,
  .contact__box {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 44px; }
  .cards-grid,
  .services-list__grid,
  .steps,
  .footer__grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  #visit h2,
  #faq h2 { white-space: normal; }
  .footer__copyright { white-space: normal; }
  .quick-card { flex-direction: column; align-items: flex-start; }
  .quick-card .btn { width: 100%; }
  .contact__actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    place-items: center;
    gap: 3px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    
  }
  .nav__toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    flex: 0 0 2px;
    border-radius: 999px;
    background: var(--ink);
  }
  .nav__links {
    position: fixed;
    inset: 88px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a,
  .language-toggle { text-align: center; width: 100%; }
  .hero--image-bg {
    min-height: calc(100svh - 88px);
  }
  .hero--image-bg.section-pad {
    padding: 28px 0 42px;
  }
  h1 { font-size: clamp(2rem, 9.2vw, 3.15rem); }
  .hero__subtitle { font-size: clamp(1rem, 5vw, 1.35rem); }
  .hero__lead { font-size: .95rem; }
 .hero__actions .btn,
.contact__actions .btn {
  width: 100%;
}
  .photo-card { border-radius: 30px; padding: 12px; }
  .photo-card img { border-radius: 22px; }
  .photo-card__badge { inset-inline: 24px; bottom: 24px; }
  .reviews__box,
  .contact__box { border-radius: 28px; }
  .direction-tips { grid-template-columns: 1fr; }
  body { padding-bottom: 88px; }
 
  
  }

.site-footer [data-i18n="footerCopyright"] {
  display: block;
  white-space: normal;
}

body[dir="rtl"] .site-footer [data-i18n="footerCopyright"] {
  direction: rtl;
  text-align: right;
  unicode-bidi: normal;
}
/* Mobile header cleanup */
@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .nav {
    min-height: 84px;
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .nav__links {
    inset: 104px 14px auto 14px;
  }
  .brand strong {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .brand small {
    font-size: 0.76rem;
    line-height: 1.25;
  }
    .hero--image-bg .trust-row {
    margin-top: 18px;
    gap: 8px;
  }

  .hero--image-bg .trust-row div {
    padding: 10px 12px;
    border-radius: 16px;
  }

  .hero--image-bg .trust-row strong {
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .hero--image-bg .trust-row span {
    font-size: 0.6rem;
    line-height: 1.15;
    margin-top: 2px;
  }
}
/* Compact hero trust cards on mobile */
@media (max-width: 760px) {
  .hero--image-bg .trust-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-top: 16px !important;
    max-width: 100% !important;
  }

  .hero--image-bg .trust-row div {
    padding: 7px 5px !important;
    border-radius: 13px !important;
    min-height: auto !important;
    text-align: center !important;
  }

  .hero--image-bg .trust-row strong {
    font-size: 0.95rem !important;
    line-height: 1.1 !important;
  }

  .hero--image-bg .trust-row span {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
  }

  .mobile-action-bar {
    position: fixed;
    inset-inline: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 26px;

    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);

    box-shadow:
      0 10px 28px rgba(21, 33, 31, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);

    opacity: 0;
    transform: translateY(34px) scale(.96);
    pointer-events: none;
    transition:
      opacity .42s ease,
      transform .42s cubic-bezier(.22, 1, .36, 1);
  }
    .doctor--hero {
    min-height: auto;
    align-items: flex-end;
  }

  .doctor--hero.section-pad {
    padding: 330px 0 58px;
  }

  .doctor--hero::before {
    background-position: 58% center;
  }

  .doctor--hero::after {
    background: linear-gradient(
      180deg,
      rgba(21, 33, 31, 0.04) 0%,
      rgba(21, 33, 31, 0.48) 42%,
      rgba(21, 33, 31, 0.96) 100%
    );
  }

  .doctor--hero__content {
    width: 100%;
  }

  .doctor--hero h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .footer__mark {
  width: 132px;
  max-width: 132px;
  }
}
/* Split selected titles into controlled lines */
.split-title span {
  display: block;
}
.call-options[hidden] {
  display: none;
}

.call-options {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 33, 31, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.call-options__panel {
  position: relative;
  width: min(520px, 100%);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 34px);
  box-shadow: var(--shadow);
}

.call-options__panel h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.call-options__panel p:not(.eyebrow) {
  margin: 0 0 20px;
}

.call-options__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0 0;
}

.call-options__close:hover {
  background: rgba(15, 91, 95, 0.08);
  color: var(--primary);
  transform: scale(1.06);
}

.call-options__actions {
  display: grid;
  gap: 12px;
}

.call-options__actions .btn {
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  border-radius: 20px;
}

.call-options__actions .btn small {
  font-weight: 500;
  opacity: 0.78;
}

.call-options__actions .btn--soft {
  background: rgba(15, 91, 95, 0.08);
  color: var(--primary);
}

body.modal-open {
  overflow: hidden;
}
/* Optical centering for icon symbols */
.icon,
.services-list__grid li::before,
.check-list li::before {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Service card top icons */
.icon {
  padding-top: 7px;
}

/* Checklist tick icons */
.services-list__grid li::before,
.check-list li::before {
  padding-top: 3px;
}
/* Keep Arabic phone numbers in the intended order */
.site-footer .phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
/* Footer phone number direction fix */
body[dir="rtl"] .site-footer a.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}
/* Privacy / medical notice page */
.privacy-page {
  background: var(--bg);
}

.privacy-notice {
  padding-top: 56px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.privacy-card {
  padding: clamp(22px, 3vw, 30px);
}

.privacy-card h1 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 6px;
}

.privacy-updated {
  margin: 0 0 22px;
  color: var(--subtle);
  font-size: 0.92rem;
}

.privacy-card h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  margin-top: 24px;
  margin-bottom: 8px;
}

.privacy-card p {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.privacy-card .eyebrow {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }
}
.footer__privacy {
  margin-top: 14px;
}

.footer__privacy a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer__privacy a:hover {
  color: var(--accent-soft);
}

.privacy-home-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  transition: background .2s, transform .2s, color .2s;
}

.privacy-home-link:hover {
  background: rgba(15, 91, 95, 0.08);
  color: var(--primary-2);
  transform: translateY(-1px);
}
/* 404 page */
.not-found-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(214,155,85,.20), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(15,91,95,.16), transparent 34%),
    var(--bg);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.not-found__card {
  max-width: 980px;
  margin-inline: auto;
}

.not-found__logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 28px;
}

.not-found__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.not-found h1 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.not-found p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .not-found__grid {
    grid-template-columns: 1fr;
  }

  .not-found__card {
    padding: 24px;
  }
}