/* ==========================================================================
   SubscriptionIPTV.tv — design system
   Dark premium, subtle glassmorphism, cyan/indigo/violet halos.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --bg: #060816;
  --surface: #0d1224;
  --card: #111a33;
  --cyan: #33d6ff;
  --indigo: #5b6cff;
  --violet: #8b5cf6;
  --success: #33e1a0;
  --text: #f8faff;
  --muted: #a6b0c3;

  --line: rgba(166, 176, 195, 0.16);
  --line-strong: rgba(166, 176, 195, 0.28);
  --card-glass: rgba(17, 26, 51, 0.72);
  --surface-glass: rgba(13, 18, 36, 0.82);

  --gradient-brand: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 55%, var(--violet) 100%);
  --gradient-text: linear-gradient(120deg, #7fe6ff 0%, #8fa0ff 50%, #b691ff 100%);

  --font-heading: 'Manrope', 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-card: 0 18px 44px -28px rgba(3, 6, 18, 0.95);
  --shadow-lift: 0 26px 60px -30px rgba(4, 8, 24, 0.98);
  --shadow-glow: 0 0 0 1px rgba(51, 214, 255, 0.22), 0 20px 60px -30px rgba(91, 108, 255, 0.7);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --dur: 420ms;

  --header-h: 72px;
}

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* An element hidden with the `hidden` attribute must stay hidden, whatever
   display value its own class sets. Without this, `.pill` or `.confirm-icon`
   would override the user-agent `[hidden] { display: none }`. */
[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.375rem, 1.55rem + 3.6vw, 4.125rem); }   /* 38 -> 66px */
h2 { font-size: clamp(1.875rem, 1.35rem + 2.2vw, 2.875rem); }   /* 30 -> 46px */
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7fe6ff; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 650; color: var(--text); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* --- Focus & accessibility ------------------------------------------------ */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--surface { background: linear-gradient(180deg, transparent, rgba(13, 18, 36, 0.75) 12%, rgba(13, 18, 36, 0.75) 88%, transparent); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gradient-brand);
}
.section-head--center .eyebrow::before { display: none; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.fine-print { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* --- Decorative halos ----------------------------------------------------- */
.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.halo--cyan { background: radial-gradient(circle, rgba(51, 214, 255, 0.55), transparent 68%); }
.halo--violet { background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 68%); }
.halo--indigo { background: radial-gradient(circle, rgba(91, 108, 255, 0.45), transparent 68%); }

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(166, 176, 195, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 176, 195, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 78%);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity 200ms;
}
.btn:hover { transform: translateY(-3px); color: var(--btn-fg); }
.btn:active { transform: translateY(-1px); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn--primary {
  --btn-bg: var(--gradient-brand);
  --btn-fg: #050818;
  --btn-border: transparent;
  font-weight: 700;
  box-shadow: 0 12px 34px -18px rgba(91, 108, 255, 0.9);
}
.btn--primary:hover { box-shadow: 0 20px 44px -18px rgba(91, 108, 255, 1); color: #050818; }

.btn--ghost { --btn-bg: rgba(248, 250, 255, 0.04); }
.btn--ghost:hover { --btn-bg: rgba(248, 250, 255, 0.09); --btn-border: var(--line-strong); }

.btn--whatsapp {
  --btn-bg: rgba(51, 225, 160, 0.12);
  --btn-fg: var(--success);
  --btn-border: rgba(51, 225, 160, 0.4);
}
.btn--whatsapp:hover { --btn-bg: rgba(51, 225, 160, 0.2); --btn-fg: var(--success); }

.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Inline icons must never inherit an intrinsic size from the SVG element. */
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--lg svg { width: 21px; height: 21px; }
.pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.fine-print svg { width: 14px; height: 14px; flex-shrink: 0; vertical-align: -2px; display: inline-block; }
h2 svg, h3 svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Cards ---------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--card-glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 13px;
  background: rgba(51, 214, 255, 0.1);
  border: 1px solid rgba(51, 214, 255, 0.24);
  color: var(--cyan);
}
.icon-badge svg { width: 22px; height: 22px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(248, 250, 255, 0.05);
  font-size: 0.8125rem;
  font-weight: 560;
  color: var(--muted);
}
.pill--brand { border-color: rgba(51, 214, 255, 0.35); background: rgba(51, 214, 255, 0.1); color: var(--cyan); }
.pill--success { border-color: rgba(51, 225, 160, 0.35); background: rgba(51, 225, 160, 0.1); color: var(--success); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease),
    backdrop-filter 320ms var(--ease), box-shadow 320ms var(--ease);
}
.site-header.is-stuck {
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px -30px #000;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.site-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.site-header__logo img { height: 30px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 540;
  text-decoration: none;
  transition: color 220ms var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--text); }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.site-header__actions .btn--whatsapp { width: 48px; padding-inline: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(248, 250, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    margin: 0;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--surface-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav[hidden] { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { min-height: 52px; font-size: 1.0625rem; padding-inline: 0.25rem; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .btn--nav-cta { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero__halo-a { width: min(46rem, 90vw); aspect-ratio: 1; top: -18rem; left: -12rem; animation: drift 22s var(--ease) infinite alternate; }
.hero__halo-b { width: min(38rem, 80vw); aspect-ratio: 1; top: -6rem; right: -14rem; animation: drift 26s var(--ease) infinite alternate-reverse; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3rem, 2.5rem, 0) scale(1.12); }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}

.hero h1 { margin-bottom: 1.1rem; font-size: clamp(2.375rem, 1.7rem + 2.95vw, 3.875rem); }
.hero h1 .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--muted); max-width: 34rem; margin-bottom: 1.8rem; }

.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.9rem 0 1.25rem;
  padding: 0;
}
.hero__assurances li { margin: 0; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

/* --- Stats ---------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stat {
  background: var(--card-glass);
  padding: clamp(1.3rem, 3vw, 2rem) 1.1rem;
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 0.55rem; color: var(--muted); font-size: 0.9375rem; }

/* --- Plans ---------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.35rem);
  align-items: stretch;
}
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan__duration, .plan__per-month, .plan__tagline { min-height: 0; }
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--card-glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lift); }

.plan--featured {
  border-color: rgba(51, 214, 255, 0.42);
  box-shadow: var(--shadow-glow);
  background:
    linear-gradient(180deg, rgba(51, 214, 255, 0.09), transparent 42%),
    var(--card-glass);
}
.plan--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

.plan__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #050818;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan--badged { margin-top: 0.85rem; }
@media (max-width: 620px) { .plan--badged { margin-top: 1.1rem; } }

.plan__name { font-size: 1.25rem; margin-bottom: 0.15rem; }
.plan__duration { color: var(--cyan); font-size: 0.9375rem; font-weight: 600; margin-bottom: 1.1rem; min-height: 2.9em; }

.plan__price { display: flex; align-items: baseline; gap: 0.45rem; margin-bottom: 0.2rem; }
.plan__amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan__compare { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.plan__per-month { color: var(--muted); font-size: 0.8125rem; margin-bottom: 1.1rem; min-height: 2.6em; }
.plan__savings { margin-bottom: 1rem; }
.plan__tagline { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.35rem; min-height: 4.3em; }

.plan__features { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; }
.plan__features li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.plan__note { margin-top: 0.9rem; font-size: 0.75rem; color: var(--muted); text-align: center; }

/* --- Feature / category grids --------------------------------------------- */
.category {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 26, 51, 0.5);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.category:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.category h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.category p { font-size: 0.875rem; margin: 0; }
.category .icon-badge { width: 38px; height: 38px; margin: 0; flex-shrink: 0; border-radius: 11px; }
.category .icon-badge svg { width: 18px; height: 18px; }

/* --- Split media section --------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.split__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.55rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.split__list li { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.9375rem; color: var(--muted); }
.split__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gradient-brand); flex-shrink: 0; }

/* --- Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(17, 26, 51, 0.55); }
.step__num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #050818;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}
.step h3 { font-size: 1.0625rem; }
.step p { font-size: 0.9375rem; margin: 0; }

/* --- Progress indicator (thank-you) --------------------------------------- */
.progress { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
@media (min-width: 780px) { .progress { grid-template-columns: repeat(3, 1fr); } }
.progress li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin: 0; padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 26, 51, 0.5);
  font-size: 0.9375rem;
}
.progress .dot {
  display: grid; place-items: center;
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
}
.progress .is-done { border-color: rgba(51, 225, 160, 0.4); background: rgba(51, 225, 160, 0.08); }
.progress .is-done .dot { background: var(--success); border-color: var(--success); color: #04160f; }
.progress .is-current { border-color: rgba(51, 214, 255, 0.4); background: rgba(51, 214, 255, 0.07); }
.progress .is-current .dot { border-color: var(--cyan); color: var(--cyan); }

/* --- Accordion ------------------------------------------------------------ */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(17, 26, 51, 0.45); }
.accordion__item + .accordion__item { border-top: 1px solid var(--line); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 60px;
  padding: 1.15rem clamp(1rem, 2.5vw, 1.6rem);
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 640;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: background-color 220ms var(--ease);
}
.accordion__trigger:hover { background: rgba(248, 250, 255, 0.035); }
.accordion__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  background: var(--cyan);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.accordion__icon::before { width: 16px; height: 2px; }
.accordion__icon::after { width: 2px; height: 16px; }
.accordion__trigger[aria-expanded='true'] .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 340ms var(--ease);
}
.accordion__panel[data-open='true'] { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  margin: 0;
  padding: 0 clamp(1rem, 2.5vw, 1.6rem) 1.35rem;
  color: var(--muted);
  max-width: 58ch;
}

/* --- Reviews -------------------------------------------------------------- */
.reviews { position: relative; }
.reviews__viewport { overflow: hidden; }
.reviews__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.4rem);
  transition: transform 480ms var(--ease);
  will-change: transform;
}
.review {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  background: var(--card-glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@media (min-width: 720px) { .review { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (min-width: 1080px) { .review { flex-basis: calc((100% - 2.8rem) / 3); } }

.review__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 1.2rem;
}
.review__quote::before { content: '“'; color: var(--cyan); }
.review__quote::after { content: '”'; color: var(--cyan); }
.review__meta { display: flex; align-items: center; gap: 0.55rem; margin-top: auto; font-size: 0.8125rem; color: var(--muted); }
.review__meta svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.review__thumb { margin-top: 1.1rem; }
.review__thumb button {
  display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: none; cursor: pointer; overflow: hidden;
}
.review__thumb img { width: 100%; }

.reviews__controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; }
.carousel-btn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(248, 250, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background-color 220ms var(--ease), transform 220ms var(--ease);
}
.carousel-btn:hover:not([disabled]) { background: rgba(248, 250, 255, 0.11); transform: translateY(-2px); }
.carousel-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.carousel-btn svg { width: 18px; height: 18px; }
.reviews__status { margin-left: 0.35rem; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* --- Modal ---------------------------------------------------------------- */
dialog.modal {
  width: min(48rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 3rem);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--text);
  overflow: auto;
}
dialog.modal::backdrop { background: rgba(4, 6, 16, 0.8); backdrop-filter: blur(5px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 1.0625rem; margin: 0; }
.modal__body { padding: 1.35rem; }
.modal__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: transparent; color: var(--text); cursor: pointer;
}
.modal__close svg { width: 18px; height: 18px; }

/* --- Forms ---------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.req { color: var(--cyan); }

.input, .select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(6, 8, 22, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.input::placeholder { color: rgba(166, 176, 195, 0.55); }
.input:focus, .select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(51, 214, 255, 0.3); }
.input:focus-visible, .select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: none;
}
.checkbox:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.input[aria-invalid='true'], .select[aria-invalid='true'] { border-color: #ff8091; box-shadow: 0 0 0 3px rgba(255, 128, 145, 0.18); }

.phone-row { display: grid; grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr); gap: 0.6rem; }
@media (max-width: 460px) { .phone-row { grid-template-columns: 1fr; } }
.select { appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6B0C3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}
.select option { background: var(--surface); color: var(--text); }

.checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(6, 8, 22, 0.45);
  cursor: pointer;
}
.checkbox input {
  width: 22px; height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--cyan);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox span { font-size: 0.875rem; font-weight: 400; color: var(--muted); line-height: 1.55; }
.checkbox:has(input[aria-invalid='true']) { border-color: #ff8091; }

.error-text {
  display: none;
  font-size: 0.8125rem;
  color: #ff8091;
  font-weight: 540;
}
.error-text:not(:empty) { display: block; }

.form-status {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(6, 8, 22, 0.55);
  font-size: 0.9375rem;
}
.form-status[hidden] { display: none; }
.form-status--error { border-color: rgba(255, 128, 145, 0.5); background: rgba(255, 128, 145, 0.09); color: #ffb3bd; }
.form-status--success { border-color: rgba(51, 225, 160, 0.5); background: rgba(51, 225, 160, 0.09); color: var(--success); }

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(5, 8, 24, 0.35);
  border-top-color: #050818;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Checkout layout ------------------------------------------------------ */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } }

.summary { position: sticky; top: calc(var(--header-h) + 1.25rem); }
@media (max-width: 980px) { .summary { position: static; order: -1; } }
.summary img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1.35rem; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.summary__row:last-of-type { border-bottom: 0; }
.summary__row dt { color: var(--muted); margin: 0; }
.summary__row dd { margin: 0; font-weight: 620; text-align: right; }
.summary__total dd { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 780; letter-spacing: -0.02em; }

.plan-switch { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.35rem; }
.plan-switch a {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 250, 255, 0.04);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: all 220ms var(--ease);
}
.plan-switch a[aria-current='true'] { border-color: var(--cyan); background: rgba(51, 214, 255, 0.12); color: var(--cyan); }
.plan-switch a:hover { color: var(--text); border-color: var(--line-strong); }

/* --- Confirmation --------------------------------------------------------- */
.confirm-card { border: 1px solid rgba(51, 225, 160, 0.32); background: rgba(51, 225, 160, 0.06); }
.confirm-icon {
  display: grid; place-items: center;
  width: 66px; height: 66px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(51, 225, 160, 0.14);
  border: 1px solid rgba(51, 225, 160, 0.4);
  color: var(--success);
}
.confirm-icon svg { width: 30px; height: 30px; }
.confirm-icon svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 620ms var(--ease) 160ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --- Legal / prose pages --------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.9rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 0.55rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.9rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: rgba(248, 250, 255, 0.04); color: var(--text); font-weight: 650; }
.prose td { color: var(--muted); }
.table-scroll { overflow-x: auto; }

.breadcrumb { margin-bottom: 1.5rem; font-size: 0.8125rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: 0.4rem; align-items: center; }
.breadcrumb li + li::before { content: '/'; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }

.page-head { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.page-head__halo { width: min(34rem, 85vw); aspect-ratio: 1; top: -16rem; right: -10rem; opacity: 0.35; }
.page-head > .container { position: relative; z-index: 2; }
.page-head p { color: var(--muted); max-width: 44rem; font-size: 1.0625rem; margin-bottom: 0; }

/* --- Region cards --------------------------------------------------------- */
.region { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; background: rgba(17, 26, 51, 0.5); }
.region--priority { border-color: rgba(51, 214, 255, 0.3); background: linear-gradient(180deg, rgba(51, 214, 255, 0.06), transparent 45%), rgba(17, 26, 51, 0.5); }
.region h3 { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: 1.125rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; list-style: none; padding: 0; }
.tags li { margin: 0; }
.tag { display: inline-block; padding: 0.32rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(248, 250, 255, 0.04); font-size: 0.8125rem; color: var(--muted); }
/* When a tag is itself a link it becomes a control, so it needs a real target. */
a.tag { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 1rem; font-size: 0.8125rem; transition: color 200ms var(--ease), border-color 200ms var(--ease); }
a.tag:hover { color: var(--text); border-color: var(--line-strong); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(51, 214, 255, 0.1), rgba(139, 92, 246, 0.1));
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band__halo { width: 30rem; aspect-ratio: 1; top: -14rem; left: 50%; transform: translateX(-50%); opacity: 0.4; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { color: var(--muted); max-width: 40rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(13, 18, 36, 0.9));
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 940px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 30px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--muted); font-size: 0.875rem; max-width: 26rem; }
.site-footer h2 { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.15rem; }
.site-footer li a, .footer__contact a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 40px;
  color: var(--muted); font-size: 0.875rem; text-decoration: none;
  transition: color 200ms var(--ease);
}
.site-footer li a:hover, .footer__contact a:hover { color: var(--cyan); }
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__bottom { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.footer__disclaimer { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted); line-height: 1.7; max-width: 68rem; opacity: 0.85; }

/* --- Floating contact ----------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 225, 160, 0.42);
  background: rgba(9, 30, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--success);
  font-size: 0.9375rem;
  font-weight: 640;
  text-decoration: none;
  box-shadow: 0 16px 40px -22px rgba(0, 0, 0, 0.95);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: rgba(12, 42, 33, 0.96); color: var(--success); }
/* The checkout has its own contact links in the copy; nothing floats over the form. */
body.is-checkout .wa-float { display: none; }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }

.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; min-height: 46px; padding-inline: 0.75rem; font-size: 0.875rem; }

@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }

  /* The order form is the only action that matters on the checkout, and the
     fixed bar must never sit over the consent text or the submit button. */
  body.is-checkout .mobile-bar { display: none; }
  body.is-checkout { padding-bottom: 0; }
}

/* --- Scroll reveal -------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card--hover:hover, .plan:hover, .category:hover, .wa-float:hover { transform: none; }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .mobile-bar, .site-footer, .halo, .grid-overlay { display: none !important; }
  body { background: #fff; color: #111; }
}
