/* A-TECH MIX, second version (2026-11-25).
   Colours come from the client's logo: navy, blue, red; the owner can change the four base colours
   in the admin (they arrive as --navy, --blue, --red, --bg in the page head), every other shade is
   mixed from them here. Fonts: Montserrat (the logo's letters) for titles, Manrope for text; both
   carry Romanian and Russian letters.
   Motion is kept small on purpose: a short logo preloader, one soft fade-in per block, hovers. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* fallbacks; the page head sets the owner's colours */
  --navy: #031837;
  --logo-navy: #0c2e6d; /* the logo's own navy: frame, name and divider in the header */
  --blue: #0376d8;
  --red: #e3121b;
  --bg: #f3f6fa;

  --white: #fff;
  --ink: var(--navy);
  --text: color-mix(in srgb, var(--navy) 78%, #4a5568);
  --mute: color-mix(in srgb, var(--navy) 55%, #8a94a6);
  --line: color-mix(in srgb, var(--navy) 11%, transparent);
  --line-2: color-mix(in srgb, var(--navy) 18%, transparent);
  --tint: color-mix(in srgb, var(--blue) 9%, white);
  --tint-red: color-mix(in srgb, var(--red) 8%, white);
  --blue-hi: color-mix(in srgb, var(--blue) 55%, white);
  --blue-deep: color-mix(in srgb, var(--blue) 55%, var(--navy));
  --navy-2: color-mix(in srgb, var(--navy) 82%, var(--blue));
  --g-blue: linear-gradient(120deg, color-mix(in srgb, var(--blue) 78%, white) 0%, var(--blue) 42%, var(--blue-deep) 100%);
  --g-pipe: linear-gradient(90deg, var(--blue), var(--red));
  --g-text: linear-gradient(95deg, var(--blue) 0%, var(--blue-deep) 100%);
  --g-text-light: linear-gradient(95deg, color-mix(in srgb, var(--blue) 40%, white) 0%, var(--blue-hi) 60%, color-mix(in srgb, var(--blue) 80%, white) 100%);
  --g-navy: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--navy) 6%, transparent), 0 4px 14px color-mix(in srgb, var(--navy) 6%, transparent);
  --shadow: 0 2px 4px color-mix(in srgb, var(--navy) 5%, transparent), 0 18px 40px -12px color-mix(in srgb, var(--navy) 22%, transparent);
  --shadow-lg: 0 30px 70px -24px color-mix(in srgb, var(--navy) 38%, transparent);
  --r: 18px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gut: clamp(18px, 4.4vw, 48px);
  --top-h: 76px;
  --head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); letter-spacing: -.015em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.r { stroke: var(--red); }
.b { stroke: var(--blue); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* titles: *words* in the accent gradient */
h1 em, h2 em, .band em {
  font-style: normal;
  background: var(--g-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- pieces ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 12.5px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
/* two short parallel lines, blue and red, like the pipes in the logo */
.eyebrow::before {
  content: ""; width: 26px; height: 8px; flex: none;
  border-top: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--red); border-radius: 2px;
}
.eyebrow--light { color: var(--blue-hi); }

.btn {
  --bg-btn: var(--g-blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg-btn); color: #fff;
  font: 700 15px/1 var(--head); letter-spacing: .01em;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--blue) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn span { text-align: center; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--blue) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.btn--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--navy), 0 14px 26px -14px color-mix(in srgb, var(--navy) 70%, transparent); }

.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--tint); color: var(--navy);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 14%, transparent);
}
.tile svg { width: 28px; height: 28px; }
.tile--lg { width: 58px; height: 58px; border-radius: 16px; }
.tile--lg svg { width: 34px; height: 34px; }
.tile--dark { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.more { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--head); color: var(--blue); }
.more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }

/* soft fade-in, once per block (switchable in the admin; off for "reduce motion") */
.js.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js.motion [data-reveal].in { opacity: 1; transform: none; }
.js.motion:not(.rv) [data-reveal] { animation: reveal-fallback 0s 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ---------- preloader: the logo, its pipes drawn once ---------- */

.pre {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: #fff;
  transition: opacity .35s ease, visibility .35s;
}
.no-js .pre, .no-pre .pre { display: none; }
.pre.is-out { opacity: 0; visibility: hidden; }
.pre__mark { width: 74px; height: auto; }
.pre__mark > g > path { animation: pre-frame .5s ease both; }
.pre__mark g[clip-path] path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: pre-draw .75s var(--ease) .12s forwards; }
.pre__mark g[clip-path] ~ g[clip-path] path { animation-delay: .3s; }
.pre__bar { width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pre__bar i { display: block; height: 100%; background: var(--g-pipe); transform-origin: left; animation: pre-bar .9s var(--ease) both; }
@keyframes pre-frame { from { opacity: 0; } }
@keyframes pre-draw { to { stroke-dashoffset: 0; } }
@keyframes pre-bar { from { transform: scaleX(0); } }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.top.is-scrolled { box-shadow: 0 8px 24px -16px color-mix(in srgb, var(--navy) 40%, transparent); }
.top__in { height: var(--top-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; margin-right: auto; }
.brand__mark { width: 38px; height: auto; }
.brand__txt { display: grid; padding-left: 12px; border-left: 2px solid var(--logo-navy); line-height: 1; }
.brand__txt b { font: 800 19px/1 var(--head); color: var(--logo-navy); letter-spacing: -.01em; }
.brand__txt i { font: 700 8.6px/1 var(--head); font-style: normal; color: #465165; letter-spacing: .27em; margin-top: 5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { font: 600 14.5px/1 var(--head); color: color-mix(in srgb, var(--navy) 82%, transparent); position: relative; padding: 8px 0; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--g-pipe); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:hover { color: var(--navy); }
.nav > a:hover::after { transform: none; }

.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.langs a { min-width: 34px; height: 28px; display: grid; place-items: center; padding: 0 8px; border-radius: 999px; font: 700 12px/1 var(--head); color: var(--mute); letter-spacing: .04em; }
.langs a:hover { color: var(--navy); }
.langs a[aria-current] { background: var(--navy); color: #fff; }
.langs--menu { display: none; }

.top__tel { display: inline-flex; align-items: center; gap: 8px; font: 700 14.5px/1 var(--head); color: var(--navy); white-space: nowrap; }
.top__tel svg { width: 18px; height: 18px; color: var(--blue); }
.top__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-content: center; gap: 5px; background: var(--bg); }
.burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .top__tel span { display: none; }
  .top__tel { width: 42px; height: 42px; justify-content: center; border-radius: 12px; background: var(--bg); }
  .nav { gap: 20px; }
}
@media (max-width: 1020px) {
  .burger { display: grid; }
  .langs--top { display: none; }
  .nav {
    position: fixed; inset: var(--top-h) 0 0 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px var(--gut) 40px; background: #fff;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav > a { font-size: 22px; font-weight: 700; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--navy); }
  .nav > a::after { display: none; }
  .langs--menu { display: flex; align-self: flex-start; margin-top: 24px; }
  .langs--menu a { min-width: 52px; height: 40px; font-size: 14px; }
}
@media (max-width: 560px) {
  :root { --top-h: 64px; }
  .top__in { gap: 10px; }
  .brand__mark { width: 32px; }
  .brand__txt { padding-left: 10px; }
  .brand__txt b { font-size: 16px; }
  .brand__txt i { font-size: 7.2px; letter-spacing: .22em; }
  .top__cta { display: none; }
}

/* ---------- hero ---------- */

.hero { position: relative; isolation: isolate; min-height: clamp(560px, calc(100svh - var(--top-h) - 40px), 760px); display: flex; align-items: center; color: #fff; background: var(--navy); }
.hero__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--navy) 94%, transparent) 0%, color-mix(in srgb, var(--navy) 84%, transparent) 34%, color-mix(in srgb, var(--navy) 30%, transparent) 64%, color-mix(in srgb, var(--navy) 6%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--navy) 55%, transparent) 0%, transparent 34%);
}
.hero__in { padding: 72px 0 112px; }
.hero h1 { color: #fff; font-size: clamp(36px, 4.7vw, 66px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; max-width: 15.5em; margin-top: 22px; text-wrap: balance; }
.hero h1 em { background: var(--g-text-light); -webkit-background-clip: text; background-clip: text; }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(16.5px, 1.35vw, 19px); color: rgba(255, 255, 255, .84); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.stats-wrap { position: relative; z-index: 2; margin-top: -58px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.stats li { padding: 26px 28px; display: grid; gap: 6px; align-content: start; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font: 800 clamp(26px, 2.6vw, 36px)/1 var(--head); letter-spacing: -.02em; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 14.5px; line-height: 1.4; color: var(--mute); }

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, color-mix(in srgb, var(--navy) 96%, transparent) 0%, color-mix(in srgb, var(--navy) 86%, transparent) 46%, color-mix(in srgb, var(--navy) 30%, transparent) 100%); }
  .hero__img img { object-position: 70% 50%; }
  .hero__in { padding: 140px 0 96px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stats li { padding: 18px 18px; }
}

/* ---------- sections ---------- */

.sec { position: relative; padding: clamp(76px, 9vw, 124px) 0; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.head__lead { font-size: 18px; color: var(--mute); max-width: 40em; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- the schema: A-TECH MIX on top, four directions below (the owner's drawing) ---------- */

.tree { background: var(--bg); padding-top: clamp(96px, 10vw, 140px); }
.schema { --gap: 22px; --drop: 38px; position: relative; }
.schema__root {
  position: relative; width: max-content; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 18px; border-radius: 18px;
  background: var(--g-navy); color: #fff; box-shadow: var(--shadow);
}
.schema__mark { width: 34px; height: auto; }
.schema__root b { font: 800 19px/1 var(--head); letter-spacing: .01em; }
/* trunk from the root down to the bar */
.schema__root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: var(--drop); margin-left: -1.5px; background: linear-gradient(var(--navy), color-mix(in srgb, var(--blue) 50%, var(--red))); }

.schema__nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-top: calc(var(--drop) * 2); }
/* the bar, from the first card's centre to the last one's */
.schema__nodes::before {
  content: ""; position: absolute; top: var(--drop); height: 3px; border-radius: 3px;
  left: calc((100% - 3 * var(--gap)) / 8); right: calc((100% - 3 * var(--gap)) / 8);
  background: var(--g-pipe);
}
.node { position: relative; display: flex; }
.node::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 3px; height: var(--drop); margin-left: -1.5px; background: var(--c); }
.node::after { content: ""; position: absolute; left: 50%; top: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff; border: 3px solid var(--c); z-index: 1; }
.node:nth-child(1) { --c: var(--blue); }
.node:nth-child(2) { --c: color-mix(in srgb, var(--blue) 66%, var(--red)); }
.node:nth-child(3) { --c: color-mix(in srgb, var(--blue) 33%, var(--red)); }
.node:nth-child(4) { --c: var(--red); }

.node__card {
  display: flex; flex-direction: column; width: 100%;
  background: #fff; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.node__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.node__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.node__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.node__card:hover .node__img img { transform: scale(1.04); }
.node__card:hover .more svg { transform: translateX(3px); }
.node__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; flex: 1; }
.node__top { display: flex; align-items: center; justify-content: space-between; margin-top: -42px; }
.node__top .tile { width: 52px; height: 52px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.node__no { font: 700 13px/1 var(--head); color: var(--mute); letter-spacing: .08em; margin-top: 30px; }
.node__title { font: 800 19px/1.2 var(--head); color: var(--navy); letter-spacing: -.01em; }
.node__text { font-size: 15px; line-height: 1.5; color: var(--mute); flex: 1; }
.node .more { margin-top: 6px; }

@media (max-width: 1020px) {
  .schema { --drop: 28px; }
  .schema__root { margin: 0; }
  .schema__root::after { left: 34px; height: calc(100% + var(--drop)); top: 50%; z-index: -1; }
  .schema__nodes { grid-template-columns: 1fr; gap: 16px; padding: var(--drop) 0 0 74px; }
  .schema__nodes::before { top: 0; bottom: 60px; left: 33px; right: auto; width: 3px; height: auto; background: linear-gradient(var(--blue), var(--red)); }
  .node::before { left: -40px; bottom: auto; top: 50%; width: 40px; height: 3px; margin: -1.5px 0 0; }
  .node::after { left: -40px; top: 50%; }
  .node__card { flex-direction: row; }
  .node__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
  .node__top { margin-top: 0; }
  .node__top .tile { width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--line); background: var(--tint); }
  .node__no { margin-top: 0; }
}
@media (max-width: 560px) {
  .schema__nodes { padding-left: 46px; }
  .schema__root::after { left: 26px; }
  .schema__nodes::before { left: 19px; }
  .node::before { left: -27px; width: 27px; }
  .node::after { left: -27px; }
  .node__card { flex-direction: column; }
  .node__img { flex: none; aspect-ratio: 16 / 8; min-height: 0; }
  .node__body { padding: 16px 16px 18px; }
}

/* ---------- one section per direction ---------- */

.dir { padding: clamp(72px, 8.5vw, 116px) 0; background: #fff; }
#heating { background: #fff; }
#gas { background: var(--bg); }
#water { background: #fff; }
#structures { background: var(--bg); }
.dir__in { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.dir--flip .dir__img { order: 2; }
.dir__img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--tint); }
.dir__img img { width: 100%; height: 100%; object-fit: cover; }
/* the pipes again: a blue and a red line along the photo's bottom edge */
.dir__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--g-pipe); }
.dir__no { display: flex; align-items: center; gap: 14px; font: 700 13px/1 var(--head); color: var(--mute); letter-spacing: .1em; }
.dir__no .tile { width: 52px; height: 52px; border-radius: 15px; }
.dir__no .tile svg { width: 32px; height: 32px; }
.dir h2 { margin-top: 22px; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.dir__lead { margin-top: 18px; font-size: 18px; color: var(--text); max-width: 34em; }
.checks { display: grid; gap: 12px; margin: 26px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--text); line-height: 1.45; }
.checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--tint); color: var(--blue); margin-top: 0; }
.sizes { margin-top: 26px; }
.sizes p { font: 700 12px/1.3 var(--head); color: var(--mute); letter-spacing: .12em; text-transform: uppercase; }
.sizes ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sizes li { font: 700 14px/1 var(--head); color: var(--navy); padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.dir .btn { margin-top: 32px; }

@media (max-width: 900px) {
  .dir__in { grid-template-columns: 1fr; }
  .dir--flip .dir__img { order: 0; }
  .dir__img { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .dir .btn { width: 100%; }
}

/* ---------- wide photo band ---------- */

.band { position: relative; isolation: isolate; min-height: clamp(320px, 40vw, 500px); display: flex; align-items: center; background: var(--navy); }
.band__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--navy) 88%, transparent) 0%, color-mix(in srgb, var(--navy) 55%, transparent) 55%, color-mix(in srgb, var(--navy) 20%, transparent) 100%); }
.band__in p { max-width: 15em; font: 800 clamp(28px, 3.8vw, 54px)/1.1 var(--head); letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.band em { background: var(--g-text-light); -webkit-background-clip: text; background-clip: text; }

/* ---------- materials ---------- */

.mat__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.mat__head .head { margin-bottom: 32px; }
.mat__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); background: var(--tint); }
.mat__img img { width: 100%; height: 100%; object-fit: cover; }
.mat__list { display: grid; gap: 16px; padding-top: 8px; }
.mat__list li { display: flex; gap: 20px; align-items: flex-start; padding: 26px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.mat__list .tile { background: #fff; }
.mat__list h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.mat__list p { margin-top: 8px; font-size: 15.5px; color: var(--mute); }
@media (max-width: 900px) { .mat__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mat__list li { flex-direction: column; gap: 14px; padding: 22px; } }

/* ---------- projects ---------- */

.proj { background: var(--bg); }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clients li {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 24px 22px 22px 24px; border-radius: var(--r); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.clients li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--blue), var(--red)); }
.clients b { font: 800 16.5px/1.3 var(--head); color: var(--navy); }
.clients span { font-size: 14.5px; color: var(--mute); line-height: 1.45; }
@media (max-width: 1020px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } }

/* ---------- trust (dark) ---------- */

.sec--dark { background: var(--g-navy); color: rgba(255, 255, 255, .8); }
.sec--dark h2 { color: #fff; }
.sec--dark h2 em { background: var(--g-text-light); -webkit-background-clip: text; background-clip: text; }
.sec--dark .eyebrow { color: var(--blue-hi); }
.quote {
  position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.quote__mark { width: 44px; height: 33px; color: var(--red); }
.quote blockquote p { margin-top: 20px; font: 700 clamp(22px, 2.5vw, 34px)/1.3 var(--head); color: #fff; letter-spacing: -.015em; max-width: 30em; }
.quote figcaption { display: grid; gap: 4px; margin-top: 24px; font-size: 15px; }
.quote figcaption b { color: #fff; font-family: var(--head); }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.certs li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.certs b { display: block; font: 700 16px/1.3 var(--head); color: #fff; }
.certs span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .66); }
@media (max-width: 1020px) { .certs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .certs { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */

.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.form { position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__fields { display: grid; gap: 16px; }
.form__title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font: 700 13px/1.2 var(--head); color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  font: 500 16px/1.4 var(--body); color: var(--navy);
  background: var(--bg); border: 1.5px solid transparent; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23031837' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent); }
.field.is-bad input { border-color: var(--red); background-color: var(--tint-red); }
.field textarea::placeholder { color: color-mix(in srgb, var(--navy) 38%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { padding: 12px 14px; border-radius: 12px; background: var(--tint-red); color: color-mix(in srgb, var(--red) 80%, var(--navy)); font-size: 15px; font-weight: 600; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form__note { flex: 1 1 220px; font-size: 13.5px; color: var(--mute); }
.form button[disabled] { opacity: .7; pointer-events: none; }
.form__done { display: grid; justify-items: start; gap: 14px; padding: 12px 0; }
.form__done:focus { outline: none; }
.form__ok { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--g-blue); color: #fff; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--blue) 70%, transparent); }
.form__ok svg { width: 30px; height: 30px; }
.form__done h3 { font-size: 26px; font-weight: 800; }
.form__done p { color: var(--text); }
.form__done b { font-family: var(--head); color: var(--navy); }

.contact__side { display: grid; gap: 16px; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ways a, .ways__plain { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.ways a:hover { border-color: color-mix(in srgb, var(--blue) 40%, transparent); background: #fff; }
.ways .tile { background: #fff; color: var(--blue); }
.ways .tile svg { width: 22px; height: 22px; }
.ways a > span:last-child, .ways__plain > span:last-child { display: grid; gap: 3px; min-width: 0; }
.ways i { font-style: normal; font-size: 12.5px; color: var(--mute); }
.ways b { font: 700 15px/1.25 var(--head); color: var(--navy); overflow-wrap: anywhere; }
.map { position: relative; height: 330px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__card { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.map__card svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.map__card span { display: grid; gap: 2px; }
.map__card b { font: 700 14.5px/1.3 var(--head); color: var(--navy); }
.map__card i { font-style: normal; font-size: 13px; color: var(--blue); font-weight: 700; }
@media (max-width: 980px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row, .ways { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}

/* ---------- footer ---------- */

.foot { background: var(--navy); color: rgba(255, 255, 255, .66); padding: 56px 0 40px; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 26px 40px; align-items: center; }
.foot .brand__txt { border-left-color: rgba(255, 255, 255, .7); }
.foot .brand__txt b { color: #fff; }
.foot .brand__txt i { color: rgba(255, 255, 255, .6); }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font: 600 14px/1 var(--head); }
.foot__nav a { color: rgba(255, 255, 255, .78); }
.foot__nav a:hover { color: #fff; }
.langs--foot { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.langs--foot a { color: rgba(255, 255, 255, .7); }
.langs--foot a[aria-current] { background: #fff; color: var(--navy); }
.foot__legal { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; line-height: 1.7; }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 28px; }
.foot__copy, .foot__made { font-size: 13px; color: rgba(255, 255, 255, .45); }
.foot__made a { color: rgba(255, 255, 255, .86); font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 1px; transition: color .2s ease, border-color .2s ease; }
.foot__made a:hover, .foot__made a:focus-visible { color: #fff; border-bottom-color: var(--blue); }
@media (max-width: 900px) {
  .foot__in { grid-template-columns: 1fr; justify-items: start; }
  .foot__nav { justify-content: flex-start; }
}

/* ---------- phone dock: call + request, always at hand ---------- */

.dock { display: none; }
@media (max-width: 720px) {
  .foot { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px color-mix(in srgb, var(--navy) 45%, transparent);
  }
  .dock a { flex: 1; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font: 700 15px/1 var(--head); }
  .dock svg { width: 18px; height: 18px; }
  .dock__call { flex: 0 0 auto !important; padding: 0 20px; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
  .dock__cta { background: var(--g-blue); color: #fff; }
  .menu-open .dock { display: none; }
}

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