/* Agnostic Consulting Group — site styles */

:root {
  --brand: #365692;
  --brand-dark: #24396a;
  --brand-deep: #16233f;
  --brand-light: #e9eef7;
  --accent: #2fb5e0;
  --ink: #1b2233;
  --muted: #5a6478;
  --line: #dde3ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 35, 63, 0.08);
  --max: 1180px;
  --font-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: 0.85em 1.6em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-light); color: var(--brand-deep); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.97rem;
  color: var(--ink); position: relative; padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width 0.2s;
}
.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--brand); }
.nav-links .btn { padding: 0.6em 1.3em; color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--brand-deep); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links li a::after { display: none; }
  .nav-links .btn { margin-top: 10px; justify-content: center; }
  .brand img { height: 38px; }
}

/* Language menu */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; user-select: none;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::before {
  content: ""; width: 15px; height: 15px; opacity: 0.7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2233' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lang-menu summary::after { content: "▾"; font-size: 0.75rem; opacity: 0.6; }
.lang-menu[open] summary { border-color: var(--brand); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  list-style: none; margin: 0; padding: 6px; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.lang-menu li a {
  display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.93rem; color: var(--ink);
}
.lang-menu li a::after { display: none; }
.lang-menu li a b { font-family: var(--font-head); font-weight: 600; color: var(--brand); width: 24px; }
.lang-menu li a:hover { background: var(--bg-soft); }
.lang-menu li a[aria-current] { background: var(--brand-light); }
@media (max-width: 1080px) {
  .lang-item { padding: 12px 0 4px; }
  .lang-menu ul { position: static; box-shadow: none; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(47,181,224,0.28), transparent 60%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.18;
  background-image: url("../img/circuit.svg");
  background-size: 520px; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.85); }
.hero .eyebrow { color: #8fdcf5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-art { justify-self: end; width: min(420px, 100%); filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

.page-hero .container { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 90px; }
.page-hero h1 { max-width: 820px; }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 80px; }
  .hero-art { justify-self: start; width: 200px; order: -1; }
}
@media (max-width: 640px) {
  .hero-art { width: 96px; margin-bottom: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

@media (max-width: 880px) { .section { padding: 68px 0; } }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 1000px) and (min-width: 761px) { .grid-3.trio { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-3.trio { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .more { margin-top: auto; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.card .more::after { content: " →"; }

.icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }

/* Split rows (image/text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 64px; }
}

.panel {
  aspect-ratio: 4 / 3; border-radius: 20px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.panel::before {
  content: ""; position: absolute; inset: 0; opacity: 0.22;
  background-image: url("../img/circuit.svg"); background-size: 360px;
}
.panel.alt { background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%); }
.panel img { position: relative; width: 42%; }
.panel .panel-label {
  position: relative; color: #fff; font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; text-align: center; padding: 0 24px;
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 0.7em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23365692'%3E%3Cpath d='M8 13.6 4.4 10l-1.2 1.2L8 16l9-9-1.2-1.2z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Dark band */
.band {
  background: var(--brand-deep); color: rgba(255,255,255,0.86); position: relative; overflow: hidden;
}
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #8fdcf5; }
.band .value { border-left: 2px solid rgba(143,220,245,0.4); padding-left: 20px; }
.band .value p { color: rgba(255,255,255,0.72); font-size: 0.97rem; }

/* Stats / process */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.9rem; color: var(--accent);
}
.step p { color: var(--muted); font-size: 0.97rem; }

/* Service detail */
.service { scroll-margin-top: 100px; }
.service + .service { border-top: 1px solid var(--line); padding-top: 72px; margin-top: 72px; }
.service .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.service .tags li {
  font-size: 0.85rem; background: var(--brand-light); color: var(--brand-dark);
  padding: 6px 12px; border-radius: 999px; font-weight: 500;
}

/* Portfolio */
.case { overflow: hidden; padding: 0; }
.case .panel { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.case-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.case-meta { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 0.6em; font-family: var(--font-head); }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 24px; padding: 64px 56px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: 0.15;
  background-image: url("../img/circuit.svg"); background-size: 420px;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 0.3em; }
.cta p { color: rgba(255,255,255,0.85); margin: 0; max-width: 560px; }
@media (max-width: 640px) { .cta { padding: 44px 28px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item .icon { margin: 0; flex: none; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: 0.2em; }
.contact-item p { margin: 0; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form { padding: 26px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(54,86,146,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.72); padding: 72px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55em; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.87rem;
}

/* Hero chips */
.hero-chips { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  font-size: 0.85rem; font-weight: 500; color: #fff;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08);
  padding: 6px 14px; border-radius: 999px;
}

/* Lifecycle strip */
.lifecycle-strip { background: var(--brand-deep); border-top: 1px solid rgba(255,255,255,0.08); }
.lifecycle {
  list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 4px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.85);
}
.lifecycle li { display: flex; align-items: center; gap: 4px; }
.lifecycle li:not(:last-child)::after { content: "→"; color: var(--accent); margin-left: 10px; }
@media (max-width: 640px) { .lifecycle { justify-content: flex-start; font-size: 0.85rem; } }

/* Card extras */
.card-num {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.4em;
}
.card-feature { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.card.package { padding: 28px; }
.card.package:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card-feature.package:hover { border-color: var(--brand); }
.also { margin-top: 32px; text-align: center; color: var(--muted); }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }
.outcome { background: #fff; border-radius: var(--radius); padding: 26px 22px; border-top: 3px solid var(--brand); }
.outcome h3 { font-size: 1.08rem; }
.outcome p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Offer lists (service pages) */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }
.offer { padding: 20px 0 20px 22px; border-left: 3px solid var(--brand-light); transition: border-color 0.2s; }
.offer:hover { border-left-color: var(--accent); }
.offer h3 { font-size: 1.08rem; margin-bottom: 0.35em; }
.offer p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.section-soft .offer { background: #fff; border-radius: 0 var(--radius) var(--radius) 0; padding-right: 20px; }

.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; gap: 28px; } }
.intro-text { font-size: 1.2rem; line-height: 1.7; color: var(--ink); margin: 0; }
.model-box { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; border-left: 4px solid var(--accent); }
.model-box .eyebrow { margin-bottom: 0.5rem; }
.model-box p { margin: 0; font-family: var(--font-head); font-weight: 500; color: var(--brand-deep); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 0.95rem; }

.pillar-nav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 880px) { .pillar-nav { grid-template-columns: 1fr; } }
.pillar-nav a {
  display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-head); font-weight: 500; color: var(--ink); transition: border-color 0.2s, background 0.2s;
}
.pillar-nav a span { color: var(--accent); font-weight: 600; }
.pillar-nav a:hover { border-color: var(--brand); }
.pillar-nav a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pillar-nav a[aria-current="page"] span { color: #8fdcf5; }

/* Commercial models table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.models { width: 100%; border-collapse: collapse; min-width: 560px; }
.models th, .models td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.models th { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.models tr:last-child td { border-bottom: 0; }
.models td:first-child { font-family: var(--font-head); font-weight: 500; color: var(--brand-deep); }

/* Case studies */
.cases { display: grid; gap: 28px; }
.case-study {
  border: 1px solid var(--line); border-radius: 20px; padding: 40px; background: #fff;
  scroll-margin-top: 100px; position: relative; overflow: hidden;
}
.case-study::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--brand), var(--accent)); }
.case-head { margin-bottom: 24px; }
.case-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 0.5em; }
.case-head .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.case-head .tags li { font-size: 0.82rem; background: var(--brand-light); color: var(--brand-dark); padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.case-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 44px; }
.case-grid h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5em; }
.case-grid p { color: var(--ink); }
.results { list-style: none; margin: 0; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); display: grid; gap: 18px; align-content: start; }
.results li { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.results strong { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--brand); line-height: 1.25; margin-bottom: 2px; }
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; gap: 20px; } .case-study { padding: 28px 24px 28px 28px; } }

.proof .card .stat { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--brand); line-height: 1.1; margin-bottom: 0.3em; }
.proof .card .case-meta { margin-bottom: 0.8em; }
.related { margin: -0.6em 0 1.4em; font-size: 0.93rem; color: var(--muted); }
.related a { font-weight: 500; }

/* Badges */
.badge {
  display: inline-block; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--brand); color: #fff; padding: 5px 12px; border-radius: 999px; margin-bottom: 1rem;
}
.badge-soft { background: var(--brand-light); color: var(--brand-dark); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto; padding: 18px 20px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(22, 35, 63, 0.18);
  display: flex; align-items: center; gap: 18px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.93rem; line-height: 1.5; flex: 1; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 0.6em 1.3em; font-size: 0.93rem; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: rgba(255,255,255,0.72); text-align: left;
}
.link-button:hover { color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
