/* AKVATERM PODILLIA TOV — soft-clinical
   Cool white field, oxford panel, azure and mint. */

:root {
  --bg: #f4f7fa;
  --bg-alt: #e7f0f6;
  --bg-deep: #1a365d;
  --ink: #1a2740;
  --ink-soft: #5b6b80;
  --ink-invert: #f5f9fc;
  --accent: #1c8cff;
  --accent-soft: #d9edff;
  --azure-deep: #0b6fd6;
  --mint: #1fbf86;
  --mint-soft: #d8f8ea;
  --mint-deep: #0e9a68;
  --line: #d5e1ea;
  --zone: #d7e4ef;
  --zone-edge: #8ea4b8;
  --font-display: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --tracking-display: -0.035em;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 12px 32px color-mix(in srgb, var(--ink) 8%, transparent);
  --container: 1140px;
}

.site-header {
  background: var(--bg);
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.logo {
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--accent);
}

.logo rect { fill: currentColor; }

.logo__loop,
.logo__stem {
  fill: none;
  stroke: var(--ink-invert);
  stroke-width: 3.5;
  stroke-linecap: round;
}

.logo__node { fill: var(--mint); }

.logo-word { display: grid; line-height: 1.05; }

.logo-word__name {
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
}

.logo-word__meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.site-header__brand { font-family: var(--font-body); }

.block-head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}

.block-head h2 { max-width: 18ch; }

.hero.section { padding-top: clamp(1.75rem, 4vw, 4.25rem); }

.hero__grid {
  display: grid;
  gap: var(--gap);
  align-items: center;
}

.hero__copy h1 { max-width: 16ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.spec {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.spec__k {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.spec__v { font-weight: 700; }

.hero__photo,
.company__photo,
.mosaic figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

.hero__photo img,
.company__photo img,
.mosaic img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__photo img { aspect-ratio: 16 / 9; }

.company__photo img { aspect-ratio: 3 / 4; }

.company__photo figcaption,
.mosaic figcaption {
  padding: 0.7rem 0.95rem 0.95rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.route-list,
.lines,
.term-list,
.reach__card {
  list-style: none;
  padding: 0;
  margin: 0;
}

.route-list {
  display: grid;
  gap: var(--gap);
}

.route,
.term {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 1.35rem;
  box-shadow: var(--shadow);
}

.section:not(.section--alt) .term { background: var(--bg-alt); box-shadow: none; }

.route__n {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--ink);
  font-weight: 800;
}

.route h3,
.lines h3,
.term h3 { margin-bottom: 0.4rem; }

.lines {
  display: grid;
  gap: 0.85rem;
}

.lines li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}

.lines__n {
  font-weight: 800;
  font-size: var(--step-2);
  line-height: 1;
  color: var(--accent);
}

.reach {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.reach .block-head { margin-bottom: 0; }

.reach__card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.35rem 0.2rem;
}

.reach__row {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
}

.reach__row + .reach__row { border-top: 1px solid var(--line); }

.reach__row span {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.company__grid {
  display: grid;
  gap: var(--gap);
  align-items: center;
}

.term-list { display: grid; gap: var(--gap); }

.mosaic { display: grid; gap: var(--gap); }

.mosaic img { aspect-ratio: 4 / 3; }

.panel__layout {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}

.switches {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  text-align: left;
  color: var(--ink-invert);
  background: color-mix(in srgb, var(--ink-invert) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink-invert) 28%, transparent);
  border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.switch[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
}

.switch__lamp {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink-invert) 35%, transparent);
}

.switch[aria-pressed="true"] .switch__lamp {
  background: var(--mint);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 35%, transparent);
}

.switch__label { font-weight: 700; font-size: var(--step--1); line-height: 1.35; }

.shell-well {
  background: color-mix(in srgb, var(--ink-invert) 94%, var(--accent));
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.5rem 1rem;
}

.shell { width: 100%; height: auto; }

.shell .ground {
  fill: color-mix(in srgb, var(--accent) 16%, var(--ink-invert));
}

.shell .face {
  fill: var(--zone);
  stroke: var(--zone-edge);
  stroke-width: 1.25;
  stroke-linejoin: round;
  transition: fill 0.35s var(--ease);
}

.shell .glaze {
  fill: color-mix(in srgb, var(--accent) 32%, var(--ink-invert));
  stroke: none;
}

.zone-materials.is-on .face-top { fill: var(--accent-soft); }
.zone-materials.is-on .face-south { fill: var(--accent); }
.zone-materials.is-on .face-east { fill: var(--azure-deep); }
.zone-materials.is-on .glaze { fill: color-mix(in srgb, var(--ink-invert) 55%, var(--accent)); }

.zone-thermal.is-on .face-top { fill: var(--mint-soft); }
.zone-thermal.is-on .face-south { fill: var(--mint); }
.zone-thermal.is-on .face-east { fill: var(--mint-deep); }

.zone-electric.is-on .face-top { fill: var(--accent-soft); }
.zone-electric.is-on .face-south { fill: var(--azure-deep); }
.zone-electric.is-on .face-east { fill: var(--accent); }

.zone-fleet.is-on .face-top { fill: var(--mint-soft); }
.zone-fleet.is-on .face-south { fill: var(--mint-deep); }
.zone-fleet.is-on .face-east { fill: var(--mint); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  padding: 0 0.6rem;
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
}

.legend li { display: inline-flex; align-items: center; gap: 0.4rem; }

.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  display: inline-block;
}

.swatch--materials { background: var(--accent); }
.swatch--thermal { background: var(--mint); }
.swatch--electric { background: var(--azure-deep); }
.swatch--fleet { background: var(--mint-deep); }

.readout {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 1.2rem 1.15rem 1.3rem;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--ink-invert) 8%, transparent);
}

.readout__k {
  margin-top: 0.85rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.readout__k:first-child { margin-top: 0; }

.readout__v {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.panel__note {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--ink-invert) 72%, transparent);
}

.contact__grid {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.contact__grid > * { min-width: 0; }

.contact__card {
  margin-top: 1.25rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  font-style: normal;
}

.contact__card a,
.foot a {
  overflow-wrap: anywhere;
}

.contact__card a { text-decoration: none; font-weight: 700; }

.contact__form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.form__row { display: grid; gap: 1rem; }

.field select,
.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
}

.field select {
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.foot {
  display: grid;
  gap: var(--gap);
}

.foot .muted { margin-top: 0.85rem; }

.foot-label {
  margin-bottom: 0.4rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.foot a { text-decoration: none; }

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 700px) {
  .route-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
  .term-list { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: 1.35fr 1fr; }
  .mosaic__lead { grid-row: span 2; }
  .mosaic__lead img { height: 100%; aspect-ratio: auto; }
  .mosaic__wide { grid-column: 1 / -1; }
  .mosaic__wide img { aspect-ratio: 21 / 9; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
}

@media (min-width: 860px) {
  .company__grid { grid-template-columns: 1.15fr 0.85fr; }
  .contact__grid { grid-template-columns: 0.9fr 1.1fr; }
}

@media (min-width: 900px) {
  .reach { grid-template-columns: 1.15fr 0.85fr; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

@media (min-width: 980px) {
  .panel__layout {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1.35fr) minmax(210px, 280px);
  }
}

@media (min-width: 1100px) {
  .route-list { grid-template-columns: repeat(4, 1fr); }
}
