/* ProperSA — shared styles and design tokens */

/* Self-hosted variable fonts (latin subset, woff2), served from /assets/fonts.
   No external font requests; font-display swap as a safety net, though local
   files load with the stylesheet. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
}

:root {
  /* Core palette */
  --bg: #0a2a20;
  --panel: #0e3527;
  --hairline: #1c4434;
  --gold: #d8b04a;
  --gold-hover: #e8c257;
  --cream: #f6f1e2;
  --text: #eae6d8;
  --muted: #a9bcae;

  /* Supporting tones from the approved design */
  --heading: #f5f1de;
  --soft: #b8c6ba;
  --faint: #8fa596;
  --footer-text: #6f8577;
  --outline: #3a5c4b;
  --cream-text: #5a6455;
  --cream-gold: #7a5c14;
  --cream-card-border: #e5ddc6;
  --cream-badge-bg: #f0e6c8;
  --cream-badge-text: #7a5c14;
  --cream-note-bg: #fdf8ea;
  --cream-note-border: #e3c46b;
  --cream-note-text: #5a5236;

  --radius: 16px;
  --radius-lg: 20px;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(115deg,
    rgba(216, 176, 74, 0.035) 0px, rgba(216, 176, 74, 0.035) 2px,
    transparent 2px, transparent 28px);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

h1, h2, h3 { margin: 0; font-family: var(--font-heading); color: var(--heading); }
p { margin: 0; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
  position: relative;
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--heading);
}
.brand:hover { color: var(--heading); }
.brand img { display: block; height: 60px; width: auto; }
@media (max-width: 900px) { .brand img { height: 46px; } }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
}
.brand-name span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
}
.nav-links a { color: var(--soft); white-space: nowrap; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 2px no-repeat; padding-bottom: 3px; transition: color 0.2s ease, background-size 0.25s ease; }
.nav-links a:hover { background-size: 100% 2px; }
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--outline);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-gold:hover, .btn-gold-sm:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(216, 176, 74, 0.28); }
.btn-calc { transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease; }
.btn-calc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(216, 176, 74, 0.28); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  padding: 17px 32px;
  font-size: 16.5px;
}
.btn-gold:hover { background: var(--gold-hover); color: var(--bg); }

.btn-gold-sm {
  background: var(--gold);
  color: var(--bg);
  padding: 13px 26px;
  font-size: 15px;
}
.btn-gold-sm:hover { background: var(--gold-hover); color: var(--bg); }

.btn-outline {
  border: 1.5px solid var(--outline);
  color: var(--text);
  padding: 16px 28px;
  font-weight: 700;
  font-size: 16.5px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */

/* Tone-on-tone micro-text texture: the compliance words repeating in
   #12362A on the #0a2a20 ground, rotated to match the pinstripe angle
   (115deg gradient = stripes at -65deg). Inline SVG data URI, no extra
   request; sits behind the hero content, pinstripe shows through the
   transparent gaps. Deliberately near-invisible. */
.hero-textured {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1600'%3E%3Cdefs%3E%3Cpattern id='t' width='340' height='88' patternUnits='userSpaceOnUse' patternTransform='rotate(-65)'%3E%3Ctext x='0' y='26' font-family='Manrope, Arial, sans-serif' font-size='11' font-weight='600' fill='%2312362A'%3EPOPIA UIF CIPC SARS COIDA CPA PAIA sorted properly%3C/text%3E%3Ctext x='-170' y='70' font-family='Manrope, Arial, sans-serif' font-size='11' font-weight='600' fill='%2312362A'%3EPOPIA UIF CIPC SARS COIDA CPA PAIA sorted properly%3C/text%3E%3Ctext x='170' y='70' font-family='Manrope, Arial, sans-serif' font-size='11' font-weight='600' fill='%2312362A'%3EPOPIA UIF CIPC SARS COIDA CPA PAIA sorted properly%3C/text%3E%3C/pattern%3E%3C/defs%3E%3Crect width='1600' height='1600' fill='url(%23t)'/%3E%3C/svg%3E");
}

.hero {
  display: flex;
  gap: 64px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 70px;
}

.hero-sash {
  position: absolute;
  top: -140px;
  right: -220px;
  width: 900px;
  height: 620px;
  background: linear-gradient(115deg, transparent 30%,
    rgba(216, 176, 74, 0.10) 46%, rgba(216, 176, 74, 0.16) 50%,
    rgba(216, 176, 74, 0.10) 54%, transparent 70%);
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 999px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--soft);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-notes {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--faint);
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-preview {
  flex: 0.9;
  display: flex;
  justify-content: center;
  position: relative;
}

/* ---------- Motion ---------- */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseValue {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Hero entrance: staggered fade-up */
.hero-copy > * { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.35s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.45s; }
.hero-preview { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }

/* Scroll reveal (classes applied by site.js; without JS everything stays visible) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-preview { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .preview-card.floating { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Preview card ---------- */

.preview-card {
  background: linear-gradient(160deg, #114032 0%, var(--panel) 45%, #0b2e22 100%);
  border: 1px solid rgba(216, 176, 74, 0.35);
  border-radius: var(--radius-lg);
  width: 390px;
  max-width: 100%;
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(216, 176, 74, 0.08),
    0 0 60px rgba(216, 176, 74, 0.10);
  overflow: hidden;
  position: relative;
}

/* Gentle levitation for the hero calculator */
.preview-card.floating { animation: float 6s ease-in-out infinite; }

/* Soft sheen across the top edge */
.preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 176, 74, 0.55), transparent);
}

.preview-card .value-pulse { animation: pulseValue 0.45s ease; }

.preview-input input {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  font-family: var(--font-body);
  width: 100%;
}
.preview-input input:focus { outline: none; }
.preview-input { transition: border-color 0.2s ease; }
.preview-input:focus-within { border-color: var(--gold); }

.preview-link {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold);
  display: inline-block;
  transition: transform 0.2s ease;
}
.preview-link:hover { transform: translateX(3px); }

.preview-head {
  padding: 20px 28px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.preview-head h2,
.preview-head h3 { font-size: 17px; font-weight: 800; }

.badge-free {
  font-size: 12px;
  font-weight: 800;
  color: var(--bg);
  background: var(--gold);
  padding: 5px 11px;
  border-radius: 999px;
}

.preview-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-inputs { display: flex; gap: 12px; }

.preview-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-input .label { font-size: 12px; color: var(--faint); font-weight: 700; }
.preview-input .value { font-size: 18px; font-weight: 800; color: var(--heading); }

.preview-rows { display: flex; flex-direction: column; gap: 10px; }

.preview-row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
}
.preview-row .k { color: var(--soft); }
.preview-row .v { font-weight: 800; color: var(--text); }

.preview-divider { height: 1px; background: var(--hairline); }

.preview-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.preview-total .k { font-size: 14.5px; color: var(--soft); }
.preview-total .v {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
}

.preview-note {
  background: var(--bg);
  border: 1px solid #2a4d3d;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--faint);
  line-height: 1.5;
}

/* ---------- Sections ---------- */

.section {
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.section-head-copy { display: flex; flex-direction: column; gap: 6px; }

.section-head h2 { font-size: 32px; font-weight: 800; }

.section-head p { font-size: 16px; color: var(--faint); }

.section-link { font-size: 15px; font-weight: 800; white-space: nowrap; }

/* ---------- Card grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text);
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.card:hover {
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(216, 176, 74, 0.07);
}
.card .card-icon { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease; }
.card:hover .card-icon { transform: scale(1.12) rotate(-3deg); background: rgba(216, 176, 74, 0.2); }
.card .card-cta { transition: transform 0.2s ease; }
.card:hover .card-cta { transform: translateX(4px); }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(216, 176, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card h3 { font-size: 17.5px; font-weight: 800; }

.card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex-grow: 1;
}

.card-cta { font-size: 14px; font-weight: 800; color: var(--gold); }
.card:hover .card-cta { color: var(--gold-hover); }

/* POPIA highlight card */
.card-highlight {
  background: rgba(216, 176, 74, 0.08);
  border: 1px dashed var(--gold);
  justify-content: center;
}
.card-highlight:hover { border-style: dashed; }
.card-highlight h3 { color: var(--gold); }
.card-highlight p { color: var(--soft); }
.card-highlight .btn-gold-sm { align-self: flex-start; padding: 11px 22px; font-size: 14px; }

/* Service cards */
.card-service { gap: 10px; }

.card-service-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.card-price { font-size: 18px; font-weight: 800; color: var(--gold); white-space: nowrap; }

.card-service .card-cta { font-size: 13.5px; }

/* ---------- Cream section (compliance packs) ---------- */

.cream-band { background: var(--cream); }

.cream-band .section {
  padding-top: 60px;
  padding-bottom: 60px;
  gap: 30px;
}

.cream-band h2 { color: var(--bg); }
.cream-band .section-head p { color: var(--cream-text); }
.cream-band .section-link { color: var(--cream-gold); }
.cream-band .section-link:hover { color: #5f470f; }

.pack-card {
  background: #ffffff;
  border: 1px solid var(--cream-card-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.pack-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 16px 34px rgba(10, 42, 32, 0.14); }

.pack-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cream-badge-bg);
  color: var(--cream-badge-text);
}

.pack-badge-featured {
  background: var(--bg);
  color: var(--gold);
}

.pack-card h3 { font-size: 18px; font-weight: 800; color: var(--bg); }

.pack-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--cream-text);
  flex-grow: 1;
}

.pack-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--bg);
}

.cream-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-note-bg);
  border: 1px solid var(--cream-note-border);
  border-radius: 14px;
  padding: 16px 20px;
  align-self: flex-start;
}
.cream-note svg { flex-shrink: 0; }
.cream-note p { font-size: 14.5px; color: var(--cream-note-text); font-weight: 700; }

/* ---------- Closing CTA ---------- */

.closing {
  padding-top: 60px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.closing-copy { display: flex; flex-direction: column; gap: 8px; }
.closing h2 { font-size: 28px; font-weight: 800; }
.closing p { font-size: 16px; color: var(--faint); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
}

.footer .wrap {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--footer-text);
}

.footer .site { font-weight: 700; }

/* ---------- WhatsApp button ---------- */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  z-index: 50;
  transition: transform 0.15s ease, background 0.15s ease;
}
.whatsapp-fab:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* ---------- Tool pages ---------- */

.tool-hero {
  padding-top: 40px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; }
.tool-hero .tool-intro { font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 640px; }

.breadcrumb { font-size: 13.5px; color: var(--faint); font-weight: 600; }
.breadcrumb a { color: var(--faint); }
.breadcrumb a:hover { color: var(--gold); }

.calc-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.25);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label { font-size: 13px; font-weight: 700; color: var(--faint); }

.field input,
.field select {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--font-body);
  width: 100%;
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--gold); }
.field .hint { font-size: 12.5px; color: var(--faint); }

.field-check {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 14px;
}
.field-check input { width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.field-check label { font-size: 14.5px; font-weight: 600; color: var(--text); }

.calc-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn-calc {
  background: var(--gold);
  color: var(--bg);
  border: none;
  cursor: pointer;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-body);
}
.btn-calc:hover { background: var(--gold-hover); }

.calc-error { font-size: 14.5px; color: #e8a19a; font-weight: 700; }

.results {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.results.show { display: flex; animation: fadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
}
.result-row .k { color: var(--soft); }
.result-row .v { font-weight: 800; color: var(--text); text-align: right; }

.result-divider { height: 1px; background: var(--hairline); margin: 4px 0; }

.result-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.result-total .k { font-size: 15px; color: var(--soft); }
.result-total .v {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  text-align: right;
}

.result-note { font-size: 13.5px; color: var(--faint); line-height: 1.55; }

.result-flag {
  font-size: 14.5px;
  line-height: 1.55;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
}
.result-flag.good { background: rgba(216, 176, 74, 0.1); border: 1px solid var(--gold); color: var(--gold); }
.result-flag.bad { background: rgba(180, 90, 80, 0.12); border: 1px solid #7a4a42; color: #e8a19a; }

.tool-section { padding-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.tool-section h2 { font-size: 26px; font-weight: 800; }
.tool-section p { font-size: 15.5px; line-height: 1.7; color: var(--soft); max-width: 720px; }
.tool-section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.tool-section li { font-size: 15.5px; line-height: 1.6; color: var(--soft); }

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0 20px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--gold); font-size: 20px; font-weight: 700; flex-shrink: 0; }
.faq-list details[open] summary::after { content: '\2013'; }
.faq-list details p { padding: 0 0 16px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.related-pack {
  margin-top: 44px;
  background: rgba(216, 176, 74, 0.08);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.related-pack .copy { display: flex; flex-direction: column; gap: 6px; }
.related-pack h3 { font-size: 18px; font-weight: 800; color: var(--gold); }
.related-pack p { font-size: 14.5px; line-height: 1.55; color: var(--soft); }

.tool-disclaimer {
  margin-top: 32px;
  margin-bottom: 56px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--footer-text);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 18px;
}

@media (max-width: 700px) {
  .tool-hero h1 { font-size: 30px; }
  .calc-card { padding: 20px; }
  .related-pack { flex-direction: column; align-items: flex-start; }
  .result-total .v { font-size: 22px; }
}

/* ---------- Pack / service pages ---------- */

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  align-self: flex-start;
}
.price-tag .amount {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
}
.price-tag .qualifier { font-size: 14px; color: var(--faint); font-weight: 600; }

.included-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  max-width: 860px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.included-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.included-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.order-steps { counter-reset: step; display: flex; flex-direction: column; gap: 12px; max-width: 720px; padding: 0; margin: 0; list-style: none; }
.order-steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: var(--soft);
}
.order-steps li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(216, 176, 74, 0.12);
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.quiz-list { display: flex; flex-direction: column; gap: 10px; }
.quiz-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 16px;
}
.quiz-item .q { font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.5; }
.quiz-item .opts { display: flex; gap: 8px; flex-shrink: 0; }
.quiz-item .opts label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--soft);
  cursor: pointer;
}
.quiz-item .opts input { accent-color: var(--gold); width: 16px; height: 16px; }

.score-ring {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
}

@media (max-width: 700px) {
  .quiz-item { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .wrap { padding-left: 40px; padding-right: 40px; }

  .nav-links { gap: 22px; }

  .hero { flex-direction: column; align-items: stretch; gap: 44px; padding-top: 44px; }
  .hero h1 { font-size: 44px; }
  .hero-preview { justify-content: flex-start; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .closing { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .wrap { padding-left: 20px; padding-right: 20px; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 8px;
    z-index: 40;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(216, 176, 74, 0.08); }

  .nav .btn-gold-sm { display: none; }

  .hero h1 { font-size: 34px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn-gold,
  .hero-ctas .btn-outline { padding: 14px 24px; font-size: 15px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 26px; }

  .closing h2 { font-size: 24px; }

  .footer .wrap { flex-direction: column; }

  .whatsapp-fab { bottom: 16px; right: 16px; }
}
