/* A-Talli Oy, Vieremä v3. Rakenne ja mitat AJC Automotiven koodista (ref_koodi_ajc.json): Work Sans 700 -> Schibsted Grotesk,
   otsikot 74.8/77, h2 53/58, listaotsikot 19.36/23, teksti 16/25.6, napit 6.4 px säde.
   v3: tumma yläpalkki Karin hopealogolle (lippis), diagnostiikka ensin, hallin slideshow, huoltojono ja osamyynti (esimerkit). */
@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/schibsted-grotesk-var.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #141414;
  --coal: #161616;
  --paper: #fff;
  --grey: #EEEFEF;
  --rust: #A84F1C;
  --rust-d: #8A4016;
  --silver: #C8CACD;
  --muted: #545454;
  --line: #141414;
  --ok: #2F6B3A;
  --sans: "Schibsted Grotesk", "Segoe UI", Arial, sans-serif;
  --e: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/25.6px var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }
.wrap { width: min(1320px, 100% - 64px); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.draftbar { background: #000; color: #e6e6e6; font-size: 13px; line-height: 19px; text-align: center; padding: 9px 16px; border-bottom: 1px solid #2a2a2a; }
.draftbar strong { color: #F0A46E; letter-spacing: .14em; margin-right: 10px; font-weight: 800; }

/* yläpalkki: referenssin rakenne (logo vasemmalla, linkit + nappi oikealla), tumma pohja lippiksen hopealogolle */
.head { background: var(--coal); color: #fff; position: relative; z-index: 5; }
.head-in { width: min(1400px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; gap: 32px; min-height: 96px; }
.logo { display: block; margin-right: auto; }
.head-home .nav { margin-right: auto; }
.nav a[aria-current="page"] { background-size: 100% 2px; color: #fff; }
.mbtn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #5a5a5a; border-radius: 6.4px; background: transparent; color: #fff; font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, transform .16s; }
.mbtn:hover { background: #2a2a2a; }
.mbtn:active { transform: scale(.97); }
.mbtn svg { width: 20px; height: 20px; }
.mnav { background: var(--coal); border-top: 1px solid #2c2c2c; padding-bottom: 8px; }
.mnav a { display: block; width: calc(100% - 32px); margin: 0 auto; padding: 13px 0; border-bottom: 1px solid #2c2c2c; color: #fff; text-decoration: none; font-size: 17px; line-height: 22px; font-weight: 600; }
.mnav a[aria-current="page"] { color: var(--silver); }
.mnav[hidden] { display: none; }
.logo-img { width: 240px; height: auto; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: 15.5px; line-height: 24px; font-weight: 500; text-decoration: none; color: #e9e9e9; padding: 6px 0; background: linear-gradient(var(--silver), var(--silver)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--e), color .2s; }
.nav a:hover { background-size: 100% 2px; color: #fff; }
.hbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 6.4px; background: var(--rust); color: #fff; text-decoration: none; font-size: 14.3px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; transition: background-color .2s, transform .16s; }
.hbtn:hover { background: var(--rust-d); }
.hbtn:active { transform: scale(.97); }

/* hero: Karin hallikuva + tummennus, logon teksti H1:nä, välilehtinapit; oikealla hinta-arviolomake */
.hero { position: relative; overflow: hidden; background: #222; color: #fff; }
.hero-img, .hero-img picture, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 50% 17%; transform: scale(1.05); transition: transform 2.2s var(--e); }
.ready .hero-img img { transform: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 62% at 23% 52%, rgba(0,0,0,.6) 0%, rgba(0,0,0,.44) 55%, rgba(0,0,0,0) 100%), linear-gradient(90deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.06) 60%, rgba(0,0,0,.12) 100%); }
.hero-in { position: relative; z-index: 2; width: min(1320px, 100% - 64px); margin: 0 auto; display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; min-height: 700px; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(56px, 7vw, 104px); line-height: 1.02; font-weight: 800; letter-spacing: .005em; }
.hero-logo img { display: block; width: min(560px, 100%); height: auto; filter: drop-shadow(0 2px 14px rgba(0,0,0,.55)); }
.hero-sub, .hero-rate span { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero-sub { margin-top: 18px; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 600; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 6.4px; background: var(--rust); color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s, transform .16s; }
.tabs a:hover { background: var(--rust-d); }
.tabs a:active { transform: scale(.97); }
.hero-rate { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 44px; text-decoration: none; font-size: 15px; line-height: 22px; font-weight: 600; }
.hero-rate .stars svg { width: 18px; height: 18px; }
.hero-tx > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--e), transform .8s var(--e); }
.ready .hero-tx > * { opacity: 1; transform: none; }
.ready .hero-tx > :nth-child(2) { transition-delay: .08s; }
.ready .hero-tx > :nth-child(3) { transition-delay: .16s; }
.ready .hero-tx > :nth-child(4) { transition-delay: .24s; }
.stars { display: inline-flex; gap: 3px; color: #F2A93B; }
.stars svg { width: 18px; height: 18px; }

.qform { background: #fff; color: var(--ink); border-radius: 10px; padding: 30px 30px 24px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.qform h2 { font-size: 32.8px; line-height: 37.8px; font-weight: 700; }
.q-sub { margin-top: -6px; color: var(--muted); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qform label { display: grid; gap: 6px; font-size: 14px; line-height: 18px; font-weight: 600; }
.qform input, .qform textarea { width: 100%; background: #fff; color: var(--ink); border: 1px solid #9a9a9a; border-radius: 6.4px; padding: 11px 12px; font: 500 16px/22px var(--sans); transition: border-color .2s, box-shadow .2s; }
.qform input:focus, .qform textarea:focus { border-color: var(--rust); box-shadow: 0 0 0 3px rgba(168,79,28,.18); outline: none; }
.qform [aria-invalid="true"] { border-color: #C0392B; }
.qform textarea { resize: vertical; min-height: 84px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 6.4px; background: var(--rust); color: #fff; font: 600 17px/22px var(--sans); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .16s; }
.btn:hover { background: var(--rust-d); }
.btn:active { transform: scale(.98); }
.btn svg { transition: transform .25s var(--e); }
.btn:hover svg { transform: translateX(3px); }
.f-done { font-size: 15px; line-height: 22px; border-left: 3px solid var(--rust); padding: 8px 12px; background: #f4f4f4; }
.q-tel { font-size: 15px; line-height: 22px; color: var(--muted); }
.q-tel a { color: var(--ink); font-weight: 700; text-decoration-color: var(--rust); text-underline-offset: 3px; }

/* diagnostiikka: pääpalvelu heti heron jälkeen, teksti vasemmalla, VIDA-kuva oikealla */
.diag { padding: 96px 0 88px; }
.diag-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.diag h2 { font-size: clamp(44px, 5vw, 74.8px); line-height: 1.03; font-weight: 700; letter-spacing: .005em; }
.diag-big { margin-top: 30px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 800; max-width: 560px; color: var(--rust-d); }
.diag-body { margin-top: 16px; max-width: 600px; display: grid; gap: 12px; }
.diag-body p { font-size: 18px; line-height: 29px; }
/* 29.11. Kari: otsikko pois, hänen tekstinsä aloittaa osion isompana */
.diag-body.diag-lead { margin-top: 0; }
.diag-body.diag-lead p { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.diag-lead { margin-top: 12px; font-size: 19.36px; line-height: 30px; font-weight: 500; max-width: 560px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts li { display: grid; gap: 2px; padding: 12px 16px; background: var(--grey); border-radius: 8px; font-size: 14px; line-height: 18px; color: var(--muted); min-width: 150px; }
.facts b { font-size: 24px; line-height: 28px; font-weight: 800; color: var(--ink); }
.diag-list { margin-top: 30px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.diag-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.d-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--rust); color: #fff; display: grid; place-items: center; margin-top: -2px; }
.diag-list h3 { font-size: 19.36px; line-height: 23px; font-weight: 700; }
.diag-list p { margin-top: 4px; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; }
.tools-l { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-d); }
.tools ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { font-size: 15px; line-height: 20px; font-weight: 700; padding: 8px 12px; border: 1.5px solid var(--ink); border-radius: 6.4px; }
.diag-muut { margin-top: 12px; color: var(--muted); }
.oireet { margin-top: 24px; }
.oireet ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.oireet li { font-size: 15px; line-height: 20px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: #FBEBDD; color: var(--rust-d); }
.diag-img { position: relative; border-radius: 12px; overflow: hidden; background: #111; }
.diag-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.diag-img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0)); color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; }

/* halli ja laitteet: tumma kaista + vaihtuvat kuvat (Kari: slideshow hallin laitteistosta) */
.halli { background: var(--coal); color: #fff; padding: 88px 0; overflow: hidden; }
.halli-row { display: grid; grid-template-columns: 1fr 1.65fr; gap: 56px; align-items: center; }
.halli h2 { font-size: clamp(40px, 3.7vw, 53px); line-height: 1.09; font-weight: 700; }
.halli-tx > p { margin-top: 14px; font-size: 17px; line-height: 27px; color: #d6d6d6; }
.sl-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.sl-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, transform .16s; }
.sl-btn:hover { background: #fff; color: var(--ink); }
.sl-btn:active { transform: scale(.95); }
.sl-pause { margin-left: 8px; min-height: 44px; padding: 0 14px; border: 0; background: none; color: #cfcfcf; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sl-pause:hover { color: #fff; }
.slider { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.0); }
.slide.on img { animation: kb 7s ease-out both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 46px; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0)); font-size: 20px; line-height: 26px; font-weight: 700; }
.s-n { display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; color: #d0d0d0; margin-bottom: 4px; }
.dots { position: absolute; z-index: 2; left: 22px; bottom: 16px; display: flex; gap: 6px; }
.dot { width: 26px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255,255,255,.4); border-radius: 2px; transition: background-color .3s; }
.dot.on::before { background: #fff; }

/* huollot ja korjaukset: referenssin harmaa alue, isot otsikot vuorotellen + valkoinen kortti */
.services { background: var(--grey); padding: 80px 0 64px; }
.sv-h { font-size: clamp(40px, 3.7vw, 53px); line-height: 1.09; font-weight: 700; }
.sv-sub { margin-top: 10px; font-size: 19.36px; line-height: 31px; }
.sv-grid { display: grid; gap: 20px; margin-top: 36px; }
.sgroup { display: block; }
/* 25.11. siistimpi: otsikko kortin sisällä, rastit ilman viivoja, kuvat samankokoiset (1fr/1fr, 4:3) */
.s-card { background: #fff; padding: 34px 36px; border-radius: 10px; }
.s-card.has-media { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.s-t { font-size: clamp(32px, 2.9vw, 42px); line-height: 1.1; font-weight: 800; margin-bottom: 24px; }
.s-list { display: grid; gap: 16px; }
.s-list li { position: relative; padding-left: 36px; font-size: 21px; line-height: 29px; font-weight: 600; }
.s-list li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 15px; height: 8px; border-left: 2.5px solid var(--rust); border-bottom: 2.5px solid var(--rust); transform: rotate(-45deg); }
.s-cols { grid-template-columns: 1fr 1fr; column-gap: 48px; }
.s-note { margin-top: 18px; font-size: 21px; line-height: 29px; font-weight: 600; color: var(--ink); }
.s-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.gal { position: relative; }
.gal-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--coal); }
.gal-i { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .45s ease; }
.gal-i.on { opacity: 1; z-index: 1; }
.gal-i img { height: 100%; border-radius: 0; }
.gal-btn { position: absolute; z-index: 2; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(20,20,20,.72); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, transform .16s; }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-btn:hover { background: #fff; color: var(--ink); }
.gal-btn:active { transform: scale(.95); }
.gal-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gal-n { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 4px; background: rgba(20,20,20,.72); color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* huoltojono: ESIMERKKI, viikkokortit */
.jono { padding: 88px 0 72px; }
.jono-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.jono h2, .osat h2 { font-size: clamp(40px, 3.7vw, 53px); line-height: 1.09; font-weight: 700; }
.jono-head p:not(.ex-tag) { margin-top: 10px; font-size: 17px; line-height: 27px; color: var(--muted); max-width: 560px; }
.ex-tag { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rust-d); border: 1.5px dashed var(--rust); border-radius: 6.4px; padding: 8px 12px; }
.weeks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 34px; }
.wk { border-radius: 10px; padding: 18px 16px 20px; border: 1.5px solid var(--ink); background: #fff; min-height: 150px; display: flex; flex-direction: column; }
.wk-n { font-size: 26px; line-height: 30px; font-weight: 800; }
.wk-d { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--muted); }
.wk-s { margin-top: auto; padding-top: 16px; font-size: 16px; line-height: 21px; font-weight: 700; }
.wk-taysi { background: var(--ink); color: #fff; border-color: var(--ink); }
.wk-taysi .wk-d { color: #c9c9c9; }
.wk-osin { background: #FBEBDD; border-color: var(--rust); }
.wk-vapaa { background: #E7F1E8; border-color: var(--ok); }
.wk-vapaa .wk-s { color: var(--ok); }
.wk-loma { background: repeating-linear-gradient(135deg, #f2f2f2 0 10px, #e6e6e6 10px 20px); border-style: dashed; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 14px; line-height: 20px; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--ink); }
.lg-taysi::before { background: var(--ink); }
.lg-osin::before { background: #FBEBDD; border-color: var(--rust); }
.lg-vapaa::before { background: #E7F1E8; border-color: var(--ok); }
.lg-loma::before { background: repeating-linear-gradient(135deg, #f2f2f2 0 3px, #d6d6d6 3px 6px); border-style: dashed; }
.jono-btn { margin-top: 28px; }

/* osamyynti: ESIMERKKI, kortit */
.osat { background: var(--grey); padding: 80px 0 88px; }
.osat .jono-head p:not(.ex-tag) { margin-top: 10px; font-size: 17px; line-height: 27px; color: var(--muted); }
.osa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.osa { background: #fff; border-radius: 10px; padding: 14px 14px 20px; display: flex; flex-direction: column; }
.osa-img { aspect-ratio: 4 / 3; border-radius: 6px; border: 1.5px dashed #9a9a9a; background: repeating-linear-gradient(135deg, #fafafa 0 12px, #f1f1f1 12px 24px); display: grid; place-items: center; }
.osa-img span { font-size: 14px; color: var(--muted); font-weight: 600; }
.osa-k { margin-top: 14px; font-size: 12.5px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-d); }
.osa h3 { margin-top: 6px; font-size: 19.36px; line-height: 24px; font-weight: 700; }
.osa-h { margin-top: 6px; color: var(--muted); }
.osa-b { margin-top: 16px; align-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 6.4px; text-decoration: none; font-weight: 700; transition: background-color .2s, color .2s; }
.osa-b:hover { background: var(--ink); color: #fff; }

/* asiakkaiden sanoin: referenssin aaltoreuna + värialue */
.miksi { position: relative; background: var(--rust); color: #fff; padding: 140px 0 96px; }
.wave { position: absolute; left: 0; top: -1px; width: 100%; height: 90px; display: block; }
.miksi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.miksi h2 { font-size: clamp(40px, 3.7vw, 53px); line-height: 1.09; font-weight: 700; }
.whys { margin-top: 30px; display: grid; gap: 26px; }
.why { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.4); }
.why h3 { font-size: 21px; line-height: 27px; font-weight: 700; }
.why blockquote p { margin-top: 8px; font-size: 16px; line-height: 25.6px; font-weight: 500; }
.why figcaption { margin-top: 8px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.miksi-img { position: relative; border-radius: 16px; overflow: hidden; }
.miksi-img img { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; }
.score-row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.4); }
.score { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 17px; line-height: 24px; font-weight: 600; background: #fff; color: var(--ink); border-radius: 6.4px; padding: 14px 18px; transition: transform .16s; }
.score:hover { transform: translateY(-2px); }
.score b { font-weight: 800; }
.sqs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sq blockquote p { font-size: 18px; line-height: 27px; font-weight: 700; }
.sq figcaption { margin-top: 6px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }

/* yhteystiedot: referenssin "Contact Us" 62/500, Karin kuva hallista, kartta */
.yhteys { padding: 96px 0; }
.y-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.yhteys h2 { font-size: clamp(44px, 4.3vw, 62px); line-height: 1; font-weight: 500; letter-spacing: -.01em; }
.y-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.y-l { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-d); margin-bottom: 8px; }
.y-l2 { margin-top: 18px; }
.y-info p { font-size: 17px; line-height: 27px; }
.y-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 6.4px; text-decoration: none; font-weight: 700; transition: background-color .2s, color .2s; }
.y-link:hover { background: var(--ink); color: #fff; }
.y-tel { font-size: 26px; line-height: 34px; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--rust); }
.y-k { margin-top: 6px; color: var(--muted); }
/* 30.11.: Puhelin vasemmalla, Karin kuva sen alla, Korjaamo oikealla */
.y-info.has-kari { grid-template-columns: 1fr 1fr; }
.y-info.has-kari .y-kari { grid-column: 1; grid-row: 2; width: min(220px, 100%); }
.y-tel { white-space: nowrap; }
.y-kari { border-radius: 10px; overflow: hidden; align-self: start; }
.y-kari img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.y-pic { margin-top: 32px; border-radius: 10px; overflow: hidden; }
.y-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.y-map { min-height: 460px; border-radius: 10px; overflow: hidden; background: var(--grey); }
.y-map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

.foot { background: var(--coal); color: #e6e6e6; padding: 56px 0 24px; }
.foot-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.f-logo { width: 200px; height: auto; }
.f-o { margin-top: 12px; color: #bdbdbd; }
.f-h { font-size: 15px; line-height: 22px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.foot p, .foot li { font-size: 16px; line-height: 26px; }
.foot a { text-decoration: none; display: inline-block; padding: 5px 0; line-height: 24px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-b { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 16px; border-top: 1px solid #333; }
.foot-b p { font-size: 13px; line-height: 20px; color: #a8a8a8; }

/* yleisimmät vikavalot: tummat ruudut kuin kojelauta, valot syttyvät vuorotellen kuin virta-avainta käännettäessä */
.vv { margin-top: 80px; }
.vv-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; }
.vv-h { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; font-weight: 800; }
.vv-sub { margin-top: 8px; font-size: 18px; line-height: 28px; color: var(--muted); }
.vv-leg { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; line-height: 22px; font-weight: 600; }
.vv-leg li { display: inline-flex; align-items: center; gap: 8px; }
.vv-leg li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.vv-leg .p { --c: #D8352A; }
.vv-leg .k { --c: #E39300; }
.vv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.vv-i { background: var(--coal); color: #fff; border-radius: 10px; padding: 22px 22px 24px; display: grid; align-content: start; gap: 6px; }
.vv-p { --c: #FF4A3D; }
.vv-k { --c: #FFB020; }
.vv-ic { display: block; width: 52px; height: 52px; margin-bottom: 10px; color: var(--c); filter: drop-shadow(0 0 7px var(--c)); }
.vv-ic svg { display: block; width: 100%; height: 100%; }
.vv-c { font-size: 12.5px; line-height: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.vv-i h4 { margin: 2px 0 0; font-size: 18px; line-height: 23px; font-weight: 700; }
.vv-t { font-size: 15px; line-height: 23px; color: #cfcfcf; }

/* ajankohtaista: ESIMERKKI, kompakti kaista heti heron jälkeen (Kari päivittää itse) */
.ajk { padding: 36px 0 40px; border-bottom: 1px solid #d4d4d4; }
.ajk-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px 48px; align-items: start; }
.ajk-h h2 { font-size: clamp(28px, 2.4vw, 34px); line-height: 1.1; font-weight: 800; }
.ajk-h .ex-tag { display: inline-block; margin-top: 12px; font-size: 11.5px; line-height: 16px; padding: 6px 10px; }
.ajk-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ajk-list:has(> :only-child) { grid-template-columns: minmax(0, 520px); }
.ajk-i { border-top: 1.5px solid var(--ink); padding-top: 12px; }
.ajk-d { font-size: 13.5px; line-height: 20px; font-weight: 700; color: var(--rust-d); }
.ajk-i h3 { margin-top: 4px; font-size: 18px; line-height: 23px; font-weight: 700; }
.ajk-t { margin-top: 4px; font-size: 15px; line-height: 23px; color: var(--muted); }

/* Karin lisäykset: sijaisauto ja maksu erissä */
.sv-plus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 44px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.sv-plus li { display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 26px; font-weight: 700; }
.sv-plus svg { flex: none; width: 34px; height: 34px; color: var(--rust); }
.hin-plus { margin-top: 56px; }

/* alasivut: myynti ja hinnasto */
.sub-top { padding: 72px 0 8px; }
.crumb { font-size: 14px; line-height: 20px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--ink); text-underline-offset: 3px; }
.sub-top h1 { font-size: clamp(44px, 5vw, 74.8px); line-height: 1.03; font-weight: 700; letter-spacing: .005em; }
.sub-top .jono-head p:not(.ex-tag) { margin-top: 12px; font-size: 18px; line-height: 28px; color: var(--muted); max-width: 560px; }
.osat-sub { background: none; padding: 8px 0 88px; }
.osat-sub .osa { border: 1.5px solid #d4d4d4; }
.osa h2 { margin-top: 6px; font-size: 19.36px; line-height: 24px; font-weight: 700; }
.hin { padding: 40px 0 96px; }
.hin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.hin-g h2 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; font-weight: 800; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.hin-g li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 13px 0; border-bottom: 1px solid #d4d4d4; font-size: 17px; line-height: 25px; }
.hin-p { flex: none; font-size: 15px; color: var(--muted); font-weight: 600; }
.sub-cta { background: var(--coal); color: #fff; padding: 48px 0; }
.sub-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.sub-cta-in > p { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; font-weight: 800; }
.sub-cta-b { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sub-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; }
.sub-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }

.qbar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .fade { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--e), transform .75s var(--e); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .fade.in { opacity: 1; transform: none; }
  .js .vv-i .vv-ic { opacity: .16; filter: none; transition: opacity .3s ease, filter .3s ease; transition-delay: calc(var(--i, 0) * 120ms + 450ms); }
  .js .vv-i.in .vv-ic { opacity: 1; filter: drop-shadow(0 0 7px var(--c)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img img, .hero-tx > * { transition: none !important; transform: none !important; opacity: 1 !important; }
  .slide.on img { animation: none; }
  .slide { transition: none; }
  .gal-i { transition: none; }
  html { scroll-behavior: auto; }
}

@media (min-width: 1101px) {
  .mnav { display: none !important; }
}
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .logo-img { width: 200px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .mbtn { display: inline-flex; }
  .head-home .mbtn { margin-right: auto; }
  .hero-in { grid-template-columns: 1fr 460px; gap: 32px; }
  .weeks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 40px; min-height: 0; }
  .hero-img img { object-position: 24% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.45) 420px, rgba(0,0,0,.6) 100%); }
  .qform { max-width: 620px; }
  .diag-row, .halli-row, .miksi-row, .y-row { grid-template-columns: 1fr; gap: 40px; }
  .sv-grid { gap: 36px; }
  .s-card.has-media { grid-template-columns: 1fr; gap: 20px; }
  .ajk-row { grid-template-columns: 1fr; }
  .vv-grid { grid-template-columns: repeat(2, 1fr); }
  .miksi-img img { aspect-ratio: 4 / 3; }
  .score-row { grid-template-columns: 1fr; gap: 24px; }
  .osa-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body { padding-bottom: 60px; }
  .wrap, .hero-in { width: calc(100% - 32px); }
  .head-in { width: calc(100% - 32px); min-height: 72px; gap: 12px; }
  .logo-img { width: 168px; }
  .hbtn { display: none; }
  .ajk { padding: 28px 0 32px; }
  .ajk-list { grid-template-columns: 1fr; gap: 16px; }
  .sv-plus { grid-template-columns: 1fr; margin-top: 36px; }
  .sv-plus li { font-size: 17px; line-height: 24px; }
  .sub-top { padding: 44px 0 4px; }
  .hin { padding: 24px 0 64px; }
  .hin-grid { grid-template-columns: 1fr; gap: 40px; }
  .hin-g li { font-size: 16px; }
  .sub-cta { padding: 36px 0; }
  .osat-sub { padding-bottom: 56px; }
  .hero-in { padding: 36px 0 28px; gap: 28px; }
  .tabs a { flex: 1 1 auto; padding: 0 10px; font-size: 13px; min-height: 44px; }
  .qform { padding: 22px 18px 18px; }
  .qform h2 { font-size: 26px; line-height: 31px; }
  .f2 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .diag { padding: 64px 0; }
  .vv { margin-top: 56px; }
  .vv-grid { grid-template-columns: 1fr; gap: 8px; }
  .vv-i { grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; padding: 16px 16px 18px; }
  .vv-ic { grid-row: span 3; width: 44px; height: 44px; margin: 2px 0 0; }
  .diag-lead { font-size: 17px; line-height: 28px; }
  .halli { padding: 64px 0; }
  .slider { aspect-ratio: 4 / 3.4; }
  .slide figcaption { font-size: 17px; line-height: 22px; padding: 48px 16px 40px; }
  .dots { left: 16px; bottom: 12px; }
  .services { padding: 56px 0 40px; }
  .s-card { padding: 24px 18px 22px; }
  .s-t { font-size: 30px; margin-bottom: 18px; }
  .s-list li { font-size: 19px; line-height: 26px; padding-left: 32px; }
  .s-list li::before { top: 7px; }
  .s-note { font-size: 19px; line-height: 26px; }
  .s-cols { grid-template-columns: 1fr; }
  .jono { padding: 64px 0 56px; }
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .wk { min-height: 128px; }
  .osat { padding: 56px 0 64px; }
  .osa-grid { grid-template-columns: 1fr; }
  .osa-img { aspect-ratio: 16 / 7; }
  .miksi { padding: 110px 0 64px; }
  .wave { height: 56px; }
  .sqs { grid-template-columns: 1fr; gap: 20px; }
  .score { font-size: 15px; }
  .yhteys { padding: 64px 0; }
  .y-info { grid-template-columns: 1fr; }
  .y-info.has-kari { grid-template-columns: 1fr; }
  .y-info.has-kari .y-puh { order: 1; }
  .y-info.has-kari .y-kari { order: 2; grid-row: auto; grid-column: auto; }
  .y-info.has-kari .y-korj { order: 3; }
  .y-map, .y-map iframe { min-height: 340px; }
  .foot-row { grid-template-columns: 1fr; gap: 24px; }
  .foot-b { flex-direction: column; gap: 4px; }
  .qbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--coal); }
  .qbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; text-decoration: none; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
  .qbar a:first-child { background: var(--rust); }
}

.nw { white-space: nowrap; }
