/* Layout: valkoinen pohja ja logon petrolinsininen. Tummat osiot alkavat harjakaton lappeella (logon talon katto). */
:root {
  --ink: #17293A;
  --deep: #0F1C27;
  --brand: #2A4F69;
  --brand-2: #3B6E91;
  --sky: #CFE2EF;
  --text: #272727;
  --muted: #55626D;
  --bg: #FFFFFF;
  --white: #FFFFFF;
  --mist: #F2F5F7;
  --line: #DDE3E8;
  --field: #BFCAD3;
  --on-dark: #E6EEF4;
  --on-dark-muted: #A9BCCB;
  --panel: #1D3243;
  --panel-line: #2E4A61;
  --ok: #86D3A8;
  --warn: #9A4A06;
  --warn-bg: #FFF1DE;
  --alert-bg: #3A2A12;
  --alert-line: #D97706;
  --alert-text: #F8B06A;

  --f-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pitch: clamp(28px, 5vw, 64px);
  --sec: clamp(56px, 8vw, 96px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--f-display); color: var(--ink); margin: 0;
  text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }

.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.section { padding-block: var(--sec); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.gable {
  position: relative;
  margin-top: calc(-1 * var(--pitch));
  padding-top: calc(var(--pitch) + var(--sec));
  clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%);
}

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.eyebrow {
  font-family: var(--f-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--sky); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.section--ink .lead, .hero .lead, .page-hero .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.section--ink .muted { color: var(--on-dark-muted); }
.small { font-size: .9rem; }
.prose { max-width: 65ch; display: flex; flex-direction: column; gap: 1em; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; min-width: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: .96rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sky); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.section--ink .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .path--urgent .btn-ghost { color: var(--white); border-color: var(--on-dark-muted); }
.section--ink .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-family: var(--f-display); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.textlink svg { width: 18px; height: 18px; }

/* Campaign bar */
.topbar { background: var(--brand); color: var(--white); }
.topbar-btn {
  display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px));
  background: none; border: 0; color: inherit; cursor: pointer; text-align: center;
  font: 600 .92rem/1.4 var(--f-body);
}
.topbar-btn:hover u { text-decoration-thickness: 2px; }
.tag {
  display: inline-block; background: var(--white); color: var(--ink); border-radius: 4px; padding: 2px 8px;
  font: 800 .72rem/1.5 var(--f-display); letter-spacing: .08em;
}

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; position: relative; }
.logo { display: block; line-height: 0; flex: none; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-drop > button {
  font: 600 .95rem/1.2 var(--f-body); color: var(--text); text-decoration: none;
  padding: 12px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-drop > button:hover { background: var(--mist); color: var(--ink); }
.nav > a[aria-current="page"], .nav-drop.is-current > button { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 16px; height: 16px; transition: transform .15s; }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(23, 41, 58, .14); padding: 8px; display: grid; gap: 2px;
}
.drop a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.3; }
.drop a small { color: var(--muted); font-weight: 500; font-size: .84rem; }
.drop a:hover { background: var(--mist); }
.drop a[aria-current="page"] { background: var(--mist); color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(23, 41, 58, .1);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 120px); overflow: auto;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a[aria-current="page"], .nav-drop.is-current > button { box-shadow: none; }
  .drop { position: static; min-width: 0; box-shadow: none; border: 0; padding: 4px 0 8px 8px; }
}
@media (max-width: 520px) {
  .logo img { height: 42px; }
  .header-call .num { display: none; }
  .header-call { padding-inline: 14px; }
}

/* Hero */
.hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(48px, 7vw, 88px) clamp(96px, 11vw, 136px); }
.hero-grid, .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4rem); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-heads { display: flex; flex-direction: column; gap: 14px; }
.hero-sub { font: 700 clamp(1.25rem, 2.2vw, 1.7rem)/1.25 var(--f-display); color: var(--sky); letter-spacing: -.01em; text-wrap: balance; }
.hero-note { font-size: .92rem; color: var(--on-dark-muted); }
.hero-note a { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.hero-note a:hover { color: var(--sky); }
.hero-visual { position: relative; min-width: 0; }
.badge-float {
  position: absolute; left: -20px; bottom: 32px; max-width: 290px;
  background: var(--white); color: var(--ink); border-radius: 12px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.badge-float b { font: 800 1.3rem/1.1 var(--f-display); display: block; }
.badge-float span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.hero--photo { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 41, 58, .94) 0%, rgba(23, 41, 58, .84) 38%, rgba(23, 41, 58, .35) 72%, rgba(23, 41, 58, .15) 100%),
    linear-gradient(0deg, rgba(23, 41, 58, .7) 0%, rgba(23, 41, 58, 0) 35%);
}
.hero--photo .hero-grid { grid-template-columns: minmax(0, 1fr); position: relative; }
.hero--photo .hero-copy { max-width: 1000px; }
.hero--photo h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.br-lg { display: none; }
@media (min-width: 1100px) { .br-lg { display: inline; } }
.hero--photo .lead { max-width: 56ch; }
.hero--photo .hero-visual { display: flex; justify-content: flex-end; }
.hero--photo .badge-float { position: static; }
@media (min-width: 1100px) {
  .hero--photo .hero-visual { position: absolute; right: max(32px, env(safe-area-inset-right, 0px)); bottom: 0; }
}
@media (max-width: 880px) {
  .hero-grid, .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .badge-float { left: 12px; bottom: 12px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(23, 41, 58, .78) 0%, rgba(23, 41, 58, .9) 55%, rgba(23, 41, 58, .95) 100%); }
  .hero--photo .hero-visual { justify-content: flex-start; }
}

.page-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(32px, 5vw, 56px) clamp(88px, 10vw, 128px); }
.page-hero h1 { color: var(--white); }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 28px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--white); }

/* Photo slots */
.photo {
  position: relative; margin: 0; border-radius: 12px; overflow: hidden; max-width: 100%;
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end;
  background:
    repeating-linear-gradient(-28deg, transparent 0 26px, rgba(42, 79, 105, .07) 26px 28px),
    var(--mist);
  border: 1px solid var(--line);
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--dark {
  background:
    repeating-linear-gradient(-28deg, transparent 0 26px, rgba(207, 226, 239, .06) 26px 28px),
    var(--panel);
  border-color: var(--panel-line);
}
.photo svg.house { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 30%; max-width: 140px; height: auto; color: var(--brand); opacity: .22; }
.photo--dark svg.house { color: var(--sky); opacity: .16; }
.photo figcaption {
  position: relative; margin: 12px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .8rem; font-weight: 600; padding: 6px 10px; border-radius: 6px; line-height: 1.35;
}

/* Stats / facts */
.stats, .facts {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; position: relative;
  box-shadow: 0 18px 40px rgba(23, 41, 58, .08);
}
.stats { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: calc(-1 * clamp(56px, 7vw, 80px)); }
.facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: calc(-1 * clamp(56px, 7vw, 80px)); }
.stat, .fact { background: var(--white); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat b, .fact b { font: 800 clamp(1.6rem, 2.6vw, 2rem)/1.1 var(--f-display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span, .fact span { font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats .stat--link { grid-column: 1 / -1; } }
.after-pull { padding-top: clamp(48px, 6vw, 72px); }

/* Paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.path { border: 1px solid #D3DFE8; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #EAF1F6; }
.path .icon-tile { background: var(--white); }
.path p { color: var(--muted); }
.path ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.path li a { text-decoration: none; font-weight: 600; }
.path li a:hover { text-decoration: underline; }
.path .btn { margin-top: auto; align-self: flex-start; }
.path--urgent { background: var(--brand); border-color: var(--brand); color: var(--on-dark); }
.path--urgent h3 { color: var(--white); }
.path--urgent p { color: var(--on-dark); }
.path--urgent li a { color: var(--white); }
.path--urgent .eyebrow { color: var(--sky); }
.icon-tile { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); color: var(--brand); flex: none; }
.icon-tile svg { width: 24px; height: 24px; }
.icon-pair { width: auto; padding-inline: 10px; display: flex; gap: 6px; align-items: center; }
.icon-pair svg { width: 22px; height: 22px; }
.path--urgent .icon-tile { background: var(--white); color: var(--brand); }
.section--ink .icon-tile { background: var(--panel); color: var(--sky); }

/* Service grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc { background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); transition: background .15s; }
.svc:hover { background: var(--mist); color: var(--text); }
.svc .icon-tile { margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: .98rem; }
.svc .brandname { font-size: .74rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-display); }
.svc .more { margin-top: auto; padding-top: 8px; font: 700 .95rem var(--f-display); color: var(--brand); display: inline-flex; gap: 8px; align-items: center; }
.svc .more svg { width: 18px; height: 18px; transition: transform .15s; }
.svc:hover .more svg { transform: translateX(4px); }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--ink .checks li::before { background-color: var(--sky); }
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 600px) { .checks-2 { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.section--ink .chip { background: var(--panel); border-color: var(--panel-line); color: var(--on-dark); }

/* Steps: only for real sequences */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 1rem var(--f-display); color: var(--brand); }
.steps p { color: var(--muted); font-size: .98rem; }
.section--ink .steps li { border-color: var(--sky); }
.section--ink .steps li::before { color: var(--sky); }
.section--ink .steps p { color: var(--on-dark-muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: var(--white); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card p { color: var(--muted); }
.section--ink .card { background: var(--panel); border-color: var(--panel-line); }
.section--ink .card p { color: var(--on-dark-muted); }

/* Callouts */
.urgent { background: var(--brand); color: var(--white); border-radius: 12px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; }
.urgent h3 { color: var(--white); }
.urgent p { color: var(--on-dark); }
.urgent > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 320px; }
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote svg { width: 40px; height: 40px; color: var(--brand); }
.quote blockquote { margin: 0; font: 700 clamp(1.25rem, 2.4vw, 1.65rem)/1.35 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { color: var(--muted); }
.section--ink .quote svg { color: var(--sky); }
.section--ink .quote blockquote { color: var(--white); }
.section--ink .quote figcaption { color: var(--on-dark-muted); }

/* Offer */
.offer { border: 2px solid var(--brand); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--white); scroll-margin-top: 110px; }
@media (max-width: 760px) { .offer { grid-template-columns: minmax(0, 1fr); } }
.offer-side { background: var(--brand); color: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.offer-side .price { font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 var(--f-display); letter-spacing: -.02em; }
.offer-side .price small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: var(--sky); }
.offer-main { padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0; font: 700 1.06rem/1.35 var(--f-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.7rem; font-weight: 500; color: var(--brand); transition: transform .2s; flex: none; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 65ch; }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band .cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 620px; min-width: 0; }
.cta-phone { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--f-display); color: var(--white); text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cta-phone:hover { color: var(--sky); }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-dark-muted); padding-block: 56px 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-grid > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.site-footer h4 { font: 700 .95rem var(--f-display); color: var(--white); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { align-self: flex-start; background: var(--white); border-radius: 8px; padding: 8px 12px; line-height: 0; }
.footer-logo img { height: 42px; width: auto; }
.footer-phone { font: 800 1.3rem var(--f-display); color: var(--white) !important; }
.footer-bottom { border-top: 1px solid #23384A; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(23, 41, 58, .08);
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }
  .callbar .btn { padding-inline: 10px; font-size: .9rem; }
  .site-footer { padding-bottom: 104px; }
}

/* Popup */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 28, 39, .66); display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.modal-card {
  position: relative; width: 100%; max-width: 780px; max-height: 100%; overflow: auto;
  background: var(--white); border-radius: 16px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
@media (max-width: 640px) { .modal-card { grid-template-columns: minmax(0, 1fr); } }
.modal-side {
  position: relative; isolation: isolate; overflow: hidden; min-height: 420px;
  background: var(--brand); color: var(--white); padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.modal-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: -2; }
.modal-side::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23, 41, 58, 0) 45%, rgba(23, 41, 58, .55) 68%, rgba(23, 41, 58, .92) 100%);
}
.modal-side .tag { align-self: flex-start; max-width: 100%; }
.modal-side .vat { display: block; margin-top: 6px; font: 600 .9rem var(--f-body); letter-spacing: 0; }
.modal-side .price { font: 800 3rem/1 var(--f-display); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.modal-side .price small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: var(--white); }
@media (max-width: 640px) {
  .modal-side { min-height: 220px; padding: 18px 20px; }
  .modal-photo { object-position: 62% 40%; }
  .modal-side .price { font-size: 2.4rem; }
}
.modal-main { padding: 40px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.modal-main h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.modal-main p { color: var(--muted); }
.modal-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18); z-index: 2;
}
.modal-close svg { width: 20px; height: 20px; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: .95rem; }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; color: var(--text); }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 1.5px solid var(--field); border-radius: 8px; padding: 11px 12px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="file"] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid var(--sky); outline-offset: 0; }
.form .btn { grid-column: 1 / -1; min-height: 54px; font-size: 1.02rem; }
.form-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.form-done { grid-column: 1 / -1; background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; color: var(--ink); }
.form-done strong { display: block; font-family: var(--f-display); }

/* Calculator */
.calc { background: var(--mist); border-radius: 14px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-row label, .calc-label { font-weight: 600; color: var(--ink); }
.calc-row output { font: 800 1.6rem var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; }
.range-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--white); color: var(--ink); font: 700 .92rem var(--f-display); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.calc-out { background: var(--white); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; margin-bottom: 8px; }
.bar-label span { color: var(--muted); }
.bar-label strong { font-variant-numeric: tabular-nums; }
.bar { height: 14px; border-radius: 99px; background: #DCE4EA; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .25s; }
.bar--grey span { background: var(--muted); }
.calc-result { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc-result output { font: 800 clamp(1.8rem, 3.4vw, 2.3rem) var(--f-display); color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.assume { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .assume { grid-template-columns: minmax(0, 1fr); } }
.assume .field input { min-height: 44px; }

/* 3 % share visual */
.share3 { background: #EAF1F6; border: 1px solid #D3DFE8; border-radius: 14px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.share3-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.share3-num { font: 800 clamp(3.6rem, 7vw, 5.2rem)/.9 var(--f-display); color: var(--brand); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.share3-lead { font: 700 1.05rem/1.35 var(--f-display); color: var(--ink); max-width: 24ch; }
.share3-roof {
  display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px;
  background: var(--white); padding: 10px; border-radius: 8px;
}
.share3-roof span { aspect-ratio: 1 / 1; border-radius: 2px; background: var(--sky); }
.share3-roof span.hot { background: var(--alert-line); }
.share3-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.share3-legend span { display: inline-flex; align-items: center; gap: 8px; }
.share3-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.k-hot { background: var(--alert-line); }
.k-ok { background: var(--sky); }
.share3-q { font: 800 clamp(1.2rem, 2vw, 1.45rem)/1.3 var(--f-display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }

/* Leak monitor illustration */
.monitor { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; color: var(--on-dark); min-width: 0; }
.monitor-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; color: var(--on-dark-muted); }
.sensor { display: flex; justify-content: space-between; gap: 12px; background: var(--ink); border-radius: 8px; padding: 12px 14px; }
.sensor .ok, .monitor-head .ok { color: var(--ok); font-weight: 600; }
.sensor--alert { background: var(--alert-bg); border: 1px solid var(--alert-line); }
.sensor--alert .st { color: var(--alert-text); font-weight: 700; }
.caption { font-size: .82rem; color: var(--on-dark-muted); }

/* Sensor product + blueprint */
.product { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0; min-width: 0; }
.product::before {
  content: ""; position: absolute; inset: -10% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(207, 226, 239, .16), rgba(207, 226, 239, 0));
}
.product img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.product .caption { position: relative; z-index: 1; }
.bp-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.mon-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 16px; }
.mon-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.blueprint {
  border: 1px solid var(--panel-line); border-radius: 14px; padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  background-color: #1A3043;
  background-image:
    linear-gradient(rgba(207, 226, 239, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 226, 239, .09) 1px, transparent 1px),
    linear-gradient(rgba(207, 226, 239, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 226, 239, .04) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
.bp-scroll { overflow-x: auto; }
.bp-scroll svg { display: block; width: 100%; min-width: 620px; height: auto; }
.bp-hint { display: none; font-size: .82rem; color: var(--on-dark-muted); }
@media (max-width: 700px) { .bp-hint { display: block; } }
.bp-pulse { transform-box: fill-box; transform-origin: center; animation: bp-pulse 2.6s ease-out infinite; }
.bp-pulse--alert { animation-duration: 1.4s; }
@keyframes bp-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bp-pulse { animation: none; opacity: 0; } }
.monitor--compact { gap: 6px; font-size: .9rem; }
.monitor--compact .sensor { padding: 8px 12px; }
.mon-group { font: 700 .72rem var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-top: 8px; }
.monitor-msg { font-size: .88rem; color: var(--alert-text); border-top: 1px solid var(--panel-line); padding-top: 10px; margin-top: auto; }

/* Flow (vuotovahti) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 880px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.flow li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; min-width: 0; }
.flow li p { color: var(--muted); font-size: .96rem; }

/* References */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .refs { grid-template-columns: minmax(0, 1fr); } }
.ref { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
@media (max-width: 520px) { .ref { grid-template-columns: minmax(0, 1fr); } }
.ref .photo { border: 0; border-radius: 0; aspect-ratio: auto; min-height: 200px; height: 100%; }
.ref-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ref-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.ref-meta .year { color: var(--brand); font-variant-numeric: tabular-nums; }
.ref-body p { color: var(--muted); font-size: .97rem; }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.ref-tags span { font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--mist); border-radius: 4px; padding: 3px 8px; }
.ref-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .ref-teaser { grid-template-columns: minmax(0, 1fr); } }
.ref-teaser .ref { grid-template-columns: minmax(0, 1fr); }
.ref-teaser .ref .photo { aspect-ratio: 16 / 10; height: auto; min-height: 0; }

/* Report illustration */
.report { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(23, 41, 58, .14); padding: 24px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.report-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.report h3 { margin: 10px 0 8px; }
.report-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.pill { font: 800 .7rem/1.4 var(--f-display); letter-spacing: .06em; padding: 4px 8px; border-radius: 4px; flex: none; min-width: 74px; text-align: center; }
.pill--now { background: var(--warn-bg); color: var(--warn); }
.pill--soon { background: var(--sky); color: var(--ink); }
.pill--watch { background: var(--mist); color: var(--muted); }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list b { display: block; color: var(--ink); font-family: var(--f-display); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-btn { min-height: 36px; padding: 6px 12px; border-radius: 6px; border: 1.5px solid var(--field); background: var(--white); color: var(--ink); font: 600 .85rem var(--f-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partner { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; background: var(--white); font: 700 1rem var(--f-display); color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.partner small { font: 500 .82rem var(--f-body); color: var(--muted); }
.monitor--compact .sensor { align-items: center; }
.sid { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sid b { font-weight: 700; color: var(--white); }
.sid small { font-size: .8rem; color: var(--on-dark-muted); }
.monitor--compact .sensor > span:last-child { text-align: right; font-size: .85rem; }

/* Savings 3D stage */
.saasto .section-head--row > div .lead { margin-top: 2px; }
.stage {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  aspect-ratio: 16 / 8; max-width: 100%; min-height: 360px;
  background: linear-gradient(180deg, #E7EFF4 0%, #DDE8EF 100%);
}
@media (max-width: 700px) { .stage { aspect-ratio: 4 / 5; min-height: 0; } }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-hud { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hud-chip { background: var(--white); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: .88rem; box-shadow: 0 4px 14px rgba(23, 41, 58, .12); }
.hud-chip b { font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.hud-dots { display: inline-flex; gap: 5px; background: rgba(255, 255, 255, .85); border-radius: 999px; padding: 8px 10px; }
.hud-dots i { width: 8px; height: 8px; border-radius: 99px; background: #BFCAD3; transition: background .3s; }
.hud-dots i.on { background: var(--brand); }
.stage.is-complete .hud-chip { background: var(--brand); color: var(--white); }
.stage-badge {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; background: var(--white); border-radius: 12px;
  padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 28px rgba(23, 41, 58, .18); min-width: 200px;
}
.stage-badge span { font: 700 .72rem var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stage-badge b { font: 800 1.7rem/1.1 var(--f-display); color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stage-badge small { font-size: .84rem; color: var(--muted); }
.stage-hint { position: absolute; left: 14px; bottom: 14px; z-index: 3; font-size: .8rem; color: var(--ink); background: rgba(255, 255, 255, .8); border-radius: 6px; padding: 4px 8px; margin: 0; }
@media (max-width: 700px) {
  .stage-badge { min-width: 0; padding: 10px 12px; } .stage-badge b { font-size: 1.3rem; }
  .stage-hint { display: none; } .hud-dots { display: none; }
}
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); }

.hotspot {
  position: absolute; left: 0; top: 0; z-index: 2; margin: -22px 0 0 -22px;
  display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit;
}
.hs-num {
  position: relative; width: 44px; height: 44px; border-radius: 999px; flex: none;
  display: grid; place-items: center; background: var(--brand); color: var(--white);
  font: 800 1rem var(--f-display); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 8px 18px rgba(23, 41, 58, .35);
  transition: transform .2s, background .2s;
}
.hs-num::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 3px solid var(--white);
  animation: hs-ring 2.2s ease-out infinite;
}
@keyframes hs-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.hotspot.is-visited .hs-num { background: var(--ink); }
.hotspot.is-visited .hs-num::after { animation: none; opacity: 0; }
.hotspot.is-next .hs-num, .hotspot.is-open .hs-num { background: var(--alert-line); transform: scale(1.12); }
.hotspot.is-next .hs-num::after { animation: hs-ring 1.3s ease-out infinite; opacity: 1; border-color: var(--alert-line); }
.hotspot.is-open .hs-num::after { animation: none; opacity: 0; }
.hotspot.is-next { z-index: 4; }
.hotspot:hover .hs-num { transform: scale(1.1); }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .hs-num { outline: 3px solid var(--ink); outline-offset: 4px; }
.hs-label {
  display: none; white-space: nowrap; background: var(--white); color: var(--ink); border-radius: 6px; padding: 5px 9px;
  font: 700 .8rem var(--f-display); box-shadow: 0 6px 16px rgba(23, 41, 58, .18);
}
.hotspot.is-next .hs-label, .hotspot:hover .hs-label, .hotspot:focus-visible .hs-label { display: block; }
@media (max-width: 700px) { .hs-num { width: 38px; height: 38px; } .hotspot { margin: -19px 0 0 -19px; } .hotspot:hover .hs-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .hs-num::after { animation: none !important; opacity: 0; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 24px; align-items: start; scroll-margin-top: 100px; }
#saastopolku { scroll-margin-top: 70px; }
@media (max-width: 900px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }
.rm-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rm-step {
  width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 12px; align-items: center; text-align: left;
  padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: var(--text);
}
.rm-step:hover { background: rgba(255, 255, 255, .6); }
.rm-step[aria-current="step"] { background: var(--white); border-color: var(--line); box-shadow: 0 8px 20px rgba(23, 41, 58, .08); }
.rm-num { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--field); font: 800 .9rem var(--f-display); color: var(--ink); }
.rm-step.is-visited .rm-num { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rm-step[aria-current="step"] .rm-num { background: var(--alert-line); border-color: var(--alert-line); color: var(--white); }
.rm-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.rm-txt small { font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.rm-txt span { font-weight: 600; color: var(--ink); font-size: .96rem; }
.rm-check svg { width: 18px; height: 18px; color: var(--brand); opacity: 0; }
.rm-step.is-visited .rm-check svg { opacity: 1; }
.rm-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rm-panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.rm-panel h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); outline: none; }
.rm-panel p { color: var(--muted); max-width: 65ch; }
.rm-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 700 .8rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rm-year { background: var(--brand); color: var(--white); border-radius: 4px; padding: 3px 8px; letter-spacing: .04em; }
.rm-of { margin-left: auto; }
.rm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.rm-nav .linkbtn { margin-left: auto; }
.rm-meter { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 48px); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.compare-card p { color: var(--muted); }
.compare-card--win { background: var(--ink); border-color: var(--ink); }
.compare-card--win h3 { color: var(--white); }
.compare-card--win p { color: var(--on-dark-muted); }
.compare-card--win .eyebrow { color: var(--sky); }
.compare-total { grid-column: 1 / -1; background: var(--brand); color: var(--white); border-radius: 14px; padding: 22px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.compare-total span { font: 700 1.05rem var(--f-display); }
.compare-total b { font: 800 clamp(2rem, 4.4vw, 3rem)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.hotspot .hs-num::after { animation: none; opacity: 0; }
.hotspot.is-next .hs-num::after { animation: hs-ring 1.3s ease-out infinite; opacity: 1; }
.hs-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.hs-path path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hs-path [data-path-all] { stroke: var(--white); stroke-width: 3; stroke-dasharray: 2 9; opacity: .9; }
.hs-path [data-path-done] { stroke: var(--brand); stroke-width: 4; opacity: .9; }
.stage.no-3d .hs-path { display: none; }
.hud-btn { min-height: 36px; border: 0; border-radius: 999px; padding: 7px 14px; background: var(--brand); color: var(--white); font: 700 .86rem var(--f-display); cursor: pointer; box-shadow: 0 4px 14px rgba(23, 41, 58, .12); }
.hud-btn:hover { background: var(--ink); }

.hs-pop {
  position: absolute; z-index: 6; top: calc(50% + 22px); transform: translateY(-50%); width: min(400px, calc(100% - 28px)); max-height: calc(100% - 76px); overflow: auto;
  background: var(--white); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 24px 60px rgba(15, 28, 39, .35);
  animation: pop-in .25s ease-out;
}
.hs-pop.on-left { left: 14px; }
.hs-pop.on-right { right: 14px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(calc(-50% + 10px)); } to { opacity: 1; transform: translateY(-50%); } }
.hs-pop h3 { font-size: 1.3rem; outline: none; padding-right: 36px; }
.hs-pop p { color: var(--muted); font-size: .96rem; }
.hs-pop .rm-kicker { padding-right: 36px; }
.pop-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--mist); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.pop-close svg { width: 18px; height: 18px; }
.pop-stat { background: var(--mist); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.pop-stat span { font: 700 .72rem var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pop-stat b { font: 800 1.7rem/1.1 var(--f-display); color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pop-stat small { font-size: .85rem; color: var(--muted); }
.pop-nav { display: flex; gap: 8px; margin-top: 4px; }
.pop-nav .btn-primary { flex: 1; }
.pop-nav .btn-ghost { min-width: 48px; padding-inline: 14px; }
@media (max-width: 700px) {
  .hs-pop, .hs-pop.on-left, .hs-pop.on-right { left: 10px; right: 10px; width: auto; top: auto; bottom: 10px; transform: none; max-height: 78%; padding: 18px; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .hs-pop { animation: none; } }

.stat-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .stat-cols { grid-template-columns: minmax(0, 1fr); } }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stat-card--end { background: var(--ink); border-color: var(--ink); }
.stat-card--end h3 { color: var(--white); }
.stat-card--end .rm-year { background: var(--sky); color: var(--ink); }
.stat-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stat-head h3 small { font-size: .8em; font-weight: 600; opacity: .7; }
.statlist { margin: 0; display: flex; flex-direction: column; }
.statlist > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.statlist dt { font-weight: 600; color: var(--muted); font-size: .94rem; }
.statlist dd { margin: 0; font-weight: 700; color: var(--ink); }
.stat-card--end .statlist > div { border-color: var(--panel-line); }
.stat-card--end .statlist dt { color: var(--on-dark-muted); }
.stat-card--end .statlist dd { color: var(--white); }
.stat-card--end .statlist > div:last-child dd { color: var(--sky); font-size: 1.15rem; }
@media (max-width: 480px) { .statlist > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.stat-note { grid-column: 1 / -1; }
.hs-pop:not([hidden]) ~ .stage-fallback { display: none; }
.real-note { display: inline-block; margin-top: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .95rem; color: var(--ink); max-width: 62ch; }
.real-note b { color: var(--brand); }
.section--mist .real-note { background: var(--white); }
#saasto3d { scroll-margin-top: 80px; }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .teaser-grid { grid-template-columns: minmax(0, 1fr); } }
.teaser-nums { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 16px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tn { display: flex; flex-direction: column; gap: 6px; }
.tn span { font-size: .92rem; color: var(--on-dark-muted); }
.tn b { font: 800 clamp(1.7rem, 3.2vw, 2.3rem)/1.05 var(--f-display); color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tn-bar { display: block; height: 10px; border-radius: 99px; background: rgba(207, 226, 239, .12); overflow: hidden; }
.tn-bar > i { display: block; height: 100%; border-radius: 99px; background: var(--on-dark-muted); }
.tn-bar--brand > i { background: var(--sky); }
.tn--win { border-top: 1px solid var(--panel-line); padding-top: 18px; }
.tn--win b { color: var(--sky); font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.tn-note { font-size: .88rem; color: var(--on-dark-muted); }

.stats .stat b { font-size: clamp(1.45rem, 2.1vw, 1.8rem); }
.stat--link { text-decoration: none; background: var(--brand) !important; transition: background .15s; }
.stat--link:hover { background: var(--ink) !important; }
.stat--link b { color: var(--white) !important; }
.stat--link span { color: var(--on-dark) !important; }
.stat--link em { font-style: normal; font: 700 .85rem var(--f-display); color: var(--sky); margin-top: 4px; }
@media (min-width: 881px) and (max-width: 1100px) { .stats .stat--link { grid-column: span 2; } .stats .stat:nth-child(4) { grid-column: span 1; } }

/* Light footer test: logo shown as-is, no backing box */
.site-footer { background: #E9EEF2; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--ink); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .footer-phone { color: var(--ink) !important; }
.footer-logo { background: none; padding: 0; border-radius: 0; }
.footer-logo img { height: 52px; }
.footer-bottom { border-top-color: #CFD8DF; }

/* Light split hero */
.hero--light { background: linear-gradient(180deg, #F5F8FA 0%, #EAF1F6 100%); color: var(--text); padding-block: clamp(40px, 6vw, 72px) clamp(104px, 11vw, 140px); }
.hero--light .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.hero--light h1 { color: var(--ink); font-size: clamp(2.2rem, 3.6vw, 3.25rem); }
.hero--light .eyebrow { color: var(--brand); }
.hero--light .hero-sub { color: var(--brand); }
.hero--light .lead { color: var(--muted); }
.hero--light .hero-note { color: var(--muted); }
.hero--light .hero-note a { color: var(--ink); }
.hero--light .hero-note a:hover { color: var(--brand); }
.hero--light .btn-ghost { color: var(--ink); border-color: var(--ink); }
.hero--light .btn-ghost:hover { background: var(--ink); color: var(--white); }
.hero--light .hero-visual { position: relative; padding: 0 0 36px 28px; }
.hero-photo {
  margin: 0; aspect-ratio: 5 / 4; max-width: 100%; overflow: hidden; background: var(--sky);
  clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; display: block; }
.hero-card {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 12px; padding: 12px 14px;
  display: flex; gap: 12px; align-items: center; box-shadow: 0 18px 40px rgba(23, 41, 58, .18); max-width: 280px;
}
.hero-card b { font: 800 1.02rem/1.2 var(--f-display); display: block; color: var(--ink); }
.hero-card span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.hero-card--seam { left: 0; bottom: 0; }
.hero-card--seam img { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; flex: none; }
.hero-card--cold { left: 0; top: 18%; max-width: 250px; }
@media (max-width: 880px) {
  .hero--light .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero--light .hero-visual { padding: 0 0 70px; }
  .hero-card--seam { left: 10px; bottom: 0; }
  .hero-card--cold { left: auto; right: 10px; top: 14%; bottom: auto; max-width: 240px; }
}
@media (max-width: 520px) {
  .hero-card--cold { display: none; }
  .hero-card { max-width: calc(100% - 20px); }
}
/* hero: single card on the photo's bottom edge */
.hero--light .hero-card--cold { left: 0; right: auto; top: auto; bottom: 0; max-width: 340px; }
.hero--light .hero-card--cold b { white-space: nowrap; }
@media (max-width: 880px) { .hero--light .hero-visual { padding: 0 0 40px; } .hero--light .hero-card--cold { left: 12px; bottom: 0; } }
@media (max-width: 520px) { .hero--light .hero-card--cold { display: flex; max-width: calc(100% - 24px); } }
/* hero: portrait photo of the installer */
.hero--light .hero-visual { display: flex; justify-content: flex-end; padding: 0 0 32px 0; }
.hero--light .hero-photo { width: min(100%, 440px); aspect-ratio: 4 / 5; }
.hero--light .hero-photo img { object-position: 50% 30%; }
.hero--light .hero-card--cold { left: auto; right: -16px; bottom: 0; }
@media (max-width: 1100px) { .hero--light .hero-card--cold { right: 0; } }
@media (max-width: 880px) {
  .hero--light .hero-visual { justify-content: center; padding-bottom: 40px; }
  .hero--light .hero-photo { width: min(100%, 460px); aspect-ratio: 4 / 4.6; }
  .hero--light .hero-card--cold { right: 12px; left: auto; }
}
.hero--light .hero-visual { padding-bottom: 64px; }
@media (max-width: 880px) { .hero--light .hero-visual { padding-bottom: 76px; } }
.hero--light h1 { text-wrap: balance; max-width: 15ch; }

/* Enke Werk certification */
.hero-trust { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.hero-trust img { width: 56px; height: 56px; flex: none; }
.hero-trust span { display: flex; flex-direction: column; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.hero-trust b { color: var(--ink); font-family: var(--f-display); font-size: .92rem; }
.svc-cert { display: flex; align-items: center; gap: 16px; max-width: 480px; }
.svc-cert img { width: 92px; height: auto; flex: none; }
.cert-strip {
  margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cert-badge { width: 84px; height: 84px; flex: none; }
.cert-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cert-text b { font: 800 1.08rem var(--f-display); color: var(--ink); }
.cert-text p { color: var(--muted); font-size: .96rem; }
.cert-eteam { width: 110px; height: auto; flex: none; }
@media (max-width: 600px) { .cert-eteam { display: none; } }
.foot-cert { display: inline-flex; align-items: center; gap: 10px; }
.foot-cert img { height: 24px; width: auto; }
.section-head--row > .svc-cert { flex-direction: row; align-items: center; gap: 16px; max-width: 480px; }

/* Partner logos */
.partner-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 28px; }
.partner-band-inner { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.logo-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 48px; flex: 1 1 auto; justify-content: space-between; }
.logo-row img { height: 40px; width: auto; max-width: 100%; }
.logo-row img[src*="sadex"] { height: 26px; }
.logo-row img[src*="sensor"] { height: 30px; }
.logo-row--cards { justify-content: flex-start; gap: 16px; }
.logo-row--cards img { box-sizing: content-box; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px 28px; height: 44px; }
.logo-row--cards img[src*="sadex"] { height: 30px; padding-block: 29px; }
.logo-row--cards img[src*="sensor"] { height: 34px; padding-block: 27px; }
@media (max-width: 600px) { .logo-row { justify-content: flex-start; gap: 20px 32px; } .logo-row img { height: 32px; } }
.cert-eteam { width: 120px; }
.product-cap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo-chip { background: var(--white); border-radius: 8px; padding: 8px 14px; line-height: 0; }
.logo-chip img { height: 24px; width: auto; }
.photo--img { background: var(--panel); border-color: var(--panel-line); }
.photo--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Home hero on brand navy, like every other page */
.hero--light { background: var(--ink); color: var(--on-dark); }
.hero--light h1 { color: var(--white); }
.hero--light .eyebrow, .hero--light .hero-sub { color: var(--sky); }
.hero--light .lead, .hero--light .hero-note { color: var(--on-dark-muted); }
.hero--light .hero-note a { color: var(--white); }
.hero--light .hero-note a:hover { color: var(--sky); }
.hero--light .btn-ghost { color: var(--white); border-color: var(--on-dark-muted); }
.hero--light .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero--light .hero-trust span { color: var(--on-dark-muted); }
.hero--light .hero-trust b { color: var(--white); }
.hero--light .hero-photo { background: var(--panel); }

/* Kattotiivistys: layers, gallery, certificates */
.layer-fig, .cert-fig { margin: 0; min-width: 0; }
.layer-fig img { width: 100%; height: auto; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.cert-fig img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.cert-fig .caption { display: block; margin-top: 10px; }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: l; }
.layers li { counter-increment: l; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.layers li::before { content: counter(l); grid-row: span 2; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--brand); color: var(--white); font: 800 .9rem var(--f-display); }
.layers b { font-family: var(--f-display); color: var(--ink); }
.layers span { color: var(--muted); font-size: .96rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gal-item { margin: 0; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gal-item figcaption { padding: 10px 12px; font-size: .88rem; font-weight: 600; color: var(--ink); }

/* Featured reference */
.feature-ref { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: clamp(32px, 5vw, 48px); }
@media (max-width: 880px) { .feature-ref { grid-template-columns: minmax(0, 1fr); } }
.feature-img { margin: 0; min-height: 280px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Animated Enkopur layer section */
.layer-anim { margin: 0; min-width: 0; }
.layer-anim svg { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.la-vap { transform-box: view-box; animation: la-rise 3.6s ease-in-out infinite; opacity: 0; }
@keyframes la-rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .95; }
  75% { opacity: .9; }
  100% { transform: translateY(-250px); opacity: 0; }
}
.la-drop { transform-box: view-box; animation: la-fall 4s ease-in infinite; opacity: 0; }
@keyframes la-fall {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  40% { transform: translateY(176px); opacity: 1; }
  43%, 100% { transform: translateY(176px); opacity: 0; }
}
.la-splash { transform-box: fill-box; transform-origin: center; animation: la-splash 4s ease-out infinite; opacity: 0; }
@keyframes la-splash {
  0%, 39% { opacity: 0; transform: scale(.3); }
  42% { opacity: .9; transform: scale(.6); }
  55%, 100% { opacity: 0; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .la-vap { animation: none; opacity: .9; transform: translateY(-120px); }
  .la-drop, .la-splash { animation: none; opacity: 0; }
}
.layers--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.layers--row li { border-top: 0; padding: 0; }
@media (max-width: 880px) { .layers--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .layers--row { grid-template-columns: minmax(0, 1fr); } }
.la-drop { animation-name: la-fall2; }
@keyframes la-fall2 {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  40% { transform: translateY(157px); opacity: 1; }
  43%, 100% { transform: translateY(157px); opacity: 0; }
}
@media (max-width: 700px) { .layer-anim { overflow-x: auto; } .layer-anim svg { min-width: 640px; } }
.logo-row img[src*="kattohoiva"] { height: 44px; }
.logo-row--cards img[src*="kattohoiva"] { height: 48px; padding-block: 20px; }
.merged-anim { margin-top: clamp(28px, 4vw, 44px); }
.merged-cards { margin-top: 24px; }
.gal-more { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* EMP can + colour swatches */
.emp-side { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); min-width: 0; }
@media (max-width: 520px) { .emp-side { grid-template-columns: minmax(0, 1fr); } .emp-can { max-width: 200px; margin-inline: auto; } }
.emp-can { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(23, 41, 58, .25)); }
.emp-colors { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.swatches li { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.sw { display: block; aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid rgba(23, 41, 58, .15); }
.feature-ref { box-shadow: 0 1px 2px rgba(23, 41, 58, .06), 0 12px 32px -8px rgba(23, 41, 58, .18); border-color: #D6DEE5; }
.report-row { align-items: flex-start; }
.report-row .pill { min-width: 104px; margin-top: 2px; }
.photo--square { aspect-ratio: 918 / 933; }
.photo--square img { object-position: center top; }

/* Storm map */
.storm .section-head { max-width: 820px; }
.storm-fig { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.storm-fig img { width: 100%; height: auto; display: block; }
.storm-pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; }
.sp-dot { position: relative; width: 16px; height: 16px; border-radius: 99px; background: var(--ok); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); flex: none; }
.storm-pin--alert .sp-dot { background: var(--alert-line); }
.storm-pin--alert .sp-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 99px; border: 3px solid var(--alert-line); animation: hs-ring 1.4s ease-out infinite; }
.sp-label { display: flex; flex-direction: column; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 8px; padding: 6px 10px; font-size: .8rem; line-height: 1.3; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.sp-label b { font-family: var(--f-display); font-size: .84rem; }
.storm-pin--alert .sp-label { border-left: 0; color: var(--ink); }
.storm-pin--alert .sp-label::first-line { color: var(--ink); }
.storm-pin:not(.storm-pin--alert) .sp-label { display: none; }
.storm-cap { position: absolute; left: 12px; bottom: 12px; background: rgba(15, 28, 39, .75); color: var(--on-dark); font-size: .8rem; padding: 4px 10px; border-radius: 6px; }
@media (max-width: 700px) { .sp-label { font-size: .72rem; padding: 4px 8px; } .sp-label b { font-size: .76rem; } }
@media (prefers-reduced-motion: reduce) { .storm-pin--alert .sp-dot::after { animation: none; } }
.storm-pin { transform: none; display: block; width: 0; height: 0; }
.storm-pin .sp-dot { position: absolute; left: -8px; top: -8px; }
.storm-pin .sp-label { position: absolute; left: 16px; top: 0; transform: translateY(-50%); }
.storm-list { display: none; list-style: none; margin: 12px 0 0; padding: 0; gap: 8px; }
.storm-list li { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--panel-line); border-radius: 10px; padding: 10px 12px; font-size: .9rem; color: var(--on-dark-muted); }
.storm-list li b { color: var(--white); font-family: var(--f-display); }
.storm-list li.is-alert { border-color: var(--alert-line); }
.storm-list li.is-alert b::before { content: "● "; color: var(--alert-text); }
@media (max-width: 700px) {
  .storm-pin .sp-label { display: none !important; }
  .storm-list { display: grid; }
}
.ref-tags span.tag-hl { background: var(--brand); color: var(--white); }
.report { color: var(--text); }
.report-row span:last-child { color: var(--text); }
.seg--wrap button { flex: 1 1 auto; }
.calc-check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); min-height: 44px; cursor: pointer; }
.calc-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.calc-break { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .86rem; color: var(--muted); }
.calc-break li { display: flex; justify-content: space-between; gap: 12px; }
.calc-break strong { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }

/* Report page-flip animation */
.ra{margin:0;width:80%;max-width:352px;justify-self:center;display:grid;gap:14px}
.ra-stage{position:relative;aspect-ratio:640/905;perspective:1600px}
.ra-page{position:absolute;inset:0;pointer-events:none;width:100%;height:100%;object-fit:cover;border-radius:6px;background:#fff;
  box-shadow:0 1px 2px rgba(23,41,58,.12),0 18px 40px -14px rgba(23,41,58,.35);
  transform-origin:left center;transition:transform .8s cubic-bezier(.4,.1,.2,1),opacity .8s ease;opacity:0;cursor:pointer}
.ra-page.is-0{pointer-events:auto;opacity:1;transform:none;z-index:5}
.ra-page.is-1{opacity:1;transform:translate(12px,10px) rotate(2deg) scale(.975);z-index:4}
.ra-page.is-2{opacity:1;transform:translate(22px,18px) rotate(4deg) scale(.95);z-index:3}
.ra-page.is-out{pointer-events:none;opacity:0;transform:rotateY(-78deg) translateX(-6%);z-index:6}
.ra-badge{position:absolute;z-index:7;left:50%;bottom:12%;transform:translateX(-50%);white-space:nowrap;
  background:rgba(23,41,58,.88);color:#fff;font:600 .78rem/1 var(--font-body,inherit);letter-spacing:.02em;padding:8px 12px;border-radius:999px}
.ra-cap{display:flex;align-items:baseline;gap:10px;font-weight:600;color:var(--ink)}
.ra-num{font-family:Montserrat,sans-serif;font-weight:800;color:var(--brand,#2A4F69);min-width:3.2em}
.ra-dots{display:flex;gap:6px;flex-wrap:wrap}
.ra-dot{width:22px;height:5px;border-radius:3px;border:0;padding:0;background:rgba(42,79,105,.22);cursor:pointer}
.ra-dot[aria-current="true"]{background:#2A4F69}
.ra--dark .ra-cap{color:#fff}.ra--dark .ra-num{color:#9fc3dc}
.ra--dark .ra-dot{background:rgba(255,255,255,.25)}.ra--dark .ra-dot[aria-current="true"]{background:#fff}
@media (prefers-reduced-motion:reduce){.ra-page{transition:none}}

/* Full-screen menu */
.nav{display:none!important}
.menu-toggle{display:inline-flex;width:auto;min-width:48px;height:48px;padding:0 14px;gap:10px;border:1.5px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);font:800 .8rem/1 var(--f-display);letter-spacing:.14em}
.menu-toggle:hover{border-color:var(--brand);color:var(--brand)}
.burger{display:grid;gap:5px;width:22px}
.burger i{display:block;height:2px;border-radius:2px;background:currentColor;transition:transform .2s}
.burger i:nth-child(2){width:70%;justify-self:end}
.menu-toggle:hover .burger i:nth-child(2){width:100%}
@media (max-width:640px){.menu-toggle .menu-word{display:none}.menu-toggle{padding:0;width:48px;justify-content:center}}
.menu-ov{position:fixed;inset:0;z-index:200;background:#17293A;color:#fff;overflow-y:auto;overscroll-behavior:contain;
  background-image:radial-gradient(1200px 600px at 100% 0,rgba(42,79,105,.55),transparent 60%);
  animation:mfade .25s ease both}
.menu-ov[hidden]{display:none!important}
@keyframes mfade{from{opacity:0}to{opacity:1}}
@keyframes mrise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.menu-in{padding-block:max(18px,env(safe-area-inset-top)) 40px;display:grid;gap:14px}
.menu-top{display:flex;justify-content:space-between;align-items:center;min-height:58px;margin-bottom:6px}
.menu-home{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font:700 1rem/1 var(--f-display)}
.menu-home svg,.menu-close svg{width:22px;height:22px}
.menu-close{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 14px;border:1.5px solid rgba(255,255,255,.25);border-radius:8px;background:none;color:#fff;cursor:pointer;font:800 .8rem/1 var(--f-display);letter-spacing:.14em}
.menu-close:hover{border-color:#fff}
.menu-label{font:800 .72rem/1 var(--f-display);letter-spacing:.16em;text-transform:uppercase;color:#9fc3dc;margin-top:8px}
.mgrid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.mbox{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:12px;text-decoration:none;color:#fff;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);transition:background .2s,border-color .2s,transform .2s;
  animation:mrise .4s cubic-bezier(.2,.7,.2,1) both}
.mgrid--svc .mbox{min-height:96px}
.mbox:hover,.mbox:focus-visible{background:rgba(255,255,255,.1);border-color:rgba(159,195,220,.55);transform:translateY(-2px)}
.mbox[aria-current="page"]{background:#2A4F69;border-color:#2A4F69}
.mbox-ic{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:rgba(159,195,220,.14);color:#cfe3f1}
.mbox-ic svg{width:24px;height:24px}
.mbox-t{display:grid;gap:4px;font:700 1.02rem/1.25 var(--f-display);flex:1}
.mbox-t small{font:500 .84rem/1.3 var(--f-body);color:rgba(255,255,255,.62)}
.mbox-go{flex:none;opacity:.4;transition:opacity .2s,transform .2s}.mbox-go svg{width:18px;height:18px}
.mbox:hover .mbox-go{opacity:1;transform:translateX(3px)}
.mgrid .mbox:nth-child(2){animation-delay:.03s}.mgrid .mbox:nth-child(3){animation-delay:.06s}.mgrid .mbox:nth-child(4){animation-delay:.09s}
.mgrid .mbox:nth-child(5){animation-delay:.12s}.mgrid .mbox:nth-child(6){animation-delay:.15s}
.mgrid--other .mbox{animation-delay:.18s!important}
.menu-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:14px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}
.menu-mail{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;text-decoration:none}.menu-mail svg{width:18px;height:18px}
.menu-note{color:rgba(255,255,255,.6);font-size:.9rem}
@media (min-width:1000px){.mgrid--svc{grid-template-columns:repeat(3,1fr)}.mgrid--other{grid-template-columns:repeat(4,1fr)}}
@media (max-width:640px){.menu-close .menu-word{display:none}.mgrid--svc .mbox{min-height:0}.mbox{padding:13px 14px}}
@media (prefers-reduced-motion:reduce){.menu-ov,.mbox{animation:none}}
body.menu-open{overflow:hidden}
.menu-ov a.mbox:hover,.menu-ov a.mbox:focus-visible,.menu-ov a.menu-home:hover,.menu-ov a.menu-mail:hover{color:#fff}
.mgrid--other{margin-top:4px}
.form-error{grid-column:1/-1;background:#fdf1ef;border:1px solid #f0c9c2;border-radius:10px;padding:16px 18px;color:#5a1d14}
.form-error strong{display:block;font-family:var(--f-display)}
.form-error a{color:inherit;font-weight:600}
.form{position:relative}

/* Privacy policy popup */
.pv-modal{z-index:300}
.pv-card{position:relative;width:min(760px,100%);max-height:min(88vh,900px);display:flex;flex-direction:column;background:var(--white);color:var(--text);border-radius:14px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.pv-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#17293A;color:#fff}
.pv-head h2{margin:0;font-size:1.3rem;color:#fff}
.pv-close{position:static!important;flex:none}
.pv-body{overflow-y:auto;overscroll-behavior:contain;padding:8px 26px 30px;line-height:1.6}
.pv-body h3{font-size:1.02rem;margin:22px 0 6px;color:var(--ink)}
.pv-body p{margin:0 0 8px}.pv-body ul{margin:0 0 10px;padding-left:1.2em}.pv-body li{margin:2px 0}
.pv-body a{color:var(--brand);font-weight:600}
.pv-date{color:var(--muted);font-size:.9rem;margin-top:12px!important}
.footer-bottom a{color:inherit}
.menu-pv{color:rgba(255,255,255,.6);font-size:.9rem}
@media (max-width:640px){.pv-modal{padding:0!important}.pv-card{max-height:100%;height:100%;border-radius:0}}
.pv-body h4{font-size:.95rem;margin:14px 0 4px;color:var(--ink)}

/* Scroll to top */
.to-top{position:fixed;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:45;
  width:50px;height:50px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;
  background:#2A4F69;color:#fff;box-shadow:0 10px 26px -6px rgba(23,41,58,.45);
  opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity .25s,transform .25s,background .2s}
.to-top.is-on{opacity:1;transform:none;pointer-events:auto}
.to-top:hover{background:#17293A}
.to-top:focus-visible{outline:3px solid #9fc3dc;outline-offset:3px}
.to-top svg{width:22px;height:22px}
@media (max-width:720px){.to-top{width:44px;height:44px;right:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
body.menu-open .to-top{display:none}

/* FAQ popup */
.faq-card{width:min(860px,100%)}
.faq-tools{padding:14px 22px 12px;border-bottom:1px solid var(--line);display:grid;gap:10px;background:var(--white)}
.faq-search{width:100%;height:44px;padding:0 14px;border:1.5px solid var(--line);border-radius:8px;font:inherit;color:var(--ink);background:var(--mist)}
.faq-search:focus{outline:none;border-color:#2A4F69;background:#fff}
.faq-nav{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.faq-nav::-webkit-scrollbar{display:none}
.faq-nav a{flex:none;font-size:.82rem;font-weight:600;color:#2A4F69;text-decoration:none;padding:6px 11px;border-radius:999px;background:var(--mist);border:1px solid var(--line);white-space:nowrap}
.faq-nav a:hover{background:#2A4F69;color:#fff;border-color:#2A4F69}
.faq-body{position:relative}
.faq-grp{padding-top:6px}
.faq-grp h3{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:1.05rem}
.faq-grp h3 a{font:600 .82rem var(--f-body);color:#2A4F69;text-decoration:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.faq-grp h3 a svg{width:14px;height:14px}
.faq-body .faq details{margin:0}
.faq-none{color:var(--muted);padding:20px 0}

/* Manufacturer / importer cards */
.section--tight{padding-block:clamp(40px,6vw,72px)}
.makers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.maker{display:flex;align-items:center;gap:22px;padding:22px 24px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px -18px rgba(23,41,58,.25)}
.maker-logo{flex:none;width:150px;height:72px;display:grid;place-items:center}
.maker-logo img{max-width:100%;max-height:60px;width:auto;height:auto;object-fit:contain}
.maker-logo img[src*="sensor"]{max-height:34px}
.maker p{margin:6px 0 0;color:var(--text);line-height:1.5}
@media (max-width:520px){.maker{flex-direction:column;align-items:flex-start;gap:12px}.maker-logo{width:auto;height:56px;justify-items:start}}
@media (max-width:520px){.maker-logo{height:48px}.maker-logo img{max-height:44px;max-width:170px}.maker-logo img[src*="sensor"]{max-height:26px}}

/* Topbar and mobile call bar removed */
@media (max-width:720px){.site-footer{padding-bottom:40px}.to-top{bottom:calc(20px + env(safe-area-inset-bottom,0px))}}
.hero.hero--light{padding-bottom:clamp(48px,7vw,88px)}
@media (max-width:720px){.hero--light .hero-photo img{height:300px;width:100%;object-fit:cover;object-position:50% 25%}}
@media (max-width:720px){.hero--light .hero-photo{aspect-ratio:auto;height:300px;width:100%}.hero--light .hero-photo img{height:100%}}
@media (max-width:720px){.hero.hero--light{padding-bottom:44px!important}}
.hero--light .hero-visual{padding-bottom:0!important}
.hero--light .hero-visual .share3{width:min(100%,480px);margin-left:auto;box-shadow:0 30px 60px -24px rgba(0,0,0,.55)}
@media (max-width:900px){.hero--light .hero-visual .share3{margin:0;width:100%}}

/* Service buttons (home) */
.svc-btns{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.svc-btns--small{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sbtn{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:12px;padding:18px 20px;transition:border-color .2s,transform .2s,box-shadow .2s}
.sbtn:hover{border-color:#2A4F69;transform:translateY(-2px);box-shadow:0 14px 30px -18px rgba(23,41,58,.4);color:var(--ink)}
.sbtn--big{background:#17293A;border-color:#17293A;color:#fff;padding:22px 24px;min-height:92px}
.sbtn--big:hover{background:#2A4F69;border-color:#2A4F69;color:#fff}
.sbtn-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--mist);color:#2A4F69}
.sbtn--big .sbtn-ic{background:rgba(159,195,220,.16);color:#cfe3f1;width:48px;height:48px}
.sbtn-ic svg{width:22px;height:22px}
.sbtn-t{flex:1;display:grid;gap:3px;font:700 1rem/1.25 var(--f-display)}
.sbtn--big .sbtn-t{font-size:1.15rem}
.sbtn-t small{font:500 .82rem/1.3 var(--f-body);color:var(--muted)}
.sbtn--big .sbtn-t small{color:rgba(255,255,255,.62)}
.sbtn-go{flex:none;opacity:.45;transition:transform .2s,opacity .2s}.sbtn-go svg{width:18px;height:18px}
.sbtn:hover .sbtn-go{opacity:1;transform:translateX(3px)}
.sbtn--small{padding:14px 16px}.sbtn--small .sbtn-ic{width:38px;height:38px}.sbtn--small .sbtn-ic svg{width:20px;height:20px}
.svc-more-label{margin:26px 0 10px;font:800 .72rem/1 var(--f-display);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
@media (max-width:1000px){.svc-btns--small{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.svc-btns{grid-template-columns:1fr}.sbtn--big{min-height:0;padding:18px 18px}}
@media (max-width:420px){.svc-btns--small{grid-template-columns:1fr}}
@media (min-width:761px){.sbtn--small .sbtn-go{display:none}.sbtn--small .sbtn-t{font-size:.97rem}}
.svc-btns--small{margin-top:12px}
section:has(> .wrap > .svc-btns){padding-bottom:clamp(150px,17vw,240px)}
@media (max-width:720px){section:has(> .wrap > .svc-btns){padding-top:88px}}
@media (max-width:720px){.hero.hero--light{padding-bottom:96px!important}}
@media (max-width:720px){.hero--light .hero-copy .btn-row{display:inline-grid;grid-template-columns:1fr;gap:12px}.hero--light .hero-copy .btn-row .btn{width:100%;justify-content:center}}
@media (max-width:720px){.hero--light .hero-copy .btn-row{width:max-content;max-width:100%}}

/* Why section (home) */
.why-head{max-width:760px;display:grid;gap:14px;margin-bottom:clamp(28px,4vw,44px)}
.why-head h2{margin:0}
.why-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.why-item{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:clamp(20px,2.4vw,28px);display:grid;gap:10px;align-content:start}
.why-item h3{margin:6px 0 0;font-size:1.12rem}
.why-item p{margin:0;color:var(--text);line-height:1.55}
@media (max-width:860px){.why-grid{grid-template-columns:1fr;gap:12px}.why-item{grid-template-columns:auto 1fr;column-gap:14px;align-items:start}.why-item .icon-tile{grid-row:span 2}.why-item h3{margin:0}}
.section.teaser{padding-bottom:clamp(110px,12vw,170px)}
.section.why{padding-top:clamp(110px,12vw,170px)}
.partner-band{background:#E1E8EE;border-color:#D3DCE4;padding-block:clamp(56px,7vw,88px)}
.partner-band .logo-row{gap:14px;justify-content:flex-start}
.partner-band .logo-row img{box-sizing:content-box;background:#fff;border-radius:12px;padding:18px 24px;height:36px;box-shadow:0 8px 20px -14px rgba(23,41,58,.35)}
.partner-band .logo-row img[src*="sadex"]{height:24px;padding-block:24px}
.partner-band .logo-row img[src*="sensor"]{height:26px;padding-block:23px}
.partner-band .logo-row img[src*="kattohoiva"]{height:40px;padding-block:16px}
@media (min-width:1100px){.partner-band .logo-row{flex-wrap:nowrap;justify-content:space-between}}
@media (max-width:600px){.partner-band .logo-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.partner-band .logo-row img{width:calc(100% - 32px);height:30px;padding:16px;object-fit:contain}.partner-band .logo-row img[src*="sadex"],.partner-band .logo-row img[src*="sensor"]{height:22px;padding-block:20px}.partner-band .logo-row img[src*="kattohoiva"]{height:34px;padding-block:14px}}

/* Partner band v3: light, stronger rules, bigger linked logos */
.partner-band{background:var(--white);border-top:2px solid #C9D4DE;border-bottom:2px solid #C9D4DE;padding-block:clamp(48px,6vw,72px)}
.partner-band .logo-row{gap:28px 44px;justify-content:space-between}
.partner-band .logo-row img{background:none;box-shadow:none;padding:0;border-radius:0;height:52px}
.partner-band .logo-row img[src*="sadex"]{height:34px;padding:0}
.partner-band .logo-row img[src*="sensor"]{height:38px;padding:0}
.partner-band .logo-row img[src*="kattohoiva"]{height:60px;padding:0}
.plogo{display:inline-flex;align-items:center;line-height:0;transition:opacity .2s,transform .2s}
.plogo:hover{opacity:.75;transform:translateY(-2px)}
.plogo:focus-visible{outline:3px solid #2A4F69;outline-offset:6px;border-radius:6px}
a.maker-logo{text-decoration:none}
@media (max-width:600px){.partner-band .logo-row{display:grid;grid-template-columns:1fr 1fr;gap:28px 20px;align-items:center}.partner-band .logo-row img{width:auto;max-width:100%;height:40px;padding:0}.partner-band .logo-row img[src*="sadex"]{height:28px;padding:0}.partner-band .logo-row img[src*="sensor"]{height:28px;padding:0}.partner-band .logo-row img[src*="kattohoiva"]{height:48px;padding:0}}
[data-page="etusivu"] .section:has(+ .cta-band){padding-bottom:clamp(120px,13vw,180px)}
@media (max-width:720px){
  [data-page="etusivu"] .section:has(+ .cta-band){padding-top:88px;padding-bottom:150px}
  [data-page="etusivu"] .cta-band{padding-bottom:110px}
}
.site-footer{border-top:2px solid #B9C6D2}

/* Info hotspot on 3 % card */
.share3{position:relative}
.info-btn{position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;background:#2A4F69;color:#fff;box-shadow:0 0 0 0 rgba(42,79,105,.5);animation:infoPulse 2.4s ease-out infinite;z-index:2}
.info-btn svg{width:22px;height:22px}
.info-btn:hover,.info-btn.is-open{background:#17293A;animation:none}
.info-btn:focus-visible{outline:3px solid #9fc3dc;outline-offset:3px}
@keyframes infoPulse{0%{box-shadow:0 0 0 0 rgba(42,79,105,.45)}70%{box-shadow:0 0 0 12px rgba(42,79,105,0)}100%{box-shadow:0 0 0 0 rgba(42,79,105,0)}}
.info-pop{position:absolute;top:64px;right:16px;left:16px;max-width:360px;margin-left:auto;z-index:3;background:#17293A;color:#fff;border-radius:12px;padding:20px 44px 20px 20px;box-shadow:0 20px 40px -12px rgba(0,0,0,.45)}
.info-pop[hidden]{display:none}
.info-pop::before{content:"";position:absolute;top:-7px;right:13px;width:14px;height:14px;background:#17293A;transform:rotate(45deg);border-radius:2px}
.info-pop p{margin:0;font:600 1rem/1.5 var(--f-body)}
.info-close{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:8px;background:none;color:rgba(255,255,255,.7);cursor:pointer;display:grid;place-items:center}
.info-close:hover{color:#fff;background:rgba(255,255,255,.08)}
.info-close svg{width:18px;height:18px}
@media (prefers-reduced-motion:reduce){.info-btn{animation:none}}
/* Info hotspot v2: clearer */
.info-btn{width:48px;height:48px;background:#E07A10;top:14px;right:14px;animation:infoPulse2 1.8s ease-out infinite}
.info-btn svg{width:26px;height:26px}
.info-btn:hover,.info-btn.is-open{background:#B85F06}
@keyframes infoPulse2{0%{box-shadow:0 0 0 0 rgba(224,122,16,.55)}70%{box-shadow:0 0 0 16px rgba(224,122,16,0)}100%{box-shadow:0 0 0 0 rgba(224,122,16,0)}}
.info-pop{top:72px}
.info-pop::before{right:16px}
.info-hand{position:absolute;top:40px;right:40px;width:38px;height:38px;z-index:3;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.25));animation:handTap 1.8s ease-in-out infinite;transform-origin:30% 10%}
.info-hand svg{width:100%;height:100%}
.info-hand.is-done{display:none}
@keyframes handTap{0%,100%{transform:translate(6px,8px) rotate(-18deg)}45%{transform:translate(0,0) rotate(-18deg) scale(.92)}55%{transform:translate(0,0) rotate(-18deg) scale(.92)}}
@media (prefers-reduced-motion:reduce){.info-btn,.info-hand{animation:none}}
/* Info hotspot v3 */
.info-hand{top:34px;right:11px;width:40px;height:40px;transform-origin:30% 10%;animation:handTap3 1.8s ease-in-out infinite;filter:drop-shadow(0 3px 4px rgba(0,0,0,.28))}
@keyframes handTap3{0%,100%{transform:translate(9px,13px)}45%,58%{transform:translate(0,0) scale(.94)}}
.info-pop{top:74px;right:12px;left:12px;max-width:380px;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:14px;padding:20px 22px 22px;box-shadow:0 24px 48px -16px rgba(23,41,58,.4)}
.info-pop::before{background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);right:20px}
.info-t{font:800 .72rem/1 var(--f-display);letter-spacing:.16em;text-transform:uppercase;color:#2A4F69;margin:2px 36px 12px 0}
.info-pop p{font:400 .98rem/1.6 var(--f-body);color:var(--text);margin:0 0 10px}
.info-pop p:last-child{margin-bottom:0}
.info-close{color:var(--muted)}
.info-close:hover{color:var(--ink);background:var(--mist)}
/* Menu v2: ordered list, main three highlighted */
.menu-in{gap:12px}
.mgrid--svc{margin-top:4px}
.mbox--main{background:#2A4F69;border-color:#2A4F69}
.mbox--main .mbox-ic{background:rgba(255,255,255,.14);color:#fff}
.mbox--main:hover,.mbox--main:focus-visible{background:#33607F;border-color:#9fc3dc}
.mbox--main[aria-current="page"]{background:#33607F;border-color:#cfe3f1;box-shadow:inset 0 0 0 1px #cfe3f1}
@media (min-width:1000px){.mgrid--other{grid-template-columns:repeat(4,1fr)}}
@media (min-width:1000px){.mgrid--other .mbox-go{display:none}.mgrid--other .mbox{padding:16px}.mgrid--other .mbox-t{font-size:.98rem}}
@media (max-width:640px){
  .mgrid--svc{gap:10px}
  .mgrid--svc .mbox{padding:18px 16px;min-height:78px}
  .mgrid--svc .mbox-t{font-size:1.1rem}
  .mgrid--svc .mbox-ic{width:48px;height:48px}
  .mgrid--other{margin-top:14px;gap:8px}
  .mgrid--other .mbox{padding:10px 14px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.08)}
  .mgrid--other .mbox-ic{width:36px;height:36px;border-radius:8px}
  .mgrid--other .mbox-ic svg{width:19px;height:19px}
  .mgrid--other .mbox-t{font-size:.95rem;gap:2px}
  .mgrid--other .mbox-t small{font-size:.78rem}
}

/* Contact popup */
.ct-card{width:min(720px,100%)}
.ct-body{padding-top:18px}
.ct-lead{margin:0 0 16px;color:var(--muted)}
.ct-lead a{color:var(--brand);font-weight:700}
.ct-body .form{box-shadow:none;border:0;padding:0;background:none}
main .section:has(+ .cta-band){padding-bottom:clamp(120px,13vw,180px)}

/* Layer animation + numbered list side by side */
.anim-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:center;margin-top:clamp(24px,3vw,36px)}
.anim-split .merged-anim{margin:0}
.anim-split .layers li:first-child{border-top:0}
@media (max-width:860px){.anim-split{grid-template-columns:1fr}}
.how-intro{max-width:780px}
/* Facts: four boxes = 4 columns, 2 x 2 on mobile */
.facts:has(> .fact:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.facts:has(> .fact:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.facts .fact{padding:16px 14px}.facts .fact b{font-size:1.25rem}.facts .fact span{font-size:.84rem}}
.anim-split>*{min-width:0}.anim-split .layer-anim svg{width:100%;max-width:100%;min-width:0}

/* Page hero buttons: equal width on mobile (all pages) */
@media (max-width:720px){.page-hero .btn-row{display:inline-grid;grid-template-columns:1fr;gap:12px;width:max-content;max-width:100%}.page-hero .btn-row .btn{width:100%;justify-content:center}}

/* Kattotiivistykset: spacing and card emphasis */
[data-slug="kattotiivistys"] .after-pull{padding-top:clamp(96px,11vw,150px)}
[data-slug="kattotiivistys"] .merged-cards .card{box-shadow:0 18px 40px -18px rgba(23,41,58,.35);border-color:#D3DCE4}
[data-slug="kattotiivistys"] .section--mist:has(.feature-ref){padding-top:clamp(96px,11vw,150px);padding-bottom:clamp(110px,12vw,170px)}
[data-slug="kattotiivistys"] .feature-ref + .section-head,[data-slug="kattotiivistys"] .section--mist:has(.feature-ref) .section-head{margin-top:clamp(72px,9vw,120px)}
[data-slug="kattotiivistys"] .section--ink.gable:not(.cta-band){padding-bottom:clamp(110px,12vw,170px)}
[data-slug="kattotiivistys"] .section--mist:has(.urgent){padding-block:clamp(96px,11vw,150px)}
[data-slug="kattotiivistys"] .section:has(.faq){padding-top:clamp(96px,11vw,150px)}
@media (max-width:720px){[data-slug="kattotiivistys"] .after-pull{padding-bottom:110px}}
.eteam-logo{width:170px;height:auto;margin-top:8px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}

/* CTA band: call button as wide as the phone number */
.cta-side--call{display:inline-grid;grid-template-columns:1fr;width:max-content;max-width:100%;justify-items:stretch}
.cta-side--call .btn{width:100%;justify-content:center}

/* Emergency call button (talvitiivistys hero) */
.sos-wrap{display:grid;gap:12px;justify-items:start}
.sos-btn{position:relative;display:inline-flex;align-items:center;gap:16px;padding:14px 26px 14px 14px;border-radius:999px;background:#D7261E;color:#fff;text-decoration:none;box-shadow:0 14px 34px -12px rgba(215,38,30,.75);animation:sosPulse 1.6s ease-out infinite;transition:background .2s,transform .2s}
.sos-btn:hover{background:#B91C15;color:#fff;transform:translateY(-1px)}
.sos-btn:focus-visible{outline:3px solid #fff;outline-offset:4px}
.sos-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;color:#D7261E;flex:none}
.sos-ic svg{width:26px;height:26px;animation:sosRing 1.6s ease-in-out infinite;transform-origin:50% 50%}
.sos-t{display:grid;gap:2px;font:800 clamp(1.5rem,3.2vw,1.9rem)/1.05 var(--f-display);letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.sos-t small{font:700 .74rem/1.2 var(--f-display);letter-spacing:.12em;text-transform:uppercase;opacity:.92}
.sos-area{display:inline-flex;align-items:center;gap:8px;color:rgba(255,255,255,.78);font-weight:600;font-size:.95rem;padding-left:6px}
.sos-area svg{width:18px;height:18px}
@keyframes sosPulse{0%{box-shadow:0 0 0 0 rgba(215,38,30,.55),0 14px 34px -12px rgba(215,38,30,.75)}70%{box-shadow:0 0 0 16px rgba(215,38,30,0),0 14px 34px -12px rgba(215,38,30,.75)}100%{box-shadow:0 0 0 0 rgba(215,38,30,0),0 14px 34px -12px rgba(215,38,30,.75)}}
@keyframes sosRing{0%,60%,100%{transform:rotate(0)}10%,30%,50%{transform:rotate(-14deg)}20%,40%{transform:rotate(14deg)}}
@media (prefers-reduced-motion:reduce){.sos-btn,.sos-ic svg{animation:none}}
@media (max-width:420px){.sos-btn{padding-right:20px;gap:12px}.sos-ic{width:46px;height:46px}}
.sos-wrap{gap:20px}
.first-aid{max-width:780px;display:grid;gap:16px;justify-items:start}
.first-aid h2{margin:0}
.first-aid .lead{margin:0}
[data-slug="talvitiivistys"] .after-pull{padding-top:clamp(96px,11vw,150px)}
@media (max-width:720px){[data-slug="talvitiivistys"] .after-pull{padding-bottom:96px}[data-slug="talvitiivistys"] .after-pull + .section--mist{padding-top:96px}}
@media (max-width:720px){[data-slug="talvitiivistys"] .after-pull + .section--mist{padding-bottom:96px}[data-slug="talvitiivistys"] .section--tight{padding-top:96px;padding-bottom:150px!important}[data-slug="talvitiivistys"] .cta-band .cta-copy{padding-top:24px}}
[data-slug="tarkastukset"] .ra{max-width:246px;width:56%}@media (max-width:860px){[data-slug="tarkastukset"] .ra{width:70%}}
[data-slug="tarkastukset"] .ra-badge{font-size:.64rem;padding:6px 10px;white-space:normal;text-align:center;width:max-content;max-width:90%;line-height:1.3}

/* Lifecycle section with roof detective */
.lifecycle .crazy{font:800 clamp(1.15rem,2vw,1.35rem)/1.35 var(--f-display);color:#2A4F69;border-left:4px solid #E07A10;padding:4px 0 4px 16px;margin:0}
.lifecycle .faq{margin-top:8px}
.det{position:relative;max-width:440px;justify-self:center;width:100%}
.det>svg{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 24px 50px -24px rgba(23,41,58,.4)}
.det-btn{top:auto;bottom:118px;right:auto;left:62%}
.det-bubble{position:absolute;left:4%;right:4%;top:6%;background:#fff;color:var(--text);border:1px solid var(--line);border-radius:16px;padding:18px 42px 18px 18px;box-shadow:0 24px 48px -16px rgba(23,41,58,.45);z-index:3}
.det-bubble[hidden]{display:none}
.det-bubble::after{content:"";position:absolute;bottom:-12px;left:38%;width:22px;height:22px;background:#fff;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
.det-bubble p{margin:0;font:400 1rem/1.55 var(--f-body)}
.det-bubble b{display:block;font-family:var(--f-display);color:#2A4F69;margin-bottom:4px}
.det-cap{margin-top:10px;text-align:center;font-size:.85rem;color:var(--muted)}
.det-btn{top:14%;bottom:auto;left:auto;right:14%}
.one-visit{display:flex;flex-wrap:wrap;gap:8px}
.one-visit span{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:#2A4F69;color:#fff;font:700 .9rem/1 var(--f-display)}
.one-visit svg{width:17px;height:17px}
.lifecycle .crazy{font:500 1rem/1.55 var(--f-body);color:var(--text);background:var(--mist);border-left:4px solid #E07A10;border-radius:0 10px 10px 0;padding:14px 18px}
.lifecycle .crazy small{display:block;font:800 .7rem/1 var(--f-display);letter-spacing:.14em;text-transform:uppercase;color:#B85F06;margin-bottom:6px}
.lifecycle-faq{padding-top:clamp(0px,4vw,60px)}
.lifecycle .crazy small{font-size:.78rem;letter-spacing:.06em;text-transform:none;font-weight:800}
.lifecycle .crazy p{margin:0}
.lifecycle .crazy .tip{margin-top:10px;padding-top:10px;border-top:1px dashed #C9D4DE}
.lifecycle .crazy .tip b{color:#2A4F69;font-family:var(--f-display)}

/* Savings roadmap (mobile-friendly) */
.rmp{max-width:860px;display:grid;gap:0}
.rmp-card{border-radius:16px;padding:clamp(20px,3vw,30px);display:grid;gap:10px}
.rmp-card h3{margin:0;font-size:clamp(1.2rem,2.2vw,1.45rem)}
.rmp-card p{margin:0}
.rmp-card--start{background:#fff;border:1px solid var(--line);box-shadow:0 18px 40px -22px rgba(23,41,58,.35)}
.rmp-card--end{background:#17293A;color:#fff}
.rmp-card--end h3{color:#fff}
.rmp-card--end p{color:rgba(255,255,255,.8)}
.rmp-kicker{display:flex;align-items:center;gap:10px;font:800 .72rem/1 var(--f-display);letter-spacing:.14em;text-transform:uppercase;color:#2A4F69}
.rmp-card--end .rmp-kicker{color:#9fc3dc}
.rmp-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#2A4F69;color:#fff;letter-spacing:.04em}
.rmp-card--end .rmp-badge{background:#E07A10}
.rmp-big{display:grid;gap:2px;margin:4px 0}
.rmp-big b{font:800 clamp(2rem,5vw,2.8rem)/1 var(--f-display);letter-spacing:-.02em;color:var(--ink)}
.rmp-card--end .rmp-big b{color:#fff}
.rmp-big span{font-size:.92rem;color:var(--muted)}
.rmp-card--end .rmp-big span{color:rgba(255,255,255,.7)}
.rmp-calc{font-size:.85rem;opacity:.75}
.rmp-mid{position:relative;margin:0 0 0 22px;padding:22px 0 22px 26px;border-left:3px dashed #9fb3c3}
.rmp-mid-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 12px}
.rmp-mid-head span{font:800 .78rem/1 var(--f-display);letter-spacing:.12em;text-transform:uppercase;color:#2A4F69}
.rmp-mid-head small{color:var(--muted);font-size:.85rem}
.rmp-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rmp-item details{background:#fff;border:1px solid var(--line);border-radius:12px;position:relative}
.rmp-item summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer}
.rmp-item summary::-webkit-details-marker{display:none}
.rmp-dot{position:absolute;left:-36px;top:22px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid #2A4F69}
.rmp-item details[open] .rmp-dot{background:#2A4F69}
.rmp-year{flex:none;min-width:64px;font:800 .9rem/1.2 var(--f-display);color:#2A4F69}
.rmp-title{flex:1;display:grid;gap:2px;font:700 .98rem/1.3 var(--f-display);color:var(--ink)}
.rmp-title small{font:700 .7rem/1 var(--f-display);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.rmp-val{flex:none;font:800 .95rem/1 var(--f-display);font-style:normal;color:#2A4F69;white-space:nowrap}
.rmp-plus{flex:none;width:22px;height:22px;position:relative}
.rmp-plus::before,.rmp-plus::after{content:"";position:absolute;left:4px;right:4px;top:10px;height:2px;background:#2A4F69;border-radius:2px;transition:transform .2s}
.rmp-plus::after{transform:rotate(90deg)}
.rmp-item details[open] .rmp-plus::after{transform:rotate(0)}
.rmp-body{padding:0 16px 16px;display:grid;gap:12px}
.rmp-body p{margin:0;color:var(--text);line-height:1.6}
.rmp-stat{display:grid;gap:2px;background:var(--mist);border-radius:10px;padding:12px 14px}
.rmp-stat span{font-size:.8rem;color:var(--muted)}
.rmp-stat b{font:800 1.3rem/1.1 var(--f-display);color:var(--ink)}
.rmp-stat small{font-size:.8rem;color:var(--muted)}
@media (max-width:560px){.rmp-mid{margin-left:12px;padding-left:20px}.rmp-dot{left:-30px}.rmp-year{min-width:0;font-size:.82rem}.rmp-item summary{flex-wrap:wrap;gap:6px 10px;padding:12px 14px}.rmp-title{flex-basis:100%;order:3}.rmp-val{margin-left:auto}.rmp-plus{order:2}}
.rmp-val{display:grid;justify-items:end;gap:2px}.rmp-val small{font:600 .66rem/1 var(--f-body);color:var(--muted);letter-spacing:.04em}
/* Roadmap head with still 3D illustration */
.rmp-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;margin-bottom:clamp(28px,4vw,44px)}
.rmp-head .section-head{margin:0}
.rmp-fig{margin:0;display:grid;gap:8px}
.rmp-fig figcaption{font-size:.85rem;color:var(--muted);text-align:center}
.stage--still{aspect-ratio:4/3;min-height:0;border-radius:16px;overflow:hidden;box-shadow:0 22px 50px -24px rgba(23,41,58,.4)}
.stage--still .hotspot,.stage--still .stage-hud,.stage--still .hs-pop,.stage--still .hs-path,.stage--still .stage-hint{display:none!important}
@media (max-width:900px){.rmp-head{grid-template-columns:1fr}.stage--still{aspect-ratio:4/3}}
@media (max-width:720px){
  [data-slug="tarkastukset"] .saasto-rm{padding-top:110px}
  [data-slug="tarkastukset"] .saasto-rm + .section{padding-bottom:96px}
  [data-slug="tarkastukset"] .saasto-rm + .section + .section--mist{padding-top:96px;padding-bottom:110px}
  [data-slug="tarkastukset"] .lifecycle{padding-top:110px}
}
@media (max-width:720px){[data-slug="tarkastukset"] .saasto-rm + .section + .section--mist{padding-top:150px}}
@media (max-width:720px){
  [data-slug="tarkastukset"] main > section:nth-of-type(3){padding-bottom:96px}
  [data-slug="tarkastukset"] .section--mist:has([data-report]){padding-top:150px;padding-bottom:110px}
}
.quote-sec{padding-top:clamp(72px,9vw,110px);padding-bottom:0}
.quote-sec .quote{max-width:820px;margin:0 auto!important}
.quote-sec + .saasto-rm{padding-top:clamp(72px,9vw,110px)}
@media (max-width:720px){[data-slug="tarkastukset"] .quote-sec + .saasto-rm{padding-top:88px}}
[data-slug="bitumikasittely"] .after-pull{padding-top:clamp(96px,11vw,150px)}
@media (max-width:720px){[data-slug="bitumikasittely"] .section:has([data-gallery]) .section-head{margin-top:56px}[data-slug="bitumikasittely"] .section:has([data-gallery]){padding-top:96px}}
@media (max-width:900px){[data-slug="bitumikasittely"] .after-pull .split{row-gap:64px}}
@media (max-width:720px){[data-slug="bitumikasittely"] .after-pull{padding-top:64px}[data-slug="bitumikasittely"] .after-pull .split{row-gap:96px}}
[data-slug="ruostesuojamaalaus"] .cards .card{box-shadow:0 18px 40px -18px rgba(23,41,58,.35);border-color:#D3DCE4}
@media (max-width:720px){[data-slug="ruostesuojamaalaus"] .after-pull{padding-top:96px}[data-slug="ruostesuojamaalaus"] .after-pull .feature-ref{margin-top:88px}}
main .card{box-shadow:0 18px 40px -18px rgba(23,41,58,.35);border-color:#D3DCE4}
.why-item{box-shadow:0 18px 40px -18px rgba(23,41,58,.35);border-color:#D3DCE4}
[data-slug="vesikourut"] .section--mist:has(.photo){padding-top:clamp(96px,11vw,150px)}
@media (max-width:900px){[data-slug="vesikourut"] .section:has(.chips) .split > .stack-lg + .stack-lg{margin-top:64px}}

/* Phone video mockup (generic modern smartphone) */
.kv-sec{padding-block:clamp(96px,11vw,150px)}
.phone{justify-self:center;width:min(300px,78vw)}
.phone-body{position:relative;padding:11px;border-radius:52px;background:linear-gradient(145deg,#5d6268,#2b2f33 35%,#4a4f55 60%,#1f2225);box-shadow:0 0 0 1.5px #7b8187 inset,0 40px 80px -30px rgba(23,41,58,.6),0 12px 30px -12px rgba(0,0,0,.4)}
.phone-body::before,.phone-body::after{content:"";position:absolute;width:4px;border-radius:2px;background:#3a3e43}
.phone-body::before{left:-4px;top:120px;height:56px;box-shadow:0 70px 0 #3a3e43}
.phone-body::after{right:-4px;top:150px;height:84px}
.phone-screen{position:relative;border-radius:42px;overflow:hidden;background:#000;aspect-ratio:9/19.5}
.phone-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.phone-island{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:32%;height:26px;border-radius:20px;background:#000;z-index:2}
.phone-sound{position:absolute;right:14px;bottom:18px;z-index:3;width:42px;height:42px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px)}
.phone-sound svg{width:20px;height:20px}
.phone-sound .snd-on{display:none}
.phone-sound[aria-pressed="true"] .snd-on{display:inline}
.phone-sound[aria-pressed="true"] .snd-off{display:none}
.phone-play{position:absolute;inset:0;margin:auto;width:72px;height:72px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#17293A;display:grid;place-items:center;cursor:pointer;z-index:3;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.phone-play svg{width:30px;height:30px;margin-left:4px}
.phone-play[hidden]{display:none}
@media (max-width:900px){.kv-sec .split{row-gap:48px}}
.phone-progress{position:absolute;left:18px;right:66px;bottom:36px;height:6px;border-radius:3px;background:rgba(255,255,255,.35);z-index:3;cursor:pointer}
.phone-progress::before{content:"";position:absolute;inset:-10px 0}
.phone-progress i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:3px;background:#fff;transition:width .2s linear}
.phone-progress:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Vuotovahti */
[data-slug="vuotovahti"] .flow li{box-shadow:0 18px 40px -18px rgba(23,41,58,.35);border:1px solid #D3DCE4;background:#fff}
@media (max-width:720px){
  .monitor .sensor--extra,.monitor .mon-col--extra{display:none}
  [data-slug="vuotovahti"] .after-pull{padding-top:96px}
  [data-slug="vuotovahti"] .section--ink.gable:not(.storm):not(.cta-band){padding-top:120px}
  [data-slug="vuotovahti"] .section--mist:has(.chips){padding-top:96px}
  [data-slug="vuotovahti"] .storm{padding-top:120px}
  [data-slug="vuotovahti"] .section:has(.faq){padding-top:96px}
}
@media (max-width:720px){main .section:has(+ .section.gable){padding-bottom:max(110px,var(--pb-min,0px))}}
@media (max-width:720px){main section.section:has(> .wrap > .svc-btns){padding-bottom:150px}[data-page="etusivu"] main .section:has(+ .cta-band){padding-bottom:150px}}

/* Calculator teaser + popup */
.calc-fig{display:grid;justify-items:center;gap:18px}
.calc-device{position:relative;display:block;width:min(280px,72vw);padding:0;border:0;background:none;cursor:pointer;filter:drop-shadow(0 26px 40px rgba(23,41,58,.35));transition:transform .2s}
.calc-device:hover{transform:translateY(-3px) rotate(-1deg)}
.calc-device:focus-visible{outline:3px solid #2A4F69;outline-offset:6px;border-radius:30px}
.calc-device svg{width:100%;height:auto;display:block}
.calc-hot{position:absolute;left:79.7%;top:89%;right:auto;bottom:auto;transform:translate(-50%,-50%);pointer-events:none}
.calc-hand{left:calc(79.7% - 12.75px);top:calc(89% - 3.75px);right:auto}
.calc-card{width:min(1000px,100%)}
.calc-body{background:var(--mist);padding-top:20px}
.calc-body .calc{margin:0}
[data-slug="isannoitsijoille"] .ra{max-width:246px;width:56%}
[data-slug="isannoitsijoille"] .ra-badge{font-size:.64rem;padding:6px 10px;white-space:normal;text-align:center;width:max-content;max-width:90%;line-height:1.3}
@media (max-width:860px){[data-slug="isannoitsijoille"] .ra{width:70%}}
[data-slug="isannoitsijoille"] main .section:has(+ .cta-band){padding-bottom:clamp(140px,14vw,200px)}
@media (max-width:720px){[data-slug="isannoitsijoille"] main > .section:not(.cta-band){padding-top:96px;padding-bottom:96px}[data-slug="isannoitsijoille"] main .section:has(+ .cta-band){padding-bottom:140px}}
[data-slug="isannoitsijoille"] .section--mist:has(.calc-fig){padding-bottom:clamp(140px,14vw,200px)}
@media (max-width:720px){[data-slug="isannoitsijoille"] .section--mist:has(.calc-fig){padding-bottom:140px}}
@media (max-width:720px){[data-slug="isannoitsijoille"] main > .section--mist:has(.calc-fig):not(.cta-band){padding-bottom:140px}}
[data-slug="referenssit"] .ref,[data-slug="referenssit"] .feature-ref{box-shadow:0 18px 40px -18px rgba(23,41,58,.35);border-color:#D3DCE4}
.contact-photo img{object-position:50% 30%}
.contact-photo img{object-position:50% 12%}

/* Cookie notice (blocking) */
html.ck-lock,html.ck-lock body{overflow:hidden}
.ck{position:fixed;inset:0;z-index:400;display:grid;place-items:center;padding:20px;background:rgba(10,20,30,.62);backdrop-filter:blur(2px)}
.ck[hidden]{display:none}
.ck-card{width:min(480px,100%);background:#fff;border-radius:18px;padding:clamp(24px,4vw,34px);display:grid;gap:14px;justify-items:start;box-shadow:0 30px 80px rgba(0,0,0,.4);animation:ckIn .3s ease both}
@keyframes ckIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.ck-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--mist);color:#2A4F69}
.ck-ic svg{width:26px;height:26px}
.ck-card h2{margin:0;font-size:clamp(1.3rem,3vw,1.55rem);line-height:1.2}
.ck-card p{margin:0;color:var(--text);line-height:1.6}
.ck-ok{width:100%;justify-content:center;margin-top:6px}
.ck-more{justify-self:center;font-size:.85rem;color:var(--muted)}
#privacy-modal{z-index:450}
@media (prefers-reduced-motion:reduce){.ck-card{animation:none}}
@media (max-width:700px){.bp-scroll{overflow:visible}.bp-scroll svg{min-width:0}.bp-hint{display:none!important}}
.menu-ov a.menu-pv{color:rgba(255,255,255,.85);text-decoration:underline;text-underline-offset:3px}.menu-ov a.menu-pv:hover,.menu-ov a.menu-pv:focus-visible{color:#fff;text-decoration-color:#9fc3dc}
/* Campaign popup: gentle 1.5 s entrance */
#offer-modal:not([hidden]){animation:offerBg 1.5s ease both}
#offer-modal:not([hidden]) .modal-card{animation:offerCard 1.5s cubic-bezier(.2,.7,.2,1) both}
@keyframes offerBg{from{background:rgba(15,28,39,0)}to{background:rgba(15,28,39,.66)}}
@keyframes offerCard{0%{opacity:0;transform:translateY(28px) scale(.96)}35%{opacity:0}100%{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#offer-modal:not([hidden]),#offer-modal:not([hidden]) .modal-card{animation-duration:.01s}}

/* Language switcher (globe) */
.lang{position:relative}
.lang-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:48px;min-width:48px;padding:0 12px;border:1.5px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);font:800 .78rem/1 var(--f-display);letter-spacing:.1em;cursor:pointer}
.lang-btn svg{width:20px;height:20px}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{border-color:var(--brand);color:var(--brand)}
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:168px;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 34px rgba(23,41,58,.18)}
.lang-menu a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:7px;color:var(--ink);font-weight:600;text-decoration:none}
.lang-menu a:hover{background:#eef3f7;color:#17293A}
.lang-menu a[aria-current="true"]{color:#2A4F69;font-weight:800}
.lang-menu a[aria-current="true"]::after{content:"";width:8px;height:8px;border-radius:50%;background:#2A4F69}
@media (max-width:640px){.lang-btn{padding:0 9px;gap:4px}.lang-btn .lang-code{font-size:.72rem}}
@media (max-width:380px){.lang-btn .lang-code{display:none}.lang-btn{width:44px;min-width:44px;padding:0}}
.menu-lang{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;color:rgba(255,255,255,.75)}
.menu-lang svg{width:18px;height:18px}
.menu-ov .menu-lang a{color:rgba(255,255,255,.8);font-weight:600;text-decoration:none}
.menu-ov .menu-lang a:hover{color:#fff;text-decoration:underline}
.menu-ov .menu-lang a[aria-current="true"]{color:#fff;font-weight:800}
.phone-lang{margin-top:12px;text-align:center;font-size:.8rem;font-weight:600;letter-spacing:.02em;color:var(--muted,#5b6b78)}

/* Lava 20 -sivu */
.lava-cert{align-items:center}
.lava-cert-logos{flex:0 1 300px;width:300px;max-width:100%;height:auto}
@media (max-width:600px){.lava-cert-logos{flex-basis:100%;width:100%}}
.lava-layers{margin:0;display:flex;flex-direction:column;gap:16px;min-width:0}
.lava-layers svg{width:100%;height:auto;display:block}
.lava-legend{list-style:none;margin:0;padding:0;display:grid;gap:8px;counter-reset:lv}
.lava-legend li{counter-increment:lv;display:grid;grid-template-columns:28px 1fr;column-gap:10px;align-items:baseline;font-size:.95rem;line-height:1.45}
.lava-legend li::before{content:counter(lv);grid-row:span 2;width:24px;height:24px;border-radius:50%;background:#2A4F69;color:#fff;font:800 .8rem/24px var(--f-display);text-align:center}
.lava-legend b{color:var(--ink)}
.lava-legend span{color:var(--muted)}
.lava-compare{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white)}
.lc-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;padding:14px 20px;border-top:1px solid var(--line);align-items:center}
.lc-row:first-child{border-top:0}
.lc-head{background:#17293A;color:#fff;font-weight:800}
.lc-row [role="rowheader"]{font-weight:700;color:var(--ink)}
.lc-row .lc-yes{color:#1F6B4A;font-weight:700}
.lc-note{margin-top:12px}
@media (max-width:640px){.lc-row{grid-template-columns:1fr 1fr;padding:12px 14px}.lc-row [role="rowheader"]{grid-column:1/-1}.lc-head span:first-child{display:none}}
.steps:has(li:nth-child(8)){row-gap:32px}
@media (min-width:901px){.gallery:not(:has(> :nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}}
.photo{position:relative}
.photo-credit{position:absolute;right:8px;bottom:8px;margin:0;padding:3px 8px;border-radius:4px;background:rgba(15,28,39,.6);color:rgba(255,255,255,.88);font-size:.68rem;line-height:1.3;letter-spacing:.01em;pointer-events:none}
.photo figcaption.photo-credit{position:absolute;margin:0;left:auto;right:8px;bottom:8px;top:auto;max-width:calc(100% - 16px);padding:3px 8px;border-radius:4px;background:rgba(15,28,39,.6);box-shadow:none;color:rgba(255,255,255,.88);font:500 .68rem/1.3 var(--f-body,inherit);letter-spacing:.01em}
.partner-band .logo-row img{object-fit:contain}
.partner-band .logo-row img[src*="topcoat"]{height:32px;max-width:none}
.maker-logo img[src*="topcoat"]{max-height:36px}
@media (max-width:600px){.partner-band .logo-row img[src*="topcoat"]{height:26px;max-width:100%}.maker-logo img[src*="topcoat"]{max-height:30px}}
@media (min-width:601px){.partner-band .logo-row img{max-width:none}.partner-band .logo-row img[src*="owl"]{height:44px}}
/* Partner logos ~15 % smaller, aspect ratio always kept */
.partner-band .logo-row img{height:44px;width:auto}
.partner-band .logo-row img[src*="sadex"]{height:28px}
.partner-band .logo-row img[src*="sensor"]{height:32px}
.partner-band .logo-row img[src*="kattohoiva"]{height:50px}
.partner-band .logo-row img[src*="topcoat"]{height:28px}
.partner-band .logo-row img[src*="owl"]{height:38px}
@media (max-width:600px){
  .partner-band .logo-row img{height:34px;max-width:100%}
  .partner-band .logo-row img[src*="sadex"],.partner-band .logo-row img[src*="sensor"]{height:24px}
  .partner-band .logo-row img[src*="kattohoiva"]{height:40px}
  .partner-band .logo-row img[src*="topcoat"]{height:22px}
  .partner-band .logo-row img[src*="owl"]{height:32px}
}
.maker-logo img{max-height:50px;object-fit:contain}
.maker-logo img[src*="sensor"]{max-height:28px}
.maker-logo img[src*="topcoat"]{max-height:30px}
@media (max-width:520px){.maker-logo img{max-height:38px}.maker-logo img[src*="sensor"]{max-height:22px}.maker-logo img[src*="topcoat"]{max-height:26px}}
/* Partner band: two grouped rows */
.partner-band-inner{flex-direction:column;align-items:stretch;gap:18px}
.pgroups{display:grid;gap:22px}
.pgroup{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:12px 32px}
.pgroup-t{font-size:.8rem;font-weight:700;color:var(--muted);letter-spacing:.02em}
.pgroup .logo-row{justify-content:flex-start;gap:20px 48px}
.pgroup + .pgroup{padding-top:22px;border-top:1px solid var(--line)}
.partner-band .logo-row img{height:48px}
.partner-band .logo-row img[src*="sadex"]{height:30px}
.partner-band .logo-row img[src*="sensor"]{height:34px}
.partner-band .logo-row img[src*="kattohoiva"]{height:54px}
.partner-band .logo-row img[src*="topcoat"]{height:30px}
.partner-band .logo-row img[src*="owl"]{height:42px}
@media (max-width:760px){.pgroup{grid-template-columns:1fr}}
@media (max-width:600px){
  .partner-band .logo-row img{height:34px}
  .partner-band .logo-row img[src*="sadex"],.partner-band .logo-row img[src*="sensor"]{height:24px}
  .partner-band .logo-row img[src*="kattohoiva"]{height:40px}
  .partner-band .logo-row img[src*="topcoat"]{height:22px}
  .partner-band .logo-row img[src*="owl"]{height:32px}
}
.lava-cards .card--key{border-color:#2A4F69;box-shadow:inset 0 3px 0 #2A4F69}
.menu-ov a.menu-team{display:inline-flex;align-items:center;gap:6px}
.menu-ov a.menu-team svg{width:15px;height:15px;flex:none}
/* Secondary service buttons: 3 + 2 */
@media (min-width:1001px){
  .svc-btns--small{grid-template-columns:repeat(6,minmax(0,1fr))}
  .svc-btns--small > *{grid-column:span 2}
  .svc-btns--small > :nth-child(4),.svc-btns--small > :nth-child(5){grid-column:span 3}
}
@media (min-width:421px) and (max-width:1000px){.svc-btns--small > :last-child:nth-child(odd){grid-column:1/-1}}
/* Cool Roof */
.cool-roof{align-items:center}
.cool-fig{margin:0;display:grid;gap:14px;min-width:0}
.cool-fig svg{width:100%;height:auto;display:block}
.cool-note{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:16px 18px;border-radius:14px;background:#F1F4F7;border:1px solid var(--line);font-size:.95rem;line-height:1.5;color:var(--ink)}
.cool-note b{display:block;margin-bottom:2px}
.cool-note .icon-tile{background:#FFF6DB;color:#B7791F}
.section--mist .cool-note{background:#fff}.section--mist .cool-fig svg > rect:first-of-type{fill:#fff}
/* Accordion cards (mobile) */
.acc-btn{all:unset;display:block;font:inherit;color:inherit;letter-spacing:inherit;cursor:default}
@media (max-width:640px){
  .acc-cards{gap:10px}
  .acc-cards .card{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px;padding:14px 16px}
  .acc-cards .card .icon-tile{margin:0}
  .acc-cards .card h3{margin:0}
  .acc-btn{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:40px}
  .acc-btn::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .2s}
  .card.is-open .acc-btn::after{transform:translateY(2px) rotate(-135deg)}
  .acc-btn:focus-visible{outline:3px solid #2A4F69;outline-offset:4px;border-radius:4px}
  .acc-cards .acc-panel{grid-column:1/-1;display:none;margin:12px 0 2px}
  .acc-cards .card.is-open .acc-panel{display:block}
}
/* TopCoat and KattoHoiva logos +20 % */
.partner-band .logo-row img[src*="topcoat"]{height:36px}
.partner-band .logo-row img[src*="kattohoiva"]{height:65px}
.maker-logo img[src*="topcoat"]{max-height:36px}
.maker-logo img[src*="kattohoiva"]{max-height:60px}
@media (max-width:600px){
  .partner-band .logo-row img[src*="topcoat"]{height:26px}
  .partner-band .logo-row img[src*="kattohoiva"]{height:48px}
}
@media (max-width:520px){.maker-logo img[src*="topcoat"]{max-height:31px}.maker-logo img[src*="kattohoiva"]{max-height:46px}}
/* TopCoat +20 % more */
.partner-band .logo-row img[src*="topcoat"]{height:43px}
.maker-logo img[src*="topcoat"]{max-height:43px}
@media (max-width:600px){.partner-band .logo-row img[src*="topcoat"]{height:31px}}
@media (max-width:520px){.maker-logo img[src*="topcoat"]{max-height:37px}}
.cool-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.cool-stat{display:flex;flex-direction:column;gap:4px;padding:18px 18px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:inset 0 3px 0 #F6C343}
.cool-stat b{font:800 2.3rem/1 var(--f-display);color:#2A4F69;letter-spacing:-.01em}
.cool-stat .cs-t{font-weight:800;color:var(--ink);margin-top:6px}
.cool-stat span:last-child{font-size:.9rem;line-height:1.45;color:var(--muted)}
@media (max-width:380px){.cool-stats{grid-template-columns:1fr}}
/* Energy: 85 % / 25 % / Cool Roof on one row */
.cool-row{display:grid;grid-template-columns:1fr 1fr 2fr;gap:14px;margin-top:28px;align-items:stretch}
.cool-row .cool-stat,.cool-row .cool-note{margin:0}
.cool-row .cool-note{align-items:center;background:#fff;box-shadow:inset 0 3px 0 #F6C343}
@media (max-width:900px){.cool-row{grid-template-columns:1fr 1fr}.cool-row .cool-note{grid-column:1/-1}}
@media (max-width:380px){.cool-row{grid-template-columns:1fr}}
/* Cool Roof hotspot (replaces the arrow next to the thermometer) */
.cool-fig{position:relative}
.cool-fig .cool-info{top:calc(14% - 20px);right:auto;left:calc(91% - 20px)}
.cool-fig .cool-hand{top:calc(14% + 6px);right:auto;left:calc(91% - 6px)}
.cool-fig .cool-pop{top:calc(14% + 28px);right:12px;left:auto;width:min(400px,calc(100% - 24px));max-width:none}
.cool-pop p + p{margin-top:10px}
@media (max-width:640px){.cool-fig .cool-pop{left:0;right:0;width:auto;top:calc(14% + 28px)}}
.info-pop .info-t{line-height:1.4}
/* 3 + 2 only when there are five secondary buttons; four keep the original single row */
@media (min-width:1001px){
  .svc-btns--small:not(:has(> :nth-child(5))){grid-template-columns:repeat(4,minmax(0,1fr))}
  .svc-btns--small:not(:has(> :nth-child(5))) > *{grid-column:auto}
}
@media (min-width:421px) and (max-width:1000px){.svc-btns--small:not(:has(> :nth-child(5))) > :last-child:nth-child(odd){grid-column:auto}}
