/* =========================================================
   Flexora Consulting — Shared stylesheet
   Palette: navy + gold
   ========================================================= */

:root {
  --navy:        #122036;
  --navy-deep:   #0b1422;
  --navy-soft:   #1b2c47;
  --gold:        #c9a24a;
  --gold-light:  #e0c074;
  --gold-dark:   #a8842f;
  --bg:          #ffffff;
  --bg-alt:      #f5f6f9;
  --bg-card:     #ffffff;
  --text:        #1a2333;
  --muted:       #5a6473;
  --line:        #e3e6ec;
  --shadow:      0 10px 30px rgba(18, 32, 54, 0.08);
  --shadow-lg:   0 20px 50px rgba(18, 32, 54, 0.14);
  --radius:      14px;
  --maxw:        1140px;
  --serif:       "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #e8ecf3; }
.section--navy h2,
.section--navy h3 { color: #ffffff; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold-light); }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}
.section--navy .lead { color: #c3cbd8; }

.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(201, 162, 74, 0.4);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #f0d88a 0%, var(--gold) 100%);
  box-shadow: 0 12px 32px rgba(201, 162, 74, 0.5);
}

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

.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.section--navy .btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--wa  { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,0.3); }
.btn--wa:hover { background: #1fb855; }
.btn--mail { background: var(--navy); color: #fff; }
.btn--mail:hover { background: var(--navy-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; opacity: 0.88; }
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}
.site-footer .brand { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; flex-direction: column; line-height: 1.2; }
.site-footer .brand small { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-links .btn { padding: 10px 20px; font-size: 0.95rem; }

.nav .brand { margin-right: auto; }

/* ---------- Language dropdown ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 24px;
}
.lang-select {
  -webkit-appearance: none;
  appearance: none;
  background: #ffffff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8842f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 7px 32px 7px 12px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  min-width: 110px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lang-select:hover, .lang-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,74,0.12);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1400px 700px at 50% -10%, rgba(201,162,74,0.22), transparent 60%),
    radial-gradient(800px 500px at 80% 120%, rgba(18,32,54,0.6), transparent 70%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  color: #eef1f6;
  min-height: 400px;
  padding: 72px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Hero brand card (logo displayed prominently in hero) */
.hero-brand-wrap { display: flex; justify-content: center; margin-bottom: 36px; }
.hero-brand-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 36px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.32);
  display: inline-block;
}
.hero-brand-card img {
  width: clamp(280px, 38vw, 460px);
  height: auto;
  display: block;
}
.hero .container { width: 100%; }
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}
.hero h1 {
  color: #fff;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero .eyebrow { color: var(--gold-light); }
.hero p {
  font-size: 1.2rem;
  color: #c8d0de;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Ghost buttons sitting on a dark (navy) background need light text,
   otherwise the navy-on-navy label is invisible. */
.hero .btn--ghost,
.cta-band .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ---------- Stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.section--navy .stat {
  background: var(--navy-soft);
  border-color: rgba(255,255,255,0.08);
}
.stat .num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.section--navy .stat .num { color: var(--gold-light); }
.stat .label { font-size: 0.95rem; color: var(--muted); }
.section--navy .stat .label { color: #b9c2d1; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
.card h3 { margin-bottom: 10px; }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,162,74,0.18), rgba(201,162,74,0.08));
  color: var(--gold-dark);
  margin-bottom: 18px;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(201,162,74,0.15);
}
.card p { color: var(--muted); margin-bottom: 0; }
.card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; position: relative; }
@media (min-width: 761px) {
  .grid-3.steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(16.7% + 26px);
    right: calc(16.7% + 26px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    opacity: 0.45;
    z-index: 0;
  }
}
.step { position: relative; padding-left: 0; text-align: center; }
.step .badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-deep);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(201,162,74,0.4);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin-bottom: 0; }

/* ---------- Case studies ---------- */
.case {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.case:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case .case-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.case h3 { font-size: 1.4rem; margin-bottom: 14px; }
.case .lesson {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 0.98rem;
}
.case .lesson strong { color: var(--navy); }
.case .result { color: var(--text); }
.case .result strong { color: var(--gold-dark); }
.case .metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case .metric .m-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.case .metric .m-label { font-size: 0.85rem; color: var(--muted); }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #fff;
}
.quote .cite { color: var(--gold-light); font-weight: 600; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--text);
}
.checklist li::before {
  content: "▸";
  position: absolute;
  left: 6px;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(201,162,74,0.25), transparent 60%),
    radial-gradient(600px 300px at 80% -20%, rgba(201,162,74,0.12), transparent 55%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(11,20,34,0.2);
  border: 1px solid rgba(201,162,74,0.15);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d0de; max-width: 52ch; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,74,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.form-status {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status--ok {
  background: rgba(47, 161, 90, 0.12);
  color: #1f7a45;
  border: 1px solid rgba(47, 161, 90, 0.35);
}
.form-status--err {
  background: rgba(214, 69, 69, 0.10);
  color: #b53535;
  border: 1px solid rgba(214, 69, 69, 0.30);
}

.contact-side .direct {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}
.contact-side .direct h3 { margin-bottom: 14px; }
.contact-side .btn { width: 100%; justify-content: center; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #aeb8c7;
  padding: 60px 0 32px;
  font-size: 0.92rem;
  border-top: 3px solid var(--gold-dark);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer .brand { color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #aeb8c7; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: #7d8799;
  font-size: 0.85rem;
}

/* ---------- Utility spacing ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 12px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a.active { border-bottom-color: transparent; color: var(--gold-dark); }
  .nav-toggle { display: block; }
  .nav .brand { margin-right: 0; }
  .brand-logo { height: 44px; }
  .lang-switch { margin-left: auto; margin-right: 10px; }
  .lang-select { min-width: 90px; font-size: 0.78rem; }
  .grid-2, .grid-3, .stats { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}

/* =========================================================
   VISUAL LAYER — inline SVG icons, charts, animations
   ========================================================= */

/* ---- SVG line icons inside the round icon chip ---- */
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Reveal-on-scroll animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Hero dashboard showpiece ---- */
.hero-showcase {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}
.dashboard {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(11, 20, 34, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  text-align: left;
}
.dash-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.dash-head .dot { width: 11px; height: 11px; border-radius: 50%; background: #d7dbe2; }
.dash-head .dot:nth-child(1) { background: #ef6b5e; }
.dash-head .dot:nth-child(2) { background: #f6c352; }
.dash-head .dot:nth-child(3) { background: #5fce8b; }
.dash-head .dash-title {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.dash-body { padding: 22px; }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.kpi {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px;
}
.kpi .k-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.kpi .k-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.kpi .k-num span { font-size: 0.85rem; color: #2fa15a; font-family: var(--sans); font-weight: 600; }
.dash-charts {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  align-items: center;
}
.chart-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.chart-card .c-title { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }

/* line + area chart */
.line-chart { width: 100%; height: auto; display: block; }
.line-chart .area { fill: url(#goldArea); opacity: 0; transition: opacity 1s ease 0.4s; }
.line-chart .line {
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.6s ease;
}
.line-chart .dot { fill: var(--gold-dark); opacity: 0; transition: opacity 0.4s ease 1.2s; }
.in-view .line-chart .area { opacity: 1; }
.in-view .line-chart .line { stroke-dashoffset: 0; }
.in-view .line-chart .dot { opacity: 1; }

/* donut */
.donut { width: 132px; height: 132px; display: block; margin: 0 auto; }
.donut .track { fill: none; stroke: var(--line); stroke-width: 12; }
.donut .value {
  fill: none;
  stroke: var(--gold);
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke-dasharray: 326.726;        /* 2πr, r=52 */
  stroke-dashoffset: 326.726;
  transition: stroke-dashoffset 1.5s ease 0.3s;
}
.donut text {
  font-family: var(--serif);
  font-weight: 700;
  fill: var(--navy);
  font-size: 22px;
}

/* vertical bar chart (CSS bars) */
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.bar-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 6px 6px 0 0;
  height: 0;
  transition: height 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Stat band: mini sparkline under each number ---- */
.stat .spark { width: 100%; height: 30px; margin-top: 12px; display: block; }
.stat .spark .sline {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.4s ease 0.2s;
}
.in-view .stat .spark .sline { stroke-dashoffset: 0; }

/* ---- Case study metrics: count-up number + animated underline ---- */
.case .metrics { gap: 40px; }
.case .metric .m-bar {
  height: 4px;
  width: 0;
  max-width: 96px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
  transition: width 1.1s ease 0.2s;
}

@media (max-width: 600px) {
  .dash-charts { grid-template-columns: 1fr; }
  .dash-kpis { gap: 10px; }
  .kpi { padding: 11px; }
  .kpi .k-num { font-size: 1.25rem; }
}
