/* sivut24.fi – tyylit */
:root {
  --bg: #1B1A18;
  --surface: #24221F;
  --surface-2: #2C2925;
  --deep: #111010;
  --ink: #F1ECE3;
  --ink-2: #CDC5B8;
  --muted: #A39A8C;
  --line: #3A3631;
  --line-2: #4D4740;
  --line-3: #7A7266;
  --gold: #C2A267;
  --gold-hi: #D5BA82;
  --on-gold: #16140F;
  --orange: #B8661A;
  --red: #B03A2E;
  --font: 'Roboto Slab', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--gold-hi); }
input, textarea, button { font-family: var(--font); }
input:focus, textarea:focus, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 2px;
}
::selection { background: var(--gold); color: var(--on-gold); }
input::placeholder, textarea::placeholder { color: #8C8477; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 12px 16px; border-radius: 10px; background: var(--gold); color: var(--on-gold); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap--narrow { max-width: 900px; }
.band { background: var(--surface); }
.band--2 { background: var(--surface-2); }
.band--deep { background: var(--deep); }
.pad { padding-top: 112px; padding-bottom: 112px; }
.row { display: flex; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.small { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.h1 { margin: 0; font-size: 80px; line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; }
.h2 { margin: 0; font-size: 56px; line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; }
.h3 { margin: 0; font-size: 22px; font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 10px;
  font: 600 17px var(--font); text-decoration: none; cursor: pointer;
}
.btn--gold { background: var(--gold); color: var(--on-gold); border: 0; }
.btn--gold:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn--outline-gold { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--on-gold); }
.btn--line { background: transparent; border: 1.5px solid var(--line-3); color: var(--ink); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn--md { min-height: 48px; padding: 0 20px; font-size: 16px; }
.btn--lg { min-height: 56px; padding: 0 26px; }
.btn--block { display: flex; width: 100%; }
.linkbtn {
  align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: transparent;
  font: 600 16px var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: 600 15px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chip--round { border-radius: 999px; border-width: 1px; font-weight: 500; }

/* ---------- header ---------- */
.nav { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.logo { text-decoration: none; color: var(--ink); font-size: 25px; font-weight: 700; letter-spacing: -0.035em; }
.logo:hover { color: var(--ink); }
.logo .n { color: var(--gold); }
.logo .tld { color: var(--muted); font-weight: 500; }
.navlinks { display: flex; gap: 32px; align-items: center; font-size: 16px; font-weight: 500; }
.navlinks a { text-decoration: none; }
.navlinks [aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-end { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding-top: 48px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-end; }
.hero .h1 { flex: 1.5 1 560px; }
.hero-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- before / after stage ---------- */
.stage-sec { padding-bottom: 96px; }
.stage { padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid rgba(194, 162, 103, 0.6); display: flex; flex-direction: column; gap: 28px; }
.stage-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stage-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.stage-list { flex: 1 1 200px; min-width: 0; max-width: 260px; display: flex; flex-direction: column; gap: 14px; }
.stage-list h2 { margin: 0; font-size: 20px; font-weight: 600; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.4; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: 0 0 18px; margin-top: 2px; }
.stage-fig { flex: 2 1 260px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage-fig figcaption { font-size: 14px; color: var(--ink-2); text-align: center; }

.frame { position: relative; height: 460px; overflow: hidden; background: #FFFFFF; color: #16140F; font-family: var(--font); }
.frame.is-mob { width: 232px; border-radius: 36px; border: 8px solid #0C0B0A; }
.frame.is-desk { width: 100%; border-radius: 14px; border: 1px solid var(--line-2); }
.frame .layer { position: absolute; inset: 0; }
.frame .view { display: none; }
.frame.is-mob .view--mob, .frame.is-desk .view--desk { display: flex; }

/* new site mock */
.after { background: #FCFCFB; flex-direction: column; }
.after-desk-top { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; }
.after-name { font-size: 15px; font-weight: 700; }
.after-nav { display: flex; gap: 14px; font-size: 12px; color: #59625E; align-items: center; }
.after-pill { padding: 5px 10px; border-radius: 6px; font-weight: 600; }
.after-hero { flex: 1; margin: 0 14px; border-radius: 12px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.after-eyebrow { font-size: 11px; }
.after-tagline { font-size: 34px; line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; max-width: 380px; }
.after-cta { align-self: flex-start; padding: 9px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.after-tiles { display: flex; gap: 10px; padding: 12px 14px 14px; }
.after-tiles span { flex: 1; padding: 12px; border-radius: 8px; font-size: 12px; font-weight: 600; }

.view--mob.after { gap: 8px; padding: 22px 10px 10px; }
.after-mob-top { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.after-mob-top .after-name { font-size: 12px; }
.view--mob .after-hero { flex: 0 0 auto; margin: 0; border-radius: 10px; padding: 18px 14px; gap: 8px; justify-content: flex-start; }
.view--mob .after-eyebrow { font-size: 9px; }
.view--mob .after-tagline { font-size: 21px; line-height: 1.05; letter-spacing: -0.02em; }
.view--mob .after-cta { align-self: stretch; margin-top: 4px; padding: 9px; font-size: 10px; text-align: center; }
.after-mob-tiles { display: flex; flex-direction: column; gap: 8px; }
.after-mob-tiles span { padding: 11px 10px; border-radius: 6px; font-size: 10px; font-weight: 600; }
.after-call { margin-top: auto; padding: 10px; border-radius: 6px; background: #1F3B34; color: #F4F3EF; font-size: 10px; font-weight: 600; text-align: center; }

/* old site mock */
.before { overflow: hidden; }
.before-inner { padding: 18px; }
.view--mob .before-inner { width: 875px; transform: scale(0.2377); transform-origin: top left; }
.frame .before .view { display: none; }
.frame.is-mob .before .view--mob, .frame.is-desk .before .view--desk { display: block; }
.before-banner { text-align: center; font-size: 13px; padding: 4px; }
.before-welcome { font-size: 28px; text-align: center; font-weight: 700; margin: 14px 0 6px; }
.before-rule { height: 3px; margin-bottom: 12px; }
.before-cols { display: flex; gap: 14px; }
.before-links { width: 26%; font-size: 13px; text-decoration: underline; line-height: 2; padding: 6px 10px; white-space: pre-line; }
.before-body { flex: 1; font-size: 13px; line-height: 1.5; }
.before-box { margin-top: 14px; padding: 6px; border: 2px inset #999999; background: #FFFFFF; color: #222222; font-size: 12px; }
.before-foot { margin-top: 14px; font-size: 11px; opacity: 0.75; }

.divider { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--gold); pointer-events: none; }
.divider span { position: absolute; top: 50%; left: -21px; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.slider { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.slider::-webkit-slider-thumb { width: 48px; height: 440px; cursor: ew-resize; }
.slider:focus-visible + .divider, .frame:focus-within .divider span { outline: 3px solid var(--gold-hi); outline-offset: 2px; }

/* ---------- client names ---------- */
.clients { margin: 0 0 96px; background: linear-gradient(100deg, #B8975C 0%, #CDB27C 48%, #BB9A5F 100%); color: var(--on-gold); box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.35), inset 0 -1px 0 rgba(22, 20, 15, 0.25); }
.clients .wrap { padding-top: 30px; padding-bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.clients h2 { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 400; letter-spacing: 0.03em; color: #3A2F1C; }
.clients h2::before, .clients h2::after { content: ""; width: 36px; height: 1px; background: rgba(22, 20, 15, 0.35); }
.logos { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 10px; }
.logos li { padding: 2px 34px; font: 400 21px/1.3 var(--font); letter-spacing: 0.01em; color: var(--on-gold); white-space: nowrap; }
.logos li + li { border-left: 1px solid rgba(22, 20, 15, 0.28); }

/* ---------- human ---------- */
.human { display: flex; flex-wrap: wrap; gap: 56px 96px; }
.human-main { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.human-main .h2 { max-width: 620px; }
.human-main .lead { max-width: 600px; }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 18px; font-weight: 600; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.contact-card { flex: 1 1 340px; min-width: 0; align-self: flex-start; padding: 40px; border-radius: 20px; background: var(--deep); display: flex; flex-direction: column; gap: 24px; }
.contact-card .quote { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
.contact-card .small { padding-top: 22px; border-top: 1px solid var(--line); }
.phone-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 600; }
.phone-btn { align-self: flex-start; font-size: 18px; min-height: 52px; padding: 0 20px; }
.phone-btn--gold { border-color: var(--gold); }
[hidden] { display: none !important; }

/* ---------- process ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; margin-bottom: 56px; }
.sec-head .h2 { max-width: 680px; }
.sec-head p { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.track { position: relative; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 28px; }
.track::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 80%; border-radius: 3px; background: var(--deep); }
.track::after { content: ""; position: absolute; left: 80%; top: -5px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--gold); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .k { font-size: 15px; font-weight: 600; color: var(--muted); }
.steps .k--hot { color: var(--orange); }

/* ---------- references ---------- */
.refs-head { margin-bottom: 48px; }
.refs { display: flex; flex-direction: column; gap: 32px; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 28px; }
.ref { display: flex; flex-direction: column; gap: 14px; }
.ref-media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid rgba(194, 162, 103, 0.55); background: #26241F; }
.ref:nth-child(3n+2) .ref-media { background: #2A2622; }
.ref:nth-child(3n) .ref-media { background: #232426; }
.laptop { position: absolute; left: 7%; top: 11%; width: 76%; }
.laptop-screen { padding: 6px 6px 8px; border-radius: 10px 10px 0 0; background: #0C0B0A; }
.laptop-screen div { aspect-ratio: 1200 / 642; overflow: hidden; border-radius: 2px; background: var(--surface); }
.laptop img, .phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop-base { position: relative; margin: 0 -7%; height: 9px; border-radius: 0 0 9px 9px; background: linear-gradient(#D3D5CF, #A9ADA6); }
.laptop-base::after { content: ""; position: absolute; left: 41%; top: 0; width: 18%; height: 4px; border-radius: 0 0 5px 5px; background: #8E938B; }
.phone { position: absolute; right: 6%; bottom: 7%; width: 22%; aspect-ratio: 9 / 18.5; padding: 4px; border-radius: 16px; background: #0C0B0A; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.8); }
.phone div { width: 100%; height: 100%; overflow: hidden; border-radius: 12px; background: var(--surface); }
.ref-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); }
.ref-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ref-title h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.ref-title span { font-size: 14px; color: var(--muted); }
.ref-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; }

/* ---------- pricing ---------- */
.pricing { display: flex; flex-wrap: wrap; gap: 56px 96px; align-items: flex-start; }
.pricing-main { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pricing-main .lead { max-width: 520px; }
.price-items { margin-top: 12px; display: flex; flex-direction: column; gap: 28px; max-width: 520px; }
.price-item { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.price-item .top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price-item .amt { font-size: 22px; font-weight: 600; white-space: nowrap; }
.price-item .amt--muted { font-size: 18px; font-weight: 500; color: var(--muted); }
.receipt-wrap { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.receipt { width: 100%; max-width: 440px; padding: 36px 34px 30px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 #DEDDD6, 0 24px 48px -28px rgba(0, 0, 0, 0.6); transform: rotate(-1.2deg); font-variant-numeric: tabular-nums; }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 2px dashed var(--line); }
.receipt-head .logo { font-size: 20px; }
.receipt-head small { font-size: 14px; color: var(--muted); }
.receipt h3 { margin: 20px 0 14px; font-size: 18px; font-weight: 600; }
.receipt ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 16px; }
.receipt li { display: flex; align-items: baseline; gap: 8px; }
.receipt li::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.receipt li b { order: 2; color: var(--gold); font-weight: 600; }
.receipt-total { margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.receipt-total span:first-child { font-size: 18px; font-weight: 600; }
.receipt-total span:last-child { font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.receipt-vat { margin: 8px 0 22px; text-align: right; font-size: 14px; color: var(--muted); }

/* ---------- forms ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px 96px; }
.panel { padding: 36px; border-radius: 20px; background: var(--surface); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row .field { flex: 1 1 220px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea { min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 16px; background: var(--surface); color: var(--ink); }
.field textarea { padding: 14px 16px; resize: vertical; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-error { color: #F0A49A; font-size: 15px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #E07A6E; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
button[disabled] { opacity: 0.6; cursor: progress; }
.form-status { display: flex; flex-direction: column; gap: 12px; }
.form-status strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.form-status span { font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* ---------- analysis ---------- */
.analysis { align-items: center; }
.analysis > div:first-child { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.analysis .lead { max-width: 520px; }
.analysis .panel { flex: 1 1 420px; min-width: 0; }

/* ---------- self test ---------- */
.test { align-items: flex-start; }
.test-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.test-side .h2 { font-size: 48px; line-height: 1.04; letter-spacing: -0.035em; }
.test-side > p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.result { margin-top: 8px; padding: 28px; border-radius: 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
.result.is-alert { background: var(--deep); }
.result .count { font-size: 15px; font-weight: 500; opacity: 0.85; }
.result .title { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.result .text { font-size: 16px; line-height: 1.6; }
.result .btn { margin-top: 6px; align-self: flex-start; }
.questions { flex: 1 1 540px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.questions li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.questions li > span { flex: 1 1 280px; min-width: 0; font-size: 17px; line-height: 1.45; }
.yesno { display: flex; gap: 6px; }
.yesno button { min-height: 44px; min-width: 72px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 15px var(--font); cursor: pointer; }
.yesno button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { font-size: 28px; font-weight: 400; transition: transform .2s; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 680px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .faq .pm { transition: none; } }

/* ---------- contact ---------- */
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info .h2 { font-size: 60px; line-height: 1; letter-spacing: -0.045em; }
.contact-lines { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 18px; color: var(--ink-2); }
.contact-lines .phone-link { font-size: 28px; gap: 0; min-height: 44px; }
.contact-form { flex: 1.2 1 520px; min-width: 0; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: var(--muted); }
.footer .wrap { padding-top: 80px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer-brand { flex: 1.4 1 280px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { font-size: 30px; }
.footer-brand p { margin: 0; max-width: 340px; font-size: 17px; line-height: 1.55; }
.footer nav { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer nav h2 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--gold-hi); }
.footer-base { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.footer--slim .wrap { padding-top: 40px; padding-bottom: 40px; }
.footer--slim .footer-base { padding-top: 0; border-top: 0; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.footer-contact .linkbtn, .footer-contact .phone-link { font-size: 15px; }

/* ---------- references page ---------- */
.page-hero { padding-top: 48px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px 80px; align-items: flex-end; }
.page-hero .h1 { flex: 1.5 1 520px; font-size: 76px; }
.page-hero p { flex: 1 1 320px; margin: 0; padding-bottom: 8px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.cta-band { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; justify-content: space-between; }
.cta-band .h2 { max-width: 720px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .logos li + li { border-left: 0; }
  .logos li { padding: 4px 14px; font-size: 18px; }
}
@media (max-width: 900px) {
  .navlinks { display: none; }
  .h1, .page-hero .h1 { font-size: 46px; }
  .h2, .test-side .h2, .contact-info .h2 { font-size: 34px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .stage { padding: 20px; }
  .pad { padding-top: 80px; padding-bottom: 80px; }
  .contact-card, .panel { padding: 24px; }
  .ref-grid { grid-template-columns: 1fr; }
  .receipt { padding: 28px 22px 24px; }
  .receipt-total span:last-child { font-size: 42px; }
  .hero .h1, .page-hero .h1, .human-main, .contact-form, .questions { flex-basis: 100%; }
}
