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

:root {
  --teal:       #3d5a54;
  --teal-light: #4e7169;
  --terra:      #c08b74;
  --beige:      #f0ece4;
  --offwhite:   #fafaf8;
  --text-dark:  #1a1a1a;
  --text-mid:   #555;
  --text-light: #888;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-ar:    'Cairo', 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--offwhite);
  line-height: 1.6;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 38px; width: auto; transition: opacity .3s; }
.nav-logo-white { display: block; }
.nav-logo-color { display: none; }
.navbar.scrolled .nav-logo-white { display: none; }
.navbar.scrolled .nav-logo-color { display: block; }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.navbar.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--terra); }
.nav-cta {
  background: var(--terra);
  color: #fff !important;
  padding: .5rem 1.2rem;
  border-radius: 2rem;
  font-size: .8rem !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s !important;
}
.nav-cta:hover { background: #b07a63 !important; color: #fff !important; }
.navbar.scrolled .nav-cta { color: #fff !important; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--teal);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .25;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 3rem 4rem;
}
.hero-split {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}
.hero-split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 4rem 4rem 3rem;
  position: relative;
  z-index: 1;
  order: 2;
}
.hero-split-photo {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  order: 1;
}
.hero-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
html[dir="rtl"] .hero-split-text { padding: 8rem 3rem 4rem 4rem; }
.hero-title-sub {
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--terra);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .hero-split { flex-direction: column; min-height: unset; }
  .hero-split-photo {
    width: 100%;
    height: 100vh;
    order: 1;
    position: relative;
  }
  .hero-split-photo img {
    object-position: center 10%;
  }
  .hero-split-text {
    order: 2;
    padding: 3rem 1.5rem 3rem;
    background: var(--teal);
  }
}
.hero-label {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.5rem;
}
.cred-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  padding: .35rem 1rem;
  border-radius: 2rem;
  font-size: .78rem;
  letter-spacing: .04em;
}
.hero-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: center;
}
.hero-socials a {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  letter-spacing: .06em;
  transition: color .2s;
}
.hero-socials a:hover { color: #fff; }
.hero-socials-sep { color: rgba(255,255,255,.3); font-size: .8rem; }
.btn-primary {
  display: inline-block;
  background: var(--terra);
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 2rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #b07a63; transform: translateY(-1px); }

/* ── Section shared ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.section-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.section p {
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 680px;
}

/* ── About strip ── */
.about-strip {
  background: #fff;
  padding: 5rem 0;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text-only {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 3rem;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: .5rem;
}
.about-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--teal);
  margin-bottom: .4rem;
}
.about-title {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.5rem;
}
.about-body p {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.creds-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.8rem;
}
.cred-tag {
  background: var(--beige);
  color: var(--teal);
  padding: .3rem .9rem;
  border-radius: 2rem;
  font-size: .78rem;
  font-weight: 500;
}

/* ── Specialties grid ── */
.specialties-section {
  background: var(--beige);
  padding: 6rem 0;
}
.specialties-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.specialty-card {
  background: #fff;
  border-radius: .75rem;
  padding: 2rem;
  transition: box-shadow .2s, transform .15s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.specialty-card:hover {
  box-shadow: 0 8px 32px rgba(61,90,84,.12);
  transform: translateY(-2px);
}
.specialty-icon {
  margin-bottom: 1.2rem;
  color: var(--teal);
  opacity: .75;
  display: flex;
  justify-content: center;
}
.specialty-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--teal);
  margin-bottom: .5rem;
}
.specialty-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Clinic section ── */
.clinic-section {
  background: var(--teal);
  padding: 6rem 0;
  color: #fff;
}
.clinic-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.clinic-inner .section-label { color: var(--terra); }
.clinic-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.clinic-inner p { color: rgba(255,255,255,.75); max-width: none; }
.clinic-detail {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}
.clinic-detail-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
  min-width: 70px;
  padding-top: .1rem;
}
.clinic-detail-val {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1.2rem;
  margin-top: 1.5rem;
  font-size: .88rem;
}
.hours-day { color: rgba(255,255,255,.6); }
.hours-time { color: rgba(255,255,255,.9); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--terra);
  padding: 5rem 3rem;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--terra);
  padding: .9rem 2.4rem;
  border-radius: 2rem;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .15s;
}
.btn-white:hover { transform: translateY(-1px); }

/* ── Footer ── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.6);
  padding: 3rem;
  text-align: center;
  font-size: .82rem;
}
.footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: #fff; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

/* ── Specialty page ── */
.specialty-page {
  padding-top: 7rem;
}
.specialty-hero {
  background: var(--teal);
  padding: 5rem 3rem 4rem;
  text-align: center;
}
.specialty-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1rem;
}
.specialty-hero p {
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.specialty-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 3rem;
}
.specialty-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--teal);
  margin: 2.5rem 0 .8rem;
}
.specialty-body p {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.specialty-body ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.specialty-body ul li {
  padding: .4rem 0;
  color: var(--text-mid);
  padding-left: 1.2rem;
  position: relative;
}
.specialty-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terra);
}
html[dir="rtl"] .specialty-body ul li { padding-left: 0; padding-right: 1.2rem; }
html[dir="rtl"] .specialty-body ul li::before { left: auto; right: 0; }

/* ── Mobile ── */
.hamburger { display: none; }
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .navbar.scrolled {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links { display: none; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background .3s;
  }
  .navbar.scrolled .hamburger span { background: var(--teal); }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .clinic-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-content { padding: 7rem 1.5rem 3rem; }
  .section { padding: 4rem 1.5rem; }
  .specialties-inner, .clinic-inner { padding: 0 1.5rem; }
  .about-inner { padding: 0 1.5rem; }
}
