@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  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: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
  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;
}
.__variable_inter_05wdiwk { --font-inter: "Inter", sans-serif; }
.__variable_unbounded_1slecv0 { --font-unbounded: "Unbounded", sans-serif; }



:root {
  /* цвет */
  --c-bg-dark: #383E42;
  --c-bg-darker: #2C3134;
  --c-bg-light: #F4F4F2;
  --c-surface: #FFFFFF;
  --c-text-on-dark: #F4F4F2;
  --c-text-on-light: #24282B;
  --c-text-muted: #9AA0A3;
  --c-accent: #5B7C99;
  --c-accent-hover: #4A6884;
  --c-line: #4A5156;
  --c-error: #C4453C;

  /* типографика: OFL */
  --font-display: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;
  --fs-h1: clamp(34px, 5vw, 64px);
  --fs-h2: clamp(26px, 3.5vw, 44px);
  --fs-h3: 20px;
  --fs-body: 17px;
  --fs-small: 14px;

  /* сетка */
  --container: 1240px;
  --gutter: 24px;
  --sp-section: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--c-bg-dark);
  color: var(--c-text-on-light);
  font-family: var(--font-inter), var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

::selection {
  background: var(--c-accent);
  color: var(--c-text-on-dark);
}

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(420px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(244, 244, 242, 0.24);
  background: rgba(31, 37, 40, 0.96);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  color: var(--c-text-on-dark);
}

.cookie-consent p {
  margin: 0;
  color: rgba(244, 244, 242, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-consent div {
  display: flex;
  margin-top: 14px;
  gap: 10px;
}

.cookie-consent button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(244, 244, 242, 0.44);
  background: transparent;
  color: var(--c-text-on-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.cookie-consent [data-analytics-accept] {
  border-color: var(--c-accent);
  background: var(--c-accent);
}

.cookie-consent button:hover,
.cookie-consent button:focus-visible {
  border-color: var(--c-text-on-dark);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--sp-section);
  overflow: clip;
}

.section-light {
  background: var(--c-bg-light);
  color: var(--c-text-on-light);
}

.section-surface {
  background: var(--c-surface);
  color: var(--c-text-on-light);
}

.section-dark {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  animation: reveal-in 0.7s both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrow {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  transition: transform 0.25s ease;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 18px 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button:hover .arrow,
.button:focus-visible .arrow {
  transform: translate(3px, -3px);
}

.button--primary {
  background: var(--c-accent);
  color: var(--c-text-on-dark);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--c-accent-hover);
}

.button--secondary {
  border-color: color-mix(in srgb, var(--c-text-on-dark) 42%, transparent);
  background: transparent;
  color: var(--c-text-on-dark);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--c-text-on-dark);
  background: color-mix(in srgb, var(--c-text-on-dark) 8%, transparent);
}

.button:focus-visible,
.header a:focus-visible,
.burger:focus-visible,
.faq button:focus-visible,
.style-tile-trigger:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-accent) 72%, white);
  outline-offset: 3px;
}

.logo {
  display: grid;
  width: max-content;
  grid-template-columns: 31px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}

.logo__mark {
  position: relative;
  display: flex;
  width: 31px;
  height: 35px;
  grid-row: 1 / 3;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 100%, 0 100%);
}

.logo__mark i {
  display: block;
  width: 4px;
  background: color-mix(in srgb, var(--c-accent) 66%, white);
}

.logo__mark i:nth-child(1) { height: 15px; }
.logo__mark i:nth-child(2) { height: 23px; }
.logo__mark i:nth-child(3) { height: 11px; }

.logo__word {
  align-self: end;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.logo__descriptor {
  align-self: start;
  margin-top: 4px;
  color: var(--c-text-muted);
  font-size: 8px;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.logo--compact {
  grid-template-columns: 28px auto;
  grid-template-rows: auto;
}

.logo--compact .logo__mark {
  width: 28px;
  height: 31px;
  grid-row: auto;
}

.logo--compact .logo__word {
  align-self: center;
  font-size: 16px;
}

/* Header/Sticky */
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(44, 49, 52, 0.82);
  color: var(--c-text-on-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  display: grid;
  width: min(100% - (var(--gutter) * 2), var(--container));
  height: 84px;
  margin-inline: auto;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.8vw, 28px);
}

.header__nav a,
.header__phone {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.header__nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--c-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header__nav a:hover::after {
  transform: scaleX(1);
}

.header__phone {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 11px;
}

.header__cta {
  min-height: 42px;
  padding-inline: 16px;
  gap: 14px;
}

.header__cta .arrow {
  display: none;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  width: 20px;
  height: 1px;
  background: var(--c-text-on-dark);
  transition: transform 0.25s ease;
}

.burger span:first-child {
  transform: translateY(-4px);
}

.burger span:last-child {
  transform: translateY(4px);
}

.burger.is-open span:first-child {
  transform: rotate(45deg);
}

.burger.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 26px var(--gutter) 30px;
  background: var(--c-bg-darker);
  color: var(--c-text-on-dark);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: grid;
  min-height: 62px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 17px;
}

.mobile-menu nav a span {
  color: color-mix(in srgb, var(--c-accent) 68%, white);
  font-family: var(--font-inter), var(--font-body);
  font-size: 11px;
}

.mobile-menu__footer {
  position: absolute;
  right: var(--gutter);
  bottom: 30px;
  left: var(--gutter);
  display: grid;
  gap: 18px;
}

.mobile-menu__footer > a:first-child {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 18px;
}

.mobile-menu__cta {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 920px;
  padding-top: 72px;
  overflow: hidden;
}

.hero__media,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__media {
  overflow: hidden;
}

.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero__video {
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero__media.is-video-ready .hero__video {
  opacity: 1;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 38, 41, 0.96) 0%, rgba(39, 44, 47, 0.87) 37%, rgba(44, 49, 52, 0.42) 67%, rgba(44, 49, 52, 0.38) 100%),
    linear-gradient(180deg, rgba(44, 49, 52, 0.18), rgba(44, 49, 52, 0.73));
  pointer-events: none;
}

.hero__media {
  background-image:
    linear-gradient(90deg, rgba(34, 38, 41, 0.96) 0%, rgba(39, 44, 47, 0.87) 37%, rgba(44, 49, 52, 0.42) 67%, rgba(44, 49, 52, 0.38) 100%),
    linear-gradient(180deg, rgba(44, 49, 52, 0.18), rgba(44, 49, 52, 0.73)),
    url("/assets/object-01-01.webp");
  background-position: center;
  background-size: cover;
}

.hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-position: center;
  background-size: calc(min(100vw - 48px, var(--container)) / 12) 100%;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero__inner {
  position: relative;
  min-height: 848px;
  padding-top: 52px;
  padding-bottom: 0;
}

.hero__kicker {
  display: flex;
  justify-content: space-between;
  color: rgba(244, 244, 242, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__content {
  width: min(880px, 80%);
  padding-top: 92px;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-wrap: balance;
}

.hero__content > p {
  max-width: 690px;
  margin: 34px 0 0;
  color: rgba(244, 244, 242, 0.76);
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero__caption {
  position: absolute;
  right: 0;
  top: 69%;
  display: grid;
  padding: 10px 12px;
  border-left: 2px solid color-mix(in srgb, var(--c-accent) 66%, white);
  background: rgba(44, 49, 52, 0.66);
  color: rgba(244, 244, 242, 0.72);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.stat-row {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 142px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(44, 49, 52, 0.54);
  backdrop-filter: blur(12px);
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: color-mix(in srgb, var(--c-accent) 60%, white);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat span {
  margin-top: 12px;
  color: rgba(244, 244, 242, 0.64);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* SectionTitle */
.section-title {
  display: grid;
  margin-bottom: clamp(46px, 6vw, 76px);
  grid-template-columns: 1fr 3fr;
  gap: 32px;
}

.section-title__eyebrow {
  display: flex;
  height: max-content;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  color: #697075;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title__eyebrow i {
  display: block;
  width: min(84px, 8vw);
  height: 1px;
  background: var(--c-accent);
}

.section-title--light .section-title__eyebrow,
.section-dark .section-title__eyebrow {
  color: rgba(244, 244, 242, 0.56);
}

.section-title__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.section-title h2,
.lead-copy h2 {
  margin: 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-wrap: balance;
}

.section-title p {
  max-width: 420px;
  margin: 0;
  color: #686e72;
  font-size: 15px;
  line-height: 1.65;
}

.section-title--light p {
  color: rgba(244, 244, 242, 0.6);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #cfd1ce;
  border-left: 1px solid #cfd1ce;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 28px;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid #cfd1ce;
  border-bottom: 1px solid #cfd1ce;
  background: var(--c-bg-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card--linked {
  cursor: pointer;
}

.service-card--linked .service-card__footer a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.service-card--linked:has(.service-card__footer a:focus-visible) {
  outline: 3px solid var(--c-accent);
  outline-offset: -3px;
}

.service-card--linked .service-card__footer a:focus-visible {
  outline: none;
}

.service-card:hover {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  color: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 12px;
}

.service-card__body {
  align-self: end;
  padding: 36px 0 42px;
}

.service-card h3 {
  max-width: 500px;
  margin: 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.service-card p {
  max-width: 490px;
  margin: 22px 0 0;
  color: #73797d;
  font-size: 15px;
}

.service-card:hover p {
  color: rgba(244, 244, 242, 0.62);
}

.service-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #cfd1ce;
}

.service-card:hover .service-card__footer {
  border-color: var(--c-line);
}

.service-card__footer strong {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 15px;
  font-weight: 550;
}

.service-card__footer a {
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

/* Calculator */
.calculator-section {
  background: var(--c-bg-dark);
}

.calculator {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border: 1px solid var(--c-line);
}

.calculator__controls {
  display: grid;
  padding: clamp(28px, 4vw, 56px);
  grid-template-rows: auto 1fr;
  gap: 60px;
}

.calculator__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--c-line);
}

.calculator__tabs button {
  min-height: 70px;
  padding: 0 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--c-text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.calculator__tabs button.is-active {
  border-bottom-color: color-mix(in srgb, var(--c-accent) 62%, white);
  color: var(--c-text-on-dark);
}

.calculator__area {
  align-self: center;
}

.calculator__label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.calculator__label label {
  color: rgba(244, 244, 242, 0.64);
  font-size: 13px;
}

.calculator__input-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.calculator__input-wrap input {
  width: 145px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text-on-dark);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 35px;
  font-weight: 550;
  text-align: right;
  outline: 0;
  appearance: textfield;
}

.calculator__input-wrap input::-webkit-outer-spin-button,
.calculator__input-wrap input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.calculator__input-wrap span {
  color: var(--c-text-muted);
  font-size: 13px;
}

.calculator__range {
  width: 100%;
  height: 2px;
  margin: 50px 0 0;
  appearance: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--c-accent) 68%, white) var(--range-progress),
    var(--c-line) var(--range-progress)
  );
  cursor: pointer;
}

.calculator__range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 5px solid var(--c-bg-dark);
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-accent) 68%, white);
  outline: 1px solid color-mix(in srgb, var(--c-accent) 68%, white);
  appearance: none;
}

.calculator__range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 5px solid var(--c-bg-dark);
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-accent) 68%, white);
}

.calculator__range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--c-text-muted);
  font-size: 10px;
}

.calculator__result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
  border-left: 1px solid var(--c-line);
  background: var(--c-bg-darker);
}

.calculator__result > span {
  color: rgba(244, 244, 242, 0.52);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.calculator__result > strong {
  margin-top: 28px;
  color: color-mix(in srgb, var(--c-accent) 58%, white);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.calculator__result > p {
  max-width: 370px;
  margin: 30px 0 0;
  color: rgba(244, 244, 242, 0.58);
  font-size: 13px;
}

.calculator__result .button {
  width: max-content;
  max-width: 100%;
  margin-top: 34px;
}

.estimator-summary {
  display: grid;
  max-width: 370px;
  margin-top: 24px;
  gap: 6px;
}

.estimator-summary span {
  color: rgba(244, 244, 242, 0.46);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.estimator-summary strong {
  color: var(--c-text-on-dark);
  font-size: 13px;
  font-weight: 650;
}

/* Objects */
.objects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px 20px;
}

.object-card {
  grid-column: span 6;
}

.object-card:first-child,
.object-card:nth-child(2),
.object-card:nth-child(3),
.object-card:nth-child(4) {
  grid-column: span 6;
}

.object-card__visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-bg-dark);
}

.object-card__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(20, 24, 27, 0.72));
  content: "";
}

.object-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.object-card:hover .object-card__visual img {
  transform: scale(1.025);
}

.object-card__overlay,
.object-card__index {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.object-card__overlay {
  right: 16px;
  bottom: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--c-accent);
}

.object-card__index {
  top: 16px;
  left: 16px;
  padding: 6px 8px;
  background: rgba(44, 49, 52, 0.72);
  backdrop-filter: blur(6px);
}

.object-card__content {
  display: grid;
  padding-top: 22px;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.object-card h3 {
  margin: 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 560;
  letter-spacing: -0.035em;
}

.object-card ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  list-style: none;
}

.object-card li {
  color: #6a7074;
  font-size: 11px;
  white-space: nowrap;
}

.object-card li::before {
  margin-right: 7px;
  color: var(--c-accent);
  content: "—";
}

/* Materials */
.materials-section {
  padding-top: 0;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d5d7d4;
  border-left: 1px solid #d5d7d4;
}

.material-tile {
  display: grid;
  min-height: 260px;
  padding: 24px;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid #d5d7d4;
  border-bottom: 1px solid #d5d7d4;
  background: var(--c-surface);
  overflow: hidden;
  transition: background-color 0.25s ease;
}

.material-tile:hover {
  background: var(--c-bg-light);
}

.material-tile__technical {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 11px;
}

.material-tile__technical i {
  display: block;
  width: 44px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--c-accent) 0 2px, transparent 2px 7px);
  opacity: 0.52;
}

.material-tile h3 {
  max-width: 280px;
  margin: 36px 0 30px;
  align-self: end;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.material-tile__footer {
  display: flex;
  padding-top: 16px;
  justify-content: space-between;
  border-top: 1px solid #d5d7d4;
  font-size: 11px;
}

.material-tile__footer span {
  color: #858a8d;
}

.material-tile__footer strong {
  font-weight: 700;
}

.materials-cta {
  display: grid;
  margin-top: 38px;
  padding-top: 28px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #d5d7d4;
}

.materials-cta p {
  max-width: 600px;
  margin: 0;
  color: #6b7175;
  font-size: 14px;
}

/* Company */
.company-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 48px 48px,
    var(--c-bg-dark);
}

.principles {
  display: grid;
  border-top: 1px solid var(--c-line);
}

.principle {
  display: grid;
  min-height: 132px;
  padding: 28px 0;
  grid-template-columns: 1fr 2.2fr 2fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--c-line);
}

.principle > span {
  color: color-mix(in srgb, var(--c-accent) 60%, white);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 520;
  letter-spacing: -0.05em;
}

.principle h3 {
  margin: 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.principle p {
  max-width: 460px;
  margin: 0;
  color: rgba(244, 244, 242, 0.56);
  font-size: 14px;
}

.company-about {
  display: grid;
  margin-top: clamp(58px, 8vw, 110px);
  grid-template-columns: minmax(190px, 0.85fr) minmax(0, 2.4fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}

.company-about::after,
.company-about .founder-carousel {
  order: -1;
  justify-self: start;
}

.company-about__copy {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.company-about__brand {
  position: relative;
  width: max-content;
  margin: 0;
  padding-bottom: 14px;
  color: var(--c-text-on-dark);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.company-about__brand::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(120px, 42%);
  height: 3px;
  background: var(--c-accent);
  content: "";
}

.company-about p {
  max-width: 920px;
  margin: 0;
  color: rgba(244, 244, 242, 0.88);
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 420;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.company-about__portrait-placeholder,
.company-about::after {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 5;
  padding: 18px;
  overflow: hidden;
  align-items: flex-end;
  border: 1px solid var(--c-line);
  background:
    radial-gradient(circle at 50% 35%, transparent 0 18%, rgba(154, 160, 163, 0.28) 18.3% 18.8%, transparent 19.1%),
    radial-gradient(ellipse at 50% 81%, transparent 0 31%, rgba(154, 160, 163, 0.28) 31.3% 31.8%, transparent 32.1%),
    linear-gradient(135deg, transparent 49.8%, rgba(154, 160, 163, 0.13) 50%, transparent 50.2%),
    linear-gradient(rgba(154, 160, 163, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 160, 163, 0.08) 1px, transparent 1px),
    var(--c-bg-darker);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px, 32px 32px, auto;
}

.company-about::after {
  content: "";
  background:
    linear-gradient(180deg, transparent 68%, rgba(44, 49, 52, 0.24)),
    url("/assets/founder-02.webp") center top / cover no-repeat;
}

.company-about.has-founder-carousel::after {
  display: none;
}

.founder-carousel {
  position: relative;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-bg-darker);
  touch-action: pan-y;
}

.founder-carousel::after {
  position: absolute;
  z-index: 1;
  inset: 58% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(44, 49, 52, 0.48));
  content: "";
}

.founder-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 0.38s ease, transform 0.55s ease, visibility 0.38s;
}

.founder-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.founder-carousel__controls {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 42px auto 42px;
  align-items: center;
  gap: 7px;
}

.founder-carousel__controls button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(244, 244, 242, 0.42);
  border-radius: 0;
  background: rgba(44, 49, 52, 0.82);
  color: var(--c-text-on-dark);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.founder-carousel__controls button:hover,
.founder-carousel__controls button:focus-visible {
  border-color: var(--c-text-on-dark);
  background: var(--c-accent-hover);
}

.founder-carousel__controls button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.founder-carousel__counter {
  min-width: 58px;
  color: var(--c-text-on-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .founder-carousel__slide {
    transition: none;
  }
}

/* Multi-page migration layer */
.breadcrumbs {
  padding-top: 118px;
  color: color-mix(in srgb, var(--c-text-on-dark) 62%, transparent);
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  color: var(--c-accent);
  content: "/";
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--c-text-on-dark);
}

.internal-hero {
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--c-accent) 11%, transparent), transparent 42%),
    var(--c-bg-dark);
}

.internal-hero__inner {
  display: flex;
  min-height: inherit;
  flex-direction: column;
}

.internal-hero .hero__kicker {
  margin-top: auto;
}

.internal-hero__content {
  max-width: 1060px;
  padding: 46px 0 86px;
}

.internal-hero__content h1,
.legal-page h1 {
  max-width: 1040px;
  margin: 0;
  color: var(--c-text-on-dark);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.internal-hero__content > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: color-mix(in srgb, var(--c-text-on-dark) 78%, transparent);
  font-size: clamp(17px, 1.4vw, 22px);
}

.internal-hero__content .hero__actions {
  margin-top: 38px;
}

.internal-overview__grid .service-card {
  min-height: 330px;
}

.form-delivery-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--c-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.legal-page {
  min-height: 100vh;
  padding: 110px 0;
}

.legal-page__inner {
  width: min(100% - 48px, 920px);
}

.legal-page__eyebrow,
.legal-page__updated {
  color: var(--c-text-muted);
}

.legal-page h1 {
  margin-bottom: 26px;
}

.legal-page h2 {
  margin: 46px 0 14px;
  color: var(--c-text-on-dark);
  font-size: 22px;
}

.legal-page p,
.legal-page li {
  color: color-mix(in srgb, var(--c-text-on-dark) 78%, transparent);
}

.legal-page a:not(.button) {
  color: color-mix(in srgb, var(--c-accent) 65%, white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .button {
  margin-top: 42px;
}

.not-found {
  min-height: 100vh;
}

/* Direction landing pages */
.direction-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.direction-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 34, 36, .96) 0%, rgba(29, 34, 36, .78) 48%, rgba(29, 34, 36, .38) 100%);
  content: "";
}

.direction-hero__media,
.direction-hero__media img,
.direction-hero__media .hero__video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.direction-hero__media img {
  object-fit: cover;
  filter: saturate(.62) contrast(1.05);
}

.direction-hero__media .hero__video {
  opacity: 0;
  transition: opacity 400ms ease;
}

.direction-hero__media.is-video-ready .hero__video {
  opacity: 1;
}

.direction-hero__inner {
  display: flex;
  min-height: inherit;
  flex-direction: column;
}

.direction-hero__content {
  max-width: 890px;
  margin: auto 0 0;
  padding: 52px 0 54px;
}

.direction-hero__content .hero__kicker {
  justify-content: flex-start;
  gap: 42px;
}

.direction-hero__content h1 {
  max-width: 1040px;
  margin: 28px 0 0;
  color: var(--c-text-on-dark);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-transform: uppercase;
}

.direction-hero__content p {
  max-width: 720px;
  margin: 28px 0 0;
  color: color-mix(in srgb, var(--c-text-on-dark) 82%, transparent);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
}

.direction-hero__content .hero__actions {
  margin-top: 34px;
}

.direction-hero__facts {
  display: grid;
  margin: 0;
  padding: 26px 0 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 244, 242, .25);
  color: rgba(244, 244, 242, .72);
  font-size: 12px;
  gap: 24px;
  list-style: none;
  text-transform: uppercase;
}

.direction-hero__facts li::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--c-accent);
  content: "";
}

@media (min-width: 821px) {
  .direction-hero {
    height: clamp(860px, 47.5vw, 960px);
    min-height: 0;
  }

  .direction-hero__inner {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .direction-hero__content {
    align-self: center;
    margin: 0;
    padding: 32px 0 42px;
  }

  .direction-hero__content h1 {
    min-height: 4.32em;
  }

  .direction-hero__facts {
    min-height: 116px;
    align-items: center;
  }
}

.direction-focus__grid,
.direction-compare__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cfd1ce;
  border-left: 1px solid #cfd1ce;
}

.direction-focus__item,
.direction-compare__item {
  min-height: 300px;
  padding: clamp(26px, 3vw, 44px);
  border-right: 1px solid #cfd1ce;
  border-bottom: 1px solid #cfd1ce;
}

.direction-focus__item > span,
.direction-compare__item > span {
  color: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
}

.direction-focus__item h3,
.direction-compare__item h3 {
  margin: 70px 0 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: 1.18;
}

.direction-focus__item p,
.direction-compare__item p {
  margin: 20px 0 0;
  color: #687074;
  font-size: 14px;
  line-height: 1.65;
}

.direction-compare__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: rgba(244, 244, 242, .22);
}

.direction-compare__item {
  min-height: 270px;
  border-color: rgba(244, 244, 242, .22);
}

.direction-compare__item h3 {
  margin-top: 54px;
  color: var(--c-text-on-dark);
}

.direction-compare__item p {
  color: rgba(244, 244, 242, .66);
}

.direction-cases .object-card {
  background: rgba(244, 244, 242, .96);
}

@media (max-width: 820px) {
  .direction-hero { min-height: 680px; }
  .direction-hero::after { background: linear-gradient(90deg, rgba(29, 34, 36, .95), rgba(29, 34, 36, .64)); }
  .direction-hero__content { padding: 42px 0 44px; }
  .direction-hero__facts { grid-template-columns: 1fr; gap: 12px; }
  .direction-focus__grid,
  .direction-compare__grid { grid-template-columns: 1fr; }
  .direction-focus__item,
  .direction-compare__item { min-height: 230px; }
  .direction-focus__item h3,
  .direction-compare__item h3 { margin-top: 48px; }
}

@media (max-width: 820px) {
  .breadcrumbs { padding-top: 98px; }
  .internal-hero { min-height: 620px; }
  .internal-hero__content { padding-bottom: 64px; }
  .internal-hero__content .hero__actions { align-items: stretch; }
}

/* Content pages: reuse the established cards, grids and typography. */
.content-visual {
  padding: clamp(28px, 4vw, 56px) 0 0;
}

.content-visual figure {
  margin: 0;
}

.content-visual img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  filter: saturate(.78) contrast(1.03);
}

.content-visual figcaption {
  padding: 12px 0 0;
  color: #747b7f;
  font-size: 11px;
}

.content-card {
  min-height: 350px;
}

.content-card.service-card--linked {
  cursor: pointer;
}

.content-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d2d4d1;
  border-left: 1px solid #d2d4d1;
}

.content-detail {
  min-height: 380px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid #d2d4d1;
  border-bottom: 1px solid #d2d4d1;
}

.content-detail > span {
  color: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 12px;
}

.content-detail h2 {
  max-width: 560px;
  margin: clamp(62px, 8vw, 112px) 0 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 560;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.content-detail p {
  max-width: 600px;
  margin: 24px 0 0;
  color: #687074;
  line-height: 1.7;
}

.content-related .services-grid {
  border-color: var(--c-line);
}

.content-related .service-card {
  border-color: var(--c-line);
}

.content-related .service-card:not(:hover) {
  background: #31373a;
  color: var(--c-text-on-dark);
}

.content-related .service-card:not(:hover) p {
  color: rgba(244, 244, 242, .62);
}

.content-related .service-card__footer {
  border-color: var(--c-line);
}

.content-note {
  display: grid;
  margin-top: 52px;
  padding: 28px;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr);
  gap: 32px;
  border-left: 3px solid var(--c-accent);
  background: #e9edee;
}

.content-note strong {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 15px;
}

.content-note p {
  max-width: 720px;
  margin: 0;
  color: #626a6e;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cfd1ce;
  border-left: 1px solid #cfd1ce;
}

.contact-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid #cfd1ce;
  border-bottom: 1px solid #cfd1ce;
}

.contact-card > span {
  color: #747b7f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-card > a,
.contact-card > strong {
  display: block;
  margin-top: 68px;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 540;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.contact-card > a:hover,
.contact-card > a:focus-visible {
  color: var(--c-accent);
}

.contact-card p {
  margin: 22px 0 0;
  color: #687074;
  font-size: 14px;
}

.contact-map {
  display: grid;
  margin-top: 42px;
}

.contact-map iframe {
  width: 100%;
  min-height: 480px;
  border: 0;
  filter: grayscale(.2);
}

.contact-map a {
  width: max-content;
  margin-top: 16px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.content-about .company-about {
  margin-top: 0;
}

.content-projects-page .objects-grid {
  margin-top: 0;
}

@media (max-width: 900px) {
  .content-details__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .content-detail,
  .contact-card {
    min-height: 0;
  }

  .content-detail h2,
  .contact-card > a,
  .contact-card > strong {
    margin-top: 42px;
  }
}

@media (max-width: 620px) {
  .content-note {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 360px;
  }
}

.company-about__portrait-placeholder span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  padding-left: 10px;
  border-left: 2px solid var(--c-accent);
  color: var(--c-text-on-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.company-about__portrait-placeholder small {
  color: var(--c-text-muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.founder-quote {
  display: grid;
  min-height: 570px;
  margin: clamp(60px, 9vw, 120px) 0 0;
  grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--c-line);
  background: var(--c-bg-darker);
}

.founder-quote__portrait {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.founder-quote__portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(44, 49, 52, 0.78));
  content: "";
}

.founder-quote__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.72);
}

.founder-quote__portrait span {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  padding-left: 10px;
  border-left: 2px solid var(--c-accent);
  color: rgba(244, 244, 242, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-quote figcaption {
  display: flex;
  padding: clamp(36px, 5vw, 72px);
  flex-direction: column;
  justify-content: center;
}

.founder-quote__mark {
  height: 62px;
  color: color-mix(in srgb, var(--c-accent) 62%, white);
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
}

.founder-quote blockquote {
  margin: 24px 0 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 460;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.founder-quote__author {
  display: grid;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}

.founder-quote__author strong {
  font-size: 13px;
}

.founder-quote__author span {
  margin-top: 4px;
  color: var(--c-text-muted);
  font-size: 11px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cfd1ce;
  border-left: 1px solid #cfd1ce;
}

.step {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 26px;
  grid-template-rows: 1fr auto;
  border-right: 1px solid #cfd1ce;
  border-bottom: 1px solid #cfd1ce;
}

.step > .arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -11px;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-accent);
  color: white;
  font-size: 13px;
  transform: translateY(-50%);
}

.step__number {
  color: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.step h3 {
  display: grid;
  margin: 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.step h3 span {
  width: max-content;
  margin-top: 8px;
  padding: 4px 7px;
  background: var(--c-accent);
  color: white;
  font-family: var(--font-inter), var(--font-body);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step p {
  margin: 17px 0 0;
  color: #707679;
  font-size: 13px;
}

/* FAQ */
.faq-section {
  padding-top: 0;
}

.faq-layout .section-title {
  margin-bottom: 36px;
}

.faq {
  border-top: 1px solid #d2d4d1;
}

.faq__item {
  border-bottom: 1px solid #d2d4d1;
}

.faq__item button {
  display: grid;
  width: 100%;
  min-height: 94px;
  padding: 0;
  grid-template-columns: 64px 1fr 42px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--c-text-on-light);
  cursor: pointer;
  text-align: left;
}

.faq__item button > span {
  color: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 11px;
}

.faq__item button strong {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 520;
  letter-spacing: -0.03em;
}

.faq__item button i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #c9cbc8;
  border-radius: 50%;
  color: var(--c-accent);
  font-size: 22px;
  font-style: normal;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
}

.faq__answer p {
  max-width: 760px;
  margin: 0 64px 0;
  color: #686e72;
  font-size: 15px;
  overflow: hidden;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  padding-bottom: 32px;
  opacity: 1;
}

/* Lead */
.lead-section {
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.055) 50%, transparent calc(50% + 1px)),
    var(--c-bg-dark);
}

.lead-layout {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: clamp(48px, 8vw, 110px);
}

.lead-copy h2 {
  margin-top: 48px;
}

.lead-copy > p {
  max-width: 450px;
  margin: 28px 0 0;
  color: rgba(244, 244, 242, 0.6);
  font-size: 15px;
}

.lead-copy__contact {
  display: grid;
  margin-top: 76px;
  gap: 10px;
}

.lead-copy__contact span {
  color: rgba(244, 244, 242, 0.46);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead-copy__contact a {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 20px;
}

.form-field {
  position: relative;
  display: grid;
  gap: 9px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.lead-estimate-summary[hidden] {
  display: none;
}

.lead-estimate-summary {
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--c-accent) 42%, var(--c-line));
  background: color-mix(in srgb, var(--c-accent) 7%, transparent);
}

.lead-estimate-summary span,
.lead-estimate-summary strong {
  display: block;
}

.lead-estimate-summary span {
  color: var(--c-text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead-estimate-summary strong {
  margin-top: 7px;
  color: inherit;
  font-size: 14px;
}

.form-field label {
  color: rgba(244, 244, 242, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  background: transparent;
  color: var(--c-text-on-dark);
  outline: 0;
  transition: border-color 0.2s ease;
}

.form-field textarea {
  min-height: 94px;
  resize: vertical;
}

.form-field select {
  color-scheme: dark;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #747b7f;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, var(--c-accent) 66%, white);
}

.form-field input[aria-invalid="true"] {
  border-color: var(--c-error);
}

.form-error {
  position: absolute;
  right: 0;
  bottom: -21px;
  color: #ef8a82;
  font-size: 10px;
}

.file-control {
  display: grid;
  min-height: 70px;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 13px;
  border-bottom: 1px solid var(--c-line);
  cursor: pointer;
}

.file-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-control:has(input:focus-visible),
.consent:has(input:focus-visible) {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}

.file-control input:focus-visible + span,
.consent input:focus-visible + span {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.file-control > span {
  display: grid;
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid var(--c-line);
  color: color-mix(in srgb, var(--c-accent) 62%, white);
  font-size: 22px;
}

.file-control strong {
  align-self: end;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-control small {
  align-self: start;
  color: #72797d;
  font-size: 10px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent > span {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--c-line);
}

.consent input:checked + span {
  border: 5px solid var(--c-bg-dark);
  background: var(--c-accent);
  outline: 1px solid var(--c-accent);
}

.consent.has-error > span {
  border-color: var(--c-error);
}

.consent small {
  color: #8c9397;
  font-size: 10px;
}

.lead-form__submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-message {
  grid-column: 1 / -1;
  margin: -12px 0 0;
  color: #ef8a82;
  font-size: 11px;
}

.lead-success {
  display: flex;
  min-height: 430px;
  padding: clamp(34px, 5vw, 64px);
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--c-line);
  background: var(--c-bg-darker);
}

.lead-success > span {
  color: color-mix(in srgb, var(--c-accent) 62%, white);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-success h3 {
  max-width: 650px;
  margin: 28px 0 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 540;
  letter-spacing: -0.04em;
  line-height: 1.32;
}

.lead-success p {
  color: var(--c-text-muted);
}

.lead-success button {
  width: max-content;
  margin-top: 26px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--c-text-on-dark);
  cursor: pointer;
  font-size: 12px;
}

/* Footer */
.footer {
  padding: 70px 0 30px;
  background: var(--c-bg-darker);
  color: var(--c-text-on-dark);
}

.footer__top {
  display: flex;
  padding-bottom: 48px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-line);
}

.footer__phone {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(23px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.footer__grid {
  display: grid;
  padding: 52px 0 70px;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer__grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__grid span {
  margin-bottom: 12px;
  color: #767d81;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__grid a {
  width: max-content;
  color: rgba(244, 244, 242, 0.72);
  font-size: 13px;
}

.footer__messengers {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer__bottom {
  display: grid;
  padding-top: 24px;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--c-line);
  color: #747b7f;
  font-size: 10px;
}

/* Floating tools */
.float-buttons {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
}

.float-buttons a {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: var(--c-bg-darker);
  color: var(--c-text-on-dark);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.float-buttons a:last-child {
  border-color: var(--c-accent);
  background: var(--c-accent);
  font-size: 20px;
}

.float-buttons a:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px);
}

.style-tile-trigger {
  position: fixed;
  z-index: 79;
  bottom: 22px;
  left: 22px;
  display: flex;
  height: 40px;
  padding: 0 13px 0 7px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg-darker);
  color: var(--c-text-on-dark);
  cursor: pointer;
}

.style-tile-trigger span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  background: var(--c-accent);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 8px;
}

.style-tile-trigger strong {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.capture-mode .float-buttons,
.capture-mode .style-tile-trigger {
  display: none;
}

.capture-mode .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Style tile */
.style-tile {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
}

.style-tile__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 28, 30, 0.84);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.style-tile__panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 44px);
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid var(--c-line);
  background: var(--c-bg-light);
  color: var(--c-text-on-light);
  overflow: auto;
}

.style-tile__header {
  display: grid;
  padding-bottom: 24px;
  grid-template-columns: 1fr 1.5fr 42px;
  align-items: start;
  gap: 28px;
  border-bottom: 1px solid #d0d2cf;
}

.style-tile__header > div {
  display: grid;
  gap: 4px;
}

.style-tile__header > div span,
.style-label {
  color: #6f7579;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.style-tile__header > div strong {
  font-family: var(--font-unbounded), var(--font-display);
  font-size: 14px;
  font-weight: 550;
}

.style-tile__header > button {
  width: 42px;
  height: 42px;
  border: 1px solid #c8cac7;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.style-tile__grid {
  display: grid;
  padding-top: 28px;
  grid-template-columns: 1.1fr 1.25fr 0.9fr 1fr;
  gap: 28px;
}

.style-tile__grid section {
  min-width: 0;
}

.swatches {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(5, 1fr);
}

.swatches div {
  display: grid;
  min-width: 0;
}

.swatches i {
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.swatches strong,
.swatches small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swatches strong {
  margin-top: 7px;
  font-size: 8px;
}

.swatches small {
  color: #747a7e;
  font-size: 7px;
}

.style-tile__type h2 {
  margin: 15px 0 0;
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 590;
  letter-spacing: -0.05em;
}

.style-tile__type h3 {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

.style-tile__type p {
  margin: 4px 0 0;
  color: #767c80;
  font-size: 8px;
}

.style-tile__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.style-tile__buttons .style-label {
  margin-bottom: 6px;
}

.style-tile__buttons .button {
  min-height: 44px;
  font-size: 10px;
}

.style-tile__buttons .button--secondary {
  border-color: #a9adaf;
  color: var(--c-text-on-light);
}

.style-tile__hover {
  display: flex;
  margin-top: 4px;
  align-items: center;
  gap: 8px;
  color: #73797d;
  font-size: 8px;
}

.style-tile__hover i {
  display: block;
  width: 52px;
  height: 8px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-hover));
}

.style-tile__states {
  display: grid;
  gap: 8px;
}

.state-tabs,
.state-inputs,
.state-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #d0d2cf;
}

.state-tabs span,
.state-inputs span,
.state-faq span {
  min-height: 34px;
  padding: 10px;
  border-right: 1px solid #d0d2cf;
  color: #777d80;
  font-size: 8px;
}

.state-tabs span:last-child,
.state-inputs span:last-child,
.state-faq span:last-child {
  border-right: 0;
}

.state-tabs .is-active {
  border-bottom: 2px solid var(--c-accent);
  color: var(--c-text-on-light);
  font-weight: 700;
}

.state-inputs {
  grid-template-columns: repeat(3, 1fr);
}

.state-inputs .is-error { color: var(--c-error); }
.state-inputs .is-success { color: #497154; }

.state-faq span {
  display: flex;
  justify-content: space-between;
}

.style-tile__components {
  display: flex;
  margin-top: 28px;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #d0d2cf;
}

.style-tile__components span {
  padding: 5px 7px;
  border: 1px solid #d0d2cf;
  color: #686e72;
  font-family: ui-monospace, monospace;
  font-size: 7px;
}

@media (max-width: 1120px) {
  .header__nav {
    display: none;
  }

  .header__inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .header__phone {
    justify-self: end;
  }

  .burger {
    position: relative;
    display: grid;
    place-items: center;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 850px;
  }

  .hero__inner {
    min-height: 778px;
  }

  .section-title__body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calculator {
    grid-template-columns: 1fr;
  }

  .calculator__result {
    min-height: 430px;
    border-top: 1px solid var(--c-line);
    border-left: 0;
  }

  .calculator__result > strong br {
    display: none;
  }

  .principle {
    grid-template-columns: 0.7fr 1.6fr 2fr;
  }

  .style-tile__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 20px;
  }

  .header__inner {
    width: calc(100% - 40px);
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .header__phone {
    font-family: var(--font-inter), var(--font-body);
    font-size: 11px;
  }

  .header__cta {
    display: none;
  }

  .hero__content {
    width: 100%;
  }

  .hero__caption {
    top: auto;
    right: 0;
    bottom: 156px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    min-height: 100px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stat-row {
    position: relative;
    margin-top: 110px;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    padding-bottom: 0;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-grid,
  .materials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .object-card,
  .object-card:first-child,
  .object-card:nth-child(2),
  .object-card:nth-child(3),
  .object-card:nth-child(4) {
    grid-column: span 6;
  }

  .object-card__content {
    grid-template-columns: 1fr;
  }

  .object-card ul {
    justify-content: flex-start;
  }

  .principle {
    grid-template-columns: 0.65fr 2fr;
  }

  .principle p {
    grid-column: 2;
  }

  .company-about {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .company-about__portrait-placeholder,
  .company-about::after,
  .founder-carousel {
    width: min(100%, 360px);
    min-height: 0;
  }

  .founder-quote {
    grid-template-columns: 1fr;
  }

  .founder-quote__portrait {
    min-height: 500px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step > .arrow {
    display: none;
  }

  .lead-layout {
    grid-template-columns: 1fr;
  }

  .lead-copy__contact {
    margin-top: 44px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
    --fs-body: 16px;
    --sp-section: 78px;
  }

  html {
    scroll-padding-top: 64px;
  }

  .header,
  .header__inner {
    height: 64px;
  }

  .header__inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr auto;
  }

  .header .logo--compact {
    grid-template-columns: 25px auto;
  }

  .header .logo--compact .logo__mark {
    width: 25px;
    height: 28px;
  }

  .header__phone {
    display: none;
  }

  .burger {
    width: 42px;
    height: 42px;
  }

  .mobile-menu {
    top: 64px;
    padding-inline: 16px;
  }

  .mobile-menu nav a {
    min-height: 60px;
    font-size: 15px;
  }

  .mobile-menu__footer {
    right: 16px;
    left: 16px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero__media {
    background-image:
      linear-gradient(180deg, rgba(35, 40, 43, 0.55) 0%, rgba(35, 40, 43, 0.83) 39%, rgba(35, 40, 43, 0.98) 76%),
      url("/assets/object-01-01.webp");
    background-position: 62% top;
  }

  .hero__poster,
  .hero__video {
    object-position: 62% top;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(35, 40, 43, 0.55) 0%, rgba(35, 40, 43, 0.83) 39%, rgba(35, 40, 43, 0.98) 76%);
  }

  .hero__grid {
    background-size: calc((100vw - 32px) / 4) 100%;
  }

  .hero__inner {
    padding-top: 24px;
  }

  .hero__kicker {
    display: grid;
    gap: 4px;
  }

  .hero__content {
    padding-top: 124px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 43px);
    line-height: 1.08;
    text-wrap: pretty;
  }

  .hero__content > p {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero__actions {
    display: grid;
    margin-top: 30px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: max-content;
    margin-top: 34px;
  }

  .stat-row {
    margin-top: 38px;
    min-height: 0;
  }

  .stat {
    min-height: 110px;
    padding: 17px 14px;
  }

  .stat strong {
    font-size: 27px;
  }

  .stat span {
    font-size: 8px;
    line-height: 1.4;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title__eyebrow {
    padding-top: 0;
  }

  .section-title__eyebrow i {
    width: 58px;
  }

  .section-title__body {
    gap: 15px;
  }

  .section-title h2,
  .lead-copy h2 {
    font-size: 29px;
    line-height: 1.18;
    text-wrap: pretty;
  }

  .section-title p {
    font-size: 14px;
  }

  .services-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 340px;
    padding: 22px;
  }

  .service-card__body {
    padding-block: 34px;
  }

  .service-card__footer {
    display: grid;
  }

  .service-card__footer a {
    width: max-content;
  }

  .calculator {
    min-height: 0;
  }

  .calculator__controls {
    padding: 20px;
    gap: 48px;
  }

  .calculator__tabs {
    grid-template-columns: 1fr;
  }

  .calculator__tabs button {
    min-height: 56px;
    padding-inline: 0;
  }

  .calculator__label {
    display: grid;
  }

  .calculator__input-wrap {
    justify-self: start;
  }

  .calculator__input-wrap input {
    width: 130px;
    text-align: left;
  }

  .calculator__result {
    min-height: 390px;
    padding: 28px 20px;
  }

  .calculator__result > strong {
    font-size: 35px;
  }

  .calculator__result > strong br {
    display: block;
  }

  .calculator__result .button {
    width: 100%;
    font-size: 11px;
  }

  .objects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .object-card,
  .object-card:first-child,
  .object-card:nth-child(2),
  .object-card:nth-child(3),
  .object-card:nth-child(4) {
    grid-column: auto;
  }

  .object-card__content {
    gap: 12px;
  }

  .object-card ul {
    display: grid;
    gap: 3px;
  }

  .materials-section {
    padding-top: 0;
  }

  .material-tile {
    min-height: 220px;
    padding: 20px;
  }

  .materials-cta {
    grid-template-columns: 1fr;
  }

  .materials-cta .button {
    width: 100%;
  }

  .principle {
    min-height: 0;
    padding: 26px 0;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
  }

  .principle > span {
    font-size: 30px;
  }

  .principle h3 {
    font-size: 17px;
  }

  .principle p {
    grid-column: 2;
    margin-top: -4px;
    font-size: 13px;
  }

  .company-about {
    gap: 22px;
  }

  .company-about__brand {
    font-size: clamp(38px, 11vw, 52px);
  }

  .company-about p {
    font-size: 20px;
  }

  .founder-quote {
    min-height: 0;
  }

  .founder-quote__portrait {
    min-height: 390px;
  }

  .founder-quote figcaption {
    padding: 30px 22px 38px;
  }

  .founder-quote blockquote {
    margin-top: 14px;
    font-size: 19px;
  }

  .founder-quote__author {
    margin-top: 36px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 250px;
    padding: 22px;
  }

  .faq__item button {
    min-height: 86px;
    grid-template-columns: 32px 1fr 36px;
    gap: 10px;
  }

  .faq__item button strong {
    font-family: var(--font-inter), var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .faq__item button i {
    width: 34px;
    height: 34px;
  }

  .faq__answer p {
    margin: 0 42px 0;
    font-size: 13px;
  }

  .lead-section {
    background: var(--c-bg-dark);
  }

  .lead-layout {
    gap: 54px;
  }

  .lead-copy h2 {
    margin-top: 34px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .file-control,
  .consent,
  .lead-form__submit {
    grid-column: auto;
  }

  .form-message {
    grid-column: auto;
  }

  .footer {
    padding-top: 54px;
  }

  .footer__top {
    display: grid;
    gap: 34px;
  }

  .footer__phone {
    font-size: 22px;
  }

  .footer__grid,
  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__grid {
    padding-block: 42px 52px;
  }

  .footer__bottom {
    gap: 7px;
  }

  .float-buttons {
    right: 12px;
    bottom: 12px;
  }

  .float-buttons a {
    width: 52px;
    height: 52px;
  }

  .style-tile-trigger {
    bottom: 12px;
    left: 12px;
    width: 38px;
    padding: 0 6px;
  }

  .style-tile-trigger strong {
    display: none;
  }

  .style-tile {
    padding: 10px;
  }

  .style-tile__panel {
    max-height: calc(100vh - 20px);
    padding: 20px;
  }

  .style-tile__header {
    grid-template-columns: 1fr 42px;
  }

  .style-tile__header > div {
    display: none;
  }

  .style-tile__grid {
    grid-template-columns: 1fr;
  }

  .style-tile__components {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.standalone-file .file-control input { pointer-events: auto; }
.standalone-file .lead-success { min-height: 430px; }
.standalone-file .style-tile__panel { overscroll-behavior: contain; }

:root {
    --accent: #147be8;
    --accent-strong: #0869d4;
  }

  html { scroll-behavior: smooth; }
  body { font-size: 17px; }

  .button {
    min-height: 58px;
    padding-inline: 28px;
    text-transform: uppercase;
    letter-spacing: .035em;
    font-weight: 750;
  }
  .button--primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
  }
  .button--primary:hover { background: var(--accent-strong) !important; }

  .logo { min-width: 0; }
  .logo.logo--compact,
  .logo.logo--official {
    display: block;
    width: auto;
    grid-template: none;
  }
  .logo__asset {
    display: block;
    width: 210px;
    height: auto;
    filter: brightness(0) invert(1);
  }
  .footer .logo__asset {
    width: clamp(200px, 55vw, 380px);
  }

  @media (min-width: 1180px) {
    .header__inner {
      grid-template-columns: 220px minmax(420px, 1fr) auto auto;
      gap: 20px;
    }
    .header__nav {
      gap: clamp(18px, 1.7vw, 34px);
      justify-content: center;
    }
    .header__nav a {
      font-size: 14px;
      white-space: nowrap;
    }
  }
  .header__contacts {
    display: grid;
    gap: 5px;
    min-width: 176px;
  }
  .header__contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
  }
  .header__contacts a:hover { color: var(--accent); }
  .header__contacts span { width: 16px; text-align: center; }

  .hero__content p,
  .section-title__body p,
  .service-card p,
  .object-card li,
  .principle p,
  .step p,
  .faq__answer p,
  .lead-copy p { font-size: max(16px, 1rem); }
  .section-title__eyebrow,
  .hero__kicker,
  .calculator__label label,
  .form-field label { font-size: 13px; }

  .stat-row { align-items: stretch; }
  .stat {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: center;
  }
  .stat strong { color: #b6d9fb; }

  .service-card {
    position: relative;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .service-card:hover,
  .service-card:focus-visible {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 18px 45px rgba(13, 54, 98, .16);
    outline: none;
  }
  .service-card__top { justify-content: flex-end; }
  .service-card__top > span:first-child { display: none; }
  .service-card__body h3 { margin-top: 8px; }
  .service-card__footer strong {
    color: var(--accent-strong);
    font-size: clamp(22px, 2vw, 30px);
  }
  .service-card__footer a {
    text-transform: uppercase;
    font-weight: 750;
  }

  .calculator__tabs button.is-active {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
  }
  .calculator__result > strong {
    display: block;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.12;
  }

  .object-card__content h3 { font-size: clamp(24px, 2.1vw, 34px); }

  .materials-section { padding-bottom: clamp(72px, 8vw, 120px); }
  .material-tile {
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .material-tile:hover,
  .material-tile:focus-visible {
    background: #eaf4ff;
    border-color: var(--accent);
    transform: translateY(-4px);
    outline: none;
  }
  .material-tile h3 { font-size: clamp(22px, 1.8vw, 30px); }
  .material-tile__footer strong {
    color: var(--accent-strong);
    text-transform: uppercase;
  }

  .company-section,
  .company-section::before,
  .company-section::after { background-image: none !important; }
  .principles { background: transparent; }
  .principle { padding-block: 28px; }

  @media (min-width: 980px) {
    .steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .step {
      min-height: 330px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
    }
  }

  .style-tile-trigger,
  .style-tile { display: none !important; }

  @media (max-width: 1179px) {
    .logo__asset { width: 180px; }
    .header__contacts { display: none; }
  }
  @media (max-width: 720px) {
    body { font-size: 16px; }
    .logo__asset { width: 170px; }
    .button { min-height: 54px; padding-inline: 20px; }
    .calculator__result > strong {
      white-space: normal;
      font-size: clamp(38px, 12vw, 56px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .service-card,
    .material-tile { transition: none; }
  }

.material-tile {
    grid-template-rows: 1fr auto;
  }
  .material-tile h3 {
    margin-top: 0;
  }

  .object-card__overlay { display: none !important; }
  .object-card__content {
    display: block;
    padding-top: 24px;
  }
  .object-card__content h3 {
    max-width: 780px;
    margin: 0 0 18px;
    line-height: 1.15;
  }
  .object-card__content ul {
    justify-content: flex-start;
    gap: 8px;
  }
  .object-card__content li {
    padding: 8px 12px;
    border: 1px solid #d9e1e6;
    border-radius: 999px;
    background: #f2f6f8;
    color: #5e686f;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }
  .object-card__content li::before { content: none; }

  .file-control,
  .file-list,
  .consent,
  .lead-form__submit {
    grid-column: 1 / -1;
  }
  .file-list {
    display: grid;
    gap: 8px;
  }
  .file-list:empty { display: none; }
  .file-list__item {
    display: flex;
    min-width: 0;
    padding: 10px 12px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--c-line);
  }
  .file-list__item > span {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 10px;
  }
  .file-list__item strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .file-list__item small {
    flex: 0 0 auto;
    color: #858c90;
    font-size: 10px;
  }
  .file-list__item button {
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #f29a91;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .file-list__item button:hover { color: #fff; }
  .consent small { font-size: 12px; }

  .footer__messengers a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  @media (max-width: 720px) {
    .object-card__content li { border-radius: 8px; }
    .file-list__item > span { display: grid; gap: 3px; }
  }

.footer__messengers {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
  }
  .footer__messengers .messenger-link {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    padding: 8px 13px 8px 9px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: #f4f4f2;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
  }
  .footer__messengers .messenger-link:hover {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .08);
    transform: translateY(-2px);
  }
  .messenger-link img {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }
  .messenger-link--telegram:hover { border-color: rgba(42, 171, 238, .72) !important; }
  .messenger-link--whatsapp:hover { border-color: rgba(37, 211, 102, .72) !important; }

#lead.lead-section {
  background: #f3f3f0;
  color: #24282b;
}

#lead .lead-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(64px, 8vw, 132px);
}

#lead .lead-copy {
  min-width: 0;
  padding-top: 0;
}

#lead .section-title__eyebrow {
  color: #697176;
}

#lead .section-title__eyebrow i {
  background: var(--c-accent);
}

#lead .lead-copy h2 {
  max-width: 100%;
  margin-top: 42px;
  color: #222629;
  font-size: clamp(38px, 3.8vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}

#lead .lead-copy > p {
  max-width: 560px;
  margin-top: 30px;
  color: #687074;
  font-size: 17px;
  line-height: 1.7;
}

#lead .lead-copy__contact {
  margin-top: 54px;
  gap: 12px;
}

#lead .lead-copy__contact span {
  color: #737b7f;
}

#lead .lead-copy__contact a {
  color: #24282b;
  font-size: clamp(26px, 2.3vw, 38px);
}

#lead .lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(28px, 3.5vw, 58px);
  border: 1px solid #d9dddc;
  background: #fff;
  box-shadow: 0 24px 60px rgba(34, 40, 43, 0.045);
}

#lead .form-field,
#lead .form-field--wide {
  min-width: 0;
  grid-column: 1;
  gap: 10px;
}

#lead .form-field--task {
  padding: 0;
  border: 0;
  margin: 0;
}

#lead .form-field label,
#lead .form-field legend {
  color: #6d7478;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#lead .form-field input:not([type="radio"]),
#lead .form-field textarea {
  width: 100%;
  min-height: 60px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid #cfd4d5;
  background: #fff;
  color: #24282b;
}

#lead .form-field textarea {
  min-height: 132px;
  padding: 17px 18px;
}

#lead .form-field input::placeholder,
#lead .form-field textarea::placeholder {
  color: #a2a8aa;
}

#lead .form-field input:focus,
#lead .form-field textarea:focus {
  border-color: var(--c-accent);
}

#lead .task-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #cfd4d5;
}

#lead .task-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

#lead .task-options label:not(:last-child) {
  border-right: 1px solid #cfd4d5;
}

#lead .task-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#lead .task-options span {
  display: grid;
  min-height: 68px;
  padding: 8px 12px;
  place-items: center;
  background: #fff;
  color: #2e3336;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

#lead .task-options input:checked + span {
  background: #4c7fb5;
  color: #fff;
}

#lead .task-options input:focus-visible + span {
  outline: 2px solid var(--c-accent);
  outline-offset: -3px;
}

#lead .file-control {
  min-height: 70px;
  padding: 12px 16px;
  border: 1px dashed #cfd4d5;
  color: #3d4447;
}

#lead .file-control > span {
  border-color: #cfd4d5;
  color: #4c7fb5;
}

#lead .file-control strong {
  color: #3d4447;
}

#lead .file-control small,
#lead .file-list__item small,
#lead .consent small {
  color: #757d80;
}

#lead .file-list__item {
  border-color: #d7dbdc;
  color: #343a3d;
}

#lead .file-list__item button {
  color: #b54b43;
}

#lead .consent > span {
  border-color: #9da4a7;
  background: #fff;
}

#lead .consent input:checked + span {
  border: 5px solid #fff;
  background: #4c7fb5;
  outline: 1px solid #4c7fb5;
}

#lead .lead-form__submit {
  min-height: 62px;
  margin-top: 4px;
  background: #4c7fb5;
}

#lead .form-error {
  color: #b54b43;
}

#lead .form-message {
  color: #27633b;
}

#lead .lead-map {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #d9dddc;
  background: #fff;
}

#lead .lead-map iframe {
  display: block;
  width: 100%;
  height: clamp(220px, 18vw, 250px);
  border: 0;
}

#lead .lead-map__caption {
  display: flex;
  padding: 16px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #d9dddc;
  color: #626a6e;
  font-size: 12px;
}

#lead .lead-map__caption a {
  color: #24282b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  #lead .lead-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  #lead .lead-copy {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  #lead .lead-copy h2 {
    margin-top: 32px;
    font-size: 34px;
  }

  #lead .lead-copy > p {
    font-size: 16px;
  }

  #lead .lead-copy__contact {
    margin-top: 38px;
  }

  #lead .lead-form {
    gap: 20px;
    padding: 22px 18px;
  }

  #lead .task-options {
    grid-template-columns: 1fr;
  }

  #lead .task-options label:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #cfd4d5;
  }

  #lead .task-options span {
    min-height: 54px;
  }

  #lead .lead-map {
    margin-top: 36px;
  }

  #lead .lead-map iframe {
    height: 300px;
  }

  #lead .lead-map__caption {
    display: grid;
  }
}

.header__nav a,
.mobile-menu nav a {
  text-transform: uppercase;
}

.section {
  scroll-margin-top: 104px;
}
.section-title {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: clamp(48px, 8vw, 140px);
  row-gap: 14px;
}
.section-title__eyebrow {
  grid-column: 1;
  grid-row: 1;
  padding-top: 0;
}
.section-title__eyebrow i {
  display: none;
}
.section-title__body {
  display: contents;
}
.section-title__body h2 {
  grid-column: 1;
  grid-row: 2;
}
.section-title__body p {
  width: min(100%, 420px);
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: end;
}
@media (max-width: 820px) {
  .section-title {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .section-title__eyebrow,
  .section-title__body h2,
  .section-title__body p {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .section-title__body p {
    margin-top: 6px;
  }
}

@media (min-width: 1181px) {
  .header__inner {
    grid-template-columns: 210px minmax(400px, 1fr) 164px auto;
    gap: 18px;
  }

  .header__nav {
    gap: clamp(14px, 1.35vw, 25px);
  }

  .header__nav a {
    font-size: 12px;
    white-space: nowrap;
  }

  .header__contacts {
    min-width: 164px;
    gap: 4px;
  }

  .header__email,
  .header__phone {
    font-size: 10px;
    white-space: nowrap;
  }

  .header__cta {
    width: auto;
    min-height: 40px;
    padding-inline: 17px;
    gap: 12px;
    font-size: 11px;
    white-space: nowrap;
  }
}

#directions .service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-bg-light);
  transition: background-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

#directions .service-card:nth-child(1) {
  --service-image: url("/assets/service-production.jpg");
}

#directions .service-card:nth-child(2) {
  --service-image: url("/assets/service-finishing.jpg");
}

#directions .service-card:nth-child(3) {
  --service-image: url("/assets/service-house.jpg");
}

#directions .service-card:nth-child(4) {
  --service-image: url("/assets/service-engineering.jpg");
}

#directions .service-card::before,
#directions .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.48s ease, transform 0.75s ease;
}

#directions .service-card::before {
  background-image: var(--service-image);
  background-position: 68% center;
  background-size: cover;
  transform: scale(1.045);
}

#directions .service-card::after {
  background:
    linear-gradient(90deg, rgba(34, 38, 41, 0.98) 0%, rgba(39, 44, 47, 0.93) 39%, rgba(44, 49, 52, 0.69) 66%, rgba(44, 49, 52, 0.28) 100%),
    linear-gradient(180deg, rgba(44, 49, 52, 0.10), rgba(44, 49, 52, 0.56));
}

#directions .service-card > * {
  position: relative;
  z-index: 1;
}

#directions .service-card:hover::before,
#directions .service-card:hover::after,
#directions .service-card:focus-within::before,
#directions .service-card:focus-within::after {
  opacity: 1;
}

#directions .service-card:hover::before,
#directions .service-card:focus-within::before {
  transform: scale(1);
}

#directions .service-card:hover,
#directions .service-card:focus-within {
  color: var(--c-text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#directions .service-card:hover p,
#directions .service-card:focus-within p {
  color: rgba(244, 244, 242, 0.78);
}

#directions .service-card:hover .service-card__top,
#directions .service-card:focus-within .service-card__top,
#directions .service-card:hover .service-card__footer strong,
#directions .service-card:focus-within .service-card__footer strong {
  color: #b9d5ea;
}

#directions .service-card:hover .service-card__footer,
#directions .service-card:focus-within .service-card__footer {
  border-color: rgba(244, 244, 242, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  #directions .service-card::before,
  #directions .service-card::after {
    transition-duration: 0.01ms;
  }
}

#materials .material-tile,
.direction-materials .material-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 300px;
  padding: 22px;
  background: var(--c-bg-darker);
  color: var(--c-text-on-dark);
  transition: color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

#materials .material-tile:nth-child(1), .direction-materials .material-tile:nth-child(1) { --material-image: url("/assets/material-finishing.jpg"); }
#materials .material-tile:nth-child(2), .direction-materials .material-tile:nth-child(2) { --material-image: url("/assets/material-glazing.jpg"); }
#materials .material-tile:nth-child(3), .direction-materials .material-tile:nth-child(3) { --material-image: url("/assets/material-ai-cameras.jpg"); }
#materials .material-tile:nth-child(4), .direction-materials .material-tile:nth-child(4) { --material-image: url("/assets/material-biometric.jpg"); }
#materials .material-tile:nth-child(5), .direction-materials .material-tile:nth-child(5) { --material-image: url("/assets/material-smart-home.jpg"); }
#materials .material-tile:nth-child(6), .direction-materials .material-tile:nth-child(6) { --material-image: url("/assets/material-solar.jpg"); }
#materials .material-tile:nth-child(7), .direction-materials .material-tile:nth-child(7) { --material-image: url("/assets/material-plumbing.jpg"); }
#materials .material-tile:nth-child(8), .direction-materials .material-tile:nth-child(8) { --material-image: url("/assets/material-led.jpg"); }
#materials .material-tile:nth-child(9), .direction-materials .material-tile:nth-child(9) { --material-image: url("/assets/material-furniture.jpg"); }

#materials .material-tile::before,
#materials .material-tile::after,
.direction-materials .material-tile::before,
.direction-materials .material-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#materials .material-tile::before,
.direction-materials .material-tile::before {
  background-image: var(--material-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}

#materials .material-tile::after,
.direction-materials .material-tile::after {
  background:
    linear-gradient(180deg, rgba(44, 49, 52, 0.18) 0%, rgba(44, 49, 52, 0.42) 42%, rgba(44, 49, 52, 0.88) 100%),
    linear-gradient(90deg, rgba(44, 49, 52, 0.55), rgba(44, 49, 52, 0.18));
  transition: background 0.35s ease;
}

#materials .material-tile > *,
.direction-materials .material-tile > * {
  position: relative;
  z-index: 1;
}

#materials .material-tile h3,
.direction-materials .material-tile h3 {
  color: var(--c-text-on-dark);
  max-width: 92%;
}

#materials .material-tile__footer,
.direction-materials .material-tile__footer {
  border-top-color: rgba(244, 244, 242, 0.22);
}

#materials .material-tile__footer span,
.direction-materials .material-tile__footer span {
  color: rgba(244, 244, 242, 0.62);
}

#materials .material-tile__footer strong,
.direction-materials .material-tile__footer strong {
  color: #b9d5ea;
}

#materials .material-tile:hover,
#materials .material-tile:focus-visible,
.direction-materials .material-tile:hover,
.direction-materials .material-tile:focus-visible {
  background: var(--c-bg-darker);
  border-color: transparent;
  color: var(--c-text-on-dark);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  outline: none;
}

#materials .material-tile:hover::before,
#materials .material-tile:focus-visible::before,
.direction-materials .material-tile:hover::before,
.direction-materials .material-tile:focus-visible::before {
  transform: scale(1);
}

#materials .material-tile:hover::after,
#materials .material-tile:focus-visible::after,
.direction-materials .material-tile:hover::after,
.direction-materials .material-tile:focus-visible::after {
  background:
    linear-gradient(180deg, rgba(44, 49, 52, 0.08) 0%, rgba(44, 49, 52, 0.34) 40%, rgba(44, 49, 52, 0.84) 100%),
    linear-gradient(90deg, rgba(44, 49, 52, 0.42), rgba(44, 49, 52, 0.12));
}

@media (prefers-reduced-motion: reduce) {
  #materials .material-tile,
  #materials .material-tile::before,
  #materials .material-tile::after,
  .direction-materials .material-tile,
  .direction-materials .material-tile::before,
  .direction-materials .material-tile::after {
    transition: none;
  }

  #materials .material-tile:hover,
  #materials .material-tile:focus-visible,
  .direction-materials .material-tile:hover,
  .direction-materials .material-tile:focus-visible {
    transform: none;
  }
}

.hero .stat-row {
  right: auto;
  left: 50%;
  width: 100vw;
  max-width: none;
  transform: translateX(-50%);
}

.object-card__visual--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(56, 62, 66, 0.2), rgba(44, 49, 52, 0.92)),
    repeating-linear-gradient(
      -45deg,
      rgba(244, 244, 242, 0.04) 0 10px,
      rgba(244, 244, 242, 0.01) 10px 20px
    ),
    var(--c-bg-darker);
}

.object-card__visual--placeholder::after {
  display: none;
}

.object-card__placeholder-label {
  position: relative;
  z-index: 1;
  color: rgba(244, 244, 242, 0.62);
  font-family: var(--font-unbounded), var(--font-display);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 560;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.object-card__visual::after {
  z-index: 1;
  pointer-events: none;
}

.object-card__visual .object-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.018);
  pointer-events: none;
  transition: opacity 0.42s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.object-card__visual .object-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.object-card:hover .object-carousel__slide {
  transform: scale(1.018);
}

.object-card:hover .object-carousel__slide.is-active {
  transform: scale(1.025);
}

.object-carousel__controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.object-carousel__controls button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(34, 39, 42, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.object-carousel__controls button:hover,
.object-carousel__controls button:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background: #147be8;
  outline: none;
}

.object-carousel__count {
  min-width: 58px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-align: center;
}

@media (max-width: 560px) {
  .object-carousel__controls {
    right: 12px;
    bottom: 12px;
  }

  .object-carousel__controls button {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .object-card__visual .object-carousel__slide {
    transition-duration: 0.01ms;
  }
}

:root {
  --sp-section: clamp(104px, 11vw, 184px);
}

.contact-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: currentColor;
}

.footer__phone,
.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer__phone .contact-icon,
.footer__email .contact-icon,
.float-buttons .contact-icon {
  margin: 0;
  color: currentColor;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
}

.contact-icon--mail::before {
  position: absolute;
  top: 6px;
  left: 3px;
  width: 16px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
  content: "";
}

.contact-icon--mail::after {
  position: absolute;
  top: 3px;
  left: 7px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

#directions .service-card__top .arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid #596065;
  background: #4a5054;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

#directions .service-card:hover .service-card__top .arrow,
#directions .service-card:focus-within .service-card__top .arrow {
  border-color: var(--c-accent);
  background: var(--c-accent);
  transform: translate(2px, -2px);
}

.section-title {
  margin-bottom: clamp(72px, 7vw, 112px);
  column-gap: clamp(64px, 9vw, 156px);
}

.section-title__body h2 {
  max-width: 820px;
}

.section-title__body p,
.hero__content > p,
.service-card p,
.principle p,
.step p,
.faq__answer p,
.lead-copy > p {
  line-height: 1.78;
}

.materials-section,
.faq-section {
  padding-top: var(--sp-section);
}

/* Keep a deliberate opening gap even if earlier section rules set padding to zero. */
.section.materials-section,
.section.faq-section {
  padding-top: clamp(112px, 12vw, 184px) !important;
}

@media (max-width: 820px) {
  .section.materials-section,
  .section.faq-section {
    padding-top: 88px !important;
  }
}

@media (min-width: 821px) {
  .hero .stat-row {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .company-section .section-title {
    grid-template-columns: minmax(96px, 0.55fr) minmax(0, 2.65fr) minmax(260px, 2fr);
    column-gap: 48px;
  }

  .company-section .section-title__eyebrow,
  .company-section .section-title__body h2 {
    grid-column: 1 / span 2;
  }

  .company-section .section-title__body p {
    grid-column: 3;
    justify-self: start;
  }

  .hero {
    min-height: max(860px, 100svh);
  }

  .hero__inner {
    min-height: calc(max(860px, 100svh) - 72px);
    padding-top: clamp(64px, 7vh, 96px);
  }

  .hero__content {
    width: min(720px, 68%);
    padding-top: clamp(104px, 12vh, 156px);
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(42px, 3.2vw, 58px);
    line-height: 1.1;
  }

  .hero__content > p {
    max-width: 600px;
    margin-top: 38px;
  }

  .hero__actions {
    margin-top: 46px;
  }

  .stat {
    min-height: 184px;
    padding: 32px 40px;
  }

  .services-grid {
    row-gap: 0;
  }

  .service-card {
    min-height: 470px;
    padding: 40px;
  }

  .service-card__body {
    padding: 52px 0 58px;
  }

  .service-card p {
    margin-top: 28px;
  }

  .calculator {
    min-height: 650px;
  }

  .calculator__controls,
  .calculator__result {
    padding: clamp(48px, 5vw, 76px);
  }

  .objects-grid {
    gap: 54px 28px;
  }

  .object-card__content {
    padding-top: 30px;
    gap: 32px;
  }

  .materials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .material-tile {
    min-height: 320px;
    padding: 34px;
  }

  .material-tile h3 {
    margin: 52px 0 40px;
  }

  .materials-cta {
    margin-top: 56px;
    padding-top: 38px;
  }

  .principle {
    min-height: 164px;
    padding: 38px 0;
    grid-template-columns: minmax(96px, 0.55fr) minmax(0, 2.65fr) minmax(260px, 2fr);
    gap: 48px;
  }

  .company-about {
    margin-top: clamp(104px, 10vw, 156px);
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 3.15fr);
    column-gap: clamp(56px, 7vw, 112px);
    row-gap: 0;
    align-items: center;
  }

  .company-about .founder-carousel,
  .company-about::after {
    width: min(100%, 340px);
    justify-self: start;
  }

  .company-about__copy {
    align-self: center;
  }

  .steps {
    margin-top: 12px;
  }

  .step {
    min-height: 390px;
    padding: 38px 34px;
  }

  .faq-layout .section-title {
    margin-bottom: 62px;
  }

  .faq__item button {
    min-height: 116px;
  }

  .faq__item.is-open .faq__answer {
    padding-bottom: 48px;
  }

  #lead .lead-layout {
    gap: clamp(80px, 10vw, 156px);
  }

  #lead .lead-form {
    padding: clamp(42px, 4vw, 66px);
    gap: 30px;
  }

  .footer {
    padding: 96px 0 38px;
  }

  .footer__top {
    padding-bottom: 64px;
  }

  .footer__grid {
    padding: 68px 0 92px;
  }
}

@media (min-width: 980px) {
  .step__body {
    display: grid;
    width: 100%;
    min-height: 160px;
    grid-template-rows: 72px 1fr;
    align-content: start;
  }

  .step p {
    margin-top: 0;
    align-self: start;
  }
}

@media (min-width: 1051px) {
  #lead .lead-layout {
    align-items: stretch;
  }

  #lead .lead-copy {
    display: flex;
    flex-direction: column;
  }

  #lead .lead-map {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  #lead .lead-map iframe {
    height: auto;
    min-height: 250px;
    flex: 1;
  }

  #lead .lead-layout > .reveal:last-child {
    display: flex;
  }

  #lead .lead-form {
    width: 100%;
    min-height: 100%;
    align-content: start;
  }
}

@media (min-width: 1700px) {
  :root {
    --container: 1520px;
    --gutter: 48px;
    --fs-h1: 68px;
    --fs-h2: 48px;
    --fs-body: 18px;
  }

  body {
    font-size: var(--fs-body);
  }

  .header__inner {
    grid-template-columns: 230px minmax(560px, 1fr) 190px auto;
    gap: 24px;
  }

  .header__nav a {
    font-size: 13px;
  }

  .logo__asset {
    width: 220px;
  }

  .hero__content {
    width: min(800px, 62%);
  }

  .hero h1 {
    max-width: 800px;
    font-size: 64px;
  }

  .hero__content > p {
    max-width: 660px;
  }

  .section-title__body h2 {
    max-width: 940px;
  }

  .service-card {
    min-height: 520px;
  }

  .stat {
    min-height: 200px;
  }
}

@media (max-width: 820px) {
  :root {
    --sp-section: 88px;
  }

  .section-title {
    margin-bottom: 54px;
  }

  .company-about {
    margin-top: 76px;
  }

  .faq-layout .section-title {
    margin-bottom: 42px;
  }

  #directions .service-card__top .arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

/* 2K / QHD (~2560) */
@media (min-width: 2560px) {
  :root {
    --container: 1880px;
    --gutter: 56px;
    --fs-h1: 78px;
    --fs-h2: 56px;
    --fs-h3: 24px;
    --fs-body: 19px;
    --fs-small: 15px;
    --sp-section: clamp(120px, 7.5vw, 188px);
  }

  html {
    scroll-padding-top: 96px;
  }

  body {
    font-size: var(--fs-body);
  }

  .header {
    height: 96px;
  }

  .header__inner {
    height: 96px;
    grid-template-columns: 260px minmax(640px, 1fr) 220px auto;
    gap: 28px;
  }

  .header__nav a {
    font-size: 15px;
  }

  .header__contacts a {
    font-size: 14px;
  }

  .header__cta {
    min-height: 48px;
    padding-inline: 22px;
    font-size: 13px;
  }

  .logo__asset {
    width: 248px;
  }

  .footer .logo__asset {
    width: clamp(300px, 18vw, 440px);
  }

  .hero {
    min-height: max(920px, 100svh);
  }

  .hero__content {
    width: min(920px, 58%);
  }

  .hero h1 {
    max-width: 920px;
    font-size: var(--fs-h1);
  }

  .hero__content > p {
    max-width: 760px;
    font-size: 20px;
  }

  .section-title__body h2 {
    max-width: 1100px;
  }

  .section-title__body p,
  .service-card p,
  .object-card li,
  .principle p,
  .step p,
  .faq__answer p,
  .lead-copy p {
    font-size: max(18px, 1.05rem);
  }

  .service-card {
    min-height: 580px;
  }

  .service-card h3 {
    font-size: clamp(26px, 1.5vw, 34px);
  }

  .stat {
    min-height: 220px;
  }

  .stat strong {
    font-size: clamp(42px, 3vw, 64px);
  }

  #materials .material-tile,
  .direction-materials .material-tile {
    min-height: 360px;
    padding: 28px;
  }

  #materials .material-tile h3,
  .direction-materials .material-tile h3 {
    font-size: clamp(26px, 1.35vw, 34px);
  }

  .company-about {
    column-gap: clamp(72px, 5vw, 140px);
  }

  .company-about .founder-carousel,
  .company-about::after {
    width: min(100%, 420px);
  }

  .company-about__brand {
    font-size: clamp(58px, 3.6vw, 88px);
    padding-bottom: 16px;
  }

  .company-about__brand::before {
    width: min(160px, 46%);
    height: 4px;
  }

  .company-about p {
    font-size: clamp(24px, 1.55vw, 38px);
  }

  .geography-shell {
    min-height: 780px;
  }

  .geography-copy h2 {
    max-width: 780px;
    font-size: clamp(48px, 2.6vw, 68px);
  }

  .step {
    min-height: 430px;
    padding: 44px 40px;
  }

  .footer__phone {
    font-size: clamp(30px, 2.2vw, 48px);
  }

  .calculator__result > strong {
    font-size: clamp(48px, 3.2vw, 72px);
  }
}

/* 4K / UHD (~3840) */
@media (min-width: 3840px) {
  :root {
    --container: 2480px;
    --gutter: 72px;
    --fs-h1: 96px;
    --fs-h2: 68px;
    --fs-h3: 30px;
    --fs-body: 22px;
    --fs-small: 17px;
    --sp-section: clamp(150px, 6.5vw, 240px);
  }

  html {
    scroll-padding-top: 112px;
  }

  .header {
    height: 112px;
  }

  .header__inner {
    height: 112px;
    grid-template-columns: 310px minmax(820px, 1fr) 260px auto;
    gap: 36px;
  }

  .header__nav a {
    font-size: 17px;
  }

  .header__contacts a {
    font-size: 16px;
  }

  .header__cta {
    min-height: 56px;
    padding-inline: 28px;
    font-size: 15px;
  }

  .logo__asset {
    width: 300px;
  }

  .footer .logo__asset {
    width: clamp(380px, 16vw, 520px);
  }

  .hero {
    min-height: max(1100px, 100svh);
  }

  .hero__content {
    width: min(1140px, 54%);
  }

  .hero h1 {
    max-width: 1140px;
    font-size: var(--fs-h1);
  }

  .hero__content > p {
    max-width: 920px;
    font-size: 24px;
  }

  .section-title__body h2 {
    max-width: 1400px;
  }

  .section-title__body p,
  .service-card p,
  .object-card li,
  .principle p,
  .step p,
  .faq__answer p,
  .lead-copy p {
    font-size: max(20px, 1.1rem);
  }

  .service-card {
    min-height: 700px;
  }

  .service-card h3 {
    font-size: clamp(32px, 1.2vw, 42px);
  }

  .stat {
    min-height: 260px;
  }

  .stat strong {
    font-size: clamp(56px, 2.4vw, 84px);
  }

  #materials .material-tile,
  .direction-materials .material-tile {
    min-height: 440px;
    padding: 34px;
  }

  #materials .material-tile h3,
  .direction-materials .material-tile h3 {
    font-size: clamp(32px, 1.1vw, 42px);
  }

  .company-about {
    column-gap: clamp(96px, 4.5vw, 180px);
  }

  .company-about .founder-carousel,
  .company-about::after {
    width: min(100%, 520px);
  }

  .company-about__brand {
    font-size: clamp(80px, 3vw, 112px);
    padding-bottom: 20px;
  }

  .company-about__brand::before {
    width: min(200px, 48%);
    height: 5px;
  }

  .company-about p {
    font-size: clamp(30px, 1.3vw, 46px);
  }

  .geography-shell {
    min-height: 980px;
  }

  .geography-copy h2 {
    max-width: 980px;
    font-size: clamp(64px, 2.2vw, 88px);
  }

  .step {
    min-height: 520px;
    padding: 56px 48px;
  }

  .footer__phone {
    font-size: clamp(40px, 1.8vw, 64px);
  }

  .calculator__result > strong {
    font-size: clamp(64px, 2.6vw, 96px);
  }

  .button {
    min-height: 58px;
    padding-inline: 28px;
    font-size: 16px;
  }
}

.geography-section {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 144px) 0;
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
}

.geography-section::before {
  display: none;
}

.geography-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: 670px;
  background: transparent;
}

.geography-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(44px, 5vw, 76px);
}

.geography-kicker {
  margin: 0 0 30px;
}

.geography-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--c-text-on-dark);
  font-family: var(--font-display, "Unbounded", "Inter", sans-serif);
  font-size: clamp(36px, 3.25vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.geography-intro {
  max-width: 590px;
  margin: 34px 0 0;
  color: color-mix(in srgb, var(--c-text-on-dark) 70%, transparent);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.75;
}

.geography-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 28px;
  align-items: center;
  margin-top: clamp(38px, 4vw, 60px);
  padding: 28px 0 24px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.geography-stat__number {
  grid-row: 1 / span 2;
  color: color-mix(in srgb, var(--c-accent) 68%, white);
  font-family: var(--font-display, "Unbounded", "Inter", sans-serif);
  font-size: clamp(64px, 6vw, 94px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-shadow: none;
}

.geography-stat__label {
  align-self: end;
  color: color-mix(in srgb, var(--c-accent) 66%, white);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.geography-cities {
  align-self: start;
  margin: 0;
  color: color-mix(in srgb, var(--c-text-on-dark) 82%, transparent);
  font-size: 15px;
  line-height: 1.7;
}

.geography-note {
  max-width: 590px;
  margin: 22px 0 30px;
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.geography-actions {
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin-top: auto;
}

.geography-actions .button {
  min-width: min(100%, 294px);
  justify-content: space-between;
}

.geography-office {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-left: 26px;
  border-left: 1px solid var(--c-line);
  color: var(--c-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.geography-office svg {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: color-mix(in srgb, var(--c-accent) 68%, white);
}

.geography-map {
  position: relative;
  min-width: 0;
  min-height: 670px;
  overflow: hidden;
  background:
    linear-gradient(color-mix(in srgb, var(--c-text-on-dark) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c-text-on-dark) 4%, transparent) 1px, transparent 1px),
    color-mix(in srgb, var(--c-bg-darker) 34%, var(--c-bg-dark));
  background-size: 24px 24px, 24px 24px, auto;
}

.geography-map::after {
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--c-line) 72%, transparent);
  content: "";
  pointer-events: none;
}

.geography-map svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.geo-contour {
  fill: color-mix(in srgb, var(--c-bg-darker) 24%, transparent);
  stroke: color-mix(in srgb, var(--c-line) 64%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.geo-region-line {
  fill: none;
  stroke: color-mix(in srgb, var(--c-line) 42%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.geo-range {
  fill: none;
  stroke: color-mix(in srgb, var(--c-accent) 42%, transparent);
  stroke-width: 1;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
}

.geo-link {
  fill: none;
  stroke: color-mix(in srgb, var(--c-accent) 74%, white);
  stroke-width: 1.35;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}

.geography-layout.is-visible .geo-link {
  animation: geography-line-draw 1.3s cubic-bezier(0.35, 0, 0.2, 1) forwards;
  animation-delay: var(--link-delay, 0ms);
}

.geo-city {
  cursor: default;
  opacity: 0;
  outline: none;
}

.geography-layout.is-visible .geo-city {
  animation: geography-city-in 0.58s ease forwards;
  animation-delay: var(--city-delay, 0ms);
}

.geo-city__halo,
.geo-city__dot,
.geo-city text {
  transition: transform 0.2s ease, opacity 0.2s ease, fill 0.2s ease;
}

.geo-city__halo {
  fill: color-mix(in srgb, var(--c-accent) 18%, transparent);
  stroke: color-mix(in srgb, var(--c-accent) 40%, transparent);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.geo-city__dot {
  fill: var(--c-text-on-dark);
  stroke: var(--c-accent);
  stroke-width: 6;
  paint-order: stroke;
  filter: url(#geo-glow);
  transform-box: fill-box;
  transform-origin: center;
}

.geo-city__label {
  fill: color-mix(in srgb, var(--c-text-on-dark) 86%, transparent);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 450;
  paint-order: stroke fill;
  stroke: color-mix(in srgb, var(--c-bg-darker) 88%, transparent);
  stroke-linejoin: round;
  stroke-width: 3px;
}

.geo-city__role {
  fill: color-mix(in srgb, var(--c-accent) 68%, white);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  paint-order: stroke fill;
  stroke: color-mix(in srgb, var(--c-bg-darker) 88%, transparent);
  stroke-linejoin: round;
  stroke-width: 2.5px;
}

.geo-city--hub .geo-city__halo {
  fill: color-mix(in srgb, var(--c-accent) 24%, transparent);
  stroke: color-mix(in srgb, var(--c-accent) 70%, white);
}

.geo-city--hub .geo-city__dot {
  fill: #fff;
  stroke-width: 9;
  animation: geography-hub-pulse 2.8s ease-in-out infinite;
}

.geo-city--hub .geo-city__label {
  fill: #fff;
  font-size: 25px;
  font-weight: 600;
}

.geo-city:hover .geo-city__halo,
.geo-city:focus .geo-city__halo {
  opacity: 1;
  transform: scale(1.35);
}

.geo-city:hover .geo-city__dot,
.geo-city:focus .geo-city__dot {
  transform: scale(1.35);
}

.geo-city:hover .geo-city__label,
.geo-city:focus .geo-city__label {
  fill: #fff;
}

@keyframes geography-line-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes geography-city-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes geography-hub-pulse {
  0%, 100% { filter: url(#geo-glow); }
  50% { filter: url(#geo-glow-strong); }
}

@media (max-width: 1120px) {
  .geography-shell {
    grid-template-columns: 1fr;
  }

  .geography-copy {
    border-right: 0;
  }

  .geography-map {
    min-height: min(76vw, 690px);
  }
}

@media (max-width: 620px) {
  .geography-section {
    padding: 72px 0;
  }

  .geography-section .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .geography-copy {
    padding: 34px 24px 30px;
  }

  .geography-kicker {
    margin-bottom: 22px;
  }

  .geography-copy h2 {
    font-size: clamp(31px, 10vw, 43px);
  }

  .geography-intro {
    margin-top: 24px;
    font-size: 14px;
  }

  .geography-stat {
    grid-template-columns: 84px 1fr;
    gap: 12px 16px;
    margin-top: 30px;
    padding-right: 44px;
  }

  .geography-stat__number {
    font-size: 64px;
  }

  .geography-stat__label {
    font-size: 10px;
  }

  .geography-cities {
    grid-column: 1 / -1;
    font-size: 13px;
  }

  .geography-actions {
    flex-direction: column;
    gap: 20px;
  }

  .geography-actions .button {
    width: 100%;
    min-width: 0;
  }

  .geography-office {
    padding: 0;
    border: 0;
  }

  .geography-map {
    min-height: 420px;
  }

  .geography-map svg {
    width: 100%;
    margin-left: 0;
  }

  .geo-city__label {
    font-size: 19px;
  }

  .geo-city__role {
    font-size: 13px;
  }

  .geo-city--hub .geo-city__label {
    font-size: 23px;
  }

  .geo-city--saint-petersburg .geo-city__label,
  .geo-city--nizhny-novgorod .geo-city__label,
  .geo-city--novomoskovsk .geo-city__label {
    font-size: 15px;
  }

  .geo-city--saint-petersburg .geo-city__label {
    transform: translateY(7px);
  }

  .geo-city--nizhny-novgorod .geo-city__label {
    transform: translate(-3px, -7px);
  }

  .geo-city--novomoskovsk .geo-city__label {
    transform: translateY(-5px);
  }

}

@media (prefers-reduced-motion: reduce) {
  .geo-link {
    stroke-dashoffset: 0;
  }

  .geo-city {
    opacity: 1;
  }

  .geography-layout.is-visible .geo-link,
  .geography-layout.is-visible .geo-city,
  .geo-city--hub .geo-city__dot {
    animation: none;
  }
}

/* Tester feedback: explicit interactions and resilient form geometry. */
.service-card--linked {
  cursor: pointer;
}

#services .service-card--linked .service-card__stretched-link,
.service-card--linked .service-card__stretched-link {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  outline-offset: -4px;
}

.service-card--linked .service-card__stretched-link:focus-visible {
  outline: 3px solid var(--c-accent);
}

.service-card__footer > span {
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.service-card--linked:has(.service-card__stretched-link:focus-visible) {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
}

.service-card--linked:has(.service-card__stretched-link:focus-visible) p {
  color: rgba(244, 244, 242, 0.62);
}

.calculator,
.calculator__controls,
.calculator__result,
.calculator__result > strong {
  min-width: 0;
  max-width: 100%;
}

.calculator__result > strong {
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.14;
  overflow-wrap: anywhere;
  hyphens: auto;
}

#lead .lead-form {
  grid-template-columns: minmax(0, 1fr);
}

#lead .lead-form > :not([type="hidden"]),
#lead .form-field,
#lead .form-field--wide,
#lead .form-field--task,
#lead .task-options,
#lead .file-control,
#lead .file-list,
#lead .consent,
#lead .form-alert,
#lead .lead-form__submit,
#lead .form-delivery-note {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  grid-column: 1 / -1;
}

#lead .form-field--task {
  min-inline-size: 0;
}

#lead .task-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#lead .task-options label,
#lead .task-options span {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-alert[hidden] {
  display: none;
}

#lead .form-alert {
  padding: 14px 16px;
  border: 1px solid #b54b43;
  border-left-width: 4px;
  background: #fff3f1;
  color: #8f302a;
  font-size: 13px;
  line-height: 1.45;
}

#lead .form-alert strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

#lead .form-alert ul {
  margin: 0;
  padding-left: 18px;
}

#lead .form-alert:focus-visible {
  outline: 2px solid #b54b43;
  outline-offset: 3px;
}

#lead .form-field input[aria-invalid="true"] {
  border-color: #b54b43;
  box-shadow: inset 0 0 0 1px #b54b43;
}

#lead .consent.has-error {
  padding: 10px 12px;
  border: 1px solid #b54b43;
  background: #fff3f1;
}

#lead .consent.has-error small {
  color: #8f302a;
}

.float-buttons__phone-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  #lead .task-options {
    grid-template-columns: 1fr;
  }

  .calculator__result > strong {
    font-size: clamp(28px, 8vw, 38px);
  }
}

.lead-map iframe[hidden] {
  display: none;
}

.map-stub {
  display: flex;
  min-height: clamp(220px, 18vw, 250px);
  padding: 18px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: #f2f4f3;
  color: #24282b;
  font-size: 13px;
  line-height: 1.6;
}

.map-stub p {
  max-width: 62ch;
  margin: 0;
}

.map-stub__button {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #24282b;
  background: #24282b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.map-stub__button:hover {
  border-color: #3a4145;
  background: #3a4145;
}

.map-stub__button:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .map-stub {
    min-height: 300px;
  }
}

@media (min-width: 1051px) {
  #lead .lead-map .map-stub {
    min-height: 250px;
    flex: 1 1 0;
  }
}
