/* ==========================================================================
   Baheg Clinic — bahegclinic.com
   Brand: warm teal + amber on cream. Soft shapes, no sharp edges.
   Bilingual: Arabic (RTL, default) / English (LTR).
   ========================================================================== */

:root {
  /* Brand */
  --teal:        #2E8B7F;
  --teal-dark:   #247066;
  --teal-deep:   #234039;
  --teal-tint:   #D8E9E5;
  --teal-wash:   #EFF6F4;

  --amber:       #E8A23D;
  --amber-dark:  #C98320;
  --amber-tint:  #FAE9CE;

  --cream:       #FBF7F0;
  --cream-warm:  #F7F1E6;
  --card:        #FFFFFF;

  --ink:         #234039;
  --body:        #4A5854;
  --muted:       #7E8A85;
  --faint:       #9A9384;
  --line:        #ECE4D5;
  --line-soft:   #F2EBDD;

  /* Type */
  --font: 'Readex Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(35, 64, 57, .05);
  --shadow-md: 0 10px 30px rgba(35, 64, 57, .07);
  --shadow-lg: 0 24px 60px rgba(35, 64, 57, .12);
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open, body.modal-open { overflow: hidden; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; display: block; }

/* English gets a touch tighter line-height than Arabic */
html[lang="en"] body { line-height: 1.68; }

.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* -------------------------------------------------------------- buttons  */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.75em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--amber); color: #4A2E00; box-shadow: 0 6px 18px rgba(232, 162, 61, .3); }
.btn-primary:hover { background: #F0AE4F; box-shadow: 0 10px 26px rgba(232, 162, 61, .38); }

.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(46, 139, 127, .28); }
.btn-teal:hover { background: var(--teal-dark); }

.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(251, 247, 240, .45); }
.btn-ghost:hover { background: rgba(251, 247, 240, .12); border-color: var(--cream); }

.btn-outline { background: transparent; color: var(--teal); border-color: #CFE2DE; }
.btn-outline:hover { background: var(--teal-wash); border-color: var(--teal); }

/* --------------------------------------------------------------- header  */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 247, 240, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(35, 64, 57, .04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name b {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand-name span {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--faint);
  text-transform: uppercase;
}
html[lang="ar"] .brand-name span { letter-spacing: .1em; }

.main-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: .5em .85em;
  border-radius: 999px;
  color: var(--body);
  font-size: .95rem;
  font-weight: 400;
  transition: color .18s, background .18s;
}
.main-nav a:hover { color: var(--teal); background: var(--teal-wash); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: .4em;
  padding: .5em .95em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-wash); }
.lang-toggle svg { width: 15px; height: 15px; opacity: .65; }

.header-actions .btn { padding: .68em 1.35em; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  width: 17px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  width: 17px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top:  5.5px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero  */
.hero {
  position: relative;
  background: var(--teal);
  color: var(--cream);
  padding: clamp(56px, 9vw, 104px) 0 clamp(150px, 17vw, 210px);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* soft cream curve into the next section */
  content: '';
  position: absolute;
  inset-inline: -6%;
  bottom: -90px;
  height: 190px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}
.hero-sprout {
  position: absolute;
  inset-block-start: -6%;
  inset-inline-end: -4%;
  width: min(560px, 52vw);
  opacity: .075;
  z-index: 0;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 22px;
  padding: .42em 1.15em;
  border-radius: 999px;
  background: rgba(251, 247, 240, .13);
  border: 1px solid rgba(251, 247, 240, .22);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--amber-tint);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.hero h1 .accent { color: var(--amber); }

.hero-lede {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  line-height: 1.85;
  color: rgba(251, 247, 240, .88);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(251, 247, 240, .16);
  max-width: 470px;
  margin-inline: auto;
  font-size: .95rem;
  color: rgba(251, 247, 240, .72);
}
.hero-tagline .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: none; }

/* --------------------------------------------------------- generic bits  */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-cream { background: var(--cream-warm); }
.section-teal  { background: var(--teal); color: rgba(251, 247, 240, .9); }
.section-teal h2, .section-teal h3 { color: var(--cream); }

.section-head { max-width: 720px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: block;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
}
html[lang="ar"] .kicker { letter-spacing: .06em; font-size: .92rem; }
.section-teal .kicker { color: var(--amber); }

.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -.02em;
  margin: 0 0 .45em;
}
.section-head p { font-size: 1.05rem; color: var(--muted); margin: 0; }
.section-teal .section-head p { color: rgba(251, 247, 240, .78); }

/* ------------------------------------------------------------- services  */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 34px 30px 30px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--amber));
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-tint);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 0 7px var(--teal-wash);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.service-card .rule { width: 42px; height: 3px; border-radius: 2px; background: var(--amber); margin: 0 0 16px; }
.service-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------------------------------------------------------------- about  */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.vision-card {
  position: relative;
  padding: clamp(30px, 4vw, 46px);
  background: rgba(251, 247, 240, .07);
  border: 1px solid rgba(251, 247, 240, .17);
  border-radius: var(--r-xl);
}
.vision-card .quote-mark {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: 30px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: #4A2E00;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}
.vision-card p {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.9;
  color: var(--cream);
  margin: 0;
}
.vision-card .hl { color: var(--amber); }

.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pillar-list li { display: flex; gap: 15px; align-items: flex-start; }
.pillar-list .tick {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 3px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(232, 162, 61, .18);
  color: var(--amber);
}
.pillar-list .tick svg { width: 13px; height: 13px; }
.pillar-list b { display: block; color: var(--cream); font-weight: 500; margin-bottom: 2px; }
.pillar-list span.txt { color: rgba(251, 247, 240, .72); font-size: .95rem; line-height: 1.7; }

/* ----------------------------------------------------------------- team  */
/* Six specialists sit best as 3 x 2 — auto-fill would leave a ragged 4 + 2. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 24px 26px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-tint);
}
.member-photo {
  position: relative;
  width: 122px; height: 122px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-warm);
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 6.5px var(--teal-tint);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.member h3 { font-size: 1.14rem; margin: 0 0 4px; }
.member .role { font-size: .89rem; color: var(--teal); font-weight: 500; margin: 0 0 16px; line-height: 1.6; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 20px; }
.tag {
  padding: .32em .9em;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.6;
}
.tag.teal  { background: var(--teal-wash);  color: var(--teal-dark); }
.tag.amber { background: var(--amber-tint); color: #9A6A12; }

.member .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .87rem;
  font-weight: 500;
  color: var(--faint);
  transition: color .2s, gap .2s;
}
.member:hover .more { color: var(--teal); gap: .75em; }
.member .more svg { width: 13px; height: 13px; }
html[dir="rtl"] .member .more svg { transform: scaleX(-1); }

/* ---------------------------------------------------------------- modal  */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(35, 64, 57, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal.open { opacity: 1; visibility: visible; }

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(86vh, 900px);
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.98);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.modal.open .modal-panel { transform: none; }

.modal-close {
  position: sticky;
  top: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  margin-block: 14px -38px;
  margin-inline: auto 14px;   /* block-level, so auto start-margin pushes to the end */
  display: grid; place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--teal); color: #fff; transform: rotate(90deg); }
.modal-close svg { width: 15px; height: 15px; }

.modal-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 34px 34px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-head .member-photo { width: 88px; height: 88px; margin: 0; flex: none; }
.modal-head h3 { font-size: 1.4rem; margin: 0 0 3px; }
.modal-head .role { color: var(--teal); font-weight: 500; font-size: .95rem; margin: 0; line-height: 1.6; }

.modal-body { padding: 28px 34px 36px; }
.modal-body h4 {
  margin: 0 0 12px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
html[lang="ar"] .modal-body h4 { letter-spacing: .04em; font-size: .95rem; }
.modal-body .block + .block { margin-top: 28px; }
.modal-body p { color: var(--body); margin: 0; font-size: 1rem; }
.modal-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.modal-body li { position: relative; padding-inline-start: 22px; font-size: .98rem; color: var(--body); }
.modal-body li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ----------------------------------------------------------- edu / posts */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.edu-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: inherit;
  text-align: start;
  padding: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.edu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.edu-cover { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-warm); }
.edu-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.edu-card:hover .edu-cover img { transform: scale(1.04); }
.edu-count {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-end: 14px;
  padding: .3em .85em;
  border-radius: 999px;
  background: rgba(35, 64, 57, .78);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: .78rem;
  font-weight: 500;
}
.edu-meta { padding: 22px 24px 24px; }
.edu-meta h3 { font-size: 1.12rem; margin: 0 0 6px; }
.edu-meta p { font-size: .93rem; color: var(--muted); margin: 0; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
  background: rgba(35, 64, 57, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; color: rgba(251, 247, 240, .8); font-size: .9rem; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-stage img {
  max-width: min(620px, 100%);
  max-height: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lb-nav { display: flex; align-items: center; justify-content: center; gap: 14px; }
.lb-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(251, 247, 240, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}
.lb-btn:hover { background: rgba(251, 247, 240, .14); border-color: var(--cream); }
.lb-btn:disabled { opacity: .3; cursor: default; }
.lb-btn svg { width: 16px; height: 16px; }
/* Arrows follow reading direction: base points forward, .prev points back. */
.lb-btn.prev svg { transform: scaleX(-1); }
html[dir="rtl"] .lb-btn svg { transform: scaleX(-1); }
html[dir="rtl"] .lb-btn.prev svg { transform: none; }
.lb-dots { display: flex; gap: 7px; align-items: center; }
.lb-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(251, 247, 240, .3);
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.lb-dots i.on { background: var(--amber); transform: scale(1.35); }

/* -------------------------------------------------------------- booking  */
.booking-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}
.booking-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 34px 30px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.booking-aside h3 { font-size: 1.22rem; margin-bottom: .5em; }
.booking-aside p { font-size: .96rem; color: var(--muted); }

.step-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.step-list li { display: flex; gap: 14px; align-items: flex-start; }
.step-list .n {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-wash);
  color: var(--teal-dark);
  font-size: .85rem;
  font-weight: 600;
}
.step-list b { display: block; color: var(--ink); font-weight: 500; font-size: .98rem; margin-bottom: 1px; }
.step-list span.txt { font-size: .89rem; color: var(--muted); line-height: 1.65; }

.form-frame {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
/* Google Forms is cross-origin, so the iframe can't auto-size to its content.
   These heights are measured against the live form (12 questions); if
   questions are added or removed, re-measure and adjust. */
.form-frame iframe {
  display: block;
  width: 100%;
  height: 2340px;
  border: 0;
  background: var(--card);
}
.form-fallback {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream-warm);
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
}
.form-fallback a { font-weight: 500; }

/* --------------------------------------------------------------- footer  */
.site-footer {
  background: var(--teal-deep);
  color: rgba(251, 247, 240, .68);
  padding: clamp(52px, 7vw, 76px) 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 46px;
}
.site-footer h4 {
  color: var(--cream);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
html[lang="ar"] .site-footer h4 { letter-spacing: .04em; font-size: .95rem; }
.site-footer .brand-name b { color: var(--cream); }
.site-footer .brand-name span { color: rgba(251, 247, 240, .45); }
.footer-about p { margin: 20px 0 0; max-width: 330px; line-height: 1.85; }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a { color: rgba(251, 247, 240, .68); transition: color .2s; }
.footer-links a:hover { color: var(--amber); }

.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(251, 247, 240, .2);
  border-radius: 50%;
  color: rgba(251, 247, 240, .8);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.social-row a:hover { background: var(--amber); border-color: var(--amber); color: #4A2E00; transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; }
.social-handle { margin-top: 16px; font-size: .92rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(251, 247, 240, .12);
  font-size: .87rem;
  color: rgba(251, 247, 240, .5);
}
.footer-bottom .tagline { display: flex; align-items: center; gap: 10px; }
.footer-bottom .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .booking-shell { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .wrap, .header-inner { width: calc(100% - 36px); }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 26px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: .8em 1em; font-size: 1rem; }

  .header-actions .btn-cta { display: none; }
  .main-nav .btn-cta-mobile { display: inline-flex; margin-top: 12px; }
}
@media (min-width: 861px) { .main-nav .btn-cta-mobile { display: none; } }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .modal-head { flex-direction: column; text-align: center; padding: 30px 24px 22px; }
  .modal-body { padding: 24px 24px 30px; }
  .modal-close { margin-inline: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-frame iframe { height: 2900px; }
  .hero-tagline { flex-direction: column; gap: 6px; }
  .hero-tagline .sep { display: none; }
}
