/* ═══════════════════════════════════════════════════════════
   Wave & Quad — landing page
   Tokens → base → components → sections → responsive
   ═══════════════════════════════════════════════════════════ */

/* ---------- 1 · TOKENS ---------- */
:root {
  --brand: #E8A317;
  --brand-2: #C88A0A;
  --brand-ink: #2A1D00;
  --brand-soft: rgba(232, 163, 23, .12);

  --ocean: #0E7C86;
  --ocean-2: #0A5F67;

  --bg: #FAF7F1;
  --bg-alt: #F3EEE4;
  --surface: #FFFFFF;
  --surface-2: #FBF8F2;
  --ink: #16191C;
  --ink-2: #4A5057;
  --ink-3: #7B838C;
  --line: rgba(22, 25, 28, .11);
  --line-2: rgba(22, 25, 28, .06);

  --dark-bg: #0C0F11;
  --dark-bg-alt: #14181B;
  --dark-surface: #191E21;
  --dark-surface-2: #1F252A;
  --dark-ink: #F3F1EC;
  --dark-ink-2: #A9B1B8;
  --dark-ink-3: #78828A;
  --dark-line: rgba(255, 255, 255, .12);
  --dark-line-2: rgba(255, 255, 255, .07);

  --wrap: 1240px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --pill: 999px;

  --sh-sm: 0 1px 2px rgba(16, 20, 24, .05), 0 4px 14px rgba(16, 20, 24, .05);
  --sh: 0 2px 6px rgba(16, 20, 24, .06), 0 18px 44px rgba(16, 20, 24, .09);
  --sh-lg: 0 4px 12px rgba(16, 20, 24, .08), 0 34px 80px rgba(16, 20, 24, .14);

  --hdr-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="dark"] {
  --bg: var(--dark-bg);
  --bg-alt: var(--dark-bg-alt);
  --surface: var(--dark-surface);
  --surface-2: var(--dark-surface-2);
  --ink: var(--dark-ink);
  --ink-2: var(--dark-ink-2);
  --ink-3: var(--dark-ink-3);
  --line: var(--dark-line);
  --line-2: var(--dark-line-2);
  --brand-ink: #1A1200;
  --brand-soft: rgba(232, 163, 23, .16);
  --sh-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .3);
  --sh: 0 2px 6px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .45);
  --sh-lg: 0 4px 12px rgba(0, 0, 0, .5), 0 34px 80px rgba(0, 0, 0, .6);
}

/* ---------- 2 · BASE ---------- */
* { -webkit-tap-highlight-color: transparent; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .022;
}
html[data-theme="dark"] body::before { opacity: .035; }

main, section, header, footer { position: relative; z-index: 1; }

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

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-2); }

::selection { background: var(--brand); color: var(--brand-ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 12px 20px;
  border-start-end-radius: var(--r-sm);
  font-weight: 600;
}
.skip:focus { inset-inline-start: 0; color: var(--brand-ink); }

/* type scale */
.h1 {
  font-size: clamp(2.1rem, 1.15rem + 3.4vw, 3.9rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.032em;
  margin: 0;
}
.h2 {
  font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.028em;
  margin: 0;
}
.serif-i {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.eyebrow.center { justify-content: center; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 54ch; }
.small { font-size: .95rem; color: var(--ink-2); max-width: 46ch; }
.on-dark { color: #fff; }
.on-muted { color: rgba(255, 255, 255, .8); }
.on-faint { color: rgba(255, 255, 255, .6); }
.center { text-align: center; margin-inline: auto; }

.link-u {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--brand);
  color: var(--ink);
}
.link-u:hover { color: var(--brand-2); border-color: var(--ink); }
.link-u i { transition: transform .25s var(--ease); }
.link-u:hover i { transform: translateX(4px); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  border-radius: var(--pill);
  padding: 12px 24px;
  border: 1.5px solid transparent;
  transition: transform .22s var(--ease), background .22s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn i { font-size: 1.05em; transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(3px); }

.btn-solid {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 4px 14px rgba(232, 163, 23, .32);
}
.btn-solid:hover {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 163, 23, .4);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: #fff;
  color: #10131A;
  border-color: #fff;
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--pill);
}
.badge-dark { background: var(--ocean); color: #fff; }

/* tick list */
.tick { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 9px; }
.tick li { position: relative; padding-inline-start: 26px; font-size: .95rem; color: var(--ink-2); }
.tick li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--brand-2);
  font-size: .95rem;
}
.tick.sm li { font-size: .88rem; }
.tick.two-col { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.section, section.sec { padding: clamp(64px, 8vw, 118px) 0; }
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(34px, 4vw, 56px);
}
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head .h1 { margin-top: 0; }

/* ---------- 3 · UTILITY BAR + HEADER ---------- */
.util {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-2);
  font-size: .8rem;
  color: var(--ink-2);
  padding: 8px 0;
}
.util a { font-weight: 600; color: var(--ink); }
.util a:hover { color: var(--brand-2); }
.util b { color: var(--ink); font-weight: 600; }

.hdr {
  position: sticky;
  top: 0;
  z-index: 900;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.hdr .wrap { height: var(--hdr-h); }
.hdr.is-stuck {
  border-bottom-color: var(--line-2);
  box-shadow: 0 6px 26px rgba(16, 20, 24, .06);
}

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-mark svg { width: 100%; height: 100%; }
.lm-ring { stroke: var(--brand); stroke-width: 2; opacity: .45; }
.lm-wave { stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; }
.lm-sun { fill: var(--brand); }
.logo-txt {
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -.03em;
  color: var(--ink);
}
.logo-txt .amp { color: var(--brand-2); margin-inline: 1px; }
.logo:hover .logo-txt { color: var(--brand-2); }

.nav { gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--pill);
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover, .nav a.is-active, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr-r { gap: 8px; }

/* language switcher */
.langWrap { position: relative; }
.langBtn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color .2s, border-color .2s, background .2s;
}
.langBtn:hover, .langBtn[aria-expanded="true"] {
  color: var(--ink);
  border-color: var(--brand);
  background: var(--brand-soft);
}
.langBtn .chev { transition: transform .25s var(--ease); }
.langBtn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.langMenu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 960;
  min-width: 156px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh);
  animation: menuIn .2s var(--ease) both;
}
.langMenu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.langMenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: .9rem;
  color: var(--ink-2);
}
.langMenu a b {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-3);
  min-width: 20px;
}
.langMenu a:hover { background: var(--surface-2); color: var(--ink); }
.langMenu a.is-active { background: var(--brand-soft); color: var(--ink); }
.langMenu a.is-active b { color: var(--brand-2); }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 1rem;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.icon-btn:hover { color: var(--brand-2); border-color: var(--brand); transform: rotate(-18deg); }
.t-moon { display: none; }
html[data-theme="dark"] .t-sun { display: none; }
html[data-theme="dark"] .t-moon { display: block; }

.burger {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
}

/* mobile offcanvas */
.mnav { background: var(--surface); color: var(--ink); width: min(340px, 86vw); }
.mnav .offcanvas-header { border-bottom: 1px solid var(--line-2); padding: 18px 20px; }
.mnav-title { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.mnav .offcanvas-body { padding: 12px 20px 30px; display: flex; flex-direction: column; }
.mnav-links { margin: 0 0 22px; }
.mnav-links a {
  display: block;
  padding: 13px 0;
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--line-2);
}
.mnav-cta { margin-bottom: 24px; }
.mnav-langs { display: flex; gap: 8px; margin: 0 0 24px; }
.mnav-langs a {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.mnav-langs a:hover { border-color: var(--brand); color: var(--ink); }
.mnav-langs a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
}
.mnav-contact { display: grid; gap: 11px; font-size: .92rem; color: var(--ink-2); }
.mnav-contact a { display: flex; align-items: center; gap: 10px; }
.mnav-contact i { color: var(--brand-2); }

/* ---------- 4 · HERO ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding: clamp(60px, 9vw, 110px) 0 clamp(72px, 9vw, 120px);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, .58) 0%, rgba(8, 12, 18, .22) 34%, rgba(8, 12, 18, .74) 82%, rgba(8, 12, 18, .9) 100%),
    linear-gradient(96deg, rgba(6, 10, 16, .68) 0%, rgba(6, 10, 16, .12) 62%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 20px;
}
.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(232, 163, 23, .28);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 163, 23, .28); }
  50% { box-shadow: 0 0 0 9px rgba(232, 163, 23, 0); }
}

.hero-h1 {
  font-size: clamp(2.9rem, 1.2rem + 7.4vw, 6.4rem);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.042em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-h1 .em { color: var(--brand); }
.hero-h1 .serif-i { color: #fff; }

.hero-sub {
  font-size: clamp(1rem, .95rem + .4vw, 1.16rem);
  color: rgba(255, 255, 255, .82);
  max-width: 52ch;
  margin: 0 0 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 48px;
  margin: 58px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  max-width: 720px;
}
.hero-stats li { display: grid; gap: 2px; }
.hero-stats b {
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  color: #fff;
}
.hero-stats span {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: .9rem;
  animation: bob 2.2s var(--ease) infinite;
}
.hero-cue:hover { background: rgba(255, 255, 255, .14); color: #fff; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ---------- 5 · REVIEWS ---------- */
.gr { padding: clamp(46px, 6vw, 76px) 0 clamp(24px, 3vw, 40px); }
.gr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.gr-verdict { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.gr-stars { color: var(--brand); font-size: .95rem; letter-spacing: .1em; }
.gr-stars.lg { font-size: 1.25rem; }
.gr-count { font-size: .9rem; color: var(--ink-2); margin: 4px 0 0; }
.gr-count a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.glogo { display: inline-flex; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.glogo i { font-style: normal; }
.glogo i:nth-child(1) { color: #4285F4; }
.glogo i:nth-child(2) { color: #EA4335; }
.glogo i:nth-child(3) { color: #FBBC05; }
.glogo i:nth-child(4) { color: #4285F4; }
.glogo i:nth-child(5) { color: #34A853; }
.glogo i:nth-child(6) { color: #EA4335; }

.gr-stage { position: relative; }
.gr-view {
  overflow: hidden;
  padding-inline: 4px;
  cursor: grab;
  touch-action: pan-y;
}
.gr-view.is-drag { cursor: grabbing; }
.gr-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  will-change: transform;
}
.gr-slide { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; display: flex; }
.gr-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.gr-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--line); }
.gr-card header { display: flex; align-items: center; gap: 11px; }
.gr-card header > div { display: grid; line-height: 1.3; }
.gr-card header b { font-size: .93rem; font-weight: 600; }
.gr-card header span { font-size: .78rem; color: var(--ink-3); }
.gr-av {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.gr-card p { font-size: .93rem; color: var(--ink-2); margin: 0; }

.gr-arw {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-sm);
  font-size: 1.05rem;
  transition: background .2s, color .2s, transform .2s var(--ease), opacity .2s;
}
/* The stage is full-bleed, so the arrows sit flush against its inline
   edges rather than hanging outside the viewport. Logical properties
   keep prev on the "start" side in both LTR and RTL. */
.gr-arw.prev { inset-inline-start: 0; }
.gr-arw.next { inset-inline-end: 0; }
.gr-arw:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.gr-arw[disabled] { opacity: .3; pointer-events: none; }

.gr-dots { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.gr-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  transition: background .25s var(--ease), width .25s var(--ease);
}
.gr-dots button[aria-selected="true"] { background: var(--brand); width: 24px; border-radius: var(--pill); }

/* ---------- 6 · TRUST ---------- */
.trust { padding: clamp(30px, 4vw, 48px) 0 clamp(56px, 7vw, 90px); }
.tc {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 24px 22px;
  display: grid;
  gap: 6px;
  align-content: start;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tc:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--sh-sm); }
.tc-ic {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-2);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.tc b { font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; }
.tc-txt { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }

/* ---------- 7 · FEATURE CARDS ---------- */
.feat {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.feat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feat:hover .feat-media img { transform: scale(1.05); }
.feat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 14, 20, .5));
}
.feat-body { padding: 26px 26px 30px; display: grid; gap: 0; align-content: start; flex: 1; }
.feat-body .badge { justify-self: start; margin-bottom: 14px; }
.feat-h { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 10px; }
.feat-body p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.feat-body .tick { margin-bottom: 18px; }
.feat-body .link-u { justify-self: start; margin-top: auto; }

/* ---------- 8 · PACKAGES ---------- */
.packs { background: var(--bg-alt); }
.pack-tabs { gap: 8px; flex-wrap: wrap; }
.pack-tabs .nav-link {
  border-radius: var(--pill);
  padding: 11px 26px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-2);
  transition: all .22s var(--ease);
}
.pack-tabs .nav-link:hover { color: var(--ink); border-color: var(--line); }
.pack-tabs .nav-link.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.price {
  position: relative;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.price.is-pop {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--sh);
}
.price .pop {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.price-h { font-size: 1.16rem; font-weight: 700; letter-spacing: -.025em; margin: 0 0 2px; }
.price-sub { font-size: .85rem; color: var(--ink-3); margin: 0 0 14px; }
.price-n {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.price-n .cur { font-size: 1.3rem; font-weight: 600; margin-right: 1px; }
.price-n small { font-size: .82rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 5px; }
.price .tick { margin: 0 0 22px; flex: 1; }
.price-note { text-align: center; font-size: .85rem; color: var(--ink-3); margin: 30px auto 0; max-width: 62ch; }

/* ---------- 9 · STEPS ---------- */
.steps-sec { background: var(--bg); }
.step {
  height: 100%;
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--brand); }
.step-n {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.025em; margin: 0 0 8px; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---------- 10 · BASE / EQUIPMENT ---------- */
.base { background: var(--bg-alt); }
.figure { position: relative; margin: 0; }
.figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh); }
.figure figcaption {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--ink-3);
  letter-spacing: .01em;
}
.mask img { border-radius: var(--r-lg); }

.base-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.base-note i { font-size: 1.4rem; color: var(--brand-2); line-height: 1.2; }
.base-note p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.base-note b { color: var(--ink); }

/* ---------- 11 · GALLERY ---------- */
.gal { background: var(--bg); }
.gal-filters { gap: 8px; flex-wrap: wrap; }
.gal-filters .nav-link {
  border-radius: var(--pill);
  padding: 8px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.gal-filters .nav-link.active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.gal-item {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 220px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: zoom-in;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.gal-item.tall { aspect-ratio: 3 / 4; }
.gal-item.big { aspect-ratio: 16 / 11; }
.gal-item.wide { aspect-ratio: 16 / 8; }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 11, 16, .74));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gal-item figcaption {
  position: absolute;
  inset-inline: 0; bottom: 0;
  z-index: 2;
  padding: 20px 22px;
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item:hover::after, .gal-item:hover figcaption { opacity: 1; }
.gal-item:hover figcaption { transform: translateY(0); }
.gal-item.is-hidden { display: none; }

.lb .modal-content {
  background: #0A0C0E;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  overflow: hidden;
}
.lb .modal-body { background: #0A0C0E; }
.lb img { width: 100%; max-height: 76vh; object-fit: contain; }
.lb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
}

/* ---------- 12 · BOOKING ---------- */
.book {
  position: relative;
  color: #fff;
  background: #0A0D10;
  overflow: hidden;
}
.book .bg { position: absolute; inset: 0; z-index: 0; }
.book .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.book .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 9, 12, .95) 0%, rgba(6, 9, 12, .78) 55%, rgba(6, 9, 12, .92) 100%);
}
.book .wrap { position: relative; z-index: 1; }
.book .eyebrow { color: var(--brand); }
.book .eyebrow::before { background: var(--brand); }

.book-perks { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; }
.book-perks li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.book-perks i { color: var(--brand); font-size: 1.05rem; }

.book-help {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.book-help b { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.book-help a { font-weight: 600; }
.book-help a:hover { color: var(--brand); }

.book-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--sh-lg);
}
.form-h {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.req { color: var(--brand-2); }

.form-label { font-size: .84rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 6px; }
.form-control, .form-select {
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus, .form-select:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  color: var(--ink);
}
.form-control::placeholder { color: var(--ink-3); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #D64545; box-shadow: none; }
html[data-theme="dark"] .form-control.is-invalid,
html[data-theme="dark"] .form-select.is-invalid { border-color: #E06B6B; }
.invalid-feedback { font-size: .82rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form-check-label { font-size: .9rem; color: var(--ink-2); }
.form-foot { font-size: .82rem; color: var(--ink-3); text-align: center; margin: 16px 0 0; }

.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; }
.choice { position: relative; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  padding: 13px 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  color: var(--ink-2);
  transition: all .2s var(--ease);
}
.choice span i { font-size: 1rem; }
.choice input:hover + span { border-color: var(--brand); }
.choice input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 4px 14px rgba(232, 163, 23, .3);
}
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.choice-row.has-error .choice span { border-color: #D64545; }

#bookSubmit.is-loading { pointer-events: none; opacity: .72; }

.book-done {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 52px);
  text-align: center;
  box-shadow: var(--sh-lg);
  animation: popIn .5s var(--ease) both;
}
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.done-ic {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 1.9rem;
}
.book-done h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 12px; }
.book-done p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }
.book-done .small { font-size: .88rem; margin-bottom: 24px; }
.book-done strong { color: var(--ink); }

/* ---------- 13 · FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq-acc { background: transparent; }
.faq-acc .accordion-item {
  background: var(--surface);
  border: 1px solid var(--line-2) !important;
  border-radius: var(--r) !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.faq-acc .accordion-button {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  background: var(--surface);
  padding: 20px 22px;
  box-shadow: none !important;
}
.faq-acc .accordion-button:not(.collapsed) { color: var(--brand-2); }
.faq-acc .accordion-button::after {
  background-image: none;
  content: "\F64D";
  font-family: "bootstrap-icons";
  font-size: .95rem;
  color: var(--ink-3);
  transform: none;
  transition: transform .3s var(--ease);
}
.faq-acc .accordion-button:not(.collapsed)::after { transform: rotate(45deg); color: var(--brand-2); }
.faq-acc .accordion-body {
  padding: 0 22px 22px;
  color: var(--ink-2);
  font-size: .95rem;
  background: var(--surface);
}

/* ---------- 14 · FINAL CTA ---------- */
.final {
  position: relative;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  overflow: hidden;
}
.final .bg { position: absolute; inset: 0; z-index: 0; }
.final .bg img { width: 100%; height: 100%; object-fit: cover; }
.final .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, .74), rgba(8, 12, 18, .82));
}
.final .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; }
.final .h1 { max-width: 18ch; }
.final p { margin: 0; }

/* ---------- 15 · FOOTER ---------- */
.ftr { background: var(--bg-alt); border-top: 1px solid var(--line-2); padding: clamp(46px, 6vw, 72px) 0 0; }
.ftr-in {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px 30px;
  padding-bottom: 46px;
}
.ftr-line { font-size: .92rem; color: var(--ink-2); margin: 16px 0 18px; max-width: 34ch; }
.socials { display: flex; gap: 9px; }
.socials a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 1rem;
  transition: all .2s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); transform: translateY(-2px); }

.ftr-col { display: grid; gap: 9px; align-content: start; font-size: .92rem; }
.ftr-col b {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.ftr-col a { color: var(--ink-2); }
.ftr-col a:hover { color: var(--brand-2); }
.ftr-addr { color: var(--ink-3); font-size: .86rem; margin: 6px 0 0; line-height: 1.55; }

.ftr-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid var(--line-2);
  font-size: .85rem;
  color: var(--ink-3);
}
.ftr-links a { color: var(--ink-3); }
.ftr-links a:hover { color: var(--brand-2); }

/* ---------- 16 · FLOATING UI ---------- */

/* ---- floating WhatsApp (bottom-left) ---- */
.wa-fab {
  position: fixed;
  inset-inline-start: 20px;
  bottom: 24px;
  z-index: 945;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .38);
  overflow: visible;
  animation: waIn .6s var(--ease) .35s both;
  transition: gap .35s var(--ease), padding .35s var(--ease),
              box-shadow .3s var(--ease), transform .2s var(--ease);
}
.wa-fab i { flex: none; }

/* label is collapsed until hover/focus — keeps the resting pill compact */
.wa-fab-txt {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  opacity: 0;
  transition: max-width .35s var(--ease), opacity .25s var(--ease);
}
.wa-fab:hover, .wa-fab:focus-visible {
  color: #fff;
  gap: 10px;
  padding: 0 22px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
}
.wa-fab:hover .wa-fab-txt, .wa-fab:focus-visible .wa-fab-txt {
  max-width: 220px;
  opacity: 1;
}
.wa-fab:active { transform: scale(.96); }
.wa-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* attention pulse ring */
.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
  animation: waPulse 2.6s var(--ease) 1.2s infinite;
}
.wa-fab:hover .wa-fab-pulse,
.wa-fab:focus-visible .wa-fab-pulse { animation-play-state: paused; opacity: 0; }

@keyframes waIn {
  from { opacity: 0; transform: translateY(18px) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes waPulse {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.55); }
  100% { opacity: 0;   transform: scale(1.55); }
}

/* sit above the sticky mobile bar */
@media (max-width: 991.98px) {
  .wa-fab { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
  .wa-fab-pulse { animation: none; opacity: 0; }
  .wa-fab, .wa-fab-txt { transition: none; }
}

.mbar {
  position: fixed;
  inset-inline: 0; bottom: 0;
  z-index: 950;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mbar.is-up { transform: translateY(0); }
.mbar-wa {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}
.mbar-wa:hover { color: #fff; transform: scale(1.05); }

/* the floating WhatsApp button now covers this role — avoid two circles on mobile */
@media (max-width: 991.98px) {
  .mbar .mbar-wa { display: none; }
  .mbar { justify-content: stretch; }
}

.top-btn {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 86px;
  z-index: 940;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease);
}
.top-btn.is-up { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

body { padding-bottom: 0; }
@media (max-width: 991.98px) { body { padding-bottom: 68px; } }

/* ---------- 17 · REVEAL ---------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.rv.rv-d1 { transition-delay: .08s; }
.rv.rv-d2 { transition-delay: .16s; }
.rv.rv-d3 { transition-delay: .24s; }
.rv.rv-d4 { transition-delay: .32s; }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv.is-in { opacity: 1; transform: none; transition: none; }
  .hero-cue, .hero-kicker .dot { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 18 · RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
  .gr-slide { flex-basis: calc((100% - 18px) / 2); }
  .ftr-in { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
  :root { --hdr-h: 66px; }
  .hero { min-height: 88svh; }
  .gr-arw { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 18px 32px; }
  .top-btn { bottom: 92px; }
}

@media (max-width: 767.98px) {
  body { font-size: 15.5px; }
  .hero-media img { object-position: 58% center; }
  .gr-slide { flex-basis: 100%; }
  .gr-view { padding-inline: 2px; }
  .hero-stats { margin-top: 44px; }
  .hero-stats li { flex: 1 1 40%; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-col:last-child { grid-column: 1 / -1; }
  .figure figcaption { font-size: .8rem; }
  .top-btn { display: none; }
  .gal-item.big, .gal-item.wide, .gal-item.tall { aspect-ratio: 4 / 3; }
  .gal-item figcaption { opacity: 1; transform: none; padding: 14px 16px; font-size: .85rem; }
  .gal-item::after { opacity: .85; }
}

@media (max-width: 575.98px) {
  .wrap { padding-inline: 18px; }
  /* Bootstrap rows carry a negative inline margin of half the gutter.
     At g-5 that is 24px, which overshoots the 18px .wrap padding and
     pushes the page 6px wider than the viewport. Clamp the horizontal
     gutter to match the padding; --bs-gutter-y is left alone so the
     vertical rhythm between stacked columns is unchanged. */
  .row.g-5 { --bs-gutter-x: 2.25rem; }
  .price-n { font-size: 2.2rem; }
  .ftr-in { grid-template-columns: 1fr; }
  .ftr-bot { justify-content: center; text-align: center; }
  .choice-row { grid-template-columns: 1fr; }
}/* ══════════════════════════════════════════════════════════════
   ARABIC / RTL
   ══════════════════════════════════════════════════════════════ */

/* ---- typography: Cairo everywhere, with relaxed leading ---- */
html[lang="ar"] body {
  font-family: "Cairo", "Sora", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.85;
}

/* Latin runs inside Arabic (brand, email, phone) stay in Sora */
html[lang="ar"] .serif-i,
html[lang="ar"] .hero-h1 .em {
  font-family: "Cairo", "Sora", sans-serif;
}

/* Instrument Serif has no Arabic — fall back to Cairo and keep the
   visual emphasis via weight + colour instead of italic */
html[lang="ar"] .serif-i {
  font-style: normal;
  font-weight: 800;
}

/* ---- letter-spacing must be neutralised: tracking breaks the
   cursive joins in Arabic script. Utility classes that add tracking
   for Latin (eyebrows, buttons, prices) are reset here. ---- */
html[lang="ar"] :is(h1, h2, h3, h4, h5, h6, p, li, span, a, button, input, select, textarea, label, figcaption, strong, em, small, dt, dd, th, td) {
  letter-spacing: normal !important;
}

/* ---- uppercase transforms are meaningless in Arabic ---- */
html[lang="ar"] :is(.eyebrow, .btn, .btn-solid, .btn-ghost, .nav a, .tick li, .mbar-wa, .wa-fab, .mnav-cta, .top-btn, .badge, .form .btn) {
  text-transform: none;
}

/* ---- headings need more leading than the Latin scale gives ---- */
html[lang="ar"] .h1 { line-height: 1.32; font-weight: 800; }
html[lang="ar"] .h2 { line-height: 1.38; font-weight: 800; }
html[lang="ar"] .h3 { line-height: 1.5; }
html[lang="ar"] .serif-i,
html[lang="ar"] .hero-h1 .em { line-height: 1.32; }

/* Arabic paragraphs run slightly longer than Latin at the same size */
html[lang="ar"] p { line-height: 1.9; }

/* ---- numerals: keep Latin digits, but tabular where prices sit ---- */
html[lang="ar"] .price-n,
html[lang="ar"] .stat-n,
html[lang="ar"] input,
html[lang="ar"] select { font-variant-numeric: tabular-nums; }

/* ---- Bootstrap form controls inherit the Arabic face ---- */
html[lang="ar"] .form-control,
html[lang="ar"] .form-select {
  font-family: "Cairo", "Sora", sans-serif;
  letter-spacing: normal;
}
html[lang="ar"] .form-select {
  /* the chevron is a background image pinned to the right edge */
  background-position: left .75rem center;
  padding-left: 2.4rem;
  padding-right: .95rem;
}

/* ══════════════════════════════════════════════════════════════
   RTL DIRECTION OVERRIDES
   Logical properties handle the layout; these rules cover the
   transforms, icon glyphs and gradients that are direction-agnostic
   in CSS but wrong when mirrored.
   ══════════════════════════════════════════════════════════════ */

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

/* ---- directional hover nudges must flip sign ---- */
[dir="rtl"] .link-u:hover i { transform: translateX(-4px); }
[dir="rtl"] .btn:hover i { transform: translateX(-3px); }
[dir="rtl"] .surf-link:hover i,
[dir="rtl"] .quad-link:hover i { transform: translateX(-4px); }

/* ---- flip directional Bootstrap icons ----
   .bi-arrow-right / .bi-chevron-right / .bi-chevron-double-right
   and .bi-arrow-up-right all point the wrong way when mirrored. */
[dir="rtl"] :is(i.bi-arrow-right, i.bi-chevron-right, i.bi-chevron-double-right, i.bi-arrow-up-right, i.bi-arrow-bar-right) {
  transform: scaleX(-1);
  display: inline-block;
}

/* .bi-arrow-left / .bi-chevron-left get flipped the other way */
[dir="rtl"] :is(i.bi-arrow-left, i.bi-chevron-left, i.bi-chevron-double-left) {
  transform: scaleX(-1);
  display: inline-block;
}

/* The double-chevron scroll cue points down — keep it upright */
[dir="rtl"] i.bi-chevron-double-down { transform: none; }

/* ---- language dropdown items align to the reading edge ---- */
[dir="rtl"] .langMenu { text-align: right; }
[dir="rtl"] .langMenu a { flex-direction: row-reverse; justify-content: flex-end; }

/* ---- hero media focal point mirrors so the subject stays framed ---- */
[dir="rtl"] .hero-media img { object-position: 42% center; }
[dir="rtl"] .wa-fab img,
[dir="rtl"] .hero-media { transform: none; }

/* ---- quote marks: the opening one belongs on the right ---- */
[dir="rtl"] .gr-quote::before { content: "\201D"; }
[dir="rtl"] .gr-quote::after { content: "\201C"; }

/* ---- list bullets / ticks inherit from logical padding already ---- */

/* ---- the accent gradient bands read as light-to-dark; mirror them
   so the warm edge still leads the eye in RTL ---- */
[dir="rtl"] .hero-sub::after,
[dir="rtl"] .sec-eyebrow { background-position: right center; }

/* ---- focus ring offset is symmetric, no change needed ---- */

/* ---- print / fallback ---- */
[dir="rtl"] .figure figcaption { text-align: right; }
/* ══════════════════════════════════════════════════════════════
   BOOKING MODAL (header CTA)
   Reuses .book-form, so only the shell needs styling here.
   ══════════════════════════════════════════════════════════════ */

.book-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.book-modal .modal-header {
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
}

.book-modal .modal-title {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.book-modal .modal-body {
  padding: 20px 24px 26px;
}

/* the reassurance line under the title */
.book-modal .modal-lede {
  font-size: .9rem;
  color: var(--ink-2);
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* the inline section version has reveal + width constraints we don't want here */
.book-modal .book-form { margin: 0; }

/* validation errors sit above the field inside a scrollable dialog */
.book-modal .was-validated .form-control:invalid,
.book-modal .form-control.is-invalid { margin-bottom: 0; }

/* keep the sticky mobile bar from overlapping the last field */
.book-modal .form-foot { padding-bottom: env(safe-area-inset-bottom); }

/* ── RTL ── */
/* Bootstrap puts the close button on the inline-end; keep the title
   on the reading edge and let the X sit opposite it. */
[dir="rtl"] .book-modal .modal-header { text-align: right; }

/* ── narrow screens ── */
@media (max-width: 575.98px) {
  .book-modal .modal-header { padding: 18px 18px 12px; }
  .book-modal .modal-body { padding: 16px 18px 22px; }
  .book-modal .modal-lede { font-size: .85rem; margin-bottom: 18px; padding-bottom: 14px; }
  /* let the dialog use more of the small viewport */
  .book-modal .modal-dialog { margin: 10px; }
}
/* ══════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGES (surf.html / quad.html)
   A trimmed hero plus a breadcrumb and a cross-sell card.
   ══════════════════════════════════════════════════════════════ */

.hero--page { min-height: min(74svh, 640px); }
.hero--page .hero-h1 { font-size: clamp(2.4rem, 1.15rem + 4.8vw, 4.3rem); }
.hero--page .hero-media img { object-position: center 45%; }

/* breadcrumb under the header */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .74);
  margin: 0 0 22px;
}
.crumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb .sep { opacity: .5; }
.crumb [aria-current] { color: #fff; font-weight: 600; }

/* the small "what you get" list on a detail page */
.svc-tick { margin-top: 4px; }

/* cross-sell: the other experience */
.svc-other {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  box-shadow: var(--sh-sm);
}
.svc-other-img {
  width: 132px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: var(--r);
  overflow: hidden;
}
.svc-other-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-other-txt { flex: 1 1 240px; min-width: 0; }
.svc-other-txt h3 { font-size: 1.24rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.svc-other-txt p { color: var(--ink-2); margin: 0; }

@media (max-width: 575.98px) {
  .hero--page { min-height: min(66svh, 520px); }
  .svc-other { padding: 20px; gap: 18px; }
  .svc-other-img { width: 100%; height: 150px; }
  .svc-other-img img { object-position: center 40%; }
}

/* ── RTL ── */
[dir="rtl"] .crumb { flex-direction: row; }
