/* ==========================================================================
   Aamusta Iltaan – sivuston tyylit
   Konsepti: päivän kaari aamusta iltaan · lämmin kerma, aamuruskon aprikoosi,
   illan syvä sinivihreä. Iso, selkeä typografia ikäihmisille ja omaisille.
   ========================================================================== */

@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Värimaailma (valittu 29.9.2026, vaihtoehto A "Luotettava yönsininen"): tumma yönsininen
     painikkeissa ja korostuksissa, lämmin vaalea hiekkapohja. Logon koralli jää logoon ja pieniin
     yksityiskohtiin ja kartan alueisiin, jotta ilme pysyy rauhallisena ja luotettavana. */
  --brand: #1F3A5F;
  --brand-2: #16304F;
  --brand-3: #C9D6E4;
  --cream: #F9F5EE;
  --cream-2: #F2EBDF;
  --cream-3: #E9DFCF;
  --paper: #FFFFFF;
  --header-bg: rgba(249, 245, 238, .92);
  --ink: #1F2733;
  --ink-2: #4A5360;
  --ink-3: #5B6571;
  --line: #E7DFD2;
  --line-2: #D3C8B6;
  --dusk: #1C2B3A;
  --dusk-2: #14202C;
  --dusk-3: #2C4056;
  --lake: #1F3A5F;
  --sun: #FD8270;
  --sun-2: #E8735F;
  --peach: #F4EADB;
  --peach-2: #E8D7BD;
  --sky: #EEF3F8;
  --sand: #EFE3CF;
  --sand-ink: #6B4E2E;
  --sage: #E6EEE4;
  --cta: #1F3A5F;
  --cta-2: #16304F;
  --ok: #2E7D4F;
  --err: #B3261E;
  --water: #D3E3EA;
  --water-2: #B7CFD9;
  --on-dark: #F2F4F7;
  --on-dark-2: #D3DAE2;
  --on-dark-3: #AEB8C4;
  --on-dark-4: #98A4B1;
  --radius-s: 6px;
  --radius: 8px;
  --radius-l: 12px;
  --shadow-s: none;
  --shadow: 0 2px 6px rgba(20, 32, 44, .06);
  --shadow-l: 0 4px 14px rgba(20, 32, 44, .1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step-0: clamp(1.125rem, 1.06rem + .3vw, 1.25rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Linkit: tumma teksti + selvä koralli alleviivaus; hover tummentaa tekstin tiilensävyyn. */
a { color: var(--lake); text-decoration-line: underline; text-decoration-color: var(--brand); text-decoration-thickness: max(2px, .11em); text-underline-offset: .2em; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--cta-2); text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: manual; font-family: var(--font-head); color: var(--dusk); font-weight: 700; line-height: 1.14; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.6rem + 2.7vw, 3.9rem); line-height: 1.06; letter-spacing: -.018em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .45vw, 1.5rem); }
.lead { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); color: var(--ink-2); line-height: 1.55; }
strong, b { font-weight: 700; }
small { font-size: .88em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }
:focus-visible { outline: 3px solid var(--dusk); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.22em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-3); }
main:focus { outline: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dusk); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.skip-link:hover { color: #fff; }

mark.vahvista { background: #FFF1B8; color: #5A4300; border: 1px dashed #D9A400; border-radius: 6px; padding: .05em .4em; font-size: .88em; font-weight: 600; white-space: normal; }
.preview-bar { background: var(--dusk-2); color: var(--on-dark); font-size: .9rem; text-align: center; padding: .45rem var(--gutter); }
.preview-bar mark.vahvista { font-size: .85em; }
/* Esikatselupalkki pois avatun mobiilivalikon ajaksi: muuten header jäisi palkin alle ja valikko
   (top: --header-h) peittäisi sen alaosan sulkupainikkeineen. */
.nav-open .preview-bar { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3.25rem; padding: .8em 1.45em; border-radius: 8px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-align: center;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
/* Koralli pohja + tumma teksti (valkoinen korallilla ei riitä kontrastiksi): 6,8:1, hover 5,8:1 */
.btn-primary { background: var(--brand); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--brand-2); color: #fff; box-shadow: none; }
.btn-outline { background: rgba(255, 255, 255, .6); color: var(--dusk); border-color: var(--dusk); }
.btn-outline:hover { background: var(--dusk); color: #fff; }
.btn-dark { background: var(--dusk); color: #fff; }
.btn-dark:hover { background: var(--dusk-2); color: #fff; }
.btn-light { background: #fff; color: var(--dusk); }
.btn-light:hover { background: var(--peach); color: var(--dusk-2); }
.btn-lg { min-height: 3.6rem; padding: .9em 1.7em; font-size: 1.125rem; }
.btn-sm { min-height: 2.75rem; padding: .55em 1.1em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* Tausta ja sumennus ovat pseudoelementissä: backdrop-filter headerissa itsessään tekisi
   siitä fixed-mobiilivalikon sisältölohkon, jolloin valikko jäisi muutaman pikselin korkuiseksi
   ja sivun sisältö näkyisi sen päällä. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px);
}
.nav-open .site-header::before { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 1px 3px rgba(20, 32, 44, .08); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--dusk); text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand:hover { color: var(--dusk); }
.brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: -.01em; }
.brand-sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: .35rem; font-weight: 700; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light .brand-sub { color: var(--on-dark-2); }
/* Logo (1043 × 145, suhde ≈ 7,2:1). Korkeus porrastetaan niin, että logo, puhelin ja valikko/CTA
   mahtuvat riville 360 px:stä ylöspäin. max-width + object-fit: jos tila silti loppuu (esim. isompi
   fonttikoko), logo pienenee eikä header vuoda yli. */
.brand-logo { display: block; height: var(--logo-h, 46px); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.brand-logo-footer { width: min(100%, 300px); height: auto; }
.steps-arc path { stroke: var(--line-2); }
.cta-band-arc .arc-s1 { stop-color: var(--sun); stop-opacity: .9; }
.cta-band-arc .arc-s2 { stop-color: var(--sun-2); stop-opacity: .55; }
.cta-band-arc .arc-s3 { stop-color: var(--brand-3); stop-opacity: .25; }
.cta-band-arc .glow-s1 { stop-color: var(--sun); stop-opacity: .5; }
.cta-band-arc .glow-s2 { stop-color: var(--sun); stop-opacity: 0; }
.cta-band-arc .band-sun { fill: var(--sun); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.nav-link:hover { background: var(--cream-2); color: var(--dusk); }
.nav-link[aria-current="page"], .is-section > .nav-link { color: var(--dusk); background: var(--cream-2); font-weight: 800; }
.sub-toggle { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-left: -.35rem; border: 0; background: none; border-radius: 6px; color: var(--ink-2); cursor: pointer; }
.sub-toggle:hover { background: var(--cream-2); color: var(--dusk); }
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -.5rem; z-index: 5;
  width: 360px; list-style: none; margin: 0; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover > .sub, .has-sub.is-open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); }
.sub a strong { display: block; color: var(--dusk); font-size: 1rem; }
.sub a small { display: block; color: var(--ink-3); font-size: .86rem; margin-top: .1rem; }
.sub-icon { display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; color: var(--cta); }
.sub-icon .icon { width: 1.1rem; height: 1.1rem; }
.sub-all a { justify-content: space-between; font-weight: 700; color: var(--lake); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: .25rem; padding-top: .8rem; }
.sub-all .icon { color: var(--cta); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; flex: none; }
.header-cta { white-space: nowrap; }
/* Puhelin on headerissa pyöreä kuvakepainike (numero saavutettavana nimenä): logo, valikko, numero
   ja CTA eivät mahdu 1136 px:n riville. Numero näkyy heti herossa, CTA-osioissa ja footerissa. */
.header-phone { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.9rem; height: 2.9rem; color: var(--dusk); font-weight: 800; text-decoration: none; white-space: nowrap; border: 2px solid var(--line-2); border-radius: 8px; background: rgba(255, 255, 255, .6); transition: background-color .18s, border-color .18s; }
.header-phone:hover { background: var(--peach); border-color: var(--brand-3); color: var(--dusk); }
.header-phone span { display: none; }
.header-phone .icon { width: 1.15rem; height: 1.15rem; color: var(--cta); }
.menu-toggle { display: none; flex: none; align-items: center; gap: .4rem; min-height: 2.9rem; padding: .45rem .85rem; border: 2px solid var(--dusk); border-radius: 8px; background: #fff; color: var(--dusk); font: inherit; font-weight: 700; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

/* Logon korkeus: 46 px ≥ 1200 · 38 px (tiivistetty valikko) · 36 px ≤ 1059 · 32 px ≤ 560 · 30 px ≤ 420 · 28 px ≤ 374 · 24 px ≤ 359 */
.site-header { --logo-h: 46px; }
@media (max-width: 1199px) {
  .site-header { --logo-h: 38px; }
  .header-inner { gap: .75rem; }
  .nav-link { padding-inline: .6rem; }
  .header-actions { margin-left: 0; gap: .5rem; }
}
@media (max-width: 1059px) {
  .site-header { --logo-h: 36px; }
  .header-actions { margin-left: auto; gap: .6rem; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0;
    background: var(--cream); overflow-y: auto; padding: 1rem var(--gutter) 2rem;
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; font-size: 1.25rem; padding: 1rem .25rem; border-radius: 0; }
  .nav-link[aria-current="page"], .is-section > .nav-link { box-shadow: none; color: var(--cta); }
  .sub-toggle { width: 3rem; height: 3rem; margin: 0; border: 2px solid var(--line); }
  .sub { position: static; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0 0 .75rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { padding: .7rem .5rem; }
  .nav-mobile-extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
  .nav-mini { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
  .nav-mini a { font-weight: 700; }
}
@media (max-width: 560px) {
  .site-header { --logo-h: 32px; }
  /* "Valikko" piiloon näkyvistä, mutta se jää painikkeen saavutettavaksi nimeksi (ei display: none) */
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .menu-toggle { width: 2.9rem; justify-content: center; padding: 0; }
}
@media (max-width: 420px) {
  .site-header { --logo-h: 30px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .1em; }
}
@media (max-width: 374px) {
  .site-header { --logo-h: 28px; }
  .header-actions { gap: .5rem; }
}
@media (max-width: 359px) { .site-header { --logo-h: 24px; } }

/* ---------- Common bits ---------- */
.eyebrow {
  display: block; margin: 0 0 1rem; padding: 0; background: none; border: 0;
  font-size: .92rem; font-weight: 700; color: var(--dusk); line-height: 1.3;
}
.eyebrow .dot { display: none; }
.kicker { font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cta); margin: 0 0 .6rem; }
.kicker-light { color: var(--sun); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.1rem; }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 1rem; max-width: none; text-align: left; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.h-small { font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; letter-spacing: 0; color: var(--dusk); }
.section-title-sm { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: 1.25rem; }

.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 650; color: var(--ink); }
.hero-points .icon { color: var(--cta); width: 1.15em; height: 1.15em; margin-top: .2em; stroke-width: 3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-actions-center { justify-content: center; }
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--cta); margin-top: .2em; stroke-width: 3; }

.frame { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow); object-fit: cover; }
.img-missing { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius-l); background: var(--cream-2); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-home { background: var(--cream); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero-copy h1 { margin-bottom: .45em; }
.h1-areas { display: block; color: var(--cta); font-size: .62em; line-height: 1.2; margin-top: .35em; letter-spacing: -.01em; }
.hero-copy .lead { max-width: 38ch; }
.hero-note { display: flex; align-items: flex-start; gap: .5rem; margin-top: 1.25rem; color: var(--ink-2); font-size: 1rem; }
.hero-note .icon { color: var(--cta); margin-top: .2em; }
.hero-side { position: relative; }
.hero-arch { position: relative; width: min(100%, 440px); margin: 0 0 0 auto; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--peach); }
.hero-arch img, .hero-arch .img-missing { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.arch-sun { display: none; }
.hero-side .form-card { position: relative; z-index: 2; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
  .hero-side { min-height: 640px; }
  .hero-side .form-card { position: absolute; left: -8%; right: 14%; bottom: -1rem; }
  .hero-arch { width: 78%; }
  .hero-cta-mobile { display: none; }
}
@media (max-width: 979px) {
  .hero-arch { display: none; }
  .hero-copy .lead { max-width: none; }
}

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust-grid { list-style: none; margin: 0 auto; padding-block: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item strong { display: block; color: var(--dusk); font-size: 1.05rem; line-height: 1.25; }
.trust-item small { display: block; color: var(--ink-2); font-size: .92rem; line-height: 1.3; }
.trust-icon { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; color: var(--cta); }
@media (max-width: 520px) {
  .trust-grid { gap: .9rem .75rem; }
  .trust-item { gap: .55rem; align-items: flex-start; }
  .trust-icon { width: 1.7rem; height: 1.7rem; }
  .trust-icon .icon { width: 1.05rem; height: 1.05rem; }
  .trust-item strong { font-size: .95rem; hyphens: manual; }
  .trust-item small { font-size: .84rem; }
}

/* ---------- Cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards-services, .cards-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards > li { display: flex; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .5rem; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(1.35rem, 2.5vw, 1.8rem); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-s); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.card-icon { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--cta); margin-bottom: .4rem; }
.card-icon .icon { width: 1.55rem; height: 1.55rem; }
.card-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 1.2rem + .35vw, 1.5rem); color: var(--dusk); line-height: 1.2; }
.card-text { color: var(--ink-2); font-size: 1.02rem; }
.card-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta); }
/* Kortin "Lue lisää" näyttää samalta kuin tekstilinkki: tumma teksti, koralli alleviivaus, tiilensävyinen nuoli */
.card-link { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; font-weight: 800; color: var(--lake); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: max(2px, .11em); text-underline-offset: .22em; transition: color .15s, text-decoration-color .15s; }
a.card:hover .card-link { color: var(--cta-2); text-decoration-color: currentColor; }
a.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { color: var(--cta); transition: transform .2s; }
.card-help { background: var(--dusk); border-color: var(--dusk); color: var(--on-dark); }
.card-help .card-title { color: #fff; }
.card-help .card-text { color: var(--on-dark-2); }
.card-help .card-icon { color: var(--sun); }
.card-help .btn { margin-top: auto; align-self: flex-start; }
.card-guide { background: #fff; }

/* ---------- Steps ---------- */
.section-steps { background: var(--sky); }
.steps { position: relative; }
.steps-arc { display: none; }
.steps-list { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); counter-reset: s; }
@media (min-width: 900px) { .steps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.step-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.75rem 1.5rem 1.5rem; box-shadow: var(--shadow-s); }
.step-sun { display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .9rem; color: var(--brand); }
.step-sun .icon { width: 1.6rem; height: 1.6rem; }
.step-sun-1, .step-sun-2, .step-sun-3 { background: none; }
.step-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-head); font-size: 2.8rem; line-height: 1; color: var(--cream-3); font-weight: 800; }
.step-item h3 { margin-bottom: .35em; }
.step-item p { margin: 0; color: var(--ink-2); }

/* ---------- Why (dark) ---------- */
.section-why { background: var(--dusk); color: var(--on-dark); }
.section-why h2, .section-why h3 { color: #fff; }
.why-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .why-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; } .why-intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.why-intro p:not(.kicker) { color: var(--on-dark-2); font-size: 1.1rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.35rem; }
.why-item h3 { font-size: 1.25rem; margin: .7rem 0 .35rem; }
.why-item p { margin: 0; color: var(--on-dark-2); font-size: 1rem; }
.why-icon { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--sun); }
.on-dark a:not(.btn) { color: var(--on-dark); text-decoration-color: var(--brand); }
.on-dark a:not(.btn):hover { color: #fff; text-decoration-color: currentColor; }
.on-dark mark.vahvista { background: #FFF1B8; color: #5A4300; }

/* ---------- Price & calculator ---------- */
.section-price { background: #fff; }
.price-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .price-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; } }
.calc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-s); margin: 2rem 0; }
.section-price .calc { margin: 0; }
.calc-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.25rem; }
.calc-icon { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; color: var(--brand); }
.calc-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin: 0 0 .2rem; }
.calc-sub { margin: 0; color: var(--ink-2); font-size: .98rem; }
.calc-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.calc-amount { display: grid; gap: .75rem; margin: .4rem 0 1.25rem; }
.calc-number { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink-2); }
.calc-number input { width: 8.5rem; font: inherit; font-size: 1.35rem; font-weight: 800; color: var(--dusk); padding: .45rem .7rem; border: 2px solid var(--line-2); border-radius: 12px; background: #fff; }
.calc input[type="range"] { width: 100%; accent-color: var(--cta); height: 2rem; cursor: pointer; }
.calc-payers { border: 0; padding: 0; margin: 0 0 1rem; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 600; cursor: pointer; }
.check input { width: 1.3rem; height: 1.3rem; accent-color: var(--dusk); }
.calc-results { display: grid; gap: .8rem; align-content: start; }
.calc-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.calc-result-main { border: 2px solid var(--dusk); }
.calc-label { margin: 0; font-size: .88rem; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); }
.calc-big { margin: .1rem 0 .1rem; font-family: var(--font-head); font-size: clamp(2rem, 1.7rem + 1.2vw, 2.6rem); font-weight: 700; color: var(--dusk); line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-big small { font-family: var(--font-body); font-size: 1rem; color: var(--ink-2); font-weight: 700; }
.calc-big-2 { font-size: clamp(1.5rem, 1.35rem + .6vw, 1.85rem); color: var(--lake); }
.calc-small { margin: 0; font-size: .95rem; color: var(--ink-2); }
.calc-note { margin: 0; font-weight: 700; color: var(--cta-2); }
.calc-foot { margin: 1.25rem 0 0; font-size: .88rem; color: var(--ink-3); }

.price-table { margin: 1.5rem 0; }
.table-note { font-size: .92rem; color: var(--ink-3); margin-top: .6rem; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Areas ---------- */
.section-areas { background: var(--cream); }
.areas-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .areas-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; } }
.area-links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.area-links a { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.area-links a:hover { border-color: var(--dusk); transform: translateX(3px); }
.area-links strong { display: block; color: var(--dusk); font-size: 1.1rem; }
.area-links small { display: block; color: var(--ink-3); line-height: 1.35; }
.area-pin { display: grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; color: var(--cta); }
.area-links .icon-arrow { margin-left: auto; color: var(--cta); transition: transform .2s; }
.area-links a:hover .icon-arrow { transform: translateX(3px); }

/* ---------- Story / SEO text ---------- */
.section-story { background: #fff; }
.story-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .story-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; } .story-media { position: sticky; top: calc(var(--header-h) + 2rem); } }
.story-media .frame { aspect-ratio: 3 / 2; }
.story-prose h2:first-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--cream); }
.faq-wrap { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-s); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 750; color: var(--dusk); font-size: 1.08rem; line-height: 1.4; border-radius: var(--radius); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 2rem; height: 2rem; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; background: var(--cta); border-radius: 2px; transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-a { padding: 0 1.25rem 1.2rem; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--dusk); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-band-arc { display: none; }
.cta-band-inner { position: relative; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .cta-band-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; } }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.cta-band p { color: var(--on-dark-2); font-size: 1.15rem; max-width: 46ch; }
.cta-band-actions { display: grid; gap: .75rem; }
.cta-band-note { display: flex; align-items: center; gap: .5rem; font-size: 1rem !important; margin: .25rem 0 0; color: var(--on-dark-2); }
.cta-band-note .icon { color: var(--sun); }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background: var(--cream);
}
.page-hero-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3.5rem; } }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.3rem); }
.page-hero-media { position: relative; }
.page-hero-media .frame { aspect-ratio: 4 / 3; }
.media-badge { position: absolute; left: -1rem; bottom: 1.25rem; display: flex; gap: .7rem; align-items: center; margin: 0; padding: .8rem 1.1rem; max-width: 18rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-l); font-size: .95rem; line-height: 1.3; }
.media-badge .icon { width: 1.6rem; height: 1.6rem; color: var(--cta); flex: none; }
.media-badge strong { display: block; color: var(--dusk); }
@media (max-width: 979px) { .media-badge { left: .75rem; bottom: .75rem; } .page-hero-media .frame { aspect-ratio: 16 / 9; } }
.page-hero-small { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero-small .lead { max-width: 60ch; }

.breadcrumbs { margin-bottom: 1rem; font-size: .92rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; color: var(--ink-3); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .35rem; color: var(--line-2); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--dusk); text-decoration: underline; text-decoration-color: var(--brand); }

.summary-wrap { margin-top: -.5rem; }
.summary { position: relative; max-width: 900px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow-s); }
.summary-label { display: flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cta); }
.summary-text { margin: 0; font-size: 1.08rem; color: var(--ink); }

/* ---------- Content layout ---------- */
.content-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
@media (min-width: 1060px) {
  .content-grid.has-aside { grid-template-columns: minmax(0, 1fr) 410px; align-items: start; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}
.aside-facts { list-style: none; margin: 1rem 0 0; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .7rem; font-size: .98rem; }
.aside-facts li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.4; }
.aside-facts .icon { color: var(--cta); margin-top: .1em; }

.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); }
.prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cta); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; background: var(--peach); border-radius: var(--radius); }
.prose em { color: var(--ink-2); }
.prose .table-wrap, .table-wrap { position: relative; width: 100%; overflow-x: auto; margin: 1.25em 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--cream); color: var(--dusk); font-weight: 800; font-size: .92rem; }
thead th small { font-weight: 600; color: var(--ink-3); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--dusk); }
tbody th a { color: var(--dusk); }
.row-extra th, .row-extra td { background: var(--sky); }
.sources { margin-top: 2.5rem; padding: 1.25rem 1.4rem; background: var(--cream-2); border-radius: var(--radius); font-size: .95rem; }
.sources h2 { margin: 0 0 .5rem !important; font-size: 1.05rem !important; }
.sources ul { margin: 0 0 .5rem; }
.updated { color: var(--ink-3); font-size: .92rem; margin: 0; }

.cta-box { position: relative; overflow: hidden; display: grid; gap: 1.1rem; margin: 2.2rem 0; padding: 1.5rem 1.6rem; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-l); }
.cta-box-sun { display: none; }
.cta-box-title { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--dusk); margin: 0 0 .25rem; line-height: 1.2; }
.cta-box-text p:last-child { margin: 0; color: var(--ink-2); }
.cta-box-actions { position: relative; display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 760px) { .cta-box { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .cta-box-actions { flex-direction: column; } }

.area-services { margin: 0 0 2rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.area-services h2 { margin: 0 0 .75rem !important; font-size: 1.05rem !important; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.prose .chip-list { margin: 0; padding: 0; }
.prose .chip-list li { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); color: var(--dusk); font-weight: 700; font-size: .98rem; text-decoration: none; }
.chip:hover { background: var(--peach); border-color: var(--peach-2); color: var(--dusk-2); }
.chip .icon { width: 1.05em; height: 1.05em; color: var(--cta); }

/* ---------- Guide ---------- */
.guide-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.25rem 0 0; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.guide-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.guide-meta .icon { color: var(--cta); }
.guide-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
@media (min-width: 1060px) { .guide-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 4rem; } .toc-inner { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.toc-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.25rem; }
.toc-title { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cta); margin: 0 0 .6rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .1rem; font-size: .97rem; line-height: 1.35; }
.toc ol a { display: block; padding: .4rem .5rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.toc ol a:hover, .toc ol a.is-active { background: var(--cream); color: var(--dusk); }
.toc ol a.is-active { font-weight: 700; }
@media (max-width: 1059px) { .toc ol { max-height: none; } .toc .btn { display: none; } }

/* ---------- Hub ---------- */
.section-hubcards { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; }
.prose-hub { max-width: 72ch; }

/* ---------- FAQ page ---------- */
.faq-jump { margin-top: 1.5rem; }
.faq-page { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); max-width: 900px; }
.faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-top: .5rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: start; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; box-shadow: var(--shadow-s); }
.info-card .h-small { margin-bottom: .4rem; }
.info-phone { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--dusk); text-decoration: none; }
.info-phone .icon { color: var(--cta); }
.info-card p { margin-bottom: .6rem; }
.info-card .icon { color: var(--cta); }

/* ---------- Thanks ---------- */
.thanks { padding-block: clamp(3rem, 8vw, 6rem); background: var(--cream); }
.thanks-inner { max-width: 820px; }
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.75rem, 5vw, 3.25rem); text-align: center; box-shadow: var(--shadow); }
.thanks-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin: 0 auto 1rem; color: var(--ok); }
.thanks-icon .icon { width: 2.2rem; height: 2.2rem; stroke-width: 3; }
.thanks-icon.is-warn { color: var(--err); }
.thanks-prose { margin: 2rem auto 0; text-align: left; }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 1.9rem); box-shadow: var(--shadow-l); }
.form-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta); }
.form-title { font-size: clamp(1.45rem, 1.3rem + .6vw, 1.8rem); margin: 0 0 .25rem; }
.form-sub { margin: 0; color: var(--ink-2); font-size: 1rem; }
.form-progress { display: flex; align-items: center; gap: .8rem; margin: 1rem 0 1rem; font-size: .9rem; color: var(--ink-2); }
.form-progress b { font-weight: 800; color: var(--dusk); }
.form-progress .bar { position: relative; flex: 1; height: 7px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.form-progress .bar span { position: absolute; inset: 0 auto 0 0; width: 25%; border-radius: 999px; background: linear-gradient(90deg, #7F9BBD, var(--brand)); transition: width .35s ease; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step > legend { float: left; width: 100%; padding: 0; margin: 0 0 .8rem; font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.step > legend + * { clear: both; }
.step:not(.is-active) { display: none; }
.step.is-active { animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.choice { position: relative; display: flex; }
.choice-wide { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span {
  display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 3.6rem; padding: .7rem .75rem; font-size: 1.02rem;
  border: 2px solid var(--line); border-radius: 8px; background: var(--cream); cursor: pointer;
  font-weight: 700; line-height: 1.25; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice > span .icon { color: var(--cta); width: 1.35rem; height: 1.35rem; }
.choice > span:hover { border-color: var(--line-2); background: #fff; }
.choice input:checked + span { border-color: var(--dusk); background: var(--sky); box-shadow: 0 0 0 1px var(--dusk) inset; }
.choice input:checked + span .icon { color: var(--dusk); }
.choice input:focus-visible + span { outline: 3px solid var(--dusk); outline-offset: 2px; }
.choices-sm { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.choice-sm > span { min-height: 2.9rem; justify-content: center; font-size: .98rem; padding: .5rem .7rem; }
@media (max-width: 480px) {
  .choice > span { gap: .45rem; padding: .6rem .6rem; font-size: 1rem; min-height: 3.4rem; overflow-wrap: anywhere; }
  .choice > span .icon { width: 1.15rem; height: 1.15rem; }
}
@media (max-width: 340px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .35rem; margin: 0 0 .95rem; border: 0; padding: 0; min-width: 0; }
.field-group > legend { padding: 0; margin: 0 0 .45rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label, .label { font-weight: 750; color: var(--ink); }
.opt { font-weight: 500; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="file"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  padding: .75rem .9rem; min-height: 3.2rem; border: 2px solid var(--line-2); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dusk); box-shadow: 0 0 0 3px rgba(20, 32, 44, .16); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { margin: 0; font-size: .9rem; color: var(--ink-3); line-height: 1.45; }
.err { margin: .15rem 0 0; font-size: .95rem; font-weight: 700; color: var(--err); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { display: flex; gap: .5rem; align-items: flex-start; margin: .8rem 0 0; font-size: .9rem; color: var(--ink-3); line-height: 1.45; }
.privacy-note .icon { color: var(--cta); margin-top: .05em; }
.form-status { margin: .8rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: #FDECE8; color: var(--err); font-weight: 700; }
.form-status.is-ok { background: #E8F4EC; color: var(--ok); }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.form-nav [data-next] { margin-left: auto; }
.link-back { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .1rem; border: 0; background: none; color: var(--lake); font: inherit; font-weight: 800; cursor: pointer; }
.link-back:hover { color: var(--dusk); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.form-alt { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .98rem; color: var(--ink-2); text-align: center; }
.form-alt a { font-weight: 800; color: var(--dusk); text-decoration: none; white-space: nowrap; }
.form-alt .icon { color: var(--cta); }
.job-card { margin: 2.5rem 0; }
.job-card .form-head { margin-bottom: 1.25rem; }

/* ---------- Mobile bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(251, 247, 244, .97); border-top: 1px solid var(--line); box-shadow: 0 -1px 4px rgba(20, 32, 44, .07); transition: transform .25s ease; }
.mobile-bar .btn { flex: 1; min-height: 3.1rem; padding-inline: .8rem; }
.mobile-bar .btn-outline { flex: .7; }
.mobile-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dusk-2); color: var(--on-dark-2); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: 1rem; }
/* Tila kiinteälle mobiilipalkille footerin sisällä (tumma), ei bodyn kermanvärisenä raitana footerin alla */
@media (max-width: 899px) { .site-footer { padding-bottom: 80px; } }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: 1rem 0; max-width: 42ch; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-contact li { display: flex; align-items: center; gap: .5rem; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact .icon { color: #9FB6D0; }
.footer-h { font-family: var(--font-body); font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9FB6D0; margin: .4rem 0 .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer.on-dark a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.site-footer.on-dark a:not(.btn):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brand); }
.site-footer.on-dark .footer-contact a { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.5rem 2rem; font-size: .92rem; color: var(--on-dark-3); }
.footer-legal p { margin: 0 0 .5rem; }
.footer-legal strong { color: var(--on-dark); }
.footer-links { list-style: none; padding: 0; margin: .75rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-links a { font-weight: 700; }
.copy { color: var(--on-dark-4); }

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .cta-band, .form-card, .site-footer .footer-grid, .toc { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ==========================================================================
   Toiminta-aluekartta – partials/areas_map.html (generoitu: tools/area_map.py)
   Korvaa site.css:n vanhat säännöt .area-map, .area-map svg, .area-map figcaption,
   .map-lakes, .map-route, .map-dist, .map-town, .map-dot, .map-halo, .map-home,
   .map-village ja .area-map .route-s1/.route-s2.
   CSP: SVG:ssä ei ole inline-tyylejä – värit ja koot tulevat tästä tiedostosta.
   Kartan yksikkö: 1 viewBox-yksikkö = 100 m (920 × 520 = 92 × 52 km).
   Tekstit ja merkit skaalautuvat muuttujalla --k, jota säiliökyselyt säätävät
   kartan leveyden mukaan, jotta nimet pysyvät luettavina (≥ 11 px) myös kapeana.
   ========================================================================== */

.area-map {
  --map-land: #F6F1ED;
  --map-water: var(--water);
  --map-shore: var(--water-2);
  --map-water-ink: #3F6474;          /* 4.9:1 vedellä */
  --map-edge: #D24F3B;               /* --brand-2:n ja --cta:n välistä; ≥ 3:1 maalla ja vedellä */
  --map-halo: rgba(255, 255, 255, .94);
  --map-pad: clamp(.5rem, 1.6vw, .875rem);
  container: area-map / inline-size;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--map-pad);
  box-shadow: var(--shadow-s);
}
.area-map svg {
  --k: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: max(0px, calc(var(--radius-l) - var(--map-pad)));
  overflow: hidden;
  font-family: var(--font-body);
}
.area-map figcaption {
  margin: .7rem .4rem .2rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink-3);
  text-align: left;
}
.area-map .map-credit { display: block; margin-top: .2rem; font-size: .8rem; }

/* ---------- pohjakartta ---------- */
.map-land { fill: var(--map-land); }
.map-water {
  fill: var(--map-water);
  fill-rule: evenodd;
  stroke: var(--map-shore);
  stroke-width: .75px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-lake {
  font-size: calc(18px * var(--k));
  font-style: italic;
  font-weight: 600;
  letter-spacing: .03em;
  fill: var(--map-water-ink);
}

/* ---------- toiminta-alue: 15 km:n ympyrät ---------- */
.map-zone { opacity: .2; }              /* ryhmän läpinäkyvyys: päällekkäiset osat eivät tummu */
.map-zone circle { fill: var(--brand); }
.map-zone-edge, .map-zone-inner {
  fill: none;
  stroke: var(--map-edge);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.map-zone-edge { stroke-width: 2px; }
.map-zone-inner { stroke-width: 1.25px; stroke-dasharray: 5 4; stroke-opacity: .6; }
.map-radius {
  fill: none;
  stroke: var(--cta);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}
.map-radius-label {
  font-size: calc(19px * var(--k));
  font-weight: 700;
  fill: var(--cta);
}

/* ---------- mittakaava ja pohjoisnuoli ---------- */
.map-scale text, .map-north text {
  font-size: calc(18px * var(--k));
  font-weight: 700;
  fill: var(--dusk);
}
.map-scale-case, .map-scale-fill { fill: none; vector-effect: non-scaling-stroke; }
.map-scale-case { stroke: var(--dusk); stroke-width: 6px; }
.map-scale-fill { stroke: #fff; stroke-width: 3.5px; }
.map-north-k { transform: scale(var(--k)); }
.map-north path { fill: var(--dusk); }

/* ---------- vaalea reunus (halo) teksteille ---------- */
.map-name, .map-note, .map-radius-label, .map-scale text, .map-north text, .map-village-name {
  paint-order: stroke fill;
  stroke: var(--map-halo);
  stroke-width: .28em;
  stroke-linejoin: round;
}

/* ---------- paikkakunnat (linkit aluesivuille) ---------- */
.map-place { cursor: pointer; text-decoration: none; }
.map-place:focus { outline: none; }
.map-hit { fill: transparent; }
.map-mark, .map-mark-ring, .map-hit {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(var(--k));
  transition: transform .15s ease;
}
.map-mark { fill: var(--cta); stroke: #fff; stroke-width: 2.5; }
.map-office .map-mark { fill: var(--dusk); stroke: none; }
.map-mark-ring { fill: #fff; stroke: var(--cta); stroke-width: 3; }
.map-name {
  font-size: calc(26px * var(--k));   /* = NAME_SIZE tools/area_map.py:ssä */
  font-weight: 700;
  fill: var(--dusk);
}
.map-note {
  font-size: calc(18px * var(--k));   /* = NOTE_SIZE tools/area_map.py:ssä */
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: var(--cta);
}
/* hover: nimi korallinpunaiseksi, merkki kasvaa */
.map-place:hover .map-name { fill: var(--cta); }
.map-place:hover .map-mark, .map-place:hover .map-mark-ring { transform: scale(calc(var(--k) * 1.3)); }
/* näppäimistöfokus: nimi käännetään (valkoinen teksti tummalla reunuksella), merkki kasvaa ja saa tumman kehän */
.map-place:focus-visible .map-name { fill: #fff; stroke: var(--dusk); stroke-width: .38em; }
.map-place:focus-visible .map-mark, .map-place:focus-visible .map-mark-ring { transform: scale(calc(var(--k) * 1.45)); }
.map-place:focus-visible .map-mark { stroke: var(--dusk); stroke-width: 3; }
.map-place:focus-visible .map-mark-ring { stroke: var(--dusk); stroke-width: 3.5; }

/* ---------- kylä (ei linkkiä; piirretään vain, jos sijainti löytyy lähteestä) ---------- */
.map-village-dot {
  fill: var(--ink-3);
  stroke: #fff;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(var(--k));
}
.map-village-name { font-size: calc(18px * var(--k)); font-weight: 600; fill: var(--ink-3); }

/* ---------- koot kartan leveyden mukaan (1 yksikkö = leveys / 920 px) ----------
   Esim. kaupungin nimi = 26 × --k yksikköä: 300 px levyisenä 14 px, 564 px levyisenä 16 px. */
@supports not (container-type: inline-size) {
  @media (max-width: 599px) { .area-map svg { --k: 1.5; } }
}
@container area-map (max-width: 379px) {
  .area-map svg { --k: 1.5; }
  .map-lake { display: none; }
}
@container area-map (max-width: 339px) { .area-map svg { --k: 1.65; } }
@container area-map (min-width: 380px) and (max-width: 479px) { .area-map svg { --k: 1.25; } }
@container area-map (min-width: 640px) and (max-width: 819px) { .area-map svg { --k: .84; } }
@container area-map (min-width: 820px) { .area-map svg { --k: .72; } }

/* ==========================================================================
   Evästeilmoitus (partials/consent.html + assets/js/consent.js) ja WhatsApp-painikkeet
   (alapalkki, kelluva painike, alatunniste, yhteystiedot).
   Ilmoitus on kompakti kortti alareunassa, ja taustapeite erottaa sen muusta sivusta.
   "Hyväksy kaikki" (täytetty) ja "Vain välttämättömät" (ääriviiva) ovat samankokoiset ja samalla tasolla.
   ========================================================================== */

.consent-backdrop {
  position: fixed; inset: 0; z-index: 54;
  background: rgba(12, 23, 38, .6);
}
.consent {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  padding: 0 .5rem calc(.5rem + env(safe-area-inset-bottom));
  pointer-events: none;                           /* vain kortti ottaa klikkaukset vastaan */
  transition: bottom .25s ease;
}
/* Mobiilissa alapalkin yläpuolella, jotta kortti säilyttää tutun sijaintinsa.
   --mobilebar-h tulee consent.js:stä (palkin todellinen korkeus). */
@media (max-width: 899px) {
  body:has(.mobile-bar:not(.is-hidden)) .consent { bottom: var(--mobilebar-h, 4.5rem); }
}
.consent-card {
  pointer-events: auto;
  max-width: 40rem; margin-inline: auto;
  /* korkeintaan headerin ja alapalkin välinen tila; pidempi sisältö (asetukset) vierii kortin sisällä */
  max-height: calc(100vh - var(--header-h) - var(--mobilebar-h, 4.5rem) - 1rem);
  max-height: calc(100dvh - var(--header-h) - var(--mobilebar-h, 4.5rem) - 1rem);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem 1.1rem 1.1rem;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  font-size: 1rem; line-height: 1.5;
}
@media (min-width: 900px) {
  .consent { left: 1.5rem; right: auto; bottom: 1.5rem; width: min(35rem, calc(100vw - 3rem)); padding: 0; }
  .consent-card { max-height: calc(100vh - var(--header-h) - 3rem); max-height: calc(100dvh - var(--header-h) - 3rem); padding: 1.25rem 1.5rem 1.35rem; }
}
.consent-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 .35rem; font-family: var(--font-body); font-size: 1.2rem; font-weight: 800; letter-spacing: 0; line-height: 1.25; color: var(--dusk); }
.consent-title::before { content: none; }
.consent-text { margin: 0 0 .9rem; color: var(--ink-2); }
.consent-text a { font-weight: 700; }
.consent-info-toggle { padding: 0; border: 0; background: none; color: var(--lake); font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: .2em; cursor: pointer; }
.consent-info-toggle:hover { color: var(--cta-2); text-decoration-color: currentColor; }
.consent-info { margin: .75rem 0 1rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: .95rem; }
.consent-info h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.consent-info p { margin: 0 0 .65rem; }
.consent-info p:last-child { margin-bottom: 0; }
.consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; align-items: stretch; }
@media (min-width: 900px) { .consent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; } }
.consent-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .55rem .7rem; border: 2px solid var(--brand); border-radius: 8px;
  background: var(--brand); color: #fff; box-shadow: none;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
/* Sivuston pääpainikkeen tyyli (koralli + tumma teksti 6,8:1) molemmissa valinnoissa – kumpikaan ei korostu */
.consent-btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.consent-more {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; padding: .25rem .35rem; margin-left: -.35rem;
  border: 0; border-radius: 8px; background: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--dusk);
  text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .22em;
}
@media (min-width: 900px) { .consent-more { grid-column: auto; margin-left: 0; } }
.consent-more:hover { color: var(--cta-2); text-decoration-color: currentColor; }
.consent-more .icon { width: 1rem; height: 1rem; transition: transform .2s ease; }
.consent-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.consent-panel { margin-top: .75rem; padding-top: .25rem; border-top: 1px solid var(--line-2); }
.consent-options { min-width: 0; margin: 0 0 .9rem; padding: 0; border: 0; }
.consent-option { position: relative; padding: .7rem 0; }
.consent-option + .consent-option { border-top: 1px solid var(--line); }
.consent-option-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2rem; margin: 0; }
label.consent-option-head { cursor: pointer; }
.consent-option-name { font-weight: 800; color: var(--dusk); }
.consent-option-desc { max-width: 46ch; margin: .15rem 0 0; font-size: .92rem; line-height: 1.45; color: var(--ink-3); }
.consent-always { flex: none; font-size: .9rem; font-weight: 700; color: var(--ok); }
/* Kytkin: oikea valintaruutu (role="switch") on näkymätön kytkimen päällä, joten klikkaus ja näppäimistö toimivat. */
.consent-check { position: absolute; top: .75rem; right: 0; width: 3.25rem; height: 1.9rem; margin: 0; opacity: 0; cursor: pointer; }
.consent-switch { position: relative; flex: none; width: 3.25rem; height: 1.9rem; border: 2px solid var(--ink-3); border-radius: 999px; background: #fff; transition: background-color .15s ease, border-color .15s ease; }
.consent-switch::before { content: ""; position: absolute; top: 50%; left: .2rem; width: 1.15rem; height: 1.15rem; margin-top: -.575rem; border-radius: 50%; background: var(--ink-3); transition: transform .15s ease, background-color .15s ease; }
.consent-option-head:hover .consent-switch, .consent-check:hover + .consent-option-head .consent-switch { border-color: var(--dusk); }
.consent-check:checked + .consent-option-head .consent-switch { background: var(--dusk); border-color: var(--dusk); }
.consent-check:checked + .consent-option-head .consent-switch::before { background: var(--brand); transform: translateX(1.45rem); }
.consent-check:focus-visible + .consent-option-head .consent-switch { outline: 3px solid var(--dusk); outline-offset: 3px; }
.consent-btn-secondary { background: var(--paper); color: var(--brand); border-color: var(--brand); box-shadow: none; }
.consent-btn-secondary:hover { background: var(--sky); color: var(--brand-2); border-color: var(--brand-2); }
.consent-btn-save { min-width: 12rem; background: transparent; border-color: var(--dusk); color: var(--dusk); box-shadow: none; }
.consent-btn-save:hover { background: var(--dusk); border-color: var(--dusk); color: #fff; }
/* Taustasivu pysyy paikallaan, kun evästevalinnan dialogi on auki. */
html.consent-open { overflow: hidden; }

/* Alatunnisteen Evästeasetukset-painike näyttää samalta kuin viereiset linkit */
.footer-button { display: inline-flex; align-items: center; min-height: 24px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--on-dark); text-align: left; cursor: pointer; }
.footer-button:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: max(2px, .11em); text-underline-offset: .2em; }

/* ---------- WhatsApp ---------- */
/* Alapalkki: Soita · WhatsApp · Pyydä yhteydenotto. Kapealla näytöllä kuvake ja lyhyt teksti allekkain,
   jotta kolme painiketta mahtuvat 360 px:n näytölle. */
.mobile-bar { gap: .45rem; }
.mobile-bar .btn-outline { flex: 0 0 auto; flex-direction: column; gap: .1rem; min-width: 4rem; padding: .3rem .4rem; font-size: .85rem; line-height: 1.1; }
.mobile-bar .btn-outline .icon { width: 1.35rem; height: 1.35rem; }
.mobile-bar .btn-primary { flex: 1 1 0; min-width: 0; padding-inline: .55rem; }
@media (max-width: 374px) { .mobile-bar .btn-primary { font-size: 1rem; } }   /* "Pyydä yhteydenotto" yhdelle riville 360 px:ssä */
@media (min-width: 540px) {
  .mobile-bar .btn-outline { flex: .6 1 0; flex-direction: row; gap: .45em; padding: .6rem .8rem; font-size: 1rem; }
  .mobile-bar .btn-outline .icon { width: 1.15em; height: 1.15em; }
}
.info-note { font-size: .92rem; line-height: 1.45; }
/* Kelluva yhteydenottopainike työpöydällä. Piilossa alatunnisteen kohdalla ja evästeilmoituksen ollessa auki. */
.wa-float { display: none; }
@media (min-width: 900px) {
  .wa-float {
    position: fixed; z-index: 44; right: 1.5rem; bottom: 1.5rem;
    display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 8px;
    background: var(--brand); color: #fff; text-decoration: none;
    box-shadow: var(--shadow);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .18s ease;
  }
  .wa-float:hover { background: var(--brand-2); color: #fff; transform: translateY(-2px); }
  .wa-float .icon { width: 1.65rem; height: 1.65rem; }
  .wa-float-label {
    position: absolute; top: 50%; right: calc(100% + .65rem); transform: translate(.35rem, -50%);
    padding: .45rem .85rem; border-radius: 6px; background: var(--dusk); color: #fff;
    font-size: .95rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
  }
  .wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; transform: translate(0, -50%); }
  .wa-float.is-hidden, .consent-open .wa-float { opacity: 0; visibility: hidden; transform: scale(.85); }
}
@media print { .consent-root, .wa-float { display: none !important; } }

/* ==========================================================================
   Lähikunnat (tiedustelusivut, status: tiedustelu)
   templates/area_inquiry.html · partials/interest_form.html · partials/neighbour_areas.html (/alueet/#lahikunnat)
   sekä yhteydenottolomakkeen "Muu paikkakunta" → "Mikä paikkakunta?" -kenttä (partials/form.html)
   ========================================================================== */
/* Etäisyyskortti tiedustelusivun herossa kuvan paikalla */
.distance-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow); }
.distance-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta); }
.distance-title { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin: 0 0 1rem; }
.distance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.distance-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .9rem; border-radius: 12px; background: var(--cream); }
.distance-list li:first-child { background: var(--sky); box-shadow: inset 0 0 0 2px var(--peach-2); }
.distance-list a { font-weight: 700; }
.distance-km { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.distance-note { margin: .9rem 0 0; font-size: .9rem; line-height: 1.45; color: var(--ink-3); }
/* Tiedustelulomake: suostumusruutu pitkällä tekstillä */
.interest-card .form-head { margin-bottom: 1.1rem; }
.interest-consent { align-items: flex-start; margin: .1rem 0 1rem; font-size: 1rem; line-height: 1.4; }
.interest-consent input { flex: none; margin: .05rem 0 0; }
/* /alueet/: lähikuntien kortit palvelualueiden alla – katkoviiva erottaa ne palvelualueista */
.section-neighbours { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.neighbours-head { max-width: 72ch; margin-bottom: 1.25rem; }
.neighbours-head .section-title-sm { margin-bottom: .5rem; }
.neighbours-head p { margin: 0; color: var(--ink-2); }
@media (min-width: 1000px) { .cards-neighbours { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-neighbour { border-style: dashed; border-color: var(--line-2); box-shadow: none; }
@media (max-width: 639px) { .card-neighbour { gap: .35rem; padding: 1.1rem 1.25rem; } .card-neighbour .card-link { padding-top: .25rem; } }
.card-meta { font-size: .95rem; font-weight: 700; color: var(--dusk); }
.neighbours-note { margin: 1.25rem 0 0; color: var(--ink-2); }
/* Yhteydenottolomake: "Mikä paikkakunta?" kuntavalintojen alla */
.field-place { margin: .9rem 0 0; }

/* Kuvan tekijä ja Luotettava Kumppani -merkki */
.img-credit { margin: .4rem 0 0; font-size: .8rem; color: var(--ink-3); text-align: right; }
.footer-badge { display: inline-block; margin-top: 1.25rem; border-radius: 8px; line-height: 0; }
.footer-badge img { width: 140px; height: auto; border-radius: 8px; }

/* Lämpö: hero-lainaus, allekirjoitus, lämmin kuvasävy */
.hero-quote { margin: 0 0 1.4rem; padding: .9rem 1.1rem .9rem 1.2rem; background: var(--peach); border-radius: var(--radius); max-width: 34rem; }
.hero-quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.45; font-style: italic; color: var(--dusk); }
.hero-quote figcaption { margin-top: .35rem; font-size: .9rem; color: var(--ink-3); }
.signature { margin: 1.6rem 0 0; color: var(--ink-2); }
.signature span { display: block; font-family: "Caveat", "Segoe Script", cursive; font-size: 2.2rem; line-height: 1.1; color: var(--brand); transform: rotate(-2deg); transform-origin: left center; margin-top: .2rem; }
.section-story { background: var(--peach); }
.hero-arch img, .frame, .card img, .guide-card img, .page-hero img { filter: saturate(1.05) sepia(.08); }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.hero-quote blockquote p { margin: 0; }
.form-noscript { margin: 1rem 0; padding: .8rem 1rem; background: var(--peach); border-radius: var(--radius-s); font-weight: 600; }
