/* =========================================================
   Rumays: styles (dark theme)
   Every colour, font, size, space and radius lives in :root.
   Mobile first: the base styles are for phones (360–719px);
   the @media blocks at the bottom add columns on wider screens.
   ========================================================= */
:root {
  /* Colour: near-black base */
  --bg: #0E0F11;
  --surface: #141617;
  --surface-2: #1D2023;
  --surface-3: #3A3D40;
  --line: #FFFFFF1A;           /* 10% white hairlines */
  --control: #6B6C75;          /* checkbox / ghost-button borders (3:1 on the dark) */
  --text: #FFFFFF;
  --text-soft: #CFCFD3;
  --muted: #A1A1AA;
  --dot: #FFFFFF14;            /* dotted panel pattern */

  /* Colour: accents */
  --accent: #EEF35F;           /* lime: main buttons, highlights, selected states */
  --accent-hover: #F5F88F;
  --on-accent: #141617;
  --olive: #47490D;            /* panel colours for the three "why us" rows */
  --purple: #7B66FF;
  --purple-soft: #B6ABFF;
  --teal: #00CBAA;
  --teal-deep: #14362F;
  --paper: #FFFFFF;            /* light sample cards */
  --ink: #141617;
  --ink-line: #1416172E;

  /* Colour: WhatsApp (WhatsApp buttons and chat only) */
  --whatsapp: #1FAF54;
  --whatsapp-hover: #25C25F;
  --on-whatsapp: #08210F;
  --chat-bg: #0B141A;
  --bubble-out: #005C4B;
  --bubble-in: #202C33;
  --bubble-ink: #E9EDEF;

  /* Colour: device frames, focus, shadow */
  --device: #2A2C30;
  --device-base: #3A3D40;
  --focus: #EEF35F;
  --shadow-card: 0 24px 48px -24px #000000B3;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fw-regular: 400;
  --fw-semi: 600;
  --fs-2xs: 0.75rem;           /* 12px */
  --fs-xs: 0.8125rem;          /* 13px */
  --fs-sm: 0.9375rem;          /* 15px */
  --fs-base: 1.0625rem;        /* 17px */
  --fs-lg: 1.25rem;            /* 20px */
  --fs-xl: 1.5rem;             /* 24px */
  --fs-h3: clamp(1.875rem, 1.5rem + 1.4vw, 2.5rem);
  --fs-step: 2.75rem;
  --fs-price: clamp(2.5rem, 2.2rem + 1vw, 2.875rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 1.7rem + 3.6vw, 4.25rem);
  --lh-tight: 1.04;
  --lh-snug: 1.3;
  --lh-body: 1.6;
  --track-tight: -0.04em;
  --track-snug: -0.02em;
  --track-wide: 0.08em;
  --measure: 62ch;

  /* Space: 8px grid */
  --sp-half: 0.25rem;          /* 4px */
  --sp-1: 0.5rem;              /* 8px */
  --sp-2: 1rem;                /* 16px */
  --sp-3: 1.5rem;              /* 24px */
  --sp-4: 2rem;                /* 32px */
  --sp-5: 2.5rem;              /* 40px */
  --sp-6: 3rem;                /* 48px */
  --sp-8: 4rem;                /* 64px */
  --sp-10: 5rem;               /* 80px */
  --sp-12: 6rem;               /* 96px */
  --sp-16: 8rem;               /* 128px */
  --gutter: 1rem;
  --maxw: 1160px;
  --header-h: 3.5rem;          /* 56px */
  --tap: 2.75rem;              /* 44px minimum tap target */
  --float-size: 3.5rem;        /* 56px floating WhatsApp button */
  --icon: 1.25rem;
  --check: 1.75rem;
  --box: 1.375rem;             /* checkbox size */
  --logo-mark: 1.625rem;       /* 26px tall R mark */
  --fs-logo: 1.375rem;         /* 22px wordmark text */
  --dot-gap: 16px;

  /* Shape */
  --radius-sm: 6px;
  --radius-btn: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --radius-laptop: 12px;
  --radius-phone: 20px;
  --bezel-phone: 5px;
  --ring: 2px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.6s;
  --dur-fast: 0.15s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-2));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { color: var(--text); font-weight: var(--fw-semi); }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: var(--icon); height: var(--icon); flex: none; }
.icon-wa { color: var(--whatsapp); }

:focus-visible { outline: var(--ring) solid var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--sp-2); top: calc(-1 * var(--sp-10));
  z-index: 100; padding: var(--sp-1) var(--sp-2);
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm);
}
.skip:focus { top: var(--sp-1); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  min-height: var(--tap);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: var(--fs-sm); font-weight: var(--fw-semi); line-height: var(--lh-snug);
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding-inline: var(--sp-2); }
.btn-lg { min-height: var(--sp-6); font-size: var(--fs-base); }
.btn-xl { min-height: var(--sp-8); padding-inline: var(--sp-3); font-size: var(--fs-base); }
.btn-xl .icon { width: var(--sp-3); height: var(--sp-3); }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-wa { background: var(--whatsapp); color: var(--on-whatsapp); }
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-ghost { background: transparent; border-color: var(--control); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1);
  min-height: var(--header-h);
}
.wordmark {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  font-size: var(--fs-logo); font-weight: var(--fw-semi); letter-spacing: var(--track-snug);
  line-height: 1; text-decoration: none; color: var(--text);
}
a.wordmark { min-height: var(--tap); }
.logo-mark { height: var(--logo-mark); width: calc(var(--logo-mark) * 220 / 236); flex: none; }
.nav { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: var(--sp-1);
  font-size: var(--fs-sm); color: var(--muted); text-decoration: none;
}
.nav a:hover { color: var(--text); }
.header-end { display: flex; align-items: center; gap: var(--sp-1); }
.header-wa { min-width: var(--tap); padding-inline: var(--sp-1); }
.hide-xs { display: none; }

.lang-toggle { display: flex; align-items: center; }
.lang-toggle a {
  display: inline-flex; align-items: center;
  min-height: var(--tap);
  padding: 0 var(--sp-1);
  font-size: var(--fs-sm); color: var(--muted);
  text-decoration: underline 2px transparent; text-underline-offset: 6px;
}
.lang-toggle a:hover { color: var(--text); }
.lang-toggle a[aria-current="true"] {
  color: var(--text); font-weight: var(--fw-semi);
  text-decoration-color: var(--accent);
}
.lang-sep { width: 1px; height: var(--sp-2); background: var(--line); }

/* ---------- Notice (shown when a data file fails to load) ---------- */
#page-notice { padding-top: var(--sp-3); }
.notice {
  display: grid; gap: var(--sp-2); justify-items: start;
  padding: var(--sp-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.notice p { color: var(--muted); }
.notice .notice-title { color: var(--text); font-weight: var(--fw-semi); }
.notice-actions { display: flex; flex-wrap: wrap; gap: var(--sp-1); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-10); }
.section.section-tight { padding-top: 0; }
.section-head { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-5); max-width: 44rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow, .feature-label, .panel-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--accent);
}
h2 {
  font-size: var(--fs-h2); line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
.section-intro { color: var(--muted); max-width: var(--measure); }

/* Dotted dark panels (hero visual + final call to action) */
.hero-visual, .final-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.5px);
  background-size: var(--dot-gap) var(--dot-gap);
}

/* ---------- Hero ---------- */
.hero { padding-block: var(--sp-8) var(--sp-4); }
.hero-in { display: grid; gap: var(--sp-6); align-items: center; }
.hero-copy { display: grid; gap: var(--sp-3); }
h1 {
  font-size: var(--fs-h1); line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
h1 .hl { display: block; color: var(--accent); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 34rem; line-height: var(--lh-snug); }
.hero-ctas { display: grid; gap: var(--sp-1); margin-top: var(--sp-1); }

/* Hero panel: devices on the dotted card */
.hero-visual { position: relative; padding: var(--sp-6) var(--sp-3) var(--sp-4); }
.panel-label {
  position: absolute; left: var(--sp-3); top: var(--sp-2);
  font-size: var(--fs-2xs); color: var(--muted);
}
.devices { position: relative; width: 100%; max-width: 34rem; margin-inline: auto; padding: 0 12% var(--sp-2) 6%; }
.laptop-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
  border: clamp(6px, 1.2vw, 10px) solid var(--device);
  border-radius: var(--radius-laptop) var(--radius-laptop) 0 0;
}
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.laptop-base {
  position: relative;
  height: clamp(8px, 1.4vw, 12px);
  margin-inline: -6%;
  background: var(--device-base);
  border-radius: 0 0 var(--radius-laptop) var(--radius-laptop);
}
.laptop-base::before {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 18%; height: 40%;
  background: var(--device);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.phone {
  position: absolute; right: 0; bottom: 0;
  width: 31%;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  background: var(--paper);
  border: var(--bezel-phone) solid var(--device);
  border-radius: var(--radius-phone);
  outline: var(--bezel-phone) solid var(--surface);  /* separates phone from laptop */
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; gap: var(--sp-4) var(--sp-2); padding-top: var(--sp-1); }
.pkg {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.pkg:hover { border-color: var(--control); }
.pkg.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pkg:has(input:focus-visible) { outline: var(--ring) solid var(--focus); outline-offset: 4px; }

/* The whole card is the radio's click target */
.pkg-hit::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; cursor: pointer;
}
.pkg-hit input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }

.pkg-tag {
  position: absolute; top: 0; left: var(--sp-3); translate: 0 -50%;
  padding: var(--sp-half) var(--sp-2);
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: var(--fw-semi);
  letter-spacing: var(--track-wide); text-transform: uppercase; line-height: var(--lh-snug);
}
.pkg-check {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  display: grid; place-items: center;
  width: var(--check); height: var(--check);
  border: 1.5px solid var(--control); border-radius: 50%;
  color: transparent;
}
.pkg-check svg { width: 60%; height: 60%; }
.is-selected .pkg-check { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.pkg-name {
  padding-right: var(--sp-5);
  font-size: var(--fs-xl); letter-spacing: var(--track-snug); line-height: var(--lh-snug);
}
.pkg-best { font-size: var(--fs-sm); color: var(--muted); line-height: var(--lh-snug); }
.pkg-best span { font-weight: var(--fw-semi); color: var(--text-soft); }
.pkg-price { display: grid; line-height: 1; padding-block: var(--sp-1); }
.pkg-from {
  margin-bottom: var(--sp-1);
  font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--muted);
  letter-spacing: var(--track-wide); text-transform: uppercase;
}
.pkg-amount {
  color: var(--text);
  font-size: var(--fs-price); font-weight: var(--fw-semi); letter-spacing: var(--track-tight);
  font-variant-numeric: tabular-nums;
}
.pkg-features {
  display: grid; gap: var(--sp-1);
  padding-top: var(--sp-2); border-top: 1px solid var(--line);
  font-size: var(--fs-sm); line-height: var(--lh-snug);
}
.pkg-features li { position: relative; padding-left: var(--sp-3); }
.pkg-features li::before {           /* small tick drawn with two borders */
  content: ""; position: absolute; left: 2px; top: 0.3em;
  width: 0.4em; height: 0.7em;
  border: solid var(--accent); border-width: 0 2px 2px 0;
  rotate: 45deg;
}
.pkg-cta { margin-top: auto; padding-top: var(--sp-1); }
.pkg-cta .btn { padding-inline: var(--sp-2); }
.pkg-order { position: relative; z-index: 2; display: none; }
.is-selected .pkg-order { display: flex; }
.is-selected .pkg-choose { display: none; }
.pkg-note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--muted); max-width: var(--measure); }

/* ---------- Add-ons + order ---------- */
.addons-in { display: grid; gap: var(--sp-5); align-items: start; padding-top: var(--sp-8); border-top: 1px solid var(--line); }
.addon-list { display: grid; gap: var(--sp-1); }
.addon {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-2);
  min-height: var(--sp-8);
  padding: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; line-height: var(--lh-snug);
}
.addon:hover { border-color: var(--control); }
.addon.is-checked { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.addon input {
  appearance: none; -webkit-appearance: none;
  position: relative; display: grid; place-items: center;
  width: var(--box); height: var(--box); margin: 0;
  border: 1.5px solid var(--control); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer;
}
.addon input::before {
  content: ""; width: 0.35rem; height: 0.7rem; margin-top: -2px;
  border: solid var(--on-accent); border-width: 0 2px 2px 0;
  rotate: 45deg; opacity: 0;
}
.addon input:checked { background: var(--accent); border-color: var(--accent); }
.addon input:checked::before { opacity: 1; }
.addon-name { font-size: var(--fs-sm); color: var(--text-soft); }
.addon-price { color: var(--text); font-weight: var(--fw-semi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon-price small { font-size: var(--fs-xs); font-weight: var(--fw-regular); color: var(--muted); }

.order {
  display: grid; gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.order-title { font-size: var(--fs-lg); }
.order-empty { color: var(--muted); font-size: var(--fs-sm); }
.order-lines { display: grid; gap: var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.order-lines li { display: flex; justify-content: space-between; gap: var(--sp-2); }
.order-lines li:first-child { color: var(--text); font-weight: var(--fw-semi); font-size: var(--fs-base); }
.order-lines span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-preview-label {
  padding-top: var(--sp-2); border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: var(--fw-semi); color: var(--muted);
  letter-spacing: var(--track-wide); text-transform: uppercase;
}
.chat { padding: var(--sp-2); background: var(--chat-bg); border-radius: var(--radius-sm); }
.bubble {
  max-width: 92%; margin-left: auto;
  padding: var(--sp-1) var(--sp-2);
  background: var(--bubble-out); color: var(--bubble-ink);
  border-radius: var(--radius) var(--sp-half) var(--radius) var(--radius);
  font-size: var(--fs-sm); line-height: var(--lh-snug);
  white-space: pre-line;
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: var(--sp-2); }
.step {
  display: grid; gap: var(--sp-3); align-content: start;
  padding: var(--sp-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-step); font-weight: var(--fw-semi); line-height: 1;
  letter-spacing: var(--track-tight); color: var(--accent); font-variant-numeric: tabular-nums;
}
.step p { color: var(--muted); }
.step strong { display: block; margin-bottom: var(--sp-half); color: var(--text); font-weight: var(--fw-semi); }

/* ---------- Samples: coloured cards ---------- */
.sample-grid { display: grid; gap: var(--sp-2); }
@media (min-width: 720px) { .sample-grid { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); } }
.sample {
  --card-bg: var(--purple-soft);
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--card-bg); color: var(--ink);
  border-radius: var(--radius-lg);
  text-decoration: none;
}
.sample:nth-child(3n+2) { --card-bg: var(--accent); }
.sample:nth-child(3n+3) { --card-bg: var(--paper); }
.sample-media {
  order: 2;
  aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--ink-line); border-radius: var(--radius);
}
.sample-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.sample-body { display: grid; gap: var(--sp-1); }
.sample-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); font-size: var(--fs-sm); }
.sample-tag {
  padding: 0 var(--sp-1);
  border: 1px solid var(--ink); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: var(--fw-semi);
  letter-spacing: var(--track-wide); text-transform: uppercase;
}
.sample h3 { color: var(--ink); font-size: var(--fs-xl); line-height: var(--lh-snug); letter-spacing: var(--track-snug); }
.sample-link {
  display: inline-flex; align-items: center; gap: var(--sp-half); min-height: var(--tap);
  font-weight: var(--fw-semi); font-size: var(--fs-sm); text-decoration: underline;
}
.sample-link svg { width: var(--sp-2); height: var(--sp-2); }

/* ---------- Why us: alternating rows with coloured panels ---------- */
.features { display: grid; gap: var(--sp-8); }
.feature { --panel: var(--olive); --label: var(--accent); display: grid; gap: var(--sp-4); align-items: center; }
.feature--purple { --panel: var(--purple); --label: var(--purple-soft); }
.feature--teal { --panel: var(--teal-deep); --label: var(--teal); }
.feature-copy { display: grid; gap: var(--sp-2); justify-items: start; max-width: 30rem; }
.feature-label { color: var(--label); }
.feature h3 { font-size: var(--fs-h3); line-height: var(--lh-tight); letter-spacing: var(--track-tight); }
.feature-copy p:not(.feature-label) { color: var(--muted); }
.feature-copy .btn { margin-top: var(--sp-1); }
.feature-panel {
  display: grid; place-items: center;
  min-height: 20rem;
  padding: var(--sp-5) var(--sp-3);
  background: var(--panel);
  border-radius: var(--radius-lg);
}

/* Small app-style cards inside the panels (decorative) */
.mock {
  width: 100%; max-width: 24rem;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: var(--fs-sm);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: var(--sp-1) var(--sp-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); }
.mock-bar span {
  flex: 1; margin-left: var(--sp-1); padding: 2px var(--sp-1);
  background: var(--surface-2); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--muted);
}
.mock-browser img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top left; }
.mock-chip {
  display: flex; align-items: center; gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-2); border-top: 1px solid var(--line);
  color: var(--text); font-size: var(--fs-xs); font-weight: var(--fw-semi);
}
.mock-chip svg { width: 14px; height: 14px; color: var(--accent); }
.mock-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1);
  padding: var(--sp-2); border-bottom: 1px solid var(--line);
  color: var(--text); font-weight: var(--fw-semi);
}
.mock-pill {
  padding: 2px var(--sp-1); border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--purple-soft);
  font-family: var(--font-mono); font-size: var(--fs-2xs);
}
.mock-list ul { display: grid; }
.mock-list li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-2); min-height: var(--sp-6);
  border-bottom: 1px solid var(--line); color: var(--text-soft); line-height: var(--lh-snug);
}
.mock-list li:last-child { border-bottom: 0; }
.toggle {
  position: relative; flex: none;
  width: 34px; height: 20px; border-radius: var(--radius-pill);
  background: var(--surface-3);
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--text-soft);
}
.toggle.is-on { background: var(--accent); }
.toggle.is-on::after { left: 17px; background: var(--on-accent); }
.mock-name { display: grid; flex: 1; line-height: var(--lh-snug); }
.mock-name small { color: var(--muted); font-weight: var(--fw-regular); font-size: var(--fs-2xs); }
.mock-avatar {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
}
.mock-avatar svg { width: 16px; height: 17px; }
.mock-chat-body { display: grid; gap: var(--sp-1); padding: var(--sp-2); background: var(--chat-bg); }
.msg {
  max-width: 85%; padding: var(--sp-1) var(--sp-2);
  color: var(--bubble-ink); font-size: var(--fs-xs); line-height: var(--lh-snug);
}
.msg-out { justify-self: end; background: var(--bubble-out); border-radius: var(--radius) var(--sp-half) var(--radius) var(--radius); }
.msg-in { justify-self: start; background: var(--bubble-in); border-radius: var(--sp-half) var(--radius) var(--radius) var(--radius); }

/* ---------- FAQ ---------- */
.faq-in { max-width: calc(48rem + 2 * var(--gutter)); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex; align-items: center; min-height: var(--sp-8);
  padding: var(--sp-2) var(--sp-6) var(--sp-2) 0;
  color: var(--text); font-size: var(--fs-lg); font-weight: var(--fw-semi); line-height: var(--lh-snug);
  list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {   /* plus sign that turns into a minus */
  content: ""; position: absolute; right: var(--sp-1); top: 50%;
  width: 14px; height: 2px; background: var(--accent);
  transition: transform var(--dur-fast) ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 var(--sp-6) var(--sp-3) 0; color: var(--muted); max-width: var(--measure); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--sp-2); }
.quote {
  display: grid; gap: var(--sp-2); align-content: start;
  padding: var(--sp-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.quote blockquote { color: var(--text); font-size: var(--fs-lg); line-height: var(--lh-snug); }
.quote figcaption { font-size: var(--fs-sm); color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); font-weight: var(--fw-semi); }

/* ---------- Final CTA ---------- */
.final { padding-bottom: var(--sp-10); }
.final-panel {
  display: grid; gap: var(--sp-4); justify-items: start;
  padding: var(--sp-6) var(--sp-2);
}
.final h2 { max-width: 16ch; }
.final-note { max-width: 50ch; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--sp-5) calc(var(--sp-5) + var(--float-size) + var(--sp-2));
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-3); }
.footer-wa {
  display: inline-flex; align-items: center; gap: var(--sp-1); min-height: var(--tap);
  color: var(--text); font-weight: var(--fw-semi); text-decoration: none; font-variant-numeric: tabular-nums;
}
.footer-wa:hover { text-decoration: underline; }
.footer-copy { color: var(--muted); }
.footer-about { flex-basis: 100%; color: var(--muted); }

/* ---------- Floating WhatsApp (phones only) ---------- */
.wa-float {
  position: fixed; z-index: 30;
  right: var(--sp-2); bottom: calc(var(--sp-2) + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: var(--float-size); height: var(--float-size);
  background: var(--whatsapp); color: var(--on-whatsapp);
  border-radius: 50%;
  outline: 3px solid var(--bg);
  transition: transform var(--dur-fast) ease;
}
.wa-float:active { transform: scale(0.94); }
.wa-float svg { width: 55%; height: 55%; }
.wa-float:focus-visible { outline: var(--ring) solid var(--focus); }

/* ---------- Scroll reveal (only added by app.js when motion is OK) ---------- */
.anim .reveal { opacity: 0; translate: 0 var(--sp-2); transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease); }
.anim .reveal.is-in { opacity: 1; translate: 0 0; }

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

/* =========================================================
   Wider screens
   ========================================================= */
@media (min-width: 400px) {
  .hide-xs { display: inline; }
  .header-wa { padding-inline: var(--sp-2); }
}

@media (min-width: 720px) {
  :root { --gutter: 1.5rem; --header-h: 4rem; }
  .section { padding-block: var(--sp-12); }
  .hero { padding-block: var(--sp-12) var(--sp-10); }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .btn-xl { padding-inline: var(--sp-4); font-size: var(--fs-lg); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .addons-in { padding-top: var(--sp-10); }
  .feature-panel { padding: var(--sp-8) var(--sp-6); min-height: 26rem; }
  .final-panel { padding: var(--sp-10) var(--sp-8); }
  .site-footer { padding-bottom: var(--sp-5); }
  .wa-float { display: none; }
}

@media (min-width: 960px) {
  .nav { display: flex; gap: var(--sp-1); margin-inline: auto var(--sp-2); }
  .hero-in { grid-template-columns: 1.2fr 1fr; gap: var(--sp-6); }
  .addons-in { grid-template-columns: 1.15fr 1fr; gap: var(--sp-8); }
  .order { position: sticky; top: calc(var(--header-h) + var(--sp-3)); padding: var(--sp-4); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .features { gap: var(--sp-12); }
  .feature { grid-template-columns: 1fr 1.25fr; gap: var(--sp-10); }
  .final-panel { grid-template-columns: 1fr auto; align-items: end; column-gap: var(--sp-8); }
  .final-panel h2 { grid-column: 1; }
  .final-panel .btn { grid-column: 2; grid-row: 1; }
  .final-note { grid-column: 1 / -1; }
}

@media (min-width: 1080px) {
  .pkg-grid { grid-template-columns: repeat(4, 1fr); }
  .pkg-best { min-height: calc(3 * var(--lh-snug) * 1em); }  /* keeps prices level across cards */
}
