/* ============================================================
   KMV Fragrances — style.css
   Premium homepage · hand-written CSS, no frameworks
   Palette: warm ink / ivory / antique gold (from brand logo)
   Type: Poppins (whole site — weights 300–700 for hierarchy)
   ============================================================ */

:root {
  --ink: #17130e;
  --ink-2: #201a12;
  --ink-3: #2a2318;
  --paper: #fbf8f2;
  --paper-2: #f3ede1;
  --gold: #b0883c;
  --gold-soft: #c9a45c;
  --gold-pale: #e8d9b8;
  --gold-text: #8a6628; /* AA-contrast gold for small text on light backgrounds */
  --muted: #6f6557;
  --muted-dark: #b3a68f;
  --line: rgba(23, 19, 14, 0.14);
  --line-dark: rgba(251, 248, 242, 0.16);
  --white: #fffdf9;

  --font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow-soft: 0 18px 44px -20px rgba(23, 19, 14, 0.22);
  --shadow-lift: 0 28px 60px -26px rgba(23, 19, 14, 0.32);
}

/* ---------- Self-hosted fonts: Poppins only ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

em { font-style: normal; }

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

[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

::selection { background: var(--gold-pale); color: var(--ink); }

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

[id] { scroll-margin-top: 96px; }

/* ---------- Utilities ---------- */
.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.dark .overline,
.cta-distributor .overline { color: var(--gold-soft); }

.overline::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-head { max-width: 640px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.section-head p { margin-top: 18px; color: var(--muted); max-width: 56ch; }

.dark .section-head p { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.btn:active { transform: translateY(1px); }

.btn { white-space: nowrap; }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

.dark .btn-ghost { border-color: var(--line-dark); color: var(--paper); }
.dark .btn-ghost:hover { border-color: var(--paper); }

.btn-light {
  border-color: rgba(251, 248, 242, 0.55);
  color: var(--paper);
  background: transparent;
}
.btn-light:hover { border-color: var(--paper); background: rgba(251, 248, 242, 0.1); }

.btn-sm { padding: 11px 18px; font-size: 0.6875rem; letter-spacing: 0.12em; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
}

.link-arrow svg { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

.dark .link-arrow { color: var(--paper); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.82);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.topbar .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding-block: 6px;
}

.topbar a { color: var(--gold-soft); white-space: nowrap; }
.topbar a:hover { color: var(--gold-pale); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled { border-bottom-color: rgba(201, 164, 92, 0.22); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.7); }

/* backdrop-filter would become the containing block for the fixed
   mobile menu overlay — drop it while the menu is open */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; box-shadow: none; }
.nav-open { overflow: hidden; }

.site-header .shell { display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); min-height: 84px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { height: 58px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.site-nav .nav-extra, .site-nav .nav-label, .site-nav .nav-basket { display: none; }

.site-nav > a {
  position: relative;
  padding-block: 6px;
  font-size: 0.78125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.82);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--paper); }
.site-nav > a[aria-current="page"] { font-weight: 500; }

.header-cta { display: inline-flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 12px 18px; font-size: 0.6875rem; letter-spacing: 0.12em; }

/* Distributor Login — light outline on the black header, distinct from the gold CTA */
.btn-login { border-color: rgba(251, 248, 242, 0.32); color: var(--paper); background: transparent; }
.btn-login svg { flex-shrink: 0; margin-left: -2px; color: var(--gold-soft); }
.btn-login:hover, .btn-login[aria-current="page"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-login:hover svg, .btn-login[aria-current="page"] svg { color: var(--gold-text); }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.cart-link:hover, .cart-link[aria-current="page"] { border-color: var(--gold); color: var(--gold-text); }
.site-header .cart-link { border-color: rgba(251, 248, 242, 0.24); color: var(--paper); }
.site-header .cart-link:hover, .site-header .cart-link[aria-current="page"] { border-color: var(--gold-soft); color: var(--gold-soft); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.cart-badge[data-count="0"] { display: none; }

/* MENU toggle (mobile) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  cursor: pointer;
}

.nav-toggle-icon { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle-icon i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: var(--white); transition: transform 0.3s var(--ease-out), opacity 0.2s, top 0.3s var(--ease-out); }
.nav-toggle-icon i:nth-child(1) { top: 0; }
.nav-toggle-icon i:nth-child(2) { top: 5px; }
.nav-toggle-icon i:nth-child(3) { top: 10px; }
.nav-toggle-text { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }

.site-header .nav-toggle, .nav-open .nav-toggle { background: rgba(251, 248, 242, 0.1); box-shadow: inset 0 0 0 1px rgba(251, 248, 242, 0.25); }
.nav-open .nav-toggle-icon i:nth-child(1), .side-open .nav-toggle-icon i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle-icon i:nth-child(2), .side-open .nav-toggle-icon i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-icon i:nth-child(3), .side-open .nav-toggle-icon i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* portal top bar reuses .nav-toggle */
.app-top .nav-toggle { height: 42px; }

/* ---------- Hero slider (full-width photography) ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }

.slides { position: relative; height: clamp(560px, 84vh, 800px); }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}

.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }

.slide-bg, .slide-bg picture, .slide-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }

.slide-bg img {
  object-fit: cover;
  object-position: var(--pos, center);
  transform: scale(1.08);
  transition: transform 9s linear;
}

.slide.is-active .slide-bg img { transform: scale(1); }

/* overlay for legibility */
.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 9, 0.84) 0%, rgba(15, 12, 9, 0.58) 38%, rgba(15, 12, 9, 0.16) 70%, rgba(15, 12, 9, 0.04) 100%),
    linear-gradient(to top, rgba(15, 12, 9, 0.6) 0%, rgba(15, 12, 9, 0) 38%);
}

.slide .shell { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }

.slide-content { max-width: 600px; }

.slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.slide-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-soft); }

.slide-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.slide-title em { color: var(--gold-soft); }

.slide-text { margin-top: 18px; max-width: 44ch; font-size: 1.0625rem; color: rgba(251, 248, 242, 0.82); }

.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.slide-content > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(1) { transition-delay: 0.15s; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: 0.26s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: 0.37s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: 0.48s; }

/* controls */
.slider-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.slider-ui .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
}

.slider-dots { display: flex; gap: 10px; pointer-events: auto; }

.slider-dots button {
  width: 30px;
  height: 20px;
  padding: 9px 0;
  background: none;
  border: none;
  cursor: pointer;
}

.slider-dots button::before {
  content: "";
  display: block;
  height: 2px;
  background: rgba(251, 248, 242, 0.45);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.slider-dots button:hover::before { background: rgba(251, 248, 242, 0.75); }
.slider-dots button[aria-current="true"]::before { background: var(--gold-soft); }

.slider-arrows { display: flex; gap: 10px; pointer-events: auto; }

.slider-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 242, 0.4);
  background: rgba(18, 15, 11, 0.25);
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.slider-arrows button:hover {
  border-color: var(--gold-soft);
  background: rgba(18, 15, 11, 0.5);
  transform: translateY(-2px);
}

/* trust strip under slider */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }

.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 18px;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-strip svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Sections (generic) ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }

.section-alt { background: var(--paper-2); }

.dark {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats li {
  padding: clamp(28px, 4vw, 44px) 20px;
  text-align: center;
}

.stats li + li { border-left: 1px solid var(--line); }

.stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.stats li > span {
  display: block;
  margin-top: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Collections carousel (image + text cards) ---------- */
.collections-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }

.carousel { position: relative; margin-top: clamp(36px, 4vw, 56px); }

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 3.35);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
  cursor: grab;
}

.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.is-dragging a { pointer-events: none; }

.coll-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.coll-card:hover { border-color: rgba(176, 136, 60, 0.6); box-shadow: var(--shadow-soft); transform: translateY(-4px); }

.coll-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.coll-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); -webkit-user-drag: none; user-select: none; }
.coll-card:hover .coll-img img { transform: scale(1.05); }

.coll-img .pc-tag { top: 16px; left: 16px; }

.coll-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.coll-body .pc-cat { font-size: 0.65625rem; }
.coll-body h3 { margin-top: 8px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.coll-body p { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }

.coll-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.coll-foot strong { font-size: 0.9375rem; font-weight: 600; }
.coll-foot .go { display: inline-flex; align-items: center; gap: 8px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.coll-foot .go svg { transition: transform 0.35s var(--ease-out); }
.coll-card:hover .coll-foot .go svg { transform: translateX(5px); }

.carousel-ui { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.carousel-progress { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.carousel-progress i { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--gold); transition: transform 0.3s ease, width 0.3s ease; transform-origin: left; }

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.carousel-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- Distributor programme (dark) ---------- */
.prog-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.prog-top .section-head h2 { color: var(--paper); }

.prog-figure { position: relative; }

.prog-figure .frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.prog-figure .frame img { width: 100%; height: 100%; object-fit: cover; }

.prog-figure::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(176, 136, 60, 0.55);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.prog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 80px);
}

.benefit {
  background: var(--ink);
  padding: clamp(26px, 3vw, 38px);
}

.benefit {
  transition: background-color 0.4s ease;
}

.benefit:hover { background: var(--ink-3); }

.benefit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--gold-soft);
}

.benefit h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 12px;
  color: var(--paper);
}

.benefit p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--muted-dark);
}

.prog-note {
  margin-top: 26px;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: var(--muted-dark);
  max-width: 78ch;
}

.prog-note a { color: var(--gold-soft); border-bottom: 1px solid rgba(201, 164, 92, 0.4); }
.prog-note a:hover { color: var(--gold-pale); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.4vw, 48px);
  margin-top: clamp(44px, 6vw, 72px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--gold);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold-pale);
  transition: color 0.4s ease;
}

.step:hover .step-num { color: var(--gold-soft); }

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 12px;
}

.step p { margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }

.steps-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.steps-foot p { font-size: 0.875rem; color: var(--muted); max-width: 62ch; }

/* ---------- Community ---------- */
.community-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 44ch;
  margin-top: 26px;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(40px, 5vw, 60px);
}

.community-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 230px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.community-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(176, 136, 60, 0.16), rgba(201, 164, 92, 0.05));
  border: 1px solid rgba(176, 136, 60, 0.35);
  color: var(--gold-text);
  transition: transform 0.5s var(--ease-out), background-color 0.4s ease,
    border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}

.community-card:hover .icon-badge,
.why:hover .icon-badge {
  transform: translateY(-6px) scale(1.04);
  background: linear-gradient(135deg, rgba(176, 136, 60, 0.3), rgba(201, 164, 92, 0.12));
  border-color: var(--gold);
  box-shadow: 0 14px 28px -12px rgba(176, 136, 60, 0.55);
}

.community-card h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.community-card p { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }

.community-card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* ---------- Why KMV ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.4vw, 44px);
  margin-top: clamp(44px, 6vw, 72px);
}

.why {
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.4s ease, background-color 0.4s ease,
    transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.why:hover {
  background: var(--paper);
  border-color: var(--line);
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.why .icon-badge { width: 72px; height: 72px; }

.why h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 22px;
}

.why p { margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Dual CTA ---------- */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cta-panel {
  padding: clamp(52px, 7vw, 96px) clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cta-panel .overline { color: var(--gold); }

.cta-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 18px;
}

.cta-panel p { margin-top: 14px; max-width: 44ch; }

.cta-panel .btn { margin-top: 32px; }

.cta-customer {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-right: none;
}

.cta-customer p { color: var(--muted); }

.cta-distributor {
  background: var(--ink);
  color: var(--paper);
}

.cta-distributor p { color: var(--muted-dark); }

/* ============================================================
   Inner pages — shared components
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(56px, 7vw, 96px); overflow: hidden; }

.page-hero .shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.page-hero.compact .shell { grid-template-columns: 1fr; }
.page-hero.compact { padding-block: clamp(48px, 6vw, 80px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
  margin-bottom: 24px;
}

.crumbs a { color: var(--muted-dark); transition: color 0.25s ease; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span[aria-hidden] { color: var(--gold); }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 18px;
  color: var(--paper);
}

.page-hero h1 em { color: var(--gold-soft); }
.page-hero .lead { margin-top: 18px; max-width: 52ch; font-size: 1.0625rem; color: var(--muted-dark); }
.page-hero .prog-actions { margin-top: 32px; }
.page-hero .prog-figure { width: 100%; max-width: 440px; justify-self: end; }
.page-hero .prog-figure .frame { aspect-ratio: 4 / 5; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; color: var(--gold-soft); }
.hero-facts li > span { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.hero-facts.facts-grid { display: grid; grid-template-columns: repeat(2, max-content); gap: 20px 64px; }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}

.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.split-copy .section-head { max-width: none; }

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); }
.check-list li strong { color: var(--ink); font-weight: 500; }
.check-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(176, 136, 60, 0.14);
  color: var(--gold-text);
}

.dark .check-list li { color: var(--muted-dark); }
.dark .check-list li strong { color: var(--paper); }
.dark .check-list svg { color: var(--gold-soft); }

/* ---------- Home: featured + brand band ---------- */
.brand-band .shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.brand-mark { display: block; width: clamp(96px, 9vw, 128px); }
.brand-mark img { width: 100%; height: auto; border-radius: 8px; }

.brand-quote {
  margin-top: 26px;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.brand-quote em { color: var(--gold-soft); }
.brand-band .brand-copy > p { margin-top: 18px; color: var(--muted-dark); max-width: 50ch; }
.brand-band .link-arrow { margin-top: 30px; }

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: clamp(440px, 46vw, 600px);
}

.mosaic figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.05); }

.brand-band .stats { border-color: var(--line-dark); margin-top: clamp(56px, 7vw, 80px); grid-column: 1 / -1; }
.brand-band .stats li + li { border-color: var(--line-dark); }
.brand-band .stats strong { color: var(--paper); }
.brand-band .stats li > span { color: var(--muted-dark); }

/* ---------- Referral levels ---------- */
.level-grid {
  display: grid;
  grid-template-columns: repeat(var(--levels, 3), minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 4vw, 52px);
}

.level-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(176, 136, 60, 0.12), rgba(176, 136, 60, 0) 60%);
  transition: border-color 0.35s ease, transform 0.5s var(--ease-out);
}

.level-card:hover { border-color: rgba(176, 136, 60, 0.7); transform: translateY(-4px); }
.level-card .lvl { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.level-card strong { display: block; margin-top: 10px; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--paper); }
.level-card h3 { margin-top: 14px; font-size: 1rem; font-weight: 600; color: var(--paper); }
.level-card p { margin-top: 6px; font-size: 0.875rem; color: var(--muted-dark); }

.chain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(44px, 5vw, 64px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}

.chain h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -0.01em; }
.chain > div > p { margin-top: 10px; color: var(--muted-dark); font-size: 0.9375rem; }
.chain > div > p + p { margin-top: 8px; font-size: 0.8125rem; }

.chain-list { display: grid; gap: 10px; }

.chain-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--muted-dark);
}

.chain-list li b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(176, 136, 60, 0.2);
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.chain-list li strong { color: var(--paper); font-weight: 600; }
.chain-list li.buyer { background: rgba(176, 136, 60, 0.12); border-color: rgba(176, 136, 60, 0.45); }
.chain-list li.buyer strong { color: var(--gold-soft); }

/* ---------- Payout date + monthly bonuses ---------- */
.payout-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(176, 136, 60, 0.45);
  border-radius: var(--radius);
  background: rgba(176, 136, 60, 0.1);
}

.payout-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(176, 136, 60, 0.2);
  color: var(--gold-soft);
}

.payout-note p { font-size: 0.9375rem; color: var(--muted-dark); }
.payout-note strong { color: var(--paper); font-weight: 600; }

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-top: clamp(40px, 5vw, 60px);
}

/* tiers step up from left to right */
.bonus-card:nth-child(1) { margin-top: 56px; }
.bonus-card:nth-child(2) { margin-top: 28px; }

.bonus-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s ease, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.bonus-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.bonus-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bonus-tier { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }

.bonus-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(176, 136, 60, 0.12);
  color: var(--gold-text);
  transition: transform 0.5s var(--ease-out), background-color 0.35s ease;
}

.bonus-card:hover .bonus-ico { transform: rotate(-8deg) scale(1.08); background: rgba(176, 136, 60, 0.2); }
.bonus-label { margin-top: 28px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bonus-target { margin-top: 8px; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.bonus-sub { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

.bonus-pay {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bonus-pay span { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bonus-pay strong { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--gold-text); }

.bonus-card.is-top { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lift); }
.bonus-card.is-top:hover { border-color: var(--gold); }
.bonus-card.is-top .bonus-target { color: var(--paper); }
.bonus-card.is-top .bonus-tier, .bonus-card.is-top .bonus-pay strong { color: var(--gold-soft); }
.bonus-card.is-top .bonus-label, .bonus-card.is-top .bonus-sub, .bonus-card.is-top .bonus-pay span { color: var(--muted-dark); }
.bonus-card.is-top .bonus-pay { border-color: var(--line-dark); }
.bonus-card.is-top .bonus-ico { background: rgba(176, 136, 60, 0.2); color: var(--gold-soft); }

.bonus-note { margin-top: 28px; max-width: 72ch; font-size: 0.875rem; color: var(--muted); }

/* ---------- Product catalogue ---------- */
.catalog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.chip small { font-size: 0.6875rem; color: var(--muted); font-weight: 400; transition: color 0.3s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] small { color: var(--gold-soft); }

.search-field { position: relative; flex: 0 1 300px; }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.search-field input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 136, 60, 0.14); }

.catalog-meta { margin-top: 18px; font-size: 0.8125rem; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 26px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.product-card[hidden] { display: none; }
.product-card:hover { border-color: rgba(176, 136, 60, 0.6); transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.pc-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-card:hover .pc-media img { transform: scale(1.05); }

.pc-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.94);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.pc-tag.gold { background: var(--gold); }

.pc-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pc-cat { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.pc-body h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-top: 6px; }
.pc-body h3 a:hover { color: var(--gold-text); }
.pc-insp { margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }

.pc-sizes { display: inline-flex; gap: 4px; margin-top: 14px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; }

.pc-sizes button {
  padding: 5px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.71875rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.pc-sizes button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); }

.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.pc-price { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.pc-price small { display: block; font-size: 0.6875rem; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; }
.pc-foot .btn { padding: 11px 16px; }

.catalog-empty { margin-top: 32px; padding: 44px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Product detail ---------- */
.pd { padding-block: clamp(36px, 5vw, 64px) clamp(72px, 9vw, 112px); }

.pd .crumbs { color: var(--muted); }
.pd .crumbs a { color: var(--muted); }
.pd .crumbs a:hover { color: var(--gold-text); }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }

.pd-media { position: sticky; top: 108px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-soft); aspect-ratio: 4 / 5; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }

.pd-info h1 { margin-top: 12px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.pd-insp { margin-top: 6px; color: var(--muted); }
.pd-price { margin-top: 22px; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.pd-price small { font-size: 0.8125rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
.pd-desc { margin-top: 18px; color: var(--muted); max-width: 54ch; }

.pd-label { display: block; margin-top: 28px; margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.variant-pills { display: flex; flex-wrap: wrap; gap: 10px; }

.variant-pills label {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 118px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.variant-pills input { position: absolute; opacity: 0; pointer-events: none; }
.variant-pills span { font-size: 0.875rem; font-weight: 500; }
.variant-pills small { font-size: 0.8125rem; color: var(--muted); }
.variant-pills label:hover { border-color: var(--ink); }
.variant-pills input:checked + span { color: var(--gold-text); }
.variant-pills label:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 136, 60, 0.16); }
.variant-pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 4px; }

.pd-buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pd-buy .btn { flex: 1 1 180px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 1.1rem; color: var(--ink); cursor: pointer; }
.qty button:hover { color: var(--gold-text); }
.qty input { width: 44px; height: 50px; border: 0; background: none; text-align: center; font-family: var(--font-body); font-size: 0.9375rem; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button, .qty.sm input { height: 38px; width: 36px; }

.pd-meta { display: grid; gap: 12px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.pd-meta li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; color: var(--muted); }
.pd-meta svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.pd-notice { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(176, 136, 60, 0.12); font-size: 0.875rem; }
.pd-notice a { font-weight: 600; color: var(--gold-text); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.thirds { grid-template-columns: 0.6fr 1fr 1fr; }

.field label, .field .label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field label small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field-input { position: relative; }

.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-text) 50%), linear-gradient(135deg, var(--gold-text) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 136, 60, 0.14); }
.field [aria-invalid="true"] { border-color: #b3452f; }
.field input[readonly] { background: var(--paper-2); color: var(--muted); }

.reveal-pw {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  cursor: pointer;
}

.field-input input { padding-right: 70px; }
.field-error { margin-top: 6px; font-size: 0.8125rem; color: #b3452f; }
.field-hint { margin-top: 6px; font-size: 0.78125rem; color: var(--muted); }

.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line); transition: background-color 0.3s ease; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: #b3452f; }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: #c98a2e; }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--gold); }
.pw-meter[data-score="4"] i { background: #2f7d50; }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.875rem; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.check input { flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; accent-color: var(--gold); }

.text-link { color: var(--gold-text); font-weight: 500; border-bottom: 1px solid rgba(176, 136, 60, 0.35); transition: border-color 0.25s ease; }
.text-link:hover { border-color: var(--gold); }

.form-alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.875rem; }
.form-alert.error { background: rgba(179, 69, 47, 0.1); color: #8f3421; }
.form-alert.success { background: rgba(47, 125, 80, 0.12); color: #235e3c; }
.form-alert.info { background: rgba(176, 136, 60, 0.12); color: var(--ink); }

.sponsor-note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(176, 136, 60, 0.12); font-size: 0.875rem; }
.sponsor-note svg { flex-shrink: 0; color: var(--gold-text); }

/* ---------- Account pages (login / register / reset) ---------- */
.auth-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 124px);
  padding: clamp(48px, 7vw, 96px) 0;
  overflow: hidden;
  background: var(--ink);
}

.auth-bg { position: absolute; inset: 0; }
.auth-bg figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.9s ease; }
.auth-bg figure.is-on { opacity: 1; }
.auth-bg img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(1.04); transition: transform 6s ease-out; }
.auth-bg figure.is-on img { transform: scale(1); }
.auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(15, 12, 9, 0.82), rgba(15, 12, 9, 0.5));
  transition: opacity 0.9s ease;
}

.auth-page[data-type="client"] .auth-bg::after { background: linear-gradient(120deg, rgba(40, 28, 12, 0.62), rgba(30, 22, 12, 0.28) 60%, rgba(30, 22, 12, 0.5)); }
.auth-page[data-type="distributor"] .auth-bg::after { background: linear-gradient(120deg, rgba(8, 6, 4, 0.9), rgba(8, 6, 4, 0.62) 55%, rgba(8, 6, 4, 0.85)); }

.auth-card {
  position: relative;
  z-index: 3;
  width: min(460px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 40px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}

.auth-card.wide { width: min(680px, 100% - var(--gutter) * 2); }

.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--paper-2);
}

.auth-tabs button {
  position: relative;
  z-index: 1;
  padding: 11px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font-body);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.auth-tabs button[aria-selected="true"] { color: var(--paper); }

.auth-tabs .tab-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 8px 18px -10px rgba(23, 19, 14, 0.6);
  transition: transform 0.45s var(--ease-out);
}

.auth-tabs[data-active="distributor"] .tab-pill { transform: translateX(100%); }

.auth-head { margin-bottom: 24px; }
.auth-head .overline { font-size: 0.65625rem; }
.auth-head h1 { margin-top: 10px; font-size: clamp(1.5rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.auth-head p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.auth-head.center { text-align: center; }
.auth-head.center .overline { justify-content: center; }
.auth-head.center .overline::before { display: none; }

.auth-swap { transition: opacity 0.25s ease, transform 0.25s ease; }
.auth-swap.is-swapping { opacity: 0; transform: translateY(6px); }

.demo-box {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed rgba(176, 136, 60, 0.55);
  border-radius: var(--radius-sm);
  background: rgba(176, 136, 60, 0.06);
  font-size: 0.8125rem;
  color: var(--muted);
}

.demo-box strong { display: block; margin-bottom: 6px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.demo-box ul { display: grid; gap: 4px; }
.demo-box code { font-family: var(--font-body); font-weight: 500; color: var(--ink); }
.demo-box .demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.demo-box .btn { padding: 9px 14px; font-size: 0.65625rem; }

.form-section-title { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }

.auth-divider { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { display: grid; gap: 12px; margin-top: 18px; }
.auth-help { margin-top: 22px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.auth-help a { color: var(--ink); font-weight: 500; }
.auth-help a:hover { color: var(--gold-text); }

/* ---------- Basket + checkout ---------- */
.shop-page { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 112px); }
.shop-page h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.shop-page .crumbs { color: var(--muted); }
.shop-page .crumbs a { color: var(--muted); }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 40px); align-items: start; margin-top: 32px; }

.cart-list { border-top: 1px solid var(--line); }

.cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb { width: 88px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-weight: 600; }
.cart-name a:hover { color: var(--gold-text); }
.cart-var { font-size: 0.8125rem; color: var(--muted); }
.cart-note { margin-top: 4px; font-size: 0.78125rem; color: var(--muted); white-space: pre-line; }
.cart-price { font-size: 0.875rem; color: var(--muted); }
.cart-total { min-width: 84px; text-align: right; font-weight: 600; }

.icon-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.icon-remove:hover { color: #b3452f; border-color: var(--line); }

.summary-card { position: sticky; top: 108px; padding: clamp(22px, 2.6vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.summary-card h2 { font-size: 1.125rem; font-weight: 600; }
.summary-rows { margin-top: 16px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 0.9375rem; border-bottom: 1px solid var(--line); }
.summary-rows div:last-child { border-bottom: 0; }
.summary-rows dt { color: var(--muted); }
.summary-rows .grand dt, .summary-rows .grand dd { color: var(--ink); font-size: 1.125rem; font-weight: 600; }
.summary-card .btn { width: 100%; margin-top: 18px; }
.summary-card .muted-note { margin-top: 14px; font-size: 0.78125rem; color: var(--muted); text-align: center; }

.summary-items { margin-top: 16px; display: grid; gap: 12px; }
.summary-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 0.8125rem; }
.summary-items .cart-thumb { width: 52px; }
.summary-items strong { display: block; font-size: 0.875rem; font-weight: 500; }
.summary-items span { color: var(--muted); }

.empty-state { padding: clamp(40px, 6vw, 72px) 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state .icon-badge { margin-inline: auto; }
.empty-state h2, .empty-state h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 600; }
.empty-state p { margin: 8px auto 0; max-width: 46ch; color: var(--muted); font-size: 0.9375rem; }
.empty-state .btn { margin-top: 22px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: 32px; }
.checkout-block { padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.checkout-block + .checkout-block { margin-top: 18px; }
.checkout-block h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 18px; }

.pay-option { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--gold); border-radius: var(--radius-sm); background: rgba(176, 136, 60, 0.06); }
.pay-option input { accent-color: var(--gold); margin-top: 4px; }
.pay-option strong { display: block; font-weight: 600; }
.pay-option p { font-size: 0.875rem; color: var(--muted); }

.receipt { width: min(760px, 100%); margin-inline: auto; }
.receipt-head { text-align: center; }
.receipt-head .icon-badge { margin-inline: auto; width: 72px; height: 72px; }
.receipt-head h1 { margin-top: 18px; }
.receipt-head p { margin-top: 8px; color: var(--muted); }
.receipt .checkout-block { margin-top: 24px; }
.bank-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.bank-list div:last-child { border-bottom: 0; }
.bank-list dt { color: var(--muted); }
.bank-list dd { font-weight: 600; text-align: right; }

/* ---------- Wholesale packs ---------- */
.pack-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 0.9fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 5vw, 60px); align-items: stretch; }

.pack-card { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.35s ease, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.pack-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pack-price { margin-top: 12px; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.pack-price small { font-size: 0.8125rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.pack-rows { margin-top: 22px; border-top: 1px solid var(--line); }
.pack-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.pack-rows dt { color: var(--muted); }
.pack-rows dd { font-weight: 500; text-align: right; }
.pack-card .pack-foot { margin-top: auto; padding-top: 18px; font-size: 0.8125rem; color: var(--muted); }
.pack-card .btn { margin-top: 18px; }

.flyer-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-soft); transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.flyer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.flyer-card .flyer-img { flex: 1; min-height: 220px; overflow: hidden; }
.flyer-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease-out); }
.flyer-card:hover img { transform: scale(1.04); }
.flyer-card .flyer-body { padding: 20px 22px 22px; }
.flyer-card h3 { font-size: 1rem; font-weight: 600; }
.flyer-card p { margin-top: 4px; font-size: 0.8125rem; color: var(--muted-dark); }
.flyer-card .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.pack-note { margin-top: 22px; font-size: 0.8125rem; color: var(--muted); max-width: 80ch; }

/* ---------- Status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-active, .pill-paid, .pill-approved, .pill-dispatched { background: rgba(47, 125, 80, 0.12); color: #2a6e47; }
.pill-pending, .pill-awaiting-payment { background: rgba(176, 136, 60, 0.16); color: var(--gold-text); }
.pill-inactive, .pill-not-qualified, .pill-void, .pill-cancelled { background: rgba(23, 19, 14, 0.07); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.0625rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-3px) rotate(45deg); transition: transform 0.35s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--gold-text); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 0.9375rem; max-width: 70ch; }
.faq details p a { color: var(--gold-text); border-bottom: 1px solid rgba(176, 136, 60, 0.4); }

/* ---------- Floating distributor CTA (desktop) ---------- */
.float-cta {
  position: fixed;
  right: 88px;
  bottom: 24px;
  z-index: 58;
  box-shadow: 0 18px 40px -14px rgba(23, 19, 14, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s, background-color 0.35s var(--ease-out);
}

.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }

.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s ease, transform 0.5s var(--ease-out); }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-card .icon-badge { width: 52px; height: 52px; flex-shrink: 0; }
.contact-card strong { display: block; font-weight: 600; }
.contact-card span { font-size: 0.875rem; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { margin-left: 10px; color: var(--gold-soft); font-weight: 600; }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flyer-card { grid-column: 1 / -1; flex-direction: row; }
  .flyer-card .flyer-img { flex: 0 0 38%; min-height: 240px; }
  .flyer-card .flyer-body { align-self: center; padding: 28px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .summary-card { position: static; }
  .float-cta { display: none; }
}

@media (max-width: 920px) {
  .page-hero .shell, .brand-band .shell, .split, .pd-grid, .contact-layout, .chain { grid-template-columns: minmax(0, 1fr); }
  .page-hero .prog-figure { order: 2; justify-self: stretch; max-width: none; width: auto; margin: 10px 14px 0 18px; }
  .page-hero .prog-figure .frame { aspect-ratio: 4 / 3; }
  .split-media { aspect-ratio: 4 / 3; }
  .pd-media { position: static; aspect-ratio: 1 / 1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-layout { grid-template-columns: minmax(0, 1fr); }
  .level-grid { grid-template-columns: minmax(0, 1fr); }
  .bonus-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bonus-card:nth-child(n) { margin-top: 0; }
  .search-field { flex: 1 1 100%; }
  .mosaic { height: 420px; }
}

@media (max-width: 640px) {
  .product-grid { gap: 12px; }
  .pc-body { padding: 14px 14px 16px; }
  .pc-body h3 { font-size: 0.9375rem; }
  .pc-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .pc-foot .btn { width: 100%; }
  .pc-sizes button { padding: 5px 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .flyer-card { flex-direction: column; }
  .flyer-card .flyer-img { flex: none; height: 260px; }
  .hero-facts { gap: 18px 28px; }
  .hero-facts.facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .faq details p { padding-right: 0; }
  .field-row, .field-row.thirds { grid-template-columns: minmax(0, 1fr); }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty total"; row-gap: 10px; }
  .cart-line .cart-thumb { grid-area: thumb; width: 72px; }
  .cart-line .cart-info { grid-area: info; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .cart-line .cart-total { grid-area: total; }
  .cart-line .icon-remove { grid-area: remove; }
  .mosaic { height: 360px; gap: 10px; }
  .chain-list li { padding: 12px 14px; }
  .payout-note { align-items: flex-start; padding: 16px; }
  .payout-ico { width: 40px; height: 40px; }
  .bonus-label { margin-top: 18px; }
  .bonus-pay { margin-top: 20px; padding-top: 14px; }
}

/* ============================================================
   Distributor portal + admin (dashboard.html, referrals.html,
   earnings.html, account.html, content-assets.html, admin.html)
   ============================================================ */
.app { background: #f6f2ea; padding-bottom: 0; }
.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }

.app-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 26px 18px 22px;
  background: var(--ink);
  color: var(--muted-dark);
  overflow-y: auto;
  z-index: 70;
}

.app-side .footer-wordmark { padding: 0 12px; }
.app-side .footer-wordmark strong { font-size: 1.5rem; }
.app-side .footer-wordmark span { font-size: 0.625rem; letter-spacing: 0.36em; margin-top: 4px; }

.side-label { padding: 0 12px; margin-bottom: 8px; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(179, 166, 143, 0.6); }

.side-nav { display: grid; gap: 2px; }

.side-nav a, .side-nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  text-align: left;
  color: var(--muted-dark);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.side-nav svg { flex-shrink: 0; opacity: 0.85; }
.side-nav a:hover, .side-nav button:hover { background: rgba(251, 248, 242, 0.05); color: var(--paper); }
.side-nav a[aria-current="page"] { background: rgba(176, 136, 60, 0.14); color: var(--paper); font-weight: 500; }
.side-nav a[aria-current="page"] svg { color: var(--gold-soft); opacity: 1; }
.side-nav a[aria-current="page"]::before { content: ""; position: absolute; left: -18px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }

.side-help { margin-top: auto; padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); font-size: 0.8125rem; }
.side-help strong { display: block; color: var(--paper); font-weight: 500; }
.side-help p { margin-top: 4px; }
.side-help a { display: inline-block; margin-top: 10px; color: var(--gold-soft); font-weight: 500; }

.side-foot { padding-top: 14px; border-top: 1px solid var(--line-dark); }

.app-main { min-width: 0; display: flex; flex-direction: column; }

.app-top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 36px);
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.app-top .nav-toggle { display: none; }
.app-top .app-brand { display: none; }
.app-top-title { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.app-top-title strong { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.app-top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 0.25s ease; }
.icon-btn:hover { border-color: var(--gold); }

.avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--ink); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; }
.avatar-sm { width: 34px; height: 34px; font-size: 0.6875rem; background: var(--paper-2); border: 1px solid var(--line); }

.app-user { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; line-height: 1.3; }
.app-user strong { display: block; font-weight: 600; }
.app-user span { color: var(--muted); }

.app-content { width: 100%; max-width: 1240px; padding: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 36px) 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }

.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.panel-head h1 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.panel-head h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.panel-head p { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.panel-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2vw, 24px); }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title h2, .card-title h3 { font-size: 1rem; font-weight: 600; }
.card-title a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.card > p.muted-text { font-size: 0.875rem; color: var(--muted); }

.status-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.status-banner .status-ico { width: 40px; height: 40px; }
.status-banner strong { display: block; font-weight: 600; }
.status-banner span { font-size: 0.875rem; color: var(--muted); }
.status-banner .btn { margin-left: auto; }
.status-banner.ok { border-color: rgba(47, 125, 80, 0.35); background: rgba(47, 125, 80, 0.05); }
.status-banner.warn { border-color: rgba(176, 136, 60, 0.45); background: rgba(176, 136, 60, 0.07); }

.status-ico { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(47, 125, 80, 0.12); color: #2a6e47; }
.status-ico.warn { background: rgba(176, 136, 60, 0.16); color: var(--gold-text); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { position: relative; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease; }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(176, 136, 60, 0.5); }
.kpi > span { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.kpi strong { display: block; margin-top: 10px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.kpi small { display: block; margin-top: 6px; font-size: 0.78125rem; color: var(--muted); }
.kpi-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.kpi-dark > span, .kpi-dark small { color: var(--muted-dark); }
.kpi-dark strong { color: var(--gold-soft); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dash-grid.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ref-card { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ref-card .card-title h2 { color: var(--paper); }
.ref-card > p { font-size: 0.875rem; color: var(--muted-dark); }

.copy-field { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: rgba(251, 248, 242, 0.04); }
.copy-field input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--font-body); font-size: 0.8125rem; color: var(--gold-pale); }
.copy-field input:focus { outline: none; }
.copy-field .btn { padding: 10px 14px; }
.ref-code { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.8125rem; color: var(--muted-dark); }
.ref-code strong { font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; color: var(--paper); }
.ref-share { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.ref-share .btn { padding: 12px 10px; }

.level-table div { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.level-table div:last-child { border-bottom: 0; }
.level-table b { font-weight: 600; }
.level-table .rate { color: var(--gold-text); font-weight: 600; }

/* payout date + monthly bonus progress (earnings.html) */
.payout-line { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--muted); }
.payout-line b { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(176, 136, 60, 0.16); color: var(--gold-text); font-size: 0.8125rem; font-weight: 600; }
.bonus-progress { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.bp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--muted); }
.bp-head strong { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.bp-track { position: relative; height: 8px; margin: 16px 0 10px; border-radius: 999px; background: var(--paper-2); }
.bp-track > i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width 0.9s var(--ease-out); }
.bp-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.bp-tiers li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.8125rem; color: var(--muted); }
.bp-tiers li b { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.bp-tiers li.is-reached { border-color: rgba(176, 136, 60, 0.6); background: rgba(176, 136, 60, 0.1); }
.bp-tiers li.is-reached span { color: var(--gold-text); font-weight: 600; }
.bp-msg { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }
.bp-msg strong { color: var(--ink); font-weight: 600; }

/* chart */
.chart { width: 100%; height: auto; display: block; }
.chart .grid-line { stroke: rgba(23, 19, 14, 0.08); }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart .bar { fill: var(--gold-pale); }
.chart .bar.is-current { fill: var(--gold); }
.chart .val { fill: var(--ink); font-size: 11px; font-weight: 600; font-family: var(--font-body); }

/* tables */
.table-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.table-tools .search-field { flex: 0 1 260px; }
.table-tools .search-field input { padding-block: 10px; }
.table-tools .chip { padding: 8px 14px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card .table-wrap { border: 0; border-radius: 0; margin: 0 -4px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { padding: 13px 18px; text-align: left; font-size: 0.65625rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--paper); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(243, 237, 225, 0.55); }
.data-table tr[hidden] { display: none; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table select { padding: 7px 30px 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.8125rem; background: var(--white); }
.data-table .btn { padding: 8px 12px; }

.who { display: flex; align-items: center; gap: 12px; }
.who strong { display: block; font-weight: 500; }
.who div span { display: block; font-size: 0.75rem; color: var(--muted); }
.muted { color: var(--muted); }
.table-empty { padding: 36px 24px; text-align: center; color: var(--muted); font-size: 0.875rem; }
.table-empty strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
.table-empty .btn { margin-top: 14px; }

.detail-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.detail-list div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { font-weight: 500; text-align: right; }

/* content assets */
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.asset-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease; }
.asset-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: rgba(176, 136, 60, 0.5); }
.asset-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.asset-img img { width: 100%; height: 100%; object-fit: cover; }
.asset-img.is-wide { display: flex; align-items: center; background: #0b0907; }
.asset-img.is-wide img { height: auto; object-fit: contain; }
.asset-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 18px 18px; }
.asset-body h3 { font-size: 0.9375rem; font-weight: 600; }
.asset-body p { font-size: 0.8125rem; color: var(--muted); }
.asset-body .btn { margin-top: auto; align-self: flex-start; }
.asset-body p + .btn { margin-top: 12px; }

.caption-card p.caption { margin-top: 4px; padding: 16px; border-radius: var(--radius-sm); background: var(--paper); font-size: 0.875rem; white-space: pre-line; }
.caption-card .btn { margin-top: 14px; }
.caption-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* admin */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-panel[hidden] { display: none; }
.level-editor { display: grid; gap: 10px; max-width: 460px; }
.level-editor .lvl-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; }
.level-editor .lvl-row span { font-size: 0.875rem; font-weight: 500; }
.level-editor input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9375rem; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.9375rem; }
.switch input { width: 18px; height: 18px; accent-color: var(--gold); }

/* mobile tab bar */
.app-tabs { display: none; }
.side-scrim { display: none; }

@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-user div { display: none; }
}

@media (max-width: 980px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .app-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 84vw); transform: translateX(-102%); transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease; }
  .side-open .app-side { transform: none; box-shadow: 30px 0 60px -30px rgba(0, 0, 0, 0.5); }
  .side-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(23, 19, 14, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s; }
  .side-open .side-scrim { opacity: 1; visibility: visible; }
  .side-open { overflow: hidden; }
  .app-top .nav-toggle { display: flex; }
  .dash-grid, .dash-grid.even { grid-template-columns: minmax(0, 1fr); }
  .asset-grid, .caption-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .app-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(23, 19, 14, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 6px max(10px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .app-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px 5px; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-dark); }
  .app-tabs a[aria-current="page"] { color: var(--gold-soft); }
  .app-tabs a[aria-current="page"] svg { transform: translateY(-2px); }
  .app-tabs svg { transition: transform 0.3s var(--ease-out); }
  .app { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .app-top { gap: 10px; min-height: 64px; }
  .app-top-title { display: none; }
  .app-top .app-brand { display: block; line-height: 1.05; }
  .app-top .app-brand strong { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: 0.04em; }
  .app-top .app-brand span { display: block; font-size: 0.5625rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-text); }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px; }
  .kpi strong { font-size: 1.375rem; }
  .asset-grid, .caption-grid { grid-template-columns: minmax(0, 1fr); }
  .status-banner { flex-wrap: wrap; }
  .status-banner .btn { margin-left: 0; width: 100%; }
  .panel-actions, .panel-actions .btn { width: 100%; }
  .table-tools .search-field { flex: 1 1 100%; }
  .app-content .chips { margin-inline: -18px; padding-inline: 18px; }
  .level-editor .lvl-row { grid-template-columns: 90px 1fr auto; }

  .data-table.stack thead { display: none; }
  .data-table.stack, .data-table.stack tbody, .data-table.stack tr, .data-table.stack td { display: block; width: 100%; }
  .data-table.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .data-table.stack tbody tr:last-child { border-bottom: 0; }
  .data-table.stack td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border: 0; white-space: normal; text-align: right; }
  .data-table.stack td::before { content: attr(data-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: left; }
  .data-table.stack td:first-child { padding-bottom: 10px; justify-content: flex-start; text-align: left; }
  .data-table.stack td:first-child::before { display: none; }
  .data-table.stack td.table-empty { display: block; text-align: center; }
  .data-table.stack td.table-empty::before { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-2);
  color: var(--muted-dark);
  font-size: 0.9375rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(56px, 7vw, 88px);
}

.footer-wordmark {
  display: inline-block;
  line-height: 1.1;
}

.footer-wordmark strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.footer-wordmark span {
  display: block;
  margin-top: 6px;
  font-size: 0.78125rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer-brand > p { margin-top: 22px; max-width: 34ch; }

.footer-social { display: flex; gap: 12px; margin-top: 26px; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--paper);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.footer-social a:hover { border-color: var(--gold); color: var(--gold-soft); }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 22px;
}

.footer-links li + li { margin-top: 12px; }

.footer-links a { transition: color 0.25s ease; }
.footer-links a:hover { color: var(--gold-soft); }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact li + li { margin-top: 14px; }

.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 4px; }

.footer-contact a:hover { color: var(--gold-soft); }

.footer-bottom { border-top: 1px solid var(--line-dark); }

.footer-bottom .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding-block: 22px;
  font-size: 0.8125rem;
}

.footer-bottom a { color: var(--muted-dark); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 16px 32px -12px rgba(23, 19, 14, 0.45);
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.wa-float:hover { background: var(--gold); transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide-bg img { transform: none !important; transition: none; }
  .slide-content > * { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; }
}

/* ---------- Mobile bottom navigation ---------- */
.bottom-nav { display: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 45; }

  /* glass overlay menu */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 96px max(28px, 8vw) calc(32px + env(safe-area-inset-bottom));
    background: rgba(18, 15, 11, 0.9);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
    overflow-y: auto;
  }

  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .brand { visibility: hidden; }
  .nav-open .cart-link { visibility: hidden; }

  .site-nav .nav-label {
    display: block;
    margin-bottom: 18px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
  }

  .site-nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(420px, 100%);
    padding: 14px 0;
    border-bottom: 1px solid rgba(251, 248, 242, 0.12);
    font-size: 1.0625rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(251, 248, 242, 0.9);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.25s ease;
  }

  .site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--gold-soft); }
  .site-nav > a[aria-current="page"] { font-weight: 500; }
  .site-nav > a::after { display: none; }
  .site-nav .nav-basket .cart-badge { position: static; display: inline-block; margin-left: auto; }
  .site-nav .nav-basket .cart-badge[data-count="0"] { display: none; }

  .nav-open .site-nav > a { opacity: 1; transform: none; }
  .nav-open .site-nav > a:nth-of-type(1) { transition-delay: 0.06s; }
  .nav-open .site-nav > a:nth-of-type(2) { transition-delay: 0.1s; }
  .nav-open .site-nav > a:nth-of-type(3) { transition-delay: 0.14s; }
  .nav-open .site-nav > a:nth-of-type(4) { transition-delay: 0.18s; }
  .nav-open .site-nav > a:nth-of-type(5) { transition-delay: 0.22s; }
  .nav-open .site-nav > a:nth-of-type(6) { transition-delay: 0.26s; }

  .site-nav .nav-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(420px, 100%);
    margin-top: 28px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease-out) 0.3s, transform 0.4s var(--ease-out) 0.3s;
  }

  .nav-open .nav-extra { opacity: 1; transform: none; }

  .nav-extra .btn { padding: 12px 10px; font-size: 0.65625rem; letter-spacing: 0.1em; }
  .nav-extra .btn-login { border-color: rgba(251, 248, 242, 0.4); }
  .nav-extra p { grid-column: 1 / -1; margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(251, 248, 242, 0.6); }
}

@media (max-width: 480px) {
  .site-nav .nav-extra { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .carousel-track { grid-auto-columns: calc((100% - 2 * 20px) / 2.3); gap: 20px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {

  .slides { height: clamp(540px, 78svh, 680px); }
  .slide-bg::after { background: linear-gradient(to top, rgba(15, 12, 9, 0.9) 6%, rgba(15, 12, 9, 0.5) 52%, rgba(15, 12, 9, 0.2) 100%); }
  .slide .shell { justify-content: flex-end; padding-bottom: 92px; }

  .slider-arrows { display: none; }

  /* fixed bottom navigation */
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: rgba(251, 248, 242, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 6px max(10px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    transform: translateY(0);
    transition: transform 0.35s var(--ease-out);
  }

  .nav-open .bottom-nav { transform: translateY(110%); }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 4px 5px;
    border-radius: 10px;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
  }

  .bottom-nav svg { transition: transform 0.3s var(--ease-out); }
  .bottom-nav a { position: relative; }
  .bottom-nav .cart-badge { top: 2px; right: calc(50% - 22px); min-width: 18px; height: 18px; line-height: 18px; font-size: 0.625rem; }

  .bottom-nav a.is-active { color: var(--gold-text); }
  .bottom-nav a.is-active svg { transform: translateY(-2px); }
  .bottom-nav a:active { transform: scale(0.94); }

  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }

  .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); }

  .prog-top { grid-template-columns: 1fr; }
  .prog-figure { order: 2; margin-top: 10px; }
  .prog-figure::before { inset: -14px 14px 14px -14px; }

  .cta-split { grid-template-columns: 1fr; }
  .cta-customer { border-right: 1px solid var(--line); border-bottom: none; }

  .community-grid { grid-template-columns: 1fr; }
  .community-card { min-height: 0; gap: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 0.9375rem; }
  .btn { padding: 14px 22px; font-size: 0.71875rem; letter-spacing: 0.1em; }
  .btn-sm { padding: 10px 14px; font-size: 0.65625rem; }
  .slide-text, .page-hero .lead { font-size: 0.96875rem; }
  .section { padding-block: 64px; }

  .topbar .shell { justify-content: center; text-align: center; }
  .topbar .topbar-login { display: none; }
  .topbar .topbar-carrier { display: none; }

  .brand img { height: 48px; }
  .site-header .shell { min-height: 72px; gap: 12px; }
  .header-cta { gap: 10px; }

  [id] { scroll-margin-top: 76px; }

  .slide-actions .btn { flex: 1 1 100%; }

  .trust-strip ul { flex-direction: column; align-items: flex-start; gap: 12px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 24px 12px; }
  .stats li + li { border-left: none; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .carousel-track { grid-auto-columns: 80%; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .coll-body { padding: 18px 18px 20px; }
  .coll-body h3 { font-size: 1.0625rem; }
  .carousel-btn { width: 40px; height: 40px; }

  .benefit-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 44px; }

  .prog-actions .btn { flex: 1 1 100%; }
  .cta-panel .btn { width: 100%; }

  .wa-float { right: 14px; width: 48px; height: 48px; }
}
