/* ==========================================================================
   Kwemvelo Concepts — site styles
   Brand: #D22630 (Pantone 186-ish red) / #004C97 (Pantone 300-ish blue),
   both sampled directly from the corporate logo.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --red: #d22630;
  --red-dark: #b01d26;
  --red-tint: #fdf0f1;
  --blue: #004c97;
  --navy: #0b1f3b;
  --navy-2: #102a4d;

  --ink: #10203a;
  --body: #4a5b73;
  --muted: #6b7c94;
  --line: #e3e9f2;
  --line-strong: #cdd8e8;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;

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

  --wrap: 1180px;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 58, .06), 0 2px 8px rgba(16, 32, 58, .04);
  --shadow-md: 0 4px 12px rgba(16, 32, 58, .08), 0 12px 32px rgba(16, 32, 58, .07);
  --shadow-lg: 0 10px 24px rgba(16, 32, 58, .1), 0 24px 60px rgba(16, 32, 58, .1);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: .8rem 1.4rem; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #c6d3e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 68ch; }
.measure-sm { max-width: 56ch; }
.center .measure, .center .measure-sm { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; background: var(--red); flex: none;
}
.section--navy .eyebrow { color: #ff8a92; }
.section--navy .eyebrow::before { background: #ff8a92; }
.center .eyebrow::before { display: none; }

.section-head { margin-bottom: clamp(34px, 4vw, 54px); }
.section-head p { font-size: 1.08rem; margin-top: 1rem; }
.section--navy .section-head p { color: #a9bcd6; }

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--body); }
.section--navy .lead { color: #b9c9df; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(210, 38, 48, .28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 8px 22px rgba(210, 38, 48, .34); }

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

.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Text link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  color: var(--blue);
}
.arrow-link svg { transition: transform .2s var(--ease); }
.arrow-link:hover { color: var(--red); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  color: var(--ink); padding: .6rem .85rem; border-radius: var(--radius);
  position: relative; transition: color .18s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); }

.header-cta { margin-left: 8px; padding: .72rem 1.3rem; font-size: .9rem; }

/* `.nav a` (0,1,1) outranks `.btn--primary` (0,1,0) on specificity, which left
   the header CTA rendering in --ink on the red fill. Restate colour for the
   button inside the nav, and suppress the nav underline pseudo-element. */
.nav a.btn, .nav a.btn:hover, .nav a.btn:focus { color: #fff; }
.nav a.btn::after { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
  transition: background .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0a1b34 0%, var(--navy) 42%, #0a3a72 100%);
  color: #c6d3e6;
  padding: clamp(72px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/brand/chevron-motif.svg");
  background-repeat: no-repeat;
  background-position: right -80px top 50%;
  background-size: 620px auto;
  opacity: .06; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero h1 em { font-style: normal; color: #ff5c66; }
.hero-sub {
  font-size: clamp(1.06rem, 1rem + .45vw, 1.28rem);
  color: #b9c9df; max-width: 60ch; margin-top: 1.4rem;
}
.hero .btn-row { margin-top: 2.3rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px; margin-top: clamp(46px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 34px;
}
.hero-stat .n {
  font-family: var(--font-head); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em;
}
.hero-stat .l {
  font-size: .84rem; letter-spacing: .1em; text-transform: uppercase;
  color: #8fa5c4; margin-top: .6rem; font-weight: 500;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0a1b34 0%, var(--navy) 55%, #0a3a72 130%);
  color: #b9c9df; padding: clamp(56px, 7vw, 92px) 0 clamp(50px, 6vw, 76px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/brand/chevron-motif.svg");
  background-repeat: no-repeat; background-position: right -110px center; background-size: 480px auto;
  opacity: .055; pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #b9c9df; margin-top: 1.2rem; font-size: clamp(1.02rem, 1rem + .3vw, 1.18rem); max-width: 62ch; }

.crumbs {
  display: flex; gap: .5rem; align-items: center; font-size: .84rem;
  color: #8fa5c4; margin-bottom: 1.4rem; flex-wrap: wrap;
}
.crumbs a { color: #8fa5c4; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; }

/* ---------- Client marquee ---------- */
.clients { padding: clamp(40px, 5vw, 58px) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.clients-label {
  text-align: center; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px;
}
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 62s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 52px; width: auto; margin: 0 34px; flex: none;
  /* brightness/contrast keep the pale logos legible once colour is removed */
  filter: grayscale(100%) contrast(1.15) brightness(.72); opacity: .9;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
  object-fit: contain;
}
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .97rem; }

.card--link::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
}

/* Card numbered/iconed marker */
.card-mark {
  width: 46px; height: 46px; border-radius: var(--radius); flex: none;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--red-tint); color: var(--red);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
}
.card-mark svg { width: 22px; height: 22px; }

/* Lifecycle stage cards */
.stage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
  border-top: 3px solid var(--red);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stage:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stage-n {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem;
}
.stage h3 { margin-bottom: .9rem; }
.stage p { font-size: .96rem; color: var(--body); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  background: var(--bg-alt); color: var(--blue); border: 1px solid var(--line);
  padding: .28rem .65rem; border-radius: 100px;
}

/* ---------- Feature list (check rows) ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--red); }
.section--navy .checklist li { color: #c6d3e6; }
.section--navy .checklist svg { color: #ff5c66; }

/* ---------- Split panel ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(34px, 5vw, 68px); align-items: center; }
.split--wide { grid-template-columns: 1fr 1fr; }

.panel {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
}
.panel--navy { background: var(--navy-2); border-color: rgba(255, 255, 255, .1); color: #c6d3e6; }
.panel--navy h3 { color: #fff; }

/* ---------- Process timeline ---------- */
.process { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: 26px;
  padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.step:last-child { border-bottom: 0; }
.step-n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: 1.15rem; flex: none; position: relative;
}
.step:nth-child(odd) .step-n { background: var(--red); }
.step h3 { margin-bottom: .55rem; }
.step ul { list-style: none; display: grid; gap: 9px; margin-top: .9rem; }
.step ul li { position: relative; padding-left: 20px; font-size: .97rem; }
.step ul li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%;
}

/* ---------- Sectors ---------- */
.sector {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sector-icon {
  width: 42px; height: 42px; flex: none; border-radius: var(--radius);
  background: rgba(0, 76, 151, .08); color: var(--blue);
  display: grid; place-items: center;
}
.sector-icon svg { width: 21px; height: 21px; }
.sector h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.sector p { font-size: .93rem; margin: 0; }

/* ---------- Team ---------- */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.person-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar {
  width: 60px; height: 60px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff;
  background: var(--navy); letter-spacing: .01em;
}
.person:nth-child(3n+2) .avatar { background: var(--red); }
.person:nth-child(3n+3) .avatar { background: var(--blue); }
.person h3 { font-size: 1.12rem; margin: 0; }
.person .role { font-size: .86rem; color: var(--red); font-weight: 600; margin-top: .15rem; }
.person p { font-size: .95rem; }
.person .creds {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted);
}

/* ---------- Values ---------- */
.value { padding: 28px 26px; border-left: 3px solid var(--red); background: var(--bg-alt); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.value h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.value p { font-size: .95rem; margin: 0; }

/* ---------- Quote / statement ---------- */
.statement {
  border-left: 4px solid var(--red); padding: 6px 0 6px 28px;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.4;
  color: var(--ink); letter-spacing: -.015em;
}
.section--navy .statement { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #0a3a72 100%);
  color: #c6d3e6; padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/brand/chevron-motif.svg");
  background-repeat: no-repeat; background-position: right -60px center; background-size: 400px auto;
  opacity: .06;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c9df; margin-top: 1rem; }
.cta-inner { display: flex; gap: 34px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-inner > div:first-child { flex: 1 1 420px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 60px); align-items: start; }

/* Paired fields (name/email, phone/company) — collapses to one column early
   because the form sits in a ~550px column on desktop. */
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 20px; }

.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: var(--ink); margin-bottom: .5rem;
}
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 76, 151, .12);
}
.field input:disabled, .field textarea:disabled { background: var(--bg-alt); cursor: not-allowed; }
.field .err { color: var(--red); font-size: .84rem; margin-top: .4rem; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .err { display: block; }

/* honeypot — visually removed but not display:none (some bots skip those) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .87rem; color: var(--muted); margin-top: 1rem; }

.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #eef8f0; border: 1px solid #b7e0c1; color: #1d6b32; }
.form-status.is-err { background: var(--red-tint); border: 1px solid #f3c2c5; color: var(--red-dark); }

.contact-card {
  background: var(--navy); color: #c6d3e6; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
}
.contact-card h3 { color: #fff; margin-bottom: 1.4rem; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 20px; height: 20px; color: #ff5c66; margin-top: 3px; }
.contact-list .k {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8fa5c4; font-weight: 600; margin-bottom: .2rem;
}
.contact-list .v { color: #fff; font-size: 1rem; }
.contact-list a.v:hover { color: #ff8a92; }

.bee-badge {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.bee-badge .t { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.05rem; }
.bee-badge .s { font-size: .88rem; color: #8fa5c4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #93a7c4; padding: clamp(52px, 6vw, 76px) 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px;
  padding-bottom: 46px;
}
.footer-logo img { height: 62px; width: auto; margin-bottom: 20px; }
.site-footer h4 {
  font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin: 0 0 20px;
}
.site-footer p { font-size: .95rem; color: #93a7c4; }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { color: #93a7c4; font-size: .96rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 14px; font-size: .96rem; }
.footer-contact .k { color: #6e83a3; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-contact a, .footer-contact span.v { color: #dbe5f2; display: block; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .87rem; color: #6e83a3;
}

/* ---------- Reveal on scroll ----------
   Scoped to .js so that with JavaScript disabled (or if main.js fails to load)
   every .reveal block stays fully visible instead of being stuck at opacity 0.
   The .js class is set by a tiny inline script in <head>. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Partner (AiAsterion) ---------- */
.partner-card {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(28px, 4vw, 52px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.partner-logo {
  display: grid; place-items: center; padding: 22px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.partner-logo img { max-height: 82px; width: auto; }
.partner-card h3 { margin-bottom: .8rem; }
.partner-modules { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.partner-modules .tag { background: #fff; }

@media (max-width: 760px) {
  .partner-card { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.error-page { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.error-code {
  font-family: var(--font-head); font-size: clamp(4.5rem, 3rem + 8vw, 9rem); font-weight: 800;
  color: var(--red); line-height: 1; letter-spacing: -.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split--wide { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 78px 0 auto; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
    max-height: calc(100dvh - 78px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a::after { display: none; }
  .header-cta { margin: 16px 0 0; width: 100%; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .hero::after, .page-hero::after, .cta-band::after { background-size: 340px auto; background-position: right -110px top 30%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .marquee-track img { height: 36px; margin: 0 22px; }
  .brand img { height: 40px; }
}

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

@media print {
  .site-header, .nav-toggle, .cta-band, .marquee { display: none; }
  body { color: #000; }
}
