/* Baltic Steam Solution — navy wordmark, blue S-channel mark */
:root {
  --mist: #EDF2F7;
  --paper: #FFFFFF;
  --ink: #14223B;
  --ink-2: #4A5872;
  --line: #CCD6E3;
  --steam: #1563DB;
  --steam-hover: #0A2A6E;
  --glacier: #3DB5F2;
  --deep: #0A2A6E;
  --solid: #14223B;          /* inverse chips: language switch, step numbers */
  --on-solid: #FFFFFF;
  --band-blue: #1563DB;      /* contact band */
  --form-bg: #0A2A6E;
  --field-bg: #FFFFFF;
  --field-ink: #14223B;
  --media-bg: #14223B;
  --stage-shadow: 0 40px 80px -40px rgba(20, 34, 59, .55), 0 0 0 1px rgba(20, 34, 59, .08);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r-lg: 28px;
  --r-md: 14px;

  color-scheme: light;
}
/* Dark theme: follows the OS unless the visitor picked a theme */
:root[data-theme="dark"] {
  --mist: #0A1220;
  --paper: #0F1A2C;
  --ink: #E6EDF7;
  --ink-2: #A2B0C6;
  --line: #22334E;
  --steam: #2F74E6;
  --steam-hover: #4C8BF0;
  --glacier: #4FC3F7;
  --deep: #0B2457;
  --solid: #E6EDF7;
  --on-solid: #0A1220;
  --band-blue: #10295C;
  --form-bg: #0A1A3D;
  --field-bg: #0A1220;
  --field-ink: #E6EDF7;
  --media-bg: #0F1A2C;
  --stage-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --mist: #0A1220;
  --paper: #0F1A2C;
  --ink: #E6EDF7;
  --ink-2: #A2B0C6;
  --line: #22334E;
  --steam: #2F74E6;
  --steam-hover: #4C8BF0;
  --glacier: #4FC3F7;
  --deep: #0B2457;
  --solid: #E6EDF7;
  --on-solid: #0A1220;
  --band-blue: #10295C;
  --form-bg: #0A1A3D;
  --field-bg: #0A1220;
  --field-ink: #E6EDF7;
  --media-bg: #0F1A2C;
  --stage-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); color: inherit; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--solid); color: var(--on-solid); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--steam); color: #fff; }
.btn-primary:hover { background: var(--steam-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--solid); color: var(--on-solid); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-white { background: #fff; color: var(--deep); }
.btn-white:hover { background: #14223B; color: #fff; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: 72px; }

/* Vector logo; the dark-theme version has white type */
.brand { display: block; flex: none; line-height: 0; }
.brand .logo { height: 60px; width: auto; }
.brand-lg .logo { height: 84px; }
.brand .logo-d { display: none; }
:root[data-theme="dark"] .brand .logo-l { display: none; }
:root[data-theme="dark"] .brand .logo-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-l { display: none; }
  :root:not([data-theme="light"]) .brand .logo-d { display: block; }
}

.nav { display: flex; gap: clamp(14px, 1.4vw, 28px); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--steam); }

.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--mist); }
.lang button {
  min-width: 42px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 600; font-size: .85rem; letter-spacing: .02em; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); }

.theme-toggle {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--mist); color: var(--ink); cursor: pointer;
  transition: background-color .2s, transform .3s;
}
.theme-toggle:hover { background: var(--line); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun { display: none; }
.theme-toggle[aria-pressed="true"] .i-moon { display: none; }
.theme-toggle[aria-pressed="true"] .i-sun { display: block; }
.theme-toggle[aria-pressed="true"] .i-sun circle { fill: currentColor; }
.top-cta { min-height: 44px; padding: 10px 20px; white-space: nowrap; }

@media (max-width: 1269px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 560px) {
  .top-cta { display: none; }
  .brand:not(.brand-lg) .logo { height: 46px; }
  .top-in { gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.15rem, 4.3vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.hero .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }

.surface { position: relative; }
.stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  /* the clean surface that steam reveals */
  background-color: #F6F9FC;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.75) 45%, rgba(255,255,255,0) 60%),
    linear-gradient(#D3DDE8 2px, transparent 2px),
    linear-gradient(90deg, #D3DDE8 2px, transparent 2px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  background-position: 0 0, -1px -1px, -1px -1px;
  box-shadow: var(--stage-shadow);
  touch-action: none;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-hint {
  position: absolute; left: 16px; bottom: 20px; right: 16px; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 999px;
  background: rgba(10, 18, 32, .86); color: #fff; font-size: .92rem; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: none; transition: opacity .4s;
}
.stage.is-touched .stage-hint { opacity: 0; }
.stage-done {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px;
  text-align: center; font: 600 clamp(1.1rem, 2.2vw, 1.6rem)/1.2 var(--f-display);
  letter-spacing: -.01em; text-wrap: balance;
  opacity: 0; transform: translateY(8px); transition: opacity .6s .2s, transform .6s .2s; pointer-events: none;
}
.stage-done span {
  max-width: 22ch; padding: 16px 24px; border-radius: 20px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.stage.is-clean .stage-done { opacity: 1; transform: none; }
.stage-meter {
  position: absolute; left: 0; bottom: 0; height: 6px; width: calc(var(--p, 0) * 1%);
  background: linear-gradient(90deg, var(--glacier), var(--steam));
  transition: width .25s;
}

.readout { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-top: 20px; }
.readout dl { display: flex; gap: clamp(20px, 3vw, 40px); margin: 0; }
.readout dt { font-size: .88rem; color: var(--ink-2); }
.readout dd { margin: 2px 0 0; font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.readout-btns { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); } /* never wider than the screen, however long a word */
  .stage { aspect-ratio: 4 / 3.4; }
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(72px, 10vw, 140px); }
.band-tight { padding-block: clamp(56px, 7vw, 96px); }
.band-paper { background: var(--paper); }
.band-mist { background: var(--mist); }
.band-blue { background: var(--band-blue); color: #fff; }
.band-blue .lead { color: #DCE9FF; }

.band-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.band h2 {
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  max-width: 22ch;
}

/* ---------- Technologies ---------- */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.tech-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 380px; padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg);
}
.tech-dry { background: var(--mist); color: var(--ink); }
.tech-hp { background: var(--deep); color: #fff; }
.tech-art { position: absolute; right: -10px; top: -10px; width: clamp(140px, 18vw, 220px); height: auto; pointer-events: none; }
.tech-dry .tech-art { color: var(--steam); }
.tech-hp .tech-art { color: var(--glacier); }
.tech-where {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
}
.tech-dry .tech-where { background: var(--paper); color: var(--steam); }
.tech-hp .tech-where { background: var(--glacier); color: #14223B; }
.tech-card h3 {
  margin-top: auto; padding-top: 48px;
  font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -.02em;
}
.tech-card > p:last-child { max-width: 46ch; }
.tech-dry > p:last-child { color: var(--ink-2); }
.tech-hp > p:last-child { color: #C9D7F2; }
.tech-spec { font: 600 clamp(1rem, 1.4vw, 1.15rem)/1.3 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tech-dry .tech-spec { color: var(--steam); }
.tech-hp .tech-spec { color: var(--glacier); }
/* Technology names that stay the same in every language */
.tm { font-weight: 600; }
@media (max-width: 760px) {
  .tech { grid-template-columns: 1fr; }
  .tech-card { min-height: 0; }
}

/* ---------- Services ---------- */
.svc-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-item {
  position: relative;
  padding: 24px 0 26px 28px;
  border-top: 1px solid var(--line);
  cursor: default;
}
.svc-item::before {
  content: ""; position: absolute; left: 0; top: 28px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--line); transition: background-color .25s, transform .25s;
}
.svc-item.is-active::before { background: var(--steam); transform: scale(1.4); }
.svc-item h3 { font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.25; letter-spacing: -.01em; transition: color .25s; }
.svc-item.is-active h3 { color: var(--steam); }
.svc-item p { margin-top: 8px; color: var(--ink-2); max-width: 58ch; }
.svc-item .removes { font-size: .94rem; color: var(--ink); }
.svc-item .removes b { font-weight: 600; }
.svc-item .thumb { display: none; }

.svc-media {
  position: sticky; top: 104px;
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--media-bg);
}
.svc-media .photo { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.svc-media .photo.on { opacity: 1; }

/* Work photos: one file per service, graded as a single natural photo shoot (assets/photos/) */
.photo { background-color: var(--media-bg); background-repeat: no-repeat; background-position: center; background-size: cover; background-image: var(--ph, none); }
.svc-item .thumb { background-image: var(--ph-s, none); } /* small copies for the mobile list */
.crop-tl { --ph: url("assets/photos/terrace.jpg"); --ph-s: url("assets/photos/thumbs/terrace.jpg"); }
.crop-tm { --ph: url("assets/photos/kitchen.jpg"); --ph-s: url("assets/photos/thumbs/kitchen.jpg"); }
.crop-tr { --ph: url("assets/photos/restaurant.jpg"); --ph-s: url("assets/photos/thumbs/restaurant.jpg"); }
.crop-bl { --ph: url("assets/photos/machine.jpg"); --ph-s: url("assets/photos/thumbs/machine.jpg"); }
.crop-bm { --ph: url("assets/photos/shower.jpg"); --ph-s: url("assets/photos/thumbs/shower.jpg"); }
.crop-br-zoom { --ph: url("assets/photos/reach.jpg"); --ph-s: url("assets/photos/thumbs/reach.jpg"); }
.crop-spa { --ph: url("assets/photos/spa.jpg"); --ph-s: url("assets/photos/thumbs/spa.jpg"); }
.photo svg, .photo canvas { display: block; width: 100%; height: 100%; }
/* The two illustrated services get small renders of their illustrations in the mobile list */
.art-roof { --ph-s: url("assets/photos/thumbs/roof.jpg"); }
.art-wall { --ph-s: url("assets/photos/thumbs/wall.jpg"); }

/* Graffiti being steamed off when its row becomes active */
.wipe-bar { transform: scaleX(0); transform-box: fill-box; transform-origin: left; }
.wipe-steam { opacity: 0; filter: blur(14px); }
.art-wall.wiping .wipe-bar { animation: wipe 1.8s .5s cubic-bezier(.5, 0, .3, 1) forwards; }
.art-wall.wiping .wipe-steam { animation: steamSweep 1.8s .5s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes wipe { to { transform: scaleX(1); } }
@keyframes steamSweep {
  0% { transform: translateX(0); opacity: .9; }
  90% { opacity: .9; }
  100% { transform: translateX(460px); opacity: 0; }
}


@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-media { display: none; }
  .svc-item { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding-left: 0; }
  .svc-item::before { display: none; }
  .svc-item .thumb { display: block; width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; background-color: var(--media-bg); }
  .svc-item h3 { color: var(--ink); }
}

/* ---------- Eco ---------- */
.eco-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.thermo { position: relative; margin: 0; height: 500px; padding-left: 4px; }
.thermo-track {
  position: absolute; left: 0; top: 0; bottom: 0; width: 20px; border-radius: 999px;
  background: linear-gradient(0deg, #CDEBFB 0%, var(--glacier) 32%, var(--steam) 62%, var(--deep) 100%);
}
.thermo-track span { position: absolute; left: 32px; font-size: .8rem; color: var(--ink-2); white-space: nowrap; transform: translateY(-50%); }
.thermo-track span:first-child { bottom: -8px; }
.thermo-track span:last-child { top: 0; transform: none; }
.thermo-marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.thermo-marks li {
  position: absolute; left: 0; bottom: calc(var(--t) / 220 * 100%); transform: translateY(50%);
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 4px; width: 100%;
  padding-left: 36px; font-size: .95rem; color: var(--ink-2);
}
.thermo-marks li::before {
  content: ""; position: absolute; left: -4px; top: 50%; width: 28px; height: 2px; background: var(--ink); transform: translateY(-50%);
}
.thermo-marks b { font: 600 1.05rem var(--f-display); color: var(--ink); white-space: nowrap; }
.thermo-marks .is-ours { color: var(--ink); font-weight: 600; }
.thermo-marks .is-ours b { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--steam); }
.thermo-marks .is-ours { grid-template-columns: auto 1fr; gap: 14px; }
.thermo-marks .is-ours::before { width: 36px; height: 4px; left: -8px; background: var(--steam); }

.facts { display: grid; gap: 0; margin: 0; }
.facts > div { padding: 26px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font: 600 clamp(1.2rem, 2vw, 1.55rem)/1.2 var(--f-display); letter-spacing: -.01em; }
.facts dd { margin: 8px 0 0; color: var(--ink-2); max-width: 52ch; }

@media (max-width: 900px) {
  .eco-grid { grid-template-columns: 1fr; }
  .thermo { height: 460px; }
  .thermo-marks li { grid-template-columns: 76px 1fr; }
}

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.process li { position: relative; padding-top: 72px; counter-increment: step; }
.process li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--solid); color: var(--on-solid); font: 600 1.1rem var(--f-display);
}
.process li::after { content: ""; position: absolute; left: 60px; right: -12px; top: 23px; height: 2px; background: var(--line); }
.process li:last-child::after { display: none; }
.process h3 { font-weight: 500; font-size: 1.2rem; line-height: 1.25; }
.process p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process li { padding: 0 0 0 68px; min-height: 48px; }
  .process li::after { left: 23px; right: auto; top: 56px; bottom: -32px; width: 2px; height: auto; }
  .process li:nth-child(2)::after { display: block; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .lead { margin-top: 18px; }
.direct { margin: clamp(32px, 4vw, 48px) 0 0; display: grid; gap: 20px; }
.direct dt { font-size: .9rem; color: #DCE9FF; }
.direct dd { margin: 4px 0 0; font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--f-display); letter-spacing: -.01em; }
.direct dd a { text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.4); }
.direct dd a:hover { border-bottom-color: #fff; }
.direct div:last-child dd { font: 500 1rem/1.5 var(--f-body); letter-spacing: 0; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--form-bg);
}
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 2px solid transparent; border-radius: var(--r-md);
  background: var(--field-bg); color: var(--field-ink); font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--glacier); }
.field [aria-invalid="true"] { border-color: #FF8A8A; }
.field-opt { font-weight: 400; color: #C9DAF6; }
/* Honeypot for spam bots: people never see it */
.hp { display: none !important; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: .95rem; max-width: 46ch; }
.form-status.is-err { color: #FFD1D1; }
.form-privacy { font-size: .85rem; line-height: 1.45; color: #C9DAF6; max-width: 62ch; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding-block: 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-in p { color: var(--ink-2); }
.foot-small { margin-left: auto; font-size: .9rem; text-align: right; line-height: 1.7; }
.foot-small a { color: var(--ink); font-weight: 500; }
/* The legal line Latvian law asks for: who provides the service */
.foot-legal { flex-basis: 100%; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.6; }

/* ---------- WhatsApp: a row in the contacts and a round button that stays in the corner ---------- */
.direct .wa-ico { display: inline-block; width: 1.05em; height: 1.05em; fill: currentColor; vertical-align: -.18em; margin-right: 6px; }
.wa-float {
  position: fixed; z-index: 30;
  right: max(clamp(16px, 2.5vw, 28px), env(safe-area-inset-right));
  bottom: max(clamp(16px, 2.5vw, 28px), env(safe-area-inset-bottom));
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 28px -10px rgba(10, 42, 110, .55), 0 0 0 1px rgba(20, 34, 59, .08);
  transition: transform .25s ease, box-shadow .2s ease, opacity .25s ease, visibility 0s;
}
/* Hidden on the first screen (script.js), where it would sit on the hero's buttons */
.wa-float.is-off { opacity: 0; visibility: hidden; transform: translateY(14px); transition: transform .25s ease, opacity .25s ease, visibility 0s .25s; }
.wa-float svg { width: 31px; height: 31px; fill: currentColor; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(10, 42, 110, .6), 0 0 0 1px rgba(20, 34, 59, .08); }
.wa-float:focus-visible { outline: 3px solid var(--glacier); outline-offset: 3px; }
/* Keep the last footer lines clear of the button on narrow screens */
@media (max-width: 900px) { .foot { padding-bottom: 104px; } }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; } .wa-float svg { width: 29px; height: 29px; } }
@media print { .wa-float { display: none; } }

/* ---------- Hero: first-year offer link ---------- */
.hero-offer {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--steam) 11%, transparent);
  color: var(--steam); font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.3;
  transition: background-color .2s;
}
.hero-offer:hover { background: color-mix(in srgb, var(--steam) 18%, transparent); }
.hero-offer-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--steam); box-shadow: 0 0 0 0 color-mix(in srgb, var(--steam) 60%, transparent); animation: offerPulse 2.4s infinite; }
@keyframes offerPulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Hero: equipment specs and the home / business choice ---------- */
.specs { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li {
  padding: 8px 14px; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; line-height: 1.3;
}
.specs b { font-weight: 600; }
.specs span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero-ask { margin-top: clamp(26px, 3vw, 38px); font-weight: 600; font-size: 1.05rem; }
/* Two cards side by side while each can be at least 15rem wide, otherwise stacked,
   so a long label like "Privātpersonām" never stretches one card wider than the other */
.aud-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 12px; margin-top: 12px; max-width: 560px; }
.aud-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; border-radius: 18px;
  background: var(--steam); color: #fff; text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.aud-card:hover { background: var(--steam-hover); }
.aud-card:active { transform: translateY(1px); }
.aud-card b { font: 600 clamp(1.05rem, 1.4vw, 1.2rem)/1.2 var(--f-display); letter-spacing: -.01em; }
.aud-card b::after { content: " →"; }
.aud-card span { font-size: .92rem; line-height: 1.35; color: #DCE9FF; }

/* ---------- Questions and answers ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 104px; margin-bottom: 0; }
.qa-list { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; list-style: none; cursor: pointer;
  font: 500 clamp(1.05rem, 1.6vw, 1.25rem)/1.3 var(--f-display); letter-spacing: -.01em;
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover, .qa[open] summary { color: var(--steam); }
/* plus sign that turns into a cross when the answer is open */
.qa summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--mist) no-repeat center;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 12px 2px, 2px 12px;
  transition: transform .25s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa-a { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }
.qa-a p + p { margin-top: 10px; }
.qa-note { color: var(--ink); font-weight: 600; }
.qa-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--steam); text-underline-offset: 4px; }
.top5 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: why; }
.top5 li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; counter-increment: why; }
.top5 li::before {
  content: counter(why); grid-row: span 2; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--steam); color: #fff; font: 600 .9rem var(--f-display);
}
.top5 b { color: var(--ink); font-weight: 600; }
.top5 span { grid-column: 2; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- Form: request type ---------- */
.req-type { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.req-type button {
  min-height: 52px; padding: 10px 14px; border: 0; border-radius: 14px; background: transparent; color: #fff;
  font-weight: 600; font-size: .95rem; line-height: 1.25; cursor: pointer; transition: background-color .2s, color .2s;
}
.req-type button:hover { background: rgba(255, 255, 255, .08); }
.req-type button[aria-checked="true"] { background: #fff; color: #0A2A6E; }
.field-hint { font-size: .9rem; color: #DCE9FF; }
@media (max-width: 560px) { .req-type { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}
