/* Pharmacology v3 — Components
 * All shared UI patterns. Pages should compose these — never redefine.
 * Order: top-of-page first (announce, nav), then forms-of-content, then forms-of-action.
 */

/* =============================================================
 * 1. Install banner — fixed-top "Download the app" prompt
 *    (rightbite-style: logo + brand + tagline + CTA pill + dismiss)
 * ============================================================= */
.install-bar {
  position: sticky;
  inset-block-start: var(--nav-h);
  z-index: calc(var(--z-nav) - 1);
  background: var(--ink);
  color: var(--paper);
  border-block-end: 1px solid var(--hair-dark);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    max-height 520ms var(--ease-out),
    opacity 420ms var(--ease-out),
    transform 520ms var(--ease-out);
}
.install-bar.is-open {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}
html.install-dismissed .install-bar { display: none; }

.install-bar .container {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.55rem;
}

.install-bar-x {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}
.install-bar-x:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}
.install-bar-x:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

.install-bar-logo {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}
.install-bar-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.install-bar-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.install-bar-text strong {
  color: var(--paper);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.install-bar-text span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.install-bar-cta {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  background: var(--mint);
  color: var(--navy-deep);
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}
.install-bar-cta:hover {
  background: var(--mint-soft);
  transform: translateY(-1px);
}
.install-bar-cta:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

/* install-bar now lives in normal flow below the nav — no body/nav offset needed */

@media (max-width: 380px) {
  .install-bar .container { gap: 0.5rem; }
  .install-bar-logo { width: 34px; height: 34px; border-radius: 8px; }
  .install-bar-cta { padding: 0.45rem 0.85rem; font-size: 0.78rem; }
  .install-bar-text strong { font-size: 0.86rem; }
  .install-bar-text span { font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .install-bar {
    transform: none;
    transition: max-height 1ms linear, opacity 1ms linear;
  }
}

/* =============================================================
 * 2. Navigation
 * ============================================================= */
[data-mount="nav"] { display: contents; }

.nav {
  position: sticky;
  inset-block-start: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-block-end: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-block-end: 1px solid rgba(11, 27, 58, 0.06);
  box-shadow: 0 8px 28px -18px rgba(50, 70, 105, 0.16);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  letter-spacing: 0;
}
.nav-brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  flex: none;
  object-fit: contain;
}
/* When the mark is the real logo image, drop the text-mark styling. */
img.nav-brand-mark {
  background: transparent;
  border-radius: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 1.6rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.4rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hair);
  transition: all var(--dur-fast) var(--ease-out);
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink); }

.nav-burger {
  width: 44px; height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-burger span {
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links, .nav-cta-desk { display: none; }
  .nav-burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-overlay);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 640px);
  border-end-start-radius: var(--radius-lg);
  border-end-end-radius: var(--radius-lg);
  box-shadow: 0 18px 36px rgba(11, 27, 58, 0.12);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }

/* Dim the page behind the menu panel */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-overlay) - 1);
  background: rgba(11, 27, 58, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-menu.is-open ~ .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem var(--pad-x);
  min-height: 56px;
  border-block-end: 1px solid var(--hair);
  background: var(--paper);
}
.mobile-menu-close {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease-out);
}
.mobile-menu-close:hover { background: rgba(11,27,58,0.06); }

.mobile-menu-nav {
  flex: 1;
  padding: 0.6rem var(--pad-x) 0.8rem;
}
.mobile-menu-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--ink);
  border-block-end: 1px solid var(--hair);
  letter-spacing: 0;
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.mobile-menu-nav li:last-child a { border-block-end: none; }
.mobile-menu-nav a::after {
  content: "→";
  font-family: var(--font-latin);
  color: var(--mint);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
[dir="rtl"] .mobile-menu-nav a::after { content: "←"; }
.mobile-menu-nav a:hover,
.mobile-menu-nav a[aria-current="page"] { color: var(--mint-deep); }
.mobile-menu-nav a:hover::after,
.mobile-menu-nav a[aria-current="page"]::after { opacity: 1; color: var(--mint-deep); }
.mobile-menu-nav a:hover::after { transform: translateX(-4px); }
[dir="rtl"] .mobile-menu-nav a:hover::after { transform: translateX(4px); }

.mobile-menu-foot {
  padding: 0.85rem var(--pad-x) calc(env(safe-area-inset-bottom, 0) + 0.85rem);
  background: var(--paper-2);
  border-block-start: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mobile-menu-foot .btn--lg { padding-block: 0.75rem; min-height: 44px; font-size: 0.95rem; }
.mobile-menu-foot-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: stretch;
}
/* Inline footer: CTA + WhatsApp + lang toggle on a single row */
.mobile-menu-foot--inline {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.mobile-menu-foot--inline .mobile-menu-cta {
  flex: 1;
  min-height: 44px;
  padding-block: 0.7rem;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-foot--inline .mobile-menu-wa {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.mobile-menu-foot--inline .mobile-menu-wa:hover { background: var(--whatsapp-d); }
.mobile-menu-foot--inline .lang-toggle--menu {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 0.85rem;
}

/* Suppress consult CTAs (desktop nav + mobile menu) on the picker page itself */
body[data-no-nav-cta] .nav-cta-desk,
body[data-no-nav-cta] .mobile-menu-cta { display: none; }
.lang-toggle--menu {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hair);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  min-height: 46px;
}

/* =============================================================
 * 3. Buttons
 * ============================================================= */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  text-decoration: none;
  cursor: pointer;
  min-height: 46px;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-3);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-border: var(--gold);
  box-shadow: var(--shadow-gold-glow);
}
.btn--gold:hover {
  --btn-bg: var(--gold-soft);
  box-shadow: 0 16px 40px -16px rgba(124, 185, 158, 0.55);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--hair);
}
.btn--ghost:hover { --btn-border: var(--ink); }

.btn--whats {
  --btn-bg: var(--whatsapp);
  --btn-fg: #fff;
  --btn-border: var(--whatsapp);
}
.btn--whats:hover { --btn-bg: var(--whatsapp-d); --btn-border: var(--whatsapp-d); }

.btn--lg { padding: 1rem 1.7rem; min-height: 52px; font-size: 1.02rem; }
.btn--sm { padding: 0.55rem 1rem; min-height: 38px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn .wa-icon { width: 18px; height: 18px; }

/* On dark section, default btn flips */
.section--ink .btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-border: var(--paper);
}
.section--ink .btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-border: rgba(255,255,255,0.5);
}
.section--ink .btn--outline:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }

/* =============================================================
 * 4. Pills, badges, chips
 * ============================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--hair);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-soft);
}
.pill--gold {
  background: var(--gold-pale);
  color: var(--gold-deep);
  border-color: rgba(74, 128, 104, 0.20);
}
.pill--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pill--success {
  background: rgba(124, 185, 158,0.08);
  color: var(--success);
  border-color: rgba(124, 185, 158,0.18);
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px currentColor;
  opacity: 0.85;
  animation: pulse-ring 2.4s var(--ease-in-out) infinite;
}
.pill--success .dot { background: var(--success); }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47,125,91,0.35); }
  50%      { box-shadow: 0 0 0 7px rgba(47,125,91,0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--ink { background: var(--ink); color: var(--gold-soft); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--ink-mute); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* =============================================================
 * 5. Cards
 * ============================================================= */
.card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card--paper { background: var(--paper); }
.card--ink   { background: var(--ink); color: var(--paper); border-color: rgba(255,255,255,0.10); }
.card--ink h3, .card--ink h4 { color: var(--white); }
.card--ink .body-soft { color: rgba(255,255,255,0.72); }
.card--bordered-top { border-block-start: 3px solid var(--gold); }
.card--featured {
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--hair), 0 30px 60px -28px rgba(11,27,58,0.32);
}
.card--featured::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.card-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card-stat .stat-value {
  font-family: var(--font-latin);
  font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0;
}
.card-stat .stat-label {
  font-size: var(--fs-small);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* Cred grid — 4 chips, all the same size */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 64rem;
  margin-inline: auto;
}
@media (max-width: 880px) {
  .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
}

/* Cred chip — small inline credential */
.cred-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-inline-start: 0.55rem;
  padding-inline-end: 1rem;
  padding-block: 0.6rem;
  border: 1px solid var(--hair);
  border-radius: var(--radius-pill);
  background: var(--white);
  width: 100%;
  min-width: 0;
}
.cred-chip-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-latin);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cred-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cred-chip-title { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.cred-chip-sub   { font-size: 0.72rem; color: var(--ink-mute); }

/* =============================================================
 * 6. Hero
 * ============================================================= */
.hero {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -20%;
  inset-inline-end: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 60%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
[dir="rtl"] .hero::before { inset-inline-end: auto; inset-inline-start: -10%; }
.hero > * { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* =============================================================
 * Full-bleed hero — editorial image as background, text overlay
 * ============================================================= */
.hero-full {
  position: relative;
  min-height: max(620px, 100svh);
  display: flex;
  align-items: flex-end;        /* text overlay sits at the bottom so the portrait stays visible */
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
  margin-block-start: calc(-1 * var(--nav-h));
  padding-block-start: var(--nav-h);
}
/* Mobile: full-viewport portrait with text overlay ONLY at the bottom.
   Face stays uncovered. Reference: premium editorial style. */
@media (max-width: 880px) {
  .hero-full {
    min-height: 100svh;
    aspect-ratio: auto;
    margin-block-start: 0;
    padding-block-start: 0;
  }
  .hero-full-bg img { object-position: center 22%; }
}
.hero-full-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-full-bg picture, .hero-full-bg img {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-full-bg img {
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(105%);
}
@media (max-width: 880px) {
  .hero-full-bg img { object-position: center 20%; }
}
.hero-full-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Lighter at top, heavier at bottom — keeps the man's face visible and the
     overlay text legible against navy. */
  background:
    linear-gradient(180deg,
      rgba(15, 22, 38, 0.35) 0%,
      rgba(15, 22, 38, 0.05) 20%,
      rgba(15, 22, 38, 0.18) 45%,
      rgba(15, 22, 38, 0.58) 76%,
      rgba(15, 22, 38, 0.74) 100%);
  pointer-events: none;
}
.hero-full-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block-start: clamp(2rem, 6vw, 4rem);
  padding-block-end: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--paper);
}
@media (max-width: 880px) {
  .hero-full-inner {
    padding-block-end: 1.6rem;
  }
}
.hero-full-eyebrow {
  /* Eyebrow is intentionally hidden everywhere — the brand mark already sits in the nav
     and the title carries the message on its own. Kept in the DOM for i18n parity. */
  display: none;
}
.hero-full-rule {
  /* Hidden alongside the eyebrow */
  display: none;
}
.hero-full-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3.8vw, 4.6rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--white);
  margin-block-end: 1.6rem;
  text-wrap: balance;
}
.hero-full-title strong {
  font-weight: 700;
  color: var(--gold-soft);
  background: none;
  padding: 0;
}
.hero-full-lede {
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
  margin: 0 auto 2.2rem;
  font-weight: 400;
}
/* Mobile fine-tuning: tighter title, no scroll cue */
@media (max-width: 880px) {
  .hero-full-title {
    font-size: clamp(2rem, 1.5rem + 3.6vw, 2.6rem);
    line-height: 1.2;
    margin-block-end: 1.1rem;
  }
  .hero-full-cue { display: none; }
}

/* The "intro" section that takes the place of the lede on mobile —
   visible below the hero on every viewport so the message reads top-to-bottom. */
.hero-intro {
  background: var(--paper);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block-end: 1px solid var(--hair);
}
.hero-intro p {
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  color: var(--ink-soft);
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 881px) {
  /* On desktop we already show the lede inside the hero — don't repeat it,
     except when the page explicitly asks for it via the --always modifier. */
  .hero-intro:not(.hero-intro--always) { display: none; }
}
.hero-full-ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  justify-content: center;
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
}
.hero-full-ctas .btn {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 0.9rem;
  font-size: 0.92rem;
  min-height: 48px;
  white-space: nowrap;
}
.hero-full-ctas .btn span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 880px) {
  .hero-full-ctas .btn--lg { padding-inline: 0.9rem; font-size: 0.92rem; min-height: 46px; }
  .hero-full-ctas .wa-icon { width: 16px; height: 16px; }
}
.hero-full-commit {
  margin-block-start: 1.8rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-full-commit::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(124, 185, 158, 0.32);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.hero-full-commit strong { color: var(--mint-soft); font-weight: 600; }

.hero-full .btn--gold {
  box-shadow: 0 14px 34px -18px rgba(124, 185, 158, 0.58);
}
.hero-full .btn--outline {
  --btn-bg: rgba(255, 255, 255, 0.02);
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.46);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-full .btn--outline:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-border: rgba(255, 255, 255, 0.55);
}

/* Scroll-cue chevron at bottom of fullscreen hero */
.hero-full-cue {
  position: absolute;
  inset-block-end: clamp(1rem, 3vw, 2rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: cue-float 2.6s ease-in-out infinite;
}
@keyframes cue-float {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50%      { transform: translateX(-50%) translateY(5px); opacity: 0.95; }
}

/* Trust strip that sits right under the fullscreen hero */
.trust-strip {
  background: var(--ink);
  color: var(--paper);
  padding-block: 1.4rem;
  border-block-end: 1px solid var(--hair-dark);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2rem;
}
.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}
.trust-strip-item strong { color: var(--gold-soft); font-weight: 600; }
.trust-strip-item svg { color: var(--gold); flex: none; }

/* Light proof band used directly under the home hero. */
.proof-band {
  background: var(--white);
  border-block: 1px solid var(--hair);
  padding-block: clamp(1rem, 2.4vw, 1.35rem);
}
.proof-band .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.proof-band-item {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding-inline: 1rem;
  border-inline-start: 1px solid var(--hair);
}
.proof-band-item:first-child { border-inline-start: 0; }
[dir="rtl"] .proof-band-item {
  border-inline-start: 0;
  border-inline-end: 1px solid var(--hair);
}
[dir="rtl"] .proof-band-item:first-child { border-inline-end: 0; }
.proof-band-item strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}
.proof-band-item span {
  color: var(--ink-mute);
  font-size: 0.84rem;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .proof-band .container { grid-template-columns: 1fr 1fr; }
  .proof-band-item:nth-child(odd) {
    border-inline-start: 0;
    border-inline-end: 0;
  }
}

.hero-eyebrow { margin-block-end: 1rem; }
.hero-title   { margin-block-end: 1.4rem; }
.hero-lede    { margin-block-end: 1.6rem; }
.hero-ctas    { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero-commit  { margin-block-start: 1rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.6rem;
  margin-block-start: 2rem;
  font-size: var(--fs-small);
  color: var(--ink-mute);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-trust-item svg { color: var(--gold); flex: none; }

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-4);
  max-width: 28rem;
  margin-inline: auto;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Editorial variant: uses landscape image on desktop, portrait on mobile via <picture>.
   Aspect ratio adapts to viewport so neither crop loses Dr. Ahmed's face. */
.hero-portrait--editorial { aspect-ratio: 4 / 5; max-width: 30rem; }
.hero-portrait--editorial img { object-position: center center; }
@media (min-width: 881px) {
  .hero-portrait--editorial { aspect-ratio: 5 / 4; max-width: 40rem; }
}
.hero-portrait-status {
  position: absolute;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.1rem;
  background: rgba(50, 70, 105,0.85);
  color: var(--gold-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.84rem;
  font-weight: 500;
}
.hero-portrait-frame {
  position: absolute;
  inset: -8px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: -1;
}

/* Page header — for non-home pages */
.page-header {
  padding-block: clamp(4rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -15%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, var(--gold-pale), transparent 65%);
  opacity: 0.55;
  pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }

/* =============================================================
 * Hero · May 2026 redesign — side-text on desktop, overlay on mobile
 * Layered AFTER the original hero-full rules so these win.
 * ============================================================= */

/* Mobile: elegant editorial — portrait dominates the frame, text overlay sits at the bottom */
@media (max-width: 880px) {
  .hero-full {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .hero-full-bg img { object-position: center 22%; }

  /* Hide everything that would crowd the portrait — the lede + note repeat in .hero-intro below */
  .hero-full-lede,
  .hero-full-note,
  .hero-full-rule,
  .hero-full-eyebrow {
    display: none;
  }

  /* Strong bottom gradient — top 55% stays crisp on the face, bottom 45% fades the body
     into near-solid navy so the title floats in a clean dark area like the reference. */
  .hero-full-scrim {
    background:
      linear-gradient(180deg,
        rgba(15, 22, 38, 0.12) 0%,
        rgba(15, 22, 38, 0.0)  18%,
        rgba(15, 22, 38, 0.0)  42%,
        rgba(15, 22, 38, 0.45) 58%,
        rgba(15, 22, 38, 0.86) 78%,
        rgba(15, 22, 38, 0.98) 92%,
        rgba(15, 22, 38, 1.0)  100%);
  }

  /* Content sits flush at the bottom of the hero */
  .hero-full-inner {
    padding-block: 0 1.6rem;
  }
}

/* Desktop: side-text layout — Ahmed on physical left, copy on physical right */
@media (min-width: 881px) {
  .hero-full {
    align-items: center;
    justify-content: flex-start;        /* flex-start = visual right in RTL flex row */
    min-height: max(640px, 92svh);
  }
  .hero-full-bg img {
    object-position: 16% center;        /* keep Ahmed inside the visual left third */
    filter: saturate(106%) brightness(0.96);
  }
  /* Horizontal scrim: darker on the text side (right), lighter on image side (left).
     Gradient is direction-aware via logical inline coords. */
  .hero-full-scrim {
    background:
      linear-gradient(to var(--scrim-dir, left),
        rgba(15, 22, 38, 0.82) 0%,
        rgba(15, 22, 38, 0.62) 22%,
        rgba(15, 22, 38, 0.36) 42%,
        rgba(15, 22, 38, 0.12) 65%,
        rgba(15, 22, 38, 0.02) 100%);
  }
  [dir="rtl"] .hero-full-scrim {
    background:
      linear-gradient(to left,
        rgba(15, 22, 38, 0.82) 0%,
        rgba(15, 22, 38, 0.62) 22%,
        rgba(15, 22, 38, 0.36) 42%,
        rgba(15, 22, 38, 0.12) 65%,
        rgba(15, 22, 38, 0.02) 100%);
  }
  [dir="ltr"] .hero-full-scrim {
    background:
      linear-gradient(to right,
        rgba(15, 22, 38, 0.82) 0%,
        rgba(15, 22, 38, 0.62) 22%,
        rgba(15, 22, 38, 0.36) 42%,
        rgba(15, 22, 38, 0.12) 65%,
        rgba(15, 22, 38, 0.02) 100%);
    /* When LTR, Ahmed could still be on the left of the image — same scrim direction */
  }

  /* Float the inner content to the visual right (= inline-start in RTL).
     Padding on BOTH sides so text never touches the viewport edge:
     - inline-start (= right in RTL): breathing room from the viewport edge
     - inline-end (= left in RTL): gap from the doctor portrait */
  .hero-full-inner {
    margin-inline: 0;
    margin-inline-end: auto;
    max-width: calc(34rem + clamp(2rem, 5vw, 4.5rem));
    width: 100%;
    text-align: start;
    padding-inline-start: clamp(2rem, 5vw, 4.5rem);
    padding-inline-end: clamp(2rem, 5vw, 4.5rem);
    padding-block: 0;
  }

  /* Promote eyebrow + rule out of their absolute top-center anchor */
  .hero-full-eyebrow {
    position: relative;
    inset: auto;
    text-align: start;
    padding-inline: 0;
    margin: 0 0 0.85rem;
  }
  .hero-full-rule {
    position: relative;
    inset: auto;
    transform: none;
    margin: 0 0 1.4rem;
    /* In RTL, this stays at the start (right). No translateX needed. */
  }

  .hero-full-title {
    font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.6rem);
    margin-block-end: 1.2rem;
  }
  .hero-full-lede {
    display: block;
    font-size: clamp(1rem, 0.9rem + 0.45vw, 1.14rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.86);
    margin: 0 0 1.6rem;
    max-width: 30rem;
  }
  .hero-full-ctas {
    justify-content: flex-start;        /* visual right in RTL */
    margin-inline: 0;
    max-width: none;
    flex-wrap: wrap;
  }
  .hero-full-ctas .btn { flex: 0 0 auto; }
  .hero-full-cue { display: none; }     /* no scroll cue with side layout */
}

/* New element: small note paragraph under the CTAs */
.hero-full-note {
  margin-block-start: 1.2rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 30rem;
}
@media (max-width: 880px) {
  .hero-full-note {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-block-start: 0.9rem;
    margin-inline: auto;
    text-align: center;
  }
}

/* =============================================================
 * 7. Method / value cards
 * ============================================================= */
.method-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.method-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.method-card-num {
  font-family: var(--font-latin);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.method-card h3 { font-size: var(--fs-h3); }
.method-card p { color: var(--ink-mute); }
.method-card-list {
  list-style: none;
  padding: 0;
  margin: -0.2rem 0 0;
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 600;
}
.method-card-list li {
  position: relative;
  padding-inline-start: 1.2rem;
}
.method-card-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: var(--mint);
}
.method-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width var(--dur-slow) var(--ease-out);
}
.method-card:hover::after { width: 100%; }

/* =============================================================
 * 8. Pricing tier card (consultancy, products)
 * ============================================================= */
.tier {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tier--featured {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.tier--featured .tier-name, .tier--featured .tier-price-main { color: var(--white); }
.tier--featured .tier-features li { color: rgba(255,255,255,0.86); }
.tier--featured .tier-features li::before { color: var(--gold-soft); }
.tier--featured .tier-sub { color: rgba(255,255,255,0.65); }

.tier-flag {
  position: absolute;
  inset-block-start: -0.7rem;
  inset-inline-end: 1.2rem;
}
.tier-name { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); }
.tier-tag  { font-size: 0.85rem; color: var(--ink-mute); }
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tier-price-main {
  font-family: var(--font-latin);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.tier-price-cycle { font-size: 0.9rem; color: var(--ink-mute); }
.tier-sub { font-size: var(--fs-small); color: var(--ink-mute); }
.tier-features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.tier-features li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  line-height: 1.5;
}
.tier-features li::before {
  content: "✓";
  flex: none;
  color: var(--gold);
  font-weight: 700;
}
.tier-cta { margin-block-start: auto; }

/* =============================================================
 * 9. VS strip (compare bad vs good)
 * ============================================================= */
.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 720px) { .vs { grid-template-columns: 1fr; } }
.vs-col {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.vs-col-bad  { background: var(--white); color: var(--ink-mute); }
.vs-col-good {
  border-color: rgba(50, 70, 105, 0.36);
  background: linear-gradient(180deg, var(--white), rgba(238, 243, 240, 0.72));
  box-shadow: inset 0 3px 0 var(--mint), var(--shadow-card);
}
.vs-col-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-block-end: 0.4rem;
}
.vs-col-good .vs-col-tag { color: var(--gold-deep); }
.vs-col h3 { font-size: var(--fs-h3); margin-block-end: 1rem; }
.vs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.vs-list li { display: flex; gap: 0.55rem; align-items: baseline; font-size: 0.96rem; color: var(--ink-soft); }
.vs-list li::before { content: "•"; flex: none; color: var(--ink-mute); }
.vs-col-good .vs-list li::before { content: "✓"; color: var(--gold); font-weight: 700; }
@media (max-width: 720px) {
  .vs {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* =============================================================
 * 10. Testimonial card
 * ============================================================= */
.testi-rail-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
/* Desktop: hide the duplicate set used only for the mobile marquee */
.testi-rail-track > [aria-hidden="true"] { display: none; }

@media (max-width: 880px) {
  .testi-rail {
    overflow: hidden;
    margin-inline: calc(var(--pad-x) * -1);
    padding-block: 0.25rem 1rem;
  }
  .testi-rail-track {
    display: flex;
    grid-template-columns: none;
    width: max-content;
    gap: 0.85rem;
    padding-inline: var(--pad-x);
    animation: testi-rail 28s linear infinite;
    will-change: transform;
  }
  .testi-rail-track > [aria-hidden="true"] { display: flex; }
  .testi-rail-track > .testi {
    flex: 0 0 82vw;
    max-width: 320px;
    padding: 1.1rem;
    gap: 0.85rem;
  }
  .testi-rail-track > .testi .testi-quote { font-size: 0.94rem; line-height: 1.55; }
  .testi-rail-track > .testi .testi-meta { padding-block-start: 0.7rem; }
  .testi-rail:hover .testi-rail-track,
  .testi-rail:focus-within .testi-rail-track { animation-play-state: paused; }
}

@keyframes testi-rail {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .testi-rail-track { animation-name: testi-rail-rtl; }
@keyframes testi-rail-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-rail-track { animation: none; }
}

.testi {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-end: 1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--paper-3);
  font-weight: 700;
}
.testi-quote {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.testi-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--hair);
}
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testi-name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.testi-where { font-size: 0.84rem; color: var(--ink-mute); }

/* =============================================================
 * 11. Forms
 * ============================================================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-block-end: 0.75rem;
}
.field label, .field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field-hint {
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(50, 70, 105,0.08);
}
[dir="rtl"] .field input[type="email"],
[dir="rtl"] .field input[type="tel"],
[dir="rtl"] .field input[type="url"],
[dir="rtl"] .field input[type="number"] {
  direction: ltr;
  text-align: right;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.radio-group label, .check-group label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--white);
  transition: all var(--dur-fast) var(--ease-out);
}
.radio-group label:hover, .check-group label:hover { border-color: var(--ink-mute); }
.radio-group input, .check-group input { margin-block-start: 0.25rem; accent-color: var(--ink); }

.consent-line {
  font-size: 0.86rem;
  color: var(--ink-mute);
  display: flex; gap: 0.5rem;
  align-items: flex-start;
}
.consent-line input { accent-color: var(--ink); margin-block-start: 0.2rem; }

/* Smooth checkout / booking request flow */
.checkout-section {
  padding-block-start: clamp(1.5rem, 4vw, 2.8rem);
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: start;
}
.checkout-summary-card {
  position: sticky;
  inset-block-start: calc(var(--nav-h) + 1rem);
}
.checkout-mini-flow {
  display: grid;
  gap: 0.55rem;
  margin-block-start: 1.35rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--hair);
}
.checkout-mini-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
}
.checkout-mini-step span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 700;
}
.checkout-mini-step p { margin: 0; }
.checkout-mini-step.is-on span,
.checkout-mini-step.is-done span {
  background: var(--mint);
  color: var(--ink);
}
.checkout-mini-step.is-done { color: var(--ink); }
.checkout-form-card {
  padding: clamp(1rem, 3vw, 1.6rem);
}
.checkout-form-head {
  margin-block-end: 0.9rem;
}
.checkout-form-head h2 {
  font-size: var(--fs-h3);
  margin-block: 0.25rem 0.35rem;
}
.checkout-form-head--details {
  margin-block-start: 1.6rem;
  padding-block-start: 1.15rem;
  border-block-start: 1px solid var(--hair);
}
.checkout-form-card label[for="co-slot"],
.checkout-form-card #co-slot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.slot-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.slot-picker-state {
  grid-column: 1 / -1;
  padding: 1rem;
  border: 1px dashed var(--hair);
  border-radius: var(--radius-md);
  color: var(--ink-mute);
  background: var(--paper-1);
}
.slot-card {
  position: relative;
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.slot-card:hover {
  border-color: rgba(124,185,158,0.8);
  transform: translateY(-1px);
}
.slot-card.is-selected {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(124,185,158,0.16);
}
.slot-card:has(input:focus-visible) {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(50,70,105,0.12);
}
.slot-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slot-card-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}
.slot-card-day {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}
.slot-card-time {
  color: var(--mint-ink);
  font-weight: 700;
  white-space: nowrap;
}
.slot-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.slot-card-meta span,
.slot-card-action {
  width: fit-content;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.75rem;
  color: var(--ink-mute);
  background: var(--paper-2);
}
.slot-card-action {
  color: var(--ink);
  background: rgba(124,185,158,0.24);
  font-weight: 700;
}
.checkout-status {
  min-height: 1.3rem;
  margin-block-start: 0.7rem;
  color: var(--ink-mute);
  font-size: 0.88rem;
}
.checkout-status[data-tone="error"] { color: #9f2f2f; }
.checkout-status[data-tone="loading"] { color: var(--mint-ink); }
.checkout-success-card {
  align-self: stretch;
  display: grid;
  place-content: center;
  min-height: 26rem;
}
.checkout-success-slot {
  margin-block-start: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--paper-1);
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary-card { position: static; }
}
@media (max-width: 640px) {
  .slot-picker { grid-template-columns: 1fr; }
  .slot-card-main { flex-direction: column; gap: 0.25rem; }
}

/* App waitlist modal */
.app-waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--pad-x);
}
.app-waitlist-modal[hidden] { display: none; }
.app-waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 58, 0.42);
}
.app-waitlist-dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-lift);
}
.app-waitlist-close {
  position: absolute;
  inset-block-start: 0.8rem;
  inset-inline-end: 0.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--hair);
}
.app-waitlist-dialog h2 {
  font-size: var(--fs-h3);
  margin-block: 0.55rem 0.6rem;
  padding-inline-end: 2rem;
}

/* Multi-step form */
.stepper {
  display: flex;
  gap: 0.5rem;
  margin-block-end: 2rem;
}
.stepper-step {
  flex: 1;
  height: 4px;
  background: var(--hair);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.stepper-step.is-on,
.stepper-step.is-done {
  background: var(--ink);
}
.step-panel { display: none; }
.step-panel.is-on { display: block; animation: step-in 0.4s var(--ease-out); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-block-start: 1.5rem;
}

/* =============================================================
 * 12. Accordion (FAQ)
 * ============================================================= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.acc-item {
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.acc-item[open] { border-color: var(--ink); }
.acc-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.acc-summary::-webkit-details-marker { display: none; }
.acc-summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--ink-mute);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
  transition:
    transform var(--dur-base) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}
.acc-item[open] .acc-summary::after {
  transform: rotate(180deg);
  background-color: var(--ink);
}
.acc-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- Offer accordion variant (3-door tiers, folded) ----------
 * Builds on .acc-item but the summary is a 3-column layout
 * (head{tag, title} · price · chevron). Body holds tier cards. */
.offer-acc { display: grid; gap: 0.7rem; margin-block-start: 1.5rem; }
.offer-acc-item { background: var(--white); }
.offer-acc-summary {
  gap: 0.8rem;
  padding: 1.1rem 1.4rem;
  align-items: center;
}
.offer-acc-head {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.offer-acc-tag {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.offer-acc-title {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.offer-acc-price {
  flex: 0 0 auto;
  font-family: var(--font-latin);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mint-deep);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.offer-acc-item[open] .offer-acc-price { color: var(--ink); }
.offer-acc-body {
  padding-block-end: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.offer-acc-body > p {
  margin: 0;
  color: var(--ink-mute);
  font-size: var(--fs-small);
}
.offer-acc-body .btn { align-self: flex-start; }
@media (max-width: 480px) {
  .offer-acc-summary { padding: 0.95rem 1.1rem; gap: 0.6rem; }
  .offer-acc-title { font-size: 0.98rem; }
  .offer-acc-tag { font-size: 0.7rem; }
  .offer-acc-price { font-size: 0.86rem; }
  .offer-acc-body { padding-inline: 1.1rem; padding-block-end: 1.3rem; }
}

/* =============================================================
 * 13. Footer
 * ============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-block-end: 2.5rem;
}
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
    margin-block-end: 1.75rem;
  }
  .footer-brand p { font-size: 0.85rem; }
  .footer-col h4 { margin-block-end: 0.7rem; }
  .footer-col ul { gap: 0.45rem; }
}
.footer-brand { color: var(--paper); }
.footer-brand h3 { color: var(--white); font-size: 1.1rem; margin-block-end: 0.6rem; }
.footer-brand p  { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-block-end: 1rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.footer-col a {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-block-start: 1px solid var(--hair-dark);
  padding-block-start: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* =============================================================
 * 14a. Sticky bottom CTA bar (mobile booking strip)
 * ============================================================= */
.sticky-cta-bar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: var(--z-fab);
  background: transparent;
  padding: 0.65rem var(--pad-x) calc(env(safe-area-inset-bottom, 0) + 0.65rem);
  display: flex;
  gap: 0.55rem;
  align-items: center;
  transform: translateY(110%);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.sticky-cta-bar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.sticky-cta-bar .sticky-cta-main {
  flex: 1;
  min-height: 50px;
  /* Glassmorphic mint pill — soft tint over backdrop blur */
  background: rgba(157, 196, 159, 0.72);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(50, 70, 105, 0.32);
}
.sticky-cta-bar .sticky-cta-wa {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* Glassmorphic green disc */
  background: rgba(37, 211, 102, 0.68);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  align-self: center;
  box-shadow: 0 12px 28px -12px rgba(50, 70, 105, 0.32);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.sticky-cta-bar .sticky-cta-wa:hover { background: rgba(20, 161, 76, 0.78); transform: scale(1.05); }
.sticky-cta-bar .sticky-cta-wa svg { width: 24px; height: 24px; }

@media (min-width: 881px) {
  .sticky-cta-bar { display: none !important; }
}
/* Add safe gap above the bar so content isn't covered. */
@media (max-width: 880px) {
  body { padding-block-end: 0; }
  body.has-sticky-cta main { padding-block-end: 5rem; }
}

/* =============================================================
 * 14. WhatsApp FAB
 * ============================================================= */
.fab {
  position: fixed;
  inset-block-end: calc(env(safe-area-inset-bottom, 0) + 1.1rem);
  inset-inline-end: 1.1rem;
  z-index: var(--z-fab);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, 0.55), 0 4px 8px rgba(0,0,0,0.08);
  transform: translateY(80px);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-base) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
@media (max-width: 880px) {
  .fab { display: none !important; }
}
.fab.is-visible { transform: translateY(0); opacity: 1; }
.fab:hover { background: var(--whatsapp-d); transform: translateY(-3px); }
.fab svg { width: 26px; height: 26px; }
.fab::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.45;
  animation: fab-pulse 2.4s var(--ease-in-out) infinite;
  z-index: -1;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* =============================================================
 * 15. Ticker (looping value-prop strip)
 * ============================================================= */
.ticker {
  background: var(--ink);
  color: var(--paper);
  padding-block: 1rem;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.06);
}
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 38s linear infinite;
}
[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.86);
  white-space: nowrap;
}
.ticker span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* =============================================================
 * 16. CTA strip (dark navy section template)
 * ============================================================= */
.cta-strip {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-strip h2 { color: var(--white); max-width: 32rem; margin-inline: auto; }
.cta-strip .lede { color: rgba(255,255,255,0.78); margin-inline: auto; }
.cta-strip .cluster { justify-content: center; margin-block-start: 1.8rem; }

/* =============================================================
 * 16b. Career timeline — vertical rail + circle markers + accordion
 * (inspired by Walaa's career timeline). Each entry expands its body
 * on click; first item is open by default.
 * ============================================================= */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.metric-strip {
  list-style: none;
  margin: 0 0 clamp(1.8rem, 4vw, 2.6rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.metric-strip li {
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-inline-start: 1px solid var(--hair);
}
.metric-strip li:first-child { border-inline-start: 0; }
.metric-strip span {
  font-family: var(--font-latin);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.metric-strip small {
  color: var(--ink-mute);
  font-size: 0.82rem;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip li { border-block-start: 1px solid var(--hair); }
  .metric-strip li:nth-child(-n + 2) { border-block-start: 0; }
  .metric-strip li:nth-child(odd) { border-inline-start: 0; }
}
/* The rail: solid mint, full opacity. Centered through the 16px circles
   (circle inline-start: 0, width: 16px → visual center at 8px;
    rail at inline-start: 7px with width: 2px → center at 8px). */
.timeline::before {
  content: "";
  position: absolute;
  inset-block-start: 0.9rem;
  inset-block-end: 0.9rem;
  inset-inline-start: 7px;
  width: 2px;
  background: var(--mint);
  border-radius: 2px;
}
[dir="rtl"] .timeline::before { inset-inline-start: 7px; inset-inline-end: auto; }

.timeline-item {
  position: relative;
  padding-inline-start: 2.4rem;
  padding-block: 0.4rem;
  border: 0;
}
[dir="rtl"] .timeline-item { padding-inline-start: 2.4rem; padding-inline-end: 0; }

.timeline-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-block: 0.55rem;
  position: relative;
}
.timeline-item > summary::-webkit-details-marker { display: none; }

/* Circle marker on each summary — filled mint, ringed by the section bg */
.timeline-item > summary::before {
  content: "";
  position: absolute;
  inset-block-start: 0.95rem;
  inset-inline-start: -2.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--mint);
  transition: transform var(--dur-fast) var(--ease-out);
}
[dir="rtl"] .timeline-item > summary::before { inset-inline-start: -2.4rem; inset-inline-end: auto; }
.timeline-item[open] > summary::before {
  background: var(--mint-deep);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--mint-deep);
  transform: scale(1.15);
}

.timeline-year {
  font-family: var(--font-latin);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--mint-deep);
}
.timeline-title {
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
}
/* Chevron expand icon — SVG drawn via CSS background, rotates 180° on open */
.timeline-title::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237CB99E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.timeline-item[open] > summary .timeline-title::after {
  transform: rotate(180deg);
}

.timeline-body {
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.65;
  margin: 0.4rem 0 0.6rem;
  padding-inline-end: 0.6rem;
}
[dir="rtl"] .timeline-body { padding-inline-end: 0.6rem; padding-inline-start: 0; }

/* =============================================================
 * 17. Process / how-it-works step list
 * ============================================================= */
.process {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process--3 { grid-template-columns: repeat(3, 1fr); }
}
.proc-step {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  position: relative;
}
.proc-step-num {
  font-family: var(--font-latin);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.proc-step h4 { font-size: 1.05rem; }
.proc-step p { color: var(--ink-mute); font-size: 0.94rem; line-height: 1.65; }

/* =============================================================
 * 18. Stats horizontal row
 * ============================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: none;
}
.stat-item .stat-value {
  font-family: var(--font-latin);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.86rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* =============================================================
 * 18b. Risk reversal, FAQ teaser, and certificate proof
 * ============================================================= */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.risk-item {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
}
.risk-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mint-pale);
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 0.74rem;
  font-weight: 700;
  margin-block-end: 0.9rem;
}
.risk-item h3 { font-size: var(--fs-h4); margin-block-end: 0.55rem; }
.risk-item p { color: var(--ink-mute); line-height: 1.65; }
@media (max-width: 800px) {
  .risk-grid { grid-template-columns: 1fr; }
}

.faq-mini {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq-mini details {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
}
.faq-mini summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.faq-mini summary::marker { color: var(--mint-deep); }
.faq-mini p {
  color: var(--ink-mute);
  line-height: 1.7;
  margin-block-start: 0.8rem;
}
.faq-more {
  margin-block-start: 1.2rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
}
.faq-more a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cert-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-block-end: clamp(1.5rem, 4vw, 2.5rem);
}
.cert-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cert-card--featured { border-color: rgba(124, 185, 158, 0.55); }
.cert-card img {
  width: 100%;
  aspect-ratio: 4 / 3.05;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  border-block-end: 1px solid var(--hair);
}
.cert-card span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}
.cert-card strong {
  color: var(--ink);
  line-height: 1.35;
}
.cert-card small {
  color: var(--ink-mute);
  line-height: 1.4;
}
.cred-card h3 { font-size: 1.05rem; }
.cred-card .body-soft { font-size: 0.9rem; margin-block-start: 0.3rem; }
.cred-card .cred-chip-mark { margin-block-end: 0.9rem; }
@media (max-width: 760px) {
  .cert-showcase { grid-template-columns: 1fr; }
}

/* =============================================================
 * 19. Lists & utilities
 * ============================================================= */
.dot-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.dot-list li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.dot-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.65em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink-soft); line-height: 1.6; }
.check-list li::before { content: "✓"; flex: none; color: var(--gold); font-weight: 700; }

.x-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.x-list li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--ink-mute); line-height: 1.6; }
.x-list li::before { content: "✕"; flex: none; color: var(--danger); font-weight: 700; }

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 720px) { .split-2 { grid-template-columns: 1fr; } }

/* Prose for legal pages */
.prose { max-width: var(--container-prose); margin-inline: auto; }
.prose h2 { font-size: var(--fs-h3); margin-block: 2rem 0.6rem; }
.prose h3 { font-size: var(--fs-h4); margin-block: 1.5rem 0.4rem; }
.prose p { margin-block: 0.6rem; color: var(--ink-soft); }
.prose ul, .prose ol { padding-inline-start: 1.4rem; color: var(--ink-soft); }
.prose li { margin-block: 0.3rem; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
 * HERO CAROUSEL — auto-rotating value-prop cards (under hero)
 * ============================================================= */
.hero-carousel {
  background: var(--white);
  border-block-end: 1px solid var(--hair);
  padding-block: 1rem 1.3rem;
}
.hero-carousel-viewport {
  overflow: hidden;
  position: relative;
}
.hero-carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 520ms var(--ease-out);
  will-change: transform;
}
.hero-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-inline: 0.2rem;
}
.hero-carousel-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--mint-pale);
  border: 1px solid var(--mint-soft);
  border-radius: var(--radius-lg);
  min-height: 78px;
}
.hero-carousel-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 14px -8px rgba(124, 185, 158, 0.7);
}
.hero-carousel-text { min-width: 0; flex: 1; }
.hero-carousel-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mint-deep);
  font-weight: 700;
}
.hero-carousel-title {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.hero-carousel-body {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-block-start: 0.85rem;
}
.hero-carousel-dot {
  width: 8px; height: 8px;
  border: none;
  background: var(--hair-strong);
  border-radius: 99px;
  padding: 0;
  cursor: pointer;
  transition: width var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.hero-carousel-dot.is-active {
  background: var(--ink);
  width: 24px;
  border-radius: 4px;
}
.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
@media (min-width: 720px) {
  .hero-carousel-card { padding: 1.1rem 1.4rem; min-height: 88px; }
  .hero-carousel-title { font-size: 1.12rem; }
  .hero-carousel-body { font-size: 0.92rem; }
  .hero-carousel-icon { width: 44px; height: 44px; }
}

/* =============================================================
 * DOWNLOAD APP SECTION — phone mockup + feature list (ink bg)
 * ============================================================= */
.dl-app {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}
.dl-app::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 185, 158, 0.14), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(189, 174, 155, 0.1), transparent 55%);
  pointer-events: none;
}
.dl-app-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 880px) {
  .dl-app-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.dl-app-eyebrow { color: var(--mint-soft); }
.dl-app-text h2 { color: var(--white); }
.dl-app-text h2 strong {
  color: var(--mint-soft);
  font-weight: inherit;
  background: none;
}
.dl-app-lede { color: rgba(255, 255, 255, 0.72); }

.dl-app-features {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.55rem;
}
.dl-app-features li {
  padding-inline-start: 1.7rem;
  position: relative;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.dl-app-features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 14px; height: 14px;
  background-color: var(--mint);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>") no-repeat center / contain;
}

.dl-app-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}
.dl-app-meta {
  display: block;
  padding-inline: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}
[dir="rtl"] .dl-app-ctas {
  align-items: flex-end;
}
@media (max-width: 879px) {
  .dl-app-ctas {
    align-items: center;
  }
  [dir="rtl"] .dl-app-ctas {
    align-items: center;
  }
  .dl-app-meta {
    text-align: center;
  }
}

/* ---- Phone mockup ---- */
.dl-app-mockup {
  display: flex;
  justify-content: center;
}
.dl-app-phone {
  width: 280px;
  background: #111;
  border-radius: 38px;
  padding: 11px;
  position: relative;
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.6),
    0 25px 50px -25px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.07);
}
.dl-app-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  background: #111;
  border-radius: 14px;
  z-index: 2;
}
.dl-app-screen {
  background: var(--white);
  border-radius: 28px;
  padding: 34px 18px 18px;
  color: var(--ink);
  font-family: var(--font-display);
  position: relative;
}

.dl-app-screen-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.3rem 0.85rem;
  border-block-end: 1px solid var(--hair);
}
.dl-app-screen-date {
  font-size: 0.72rem;
  color: var(--ink-mute);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.dl-app-screen-cal {
  font-family: var(--font-latin);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dl-app-screen-cal em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--ink-mute);
  font-weight: 500;
  margin-inline-start: 0.15rem;
}

.dl-app-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 0.9rem 0.6rem;
}
.dl-app-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block-start: 0.9rem;
}
.dl-app-ring-pct {
  font-family: var(--font-latin);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.dl-app-ring-pct i {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--ink-mute);
  font-weight: 500;
  margin-inline-start: 1px;
}
.dl-app-ring-label {
  font-size: 0.62rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-block-start: 1px;
}

.dl-app-macros {
  display: grid;
  gap: 0.55rem;
  padding-block: 0.5rem 0.8rem;
}
.dl-app-macro { display: flex; flex-direction: column; gap: 0.22rem; }
.dl-app-macro-bar {
  display: block;
  height: 5px;
  background: var(--hair);
  border-radius: 999px;
  overflow: hidden;
}
.dl-app-macro-bar i {
  display: block;
  height: 100%;
  background: var(--mint);
  border-radius: 999px;
}
.dl-app-macro-bar--p i { background: var(--ink); }
.dl-app-macro-bar--f i { background: var(--tan); }
.dl-app-macro-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--ink-mute);
}
.dl-app-macro-label b {
  color: var(--ink);
  font-weight: 700;
}

.dl-app-section-title {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-block: 0.6rem 0.4rem;
}
.dl-app-meal {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.45rem;
  border-block-end: 1px solid var(--hair);
}
.dl-app-meal:last-of-type { border-block-end: none; }
.dl-app-meal-img {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint-soft), var(--mint));
}
.dl-app-meal-img--alt {
  background: linear-gradient(135deg, var(--tan-soft), var(--tan));
}
.dl-app-meal-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-app-meal-name {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
.dl-app-meal-meta {
  font-size: 0.68rem;
  color: var(--ink-mute);
  margin-block-start: 1px;
}
.dl-app-meal-tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-pale);
  color: var(--mint-deep);
  border-radius: 50%;
}

@media (max-width: 480px) {
  .dl-app-phone { width: 252px; }
  .dl-app-screen { padding: 30px 14px 16px; }
}

/* =============================================================
 * MEALS RAIL — infinite-scroll food marquee
 * ============================================================= */
.meals-rail {
  background: var(--paper-2);
  padding-block: var(--section-y);
  overflow: hidden;
  position: relative;
}
.meals-rail-head {
  margin-block-end: 2.2rem;
  max-width: 44rem;
}
.meals-rail-head .lede em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}
.meals-rail-marquee {
  position: relative;
  overflow: hidden;
}
.meals-rail-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: meals-rail 56s linear infinite;
  will-change: transform;
}
[dir="rtl"] .meals-rail-track { animation-name: meals-rail-rtl; }
.meals-rail:hover .meals-rail-track {
  animation-play-state: paused;
}
.meal-tile {
  flex: 0 0 auto;
  margin: 0;
  width: 190px;
  display: flex;
  flex-direction: column;
}
.meal-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--paper);
  display: block;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out);
}
.meal-tile:hover img { transform: translateY(-3px); }
.meal-tile figcaption {
  padding: 0.75rem 0.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.meal-tile-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.meal-tile-meta {
  font-size: 0.74rem;
  color: var(--ink-mute);
  letter-spacing: 0.005em;
}
@keyframes meals-rail {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes meals-rail-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .meals-rail-track { animation: none; }
}
@media (min-width: 720px) {
  .meal-tile { width: 220px; }
  .meals-rail-track { gap: 1.3rem; }
}
@media (min-width: 1100px) {
  .meal-tile { width: 240px; }
}
