/* ============================================================================
 * Garcinia Max Burn — GO funnel
 * UX system cloned from GO MAXIRISE (go.maxirisepro.com), recolored to the
 * Garcinia premium-wellness palette: deep emerald / dark forest / white /
 * soft mint / light warm gray, with muted gold as a rare accent.
 * Frontend only — app.js / config.js / tracking.js / payload untouched.
 * ========================================================================== */
:root {
  /* Core palette */
  --g-forest:      #0B3B2E;   /* dark forest — headings, deep accents */
  --g-forest-2:    #0F4A39;
  --g-emerald:     #0F6C52;   /* deep emerald — primary action */
  --g-emerald-2:   #13825F;   /* emerald hover / glow */
  --g-emerald-deep:#0A5540;   /* emerald shadow */
  --g-white:       #FFFFFF;
  --g-ink:         #123A2E;   /* text on light surfaces */
  --g-mint:        #E9FBF5;   /* soft mint section background */
  --g-mint-2:      #DCF3EB;
  --g-warm:        #F4F5F1;   /* light warm gray */
  --g-line:        rgba(18,58,46,.12);
  --g-line-2:      rgba(18,58,46,.34);   /* 1px control border (form/offers) */
  --g-muted-ink:   rgba(18,58,46,.66);
  --g-steel:       #6E8B80;   /* muted cool label */

  /* Muted gold — accent ONLY (guarantee, gift note). Never theme the page gold. */
  --g-gold:        #C8A84B;
  --g-gold-soft:   #E7CE86;

  --radius:    16px;
  --radius-sm: 11px;
  --shell:     600px;
  --shadow:    0 18px 44px rgba(11,59,46,.16);
  --shadow-sm: 0 8px 22px rgba(11,59,46,.12);
  --font:         "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-heading: "Tajawal", "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --cta-bg:       linear-gradient(180deg, #169A72 0%, var(--g-emerald) 58%, var(--g-emerald-deep) 100%);
  --cta-bg-hover: linear-gradient(180deg, #1AA97E 0%, var(--g-emerald-2) 58%, var(--g-emerald) 100%);

  --countbar-h: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--countbar-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--g-ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at 50% -10%, rgba(87,215,193,.26), transparent 26rem),
    linear-gradient(180deg, var(--g-mint), #ffffff 44%, var(--g-mint));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Fixed countbar offset — landing only (thank-you shares the stylesheet). */
body[data-page-type="landing"] { padding-top: var(--countbar-h); }

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; font-family: var(--font-heading); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--g-emerald-2); outline-offset: 2px; border-radius: 6px; }

/* Layout primitives */
.g-page { width: 100%; }
.g-shell,
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
.section { padding: 30px 0; position: relative; }
.soft { background: var(--g-warm); border-block: 1px solid var(--g-line); }
.g-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g-emerald);
}
.title-sm { font-size: clamp(21px, 5.4vw, 28px); color: var(--g-ink); }
.copy { color: var(--g-muted-ink); font-size: 15px; }
.section-head { display: grid; gap: 8px; margin-bottom: 18px; }

/* ── Top fixed countbar (compact) — cloned from .mx-countbar, emerald ──────── */
.g-countbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; min-height: var(--countbar-h);
  background: linear-gradient(90deg, var(--g-emerald-deep), var(--g-emerald) 55%, var(--g-emerald-2));
  color: #fff; text-align: center;
  box-shadow: 0 4px 16px rgba(11,59,46,.24);
}
.g-countbar-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: nowrap; padding-top: 8px; padding-bottom: 8px;
}
.g-countbar-text { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 12px; font-weight: 800; white-space: nowrap; }
.g-countbar-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: #fff; color: var(--g-emerald); font-weight: 900; font-size: 11.5px;
  padding: 6px 12px; border-radius: 999px; letter-spacing: .01em;
  box-shadow: 0 4px 12px rgba(0,0,0,.16);
}
.g-countbar-cta:active { transform: translateY(1px); }
.g-countdown { flex: 0 0 auto; display: inline-flex; gap: 4px; direction: ltr; }
.g-countdown span {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 7px;
  font-weight: 800; font-variant-numeric: tabular-nums;
  min-width: 26px; padding: 3px 5px; font-size: 13px;
}
@media (max-width: 374px) {
  .g-countbar-text { font-size: 10.5px; letter-spacing: -.2px; }
  .g-countbar-cta { font-size: 10.5px; padding: 5px 10px; }
  .g-countdown span { min-width: 23px; padding: 3px 4px; font-size: 12px; }
}

/* ── Full-width storytelling image slots — ASSET-READY, CLS-safe ──────────────
   Each <section class="story" data-slot="…"> holds ONE image in an aspect-ratio
   box (--story-ar), so a final asset drops in by swapping only <img src>.
   Slots: hero-main, story-problem, story-solution, story-how-it-works,
   story-benefits, story-ingredients, story-trust.
   Final images: fixed 1200px width, VARIABLE natural height (1600/2200/2800…).
   No crop, no forced ratio — full-width stacked blocks like MAXIRISE. CLS is
   held by each <img>'s width/height attributes (swap them with the final size). */
.story { margin: 0; }
.story-label {
  display: block; max-width: var(--shell); margin: 0 auto;
  padding: 16px 16px 8px; text-align: center;
  color: var(--g-emerald); font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.story-media { width: 100%; max-width: var(--shell); margin: 0 auto; }
.story-img { width: 100%; height: auto; display: block; }

/* ── CTAs — cloned from .mx-cta, emerald ─────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 15px 22px;
  background: var(--cta-bg);
  color: #fff; font-weight: 900; font-size: 17px; letter-spacing: .01em;
  font-family: var(--font-heading);
  border: 0; border-radius: var(--radius);
  box-shadow:
    0 14px 30px rgba(15,108,82,.38),
    0 3px 10px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -3px 8px rgba(0,0,0,.16);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
  text-align: center;
}
.btn:hover {
  background: var(--cta-bg-hover);
  box-shadow:
    0 18px 38px rgba(15,108,82,.46),
    0 4px 12px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -3px 8px rgba(0,0,0,.16);
}
.btn:active { transform: translateY(1px) scale(.995); }

/* CTA band hugs the image above; the next section starts right after. */
.cta-band { max-width: var(--shell); margin: 0 auto; padding: 12px 16px 8px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.cta-band-flush { padding: 14px 0 0; }
/* Hero band — secondary headline removed; pull the CTA up so the hero stays tight. */
.cta-band-hero { margin-top: -2px; padding-top: 10px; }
.cta-heading { font-size: clamp(22px, 6vw, 30px); color: var(--g-ink); }
.cta-band small { font-size: 12px; color: var(--g-muted-ink); font-weight: 700; }

/* Ingredient chips (compact, retained product value) */
.ingredient-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.ingredient-chips span {
  padding: 6px 12px; border: 1px solid var(--g-line); border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: 12px; font-weight: 800; color: var(--g-ink);
}
.ingredient-chips span::before { content: "✓ "; color: var(--g-emerald); }

/* ── Conversion block (offers + form) — light, high-contrast ─────────────────*/
.g-conversion { background: linear-gradient(180deg, #ffffff, var(--g-warm)); border-block: 1px solid var(--g-line); padding: 26px 0 30px; }

/* Urgency strip — urgent but calm (emerald, never red/aggressive). */
.urgency-card {
  display: grid; gap: 2px; text-align: center;
  background: linear-gradient(90deg, var(--g-emerald-deep), var(--g-emerald) 55%, var(--g-emerald-2));
  color: #fff; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(15,108,82,.22);
}
.urgency-card b { font-size: 16px; font-weight: 900; letter-spacing: .01em; font-family: var(--font-heading); }
.urgency-card span { font-size: 12.5px; font-weight: 700; opacity: .92; }

/* Country selector card — cloned from .mx-country-card (light variant). */
.country-card {
  display: grid; gap: 7px; margin-bottom: 16px; padding: 14px;
  background: #fff; border: 1px solid var(--g-line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.country-card span { font-size: 12.5px; font-weight: 700; color: var(--g-emerald); }
.country-card select {
  width: 100%; padding: 12px 12px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--g-ink);
  border: 1px solid var(--g-line-2); border-radius: var(--radius-sm);
}
.country-card small { font-size: 12px; color: var(--g-muted-ink); }
.country-card b { color: var(--g-ink); }

/* Gift note above offers — muted gold accent. */
.gift-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0 0 14px; padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: var(--g-ink);
  background: rgba(200,168,75,.12); border: 1px solid rgba(200,168,75,.45);
}

/* ── Offers — cloned from .mx-offer-card ─────────────────────────────────────*/
.offer-grid { display: grid; gap: 12px; }
.offer-card {
  position: relative; display: grid;
  grid-template-columns: 22px 72px 1fr auto; align-items: center; gap: 12px;
  text-align: right; width: 100%;
  background: #fff; color: var(--g-ink);
  border: 2px solid var(--g-line-2); border-radius: var(--radius);
  padding: 14px 14px 14px 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, transform .12s ease, box-shadow .2s ease;
}
.offer-card:active { transform: scale(.995); }
.offer-card.is-selected { border-color: var(--g-emerald); box-shadow: 0 14px 30px rgba(15,108,82,.22); }
.offer-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--g-line-2); position: relative; }
.offer-card.is-selected .offer-radio { border-color: var(--g-emerald); }
.offer-card.is-selected .offer-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--g-emerald); }
.offer-card img { width: 72px; height: 72px; object-fit: contain; }
.offer-main { display: grid; gap: 3px; }
.offer-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--g-emerald); }
.offer-label { font-size: 14.5px; font-weight: 800; font-family: var(--font-heading); }
.offer-saving { font-size: 12px; font-weight: 800; color: var(--g-emerald); }
.offer-saving:empty { display: none; }
.offer-price { display: grid; justify-items: end; gap: 1px; }
.offer-disc { font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--g-emerald); border-radius: 6px; padding: 2px 6px; }
.offer-price del { font-size: 12px; color: rgba(18,58,46,.45); }
.offer-price strong { font-size: 18px; font-weight: 900; color: var(--g-ink); font-family: var(--font-heading); }

/* Value-hierarchy ribbons (recommended / best value) */
.offer-card.is-popular { border-color: var(--g-emerald); }
.offer-card.is-popular::before,
.offer-card.is-best::before {
  content: attr(data-ribbon);
  position: absolute; top: -10px; right: 12px;
  font-size: 10px; font-weight: 900; letter-spacing: .06em;
  color: #fff; padding: 3px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.offer-card.is-popular::before { background: var(--g-emerald); }
.offer-card.is-best::before { background: var(--g-forest); border: 1px solid var(--g-emerald); }
/* Ribbon supersedes the small eyebrow badge on ribboned cards (no duplication). */
.offer-card.is-popular .offer-badge,
.offer-card.is-best .offer-badge { display: none; }

.offer-trust { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.offer-trust div { font-size: 11.5px; font-weight: 700; color: var(--g-steel); border: 1px solid var(--g-line); border-radius: 999px; padding: 5px 11px; }
.offer-trust div::before { content: "✓ "; color: var(--g-emerald); }

/* ── Order form — cloned from .mx-form-card, floating labels retained ────────*/
.order-card {
  background: #fff; color: var(--g-ink);
  border-radius: var(--radius); padding: 20px 16px;
  box-shadow: var(--shadow); max-width: var(--shell); margin: 0 auto;
  display: grid; gap: 12px;
}
.order-card .eyebrow { color: var(--g-emerald); }
.order-card > .copy { color: var(--g-muted-ink); }
.selected-line { color: var(--g-muted-ink); font-size: 13px; }
.selected-line b { color: var(--g-ink); }
.order-card small { font-size: 12px; color: var(--g-muted-ink); font-weight: 700; text-align: center; }
.safe-row { display: flex; gap: 8px; justify-content: center; margin-top: 4px; flex-wrap: wrap; }
.safe-row span { font-size: 11px; font-weight: 700; color: var(--g-muted-ink); }
.safe-row span::before { content: "✓ "; color: var(--g-emerald); }

.field-hint { color: var(--g-muted-ink); font-size: 11.5px; font-weight: 700; }
.field-error { color: var(--g-emerald-deep); color: #b23b34; font-size: 12px; font-weight: 700; min-height: 14px; }
.field-error:empty { min-height: 0; }
.form-alert {
  padding: 11px 13px; border-radius: var(--radius-sm);
  background: #fdecea; border: 1px solid rgba(178,59,52,.35);
  color: #a93226; font-size: 13px; font-weight: 800; text-align: center;
  animation: shake .32s ease;
}
.form-alert[hidden] { display: none; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Floating-label fields — MAXIRISE metrics (radius-sm, line-2 border, emerald focus). */
.field { position: relative; display: grid; gap: 5px; }
.field > input,
.field > select {
  width: 100%; min-height: 54px; padding: 19px 13px 7px; margin: 0;
  border: 1px solid var(--g-line-2); border-radius: var(--radius-sm); background: #fff;
  font: inherit; font-size: 15px; color: var(--g-ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field > input:focus,
.field > select:focus { border-color: var(--g-emerald); outline: none; box-shadow: 0 0 0 3px rgba(15,108,82,.14); }
.field > input + label {
  position: absolute; top: 16px; inset-inline-start: 13px; margin: 0;
  color: var(--g-muted-ink); font-size: 15px; font-weight: 700; pointer-events: none;
  transform-origin: inline-start top; transition: transform .16s ease, color .16s ease;
}
.field > input:focus + label,
.field > input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--g-emerald); }
.field-select { gap: 5px; }
.field-select > label { position: static; color: var(--g-ink); font-size: 13px; font-weight: 700; }
.field-select > select { padding: 13px; }

/* Submit loading spinner — pure CSS on the disabled button (app.js sets disabled). */
.order-card button[type="submit"] { position: relative; }
.order-card button[disabled] { opacity: .8; cursor: progress; color: transparent; }
.order-card button[disabled]::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FAQ ─────────────────────────────────────────────────────────────────────*/
.faq-list { display: grid; gap: 10px; }
.faq { overflow: hidden; border: 1px solid var(--g-line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); }
.faq button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; color: var(--g-ink); border: 0; padding: 14px; font-size: 14.5px; font-weight: 800; text-align: right;
}
.faq button span { color: var(--g-emerald); font-size: 20px; transition: transform .2s ease; }
.faq.is-open button span { transform: rotate(45deg); }
.faq p { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 14px; color: var(--g-muted-ink); font-size: 13.5px; }
.faq.is-open p { max-height: 320px; padding: 0 14px 14px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer { text-align: center; padding: 30px 0 40px; background: var(--g-forest); color: rgba(255,255,255,.78); }
footer .shell { display: grid; gap: 10px; }
footer strong { color: #fff; font-size: 18px; }
footer nav { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
footer a { text-decoration: underline; font-size: 12px; color: rgba(255,255,255,.8); }
footer small { font-size: 11.5px; }
/* Footer trust row — four equal cards (MAXIRISE style), mobile-first. */
/* ── Footer trust — MOBILE-FIRST premium glass section ──────────────────────
   Centered trust statement (not a card) + 4 glassmorphism cards. Mobile/tablet
   = 2×2; desktop = 4 in a row. Frontend-only; footer bg/colors unchanged. */
.footer-trust-line {
  text-align: center; color: #fff; font-weight: 800;
  font-size: clamp(19px, 5.4vw, 23px); letter-spacing: -.01em;
  margin: 4px auto 22px;
}
.footer-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  width: 100%; max-width: var(--shell); margin: 0 auto;
}
.ftrust-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; border-radius: 20px; text-align: center;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.ftrust-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.ftrust-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; font-size: 22px; line-height: 1;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 16px rgba(255,255,255,.14);
}
.ftrust-title { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.25; }
.ftrust-desc { color: rgba(255,255,255,.80); font-size: 14px; font-weight: 500; line-height: 1.5; }
/* Desktop — four in one row (mobile & tablet stay 2×2). */
@media (min-width: 900px) {
  .footer-trust { grid-template-columns: repeat(4, 1fr); }
}

/* ── Policy modal ─────────────────────────────────────────────────────────── */
.policy-modal { position: fixed; inset: 0; z-index: 120; display: none; }
.policy-modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,59,46,.55); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: calc(100% - 24px); max-width: 560px; margin: 9vh auto;
  padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
/* NOTE: no generic `.modal-card button` rule — it would override .legal-tab
   (higher specificity) and force the tabs into 34px circles. The legal modal's
   close button is styled by .legal-close instead. */

/* ── Thank-you page (thank-you.html — shares this stylesheet) ────────────────*/
.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 0; }
.thanks-wrap { width: 100%; max-width: var(--shell); padding: 0 16px; }
.thanks-card {
  display: grid; justify-items: center; gap: 14px; padding: 26px 18px;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center;
}
.thanks-card img { max-height: 280px; object-fit: contain; }
/* Compact premium summary card (used by thank-you.html). */
.summary {
  display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--g-mint); border: 1px solid var(--g-line); text-align: center;
  font-size: 13.5px;
}
.summary b { color: var(--g-emerald); font-size: 15px; }

/* ── WhatsApp / reviews slider (above offers) — screenshot-ready frame ───────
   Narrow phone-style frame sized for WhatsApp screenshots (480×840). Text cards
   are temporary placeholders; final <img class="wa-shot"> drop straight in. */
.proof { padding-bottom: 8px; }
.proof-head { display: grid; gap: 6px; justify-items: center; margin-bottom: 14px; text-align: center; }
.proof-stars { color: var(--g-gold); font-size: 19px; letter-spacing: 2px; }
.proof-rating { font-weight: 800; font-size: 14px; color: var(--g-ink); }
.proof-rating b { color: var(--g-emerald); }
.proof-frame {
  /* Desktop WhatsApp screenshots (~10:7 landscape) — ONE per slide, centered,
     contained (no crop, aspect preserved), rounded, soft shadow. Slides
     cross-fade via .is-active (engine toggles the class; swipe/dots still work). */
  position: relative; width: 100%; max-width: 560px; margin: 4px auto 0;
  aspect-ratio: 10 / 7;
  border-radius: var(--radius); overflow: hidden;
  background: #fff;
  border: 1px solid rgba(200,168,75,.30);
  box-shadow: var(--shadow); touch-action: pan-y;
}
.proof-frame .slider-track { position: absolute; inset: 0; }
.proof-frame .slide {
  position: absolute; inset: 0; padding: 10px 10px 22px;
  opacity: 0; visibility: hidden; transition: opacity .45s ease;
}
.proof-frame .slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.proof-frame .tcard {
  display: grid; gap: 12px; place-content: center; height: 100%;
  padding: 24px 20px 40px; text-align: center;
}
.proof-frame .tstars { color: var(--g-gold); font-size: 18px; letter-spacing: 2px; }
.proof-frame .tcard p { color: var(--g-ink); font-size: 16px; font-weight: 700; }
.proof-frame .tcard b { color: var(--g-emerald); font-size: 13.5px; }
.proof-frame .wa-shot { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.proof-frame .slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 6px; justify-content: center; z-index: 2; }
.proof-frame .slider-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(15,108,82,.30); cursor: pointer; transition: width .2s ease, background .2s ease;
}
.proof-frame .slider-dot.is-active { width: 22px; border-radius: 999px; background: var(--g-emerald); }

/* Text testimonials — compact cards below the WhatsApp slider (not inside it). */
.testimonials { display: grid; gap: 10px; margin-top: 18px; }
.tcard-mini {
  display: grid; gap: 5px; padding: 13px 15px;
  border: 1px solid var(--g-line); border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--shadow-sm);
}
.tcard-mini .tstars { color: var(--g-gold); font-size: 14px; letter-spacing: 1.5px; }
.tcard-mini p { color: var(--g-ink); font-size: 13.5px; font-weight: 600; line-height: 1.6; }
.tcard-mini b { color: var(--g-emerald); font-size: 12.5px; font-weight: 800; }
@media (min-width: 620px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* ── Compact order summary (inside the form) — country · package · price ─────*/
.order-summary {
  display: grid; gap: 8px; padding: 12px 14px;
  border-radius: var(--radius-sm); background: var(--g-mint); border: 1px solid var(--g-line);
}
.order-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.order-summary span { font-size: 12px; font-weight: 700; color: var(--g-muted-ink); flex: 0 0 auto; }
.order-summary b { font-size: 13.5px; font-weight: 800; color: var(--g-ink); text-align: left; }

/* ── Legal modal — tabbed (vitalfitarabia.com style) ─────────────────────────*/
.legal-modal .modal-backdrop { background: rgba(11,59,46,.42); }
.legal-dialog {
  width: calc(100% - 24px); max-width: 560px; margin: 6vh auto; max-height: 88vh; padding: 0;
  display: flex; flex-direction: column; overflow: hidden;
}
.legal-head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 14px 12px 16px; color: #fff;
  background: linear-gradient(90deg, var(--g-forest), var(--g-emerald));
}
.legal-brand { direction: ltr; font-weight: 900; font-size: 17px; letter-spacing: .01em; }
.legal-brand em { color: var(--g-gold-soft); font-style: normal; }
.legal-close { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.legal-close:hover { background: rgba(255,255,255,.26); }
/* Single clean row: never wraps onto the title, scrolls horizontally if narrow. */
.legal-tabs {
  flex: 0 0 auto;
  display: flex; gap: 2px; padding: 0 8px; flex-wrap: nowrap;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  background: var(--g-warm); border-bottom: 1px solid var(--g-line);
}
.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tab {
  flex: 0 0 auto; white-space: nowrap;
  background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 12px 14px; font-family: inherit; font-size: 13.5px; font-weight: 800;
  color: var(--g-muted-ink); cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.legal-tab.is-active { color: var(--g-emerald); border-bottom-color: var(--g-emerald); }
.legal-body { flex: 1 1 auto; padding: 18px 18px 22px; overflow-y: auto; }
.legal-panel[hidden] { display: none; }
.legal-panel h3 { font-size: 16px; margin: 0 0 .5em; color: var(--g-ink); }
.legal-panel p { color: var(--g-muted-ink); font-size: 14px; line-height: 1.7; margin: 0; }

/* ── Reveal animations (driven by app.js IntersectionObserver) ──────────────*/
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────────*/
@media (min-width: 760px) {
  :root { --shell: 680px; }
  .cta-band .btn { width: auto; min-width: 280px; }
}

@media (max-width: 390px) {
  .shell, .g-shell { padding-inline: 12px; }
  .offer-card { grid-template-columns: 20px 60px 1fr auto; gap: 9px; }
  .offer-card img { width: 60px; height: 60px; }
}

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