/* ==========================================================================
   SONICGIDS EMPIRE — Core stylesheet
   Clean, light design system: tokens, base, layout, nav, footer, components.
   One accent colour (gold), one ink colour, lots of white space.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* brand */
  --gold: #8a6a06;          /* gold for text (AA on white) */
  --gold-strong: #d9a51b;   /* button / fill gold */
  --gold-light: #e6b43a;   /* gold on dark backgrounds */
  --gold-soft: #fdf7e6;     /* tinted background */
  --gold-line: #ecdcae;

  /* ink + neutrals */
  --ink: #12141a;
  --ink-soft: #1d2029;
  --text: #15181f;
  --text-soft: #4d5564;
  --muted: #6b7280;
  --faint: #868e9c;

  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --surface-3: #eef0f4;

  --line: #e6e8ee;
  --line-soft: #eef0f3;
  --line-strong: #d4d8e0;

  /* feedback */
  --ok: #157f4d;
  --ok-soft: #e9f7f0;
  --warn: #9a6700;
  --warn-soft: #fff6e0;
  --bad: #c0392f;
  --bad-soft: #fdeceb;
  --info: #1f5fae;
  --info-soft: #ecf3fd;

  --grad-gold: linear-gradient(180deg, #e8b62c 0%, #d49c12 100%);
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 2px 6px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 24px 60px -32px rgba(16, 24, 40, 0.3);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --container: 1140px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(52px, 6.5vw, 92px);

  --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-accent: "Outfit", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

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

* { margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--ink); }

ul, ol { list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

strong { color: var(--text); font-weight: 650; }

::selection { background: #fbeec2; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.32rem); }
h4 { font-size: 1.02rem; }

p { color: var(--text-soft); }
p + p { margin-top: 14px; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-soft);
  line-height: 1.7;
}

.gold-text { color: var(--gold); }
.accent { font-family: var(--font-accent); font-style: normal; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-strong);
}
.eyebrow.center { justify-content: center; }

.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.87rem; }

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

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(36px, 4.5vw, 64px); }
.section-alt { background: var(--bg-soft); }
.section-ink { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { font-size: 1rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Gold = the single most important action on the page. */
.btn-gold {
  background: var(--gold-strong);
  color: #231903;
  box-shadow: var(--shadow-xs);
}
.btn-gold:hover { background: #c79513; color: #231903; }

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }

.btn-white {
  background: var(--ink);
  color: #fff;
}
.btn-white:hover { background: #000; color: #fff; }

.btn-sm { padding: 8px 14px; font-size: 0.84rem; }
.btn-lg { padding: 14px 26px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Header / navigation ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold-strong);
  z-index: 1200;
  transition: width 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold-light);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.active { color: var(--ink); font-weight: 600; }
.nav-link .chev { width: 12px; height: 12px; opacity: 0.6; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  padding: 8px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }

.drop a {
  display: grid;
  gap: 1px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  color: var(--text);
}
.drop a:hover { background: var(--surface-2); color: var(--ink); }
.drop .di { display: none; }
.drop .dt { font-weight: 600; font-size: 0.9rem; color: var(--ink); display: block; }
.drop .dd { font-size: 0.78rem; color: var(--muted); }

/* burger */
.burger { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); place-items: center; }
.burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
.burger span + span { margin-top: 4px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 auto;
  width: min(360px, 88vw);
  background: #fff;
  border-left: 1px solid var(--line);
  padding: 22px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
  z-index: 999;
}
.mobile-nav.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); }
.mobile-nav .sub { padding-left: 14px; }
.mobile-nav .sub a { font-size: 0.88rem; color: var(--muted); }
.mobile-nav .m-actions { margin-top: 22px; display: grid; gap: 10px; }
body.nav-open { overflow: hidden; }

/* ---------- Cards / surfaces ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 26px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.card-solid { background: var(--surface); }

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; }

.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}
.card-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}
.chip-soft { background: var(--gold-soft); border-color: var(--gold-line); color: #8a6a06; }

.metric {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ink);
  letter-spacing: -0.03em;
}
.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.tick-list { display: grid; gap: 10px; margin-top: 16px; }
.tick-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(46px, 6vw, 84px);
  background:
    radial-gradient(900px 420px at 85% -10%, #fdf6e4, transparent 70%),
    linear-gradient(180deg, #fbfbfc, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.hero h1 { margin: 16px 0 16px; }
.hero .lead { max-width: 560px; }
.hero .btn-row { margin-top: 26px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--gold); }

.page-hero {
  padding-block: clamp(44px, 5.5vw, 76px) clamp(26px, 3vw, 40px);
  text-align: center;
  background: linear-gradient(180deg, #fbfbfc, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 14px auto 14px; max-width: 18ch; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }
.page-hero .btn-row { justify-content: center; margin-top: 24px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--faint);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* stat strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: 22px 20px; text-align: center; }
.stat .metric { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* hero preview panel */
.hero-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-panel-head .dot-row { display: flex; gap: 5px; }
.hero-panel-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); }
.hero-panel-head .dot:first-child { background: var(--gold-strong); }

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  margin-top: 20px;
}
.bar {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: var(--surface-3);
}
.bar:nth-child(6) { background: var(--gold-strong); }
.bar-labels { display: flex; gap: 8px; margin-top: 8px; }
.bar-labels span { flex: 1; text-align: center; font-size: 0.62rem; color: var(--faint); }

.panel-rows { margin-top: 18px; display: grid; gap: 8px; }
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 0.86rem;
}
.panel-row .pr-label { display: flex; align-items: center; gap: 8px; color: var(--text-soft); }
.panel-row .pr-label svg { width: 14px; height: 14px; color: var(--gold); }
.panel-row .pr-value { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.trend-up { color: var(--ok); font-size: 0.74rem; font-weight: 700; }

.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.float-card.f1 { top: -18px; right: -12px; }
.float-card.f2 { bottom: -20px; left: -16px; }
.float-card .fc-top { font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.float-card .fc-val { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: 14px;
}
.marquee-track { display: flex; gap: 38px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Process / steps ---------- */
.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: border-color 0.2s var(--ease);
}
.step:hover { border-color: var(--line-strong); }
.step-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.93rem; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; gap: 14px; }
.quote-card .stars { color: var(--gold-strong); letter-spacing: 2px; font-size: 0.86rem; }
.quote-card blockquote { font-size: 0.98rem; line-height: 1.7; color: var(--text-soft); }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: #8a6a06;
  font-family: var(--font-head);
  font-weight: 700;
}
.quote-who .qw-name { font-weight: 650; color: var(--ink); font-size: 0.9rem; }
.quote-who .qw-role { font-size: 0.78rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: clamp(34px, 5vw, 60px) clamp(22px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
}
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before { background: var(--gold-light); }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 12px auto 12px; }
.cta-band p { color: #c7cbd4; max-width: 620px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }
.cta-band .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta-band .btn-white { background: #fff; color: var(--ink); }
.cta-band .btn-white:hover { background: #f1f2f4; color: var(--ink); }
.cta-band .cta-note { margin-top: 16px; font-size: 0.8rem; color: #9aa1ae; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 64px) 26px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
}
.footer-brand p { font-size: 0.89rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--text-soft); font-size: 0.89rem; }
.footer-col a:hover { color: var(--ink); }

.social-row { display: flex; gap: 8px; margin-top: 18px; }
.social-row a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
}
.social-row a:hover { color: var(--ink); border-color: var(--line-strong); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }
.footer-bottom .fb-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.field label .req { color: var(--bad); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 3px rgba(217, 165, 27, 0.18);
}
.field select { appearance: none; cursor: pointer; background-image: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }

.alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.88rem;
  color: var(--text-soft);
}
.alert.show { display: flex; }
.alert-success { background: var(--ok-soft); border-color: #bfe5d2; color: #10603a; }
.alert-error { background: var(--bad-soft); border-color: #f3c7c3; color: #95241c; }
.alert-info { background: var(--info-soft); border-color: #cfe0f8; color: #174c8c; }

/* ---------- Newsletter form ---------- */
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: var(--faint); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 3px rgba(217, 165, 27, 0.18);
}
.newsletter-form .btn { flex: none; }
.newsletter-form-lg input { padding: 13px 16px; font-size: 0.94rem; }
.newsletter-form-lg .btn { padding: 13px 24px; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 10px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.acc-item.open { border-color: var(--line-strong); }
.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.acc-q .pm {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease);
}
.acc-item.open .pm { transform: rotate(45deg); background: var(--gold-soft); color: var(--gold); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.acc-a-inner { padding: 0 18px 18px; font-size: 0.93rem; color: var(--text-soft); line-height: 1.7; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--text-soft); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--bg-soft); }
td strong { color: var(--ink); }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hide { display: none !important; }

.divider { height: 1px; background: var(--line); margin-block: clamp(28px, 4vw, 44px); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); display: inline-block; }

/* Reveal: a short, calm fade. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.1s; }
.reveal.d3 { transition-delay: 0.15s; }
.reveal.d4 { transition-delay: 0.2s; }

.to-top {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 17px; height: 17px; }

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 900;
}
.wa-float:hover { color: #fff; background: #000; }
.wa-float svg { width: 18px; height: 18px; color: #25d366; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .float-card { display: none; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep private static pages out of view until Firebase restores the session. */
html.sg-auth-pending body { visibility: hidden !important; }

/* ==========================================================================
   Visual refresh — richer Sonicgids Empire brand layer
   Adds colour, depth, gradients, and stronger component styling so the site
   no longer feels like plain black-and-white HTML.
   ========================================================================== */
:root {
  --gold: #b77905;
  --gold-strong: #ffc53d;
  --gold-light: #ffe08a;
  --gold-soft: #fff5cf;
  --gold-line: rgba(255, 197, 61, 0.42);

  --ink: #0b1020;
  --ink-soft: #141a33;
  --text: #111827;
  --text-soft: #4b5565;
  --muted: #687385;
  --faint: #8a94a7;

  --bg: #fbfcff;
  --bg-soft: #f1f5ff;
  --surface: #ffffff;
  --surface-2: #f6f8ff;
  --surface-3: #e8eefb;

  --line: rgba(33, 43, 84, 0.11);
  --line-soft: rgba(33, 43, 84, 0.08);
  --line-strong: rgba(33, 43, 84, 0.18);

  --brand-blue: #2563eb;
  --brand-cyan: #06b6d4;
  --brand-purple: #7c3aed;
  --brand-pink: #ec4899;
  --brand-orange: #f97316;
  --brand-emerald: #10b981;

  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #2563eb 48%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #ffc53d 0%, #f97316 52%, #ec4899 100%);
  --grad-glass: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9));

  --shadow-xs: 0 1px 2px rgba(11, 16, 32, 0.06);
  --shadow-sm: 0 8px 24px -16px rgba(15, 23, 42, 0.32);
  --shadow-md: 0 20px 48px -28px rgba(15, 23, 42, 0.38);
  --shadow-lg: 0 32px 90px -44px rgba(15, 23, 42, 0.54);
}

html { background: #f7f9ff; }
body {
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(124, 58, 237, 0.16), transparent 68%),
    radial-gradient(740px 460px at 92% 8%, rgba(6, 182, 212, 0.17), transparent 68%),
    radial-gradient(760px 460px at 50% 105%, rgba(255, 197, 61, 0.12), transparent 72%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7ff 48%, #ffffff 100%);
}

::selection { background: rgba(255, 197, 61, 0.35); color: var(--ink); }
.gold-text {
  color: transparent;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Header / navigation */
.scroll-progress { background: var(--grad-warm); height: 3px; }
.site-header {
  background: rgba(9, 13, 31, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 40px -32px rgba(0, 0, 0, 0.7);
}
.site-header.scrolled { box-shadow: 0 18px 48px -30px rgba(0, 0, 0, 0.75); }
@supports (backdrop-filter: blur(14px)) {
  .site-header { backdrop-filter: saturate(165%) blur(14px); }
}
.brand,
.brand:hover,
.site-header .nav-link,
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #ffffff; }
.brand-mark {
  background: var(--grad-warm);
  color: #121629;
  box-shadow: 0 12px 28px -18px rgba(255, 197, 61, 0.9);
}
.brand-tag { color: rgba(255, 255, 255, 0.68); }
.site-header .nav-link { color: rgba(255, 255, 255, 0.78); }
.site-header .nav-link:hover,
.site-header .nav-link.active {
  background: rgba(255, 255, 255, 0.1);
}
.site-header .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.site-header .btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.site-header .burger { border-color: rgba(255, 255, 255, 0.2); }
.site-header .burger span { background: #fff; }
.drop {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(124, 58, 237, 0.12);
  box-shadow: 0 24px 70px -36px rgba(15, 23, 42, 0.45);
}
.drop a:hover { background: #f3f0ff; }
.mobile-nav {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(124, 58, 237, 0.2), transparent 70%),
    #0b1020;
  border-left-color: rgba(255, 255, 255, 0.12);
}
.mobile-nav a { color: rgba(255, 255, 255, 0.9); border-bottom-color: rgba(255, 255, 255, 0.1); }
.mobile-nav .sub a { color: rgba(255, 255, 255, 0.62); }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold-light); }

/* Buttons */
.btn {
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.55);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--grad-warm);
  color: #211300;
  box-shadow: 0 18px 34px -22px rgba(249, 115, 22, 0.85);
}
.btn-gold:hover { background: linear-gradient(135deg, #ffcf55 0%, #fb923c 52%, #f472b6 100%); color: #211300; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.16);
  color: var(--ink);
}
.btn-ghost:hover { background: #eef4ff; border-color: rgba(37, 99, 235, 0.28); }
.btn-white { background: #fff; color: var(--ink); }

/* Shared surfaces */
.section { position: relative; }
.section-alt,
.section-ink {
  background:
    radial-gradient(640px 360px at 0% 0%, rgba(37, 99, 235, 0.08), transparent 70%),
    radial-gradient(640px 360px at 100% 100%, rgba(236, 72, 153, 0.08), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.card,
.step,
.acc-item,
.table-wrap,
.form-card,
.panel,
.price-card,
.case-card,
.logo-wall,
.dash-profile,
.dash-tabs,
.dash-side-note,
.order-card,
.service-pick {
  border-color: rgba(37, 99, 235, 0.13);
  box-shadow: 0 16px 44px -34px rgba(15, 23, 42, 0.42);
}
.card,
.step,
.form-card,
.panel,
.price-card,
.case-card,
.order-card,
.service-pick {
  background: var(--grad-glass);
}
.card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
  opacity: 0.9;
}
.card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -82px;
  top: -82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.18), transparent 70%);
  pointer-events: none;
}
.card:hover,
.price-card:hover,
.case-card:hover,
.service-pick:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: 0 28px 70px -38px rgba(15, 23, 42, 0.5);
}
.card-icon {
  background: linear-gradient(135deg, rgba(255, 197, 61, 0.24), rgba(249, 115, 22, 0.14));
  border-color: rgba(255, 197, 61, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 12px 28px -22px rgba(249, 115, 22, 0.75);
}
.grid .card:nth-child(3n + 2) .card-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(6, 182, 212, 0.18));
  border-color: rgba(37, 99, 235, 0.2);
}
.grid .card:nth-child(3n + 3) .card-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.16));
  border-color: rgba(124, 58, 237, 0.22);
}
.chip { background: rgba(255, 255, 255, 0.72); border-color: rgba(37, 99, 235, 0.14); }
.chip-soft { background: rgba(255, 245, 207, 0.84); border-color: var(--gold-line); }
.metric {
  color: transparent;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(760px 460px at 88% 14%, rgba(6, 182, 212, 0.24), transparent 70%),
    radial-gradient(740px 480px at 10% 4%, rgba(124, 58, 237, 0.34), transparent 72%),
    radial-gradient(560px 360px at 48% 108%, rgba(255, 197, 61, 0.22), transparent 70%),
    linear-gradient(135deg, #080b18 0%, #121943 52%, #28133f 100%);
  border-bottom: 0;
}
.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}
.hero::before {
  width: 420px;
  height: 420px;
  right: -210px;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.26), transparent 65%);
}
.hero::after {
  width: 320px;
  height: 320px;
  left: -160px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 65%);
}
.hero .container,
.page-hero .container { position: relative; z-index: 1; }
.hero h1,
.hero h2,
.hero h3 { color: #ffffff; }
.hero .lead { color: rgba(255, 255, 255, 0.78); }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--grad-warm); }
.hero-badge { color: rgba(255, 255, 255, 0.75); }
.hero-badge svg { color: var(--gold-light); }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.hero-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  box-shadow: 0 42px 110px -58px rgba(0, 0, 0, 0.75);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--grad-warm);
}
.hero-panel h1,
.hero-panel h2,
.hero-panel h3,
.hero-panel p { color: var(--text); }
.hero-panel-head .dot:nth-child(1) { background: #ef4444; }
.hero-panel-head .dot:nth-child(2) { background: #f59e0b; }
.hero-panel-head .dot:nth-child(3) { background: #22c55e; }
.bar { background: linear-gradient(180deg, rgba(37,99,235,0.35), rgba(37,99,235,0.12)); }
.bar:nth-child(2n) { background: linear-gradient(180deg, rgba(124,58,237,0.42), rgba(124,58,237,0.14)); }
.bar:nth-child(6) { background: var(--grad-warm); box-shadow: 0 10px 24px -16px rgba(249, 115, 22, 0.95); }
.panel-row { background: linear-gradient(90deg, rgba(241,245,255,0.98), rgba(255,255,255,0.94)); }
.float-card { border-color: rgba(255, 197, 61, 0.28); box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.5); }

/* Page heroes */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(580px 320px at 16% 0%, rgba(255, 197, 61, 0.2), transparent 68%),
    radial-gradient(620px 360px at 88% 14%, rgba(6, 182, 212, 0.2), transparent 68%),
    linear-gradient(135deg, #0a1024 0%, #17245c 55%, #3b185f 100%);
  border-bottom: 0;
}
.page-hero::before {
  width: 360px;
  height: 360px;
  left: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.36), transparent 68%);
}
.page-hero::after {
  width: 320px;
  height: 320px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.26), transparent 68%);
}
.page-hero h1,
.page-hero h2,
.page-hero h3 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.76); }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before { background: var(--grad-warm); }
.breadcrumb { color: rgba(255, 255, 255, 0.54); }
.breadcrumb a { color: rgba(255, 255, 255, 0.74); }
.breadcrumb a:hover { color: var(--gold-light); }

/* Stats, marquee, steps */
.stats-strip {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.38), rgba(37, 99, 235, 0.32), rgba(255, 197, 61, 0.36));
  border: 0;
  box-shadow: 0 28px 70px -44px rgba(15, 23, 42, 0.45);
}
.stat { background: rgba(255, 255, 255, 0.92); }
.marquee {
  background: #0b1020;
  border-block-color: rgba(255, 255, 255, 0.08);
}
.marquee-track span { color: rgba(255, 255, 255, 0.64); }
.marquee-track span:nth-child(3n + 1) { color: var(--gold-light); }
.step-num { background: var(--grad-brand); box-shadow: 0 12px 28px -20px rgba(37, 99, 235, 0.9); }
.tick-list li::before { background: var(--grad-warm); border-color: transparent; color: #211300; }
.avatar { background: linear-gradient(135deg, rgba(255,197,61,0.32), rgba(249,115,22,0.14)); }

/* CTA / footer / floating actions */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 280px at 14% 0%, rgba(255, 197, 61, 0.22), transparent 70%),
    radial-gradient(520px 300px at 92% 12%, rgba(6, 182, 212, 0.24), transparent 70%),
    linear-gradient(135deg, #090d20 0%, #15245d 52%, #3b185f 100%);
  box-shadow: 0 32px 90px -50px rgba(15, 23, 42, 0.7);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-warm);
}
.cta-band > * { position: relative; z-index: 1; }
.site-footer {
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(124, 58, 237, 0.14), transparent 70%),
    radial-gradient(600px 300px at 92% 0%, rgba(6, 182, 212, 0.13), transparent 70%),
    #070b18;
  border-top: 0;
  color: rgba(255, 255, 255, 0.78);
}
.site-footer .brand,
.site-footer .brand:hover,
.site-footer h4,
.site-footer strong { color: #fff; }
.site-footer .brand-tag,
.site-footer p,
.footer-bottom p { color: rgba(255, 255, 255, 0.62); }
.footer-col h4 { color: rgba(255, 255, 255, 0.42); }
.footer-col a,
.footer-bottom a { color: rgba(255, 255, 255, 0.68); }
.footer-col a:hover,
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.1); }
.social-row a { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); color: rgba(255,255,255,0.78); }
.social-row a:hover { color: var(--gold-light); border-color: rgba(255, 197, 61, 0.34); }
.to-top,
.wa-float {
  background: var(--grad-brand);
  color: #fff;
  border: 0;
}
.wa-float:hover { color: #fff; background: linear-gradient(135deg, #6d28d9, #1d4ed8 48%, #0891b2); }

/* Forms and filters */
.field input,
.field select,
.field textarea,
.newsletter-form input {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.94);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.newsletter-form input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.filter-bar button.active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}
.compare-toggle button.active,
.dash-tab.active {
  background: var(--grad-brand);
  color: #fff;
}
.status-completed { color: #047857; background: rgba(16,185,129,0.12); }
.status-ongoing { color: #6d28d9; background: rgba(124,58,237,0.12); }
.status-approved { color: #1d4ed8; background: rgba(37,99,235,0.12); }

/* Progressive safety: if JavaScript is blocked, reveal content still appears. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero { padding-top: 34px; }
  .hero-panel { order: initial; }
}

@media (max-width: 680px) {
  .site-header .btn-gold { display: none; }
  .hero,
  .page-hero { text-align: left; }
  .page-hero .btn-row,
  .hero .btn-row { justify-content: flex-start; }
  .page-hero h1 { margin-inline: 0; }
}
.card > * { position: relative; z-index: 1; }

/* Page-specific cards also get the refreshed treatment. */
.post-card,
.auth-card,
.contact-item,
.deliverable,
.dash-stat,
.wallet-panel,
.wallet-entry,
.wallet-topup,
.wallet-activity,
.person,
.kpi-card {
  border-color: rgba(37, 99, 235, 0.13);
  background: var(--grad-glass);
  box-shadow: 0 16px 44px -34px rgba(15, 23, 42, 0.42);
}
.post-card,
.contact-item,
.deliverable,
.person {
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post-card:hover,
.contact-item:hover,
.deliverable:hover,
.person:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: 0 28px 70px -38px rgba(15, 23, 42, 0.5);
}
.post-cover {
  background:
    radial-gradient(260px 150px at 70% 20%, rgba(255, 197, 61, 0.26), transparent 72%),
    var(--grad-brand);
  color: #fff;
  border-bottom: 0;
}
.contact-item .ci,
.deliverable .dn {
  background: var(--grad-warm);
  border-color: transparent;
  color: #211300;
}
.callout {
  border-left-color: transparent;
  background:
    linear-gradient(90deg, rgba(255, 197, 61, 0.2), rgba(255,255,255,0.82)),
    var(--bg-soft);
  box-shadow: inset 4px 0 0 var(--gold-strong);
}
.timeline::before,
.form-steps span.on,
.progress-bar span,
.task-dot {
  background: var(--grad-warm);
}
.tl-item::before {
  background: var(--grad-warm);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 197, 61, 0.18);
}
.error-code {
  color: transparent;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
}
