:root {
  --bg: #f3efe6;
  --bg-2: #e8e2d6;
  --paper: #fffdf8;
  --ink: #2a313c;
  --muted: #5b6470;
  --line: #d7d0c3;
  --accent: #4f6f62;
  --accent-deep: #3d5850;
  --accent-soft: #e3ece7;
  --warm: #b57a5a;
  --warm-soft: #f3e6dc;
  --shadow: 0 18px 50px rgba(42, 49, 60, 0.08);
  --max: 720px;
  --wide: 1120px;
  --font: "Source Sans 3", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --serif: "Fraunces", "Amiri", Georgia, serif;
  --radius: 22px;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  font-size: 118.75%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(79, 111, 98, 0.09), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(181, 122, 90, 0.08), transparent 46%),
    var(--bg);
  line-height: 1.75;
  font-size: 1.08rem;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body { text-align: right; }

a { color: inherit; }
img { max-width: 100%; display: block; }
button, summary { font: inherit; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--accent);
  color: var(--paper);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}
.narrow {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

html[dir="ltr"] .t-ar,
html[dir="rtl"] .t-en { display: none !important; }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.top.is-scrolled {
  background: rgba(243, 239, 230, 0.94);
  border-bottom-color: rgba(79, 111, 98, 0.16);
  box-shadow: 0 10px 30px rgba(42, 49, 60, 0.06);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.7rem;
  padding-block: 0.7rem;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.08rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.2;
  text-align: start;
}

.logo-en,
.logo-ar,
.logo-sub {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.logo-en {
  order: 1;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.16rem, 2.15vw, 1.52rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-ar {
  order: 2;
  font-family: "Amiri", Georgia, serif;
  font-size: clamp(1.26rem, 2.35vw, 1.66rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--ink);
}

.logo-sub {
  color: var(--muted);
  font-weight: 500;
}

.logo-sub-en {
  order: 3;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(0.84rem, 1.45vw, 0.98rem);
  margin-top: 0.18rem;
}

.logo-sub-ar {
  order: 4;
  font-family: "IBM Plex Sans Arabic", "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(0.88rem, 1.5vw, 1.02rem);
  line-height: 1.45;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-inline-start: auto;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  padding-block: 0.2rem;
  transition: color 0.22s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.nav a:hover,
.nav a:focus-visible { color: var(--ink); }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  gap: 0.15rem;
  padding: 0.18rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.8);
  border-radius: 999px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-width: 2.7rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: white;
}

.book,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 48px;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.book,
.btn-primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 8px 22px rgba(79, 111, 98, 0.18);
}
.book:hover,
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 111, 98, 0.22);
}

.btn-secondary {
  background: rgba(255, 253, 248, 0.7);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.hero { padding: 4rem 0 3.25rem; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; }
}

.kicker {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 700;
  margin: 0 0 1rem;
}

html[lang="ar"] .kicker {
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  color: #223038;
}

html[lang="ar"] .hero h1 {
  letter-spacing: 0;
  line-height: 1.35;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  color: #3a4650;
}

html[lang="ar"] .hero-tagline {
  letter-spacing: 0;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead {
  font-size: 1.22rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-weight: 400;
  max-width: 40rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  font-size: 0.95rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hero-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s ease;
}
.hero-photo:hover img { transform: scale(1.07); }
.photo-badge {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 252, 247, 0.92);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
}
html[lang="ar"] .photo-badge { letter-spacing: 0.02em; }
.hero-photo figcaption {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(216, 210, 198, 0.8);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.hero-photo figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  margin-bottom: 0.2rem;
}
.hero-photo figcaption span {
  color: var(--muted);
  font-size: 1.02rem;
}

.moment {
  display: grid;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 1.6rem;
  box-shadow: 0 10px 30px rgba(42, 49, 60, 0.05);
}
@media (min-width: 800px) {
  .moment { grid-template-columns: 1.05fr 1fr; }
}
.moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 1.1s ease;
}
.moment:hover img { transform: scale(1.04); }
.moment-copy {
  padding: 1.8rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.moment-copy .intro { margin-bottom: 0; }
.moment-copy .pull { margin-top: 1.15rem; }

.clinic-photo {
  height: 168px;
  overflow: hidden;
  background: var(--bg-2);
}
.clinic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.clinic:hover .clinic-photo img { transform: scale(1.06); }

section { padding: 4rem 0; }
.band { background: var(--bg-2); }
.paper-band {
  background: rgba(255, 253, 248, 0.55);
  border-block: 1px solid var(--line);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.78rem, 2.9vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: #223038;
}

html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.4; }

.intro {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.8rem;
}

.pull {
  font-family: var(--serif);
  font-size: clamp(1.32rem, 2.3vw, 1.68rem);
  line-height: 1.55;
  color: #3a4554;
  margin: 1.4rem 0 0;
  padding-inline-start: 1.1rem;
  border-inline-start: 2px solid var(--accent);
  font-weight: 500;
}

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.list-check li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  color: var(--muted);
}
.list-check li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}

.signs {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
@media (min-width: 720px) {
  .signs { grid-template-columns: 1fr 1fr; }
}

.sign {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 550;
  box-shadow: 0 8px 24px rgba(42, 49, 60, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sign:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 111, 98, 0.35);
  box-shadow: 0 14px 32px rgba(42, 49, 60, 0.08);
}

.services { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline-start 0.25s ease;
}
@media (min-width: 700px) {
  .svc { grid-template-columns: 3.4rem 1fr; gap: 1.2rem; align-items: start; }
}
.svc:hover { padding-inline-start: 0.4rem; }
.svc-n {
  font-family: var(--serif);
  color: var(--warm);
  font-size: 1.28rem;
  font-weight: 600;
}
.svc h3 {
  margin: 0 0 0.2rem;
  font-size: 1.18rem;
  font-family: var(--font);
}
.svc p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.clinics {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 800px) {
  .clinics { grid-template-columns: 1fr 1fr; }
}

.clinic {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(42, 49, 60, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clinic:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 49, 60, 0.1);
}

.clinic-head {
  padding: 1.2rem 1.4rem 1rem;
  background:
    linear-gradient(180deg, var(--accent-soft), rgba(255, 253, 248, 0));
  border-bottom: 1px solid var(--line);
}

.clinic .where {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 700;
  margin: 0 0 0.3rem;
}
html[lang="ar"] .clinic .where { letter-spacing: 0.02em; }

.clinic h3 {
  font-family: var(--serif);
  font-size: 1.58rem;
  margin: 0;
}

.clinic-body { padding: 1.25rem 1.4rem 1.45rem; }
.clinic .label {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
html[lang="ar"] .clinic .label { letter-spacing: 0.02em; }
.clinic .val {
  margin: 0 0 0.9rem;
  font-size: 1.08rem;
}

.clinic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.clinic-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.clinic-links a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  background: var(--accent-soft);
}

.reasons {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 800px) {
  .reasons { grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; }
}
.reason {
  padding: 0.2rem 0;
  transition: transform 0.25s ease;
}
.reason:hover { transform: translateX(4px); }
html[dir="rtl"] .reason:hover { transform: translateX(-4px); }
.reason h3 { margin: 0 0 0.3rem; font-size: 1.16rem; }
.reason p { margin: 0; color: var(--muted); font-size: 1.06rem; }

.faq { display: grid; gap: 0.55rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] {
  border-color: rgba(79, 111, 98, 0.35);
  box-shadow: 0 10px 24px rgba(42, 49, 60, 0.05);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.15rem;
  font-weight: 650;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  align-items: center;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.faq .a {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.cta {
  text-align: center;
  padding: 2.9rem 1.5rem;
  background: linear-gradient(180deg, var(--accent-soft), #edf3f0);
  border-radius: 22px;
  border: 1px solid #d2dfd8;
}
.cta .actions { justify-content: center; }
.cta p {
  margin: 0 auto 1.4rem;
  color: var(--muted);
  max-width: 32rem;
}

.footer {
  padding: 2.6rem 0 6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.02rem;
}
.footer strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.18rem;
}
.footer a { color: var(--accent); font-weight: 650; text-decoration: none; }
.footer .ps { margin-top: 1rem; font-size: 0.9rem; opacity: 0.85; }

.wa {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 30;
  background: #1fa855;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(31, 168, 85, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: wa-soft 3s ease-in-out infinite;
}
.wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(31, 168, 85, 0.38);
}

@media (max-width: 860px) {
  .header-tools { gap: 0.4rem; }
  .lang-switch { padding: 0.12rem; }
  .lang-switch button {
    min-width: 2.35rem;
    min-height: 2.2rem;
    padding: 0.28rem 0.48rem;
    font-size: 0.82rem;
  }
  .nav-toggle {
    width: 2.3rem;
    height: 2.3rem;
  }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(243, 239, 230, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .top { position: sticky; }
  .top-inner { position: relative; }
  .header-tools { margin-inline-start: auto; }
  .hero { padding: 2.3rem 0 2rem; }
  .wrap, .narrow { width: min(100% - 1.35rem, var(--wide)); }
  .clinic-links { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .logo-en { font-size: 1.02rem; }
  .logo-ar { font-size: 1.12rem; }
  .logo-sub-en { font-size: 0.76rem; }
  .logo-sub-ar { font-size: 0.8rem; }
  .actions .btn { width: 100%; }
  .clinic-links { grid-template-columns: 1fr; }
  .signs { grid-template-columns: 1fr; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes wa-soft {
  0%, 100% { box-shadow: 0 8px 24px rgba(31, 168, 85, 0.28); }
  50% { box-shadow: 0 8px 28px rgba(31, 168, 85, 0.42); }
}

.hero-copy > * {
  animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.18s; }
.hero-photo { animation: rise 0.55s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
