/* Dampfix - "We find the cause. Fix it once."
   Bundlesta puretut tyylit itsenaiseksi tiedostoksi. Ei template-moottoria,
   ei evalia -> tiukka CSP toimii. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --ink: #101d18;
  --ink-2: #3c4d45;
  --ink-3: #42544c;
  --green: #0b6b3a;
  --green-bright: #0f7a43;
  --gold: #d9a437;
  --dark: #101d18;
  --dark-2: #16261f;
  --dark-line: #2c3d35;
  --dark-quiet: #9db0a7;
  --focus: #0062b1;

  --gutter: clamp(16px, 4vw, 56px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 40;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 clamp(18px, 2.4vw, 28px);
}

.num {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--green-bright);
  margin-bottom: 14px;
}

.section-title {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 clamp(28px, 4vw, 48px);
}

/* ------------------------------------------------------------------ nav -- */

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px var(--gutter);
}

.wordmark {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.wordmark__fix { color: var(--green-bright); }

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}

.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--green-bright); }

.langswitch {
  display: flex;
  gap: 10px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.langswitch a { color: var(--ink-3); text-decoration: none; padding: 4px 2px; }
.langswitch a:hover { color: var(--ink); }

.langswitch a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
}

.nav__links { margin-left: 0; }

/* ----------------------------------------------------------------- napit -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  padding: 20px 28px;
}

.btn--solid { background: var(--green); color: var(--paper); }
.btn--solid:hover { background: #095930; }

.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); padding: 19px 28px; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--ghost {
  border: 1.5px solid var(--ink);
  font-size: 15px;
  padding: 12px 18px;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: #c8942c; }

/* ----------------------------------------------------------------- hero -- */

.hero { position: relative; }

/* Taustakuva h1:n takana. Vaalea seinakuva + vahva kalvo, jotta teksti
   sailyy luettavana (musteen kontrasti paperia vasten 14.9:1). */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Kuva omassa kerroksessaan, jotta filter osuu vain siihen eika kalvoon. */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* WebP ensin, JPEG varalle. image-set valitsee selaimen mukaan. */
  background-image: image-set(
    url("/assets/photos/hero-wall.v3.webp") type("image/webp"),
    url("/assets/photos/hero-wall.v3.jpg") type("image/jpeg")
  );
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: contrast(1.15) saturate(0.9);
}

/* Vaakagradientti: vasen kolmannes umpinaista kermaa (H1 luettava), kuva
   voimistuu oikealle. Arvot mitattu: heikoin kontrasti tekstialueella
   62 %:n kohdalla on 5.24:1 (ink-2 mustaa taustapikselia vasten). */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--paper) 0%,
    var(--paper) 35%,
    rgba(244, 241, 234, 0.82) 62%,
    rgba(244, 241, 234, 0.35) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin-inline: auto;
  padding-block: clamp(28px, 7vw, 104px) clamp(48px, 8vw, 120px);
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green-bright); }

.hero__lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 clamp(26px, 3.4vw, 38px);
  max-width: 38ch;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__number { font-size: 15px; font-weight: 700; margin: 20px 0 0; }
.hero__number a { border-bottom: 2px solid var(--gold); padding-bottom: 2px; text-decoration: none; }

/* --------------------------------------------------------------- booking -- */
/* Ilman JS:aa: koko lomake nakyvissa yhtena, vaihe-chrome piilossa.
   JS:n kanssa: app.js poistaa .no-js juuresta ja ottaa vaiheet kayttoon. */

/* Oletus: JavaScript kaytossa. Ilman sita <noscript>-tyyli avaa koko
   lomakkeen yhdeksi sivuksi. Inline-skripti ei ole vaihtoehto, koska CSP
   sallii vain script-src 'self'. */
.booking { display: none; }
.booking.is-open { display: block; }
#bk-submit { display: none; }
.booking[data-step="4"] #bk-submit { display: inline-flex; }
.booking[data-step="4"] #bk-next { display: none; }
.booking[data-step="1"] #bk-back { visibility: hidden; }
.bk-step { display: none; }
.booking[data-step="1"] .bk-step[data-step="1"],
.booking[data-step="2"] .bk-step[data-step="2"],
.booking[data-step="3"] .bk-step[data-step="3"],
.booking[data-step="4"] .bk-step[data-step="4"] { display: block; }
.bk-otherdate__field,
#bk-date { display: none; }
.bk-alt.is-open .bk-otherdate__field,
.bk-alt.is-open #bk-date { display: block; }

.booking { padding-block: clamp(48px, 7vw, 104px); }

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.booking__title {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(20px, 3vw, 32px);
  max-width: 22ch;
}

/* --- edistymispalkki --- */
.booking__progress {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: 0;
}

.booking__progress li {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 2px solid rgba(16, 29, 24, 0.16);
  padding-top: 10px;
  flex: 1 1 8rem;
}

.booking__progress li.is-done,
.booking__progress li[aria-current="step"] {
  border-top-color: var(--gold);
  color: var(--ink);
}

.booking__progress .num { display: inline; color: inherit; margin: 0 6px 0 0; }

/* --- kentat --- */
.bk-step { border: 0; margin: 0; padding: 0; }
.bk-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bk-field { margin: 0 0 22px; }

.bk-field > label,
.bk-label,
.bk-choice > legend {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
  padding: 0;
}

.bk-optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-2); }

.booking select,
.booking input[type="text"],
.booking input[type="tel"],
.booking input[type="email"],
.booking input[type="date"],
.booking textarea {
  width: 100%;
  max-width: 34rem;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(16, 29, 24, 0.28);
  border-radius: 0;
  padding: 13px 14px;
}

.booking textarea { resize: vertical; }

.booking select:focus-visible,
.booking input:focus-visible,
.booking textarea:focus-visible,
.booking button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.bk-choice { border: 0; margin: 0 0 22px; padding: 0; }

.bk-choice label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 16px;
  border-top: 1px solid rgba(16, 29, 24, 0.12);
  cursor: pointer;
  max-width: 34rem;
}

.bk-choice input { margin-top: 3px; accent-color: var(--green); flex: 0 0 auto; }

/* --- liukusaadin --- */
.bk-range__out {
  display: block;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.bk-range input[type="range"] {
  width: 100%;
  max-width: 34rem;
  accent-color: var(--gold);
  cursor: ew-resize;
}

.bk-range__scale {
  display: flex;
  justify-content: space-between;
  max-width: 34rem;
  font-size: 12px;
  color: var(--ink-3);
}

/* --- paivachipit --- */
.bk-days { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; max-width: 34rem; }

.bk-day {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(16, 29, 24, 0.28);
  border-radius: 0;
  padding: 10px 12px;
  cursor: pointer;
}

.bk-day[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.bk-link {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.bk-help { font-size: 14px; color: var(--ink-3); margin: 0 0 18px; }
.bk-count { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.bk-consent { margin: 0 0 20px; max-width: 34rem; font-size: 15px; }
.bk-consent label { display: flex; gap: 10px; align-items: flex-start; }
.bk-consent input { margin-top: 4px; accent-color: var(--green); }

/* --- yhteenveto --- */
.bk-summary { margin: 0 0 24px; max-width: 34rem; }
.bk-summary > div {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(16, 29, 24, 0.16); padding: 12px 0; font-size: 15px;
}
.bk-summary dt { color: var(--ink-3); }
.bk-summary .bk-link { font-size: 13px; }

/* --- virheet, navigointi, honeypot --- */
.bk-error { color: #8a1c10; font-size: 15px; font-weight: 700; margin: 0 0 14px; min-height: 0; }
.bk-error:empty { margin: 0; }
.bk-error::before { content: ""; }
.bk-error:not(:empty)::before { content: "! "; }

.bk-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- valmis --- */
.bk-done { border: 1px solid rgba(16, 29, 24, 0.24); padding: clamp(20px, 3vw, 32px); max-width: 34rem; }
.bk-done__ref {
  font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; margin: 8px 0 14px;
}

/* --- sivupaneeli --- */
.feecard { border: 1px solid rgba(44, 61, 53, 0.18); background: var(--paper); padding: 18px 22px; margin-bottom: 16px; }
.feecard__figure { font-weight: 800; font-size: clamp(38px, 4vw, 54px); line-height: 1; letter-spacing: -0.04em; margin: 0; }
.feecard__note { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 10px 0 0; }

.getbox { background: var(--dark); color: var(--paper); padding: clamp(20px, 3vw, 28px); }
.getbox__label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark-quiet); margin: 0 0 16px;
}
.getbox__list { list-style: none; margin: 0; padding: 0; }
.getbox__list li { position: relative; padding: 0 0 0 26px; margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
.getbox__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.getbox__list li:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .booking__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .booking { transition: none; }
}

/* ------------------------------------------------------- hintakortti -- */
/* Yksi kortti, ei kallistusta: yksinainen vino kortti nayttaa virheelta
   eika designilta. Ei pyoristyksia, kuten muuallakaan. */

.feestack {
  list-style: none;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  padding: 0;
  max-width: 26rem;
}

.feestack__card {
  background: var(--paper);
  border: 1px solid rgba(44, 61, 53, 0.18);
  padding: 18px 22px;
  box-shadow: 0 10px 28px rgba(16, 29, 24, 0.14);
  /* Oma kerros: ilman tata teksti resamplataan kesken kallistuksen ja sumenee. */
  will-change: transform;
  transition: transform 240ms cubic-bezier(0.2, 0, 0.2, 1),
              box-shadow 240ms cubic-bezier(0.2, 0, 0.2, 1);
}

/* Vain oikealla osoittimella: kosketuslaitteella hover jaisi paalle napautuksen
   jalkeen. Kortti ei ole linkki, joten ei kursorimuutosta eika fokusrengasta. */
@media (hover: hover) and (pointer: fine) {
  .feestack__card:hover {
    transform: translateY(-5px) rotate(-0.8deg);
    box-shadow: 0 18px 42px rgba(16, 29, 24, 0.20);
  }
}

.feestack .eyebrow { margin: 0 0 6px; }

.feestack__figure {
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}

.feestack__cur {
  font-size: 0.55em;
  color: var(--gold);
  margin-right: 0.06em;
  vertical-align: 0.16em;
}

.feestack__note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 10px 0 0;
  max-width: 30ch;
}

@media (max-width: 600px) {
  .feestack__figure { font-size: clamp(40px, 12vw, 56px); }
}

/* ------------------------------------------------ mita kartoitus sisaltaa -- */
/* Natiivi <details>: toimii ilman JavaScriptia, on nappaimistolla
   kaytettava ja ruudunlukija ilmoittaa tilan ilman aria-kirjanpitoa. */

.includes { margin: 0 0 clamp(20px, 3vw, 28px); max-width: 34rem; }

.includes > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
  list-style: none;
}

.includes > summary::-webkit-details-marker { display: none; }

.includes > summary::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--ink);
  transition: transform 200ms ease;
  flex: 0 0 auto;
}

.includes[open] > summary::before { transform: rotate(90deg); }

.includes > summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.includes__panel {
  margin-top: 14px;
  background: var(--paper);
  border: 1px solid rgba(44, 61, 53, 0.18);
  padding: 18px 22px;
}

.includes__list { list-style: none; margin: 0 0 16px; padding: 0; }

.includes__list li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.includes__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

.includes__list li:last-child { margin-bottom: 0; }

.includes__foot { font-size: 15px; color: var(--ink); font-weight: 700; margin: 0 0 16px; }

@media (prefers-reduced-motion: reduce) {
  .includes > summary::before { transition: none; }

  /* Varjon syveneminen jaa, liike pois. */
  .feestack__card { transition: box-shadow 240ms cubic-bezier(0.2, 0, 0.2, 1); }
  .feestack__card:hover { transform: none; }
}

/* ------------------------------------------------------- ennen / jalkeen -- */

.compare {
  position: relative;
  z-index: 12;
  /* Grid on 1fr 1fr / align-items: center. Kun disclosure-paneeli kasvattaa
     vasenta saraketta, rivi korkenee ja keskitetty kortti valuisi alas.
     align-self: start ankkuroi sen riippumatta vasemman sarakkeen korkeudesta. */
  align-self: start;
  background: var(--dark);
  color: var(--paper);
  padding: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark-2);
  touch-action: pan-y;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pohjakerros = JALKEEN (korjattu). Paalla ENNEN-kuva, jota liuku rajaa:
   kahvan vasemmalla puolella vaurio, oikealla korjattu seina. */
.compare__clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 48% 0 0);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  left: 52%;
  pointer-events: none;
}

.compare__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.compare__controls input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--gold);
  cursor: ew-resize;
}

.compare__label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.compare__label--after { color: var(--gold); }

.compare__note {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dark-quiet);
  margin: 0;
}

.compare__contact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--dark-line);
  padding-top: 14px;
}

.compare__contact .compare__label { color: var(--dark-quiet); }
.compare__contact a { font-weight: 700; text-decoration: none; }

/* ------------------------------------------------------------ statement -- */

.statement {
  padding: clamp(56px, 9vw, 130px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  border-top: 1px solid rgba(16, 29, 24, 0.14);
}

.statement__title {
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}

.statement__body {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  margin: 0;
  max-width: 44ch;
}

/* ---------------------------------------------------------------- video -- */

.video { padding-block: clamp(48px, 7vw, 104px); }

/* Sama kokoluokka kuin .trust__title, ei uutta typografiaa. */
.video__title {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(16px, 2vw, 24px);
  max-width: 22ch;
}

.video__body {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  margin: 0 0 clamp(24px, 3vw, 40px);
  max-width: 62ch;
}

.video__player {
  display: block;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--dark-2);
  /* sama kulma kuin hero-kortissa: se on suorakulmainen */
  border-radius: 0;
}

/* Sama kuvatekstityyli kuin hero-kortissa, mutta kermalla luettava savy. */
.video__note {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 14px auto 0;
  max-width: 900px;
}

/* ---------------------------------------------- palvelut ja vaiheet -- */

.services,
.how { padding: clamp(48px, 7vw, 104px) var(--gutter); }

.how { background: var(--dark); color: var(--paper); }
.how .section-title { color: var(--dark-quiet); }
.how .num { color: var(--gold); }

.services__list,
.how__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.services__list h3,
.how__list h3 {
  font-weight: 800;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.services__list p { color: var(--ink-2); margin: 0; }
.how__list p { color: var(--dark-quiet); margin: 0; }

/* --------------------------------------------------------------- hinnat -- */

.prices { padding-block: clamp(48px, 7vw, 104px); }

/* Sama kokoluokka kuin .trust__title, ei uutta typografiaa. */
.prices__title {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(16px, 2vw, 24px);
  max-width: 22ch;
}

.prices__body {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-2);
  margin: 0 0 clamp(24px, 3vw, 40px);
  max-width: 62ch;
}

.prices__list {
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0;
  max-width: 46ch;
}

.prices__list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid rgba(16, 29, 24, 0.18);
  padding: 14px 0;
}

.prices__list dt {
  color: var(--ink-2);
  font-size: 16px;
}

.prices__list dd {
  margin: 0;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.prices__note {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  max-width: 62ch;
}

/* ---------------------------------------------------------------- trust -- */

.trust { padding: clamp(48px, 7vw, 104px) var(--gutter); }

.trust__title {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(28px, 4vw, 48px);
  max-width: 22ch;
}

.trust__list {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px 40px;
}

.trust__list li {
  border-top: 1px solid rgba(16, 29, 24, 0.18);
  padding-top: 14px;
  color: var(--ink-2);
}

.trust__stat {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  max-width: 70ch;
}

/* -------------------------------------------------------------- closing -- */

.closing {
  background: var(--dark);
  color: var(--paper);
  padding: clamp(56px, 9vw, 130px) var(--gutter);
}

.closing__title {
  font-weight: 800;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}

.closing__body {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--dark-quiet);
  margin: 0 0 32px;
  max-width: 44ch;
}

.closing__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.closing__tel {
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.closing__or { font-size: 14px; color: var(--dark-quiet); margin: 24px 0 0; }

/* --------------------------------------------------------------- footer -- */

.footer {
  padding: clamp(36px, 5vw, 64px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-2);
}

.footer__meta { margin: 0; line-height: 1.9; }
.footer__legal { margin: 0; }
.footer__legal a,
.footer__meta a { text-decoration: underline; text-underline-offset: 0.25em; }

/* ------------------------------------------------------------ wa-float -- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  background: var(--green);
  color: var(--paper);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(16, 29, 24, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

/* Ilman JS:aa nappi on aina nakyvissa. */
.no-js .wa-float { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------- animaatiot -- */

[data-reveal].armed {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].armed.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal].armed { opacity: 1; transform: none; transition: none; }
  .wa-float { transition: none; }
}

/* Sama palsta kuin herossa: sisalto 1232 px leveana ja keskitettyna, mutta
   osioiden taustat (.how, .closing) jaavat taysleveiksi. Sama laskenta kuin
   .hero__inner: max-width 1280 - 2 x 24 px padding = 1232 px sisaltopalsta. */
.nav,
.statement,
.video,
.booking,
.prices,
.services,
.how,
.trust,
.closing,
.footer {
  padding-inline: max(24px, calc((100% - 1232px) / 2));
}

/* Kreikka ja venaja ovat selvasti pidempia kuin englanti: sama clamp
   venyttaisi H1:n seitsemalle riville. Pienempi asteikko naille kielille. */
html[lang="el"] .hero h1,
html[lang="ru"] .hero h1 { font-size: clamp(34px, 4.4vw, 68px); }

html[lang="el"] .statement__title,
html[lang="ru"] .statement__title { font-size: clamp(30px, 4vw, 56px); }

html[lang="el"] .closing__title,
html[lang="ru"] .closing__title { font-size: clamp(30px, 4.2vw, 60px); }

/* -------------------------------------------------------- responsiivi -- */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .hero__bg::before { background-position: center 40%; }
  /* Mobiilissa kuva ei saa vieda huomiota tekstilta */
  .hero__bg::after {
    background: linear-gradient(
      to bottom,
      var(--paper) 0%,
      var(--paper) 55%,
      rgba(244, 241, 234, 0.82) 100%
    );
  }
}

@media (max-width: 30rem) {
  .btn { font-size: 16px; padding: 17px 22px; }
  .btn--outline { padding: 16px 22px; }
  .wa-float { right: 14px; bottom: 14px; }
}
