/* Poljinpaja — kerma/valkoinen pohja, logon tummansininen ja kullanruskea korostuksina */
:root {
  --cream: #F8F4EC;
  --sand: #EFE7D6;
  --white: #FFFFFF;
  --navy: #1F2B5E;
  --navy-deep: #172149;
  --gold: #75662A;
  --gold-line: #B9A24F;
  --gold-soft: #E6DBB8;
  --ink: #1E2433;
  --muted: #5A5E6B;
  --line: #E2D9C6;
  --orange: var(--gold);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); line-height: 1; margin: 0; text-transform: uppercase; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(46px, 7vw, 92px); font-weight: 800; }
h2 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; }
h3 { font-size: 26px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 3px solid var(--gold-line); outline-offset: 2px; }
.kicker { font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* yläpalkki */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 12px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-weight: 500; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-line); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav .tel { font-weight: 700; color: var(--navy); }
.nav .btn { padding: 9px 18px; min-height: 42px; text-decoration: none; color: #fff; }

/* napit: tummansininen on pääkorostus */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 6px; font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.line, .btn.line-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.line:hover, .btn.line-dark:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { background: var(--cream); color: var(--ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 32em; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 15px; color: var(--muted); }
.rating b { color: var(--gold-line); letter-spacing: .12em; font-size: 18px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 40px rgba(31, 43, 94, .14); }
.hero-photo { isolation: isolate; }
.badge { position: absolute; left: -18px; bottom: 28px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 6px; font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; box-shadow: 0 10px 24px rgba(23, 33, 73, .25); border-left: 5px solid var(--gold-line); }

/* faktarivi */
.facts { background: var(--white); color: var(--ink); border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; padding-block: 24px; }
.facts div { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--gold-line); }
.facts b { font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; text-transform: uppercase; color: var(--navy); }
.facts span { font-weight: 500; font-size: 15px; color: var(--muted); }

section { padding-block: 84px; }
.tint { background: var(--white); }
.on-navy { background: var(--sand); color: var(--ink); }
.sec-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.sec-head p { color: var(--muted); font-size: 18px; }

/* huoltopaketit */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.card { background: var(--cream); border-radius: 10px; padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
.card .price { font-family: var(--head); font-weight: 800; font-size: 60px; line-height: .9; color: var(--navy); }
.card p { color: var(--muted); font-size: 16px; }
.card .inc { font-weight: 700; color: var(--gold); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; flex-grow: 1; font-size: 16px; }
.card li { display: flex; gap: 10px; }
.card li::before { content: "✓"; color: var(--gold-line); font-weight: 800; }
.card.hot { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; transform: translateY(-14px); box-shadow: 0 24px 48px rgba(23, 33, 73, .22); }
.card.hot h3 { color: #fff; }
.card.hot .price { color: var(--gold-soft); }
.card.hot p { color: #C9CEE0; }
.card.hot .inc { color: var(--gold-soft); }
.card.hot .btn { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.card.hot .btn:hover { background: #fff; border-color: #fff; }
.card .tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--gold-soft); color: var(--navy-deep); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; white-space: nowrap; }
.note { margin-top: 30px; text-align: center; color: var(--muted); }
.note b { color: var(--navy); }

/* hinnasto */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; font-variant-numeric: tabular-nums; }
.board h3 { padding-bottom: 12px; margin-bottom: 6px; border-bottom: 3px solid var(--gold-line); }
.row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 16px; }
.row span { flex: none; max-width: 70%; }
.row i { flex: 1 1 auto; border-bottom: 2px dotted #C9BC97; transform: translateY(-4px); }
.row b { flex: none; font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--navy); }

/* mestari */
.champ .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.champ img { width: 100%; aspect-ratio: 12 / 11; object-fit: cover; border-radius: 10px; filter: grayscale(1) contrast(1.05); }
.champ-text { display: flex; flex-direction: column; gap: 20px; }
.champ-text p { color: var(--muted); max-width: 34em; }
.champ-text p.big { color: var(--ink); font-size: 20px; }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--gold-line); padding-top: 22px; }
.years b { display: block; font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; color: var(--navy); }
.years span { font-size: 14px; color: var(--muted); }
a.textlink { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* näin huolto etenee + muistilista */
.how .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; }
.steps .n { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold-line); color: var(--navy); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 32px; }
.steps h3 { font-size: 24px; margin-bottom: 4px; }
.steps p { color: var(--muted); }
.checklist { background: var(--navy); color: #fff; border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.checklist .kicker { color: var(--gold-soft); }
.checklist h3 { color: #fff; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: #C9CEE0; }
.checklist li::before { content: ""; width: 22px; height: 22px; border: 2px solid var(--gold-soft); border-radius: 4px; margin-top: 2px; }
.checklist li b { color: #fff; display: block; }
.how-photo { margin-top: 28px; }
.how-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }

/* ukk */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 18px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--head); font-size: 32px; line-height: 1; color: var(--gold); flex: none; }
.faq details[open] { border-color: var(--gold-line); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* cta-kaista */
.cta { background: var(--sand); color: var(--ink); border-top: 3px solid var(--gold-line); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta h2 { font-size: clamp(34px, 4.4vw, 54px); }
.cta p { font-size: 18px; font-weight: 500; margin-top: 6px; color: var(--muted); }

/* alatunniste */
.foot { background: var(--white); padding-block: 56px 0; font-size: 16px; border-top: 1px solid var(--line); }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 44px; }
.foot h3 { font-size: 20px; margin-bottom: 10px; }
.foot p { color: var(--muted); }
.foot p + p { margin-top: 8px; }
.foot a { overflow-wrap: anywhere; }
.foot .logo img { height: 46px; width: auto; margin-bottom: 12px; }
.foot .base { background: var(--navy); color: #C9CEE0; font-size: 14px; }
.foot .base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px; }

/* sisäsivujen otsake */
.page-head { background: var(--sand); color: var(--ink); padding-block: 56px 60px; border-bottom: 3px solid var(--gold-line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-head .wrap > * { max-width: 820px; }
.page-head .lead { color: var(--muted); font-size: 20px; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 38em; }
.prose h2 { margin-top: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split img { border-radius: 10px; filter: grayscale(1); }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 860px; }
.timeline div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1; color: var(--navy); }
.timeline b small { display: block; font-size: 16px; color: var(--gold); letter-spacing: .06em; margin-top: 4px; }

/* lomake */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 44px; align-items: start; }
.form-card { background: var(--white); border-radius: 10px; padding: 34px; border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(31, 43, 94, .07); }
.form-card form { display: flex; flex-direction: column; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 16px; color: var(--navy); }
.field fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.field .opt { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); min-height: 32px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1px solid #CFC4AA; border-radius: 6px; padding: 12px 13px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="radio"], .field input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--navy); }
.field .help { font-size: 14px; color: var(--muted); }
.field .err { font-size: 14px; line-height: 20px; color: #B3261E; min-height: 20px; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.req { color: #B3261E; }
.form-error { color: #B3261E; font-weight: 600; }
.skeleton { height: 360px; background: repeating-linear-gradient(180deg, var(--cream) 0 48px, transparent 48px 74px); }
.thanks { display: flex; flex-direction: column; gap: 12px; }
.side { display: flex; flex-direction: column; gap: 16px; }
.side .checklist { padding: 28px; }

@media (max-width: 900px) {
  .hero .wrap, .champ .wrap, .how .wrap, .form-wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero .wrap { padding-block: 40px 52px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .badge { left: 12px; bottom: 12px; font-size: 22px; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .card.hot { transform: none; }
  .board { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .champ img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding-block: 56px; }
  .form-card { padding: 22px; }
  .timeline div { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .brand img { height: 34px; }
  .nav { gap: 2px 16px; font-size: 15px; }
  .nav .tel, .nav .opt-link { display: none; }
  .nav .btn { display: none; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .years { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps .n { width: 48px; height: 48px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* osoite näkyvämmäksi */
.addrbar { background: var(--navy); color: #fff; font-size: 15px; }
.addrbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding-block: 8px; }
.addrbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.addrbar a:hover span { text-decoration: underline; }
.addrbar svg { color: var(--gold-soft); flex: none; }
.addrbar b { font-weight: 700; }
.addrbar-tel { font-weight: 700; }
.hero-addr { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold-line); border-radius: 8px; padding: 12px 20px 12px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(31, 43, 94, .06); }
.hero-addr svg { color: var(--navy); flex: none; }
.hero-addr b { display: block; font-family: var(--head); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--navy); }
.hero-addr small { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.hero-addr:hover { border-color: var(--gold-line); }
.where { background: var(--sand); }
.where .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.where-text { display: flex; flex-direction: column; gap: 16px; }
.where h2 { font-size: clamp(56px, 8vw, 104px); }
.where-area { font-family: var(--head); font-weight: 700; font-size: 28px; text-transform: uppercase; color: var(--gold); }
.where-text > p:not(.where-area) { color: var(--muted); max-width: 30em; }
.map { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--white); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.addr-card { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold-line); border-radius: 10px; padding: 18px 20px; text-decoration: none; color: var(--muted); font-size: 15px; }
.addr-card svg { color: var(--navy); flex: none; }
.addr-card small { display: block; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.addr-card b { display: block; font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1.05; text-transform: uppercase; color: var(--navy); }
@media (max-width: 900px) {
  .where .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  .addrbar .wrap { justify-content: center; }
  .addrbar-tel { display: none; }
  .hero-addr b { font-size: 28px; }
}

/* isommat klikkausalueet */
.foot a { display: inline-block; padding-block: 6px; }
.addrbar a { min-height: 32px; }

.side h2 { font-size: 26px; font-weight: 700; }
.checklist h2 { color: #fff; }
