/* =========================================================
   Senioriskootteri.fi — päätyylitiedosto
   Suunniteltu senioreille: suuri fontti, korkea kontrasti,
   selkeät napit, luottamusta herättävä suomalainen ilme.
   ========================================================= */

/* ---------- Fontit ---------- */
/* Lora (otsikot) + PT Serif (leipäteksti) ladataan <link>-tagilla Google Fontsista.
   Molemmat selkeitä, selkolukuisia serif-fontteja, jotka sopivat ikäihmisille.
   Lora (serif) on suunniteltu ruutulukemiseen: iso x-korkeus ja selkeät kirjainmuodot.
   Luettavuutta ikänäölle tuetaan isolla koolla, tukevalla painolla ja vahvalla kontrastilla.
   Georgia-fallback varmistaa luettavuuden myös hitaalla verkolla. */
:root {
  --font-otsikko: 'Lora', 'Georgia', 'Times New Roman', serif;
  --font-teksti: 'Lora', 'Georgia', 'Times New Roman', serif;

  /* Väripaletti — suomalainen luonto & luottamus */
  --vihrea-syva:   #163024;  /* metsänvihreä, pääväri (tummennettu kontrastiin) */
  --vihrea-tumma:  #0f2318;  /* footer, kontrastit     */
  --vihrea-vaalea: #285240;  /* hover, aksentit        */
  --punainen:      #a52a24;  /* skootterien punainen (tummennettu kontrastiin) */
  --punainen-tumma:#7f201b;  /* nappien hover          */
  --kulta:         #b5822f;  /* hienovarainen korostus */
  --luonnonvalko:  #f7f3ec;  /* päätausta              */
  --kerma:         #fbf9f4;  /* korttien tausta        */
  --musta-teksti:  #1c1a16;  /* leipäteksti (tummennettu) */
  --harmaa-teksti: #3d3934;  /* toissijainen teksti (tummennettu kontrastiin) */
  --raja:          #ddd6c7;  /* ohuet viivat           */
  --vihrea-huom:   #256b48;  /* "kyllä"-merkit         */

  --varjo:      0 4px 20px rgba(28,61,46,.10);
  --varjo-nosto:0 12px 40px rgba(28,61,46,.18);
  --pyoristys:  16px;
  --leveys:     1180px;
}

/* ---------- Perusasetukset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-teksti);
  font-size: 24px;              /* iso perusfontti senioreille */
  font-weight: 500;            /* tukevampi paino ikänäölle – serif ei jää ohueksi */
  line-height: 1.85;
  letter-spacing: .005em;
  color: var(--musta-teksti);
  background: var(--luonnonvalko);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--vihrea-syva); text-underline-offset: 3px; }

.wrap { max-width: var(--leveys); margin: 0 auto; padding: 0 24px; }

/* Osioiden väliotsikot */
.osio-otsikko {
  font-family: var(--font-otsikko);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  color: var(--vihrea-syva);
  letter-spacing: -0.01em;
}
.osio-johdanto {
  font-size: 1.34rem;
  color: var(--harmaa-teksti);
  max-width: 720px;
  margin-top: 16px;
}
.eyebrow {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--punainen);
  margin-bottom: 14px;
}

section { padding: 84px 0; }

/* =========================================================
   YLÄPALKKI
   ========================================================= */
.ylapalkki {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,236,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--raja);
}
.ylapalkki .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.logo {
  font-family: var(--font-otsikko);
  font-weight: 700; font-size: 1.62rem;
  color: var(--vihrea-syva); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-merkki {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--vihrea-syva);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-merkki svg { width: 24px; height: 24px; }
.ylapalkki-nav { display: flex; align-items: center; gap: 26px; }
.ylapalkki-nav a.nav-linkki {
  text-decoration: none; font-weight: 600; font-size: 1.15rem;
  color: var(--vihrea-syva); white-space: nowrap;
}
.ylapalkki-nav a.nav-linkki:hover { color: var(--punainen); }
.ylapalkki-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--punainen); color: #fff;
  padding: 13px 24px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 1.2rem;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease;
}
.ylapalkki-cta:hover { background: var(--punainen-tumma); }
.nav-mobiili { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(176,50,43,.06), transparent 60%),
    linear-gradient(180deg, #fdfbf7 0%, var(--luonnonvalko) 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.hero-lippu {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--vihrea-syva);
  font-size: 1.15rem; margin-bottom: 22px;
}
.hero-lippu .lippu {
  width: 28px; height: 19px; border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,.15); flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-otsikko);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--vihrea-syva);
}
.hero h1 .koroste {
  color: var(--punainen);
  font-style: italic;
}
.hero-ingressi {
  font-size: 1.72rem;
  line-height: 1.6;
  color: var(--musta-teksti);
  margin: 26px 0 34px;
  max-width: 560px;
}
.hero-napit { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-edut {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 28px;
}
.hero-etu {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.44rem; color: var(--vihrea-syva);
}
.hero-etu svg { width: 26px; height: 26px; flex-shrink: 0; }

.hero-kuva-kehys {
  position: relative;
}
.hero-kuva-kehys img {
  border-radius: 24px;
  box-shadow: var(--varjo-nosto);
  width: 100%;
}
.hero-leima {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--punainen); color: #fff;
  border-radius: 18px; padding: 18px 24px;
  box-shadow: var(--varjo-nosto);
  transform: rotate(-3deg);
  max-width: 250px;
}
.hero-leima strong { display: block; font-size: 1.62rem; font-family: var(--font-otsikko); }
.hero-leima span { font-size: 1.44rem; opacity: 1; }

/* =========================================================
   NAPIT
   ========================================================= */
.nappi {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-teksti);
  font-weight: 700; font-size: 1.34rem;
  padding: 18px 34px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1;
}
.nappi svg { width: 22px; height: 22px; }
.nappi-punainen { background: var(--punainen); color: #fff; box-shadow: 0 6px 18px rgba(176,50,43,.30); }
.nappi-punainen:hover { background: var(--punainen-tumma); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(176,50,43,.38); }
.nappi-vihrea { background: var(--vihrea-syva); color: #fff; }
.nappi-vihrea:hover { background: var(--vihrea-vaalea); transform: translateY(-2px); }
.nappi-reuna {
  background: transparent; color: var(--vihrea-syva);
  border: 2px solid var(--vihrea-syva);
}
.nappi-reuna:hover { background: var(--vihrea-syva); color: #fff; }
.nappi-iso { font-size: 1.44rem; padding: 20px 40px; width: 100%; }

/* =========================================================
   LUOTTAMUSPALKKI
   ========================================================= */
.luottamus {
  background: var(--vihrea-syva);
  color: #fff;
  padding: 30px 0;
}
.luottamus-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; text-align: center;
}
.luottamus-kohta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.luottamus-kohta svg { width: 38px; height: 38px; color: var(--kulta); }
.luottamus-kohta strong { font-size: 1.28rem; font-weight: 700; }
.luottamus-kohta span { font-size: 1.44rem; opacity: 1; line-height: 1.4; }

/* =========================================================
   MIKSI-OSIO (hyödyt)
   ========================================================= */
.hyodyt { background: var(--kerma); }
.hyodyt-otsikko { text-align: center; margin-bottom: 56px; }
.hyodyt-otsikko .osio-johdanto { margin-left: auto; margin-right: auto; }
.hyodyt-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hyoty-kortti {
  background: #fff; border: 1px solid var(--raja);
  border-radius: var(--pyoristys); padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hyoty-kortti:hover { transform: translateY(-4px); box-shadow: var(--varjo); }
.hyoty-ikoni {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(46,125,85,.12);
  display: grid; place-items: center; margin-bottom: 20px;
}
.hyoty-ikoni svg { width: 32px; height: 32px; color: var(--vihrea-syva); }
.hyoty-kortti h3 {
  font-family: var(--font-otsikko); font-weight: 600;
  font-size: 1.72rem; color: var(--vihrea-syva); margin-bottom: 10px;
}
.hyoty-kortti p { font-size: 1.26rem; color: var(--harmaa-teksti); line-height: 1.6; }

/* =========================================================
   TUOTTEET — hyvä / parempi / paras
   ========================================================= */
.tuotteet { background: var(--luonnonvalko); }
.tuotteet-otsikko { text-align: center; margin-bottom: 20px; }
.tuotteet-otsikko .osio-johdanto { margin-left: auto; margin-right: auto; }
.hinta-huomio {
  text-align: center; font-size: 1.44rem; color: var(--harmaa-teksti);
  margin-bottom: 52px;
}
.hinta-huomio strong { color: var(--vihrea-syva); }

.tuote-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-items: stretch;
}
.tuote-kortti {
  position: relative;
  background: #fff; border: 1px solid var(--raja);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tuote-kortti:hover { transform: translateY(-6px); box-shadow: var(--varjo-nosto); }
.tuote-kortti.suosituin {
  border: 2px solid var(--punainen);
  box-shadow: var(--varjo);
}
.tuote-merkki {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  background: var(--punainen); color: #fff;
  font-weight: 700; font-size: 1.15rem; letter-spacing: .04em;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(176,50,43,.3);
}
.tuote-merkki.harmaa { background: var(--vihrea-vaalea); box-shadow: none; }
.tuote-kuva {
  background: linear-gradient(160deg, #f2ede3, #e8e0d2);
  padding: 8px;
}
.tuote-kuva img { border-radius: 14px; width: 100%; }
.tuote-sisalto { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.tuote-taso {
  font-size: 1.28rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--punainen); margin-bottom: 6px;
}
.tuote-kortti h3 {
  font-family: var(--font-otsikko); font-weight: 600;
  font-size: 1.92rem; color: var(--vihrea-syva); margin-bottom: 6px;
}
.tuote-lupaus { font-size: 1.44rem; color: var(--harmaa-teksti); margin-bottom: 22px; }

/* Hinnoittelu — kk-maksu isolla ensin */
.hinta-lohko {
  background: var(--kerma); border: 1px solid var(--raja);
  border-radius: 14px; padding: 20px; margin-bottom: 22px;
}
.hinta-kk {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.hinta-kk .summa {
  font-family: var(--font-otsikko); font-weight: 700;
  font-size: 3rem; line-height: 1; color: var(--vihrea-syva);
}
.hinta-kk .yksikko { font-size: 1.44rem; font-weight: 600; color: var(--vihrea-syva); }
.hinta-alarivi {
  margin-top: 14px;
  font-size: 1.2rem; color: var(--harmaa-teksti);
  line-height: 1.3;
}
.hinta-alarivi .kertaostona-teksti { display: block; margin-bottom: 2px; }
.hinta-alarivi .kokohinta-rivi { display: flex; align-items: center; gap: 10px; }
.hinta-alarivi .kokohinta { font-weight: 700; color: var(--musta-teksti); font-size: 1.85rem; }
.info-nappi {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--vihrea-syva); color: #fff;
  border: none; cursor: pointer; font-weight: 700; font-size: 1.28rem;
  flex-shrink: 0; line-height: 1;
  transition: background .15s ease, transform .15s ease;
}
.info-nappi:hover { background: var(--punainen); transform: scale(1.1); }

.tuote-ominaisuudet { list-style: none; margin-bottom: 26px; }
.tuote-ominaisuudet li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; font-size: 1.44rem; border-bottom: 1px solid var(--raja);
}
.tuote-ominaisuudet li:last-child { border-bottom: none; }
.tuote-ominaisuudet li svg { width: 22px; height: 22px; color: var(--vihrea-huom); flex-shrink: 0; margin-top: 3px; }
.tuote-napit { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.tuote-linkki-lisa {
  text-align: center; font-weight: 600; color: var(--vihrea-syva);
  text-decoration: underline; font-size: 1.28rem;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.tuote-linkki-lisa:hover { color: var(--punainen); }

/* =========================================================
   VERTAILUTAULUKKO
   ========================================================= */
.vertailu { background: var(--kerma); }
.vertailu-otsikko { text-align: center; margin-bottom: 48px; }
.taulukko-kaari { overflow-x: auto; border-radius: 18px; box-shadow: var(--varjo); }
table.vertailu-taulukko {
  width: 100%; border-collapse: collapse; background: #fff;
  min-width: 680px;
}
.vertailu-taulukko th, .vertailu-taulukko td {
  padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--raja);
  font-size: 1.44rem;
}
.vertailu-taulukko thead th {
  background: var(--vihrea-syva); color: #fff;
  font-family: var(--font-otsikko); font-weight: 600; font-size: 1.34rem;
  position: sticky; top: 0;
}
.vertailu-taulukko thead th:first-child { border-top-left-radius: 18px; }
.vertailu-taulukko thead th:last-child { border-top-right-radius: 18px; }
.vertailu-taulukko tbody th {
  font-weight: 700; color: var(--vihrea-syva); background: var(--kerma);
  width: 30%;
}
.vertailu-taulukko td { color: var(--musta-teksti); }
.vertailu-taulukko tbody tr:hover td { background: rgba(46,125,85,.04); }
.taulukko-hinta { font-weight: 700; color: var(--punainen); font-size: 1.28rem; }

/* =========================================================
   TAKUU / RAUHOITUS
   ========================================================= */
.takuu {
  background: var(--vihrea-syva); color: #fff;
  text-align: center;
}
.takuu .osio-otsikko { color: #fff; }
.takuu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 52px;
}
.takuu-kohta svg { width: 52px; height: 52px; color: var(--kulta); margin-bottom: 18px; }
.takuu-kohta h3 { font-family: var(--font-otsikko); font-weight: 600; font-size: 1.62rem; margin-bottom: 12px; }
.takuu-kohta p { font-size: 1.28rem; opacity: 1; line-height: 1.6; }

/* =========================================================
   KOKEMUKSET
   ========================================================= */
.kokemukset { background: var(--luonnonvalko); }
.kokemukset-otsikko { text-align: center; margin-bottom: 52px; }
.kokemus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kokemus-kortti {
  background: #fff; border: 1px solid var(--raja); border-radius: 18px;
  padding: 32px 28px;
}
.tahdet { display: flex; gap: 3px; margin-bottom: 16px; color: var(--kulta); }
.tahdet svg { width: 24px; height: 24px; }
.kokemus-teksti { font-size: 1.36rem; line-height: 1.65; color: var(--musta-teksti); margin-bottom: 20px; }
.kokemus-henkilo { display: flex; align-items: center; gap: 14px; }
.kokemus-nimikirjain {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--vihrea-syva); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.34rem;
  flex-shrink: 0;
}
.kokemus-nimi strong { display: block; color: var(--vihrea-syva); font-size: 1.44rem; }
.kokemus-nimi span { font-size: 1.44rem; color: var(--harmaa-teksti); }

/* =========================================================
   UKK
   ========================================================= */
.ukk { background: var(--kerma); }
.ukk-otsikko { text-align: center; margin-bottom: 48px; }
.ukk-lista { max-width: 820px; margin: 0 auto; }
.ukk-kohta {
  background: #fff; border: 1px solid var(--raja);
  border-radius: 14px; margin-bottom: 14px; overflow: hidden;
}
.ukk-kysymys {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 26px; font-size: 1.34rem; font-weight: 700;
  color: var(--vihrea-syva); font-family: var(--font-teksti);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.ukk-kysymys:hover { color: var(--punainen); }
.ukk-merkki { flex-shrink: 0; width: 28px; height: 28px; transition: transform .25s ease; }
.ukk-kohta.auki .ukk-merkki { transform: rotate(45deg); }
.ukk-vastaus { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ukk-vastaus-sisalto { padding: 0 26px 24px; font-size: 1.44rem; line-height: 1.65; color: var(--harmaa-teksti); }

/* =========================================================
   LOPPU-CTA
   ========================================================= */
.loppu-cta {
  background:
    linear-gradient(rgba(18,41,31,.82), rgba(18,41,31,.9));
  color: #fff; text-align: center;
}
.loppu-cta h2 {
  font-family: var(--font-otsikko); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 20px;
}
.loppu-cta p { font-size: 1.44rem; opacity: 1; max-width: 640px; margin: 0 auto 36px; }
.loppu-napit { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--vihrea-tumma); color: rgba(255,255,255,.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo {
  font-family: var(--font-otsikko); font-weight: 700; font-size: 1.62rem;
  color: #fff; margin-bottom: 16px;
}
.footer-teksti { font-size: 1.22rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 1.22rem; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.85); text-decoration: none; padding: 8px 0; font-size: 1.22rem; }
.footer-col a:hover { color: #fff; }
.footer-yhteys { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-yhteys svg { width: 20px; height: 20px; color: var(--kulta); flex-shrink: 0; }
.footer-alarivi {
  padding-top: 26px; text-align: center; font-size: 1.28rem; opacity: .9;
}
.footer-affiliate {
  max-width: 780px; margin: 0 auto 18px; font-size: 1.15rem;
  line-height: 1.55; opacity: 1;
}

/* =========================================================
   MODAALI (OSSA-tiedot)
   ========================================================= */
.modaali-tausta {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18,41,31,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modaali-tausta.auki { display: flex; }
.modaali {
  background: #fff; border-radius: 20px; max-width: 480px; width: 100%;
  padding: 40px 36px; box-shadow: var(--varjo-nosto);
  max-height: 90vh; overflow-y: auto;
  animation: modaali-sisaan .25s ease;
}
@keyframes modaali-sisaan { from { opacity: 0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);} }
.modaali h3 {
  font-family: var(--font-otsikko); font-weight: 600; font-size: 1.82rem;
  color: var(--vihrea-syva); margin-bottom: 8px;
}
.modaali-alaotsikko { color: var(--harmaa-teksti); margin-bottom: 24px; font-size: 1.44rem; }
.ossa-rivit { list-style: none; }
.ossa-rivit li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--raja); font-size: 1.34rem;
}
.ossa-rivit li span:first-child { color: var(--harmaa-teksti); }
.ossa-rivit li span:last-child { font-weight: 700; color: var(--vihrea-syva); }
.ossa-rivit li.korostettu span:last-child { color: var(--punainen); font-size: 1.34rem; }
.modaali-huom { margin-top: 22px; font-size: 1.28rem; color: var(--harmaa-teksti); line-height: 1.55; }
.modaali-sulje {
  position: absolute; top: 20px; right: 24px;
  background: var(--kerma); border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 50%; font-size: 1.54rem;
  color: var(--vihrea-syva); display: grid; place-items: center; line-height: 1;
}
.modaali-sulje:hover { background: var(--raja); }
.modaali { position: relative; }

/* =========================================================
   RESPONSIIVISUUS
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-kuva-kehys { max-width: 520px; margin: 0 auto; }
  .hyodyt-grid { grid-template-columns: repeat(2, 1fr); }
  .luottamus-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .tuote-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .takuu-grid, .kokemus-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 22px; }
  section { padding: 60px 0; }
  .wrap { padding: 0 18px; }
  .ylapalkki-nav .nav-linkki { display: none; }
  /* Indexissä: piilota pitkä desktop-linkki, näytä lyhyt mobiilinappi.
     Tuotesivuilla lyhyt "Tilaa nyt" -linkki (a.ylapalkki-cta) jää näkyviin. */
  .vain-desktop { display: none; }
  .cta-lisa { display: none; }
  .nav-mobiili { display: inline-flex; }
  .ylapalkki .wrap { min-height: 66px; }
  .logo { font-size: 1.38rem; }
  .ylapalkki-cta { padding: 11px 18px; font-size: 1.15rem; }
  .hyodyt-grid { grid-template-columns: 1fr; }
  .hero-napit { flex-direction: column; }
  .hero-napit .nappi { width: 100%; }
  .hero-leima { left: 12px; bottom: -16px; padding: 14px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .osio-otsikko { font-size: 2.15rem; }
  .hinta-kk .summa { font-size: 2.6rem; }
}

/* Saavutettavuus */
:focus-visible { outline: 3px solid var(--punainen); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   TUOTESIVUT (arvo-pXXX.html)
   ========================================================= */
.tuotesivu-hero {
  background: linear-gradient(180deg, #fdfbf7 0%, var(--luonnonvalko) 100%);
  padding: 48px 0 72px;
}
.murupolku { font-size: 1.15rem; color: var(--harmaa-teksti); margin-bottom: 30px; }
.murupolku a { color: var(--vihrea-syva); text-decoration: none; font-weight: 600; }
.murupolku a:hover { text-decoration: underline; }
.tuotesivu-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.tuotesivu-kuva {
  position: sticky; top: 100px;
  border-radius: 24px; overflow: hidden; box-shadow: var(--varjo-nosto);
}
.tuotesivu-kuva img { width: 100%; }
.tuotesivu-taso {
  display: inline-block; font-size: 1.28rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--punainen); margin-bottom: 10px;
}
.tuotesivu-info h1 {
  font-family: var(--font-otsikko); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05;
  color: var(--vihrea-syva); margin-bottom: 16px;
}
.tuotesivu-ingressi { font-size: 1.38rem; line-height: 1.6; color: var(--musta-teksti); margin-bottom: 30px; }

.tuotesivu-hinta {
  background: #fff; border: 2px solid var(--raja); border-radius: 18px;
  padding: 28px; margin-bottom: 28px;
}
.tuotesivu-hinta .hinta-kk .summa { font-size: 3.4rem; }
.tuotesivu-osta { margin-top: 20px; }

/* Jaa läheiselle -lohko */
.jako {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--raja);
}
.jako-otsikko {
  display: block; font-weight: 700; font-size: 1.15rem;
  color: var(--vihrea-syva); margin-bottom: 12px;
}
.jako-napit { display: flex; flex-wrap: wrap; gap: 10px; }
.jako-nappi {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 999px;
  border: 2px solid var(--raja); background: #fff;
  text-decoration: none; font-weight: 600; font-size: 1.44rem;
  color: var(--vihrea-syva); cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.jako-nappi svg { width: 20px; height: 20px; flex-shrink: 0; }
.jako-nappi:hover { transform: translateY(-2px); }
.jako-wa:hover   { border-color: #25d366; color: #128c3e; background: #f0fdf4; }
.jako-sms:hover  { border-color: var(--vihrea-vaalea); background: var(--luonnonvalko); }
.jako-mail:hover { border-color: var(--punainen); color: var(--punainen); background: #fdf3f2; }

.myyntiteksti { margin: 26px 0; }
.myyntiteksti p { font-size: 1.36rem; line-height: 1.7; margin-bottom: 18px; color: var(--musta-teksti); }

.hyoty-lista-iso { list-style: none; margin: 30px 0; }
.hyoty-lista-iso li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--raja);
}
.hyoty-lista-iso li:last-child { border-bottom: none; }
.hyoty-lista-iso .merkki {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(46,125,85,.12); display: grid; place-items: center;
}
.hyoty-lista-iso .merkki svg { width: 24px; height: 24px; color: var(--vihrea-syva); }
.hyoty-lista-iso strong { display: block; font-size: 1.28rem; color: var(--vihrea-syva); margin-bottom: 3px; }
.hyoty-lista-iso span.kuvaus { font-size: 1.44rem; color: var(--harmaa-teksti); line-height: 1.5; }

/* Tekniset tiedot */
.tekniset { background: var(--kerma); }
.tekniset-otsikko { text-align: center; margin-bottom: 44px; }
.tekniset-taulukko-kaari { max-width: 820px; margin: 0 auto; }
.tekniset-taulukko { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--varjo); }
.tekniset-taulukko tr:nth-child(even) { background: var(--kerma); }
.tekniset-taulukko th, .tekniset-taulukko td { padding: 16px 24px; text-align: left; font-size: 1.34rem; border-bottom: 1px solid var(--raja); }
.tekniset-taulukko th { font-weight: 700; color: var(--vihrea-syva); width: 45%; }
.tekniset-taulukko td { color: var(--musta-teksti); }
.tekniset-taulukko tr:last-child th, .tekniset-taulukko tr:last-child td { border-bottom: none; }

/* Pakkauksen sisältö */
.pakkaus { max-width: 820px; margin: 40px auto 0; text-align: center; }
.pakkaus h3 { font-family: var(--font-otsikko); font-weight: 600; font-size: 1.62rem; color: var(--vihrea-syva); margin-bottom: 20px; }
.pakkaus-lista { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pakkaus-lista span {
  background: #fff; border: 1px solid var(--raja); border-radius: 999px;
  padding: 10px 22px; font-size: 1.44rem; font-weight: 600; color: var(--vihrea-syva);
  display: inline-flex; align-items: center; gap: 8px;
}
.pakkaus-lista span svg { width: 18px; height: 18px; color: var(--vihrea-huom); }

/* Tieliikennehuomio */
.tie-huomio {
  max-width: 820px; margin: 44px auto 0;
  background: rgba(200,150,62,.10); border: 1px solid rgba(200,150,62,.35);
  border-radius: 16px; padding: 26px 30px;
}
.tie-huomio h3 { font-size: 1.34rem; color: var(--vihrea-syva); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.tie-huomio h3 svg { width: 24px; height: 24px; color: var(--kulta); }
.tie-huomio p { font-size: 1.44rem; color: var(--harmaa-teksti); line-height: 1.6; }

/* Muut mallit -osio */
.muut-mallit { background: var(--luonnonvalko); text-align: center; }
.muut-mallit .osio-otsikko { margin-bottom: 40px; }
.muut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 720px; margin: 0 auto; }
.muut-kortti {
  background: #fff; border: 1px solid var(--raja); border-radius: 16px;
  padding: 26px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
  display: block;
}
.muut-kortti:hover { transform: translateY(-4px); box-shadow: var(--varjo); }
.muut-kortti img { border-radius: 12px; margin-bottom: 16px; }
.muut-kortti h3 { font-family: var(--font-otsikko); font-weight: 600; font-size: 1.54rem; color: var(--vihrea-syva); }
.muut-kortti .hinta { color: var(--punainen); font-weight: 700; font-size: 1.28rem; margin-top: 6px; }

@media (max-width: 1024px) {
  .tuotesivu-grid { grid-template-columns: 1fr; gap: 36px; }
  .tuotesivu-kuva { position: static; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .muut-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   OPAS-SIVUT (longtail-sisältö, myyntiin ohjaava)
   ========================================================= */
.opas-hero {
  background: linear-gradient(180deg, #fdfbf7 0%, var(--luonnonvalko) 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--raja);
}
.opas-hero .wrap { max-width: 920px; }
.opas-eyebrow {
  display: inline-block; font-weight: 700; font-size: 1.15rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--punainen); margin-bottom: 14px;
}
.opas-hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.4rem); line-height: 1.1;
  color: var(--vihrea-syva); margin-bottom: 18px;
}
.opas-johdanto { font-size: 1.62rem; line-height: 1.55; color: var(--harmaa-teksti); }

.opas-sisalto { padding: 50px 0 20px; }
.opas-sisalto .wrap { max-width: 920px; }
.opas-sisalto h2 {
  font-size: 2.25rem; color: var(--vihrea-syva);
  margin: 44px 0 16px; line-height: 1.2;
}
.opas-sisalto h3 {
  font-size: 1.62rem; color: var(--vihrea-vaalea);
  margin: 30px 0 12px;
}
.opas-sisalto p { font-size: 1.44rem; line-height: 1.75; margin-bottom: 18px; }
.opas-sisalto ul, .opas-sisalto ol { margin: 0 0 22px 4px; padding-left: 26px; }
.opas-sisalto li { font-size: 1.44rem; line-height: 1.7; margin-bottom: 10px; }
.opas-sisalto strong { color: var(--vihrea-syva); }
.opas-sisalto a:not(.nappi):not(.opas-kortti):not(.opas-cta-nappi) {
  color: var(--punainen); text-decoration: underline; font-weight: 600;
}

/* Tietolaatikko (nostettu fakta) */
.opas-huomio {
  background: var(--kerma); border-left: 5px solid var(--kulta);
  border-radius: 0 14px 14px 0; padding: 22px 26px; margin: 28px 0;
}
.opas-huomio.tarkea { border-left-color: var(--punainen); }
.opas-huomio.hyva { border-left-color: var(--vihrea-huom); }
.opas-huomio p:last-child { margin-bottom: 0; }
.opas-huomio-otsikko { font-weight: 700; color: var(--vihrea-syva); font-size: 1.36rem; display:block; margin-bottom: 6px; }

/* CTA-laatikko keskellä artikkelia */
.opas-cta {
  background: var(--vihrea-syva); color: #fff;
  border-radius: 20px; padding: 34px 34px; margin: 40px 0;
  text-align: center;
}
.opas-cta h3 { color: #fff; font-size: 1.72rem; margin: 0 0 10px; }
.opas-cta p { color: rgba(255,255,255,.9); font-size: 1.36rem; margin-bottom: 22px; }
.opas-cta-napit { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.opas-cta-nappi {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--punainen); color: #fff; text-decoration: none;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1.22rem;
  transition: background .15s ease, transform .15s ease;
}
.opas-cta-nappi:hover { background: var(--punainen-tumma); transform: translateY(-2px); }
.opas-cta-nappi.valkoinen { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.5); }
.opas-cta-nappi.valkoinen:hover { background: rgba(255,255,255,.2); }

/* Mallinostot artikkelissa */
.opas-mallit { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 30px 0; }
.opas-malli {
  background: #fff; border: 2px solid var(--raja); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.opas-malli:hover { transform: translateY(-4px); box-shadow: var(--varjo-nosto); border-color: var(--punainen); }
.opas-malli img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.opas-malli-sisalto { padding: 16px 18px 20px; }
.opas-malli h4 { font-size: 1.44rem; color: var(--vihrea-syva); margin: 0 0 4px; }
.opas-malli .opas-malli-hinta { font-weight: 700; color: var(--punainen); font-size: 1.28rem; }
.opas-malli .opas-malli-kuvaus { font-size: 1.44rem; color: var(--harmaa-teksti); margin-top: 6px; line-height: 1.45; }

/* FAQ opassivulla */
.opas-faq { margin: 30px 0; }
.opas-faq details {
  border: 1px solid var(--raja); border-radius: 12px;
  padding: 4px 22px; margin-bottom: 12px; background: #fff;
}
.opas-faq summary {
  font-weight: 700; font-size: 1.28rem; color: var(--vihrea-syva);
  padding: 16px 0; cursor: pointer; list-style: none;
}
.opas-faq summary::-webkit-details-marker { display: none; }
.opas-faq summary::after { content: '+'; float: right; font-size: 1.62rem; color: var(--punainen); line-height: 1; }
.opas-faq details[open] summary::after { content: '−'; }
.opas-faq details p { padding-bottom: 18px; margin: 0; }

/* Murupolku opassivulla (käyttää olemassa olevaa .murupolku jos on) */
.opas-murupolku { font-size: 1.44rem; color: var(--harmaa-teksti); margin-bottom: 8px; }
.opas-murupolku a { color: var(--harmaa-teksti); text-decoration: none; }
.opas-murupolku a:hover { color: var(--punainen); }

/* Opas-hakemisto (opas/index) */
.opas-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; margin: 20px 0 10px; }
.opas-kortti {
  background: #fff; border: 2px solid var(--raja); border-radius: 18px;
  padding: 28px 26px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.opas-kortti:hover { transform: translateY(-4px); box-shadow: var(--varjo-nosto); border-color: var(--punainen); }
.opas-kortti h3 { color: var(--vihrea-syva); font-size: 1.72rem; margin: 0 0 10px; }
.opas-kortti p { color: var(--harmaa-teksti); font-size: 1.44rem; line-height: 1.55; margin: 0 0 16px; flex-grow: 1; }
.opas-kortti .opas-kortti-linkki { color: var(--punainen); font-weight: 700; font-size: 1.44rem; }

@media (max-width: 680px) {
  .opas-mallit { grid-template-columns: 1fr; }
  .opas-cta { padding: 28px 22px; }
  .opas-sisalto h2 { font-size: 1.72rem; }
}

/* =========================================================
   UX-PARANNUKSET (luottamus, jako, sticky, takaisin ylös)
   ========================================================= */

/* Luottamusbaari opassivuilla */
.luottamus-baari {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--raja);
}
.luottamus-merkki { display: inline-flex; align-items: center; gap: 9px; font-size: 1.44rem; }
.luottamus-merkki svg { width: 26px; height: 26px; color: var(--vihrea-huom); flex-shrink: 0; }
.luottamus-merkki strong { color: var(--vihrea-syva); }

/* Lähetä läheiselle -jako */
.jako-laheiselle {
  margin: 40px 0 10px; padding: 24px 26px;
  background: var(--kerma); border: 1px solid var(--raja); border-radius: 16px;
}
.jako-laheiselle .jako-otsikko {
  display: block; font-weight: 700; font-size: 1.28rem;
  color: var(--vihrea-syva); margin-bottom: 14px;
}
.jako-laheiselle .jako-napit { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mobiilin sticky-baari */
.sticky-baari { display: none; }
.sticky-nappi {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 17px; font-size: 1.34rem; font-weight: 700;
  background: var(--punainen); color: #fff; text-decoration: none;
}
.sticky-nappi:active { background: var(--punainen-tumma); }

/* Takaisin ylös -nappi */
.takaisin-ylos {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--vihrea-syva); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .15s ease;
  box-shadow: var(--varjo-nosto);
}
.takaisin-ylos svg { width: 26px; height: 26px; }
.takaisin-ylos.nakyy { opacity: 1; visibility: visible; transform: translateY(0); }
.takaisin-ylos:hover { background: var(--vihrea-vaalea); }

@media (max-width: 680px) {
  .sticky-baari {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  }
  /* tilaa sticky-baarille, ettei footer jää sen alle */
  body { padding-bottom: 64px; }
  .takaisin-ylos { bottom: 78px; width: 50px; height: 50px; }
  .luottamus-baari { gap: 12px 20px; }
  .luottamus-merkki { font-size: 1.15rem; }
}

/* Opas-nostot tuotesivuilla */
.opas-nostot { background: var(--kerma); }
.opas-nostot .osio-otsikko { text-align: center; }
.opas-nostot-johdanto { text-align: center; font-size: 1.34rem; color: var(--harmaa-teksti); max-width: 640px; margin: 0 auto 34px; }
.opas-nostot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.opas-nosto-kortti {
  background: #fff; border: 2px solid var(--raja); border-radius: 16px;
  padding: 26px 24px; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.opas-nosto-kortti:hover { transform: translateY(-4px); box-shadow: var(--varjo-nosto); border-color: var(--punainen); }
.opas-nosto-kortti h3 { font-size: 1.72rem; color: var(--vihrea-syva); margin: 0 0 8px; }
.opas-nosto-kortti p { font-size: 1.34rem; color: var(--harmaa-teksti); margin: 0 0 14px; line-height: 1.5; }
.opas-nosto-linkki { color: var(--punainen); font-weight: 700; font-size: 1.34rem; }
.opas-nostot-kaikki { text-align: center; margin-top: 30px; }
.opas-nostot-kaikki a { color: var(--punainen); font-weight: 700; font-size: 1.28rem; text-decoration: none; }
.opas-nostot-kaikki a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .opas-nostot-grid { grid-template-columns: 1fr; }
}

/* 3 helppoa askelta -osio */
.askeleet { background: var(--luonnonvalko); }
.askeleet-otsikko { text-align: center; margin-bottom: 40px; }
.askeleet-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.askel {
  background: #fff; border: 2px solid var(--raja); border-radius: 18px;
  padding: 34px 28px; text-align: center; position: relative;
}
.askel-numero {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--punainen); color: #fff;
  font-family: var(--font-otsikko); font-size: 1.82rem; font-weight: 700;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.askel h3 { font-size: 1.54rem; color: var(--vihrea-syva); margin: 0 0 12px; }
.askel p { font-size: 1.36rem; line-height: 1.6; color: var(--harmaa-teksti); margin: 0; }
.askeleet-cta { text-align: center; margin-top: 38px; }

@media (max-width: 680px) {
  .askeleet-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Kaupallinen yhteistyö -merkintä napin alla */
.kaupallinen-huomio {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--harmaa-teksti);
  text-align: center;
  margin: 9px auto 0;
  letter-spacing: .02em;
  opacity: .8;
}
