/* Lepta Rakennus Oy – lepta.fi
   Vaalea pohjoismainen pohja, logon punainen (#e3202a) korostuksena, grafiitti kontrastina.
   Otsikot Archivo (kapea leikkaus, sointuu logon kirjaimiin), leipäteksti Inter. */

:root {
  --ink: #141619; --ink-2: #1e2125; --ink-3: #2a2e34;
  --text: #1c1f23; --muted: #5f646b; --line: #e3e6ea; --line-2: #d3d8de;
  --paper: #f3f5f7; --paper-2: #eceff2; --white: #fff;
  --red: #e3202a; --red-d: #bf141d; --red-soft: #fdeceb;
  --honey: #e2a33a;
  --r: 16px; --r-sm: 10px;
  --sh: 0 1px 2px rgba(20, 22, 25, .05), 0 8px 28px rgba(20, 22, 25, .07);
  --sh-lg: 0 2px 4px rgba(20, 22, 25, .06), 0 22px 60px rgba(20, 22, 25, .14);
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); font-variation-settings: "wdth" 76; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.3rem; font-variation-settings: "wdth" 86; font-weight: 750; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.note { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 28px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow .ic { width: 15px; height: 15px; }
.eyebrow.light { color: #fff; }
.eyebrow.light::before { background: var(--red); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--red-d); }
.link .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.link.sm { font-size: .85rem; margin-left: 8px; }

/* ---------- Painikkeet ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1 var(--body); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn .ic { width: 19px; height: 19px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 32, 42, .28); }
.btn-primary:hover { background: var(--red-d); transform: translateY(-1px); }
.btn-primary .ic { transition: transform .25s var(--ease); }
.btn-primary:hover .ic { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.hdr-in { max-width: 1400px; margin: 0 auto; height: var(--hdr); padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; position: relative; }
.brand img { height: 50px; width: auto; transition: opacity .3s; }
.brand .logo-w { position: absolute; inset: 0; opacity: 1; }
.brand .logo-c { opacity: 0; }
.hdr.solid, body.nohero .hdr, .hdr.open { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20, 22, 25, .06); }
.hdr.solid .logo-w, body.nohero .hdr .logo-w, .hdr.open .logo-w { opacity: 0; }
.hdr.solid .logo-c, body.nohero .hdr .logo-c, .hdr.open .logo-c { opacity: 1; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav-item { position: static; }
.nav-item > a { display: flex; align-items: center; gap: 4px; height: var(--hdr); padding: 0 13px; font-weight: 600; font-size: .97rem; color: #fff; position: relative; }
.hdr.solid .nav-item > a, body.nohero .nav-item > a { color: var(--ink); }
.nav-item > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 20px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left; }
.nav-item:hover > a::after, .nav-item > a[aria-current]::after { transform: scaleX(1); }
.caret { width: 15px; height: 15px; opacity: .7; transition: transform .2s; }
.has-mega:hover .caret { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: var(--hdr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(20, 22, 25, .14);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { max-width: 1260px; margin: 0 auto; padding: 30px 28px 34px; display: grid; grid-template-columns: 1fr 1fr 320px; gap: 30px; }
.mega-reno { grid-template-columns: 2fr 320px; }
.mega-col small { display: block; font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px 12px; }
.mega-col.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-content: start; }
.mega-col.two small { grid-column: 1 / -1; }
.mega-col a { display: flex; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background .15s; }
.mega-col a:hover { background: var(--paper); }
.mega-col a img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.mega-col b { display: block; font-weight: 650; color: var(--ink); font-size: .97rem; }
.mega-col span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.mi { width: 42px; height: 42px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid !important; place-items: center; flex: none; }
.mega-promo { position: relative; border-radius: 14px; overflow: hidden; min-height: 220px; display: block; color: #fff; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.05); }
.mega-promo span { position: absolute; inset: auto 0 0; padding: 22px; background: linear-gradient(transparent, rgba(10, 11, 13, .85)); font-size: .88rem; line-height: 1.45; }
.mega-promo b { display: block; font: 800 1.2rem/1.2 var(--head); font-variation-settings: "wdth" 90; margin-bottom: 4px; }
.mega-promo .ic { width: 18px; height: 18px; display: inline; vertical-align: -4px; margin-left: 6px; }
.hdr-cta { display: flex; align-items: center; gap: 14px; }
.hdr-tel { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .97rem; }
.hdr-tel .ic { color: var(--red); }
.hdr.solid .hdr-tel, body.nohero .hdr-tel, .hdr.open .hdr-tel { color: var(--ink); }
.hdr-lang { font-weight: 700; font-size: .88rem; letter-spacing: .04em; color: #fff; padding: 6px 4px; }
.hdr-lang:hover { color: var(--red); }
.hdr.solid .hdr-lang, body.nohero .hdr-lang, .hdr.open .hdr-lang { color: var(--ink); }
.mnav > .hdr-lang { color: var(--ink); font-size: 1rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .25s, top .25s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
.hdr.solid .burger span, body.nohero .burger span, .hdr.open .burger span { background: var(--ink); }
.hdr.open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.hdr.open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.mnav { display: none; }

/* ---------- Etusivun hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #fff; padding: calc(var(--hdr) + 60px) 0 170px; overflow: hidden; background: var(--ink); }
.hero-media, .phero .hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 22s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slides img.hs { position: absolute; inset: 0; opacity: 0; animation: hs calc(var(--n) * 6s) linear infinite; }
.hero-slides img.hs:first-child { opacity: 1; }
@keyframes hs { 0% { opacity: 0; transform: scale(1.06); } 4% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-slides img.hs { animation: none; } .hero-slides img.hs:not(:first-child) { display: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(12, 13, 15, .48); }
.hero-in { position: relative; z-index: 2; }
.hero-logo { display: block; width: clamp(180px, 19vw, 270px); height: auto; margin: 0 0 26px; }
.hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1; }
.hero h1 em { display: block; color: #fff; position: relative; }
.hero h1 em::after { content: ""; display: block; width: 110px; height: 6px; background: var(--red); margin-top: 22px; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 54ch; color: rgba(255, 255, 255, .9); margin-top: 22px; }
.hero-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 30px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks .ic { color: var(--red); stroke-width: 2.6; width: 18px; height: 18px; }

.paths-sec { position: relative; z-index: 3; margin-top: -120px; }
.home .hero { padding-bottom: 90px; }
.hero .stats.hero-stats { grid-template-columns: repeat(4, auto); justify-content: start; gap: 22px 48px; margin-top: 40px; }
.paths-sec2 { padding-bottom: 40px; }
.sc-form { max-width: 820px; margin: 0 auto; }
.paths-q { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin: 0 0 14px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--sh-lg); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.path:hover { transform: translateY(-4px); }
.path img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .7s var(--ease); }
.path:hover img { transform: scale(1.05); }
.path-b { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px 22px; position: relative; background: #fff; flex: 1; }
.path-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; margin-top: -44px; box-shadow: 0 8px 20px rgba(227, 32, 42, .35); }
.path h2 { font-size: 1.45rem; margin: 0 0 4px; }
.path p { font-size: .93rem; color: var(--muted); margin: 0; }
.path-go { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: background .2s, border-color .2s, color .2s; }
.path:hover .path-go { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Luottamus ---------- */
.trust { padding: 44px 0 10px; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge { margin: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.badge img { width: 74px; height: 50px; object-fit: contain; flex: none; }
.b-aaa img { background: var(--ink); border-radius: 8px; padding: 6px; }
.badge b { display: block; font-size: .9rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.badge span { font-size: .8rem; color: var(--muted); }
.badges.mini { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.badges.big .badge { flex-direction: column; text-align: center; padding: 28px 18px; }
.badges.big img { width: 150px; height: 90px; }

/* ---------- Osiot ---------- */
.sec { padding: 104px 0; }
.sec-tight { padding: 60px 0; }
.sec.tint { background: var(--paper); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 50px; }
.sec-head h2 { margin: 0; max-width: 20ch; }
.sec-head p { margin: 0; color: var(--muted); }
.sec-head p .link { margin-top: 12px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Paketit */
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.pkg:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh); }
.pkg.on { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.pkg-badge { position: absolute; top: 18px; right: 18px; font: 700 .7rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; background: var(--paper); color: var(--muted); }
.pkg[data-pkg="muuttovalmis"] .pkg-badge { background: var(--red); color: #fff; }
.pkg-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.pkg-ic .ic { width: 26px; height: 26px; }
.pkg h3 { font-size: 1.55rem; margin-bottom: 10px; }
.pkg p { font-size: .94rem; color: var(--muted); }
.pkg-for { display: flex; gap: 8px; font-weight: 600; color: var(--ink) !important; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; font-size: .9rem !important; }
.pkg-for .ic { color: var(--red); width: 18px; height: 18px; margin-top: 2px; }
.pkg .link { margin-top: 8px; }

/* Kuva + teksti -bändi */
.split-band { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ink); color: rgba(255, 255, 255, .86); }
.sb-img { position: relative; min-height: 560px; }
.sb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-txt { padding: 90px clamp(28px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.sb-txt h2 { color: #fff; }
.sb-txt .btn { align-self: flex-start; margin-top: 10px; }
.sb-txt .ticks li { color: rgba(255, 255, 255, .86); }
blockquote { margin: 18px 0 30px; padding: 0 0 0 22px; border-left: 3px solid var(--red); font: 600 1.18rem/1.5 var(--body); color: #fff; }
blockquote cite { display: block; font: 500 .9rem/1.4 var(--body); color: rgba(255, 255, 255, .6); margin-top: 10px; font-style: normal; }
.side-card blockquote, .prose blockquote { color: var(--ink); }
.side-card blockquote cite { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: flex; align-items: baseline; gap: 2px; font: 800 clamp(2.6rem, 4.6vw, 3.8rem)/1 var(--head); font-variation-settings: "wdth" 80; color: var(--ink); }
.stat b small { font-size: .6em; color: var(--red); }
.stat > span { display: block; margin-top: 8px; font-size: .93rem; color: var(--muted); max-width: 22ch; }
.stats.sm { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 10px; }
.stats.sm .stat b { color: #fff; font-size: 2.6rem; }
.stats.sm .stat > span { color: rgba(255, 255, 255, .62); }

/* Kotikortit */
.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hcard { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; display: block; color: #fff; }
.hcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hcard:hover img { transform: scale(1.05); }
.hcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10, 11, 13, .8)); }
.hcard-b { position: absolute; inset: auto 0 0; padding: 24px; z-index: 2; }
.hcard-b span { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hcard-b h3 { color: #fff; font-size: 1.5rem; margin: 6px 0 0; }

/* Prosessi */
.proc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: stretch; }
.proc-img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; }
.proc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 24px 26px 22px 88px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.step .n { position: absolute; left: 24px; top: 22px; font: 800 1.9rem/1 var(--head); font-variation-settings: "wdth" 75; color: var(--red); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps.row4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps.row4 .step { padding: 30px 24px 26px; }
.steps.row4 .step .n { position: static; display: block; margin-bottom: 18px; font-size: 2.6rem; }
.steps.row4 .step::after { content: ""; position: absolute; top: 48px; right: -18px; width: 18px; height: 2px; background: var(--line-2); }
.steps.row4 .step:last-child::after { display: none; }
.ai-note { position: absolute; right: 12px; bottom: 12px; z-index: 3; font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 5px 9px; border-radius: 99px; background: rgba(10, 11, 13, .55); color: #fff; backdrop-filter: blur(4px); }
.phero > .ai-note { bottom: 18px; right: 18px; }

/* Hinta */
.price { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 22px; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .82); box-shadow: var(--sh-lg); }
.price-l { padding: 56px clamp(26px, 5vw, 64px); position: relative; }
.price-l h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); max-width: 18ch; }
.price-big { font: 800 clamp(2.3rem, 4.6vw, 3.8rem)/1 var(--head); font-variation-settings: "wdth" 78; color: #fff; margin: 24px 0 6px; }
.price-lbl { color: var(--red); font-weight: 650; font-size: .9rem; letter-spacing: .02em; }
.price-r { background: var(--ink-2); padding: 56px clamp(26px, 4vw, 54px); }
.price-r h3 { color: #fff; font-size: 1.05rem; letter-spacing: .02em; margin: 0 0 14px; }
.price-r .ticks li { color: rgba(255, 255, 255, .82); }
.price-r .note { color: rgba(255, 255, 255, .5); margin-top: 22px; }
.pexs { display: grid; gap: 8px; }
.pex { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); font-size: .94rem; }
.pex b { color: #fff; white-space: nowrap; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.ticks .ic { color: var(--red); width: 19px; height: 19px; margin-top: 3px; stroke-width: 2.4; }

/* Työmaanauha */
.build-strip { padding: 100px 0 0; background: var(--paper); overflow: hidden; }
.build-strip .sec-head { margin-bottom: 36px; }
.strip { display: flex; gap: 14px; overflow-x: auto; padding: 0 28px 100px calc((100vw - 1260px) / 2 + 28px); scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip .gi { flex: none; width: 340px; height: 250px; border-radius: 14px; overflow: hidden; scroll-snap-align: start; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip .gi:hover img { transform: scale(1.05); }

/* Remonttikortit */
.rcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rcards.c4 { grid-template-columns: repeat(4, 1fr); }
.rcard { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.rcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rcard-b { padding: 20px 20px 22px; position: relative; display: flex; flex-direction: column; flex: 1; }
.rcard-ic { position: absolute; top: -26px; left: 18px; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: var(--sh); }
.rcard h3 { margin: 18px 0 6px; font-size: 1.14rem; }
.rcard p { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.rcard-price { margin-top: auto; font: 700 .86rem/1 var(--body); color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line); }

/* Hallit */
.hall-band { background: var(--ink); color: rgba(255, 255, 255, .84); padding: 100px 0; }
.hall-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.hall-in h2 { color: #fff; }
.hall-img { position: relative; border-radius: var(--r); overflow: hidden; }
.hall-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Ihmiset */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person-ini { display: grid; place-items: center; aspect-ratio: 1 / .92; background: #eceef1; color: #a3a9b0; font: 800 4.5rem/1 var(--head); font-variation-settings: "wdth" 76; }
.person { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.person img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; object-position: center 20%; background: #eceae6; }
.person-b { padding: 22px 24px 24px; }
.person h3 { margin: 0; font-size: 1.35rem; }
.role { display: block; color: var(--red); font-weight: 650; font-size: .88rem; margin: 4px 0 10px; }
.person-b p { font-size: .92rem; color: var(--muted); }
.person-c { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.person-c a { display: flex; align-items: center; gap: 8px; word-break: break-all; }
.person-c .ic { width: 17px; height: 17px; color: var(--red); }

/* Alue ja kartta */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.chip .ic { width: 15px; height: 15px; color: var(--red); }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.map { position: relative; background: #dfe7ee; border-radius: var(--r); overflow: hidden; }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg .land path { stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.map-svg .land .off { fill: #f8f9fa; stroke: #d8dde2; }
.map-svg .land .on { fill: #fbe1e2; stroke: #f0b8bb; }
.map-svg .mp circle { fill: var(--ink); stroke: #fff; stroke-width: 4; transition: r .2s; }
.map-svg .mp:hover circle { r: 13; }
.map-svg .mp.main circle { fill: var(--red); }
.map-svg .mp text { font: 650 24px var(--body); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .9); stroke-width: 6px; stroke-linejoin: round; }
.map-svg .mp.main text { font-size: 30px; font-weight: 800; }
.map-svg .mp.sm circle { fill: #8a9097; stroke-width: 3; }
.map-svg .mp.sm text { font-size: 20px; font-weight: 550; fill: #4a5058; }
.map-svg .fi path { fill: #d5dbe1; stroke: #fff; stroke-width: .25; }
.map-svg .fi path.on { fill: var(--red); }
.map-svg .fi-bg { fill: #fff; }
.map-svg .fi-box { fill: none; stroke: var(--ink); stroke-width: .5; }
.map-src { position: absolute; right: 14px; bottom: 10px; font-size: .72rem; color: var(--muted); }
.map-svg .mp:hover circle { fill: var(--red); }

/* UKK */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 650; font-size: 1.05rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ink); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: #fff; transition: transform .25s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--red); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Yhteydenotto */
.contact-sec { background: linear-gradient(180deg, #fff 0, #fff 30%, var(--paper) 30%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: stretch; }
.contact-person { position: relative; border-radius: 22px; overflow: hidden; background: #e9e7e3; min-height: 520px; }
.cp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.cp-card { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .96); border-radius: 16px; padding: 22px 24px; backdrop-filter: blur(8px); box-shadow: var(--sh); }
.cp-card .eyebrow { margin-bottom: 8px; }
.cp-card h3 { margin: 0; font-size: 1.5rem; }
.cp-card p { margin: 2px 0 10px; color: var(--muted); font-size: .92rem; }
.cp-card .link { font-size: .92rem; word-break: break-all; }
.big-tel { display: flex; align-items: center; gap: 10px; font: 800 1.7rem/1.2 var(--head); font-variation-settings: "wdth" 85; color: var(--ink); margin: 4px 0 6px; }
.big-tel .ic { color: var(--red); width: 24px; height: 24px; }
.panel { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--sh); border: 1px solid var(--line); }
.form h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.f { display: flex; flex-direction: column; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.f.full { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font: 400 1rem/1.4 var(--body); color: var(--text); padding: 14px 15px; border: 1.5px solid var(--line-2); border-radius: 11px; background: #f9fafb; transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.f textarea { resize: vertical; min-height: 110px; }
.attach input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.attach-box { display: flex; align-items: center; gap: 10px; padding: 14px 15px; border: 1.5px dashed var(--line-2); border-radius: 11px; background: #f9fafb; font-weight: 400; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.attach-box .ic { width: 20px; height: 20px; flex: none; color: var(--red); }
.attach:hover .attach-box, .attach input:focus-visible + .attach-box, .attach-box.has { border-color: var(--ink); background: #fff; }
.attach.bad .attach-box { border-color: var(--red); background: var(--red-soft); }
.attach small { font-weight: 400; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 22, 25, .06); }
.f .bad, .f input.bad { border-color: var(--red); background: var(--red-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 0 0 20px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 1px; flex: none; }
.err { display: none; background: var(--red-soft); color: var(--red-d); padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.err.on { display: block; }

/* CTA-bändi */
.band { position: relative; padding: 130px 0; color: #fff; overflow: hidden; background: var(--ink); }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 13, 15, .9), rgba(12, 13, 15, .35)); }
.band-in { position: relative; z-index: 2; max-width: 1260px; }
.band h2 { color: #fff; max-width: 20ch; }
.band p { max-width: 52ch; color: rgba(255, 255, 255, .84); font-size: 1.1rem; }

/* Alasivujen hero */
.phero { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: calc(var(--hdr) + 80px) 0 80px; color: #fff; background: var(--ink); overflow: hidden; }
.phero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: rgba(12, 13, 15, .5); }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { color: #fff; max-width: 17ch; }
.phero h1 em { color: #ff4b4b; }
.phero .lead { font-size: 1.15rem; max-width: 60ch; color: rgba(255, 255, 255, .88); }
.phero.plain { background: var(--paper); color: var(--text); min-height: 0; padding: calc(var(--hdr) + 70px) 0 50px; }
.phero.plain::after { display: none; }
.phero.plain h1 { color: var(--ink); max-width: 20ch; }
.phero.plain h1 em { color: var(--red); }
.phero.plain .lead { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; margin-bottom: 26px; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.plain .crumbs, .prose .crumbs { color: var(--muted); }
.plain .crumbs a:hover { color: var(--ink); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fact { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.fact .ic { width: 26px; height: 26px; color: #ff5a5a; }
.fact b { display: block; color: #fff; font-size: 1.02rem; }
.fact span { font-size: .8rem; color: rgba(255, 255, 255, .72); }

/* Syyt */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usp { padding: 34px 30px; border-radius: var(--r); background: var(--paper); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-i { padding: 30px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.tint .why-i { border-color: transparent; }
.why-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.why-ic .ic { width: 26px; height: 26px; }
.why-i p, .usp p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Toimitussisältö */
.ts { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; }
.ts-tabs { display: none; }
.ts-scroll { overflow-x: auto; }
.ts-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .94rem; }
.ts-table th, .ts-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.ts-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
.ts-table thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font: 800 1.02rem/1.2 var(--head); font-variation-settings: "wdth" 90; padding: 20px 14px; vertical-align: bottom; }
.ts-table thead th:first-child { text-align: left; font: 700 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ts-table thead th span { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.ts-count td { font-size: .8rem; color: var(--muted); background: var(--paper); padding: 8px; }
.ts-sec th { background: var(--paper); text-align: left !important; font: 700 .78rem/1 var(--body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink) !important; padding: 14px 16px !important; }
.ts-table tbody tr:not(.ts-sec):hover { background: #f8f9fa; }
.yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; }
.yes .ic { width: 16px; height: 16px; stroke-width: 3; }
.opt { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed var(--line-2); color: var(--muted); font-weight: 700; }
.no { color: #c4bfb5; }
.ts-table [data-col].hl { background: #fff6f5; }
.ts-table thead th[data-col].hl { background: var(--red); }
.ts-count td[data-col].hl { background: var(--red-soft); color: var(--red-d); font-weight: 700; }
.ts-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 20px; margin: 0; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.ts-legend > span { display: flex; align-items: center; gap: 8px; }
.ts-legend .yes, .ts-legend .opt { width: 22px; height: 22px; font-size: .8rem; }
.ts-legend .yes .ic { width: 13px; height: 13px; }

/* Valmiusastevalitsin */
.valitsin { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 50px; background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 50px); box-shadow: var(--sh); }
.v-head { grid-column: 1 / -1; }
.v-head h2 { margin-bottom: 8px; }
.vq { border: 0; padding: 0; margin: 0 0 24px; }
.vq legend { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 12px; padding: 0; }
.vq legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.choices { display: grid; gap: 10px; }
.choices.c3 { grid-template-columns: repeat(3, 1fr); }
.choices.c4 { grid-template-columns: repeat(4, 1fr); }
.choices.c5 { grid-template-columns: repeat(5, 1fr); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: block; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #f9fafb; transition: border-color .2s, background .2s, box-shadow .2s; font-size: .9rem; color: var(--muted); height: 100%; }
.choice b { display: block; font-weight: 650; color: var(--ink); font-size: .95rem; }
.choice.sm > span { padding: 12px 14px; text-align: center; }
.choice.big > span { padding: 22px 18px; }
.choice.big .ic { width: 30px; height: 30px; color: var(--red); margin-bottom: 12px; display: block; }
.choice.big b { font-size: 1.08rem; margin-bottom: 2px; }
.choice:hover > span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 3px rgba(227, 32, 42, .12); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.v-out { position: sticky; top: 110px; align-self: start; }
.vres { border-radius: 18px; padding: 30px; background: var(--ink); color: rgba(255, 255, 255, .84); animation: pop .4s var(--ease); }
.vres h3 { color: #fff; font-size: 1.9rem; display: flex; align-items: center; gap: 12px; }
.vres h3 .ic { width: 34px; height: 34px; color: var(--red); }
.vres .eyebrow { color: #ff6363; }
.vres .btn-line { color: #fff; border-color: rgba(255, 255, 255, .35); }
.vres .btn-line:hover { border-color: #fff; }
.vres-empty { background: var(--paper); color: var(--muted); display: grid; place-items: center; min-height: 260px; text-align: center; }
.vres-empty p { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.vres-empty .ic { width: 34px; height: 34px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Referenssit */
.refs { display: grid; gap: 26px; }
.ref { display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.ref:nth-child(even) { grid-template-columns: 1fr 1.3fr; }
.ref:nth-child(even) .ref-img { order: 2; }
.ref-img { position: relative; min-height: 380px; background: var(--paper); }
.ref-img .gi { position: absolute; inset: 0; }
.ref-img .gi[hidden] { display: none; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ref-img:hover img { transform: scale(1.03); }
.ref-n { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .94); pointer-events: none; }
.ref-n .ic { width: 15px; height: 15px; }
/* Kohdekortin kuvakaruselli (Sulo 28.10.) */
.ref-nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh); opacity: .92; transition: opacity .2s, transform .2s; }
.ref-nav:hover { opacity: 1; transform: scale(1.06); }
.ref-nav .ic { width: 18px; height: 18px; }
.ref-prev { left: 14px; }
.ref-prev .ic { transform: rotate(180deg); }
.ref-next { right: 14px; }
.ref-dots { position: absolute; right: 16px; bottom: 22px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.ref-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ref-dots i.on { background: #fff; }
.ref-b { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; }
.ref-scope { align-self: flex-start; font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 7px 10px; border-radius: 6px; margin-bottom: 16px; }
.ref-b h3 { font-size: 1.7rem; }
.ref-b p { color: var(--muted); font-size: .95rem; }
.ref dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 8px 0 20px; }
.ref dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ref dd { margin: 3px 0 0; font-weight: 650; color: var(--ink); }
.ref .link { margin-top: auto; }
.home-g { padding: 40px 0 10px; border-top: 1px solid var(--line-2); }
.home-g:first-of-type { border-top: 0; padding-top: 0; }
.home-g-h { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 22px; }
.home-g-h h3 { font-size: 1.7rem; margin: 0; }
.home-g-h p { margin: 0; color: var(--muted); }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; }
.gal .gi { border-radius: 12px; overflow: hidden; display: block; background: var(--paper-2); }
.gal .gi[hidden] { display: none; }
.gal .gi.big { grid-column: span 2; grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal .gi:hover img { transform: scale(1.05); }
.gal.open .gi[hidden] { display: block; }
.gal-more { margin-top: 18px; }
.gal.g4 .gi.big { grid-column: span 2; grid-row: span 2; }

/* Kaksi saraketta */
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 0; }
.prose p { color: #33373c; }
.side-card { position: relative; border-radius: 20px; overflow: hidden; background: var(--paper); position: sticky; top: 110px; }
.side-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-b { padding: 26px 28px 28px; }
.side-b h3 { font-size: 1.2rem; }
.side-card .ai-note { top: 12px; bottom: auto; }
.quote-band { background: var(--ink); padding: 90px 0; }
.quote-band blockquote { max-width: 30ch; font: 800 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--head); font-variation-settings: "wdth" 88; border: 0; padding: 0; margin: 0 auto; text-align: center; }
.quote-band cite { font-family: var(--body); font-size: 1rem; }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 6px; }
.use { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--paper); font-size: .95rem; }
.use .ic { color: var(--red); width: 24px; height: 24px; }
.sale { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.sale-side { padding: 32px; border-radius: 22px; background: var(--ink); color: rgba(255, 255, 255, .84); }
.sale-side h3 { color: #fff; }
.sale-side .link { color: #ff6b6b; }
.near { text-align: center; }
.near .chips { justify-content: center; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 90px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 18px; background: var(--ink); color: rgba(255, 255, 255, .7); transition: transform .3s var(--ease), background .3s; }
.ccard:hover { transform: translateY(-3px); background: var(--red); color: #fff; }
.ccard .ic { width: 30px; height: 30px; color: #ff5a5a; margin-bottom: 14px; }
.ccard:hover .ic { color: #fff; }
.ccard b { color: #fff; font-size: 1.2rem; word-break: break-word; }
.bill { margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.bill div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 20px; background: #fff; }
.bill dt { font-weight: 600; color: var(--muted); font-size: .9rem; }
.bill dd { margin: 0; font-weight: 600; word-break: break-word; }

/* Tarjouspyyntö */
.form h2.fh { margin-top: 40px; }
.wiz { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.wiz-prog { display: flex; gap: 6px; margin-bottom: 24px; }
.wiz-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background .3s; }
.wiz-prog i.on { background: var(--red); }
.wstep { display: none; border: 0; padding: 0; margin: 0; }
.wstep.on { display: block; animation: pop .35s var(--ease); }
.wstep h2 { font-size: 1.7rem; margin-bottom: 18px; }
.lbl { font-weight: 650; color: var(--ink); margin: 22px 0 10px; font-size: .95rem; }
.pchoices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pchoice { position: relative; cursor: pointer; }
.pchoice input { position: absolute; opacity: 0; }
.pchoice span { display: block; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pchoice img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pchoice b { display: block; padding: 10px 10px 12px; font-size: .84rem; line-height: 1.25; }
.pchoice input:checked + span { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 32, 42, .15); }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.wiz-nav [data-next], .wiz-nav [data-send] { margin-left: auto; }
.aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.aside .panel { padding: 26px; }
.pcard-side { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; }
.pcard-side .av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; grid-row: span 1; }
.pcard-side > div b { display: block; }
.pcard-side > div span { font-size: .86rem; color: var(--muted); }
.pcard-side .note, .pcard-side .big-tel, .pcard-side .link { grid-column: 1 / -1; }
.pcard-side .big-tel { font-size: 1.45rem; }

/* Footer */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 90px 0 110px; font-size: .94rem; }
.ftr-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr-big { font: 800 clamp(2.2rem, 5vw, 4rem)/1 var(--head); font-variation-settings: "wdth" 85; color: #fff; margin: 0; }
.ftr-big span { color: var(--red); }
.ftr-top .btns { margin: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.brand-ftr img { height: 70px; }
.brand-ftr .logo-c { opacity: 0; }
.brand-ftr .logo-w { opacity: 1; position: absolute; }
.ftr-brand p { margin: 22px 0 18px; max-width: 36ch; }
.ftr h3 { color: #fff; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a:hover { color: #fff; }
.some { display: flex; gap: 10px; }
.some a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.some a:hover { background: var(--red); border-color: var(--red); }
.ftr-badges .badges { grid-template-columns: repeat(4, 1fr); }
.ftr-badges .badge { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.ftr-badges .badge img { background: #fff; border-radius: 8px; padding: 5px; }
.ftr-badges .b-aaa img { background: #000; }
.ftr-badges .badge b { color: #fff; }
.ftr-badges .badge span { color: rgba(255, 255, 255, .55); }
.ftr-local { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.ftr-local span { color: #fff; font-weight: 600; }
.ftr-local ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.demo-note { margin-top: 20px; font-size: .8rem; color: #ff8a8a; }
.mbar { display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(10, 11, 13, .94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.lb img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 8px; margin: 0 auto; }
.lb figcaption { color: rgba(255, 255, 255, .75); font-size: .9rem; margin-top: 12px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb button:hover { background: var(--red); }
.lb .ic { width: 24px; height: 24px; }
.lb-x { top: 20px; right: 20px; }
.lb-p { left: 20px; top: 50%; margin-top: -26px; }
.lb-n { right: 20px; top: 50%; margin-top: -26px; }


/* Talokonfiguraattori */
.konf-sec { padding-top: 34px; }
.konf { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.konf-view { position: sticky; top: 96px; display: grid; gap: 16px; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.konf-draw { padding: 14px; overflow: hidden; }
.konf-draw svg { width: 100%; height: auto; display: block; border-radius: 12px; background: linear-gradient(#f7f8f8, #ffffff 70%); }
.konf-cap { margin: 10px 4px 0; font-size: .84rem; color: var(--muted); }
.konf-sum { padding: 24px 26px; }
.konf-sum h2 { font-size: 1.5rem; margin-bottom: 12px; }
.konf-sum h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.konf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.konf-list li { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.konf-list span { color: var(--muted); }
.konf-list b { font-weight: 600; color: var(--ink); }
.konf-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--paper); }
.konf-bar i { display: block; height: 100%; transition: width .35s var(--ease); }
.konf-rooms { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: .86rem; }
.konf-rooms li { display: flex; align-items: center; gap: 8px; }
.konf-rooms li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.konf-rooms li b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.konf-warn { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff4e5; color: #8a5a07; font-size: .88rem; }
.konf-form { display: grid; gap: 14px; }
.kstep { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 24px; margin: 0; background: #fff; min-width: 0; }
.konf-form, .konf-view { min-width: 0; }
.kstep legend { display: flex; align-items: center; gap: 12px; font: 800 1.2rem/1.2 var(--head); font-variation-settings: "wdth" 86; color: var(--ink); padding: 0 6px; margin-left: -6px; }
.kstep legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 .85rem/1 var(--body); }
.kstep .choices { margin-top: 6px; }
.choices.c2 { grid-template-columns: 1fr 1fr; }
.choice small { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.kstep .choice.sm > span { text-align: left; }
.kstep .lbl { margin: 18px 0 8px; }
.size { margin: 6px 0 16px; }
.size-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; color: var(--muted); font-size: .92rem; }
.size output { font: 800 2rem/1 var(--head); font-variation-settings: "wdth" 80; color: var(--ink); }
.size input[type=range] { width: 100%; accent-color: var(--red); height: 28px; }
.steppers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 6px 0 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; font-weight: 600; font-size: .92rem; }
.stepper > div { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper input { width: 40px; text-align: center; border: 0; font: 700 1.15rem var(--body); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill input { position: absolute; opacity: 0; }
.check-pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.check-pill span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-2); background: #fff; }
.check-pill input:checked + span { border-color: var(--red); background: var(--red-soft); }
.check-pill input:checked + span::before { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--red); }
.check-pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 99px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .9rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatch i.none { background: repeating-linear-gradient(45deg, #fff 0 4px, #e4e0d8 4px 6px); }
.swatch input:checked + span { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 32, 42, .12); }
.kstep-send { background: var(--paper); border-color: transparent; }
.konf-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.84); }
.konf-cta > div { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.konf-cta h2 { color: #fff; }
.konf-cta .btn { align-self: flex-start; }
.konf-cta-img { padding: 0 !important; min-height: 260px; position: relative; }
.konf-cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .konf, .konf-cta { grid-template-columns: 1fr; }
  .konf { gap: 14px; }
  .konf-view { display: contents; }
  .konf-draw { position: sticky; top: calc(var(--hdr) + 6px); z-index: 5; order: 0; padding: 8px; box-shadow: 0 10px 30px rgba(20, 22, 25, .12); }
  .konf-cap { display: none; }
  .konf-form { order: 1; }
}
@media (max-width: 640px) {
  .kstep { padding: 18px 16px 20px; }
  .choices.c2, .steppers, .konf-rooms { grid-template-columns: 1fr; }
  .konf-list li { grid-template-columns: 1fr; gap: 2px; }
}

/* Ilmestyminen */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d2 { transition-delay: .08s; } .d3 { transition-delay: .16s; } .d4 { transition-delay: .24s; } .d5 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Responsiivisuus ---------- */
@media (max-width: 1180px) {
  .nav-item > a { padding: 0 9px; font-size: .92rem; }
  .hdr-tel span { display: none; }
  .rcards { grid-template-columns: repeat(3, 1fr); }
  .pkgs { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .pchoices { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --hdr: 68px; }
  .nav, .hdr-cta .btn { display: none; }
  .burger { display: block; }
  .hdr-tel { width: 44px; height: 44px; border-radius: 50%; justify-content: center; background: var(--red); color: #fff !important; }
  .hdr-tel .ic { color: #fff; }
  .brand img { height: 42px; }
  .mnav { display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--hdr)); overflow-y: auto; background: #fff; padding: 12px 22px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; border-top: 1px solid var(--line); }
  .hdr.open .mnav { opacity: 1; visibility: visible; transform: none; }
  .mnav > a { display: block; padding: 15px 4px; font: 800 1.3rem/1.2 var(--head); font-variation-settings: "wdth" 90; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mnav > a.sub { font: 500 1rem/1.3 var(--body); padding: 11px 4px 11px 18px; color: var(--muted); }
  .mnav-cta { display: grid; gap: 10px; margin-top: 24px; }
  html.lock { overflow: hidden; }
  .sec { padding: 76px 0; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 34px; }
  .paths { grid-template-columns: 1fr; gap: 14px; }
  .path { flex-direction: row; }
  .path img { width: 34%; aspect-ratio: auto; object-fit: cover; }
  .path-ic { margin-top: 0; width: 40px; height: 40px; display: none; }
  .path-b { padding: 16px 18px; align-items: center; }
  .path h2 { font-size: 1.2rem; }
  .path p { font-size: .85rem; }
  .paths-sec { margin-top: -90px; }
  .hero { padding-bottom: 130px; min-height: 92svh; }
  .home .hero { padding-bottom: 70px; }
  .hero .stats.hero-stats { grid-template-columns: repeat(2, auto); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .split-band, .price, .proc-grid, .hall-in, .area, .faq-wrap, .contact-grid, .two-col, .valitsin, .ref, .ref:nth-child(even), .sale, .wiz, .home-g-h { grid-template-columns: 1fr; }
  .ref:nth-child(even) .ref-img { order: 0; }
  .ref-img { min-height: 280px; }
  .sb-img { min-height: 380px; }
  .sb-txt { padding: 60px 24px; }
  .proc-img { min-height: 300px; }
  .faq-wrap > div:first-child, .side-card, .v-out, .aside { position: static; }
  .homes, .people, .usps, .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps.row4 { grid-template-columns: 1fr 1fr; }
  .steps.row4 .step::after { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-person { min-height: 460px; }
  .choices.c4, .choices.c5 { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-badges .badges { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .strip { padding-left: 24px; }
  .strip .gi { width: 270px; height: 200px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { min-height: 48px; padding: 0 14px; }
  body { padding-bottom: 70px; }
  .ts-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; background: var(--ink); }
  .ts-tabs button { border: 0; background: rgba(255, 255, 255, .08); color: #fff; padding: 11px 4px; border-radius: 10px; font-weight: 650; font-size: .76rem; line-height: 1.2; overflow-wrap: anywhere; }
  .ts-tabs button.on { background: var(--red); }
  .ts-table { min-width: 0; }
  .ts-table thead tr:first-child { display: none; }
  .ts-table [data-col] { display: none; }
  .ts-table [data-col].show { display: table-cell; }
  .ts-count td:first-child { display: table-cell; }
  .ts-sec th { font-size: .72rem !important; }
  .ts-table th, .ts-table td { padding: 11px 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hdr-in { padding: 0 12px 0 16px; gap: 10px; }
  .hero { padding: calc(var(--hdr) + 40px) 0 110px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-logo { width: 170px; margin-bottom: 20px; }
  .hero h1 em::after { width: 70px; height: 5px; margin-top: 16px; }
  .hero-ticks { gap: 8px; flex-direction: column; }
  .btns .btn { flex: 1 1 100%; }
  .phero { min-height: 560px; padding: calc(var(--hdr) + 50px) 0 50px; }
  .phero.plain { padding: calc(var(--hdr) + 40px) 0 34px; }
  .hero-facts { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .homes, .people, .usps, .contact-cards, .why, .pkgs, .rcards, .rcards.c4, .steps.row4 { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; gap: 8px; }
  .badge { flex-direction: column; text-align: center; gap: 8px; padding: 12px 8px; }
  .badge img { width: 64px; height: 42px; }
  .badge b { font-size: .8rem; }
  .badge span { font-size: .72rem; }
  .fgrid, .choices.c3, .choices.c4, .choices.c5 { grid-template-columns: 1fr; }
  .choices.c5 { grid-template-columns: 1fr 1fr; }
  .pchoices { grid-template-columns: 1fr 1fr; }
  .rcard { flex-direction: row; }
  .rcard img { width: 38%; aspect-ratio: auto; }
  .rcard-ic { display: none; }
  .rcard h3 { margin-top: 0; }
  .ref dl { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .price-l, .price-r { padding: 34px 22px; }
  .pex { flex-direction: column; gap: 2px; }
  .bill div { grid-template-columns: 1fr; gap: 2px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 30px; }
  .ftr-badges .badges { grid-template-columns: 1fr 1fr; }
  .ftr-top { flex-direction: column; align-items: flex-start; }
  .stats { gap: 22px; }
  .sb-img { min-height: 300px; }
  .wiz-nav .btn { flex: 1; }
  .contact-person { min-height: 420px; }
  .cp-card { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .lb-p, .lb-n { top: auto; bottom: 20px; margin: 0; }
}
