/* ═══════════════════════════════════════════════════════════════
   London & Saudi Property Showcase — Berkeley Group × Red Sea Global
   20 August 2026 · The Chancery Rosewood, Mayfair, London
   Palette: Hurlingham Waterfront-proven — navy #16263d · terracotta
   #d96540 · cream #faf6ef — laid over the RSG-style structure
   (sand sections, key-fact cards, eyebrow labels, serif display).
   Type:  Cairo (Arabic everywhere) · DM Serif Display + DM Sans (EN)
   EN default (LTR) · Arabic toggle — logical properties throughout.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:        #16263D;
  --navy-deep:   #0E1A2B;
  --navy-soft:   #223752;
  --sand:        #FAF6EF;
  --sand-dim:    #F1ECE2;
  --bronze:      #8A6B2E;   /* quiet accent TEXT on sand — ≥4.5:1 (RSG echo) */
  --peach:       #E8B09B;   /* eyebrows/accents on dark navy */
  /* Conversion accent — reserved EXCLUSIVELY for CTAs, the date pill and
     urgency signals so the eye is always pulled to the registration action. */
  --accent:      #D96540;
  --accent-deep: #C05532;
  --accent-tint: #F0B7A2;
  --ink:         #22303F;
  --line:        rgba(22, 38, 61, 0.14);
  --line-dark:   rgba(250, 246, 239, 0.17);
  --radius:      10px;
  --radius-lg:   18px;
  --pad-x:       clamp(1.25rem, 5vw, 4.5rem);
  --font-body:   'Cairo', 'Segoe UI', sans-serif;
  --font-display:'Cairo', sans-serif;
}
html[lang="en"] {
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

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

/* Skip link — hidden until keyboard-focused */
.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 100;
  background: var(--navy);
  color: var(--sand);
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 1rem; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  /* Guard: on RTL pages, anything pushed off the LEFT edge becomes
     scrollable range. Clip it. */
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
/* DM Serif Display ships one weight — declare it so browsers don't faux-bold */
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 400; }
html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.14; }

h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); max-width: 30ch; }

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 8px 24px -10px rgba(217, 101, 64, 0.65);
}
.btn-primary:hover { background: var(--accent-deep); color: #FFF; }
.btn-lg { padding: 1.05rem 2.8rem; font-size: 1.08rem; }
.btn-outline {
  color: var(--sand);
  border-color: rgba(250, 246, 239, 0.45);
  padding: 0.5rem 1.3rem;
  font-size: 0.85rem;
}
.btn-outline:hover { border-color: var(--sand); }
.btn-block { display: block; width: 100%; }

/* ─────────────── Header ─────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  direction: ltr;   /* fixed physical layout: logo left, CTA right, in both languages */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad-x);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 1px 0 var(--line-dark);
  padding-block: 0.6rem;
}
.site-logo { height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  background: none;
  border: none;
  color: var(--peach);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.7rem 0.8rem;   /* keeps the hit area ≥44px */
}
.lang-toggle:hover { color: var(--sand); }

/* Visible keyboard focus everywhere interactive */
.btn:focus-visible,
.lang-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 2px;
}

/* ─────────────── Hero ─────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--sand);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-london.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 26, 43, 0.93) 0%, rgba(14, 26, 43, 0.38) 45%, rgba(14, 26, 43, 0.55) 100%);
}
.hero-content {
  position: relative;
  padding: 0 var(--pad-x);
  max-width: 64rem;
  margin-block-end: 3rem;
}
.hero-title {
  color: var(--sand);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  margin-block: 0.75rem 1rem;
}
html[lang="en"] .hero-title { font-weight: 400; }
.hero-subtitle {
  max-width: 52ch;
  font-weight: 400;
  font-size: 1.08rem;
  color: rgba(250, 246, 239, 0.88);
  margin-block-end: 1.75rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }

/* Secondary hero action demoted to a quiet text link — one CTA rules */
.link-arrow {
  color: rgba(250, 246, 239, 0.9);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(250, 246, 239, 0.4);
}
.link-arrow::after { content: '↓'; margin-inline-start: 0.4rem; }
.link-arrow:hover { text-decoration-color: var(--sand); }

/* Terracotta date pill above the headline — the event, front and centre */
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(217, 101, 64, 0.65);
  border-radius: 100px;
  background: rgba(217, 101, 64, 0.18);
  color: var(--accent-tint);
  font-weight: 700;
  font-size: 0.92rem;
}
.date-pill svg { width: 16px; height: 16px; flex: 0 0 auto; }

.hero-trust {
  margin-block-start: 1.2rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(250, 246, 239, 0.72);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow.on-dark-bg { color: var(--peach); }

/* Letterspacing is a Latin device — on connected Arabic script it opens gaps
   between joined glyphs, so zero it whenever the page is in Arabic. */
html[lang="ar"] .eyebrow,
html[lang="ar"] .invite-label,
html[lang="ar"] .logo-label { letter-spacing: 0; }

/* Invitation strip — date · hours · venue */
.invite-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-block-start: 1px solid var(--line-dark);
}
.invite-item {
  background: rgba(10, 19, 32, 0.88);
  backdrop-filter: blur(10px);
  padding: 1.4rem clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.invite-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(232, 176, 155, 0.12);
  border: 1px solid rgba(232, 176, 155, 0.32);
  color: var(--peach);
}
.invite-icon svg { width: 22px; height: 22px; }
.invite-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: start;
}
.invite-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peach);
}
.invite-value { font-weight: 800; font-size: 1.12rem; color: #FFFFFF; }
.invite-note { font-size: 0.82rem; font-weight: 400; color: rgba(250, 246, 239, 0.75); }

/* ─────────────── Partner logo strip (under hero) ─────────────── */
.logo-strip {
  background: #FFFFFF;
  border-block-end: 1px solid var(--line);
  padding: 2.2rem var(--pad-x) 2rem;
  text-align: center;
}
.logo-strip .logo-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-block-end: 1.6rem;
}
.logo-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.logo-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.logo-row img { height: 46px; width: auto; }
.logo-row img.logo-rsg { height: 62px; }
.logo-row img.logo-nomo { height: 30px; }
.logo-row .logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(34, 48, 63, 0.65);
}
.logo-text-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 46px;   /* optically matches the logo row height */
}
html[lang="en"] .logo-text-item strong { font-weight: 400; }

/* ─────────────── Sections ─────────────── */
.section { padding: clamp(4rem, 9vw, 7rem) var(--pad-x); }
.section-sand { background: var(--sand); }
.section-white { background: #FFFFFF; }
.section-pine { background: var(--navy-deep); color: rgba(250, 246, 239, 0.86); }
.section-pine .on-dark { color: var(--sand); }

/* Dark Saudi band with the islands render behind a deep navy veil */
.section-saudi {
  position: relative;
  background: var(--navy-deep);
  color: rgba(250, 246, 239, 0.86);
}
.section-saudi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/rsg-islands.jpg') center / cover no-repeat;
  opacity: 0.4;
}
.section-saudi::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 26, 43, 0.78), rgba(14, 26, 43, 0.38) 50%, rgba(14, 26, 43, 0.88));
}
.section-saudi > * { position: relative; z-index: 1; }
.section-saudi .on-dark { color: var(--sand); }

.section > .eyebrow { margin-block-end: 0.8rem; }
.section h2 { margin-block-end: 1.4rem; }
.section-intro { max-width: 62ch; margin-block-end: 2.5rem; }

/* Split (market sections) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
.split-text .eyebrow { margin-block-end: 0.8rem; }
.split-text p { max-width: 58ch; margin-block-end: 1.1rem; }
.split-media img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split-media figcaption {
  font-size: 0.85rem;
  color: var(--bronze);
  margin-block-start: 0.7rem;
}
.section-saudi .split-media figcaption { color: var(--peach); }

/* Two-markets intro: paired images */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-block-start: 2.6rem;
}
.duo figure { position: relative; }
.duo img {
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
}
.duo figcaption {
  position: absolute;
  inset-block-end: 0.9rem;
  inset-inline-start: 0.9rem;
  background: rgba(14, 26, 43, 0.8);
  color: var(--sand);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

/* Key-fact cards — the RSG signature element */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-block-start: clamp(2.4rem, 5vw, 3.6rem);
}
.facts.four { grid-template-columns: repeat(4, 1fr); }
.fact {
  background: var(--sand-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
}
.fact-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--navy);
  line-height: 1.1;
  margin-block-end: 0.45rem;
}
html[lang="en"] .fact-number { font-weight: 400; }
.fact-label { display: block; font-size: 0.88rem; line-height: 1.6; max-width: 26ch; }

/* Facts on the dark Saudi band */
.section-saudi .fact {
  background: rgba(10, 19, 32, 0.62);
  border-color: var(--line-dark);
  backdrop-filter: blur(6px);
}
.section-saudi .fact-number { color: var(--accent-tint); }
.section-saudi .fact-label { color: rgba(250, 246, 239, 0.85); }

/* ─────────────── Experience cards ─────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem;
}
.card-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-block;
  margin-block-end: 0.6rem;
}
html[lang="en"] .card-mark { font-weight: 400; }
.card h3 { font-size: 1.25rem; margin-block-end: 0.5rem; }
.card p { font-size: 0.95rem; }

/* ─────────────── How it works (3 steps) ─────────────── */
.steps-band {
  background: var(--navy);
  padding: clamp(2.8rem, 6vw, 4.2rem) var(--pad-x);
  text-align: center;
}
.steps-band .eyebrow { margin-block-end: 1.8rem; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  max-width: 62rem;
  margin-inline: auto;
  counter-reset: step;
}
.steps li {
  color: rgba(250, 246, 239, 0.88);
  font-size: 0.98rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-tint);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 101, 64, 0.55);
  border-radius: 50%;
}
html[lang="en"] .steps li::before { font-weight: 400; }

/* ─────────────── Scarcity + countdown ─────────────── */
.scarcity-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-block-end: 1.6rem;
}
.seats-badge {
  background: rgba(217, 101, 64, 0.14);
  border: 1px solid rgba(192, 85, 50, 0.45);
  color: #9C3F20;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.38rem 0.95rem;
  border-radius: 100px;
}
.countdown { color: var(--ink); font-size: 0.9rem; font-weight: 700; }
.countdown strong {
  color: var(--accent-deep);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  margin-inline-end: 0.3rem;
}

/* ─────────────── Form — light, elevated card ─────────────── */
.form-section {
  display: flex;
  justify-content: center;
  background: var(--sand-dim);
  color: var(--ink);
}
.form-wrap {
  width: 100%;
  max-width: 640px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 70px -35px rgba(14, 26, 43, 0.42);
}
.form-wrap .eyebrow { margin-block-end: 0.8rem; }
.form-wrap h2 { margin-inline: auto; }
.form-intro {
  font-weight: 400;
  max-width: 48ch;
  margin: 0 auto 2.4rem;
}

.lead-form { text-align: start; }
.form-group { margin-block-end: 1.15rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.45rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #E3DDD0;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 101, 64, 0.28);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23C05532' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-inline-start: 1rem;
  padding-inline-end: 2.4rem;
}
html[dir="ltr"] select.form-control { background-position: right 1rem center; }

/* Radio pills */
.radio-group { display: flex; gap: 0.7rem; }
.radio-pill { flex: 1; cursor: pointer; position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: block;
  text-align: center;
  padding: 0.8rem 0.5rem;   /* ≥44px touch target */
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  border: 1px solid #E3DDD0;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.radio-pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--sand);
}
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(217, 101, 64, 0.4); }

/* intl-tel-input: phone numbers are LTR and the dial code sits on the LEFT
   in both languages (the library's [dir=rtl] rules would flip it — pin it).
   On RTL pages the library also pads the wrong side of the input, so the
   left padding is forced here; --dial-pad is synced to the chip's real
   width by the script next to initLeadForm. */
.iti { width: 100%; direction: ltr !important; }
.iti__flag-container { left: 0 !important; right: auto !important; }
.iti--separate-dial-code input.form-control {
  text-align: left;
  padding-left: var(--dial-pad, 112px) !important;
  padding-right: 1rem !important;
}

.submit-btn { margin-block-start: 0.6rem; font-size: 1.05rem; padding-block: 1rem; }
.form-privacy {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(34, 48, 63, 0.75);
  margin-block-start: 1rem;
  text-align: center;
}

.form-success {
  background: rgba(217, 101, 64, 0.08);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.form-success h3 { color: var(--navy); margin-block-end: 0.5rem; }

/* Field-level error states (ki-form.js adds/removes these) */
.form-control.error { border-color: #C4574E; }
.field-error { color: #A33F37; font-size: 0.8rem; margin-block-start: 0.3rem; }

/* ─────────────── FAQ (objection handling) ─────────────── */
.faq-section { text-align: center; }
.faq-section h2 { margin-block-end: 2rem; margin-inline: auto; }
.faq { max-width: 720px; margin-inline: auto; text-align: start; }
.faq details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.4rem;
  margin-block-end: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--accent-deep);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-block-start: 0.65rem; font-size: 0.95rem; max-width: 60ch; }
.faq summary:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; border-radius: 4px; }

/* ─────────────── WhatsApp contact ─────────────── */
.wa-form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-block-start: 1.1rem;
  color: #0E7466;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.wa-form-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.wa-form-link svg { width: 19px; height: 19px; flex: 0 0 auto; }

.wa-float {
  position: fixed;
  inset-block-end: 1.4rem;
  inset-inline-end: 1.4rem;
  z-index: 55;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 10px 28px -8px rgba(18, 140, 126, 0.6);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

.sticky-actions { display: flex; align-items: center; gap: 0.7rem; }
.wa-mini {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
}
.wa-mini svg { width: 25px; height: 25px; }

/* ─────────────── Mobile sticky CTA ─────────────── */
.sticky-cta {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(14, 26, 43, 0.96);
  backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--line-dark);
}
.sticky-cta .btn { padding: 0.72rem 1.5rem; font-size: 0.95rem; white-space: nowrap; }
.sticky-cta .sticky-date { color: var(--sand); font-weight: 700; font-size: 0.92rem; }
.sticky-cta.is-hidden { display: none !important; }

/* ─────────────── Footer ─────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 246, 239, 0.7);
  text-align: center;
  padding: 3rem var(--pad-x) 2.5rem;
  border-block-start: 1px solid var(--line-dark);
}
.footer-logo { height: 40px; width: auto; margin: 0 auto 1.2rem; }
.footer-line { font-size: 0.85rem; font-weight: 400; max-width: 62ch; margin: 0 auto 0.8rem; }
.footer-copy { font-size: 0.78rem; font-weight: 400; opacity: 0.9; }

/* ─────────────── Motion ─────────────── */
.reveal-1, .reveal-2, .reveal-3, .reveal-4, .reveal-5 {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.24s; }
.reveal-4 { animation-delay: 0.36s; }
.reveal-5 { animation-delay: 0.55s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.will-reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-1, .reveal-2, .reveal-3, .reveal-4, .reveal-5 { animation: none; }
  .will-reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────── Responsive ─────────────── */
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  .wa-float { display: none; }   /* the sticky bar carries WhatsApp on mobile */
  .site-footer { padding-block-end: 7rem; }   /* clear the sticky bar */
  /* When the hero content is taller than the viewport it rises under the
     fixed header — reserve space for the header at the top. */
  .hero-content { padding-block-start: 7rem; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .facts, .facts.four { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .invite-strip { grid-template-columns: 1fr; }
  .invite-item { padding-block: 0.9rem; justify-content: flex-start; }
  .header-cta { display: none; }
  .logo-row { gap: 2rem 2.6rem; }
}

@media (max-width: 560px) {
  .site-logo { height: 36px; }
  .hero-content { margin-block-end: 2rem; }
  /* Phones: strip the hero to pill + headline + CTA — the invite strip
     right below already carries date/hours/venue. */
  .hero-subtitle, .hero-trust { display: none; }
  .date-pill { font-size: 0.8rem; padding: 0.42rem 0.9rem; }
  .hero-title { margin-block: 1rem 1.4rem; }
  .duo { grid-template-columns: 1fr; }
  .facts, .facts.four { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .fact { padding: 1.2rem 1.1rem 1rem; }
  .logo-row img { height: 38px; }
  .logo-row img.logo-rsg { height: 52px; }
  .logo-row img.logo-nomo { height: 25px; }
  .logo-text-item strong { line-height: 38px; font-size: 1.15rem; }
  .radio-group.stack-sm { flex-direction: column; }
}
