/* ==========================================================================
   LANDER DEMO — styles.css  (Arabic / RTL, mobile-first)
   Layout: single centered column like the reference; the hero becomes two
   columns (info | gallery) from 960px. Uses logical properties for RTL.
   Theme colors are overridden at runtime from LANDER_CONFIG.theme.
   ========================================================================== */

:root {
  --brand: #3d82e6;
  --brand-dark: #1d3a78;
  --brand-soft: #e6f1fd;
  --ink: #141821;
  --wa: #25d366;
  --badge: #f8d26a;
  --sale: #e03b3b;

  --ink-2: #3a4150;
  --muted: #6b7280;
  --line: #e3e6ec;
  --line-strong: #cfd4dc;
  --surface: #ffffff;
  --bg-soft: #f6f8fb;
  --addon-bg: #eef0f4;
  --success: #1f9d55;
  --warn-bg: #fff5de;
  --warn-ink: #8a5a00;

  --font-body: 'Almarai', 'Tahoma', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'El Messiri', 'Almarai', 'Tahoma', sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 14px rgba(20, 24, 33, .07);
  --shadow-lg: 0 14px 40px rgba(20, 24, 33, .1);

  --gutter: 16px;
  --announcement-h: 34px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.center { text-align: center; }
.noscript { padding: 24px; text-align: center; }
/* Keep "$29.00" / "07701234567" in left-to-right order inside Arabic text */
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; font-variant-numeric: tabular-nums; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--xs { width: 12px; height: 12px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }
.icon--yes { color: var(--success); }
.icon--no { color: var(--sale); }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.container--form { max-width: 720px; margin-inline: auto; }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 12px;
  font-weight: 800; font-size: 17px; text-decoration: none; line-height: 1.2;
  transition: background-color .2s, transform .15s var(--ease), box-shadow .2s, filter .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.btn--xl { min-height: 58px; font-size: 19px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; border-radius: 14px; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn--primary:hover:not(:disabled) { filter: brightness(.94); }
.btn--black { background: #000; color: #fff; border-radius: 0; }
.btn--black:hover:not(:disabled) { background: #1d1d1d; }
.btn--wa { background: var(--wa); color: #fff; border-radius: 0; }
.btn--wa:hover { filter: brightness(.95); }
.btn--wa-soft { background: var(--brand); color: #fff; border-radius: 16px; min-height: 48px; padding: 10px 20px; font-size: 17px; }
.btn--wa-soft:hover { filter: brightness(.94); }
.btn--outline { background: #fff; border-color: var(--line-strong); color: var(--ink); font-weight: 700; font-size: 15px; }
.btn--outline:hover { border-color: var(--ink); }

.ph-tag { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--warn-bg); color: var(--warn-ink); font-size: 12px; font-weight: 700; }

/* ---------- Stars ---------- */
.stars { position: relative; display: inline-block; direction: ltr; font-size: 18px; line-height: 1; letter-spacing: 2px; }
.stars__bg { color: #d6dbe3; }
.stars__fg { position: absolute; inset: 0; width: var(--fill); overflow: hidden; white-space: nowrap; color: var(--brand); }

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announcement { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: var(--announcement-h); background: var(--brand); color: #fff; }
.announcement__inner { position: relative; height: 100%; overflow: hidden; }
.announcement__msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-inline: var(--gutter);
  text-align: center; font-size: 13px; font-weight: 700; white-space: nowrap;
  opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--ease);
}
.announcement__msg.is-active { opacity: 1; transform: none; }
@media (max-width: 359px) { .announcement__msg { font-size: 11.5px; } }

.site-header { background: #fff; border-bottom: 3px solid var(--bg-soft); box-shadow: 0 2px 6px rgba(20, 24, 33, .04); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.logo { font-family: 'Almarai', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: .12em; text-decoration: none; color: var(--brand-dark); }
.logo--light { color: #fff; }
.site-header__order { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--brand-dark); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: 20px 36px; }
.hero__grid { display: grid; gap: 18px; grid-template-areas: "head" "offer" "media" "cta" "trust"; }
.hero__head { grid-area: head; display: grid; gap: 10px; }
.offer-box { grid-area: offer; }
.hero__media { grid-area: media; min-width: 0; }
.hero__cta { grid-area: cta; }
.hero__grid > .trust { grid-area: trust; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; }
.hero__title { font-family: 'Almarai', sans-serif; font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1.2; }
.hero__subtitle { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; color: var(--ink-2); }

/* Offer box — matches the reference card */
.offer-box {
  display: grid; justify-items: center; gap: 10px; padding: 22px 18px; text-align: center;
  border-radius: var(--radius-lg); background: var(--brand-soft);
}
.offer-box__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); color: var(--ink); line-height: 1.3; }
.offer-box__prices { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; }
.offer-box__price { font-size: 30px; font-weight: 800; color: var(--brand); }
.offer-box__compare { font-size: 28px; font-weight: 800; color: #666d79; }
.offer-box__prices s { text-decoration-thickness: 2px; color: #666d79; }
.offer-box__badge { padding: 4px 12px; border-radius: 12px; background: var(--badge); color: var(--ink); font-weight: 800; font-size: 19px; }
.offer-box__ship { display: flex; align-items: center; gap: 8px; color: var(--brand); font-size: 16px; }
.offer-box__ship .icon { color: var(--brand); }

.hero__hint { margin-bottom: 10px; text-align: center; font-size: 14px; color: var(--muted); }

/* Gallery */
.gallery { display: grid; gap: 10px; }
.gallery__viewport { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 1 / 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid var(--brand); background: rgba(255, 255, 255, .9); color: var(--brand);
}
.gallery__nav--prev { left: 8px; }
.gallery__nav--next { right: 8px; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--bg-soft); opacity: .75; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--brand); opacity: 1; }
.dots { display: flex; justify-content: center; gap: 7px; padding-top: 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #d4d9e1; transition: background .2s; }
.dot.is-active { background: var(--brand); }

/* Trust chips (2×2) */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust-chip {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px;
  border-radius: 14px; background: var(--bg-soft); box-shadow: 0 1px 3px rgba(20, 24, 33, .08);
  font-weight: 700; font-size: 14px; text-align: center; line-height: 1.3;
}
.trust-chip .icon { color: var(--brand); }

@media (min-width: 960px) {
  .hero { padding-block: 36px 60px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 20px; align-items: start;
    grid-template-areas: "head media" "offer media" "cta media" "trust media" ". media";
  }
  .hero__media { position: sticky; top: calc(var(--announcement-h) + 20px); }
  .hero__hint { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: 48px; }
.section--soft { background: var(--bg-soft); }
@media (min-width: 960px) { .section { padding-block: 72px; } }
.section-title {
  font-family: var(--font-display); font-weight: 700; text-align: center; text-wrap: balance;
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem); line-height: 1.3; margin-bottom: 14px;
}
.section-title--brand { color: var(--brand); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.section-title--dark { color: var(--ink); }
.icon--title { width: 34px; height: 34px; color: var(--brand); }
.section .center { margin-bottom: 18px; }

/* ---------- Voice notes carousel ---------- */
.carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.carousel__nav {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--brand); background: #fff; color: var(--brand);
}
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; column-gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .carousel__track { grid-auto-columns: calc((100% - 12px) / 2); } }
.voice { scroll-snap-align: start; display: grid; gap: 10px; padding: 12px; border: 1.5px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: var(--radius); background: #fff; }
.voice__player {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 6px;
  padding: 12px; border-radius: 12px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  direction: ltr;
}
.voice__play { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; }
.voice__play .icon { width: 22px; height: 22px; margin-left: 2px; }
.voice__bar { grid-column: 2 / 4; height: 6px; border-radius: 999px; background: #c9d2de; overflow: hidden; }
.voice__progress { display: block; width: 0; height: 100%; background: var(--brand); }
.voice__time { font-size: 13px; color: var(--ink-2); }
.voice__time:last-child { justify-self: end; }
.voice__meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; }
.voice__meta .stars__fg { color: #f5b820; }
.voice.is-playing .voice__play { background: var(--brand-dark); }
.section .dots { margin-top: 14px; }

/* ==========================================================================
   Order form (matches the reference layout)
   ========================================================================== */
.section--order { scroll-margin-top: var(--announcement-h); padding-block: 40px; }
#order-title { outline: none; color: var(--brand-dark); margin-bottom: 4px; }
.order-form { display: grid; gap: 16px; }
.order-form__sub { text-align: center; font-size: 16px; color: var(--ink-2); margin-bottom: 10px; }

/* Offer cards */
.offers__list { display: grid; gap: 18px; }
.offer {
  position: relative; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .15s, background .15s; cursor: pointer;
}
.offer.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.offer__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 16px 14px; cursor: pointer; }
.offer__radio {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; flex: none;
  display: grid; place-items: center;
}
.offer__radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .18s var(--ease); }
.offer.is-selected .offer__radio { border-color: var(--brand); }
.offer.is-selected .offer__radio::after { transform: scale(1); }
.offer__head:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 10px; }
.offer__title { font-weight: 800; font-size: 17px; }
.offer__saved { padding: 3px 10px; background: color-mix(in srgb, var(--brand) 85%, #000); color: #fff; font-size: 14px; font-weight: 700; }
.offer.is-selected .offer__saved { background: var(--brand); }
.offer__prices { margin-inline-start: auto; display: grid; justify-items: end; line-height: 1.2; }
.offer__price { font-size: 20px; font-weight: 800; }
.offer__compare { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.offer__prices s { color: var(--ink-2); }
.offer__badge {
  position: absolute; top: -13px; inset-inline-end: 22px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 14px; background: var(--brand-dark); color: #fff; font-size: 13px; font-weight: 700;
}
.offer--bundle .offer__badge { background: var(--brand); border-radius: 999px; }
.offer--bundle .offer__title { font-family: var(--font-display); font-size: 22px; color: var(--brand-dark); }
.offer--bundle .offer__price { color: var(--brand); font-size: 24px; }

/* Per-unit color/size rows */
.units { display: grid; gap: 10px; padding: 0 14px 16px; }
.units__head, .units__row { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 10px; align-items: center; }
.units__head span { font-weight: 800; font-size: 14px; text-align: center; }
.units__num { font-weight: 800; font-size: 16px; }
.units__select {
  width: 100%; min-height: 44px; padding: 8px 12px; padding-inline-end: 34px;
  border: 1.5px solid var(--line-strong); border-radius: 6px; background-color: #fff; font-size: 16px;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23141821' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 10px center; background-size: 16px;
}

/* Bundle product list */
.bundle { margin: 0 14px 16px; border: 1.5px solid color-mix(in srgb, var(--brand) 60%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--brand-soft) 60%, #fff); }
.bundle__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px; }
.bundle__item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.bundle__name { font-weight: 800; font-size: 15px; }
.bundle__prices { display: grid; justify-items: end; line-height: 1.2; }
.bundle__prices > .num { color: var(--brand); font-weight: 800; font-size: 19px; }
.bundle__prices s { color: var(--muted); font-size: 14px; }
.bundle__plus { display: grid; place-items: center; width: 28px; height: 28px; margin: -14px auto; position: relative; z-index: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.bundle__plus + .bundle__item { border-top: 1.5px solid color-mix(in srgb, var(--brand) 40%, transparent); }

/* Totals box */
.totals { display: grid; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); padding: 6px 16px; }
.totals__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.totals__row + .totals__row { border-top: 1px solid var(--line); }
.totals__row dt { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.totals__row dd { font-weight: 700; font-size: 17px; }
.totals__row--discount dd { color: var(--sale); }
.totals__row--total dt { font-weight: 800; font-size: 17px; }
.totals__row--total dd { font-weight: 800; font-size: 24px; }

.order-form__address { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); text-align: center; margin-top: 8px; }

/* Fields with icon addon (addon sits on the right in RTL, like the reference) */
.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 800; font-size: 16px; }
.req { color: var(--sale); margin-inline-start: 2px; }
.input-group { display: flex; align-items: stretch; min-height: 54px; }
.input-group__addon {
  display: grid; place-items: center; flex: 0 0 54px;
  border: 1px solid var(--line-strong); border-inline-end: 0; border-start-start-radius: 6px; border-end-start-radius: 6px;
  background: var(--addon-bg); color: var(--ink);
}
.input-group__addon .icon { width: 22px; height: 22px; }
.input-group input, .input-group select {
  flex: 1; min-width: 0; padding: 12px 14px; font-size: 16px; /* ≥16px prevents iOS zoom */
  border: 1px solid var(--line-strong); border-radius: 0; border-start-end-radius: 6px; border-end-end-radius: 6px;
  background-color: #fff; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.input-group select {
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 12px center; background-size: 18px;
}
.input-group select:invalid { color: #8a909c; }
.input-group input::placeholder { color: #8a909c; }
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.has-error .input-group input, .field.has-error .input-group select { border-color: var(--sale); background-color: #fff8f8; }
.field.has-error .input-group__addon { border-color: var(--sale); color: var(--sale); }
.field__error { font-size: 14px; font-weight: 700; color: var(--sale); }
.field__error:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }

.form-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: #fdecec; color: #a4231f; font-weight: 700; font-size: 15px; outline: none; }
.form-error .icon { margin-top: 4px; }
.submit-btn { margin-top: 8px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.submit-btn.is-loading .spinner { display: block; }
.submit-btn.is-loading { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-form.is-submitting .offers, .order-form.is-submitting .fields { opacity: .6; pointer-events: none; }
.order-form__reassure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.order-form__reassure .icon { color: var(--success); }

/* Success */
.success { display: grid; justify-items: center; gap: 14px; padding: 40px 18px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); animation: pop .45s var(--ease); }
.success__icon .icon { width: 72px; height: 72px; color: var(--success); }
.success__title { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.2rem); outline: none; }
.success__lead { color: var(--ink-2); }
.success__number { font-size: 26px; font-weight: 800; letter-spacing: .06em; padding: 8px 18px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); }
.success__details { display: grid; gap: 10px; width: 100%; max-width: 460px; padding: 16px; border-radius: var(--radius); background: var(--bg-soft); text-align: start; font-size: 15px; }
.success__details div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.success__details dt { color: var(--muted); font-weight: 700; }
.success__details dd { justify-self: start; }
.success__next { font-weight: 700; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.demo-note .icon { margin-top: 3px; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   FAQ (simple rows with chevron, like the reference)
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { font-size: inherit; }
.faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px;
  padding: 14px 2px; border: 0; background: transparent; text-align: start; font-weight: 700; font-size: 17px;
}
.faq__btn:hover, .faq__btn[aria-expanded="true"] { color: var(--brand); }
.faq__chev { transition: transform .25s var(--ease); }
.faq__btn[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; }
.faq__inner p { padding: 0 2px 16px; color: var(--ink-2); }
.faq__panel[aria-hidden="true"] .faq__inner { visibility: hidden; transition: visibility 0s .3s; }
.faq__panel.is-open .faq__inner { visibility: visible; transition: none; }

/* ==========================================================================
   Editorial (problem / solution)
   ========================================================================== */
.editorial { display: grid; gap: 18px; }
.editorial__lead { font-size: 19px; font-weight: 700; color: var(--ink); }
.editorial__body { display: grid; gap: 14px; font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.editorial__figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.editorial__figure--square { aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.editorial__figure img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 700; }
.checklist .icon { width: 24px; height: 24px; margin-top: 3px; }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp th, .cmp td { padding: 16px 8px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-weight: 800; font-size: 16px; border-bottom: 1.5px solid var(--line-strong); }
.cmp thead th:first-child { width: 44%; }
.cmp tbody th { text-align: start; font-weight: 400; font-size: 16px; line-height: 1.5; }
.cmp .cmp__ours { background: var(--brand-soft); }
.cmp thead .cmp__ours { border-start-start-radius: 14px; border-start-end-radius: 14px; }
.cmp tbody tr:last-child .cmp__ours { border-end-start-radius: 14px; border-end-end-radius: 14px; }
.cmp .icon { width: 26px; height: 26px; margin-inline: auto; }
.cmp .icon--no { width: 18px; height: 18px; }

/* ==========================================================================
   Reviews + videos
   ========================================================================== */
.reviews__summary { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; font-size: 17px; }
.reviews__summary .stars { font-size: 24px; }
.reviews__grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.review__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.review__body { display: grid; gap: 8px; padding: 16px; }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.review__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-weight: 700; font-size: 13px; }
.review__text { color: var(--ink-2); }
.review__meta { font-size: 14px; color: var(--muted); }
.review__meta strong { color: var(--ink); }
.reviews .center { margin-top: 22px; }

.videos { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.videos::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .videos { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }
.vcard { scroll-snap-align: start; min-width: 0; }
.vcard__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #1d2742; }
.vcard__media img, .vcard__media video { width: 100%; height: 100%; object-fit: cover; }
.vcard__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .92); color: var(--brand); transition: transform .2s var(--ease); }
.vcard__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.vcard__media:hover .vcard__play { transform: scale(1.08); }
.vcard__caption { margin-top: 8px; font-weight: 700; text-align: center; }
.videos__cta { margin-top: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-dark); color: #d7def0; padding-block: 40px 28px; font-size: 14px; }
.site-footer__inner { display: grid; gap: 22px; }
.trust--footer .trust-chip { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.trust--footer .trust-chip .icon { color: #fff; }
@media (min-width: 768px) { .trust--footer { grid-template-columns: repeat(4, 1fr); } }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__links a { text-decoration: none; color: #fff; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__disclaimer { color: #aab5d0; font-size: 13px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: #aab5d0; font-size: 13px; }
.site-footer__bottom a { color: #fff; }
@media (max-width: 959px) { .site-footer { padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================================
   Floating WhatsApp + sticky mobile CTA
   ========================================================================== */
.wa-float {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 46;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: bottom .3s var(--ease), transform .2s;
}
.wa-float .icon { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
body.has-sticky-cta .wa-float { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 24, 33, .1);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__info { display: grid; min-width: 0; line-height: 1.3; }
.sticky-cta__prices strong { font-size: 20px; font-weight: 800; color: var(--brand); }
.sticky-cta__prices s { color: var(--muted); font-size: 14px; }
.sticky-cta__meta { font-size: 13px; color: var(--muted); }
.sticky-cta .btn { flex: none; min-height: 50px; padding-inline: 28px; }
@media (min-width: 960px) { .sticky-cta { display: none; } body.has-sticky-cta .wa-float { bottom: 24px; } }

.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; translate: -50% 10px; transition: opacity .25s, translate .25s var(--ease);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }
.toast:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Strikethrough must be on the .num itself (inline-block breaks inherited text-decoration) */
s .num { text-decoration: line-through; text-decoration-thickness: 2px; }
.success__details dd[data-role="success-items"] { white-space: pre-line; }
.input-group input[type="tel"] { direction: ltr; text-align: right; }
