/* ============================================================
   EMBARC CONSULTING — Amazon Private Label Agency
   Design system: deep navy + teal, Schibsted Grotesk / IBM Plex
   ============================================================ */

:root {
  /* Palette */
  --navy:        #0b2545;
  --navy-deep:   #07182f;
  --navy-soft:   #12305a;
  --ink:         #0c1a2e;
  --slate:       #4a5b70;
  --muted:       #6f8197;
  --paper:       #f5f8fa;
  --paper-2:     #eaf0f4;
  --white:       #ffffff;
  --line:        rgba(11, 37, 69, 0.10);
  --line-strong: rgba(11, 37, 69, 0.18);
  --line-dark:   rgba(255, 255, 255, 0.12);

  /* Brand */
  --brand-orange: #fa8e08;

  /* Accent (tweakable) — defaults to brand orange */
  --accent:      #f0850c;
  --accent-bright:#ffa83a;
  --accent-deep: #cf710a;
  --accent-tint: rgba(250, 142, 8, 0.14);

  /* Type */
  --font-head: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 46, 0.06), 0 2px 8px rgba(12, 26, 46, 0.05);
  --shadow-md: 0 10px 30px rgba(12, 26, 46, 0.10), 0 2px 8px rgba(12, 26, 46, 0.06);
  --shadow-lg: 0 30px 70px rgba(7, 24, 47, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.on-dark .eyebrow,
.eyebrow.on-dark { color: var(--accent-bright); }

.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--slate);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-tint);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--accent-tint);
}
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(12,26,46,0.03); }

.on-dark .btn-ghost { color: #fff; border-color: var(--line-dark); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-lg { padding: 17px 30px; font-size: 16.5px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
/* While scrolled but still over the dark hero: use dark glass so white text stays legible */
.site-header.scrolled.over-dark {
  background: rgba(8, 24, 47, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
/* header sits over dark hero initially */
.site-header.over-dark .nav-link,
.site-header.over-dark .brand-name { color: #fff; }
.site-header.over-dark .brand-tag { color: rgba(255,255,255,0.55); }
.site-header.over-dark .btn-ghost { color:#fff; border-color: var(--line-dark); }
.site-header.over-dark .hamburger span { background:#fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brand-orange) url("assets/embarc-hex-white.png") center / 60% no-repeat;
  flex: none;
  box-shadow: 0 3px 10px rgba(250,142,8,0.32), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  transition: color 0.18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.22s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.over-dark .nav-link:hover { color: #fff; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 18px var(--gutter) 26px;
  flex-direction: column;
  gap: 4px;
  z-index: 49;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(250,142,8,0.18), transparent 55%),
    radial-gradient(900px 500px at 8% 110%, rgba(250,142,8,0.10), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: -76px;
  padding-top: 76px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(28px, 3vw, 48px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 600;
  margin-top: 22px;
  letter-spacing: -0.03em;
}
.hero h1 .hl { color: var(--accent-bright); }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(16.5px, 1.8vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 33em;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Hero metric card */
.hero-visual { position: relative; }
.metric-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 26px 26px 30px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.metric-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.metric-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.metric-pill {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--accent-bright);
  background: rgba(250,142,8,0.12);
  border: 1px solid rgba(250,142,8,0.3);
  padding: 5px 11px;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
}
.metric-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); }
.metric-big {
  font-family: var(--font-head);
  font-size: 46px; font-weight: 700;
  letter-spacing: -0.03em; color: #fff;
  line-height: 1;
}
.metric-sub { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-top: 6px; }

.bars { display: flex; align-items: stretch; gap: 10px; height: 116px; margin-top: 26px; }
.bar { flex: 1; background: rgba(255,255,255,0.10); border-radius: 6px 6px 0 0; position: relative; overflow: hidden; }
@keyframes barRise {
  from { height: 0; }
  to   { height: var(--h); }
}
/* auto-in bars: CSS animation, always fires */
.bars.auto-in .bar .fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, var(--accent), var(--accent-bright));
  border-radius: 6px 6px 0 0;
  animation: barRise 1.0s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--i, 0) * 0.12s + 0.5s);
  height: var(--h);
}
/* JS-triggered bars (hero) */
.bars:not(.auto-in) .bar .fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, var(--accent), var(--accent-bright));
  border-radius: 6px 6px 0 0;
  height: 0;
  transition: height 1s cubic-bezier(.22,1,.36,1);
}
.bars:not(.auto-in).in .bar .fill { height: var(--h); }
.bar-labels { display: flex; gap: 10px; margin-top: 10px; }
.bar-labels span { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.4); }

.float-badge {
  position: absolute;
  left: -26px; bottom: 36px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.float-badge .fb-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.float-badge .fb-t { font-weight: 600; font-size: 14px; line-height: 1.2; }
.float-badge .fb-s { font-size: 12px; color: var(--muted); }

/* ============================================================
   LOGO / CREDIBILITY STRIP
   ============================================================ */
.cred-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.cred-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 18px 44px;
  padding-block: 26px;
}
.cred-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cred-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--slate); transition: color 0.18s ease; }
a.cred-item:hover { color: var(--accent-deep); }
.cred-item .ci-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.inline-link { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; transition: color 0.18s ease; }
.inline-link:hover { color: var(--accent); }
.on-dark .inline-link, .site-footer .inline-link { color: var(--accent-bright); }
.on-dark .inline-link:hover, .site-footer .inline-link:hover { color: #fff; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { scroll-margin-top: 90px; }
.section { padding-block: clamp(48px, 5.5vw, 80px); }
.section.paper { background: var(--paper); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 14px;
}
.section-head .lead { margin-top: 16px; }
.section.dark .lead { color: rgba(255,255,255,0.72); }

/* ============================================================
   USP / PROBLEM
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.usp-copy h2 { font-size: clamp(28px, 3.6vw, 42px); }
.usp-copy p { margin-top: 14px; color: var(--slate); font-size: 17.5px; }
.usp-copy p strong { color: var(--ink); font-weight: 600; }

.fix-list { display: flex; flex-direction: column; gap: 14px; }
.fix-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fix-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.fix-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-tint); display: grid; place-items: center;
}
.fix-icon .glyph { width: 16px; height: 16px; border-radius: 4px; background: var(--accent-deep); }
.fix-icon.shape-2 .glyph { border-radius: 50%; }
.fix-icon.shape-3 .glyph { transform: rotate(45deg); border-radius: 3px; }
.fix-icon.shape-4 .glyph { border-radius: 50% 50% 50% 2px; }
.fix-text h4 { font-size: 17px; font-weight: 600; }
.fix-text p { margin-top: 5px; font-size: 14.5px; color: var(--muted); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.section.paper .svc-card { background: var(--white); }
.svc-card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-card:hover::before { width: 100%; }
.svc-num {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent-deep);
  font-weight: 500;
}
.svc-card h3 { font-size: 19px; font-weight: 600; margin-top: 18px; }
.svc-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   APPROACH (steps)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 38px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid rgba(255,255,255,0.16);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-bright);
  position: absolute; top: -2px; left: 0;
  padding-top: 14px;
}
.step .step-dot {
  position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(250,142,8,0.18);
}
.step h3 { font-size: 20px; font-weight: 600; margin-top: 14px; }
.step p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,0.66); line-height: 1.55; }
.step .ai-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(250,142,8,0.32);
  background: rgba(250,142,8,0.1);
  padding: 4px 9px; border-radius: 6px;
}

/* ============================================================
   RESULTS BAND
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 36px;
}
.result-stat { text-align: left; }
.result-num {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
  line-height: 1;
}
.result-num .suffix { color: rgba(255,255,255,0.5); font-size: 0.5em; }
.result-label { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.45; }
.result-divider { height: 1px; background: var(--line-dark); margin-top: 40px; }

/* ============================================================
   BEFORE / AFTER STRIP
   ============================================================ */
.before-after {
  background: var(--navy);
  border-radius: 18px;
  padding: 28px 32px 30px;
  margin-top: 36px;
  color: #fff;
}
.ba-label {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ba-item { display: flex; flex-direction: column; gap: 8px; }
.ba-metric { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ba-compare { display: flex; align-items: center; gap: 10px; }
.ba-before { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: rgba(255,255,255,0.38); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.25); }
.ba-arrow { color: rgba(255,255,255,0.3); font-size: 18px; }
.ba-after { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.ba-lift { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: #4ade80; }
.ba-down { color: #4ade80; }

/* ============================================================
   REPORTING DASHBOARD (original, brand-styled)
   ============================================================ */
.dash {
  max-width: 1000px;
  margin: 38px auto 0;
  background: linear-gradient(180deg, #0e2950, var(--navy-deep));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #fff;
}
.dash-top {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.02);
}
.dash-dots { display: inline-flex; gap: 7px; }
.dash-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.dash-dots i:first-child { background: var(--brand-orange); }
.dash-tabs { display: flex; gap: 8px; }
.dash-tab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  padding: 6px 13px; border-radius: 7px;
}
.dash-tab.active { color: #fff; background: rgba(250,142,8,0.16); border: 1px solid rgba(250,142,8,0.35); }
.dash-range {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 11px; border-radius: 100px;
}
.dash-body {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 26px; padding: 28px 26px;
}
.dash-chart-head { display: flex; align-items: flex-start; justify-content: space-between; }
.dash-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: block; }
.dash-big { font-family: var(--font-head); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; margin-top: 6px; display: block; }
.dash-delta { font-family: var(--font-mono); font-size: 13px; color: var(--accent-bright); background: rgba(250,142,8,0.12); border: 1px solid rgba(250,142,8,0.3); padding: 5px 10px; border-radius: 7px; white-space: nowrap; }
.dash-bars { height: 130px; margin-top: 22px; }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.kpi { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 14px 16px; }
.kpi-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.kpi-val { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-top: 5px; display: block; }
.kpi-trend { font-family: var(--font-mono); font-size: 11px; margin-top: 4px; display: block; color: var(--accent-bright); }
.kpi-good { color: #4ade80; }
.dash-foot { padding: 0 26px 26px; }
.dash-foot-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.adbars { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.adrow { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 14px; font-size: 13.5px; color: rgba(255,255,255,0.8); }
.adrow .track { height: 9px; background: rgba(255,255,255,0.10); border-radius: 100px; overflow: hidden; }
.adrow .afill { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); width: var(--w); animation: barSlide 1s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i, 0) * 0.15s + 0.9s); }
@keyframes barSlide { from { width: 0; } to { width: var(--w); } }
/* JS-triggered adbars */
.adbars:not(.auto-in) .afill { width: 0; animation: none; transition: width 1s cubic-bezier(.22,1,.36,1) 0.2s; }
.adbars:not(.auto-in).in .afill { width: var(--w); }
.adrow .adpct { font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,0.6); text-align: right; }
.dash-caption { text-align: center; margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  max-width: 880px;
}
.about-copy h2 { font-size: clamp(28px, 3.6vw, 42px); }
.about-copy p { margin-top: 18px; color: var(--slate); font-size: 17.5px; max-width: 62ch; }
.about-points { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.about-point { display: flex; gap: 13px; align-items: flex-start; }
.about-point .chk {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-deep);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  margin-top: 1px;
}
.about-point span { font-size: 16px; color: var(--ink); }
.about-point strong { font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 800px; margin: 36px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-head);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}
.faq-q .toggle {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong); position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-q .toggle::before, .faq-q .toggle::after {
  content: ""; position: absolute; background: var(--slate);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-q .toggle::before { width: 12px; height: 2px; }
.faq-q .toggle::after { width: 2px; height: 12px; }
.faq-item.open .toggle { background: var(--accent); border-color: var(--accent); }
.faq-item.open .toggle::before, .faq-item.open .toggle::after { background: #fff; }
.faq-item.open .toggle::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--slate); font-size: 16px; line-height: 1.6; max-width: 64ch; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(250,142,8,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
  border-radius: 26px;
  padding: clamp(44px, 6vw, 76px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 52px); color: #fff; }
.cta-band p { margin: 20px auto 0; max-width: 46ch; color: rgba(255,255,255,0.78); font-size: 18px; }
.cta-band .hero-cta { justify-content: center; margin-top: 34px; }
.cta-note { margin-top: 22px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding-block: 48px 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.4); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.6; max-width: 32ch; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 500; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.72); padding: 6px 0; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-top: 28px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links, .nav .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; }
  .usp-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dash-kpis { grid-template-columns: 1fr 1fr 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dash-body { grid-template-columns: 1fr; }
  .adrow { grid-template-columns: 130px 1fr 44px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps, .results-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .float-badge { left: 0; }
  .hero-cta .btn { flex: 1; }
}


/* ============================================================
   INNER PAGES (about / services / contact / blog)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(250,142,8,0.16), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff; position:relative; overflow:hidden;
  margin-top:-76px; padding-top:76px;
}
.page-hero::after { content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size:56px 56px; mask-image:radial-gradient(700px 500px at 75% 10%,#000,transparent 75%); pointer-events:none; }
.page-hero-inner { position:relative; z-index:2; padding-block: clamp(52px,7vw,96px); max-width:840px; }
.page-hero h1 { color:#fff; font-size:clamp(34px,5vw,58px); font-weight:600; letter-spacing:-0.03em; margin-top:18px; }
.page-hero p { margin-top:22px; font-size:clamp(17px,2vw,20px); line-height:1.6; color:rgba(255,255,255,0.78); max-width:46em; }
.page-hero .hero-cta { margin-top:32px; }
.breadcrumb { display:block; margin-bottom:10px; font-family:var(--font-mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.5); }
.page-hero-inner .eyebrow { margin-top:0 !important; }
.breadcrumb a { color:rgba(255,255,255,0.5); } .breadcrumb a:hover{ color:var(--accent-bright); }

/* Blog index */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:44px; }
.blog-card { display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.blog-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:var(--line-strong); }
.blog-thumb { aspect-ratio:16/9; background:linear-gradient(135deg,var(--navy),var(--navy-soft)); position:relative; overflow:hidden; display:grid; place-items:center; }
.blog-thumb .mk { width:46px;height:46px;border-radius:11px;background:var(--brand-orange);opacity:.92; }
.blog-thumb .tag { position:absolute; top:14px; left:14px; font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#fff; background:rgba(250,142,8,0.92); padding:5px 10px; border-radius:6px; }
.blog-card-body { padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.blog-card-meta { font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; }
.blog-card h3 { font-size:19px; font-weight:600; margin-top:12px; line-height:1.25; }
.blog-card p { margin-top:10px; font-size:14.5px; color:var(--muted); line-height:1.55; flex:1; }
.blog-card .read { margin-top:16px; font-weight:600; font-size:14px; color:var(--accent-deep); display:inline-flex; align-items:center; gap:7px; }
.blog-card:hover .read { gap:11px; }

/* Article body */
.prose { max-width:740px; margin:0 auto; }
.prose > p { margin-top:20px; color:var(--slate); font-size:18px; line-height:1.7; }
.prose h2 { font-size:clamp(24px,3vw,32px); margin-top:46px; }
.prose h3 { font-size:21px; margin-top:32px; }
.prose ul,.prose ol { margin-top:18px; padding-left:22px; color:var(--slate); font-size:17.5px; line-height:1.7; }
.prose li { margin-top:8px; }
.prose strong { color:var(--ink); font-weight:600; }
.prose .lede { font-size:20px; color:var(--ink); line-height:1.6; }
.article-meta { font-family:var(--font-mono); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }

/* Contact */
.contact-grid { display:grid; grid-template-columns:1.1fr 0.9fr; gap:clamp(36px,5vw,64px); align-items:start; margin-top:8px; }
.contact-form { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow-sm); }
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field label { font-size:13.5px; font-weight:600; color:var(--ink); }
.field input,.field textarea { font-family:var(--font-body); font-size:15.5px; color:var(--ink); background:var(--paper); border:1px solid var(--line-strong); border-radius:9px; padding:13px 15px; transition:border-color .18s ease,box-shadow .18s ease; }
.field input:focus,.field textarea:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-tint); background:#fff; }
.field textarea { resize:vertical; min-height:120px; }
.contact-info { display:flex; flex-direction:column; gap:22px; }
.info-row { display:flex; gap:14px; align-items:flex-start; }
.info-row .ic { flex:none; width:42px; height:42px; border-radius:10px; background:var(--accent-tint); color:var(--accent-deep); display:grid; place-items:center; font-size:17px; }
.info-row .it { font-size:12px; font-family:var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.info-row .iv { font-size:16px; color:var(--ink); font-weight:500; margin-top:3px; display:block; }
.info-row a.iv:hover { color:var(--accent-deep); }
.socials { display:flex; gap:12px; margin-top:8px; }
.socials a { width:42px; height:42px; border-radius:10px; border:1px solid var(--line-strong); display:grid; place-items:center; font-family:var(--font-mono); font-size:11px; font-weight:600; color:var(--slate); transition:all .18s ease; }
.socials a:hover { border-color:var(--accent); color:var(--accent-deep); background:var(--accent-tint); }

@media (max-width:900px){
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .blog-grid{ grid-template-columns:1fr; }
}
