/* Hero Hieronta — core styles. Class inventory is the contract for all pages. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
  color: var(--c-ink); background: var(--c-paper);
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0 0 var(--sp-4); letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--c-gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 2px; border-radius: 2px; }
.hero :focus-visible, .section--dark :focus-visible, .cta-band :focus-visible,
.chat-head :focus-visible, .trust-strip :focus-visible, .site-footer :focus-visible { outline-color: var(--c-gold-light); }
::selection { background: var(--c-gold-light); color: var(--c-ink); }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200; padding: var(--sp-3) var(--sp-5);
  background: var(--c-ink); color: var(--c-white); border-radius: 0 0 var(--r-s) 0;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.card h2.card__title { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-5); }
.section { padding: var(--section-pad) 0; }
.section--beige { background: var(--c-beige); }
.section--dark { background: var(--c-charcoal); color: var(--c-white); }
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--dark a { color: var(--c-gold-light); }
.eyebrow {
  display: inline-block; font-size: var(--fs-small); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-gold-deep); margin-bottom: var(--sp-3);
}
.section--dark .eyebrow { color: var(--c-gold-light); }
.lead { font-size: 1.155em; color: var(--c-ink-60); max-width: 46ch; }
.section--dark .lead { color: var(--c-white-70); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- demo banner ---------- */
.demo-banner {
  position: relative; z-index: 60; background: var(--c-ink); color: var(--c-white-70);
  font-size: var(--fs-small); text-align: center; padding: var(--sp-2) var(--sp-5);
}
.demo-banner strong { color: var(--c-gold-light); font-weight: 600; }
.demo-banner button {
  background: none; border: 0; color: var(--c-white-70); cursor: pointer; font-size: 1em;
  margin-left: var(--sp-3); text-decoration: underline;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(250,247,242,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28,28,30,.07);
  transition: box-shadow var(--t-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--sh-1); }
.site-header .container { display: flex; align-items: center; gap: var(--sp-5); height: 100%; }
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--c-ink); margin-right: auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: var(--sp-5); }
.main-nav a {
  color: var(--c-ink); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: var(--sp-2) 0; border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease-out);
}
.main-nav a:hover { border-color: var(--c-gold); }
.main-nav a[aria-current="page"] { border-color: var(--c-gold); }
.lang-toggle {
  display: flex; border: 1px solid rgba(28,28,30,.18); border-radius: var(--r-full); overflow: hidden;
}
.lang-toggle button {
  background: none; border: 0; padding: 6px 12px; font: 600 .8rem var(--f-body);
  color: var(--c-ink-60); cursor: pointer; transition: all var(--t-fast);
}
.lang-toggle button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-white); }
.nav-burger { display: none; background: none; border: 0; padding: var(--sp-2); cursor: pointer; }
.nav-burger svg { width: 26px; height: 26px; stroke: var(--c-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer;
  border-radius: var(--r-full); padding: 14px 28px; border: 0;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: linear-gradient(15deg, var(--c-gold), var(--c-gold-light)); color: var(--c-ink); box-shadow: var(--sh-1); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1.5px solid rgba(28,28,30,.25); }
.btn--ghost:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--c-white); border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--c-white); }
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn--nav { padding: 10px 22px; font-size: .92rem; }
.main-nav .btn--nav { display: none; } /* desktop: standalone header pill only; mobile menu shows its own */

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 20%, var(--c-charcoal-2) 0%, var(--c-ink) 62%, #141416 100%);
  color: var(--c-white);
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);
}
.hero__canvas { position: absolute; inset: 0; z-index: 1; }
.hero__canvas canvas { display: block; width: 100%; height: 100%; }
.hero__shaft {
  position: absolute; z-index: 0; top: -20%; right: 6%; width: 42%; height: 140%;
  background: linear-gradient(200deg, rgba(201,162,39,.14), transparent 62%);
  filter: blur(48px); transform: rotate(9deg); pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 620px; }
.hero__title { font-size: var(--fs-hero); font-weight: 600; color: var(--c-white); margin-bottom: var(--sp-5); }
.hero__title em { font-style: normal; color: var(--c-gold-light); }
.hero__sub { font-size: 1.15rem; color: var(--c-white-70); max-width: 44ch; margin-bottom: var(--sp-6); }
.hero__ctas { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero__scrollcue {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: var(--c-white-70); font-size: var(--fs-small); display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: opacity var(--t-slow);
}
.hero__scrollcue::after {
  content: ""; width: 1px; height: 34px; background: linear-gradient(var(--c-gold-light), transparent);
  animation: cue 2.2s var(--ease-inout) infinite;
}
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--c-ink); color: var(--c-white-70); padding: var(--sp-5) 0; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.trust-item { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-small); }
.trust-item svg { width: 22px; height: 22px; stroke: var(--c-gold-light); flex: none; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-5); }
.card {
  background: var(--c-white); border-radius: var(--r-m); padding: var(--sp-6);
  box-shadow: var(--sh-1); transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--c-ink-60); font-size: .97rem; margin-bottom: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--r-s); background: var(--c-beige);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4);
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--c-gold-deep); }
.card--link { text-decoration: none; color: inherit; display: block; }
.card__meta { font-size: var(--fs-small); color: var(--c-ink-60); margin: var(--sp-3) 0; }
.card__price { font-weight: 600; color: var(--c-ink); }

/* ---------- services × body ---------- */
.services-split { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: var(--sp-8); align-items: start; }
.body-figure { position: sticky; top: calc(var(--nav-h) + 40px); }
.body-figure svg { width: 100%; max-height: 74vh; }
.zone { fill: rgba(201,162,39,0); transition: fill 500ms var(--ease-out), filter 500ms; }
.zone.is-active { fill: rgba(201,162,39,.85); filter: drop-shadow(0 0 14px rgba(227,199,102,.9)); }
.service-row {
  background: var(--c-white); border-radius: var(--r-m); padding: var(--sp-6); margin-bottom: var(--sp-5);
  box-shadow: var(--sh-1); border-left: 3px solid transparent; transition: border-color var(--t-slow);
}
.service-row.is-active { border-left-color: var(--c-gold); }
.service-row__meta { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-small); color: var(--c-ink-60); margin: var(--sp-3) 0 var(--sp-4); }
.service-row__meta strong { color: var(--c-ink); }

/* ---------- badges & placeholder flags ---------- */
.badge {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-full);
  background: var(--c-beige); color: var(--c-ink);
}
.badge--gold { background: rgba(201,162,39,.15); color: var(--c-gold-deep); }
.badge--sage { background: rgba(122,139,111,.16); color: #5C6B52; }
.placeholder-flag {
  border-bottom: 1px dashed var(--c-gold-deep); cursor: help; position: relative;
}
.placeholder-flag::after {
  content: "vahvistetaan yhdessä"; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: var(--c-ink); color: var(--c-white); font-size: .72rem; padding: 4px 10px; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast); z-index: 30;
}
.placeholder-flag:hover::after, .placeholder-flag:focus::after { opacity: 1; }

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid rgba(28,28,30,.1); }
.accordion__item { border-bottom: 1px solid rgba(28,28,30,.1); }
.accordion__trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  background: none; border: 0; text-align: left; cursor: pointer;
  font: 600 1.05rem var(--f-body); color: var(--c-ink); padding: var(--sp-5) var(--sp-2);
}
.accordion__trigger svg { width: 20px; height: 20px; stroke: var(--c-gold-deep); flex: none; transition: transform var(--t-base) var(--ease-out); }
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height var(--t-base) var(--ease-out); }
.accordion__panel > div { padding: 0 var(--sp-2) var(--sp-5); color: var(--c-ink-60); max-width: 62ch; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-m); }
.price-table { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-1); }
.price-table th, .price-table td { padding: var(--sp-4) var(--sp-5); text-align: left; border-bottom: 1px solid rgba(28,28,30,.08); }
.price-table th { background: var(--c-ink); color: var(--c-white); font: 600 .9rem var(--f-body); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-weight: 600; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(100% 140% at 50% 0%, var(--c-charcoal-2), var(--c-ink)); color: var(--c-white); text-align: center; }
.cta-band h2 { color: var(--c-gold-light); }
.cta-band .lead { margin-inline: auto; color: var(--c-white-70); }
.cta-band__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-6); }
.cta-band .tel { color: var(--c-white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }

/* ---------- footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-white-70); padding: var(--sp-8) 0 var(--sp-6); font-size: var(--fs-small); }
.site-footer a { color: var(--c-white-70); }
.site-footer a:hover { color: var(--c-white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.footer-grid h3 { font: 600 .95rem var(--f-body); color: var(--c-white); margin-bottom: var(--sp-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer-brand .brand__name { color: var(--c-white); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--sp-5); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }

/* ---------- floating CTA (mobile) ---------- */
.floating-cta {
  display: none; position: fixed; z-index: 90; bottom: 18px; left: 50%; transform: translateX(-50%);
  box-shadow: var(--sh-3);
}

/* ---------- chat widget ---------- */
.chat-launcher {
  position: fixed; z-index: 110; right: 20px; bottom: 20px; width: 58px; height: 58px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(15deg, var(--c-gold), var(--c-gold-light));
  box-shadow: var(--sh-2); display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-fast) var(--ease-out);
}
.chat-launcher:hover { transform: translateY(-2px) scale(1.04); }
.chat-launcher svg { width: 26px; height: 26px; stroke: var(--c-ink); }
/* WhatsApp float — stacked directly above the chat launcher (58px + 20px + 14px gap) */
.hh-wa-float {
  position: fixed; z-index: 110; right: 20px; bottom: 92px; width: 52px; height: 52px;
  border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-2); text-decoration: none; transition: transform var(--t-fast) var(--ease-out), opacity var(--t-base), visibility var(--t-base);
}
.hh-wa-float:hover { transform: translateY(-2px) scale(1.04); background: #1EBE5B; }
.hh-wa-float svg { width: 30px; height: 30px; }
.hh-wa-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.8); }
.chat-panel {
  position: fixed; z-index: 120; right: 20px; bottom: 90px; width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100svh - 120px)); display: none; flex-direction: column;
  background: var(--c-paper); border-radius: var(--r-l); box-shadow: var(--sh-3); overflow: hidden;
  transform-origin: bottom right;
}
.chat-panel.is-open { display: flex; animation: chatIn var(--t-base) var(--ease-out); }
@keyframes chatIn { from { transform: scale(.96); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.chat-head { background: var(--c-ink); color: var(--c-white); padding: var(--sp-4) var(--sp-5); display: flex; align-items: center; gap: var(--sp-3); }
.chat-head__dot { width: 9px; height: 9px; border-radius: 50%; background: #7CC08B; flex: none; }
.chat-head strong { font-size: .98rem; }
.chat-head span { font-size: .78rem; color: var(--c-white-70); display: block; }
.chat-head button { margin-left: auto; background: none; border: 0; color: var(--c-white-70); cursor: pointer; padding: 4px; }
.chat-head button svg { width: 20px; height: 20px; stroke: currentColor; }
.chat-log { flex: 1; overflow-y: auto; padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; animation: msgIn 150ms var(--ease-out); }
@keyframes msgIn { from { transform: translateY(6px); opacity: 0 } to { transform: none; opacity: 1 } }
.chat-msg--bot { background: var(--c-white); box-shadow: var(--sh-1); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg--user { background: var(--c-ink); color: var(--c-white); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg--typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink-60); animation: tp 1s infinite; }
.chat-msg--typing i:nth-child(2) { animation-delay: .16s } .chat-msg--typing i:nth-child(3) { animation-delay: .32s }
@keyframes tp { 0%,60%,100% { opacity: .3 } 30% { opacity: 1 } }
.chat-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0 var(--sp-4) var(--sp-3); }
.chat-chip {
  border: 1px solid rgba(28,28,30,.2); background: var(--c-white); border-radius: var(--r-full);
  padding: 7px 14px; font: 500 .85rem var(--f-body); cursor: pointer; transition: all var(--t-fast);
}
.chat-chip:hover { border-color: var(--c-gold-deep); background: var(--c-beige); }
.chat-input { display: flex; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border-top: 1px solid rgba(28,28,30,.08); background: var(--c-white); }
.chat-input input {
  flex: 1; border: 1px solid rgba(28,28,30,.16); border-radius: var(--r-full); padding: 10px 16px;
  font: 400 .95rem var(--f-body); background: var(--c-paper);
}
.chat-input input:focus { outline: 2px solid var(--c-gold); outline-offset: 1px; }
.chat-input button { border: 0; background: var(--c-ink); color: var(--c-white); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; flex: none; display: flex; align-items: center; justify-content: center; }
.chat-input button svg { width: 18px; height: 18px; stroke: currentColor; }
.chat-privacy { font-size: .72rem; color: var(--c-ink-60); padding: 0 var(--sp-4) var(--sp-3); background: var(--c-white); margin: 0; }

/* ---------- wizard ---------- */
.wizard-wrap { max-width: 880px; margin: 0 auto; }
.wizard-progress { display: flex; gap: var(--sp-2); justify-content: center; margin-bottom: var(--sp-7); }
.wizard-progress i { width: 34px; height: 4px; border-radius: 2px; background: rgba(28,28,30,.12); transition: background var(--t-base); }
.wizard-progress i.is-done { background: var(--c-gold); }
.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: msgIn var(--t-base) var(--ease-out); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-4); margin: var(--sp-5) 0; }
.option-card {
  position: relative; border: 1.5px solid rgba(28,28,30,.14); border-radius: var(--r-m); padding: var(--sp-5);
  background: var(--c-white); cursor: pointer; text-align: left; font: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.option-card:hover { transform: translateY(-2px); box-shadow: var(--sh-1); }
.option-card[aria-pressed="true"] { border-color: var(--c-gold); box-shadow: 0 0 0 1px var(--c-gold), var(--sh-1); }
.option-card strong { display: block; margin-bottom: 4px; }
.option-card small { color: var(--c-ink-60); }
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: var(--sp-2); }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid rgba(28,28,30,.16); border-radius: var(--r-s); padding: 12px 14px;
  font: 400 1rem var(--f-body); background: var(--c-white); color: var(--c-ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--c-gold); outline-offset: 1px; border-color: var(--c-gold); }
.field .field-error { display: none; color: var(--c-error); font-size: var(--fs-small); margin-top: var(--sp-2); }
.field.has-error input, .field.has-error textarea { border-color: var(--c-error); }
.field.has-error .field-error { display: flex; align-items: center; gap: 6px; }
.field-hint { color: var(--c-ink-60); font-size: var(--fs-small); margin-top: var(--sp-2); }
.check-field { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: .95rem; }
.check-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-gold-deep); flex: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-6); }
.summary-card { background: var(--c-white); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: var(--sp-6); }
.summary-card dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-5); margin: 0; }
.summary-card dt { font-weight: 600; font-size: .9rem; }
.summary-card dd { margin: 0; color: var(--c-ink-60); }
.demo-note {
  background: rgba(201,162,39,.1); border: 1px dashed var(--c-gold-deep); border-radius: var(--r-s);
  padding: var(--sp-4); font-size: var(--fs-small); color: var(--c-ink); margin-top: var(--sp-5);
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-group > * { transition-delay: calc(var(--stagger, 0) * 60ms); }

/* ---------- mobile ---------- */
@media (max-width: 1023px) {
  /* backdrop-filter on the sticky header creates a containing block that would trap
     the position:fixed mobile menu inside the 64px header box — drop it on mobile so
     the overlay resolves against the viewport. Header stays solid instead of glass. */
  .site-header { background: var(--c-paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 105; flex-direction: column; justify-content: center; gap: var(--sp-6);
    background: var(--c-paper); display: none; padding: var(--sp-6); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 1.4rem; font-family: var(--f-display); }
  .nav-burger { display: block; }
  .btn--nav { display: none; }
  .main-nav .btn--nav { display: inline-flex; }
  .services-split { grid-template-columns: 1fr; }
  .body-figure { position: relative; top: 0; max-width: 300px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
}
@media (max-width: 767px) {
  .floating-cta { display: inline-flex; }
  .hero__ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn { width: 100%; }
  .chat-panel { right: 16px; }
}

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

/* ---------- print ---------- */
@media print {
  .site-header, .chat-launcher, .chat-panel, .floating-cta, .demo-banner, .hero__canvas, .hero__scrollcue { display: none !important; }
  .hero { min-height: auto; color: var(--c-ink); background: none; }
  .hero__title, .hero__sub { color: var(--c-ink); }
}
