:root {
  --accent: #2C5FD6;
  --accent-hover: #1B44A8;
  --ink: #131A22;
  --ink-muted: #5C6775;
  --ink-soft: #6B7686;
  --paper: #F6F3EC;
  --paper-2: #EFEBE3;
  --line: #E4E7EC;
  --line-2: #DFE3E8;
  --navy: #0D1826;
  --navy-2: #16202E;
  --navy-3: #0A121D;
  --mist: #B9C4D2;
  --mono: #8FA2B8;
  --blue-soft: #7FA3EE;
  --wrap: 1280px;
  --gutter: max(1.25rem, 4vw, env(safe-area-inset-left, 0px));
  --gutter-r: max(1.25rem, 4vw, env(safe-area-inset-right, 0px));
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: Bitter, Georgia, serif;
  --code: "IBM Plex Mono", ui-monospace, monospace;
  --hdr-bg: 255, 255, 255;
  --hdr-glass: rgba(var(--hdr-bg), .86);
  --hdr-glass-float: rgba(var(--hdr-bg), .72);
  --hdr-ink: #131A22;
  --hdr-accent: #2C5FD6;
  --hdr-scrim: rgba(13, 24, 38, .4);
  --hdr-shadow: rgba(13, 24, 38, .12);
  --hdr-panel: #fff;
  --hdr-ease: cubic-bezier(.22, 1, .36, 1);
  --hdr-z: 60;
  --radius: 16px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px));
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
  text-wrap: pretty;
}
body.is-nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
iframe { width: 100%; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.12;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter) var(--gutter-r);
}

.section { padding: 84px 0; }
.section-head { margin-bottom: 0; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  max-width: 26ch;
  padding-bottom: 16px;
  background-image: linear-gradient(90deg, var(--accent) 0 32px, rgba(19, 26, 34, .14) 32px 132px, transparent 132px);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: min(100%, 22rem) 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
}
.btn:hover { background: #3E74EC; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { border-color: #fff; background: transparent; color: #fff; }
.btn-lead { padding: 15px 28px; }

html.js .hero,
html.js .section,
html.js .site-footer { opacity: 0; }
html.no-reveal .hero,
html.no-reveal .section,
html.no-reveal .site-footer { opacity: 1; }

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--hdr-z);
  background: transparent;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  padding-bottom: 10px;
  transition:
    top .5s var(--hdr-ease),
    left .5s var(--hdr-ease),
    right .5s var(--hdr-ease),
    padding .5s var(--hdr-ease),
    border-radius .5s var(--hdr-ease),
    box-shadow .5s var(--hdr-ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: transparent;
  border-bottom: 0;
}
.site-header.is-float::before {
  background: var(--hdr-glass-float);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0;
}
.site-header:not(.is-float) .logo-name,
.site-header:not(.is-float) .header-chip {
  color: #fff;
}
.site-header:not(.is-float) .nav-toggle span {
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--ink);
  padding-top: 3px;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 42px;
}
.logo-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  white-space: nowrap;
  transform: translateY(1px);
  transition: color .35s var(--hdr-ease);
}
.logo-sub {
  display: block;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: normal;
  max-width: 15rem;
  color: var(--ink-muted);
  transition: color .35s var(--hdr-ease);
}
.site-header:not(.is-float) .logo-sub {
  color: rgba(255, 255, 255, .78);
}
.nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #3B4756;
  transition: color .35s var(--hdr-ease);
}
.nav a { color: inherit; white-space: nowrap; }
.nav-extra { display: none; }
.header-chip {
  flex: 0 0 auto;
  font-family: var(--code);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color .35s var(--hdr-ease);
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.header-cta--bar {
  flex: 0 0 auto;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.header-cta--bar:hover { background: var(--accent-hover); color: #fff; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 80;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s var(--hdr-ease), opacity .2s var(--hdr-ease), background .35s var(--hdr-ease);
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--hdr-scrim);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-scrim[hidden] { display: none; }
.site-header.is-float {
  top: max(12px, env(safe-area-inset-top, 0px));
  left: 18px;
  right: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 28px;
  box-shadow: 0 16px 48px var(--hdr-shadow);
}
.site-header.is-float::before {
  background: var(--hdr-glass-float);
  border-bottom: 0;
}
.site-header.is-float .header-inner { min-height: 48px; }
.site-header-slot { display: none; }

.soc {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  color: var(--ink-muted);
  border-radius: 12px;
}
.soc svg { width: 16px; height: 16px; fill: currentColor; }
.header-social { display: flex; gap: 8px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-pad-top: calc(108px + env(safe-area-inset-top, 0px));
  padding: var(--hero-pad-top) 0 0;
  color: #E9EDF3;
  background:
    radial-gradient(ellipse 58% 72% at 78% 44%, #1C2D45 0%, transparent 64%),
    radial-gradient(ellipse 40% 48% at 6% 90%, rgba(44, 95, 214, .18), transparent 56%),
    #0C151F;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  padding-bottom: 72px;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  color: #fff;
  max-width: 18ch;
}
.hero-sub {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--mist);
  max-width: 52ch;
}
.hero-expert {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  max-width: 42ch;
}
.hero-expert-name {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.hero-expert-title {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #A8B4C4;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.hero-call {
  color: #D5DCE6;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  font-size: 15px;
}
.hero-call:hover { color: #fff; }
.hero-note {
  flex: 1 1 100%;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #A8B4C4;
  max-width: 46ch;
}
.hero-copy,
.hero-actions { min-width: 0; }
.hero-house {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  min-width: 0;
  margin-inline: auto;
}
.hero-house-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero-house-svg .layer-roof,
.hero-house-svg .layer-slab,
.hero-house-svg .layer-walls,
.hero-house-svg .layer-foundation,
.hero-house-svg .layer-axes,
.hero-house-svg .layer-dims {
  transform-box: view-box;
  transform-origin: 340px 320px;
}
.hero-house-svg .layer-solid {
  fill: rgba(255,255,255,.08);
  stroke: #E4EAF1;
  stroke-width: 1.25;
  stroke-linejoin: round;
}
.hero-house-svg .layer-inner {
  fill: none;
  stroke: #E4EAF1;
  stroke-width: 0.7;
  opacity: .6;
}
.hero-house-svg .layer-openings,
.hero-house-svg .layer-rafters {
  fill: none;
  stroke: #E4EAF1;
  stroke-width: 0.75;
  opacity: .7;
}
.hero-house-svg .layer-rebar {
  fill: none;
  stroke: #7FA3EE;
  stroke-width: 0.6;
  opacity: .75;
}
.hero-house-svg .layer-axes {
  stroke: rgba(185,196,210,.38);
  stroke-width: 0.6;
  stroke-dasharray: 3 5;
}
.hero-house-svg .layer-dims-scale {
  stroke: #7FA3EE;
  stroke-width: 0.7;
  opacity: .85;
}
.hero-house-svg .layer-dims-lead {
  stroke: #7FA3EE;
  stroke-width: 0.5;
  stroke-dasharray: 2 4;
  opacity: .5;
}

.services {
  background-color: var(--paper);
  background-image: url("bg-sheet.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-bottom: 1px solid rgba(19, 26, 34, .06);
  padding: 84px 0;
}
.services-layout {
  display: grid;
  gap: 40px;
}
.services-list { display: grid; gap: 12px; margin-top: 36px; }
.svc-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}
.topic-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-shrink: 0;
}
.topic-icon-svg {
  width: 22px;
  height: 22px;
  display: block;
}
.svc-row h3 { font-size: 19px; }
.svc-row p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 58ch;
}
.svc-row--extra {
  background: var(--navy);
  border-color: #1C2A3C;
}
.svc-row--extra h3 { color: #fff; }
.svc-row--extra p { color: #B9C4D2; }
.svc-row--extra .topic-icon {
  color: #8FB0F0;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}
.services-media { min-width: 0; }
.photo-mosaic {
  display: grid;
  gap: 10px;
}
.photo-mosaic figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #EEF0F3;
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-mosaic img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-mosaic--services {
  grid-template-columns: 1fr 1fr 1fr;
}
.photo-mosaic--services figure:first-child { grid-column: 1 / -1; }
.photo-mosaic--services figure:first-child img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.photo-mosaic--services figure:nth-child(n+2) img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 40%;
}
.photo-mosaic--services figure:nth-child(n+5) img {
  height: 168px;
  object-position: center 35%;
}

.work-gallery { display: none; }

.section-extra {
  background: var(--paper);
  padding: 8px 0 72px;
}
.extra-wrap {
  display: flex;
  justify-content: center;
}
.extra-note {
  position: relative;
  width: min(100%, 56rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 22px;
  align-items: start;
  padding: 26px 36px 28px 28px;
  background: var(--navy);
  color: #D5DCE6;
  border-radius: 3px 26px 6px 34px;
}
.extra-bang {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 5rem);
  font-weight: 700;
  line-height: .78;
  color: #3D6EE0;
  letter-spacing: -.06em;
}
.extra-note-body { min-width: 0; padding-top: 6px; }
.extra-note h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #8FB0F0;
  letter-spacing: 0;
  max-width: none;
  padding: 0;
  background: none;
}
.extra-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #E9EDF3;
}
.extra-lead + .extra-lead { margin-top: 12px; }
.extra-lead strong {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
}
.extra-cta-wrap {
  margin: 18px 0 0;
}
.extra-cta {
  display: inline-flex;
  font-size: 14px;
  padding: 12px 20px;
}

.situations {
  background-color: var(--paper);
  background-image: url("bg-sheet.svg");
  background-repeat: no-repeat;
  background-size: 100% 110%;
  background-position: 0 100%;
  border-bottom: 1px solid rgba(19, 26, 34, .06);
}
.situations-list {
  margin-top: 44px;
  display: grid;
  gap: 12px;
}
.sit-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}
.sit-row .topic-icon { grid-row: 1 / span 2; }
.sit-row h3 { font-size: 17px; }
.sit-row p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.qualification {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy-2);
  background-image: url("bg-navy.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #E9EDF3;
}
.qualification::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.qualification .wrap { position: relative; z-index: 1; }
.qualification-head h2 {
  color: #fff;
  background-image: linear-gradient(90deg, #7FA3EE 0 36px, rgba(255,255,255,.2) 36px 140px, transparent 140px);
}
.qual-cols {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
.qual-col {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
}
.qual-col-title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.qual-point {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mist);
}
.qual-point:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.qual-point:last-child { padding-bottom: 0; }
.qual-point strong {
  font-family: var(--display);
  color: #fff;
  font-weight: 700;
}
.qual-subtitle {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.qual-sections {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
.qual-section {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
}
.qual-section .qual-subtitle { margin-top: 0; }
.qual-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mist);
}
.qual-text + .qual-text { margin-top: 12px; }
.qual-list-label {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.qual-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 8px;
}
.qual-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mist);
}
.qual-block .qual-subtitle {
  margin-top: 48px;
}
.qual-docs-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.qual-doc {
  margin: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow: hidden;
}
.qual-doc img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.qual-doc figcaption {
  padding: 10px 12px;
  font-family: var(--code);
  font-size: 10.5px;
  color: var(--mono);
  border-top: 1px solid rgba(255,255,255,.1);
}

.cases {
  background-color: var(--paper);
  background-image: url("bg-sheet.svg");
  background-repeat: no-repeat;
  background-size: 110% 100%;
  background-position: 100% 0;
  border-bottom: 1px solid rgba(19, 26, 34, .06);
}
.cases-widget {
  margin-top: 40px;
  display: grid;
  gap: 28px;
}
.cases-tabs {
  display: grid;
  gap: 8px;
  border-bottom: 0;
}
.cases-tab {
  display: block;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font: inherit;
  border-radius: var(--radius);
}
.cases-tab.is-active {
  border-color: var(--ink);
  background: #F6F7F9;
  color: var(--ink);
}
.cases-tab-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}
.case-panel { display: none; }
.case-panel.is-active {
  display: block;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: var(--radius);
}
.case-layout {
  display: grid;
  gap: 18px;
}
.case-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #EEF0F3;
}
.case-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.case-panel[hidden] { display: none !important; }
.case-title { font-size: 22px; max-width: 36ch; line-height: 1.25; }
.case-meta { margin: 26px 0 0; display: grid; gap: 22px; }
.case-meta-row dt {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 8px;
}
.case-meta-row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3B4756;
}
.cases-carousel-nav {
  display: flex;
  gap: .4rem;
  justify-content: flex-start;
}
.cases-carousel-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 12px;
}

.reviews {
  background-color: var(--paper-2);
  background-image: url("bg-sheet.svg");
  background-repeat: no-repeat;
  background-size: 130% 160%;
  background-position: 80% 10%;
  border-bottom: 1px solid rgba(19, 26, 34, .06);
}
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.reviews-nav { display: flex; gap: 8px; }
.reviews-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
  border-radius: 12px;
}
.reviews-btn:disabled { opacity: .35; cursor: default; }
.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 40px 0 8px;
  scrollbar-width: none;
  touch-action: pan-x;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(22rem, 86%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.review-card:nth-child(even) {
  background: #F8F6F1;
  border-color: transparent;
}
.review-quote p {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
}
.review-foot {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.review-meta { font-size: 13.5px; color: var(--ink-soft); }
.review-author {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.review-context { display: block; }
.review-context::before { content: none; }
.review-stars { display: flex; align-items: center; gap: .2rem; margin: 0; }
.review-star {
  width: .75rem;
  height: .75rem;
  background: var(--line);
  clip-path: polygon(50% 4%, 61% 36%, 96% 38%, 68% 59%, 78% 92%, 50% 74%, 22% 92%, 32% 59%, 4% 38%, 39% 36%);
}
.review-star.is-on { background: var(--accent); }
.review-stars-n {
  margin-left: .35rem;
  font-family: var(--code);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.reviews-yandex { margin-top: 1.25rem; }
.reviews-yandex-frame {
  min-height: 320px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.faq {
  background-color: var(--paper);
  background-image: url("bg-sheet.svg");
  background-repeat: no-repeat;
  background-size: 100% 120%;
  background-position: 0 0;
  border-bottom: 1px solid rgba(19, 26, 34, .06);
}
.faq-list { margin-top: 36px; display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 0 20px;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  flex-shrink: 0;
  color: #9AA5B4;
  font-family: var(--code);
  font-weight: 400;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 0 20px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

.lead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 84px 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(44, 95, 214, .16), transparent 50%),
    url("bg-navy.svg");
  background-repeat: no-repeat;
  background-size: auto, 100% 100%;
  color: #E9EDF3;
}
.lead::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.lead-inner { position: relative; z-index: 1; display: grid; gap: 40px; }
.lead-head h2 {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  max-width: 20ch;
  background: none;
}
.lead-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mist);
  max-width: 44ch;
}
.lead-form { display: grid; gap: 16px; position: relative; }
.lead-grid { display: grid; gap: 16px; }
.lead-field { display: grid; gap: 8px; }
.lead-label {
  font-size: 14px;
  color: var(--mist);
  font-weight: 500;
}
.lead-field input[type="text"],
.lead-field input[type="tel"],
.lead-field textarea,
.lead-files {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  border-radius: var(--radius-sm);
}
.lead-field textarea { resize: vertical; min-height: 96px; }
.lead-files {
  border-style: dashed;
  background: rgba(255,255,255,.04);
  color: var(--mist);
  cursor: pointer;
}
.lead-hint { font-size: 12.5px; color: var(--mono); }
.lead-channels { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.lead-channel-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lead-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
  color: #D1D7E0;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.lead-channel:has(input:checked) {
  border-color: #fff;
  color: #fff;
}
.lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.lead-consents {
  display: grid;
  gap: 10px;
}
.lead-legal {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  font-size: 14px;
  line-height: 1.5;
  color: var(--mist);
  cursor: pointer;
  border-radius: var(--radius);
}
.lead-legal input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.lead-legal a { color: #93C5FD; text-decoration: underline; }
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.lead-after, .lead-status { margin: 0; font-family: var(--code); font-size: 12px; color: var(--mono); }
.lead-status.is-ok { color: #86EFAC; }
.lead-status.is-error { color: #FCA5A5; }

.contacts {
  background-color: var(--paper);
  background-image: url("bg-sheet.svg");
  background-repeat: no-repeat;
  background-size: 100% 180%;
  background-position: 0 100%;
}
.contacts-row {
  margin-top: 24px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.contacts-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 6.2vw, 42px);
  color: var(--ink);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.contacts-email {
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contacts-zone { font-size: 15px; color: var(--ink-muted); margin: 0; }
.contacts-social { display: flex; gap: 8px; align-items: center; }

.site-footer {
  position: relative;
  padding: 40px 0;
  background: var(--navy-3);
  color: var(--mono);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter-r);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(185,196,210,.45) 0 2px, transparent 2px 96px, rgba(185,196,210,.28) 96px 97px, transparent 97px 210px, rgba(185,196,210,.35) 210px 212px, transparent 212px 420px, rgba(185,196,210,.22) 420px 421px, transparent 421px);
}
.footer-grid { display: grid; gap: 32px; }
.footer-brand .brand { display: inline-block; margin-bottom: 16px; color: #fff; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: #8FA3B8; }
.footer-copy, .footer-legal {
  margin: 0 0 .2rem;
  font-size: 13px;
  line-height: 1.6;
}
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav-title {
  margin: 0 0 4px;
  font-size: 13px;
  color: #6E7C8C;
  font-weight: 600;
}
.footer-nav a { font-size: 14px; color: var(--mist); }
.footer-nav a:hover { color: #fff; }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--hdr-accent); }
  .soc:hover { color: var(--ink); border-color: var(--ink); }
  .header-chip:hover { color: var(--hdr-accent); }
  .site-header:not(.is-float) .nav a:hover { color: #fff; }
  .site-header:not(.is-float) .header-chip:hover { color: rgba(255,255,255,.78); }
  .reviews-btn:hover { border-color: var(--ink); }
}

@media (max-width: 1099px) {
  html { scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
  .nav-toggle { display: block; }
  .header-cta--bar { display: none; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(82vw, 300px);
    flex: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: max(72px, calc(env(safe-area-inset-top, 0px) + 56px)) 12px max(1.25rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background: var(--hdr-panel);
    box-shadow: -12px 0 32px var(--hdr-shadow);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .5s var(--hdr-ease), visibility .5s var(--hdr-ease);
  }
  .site-header.is-open .nav {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a { display: block; padding: 13px 12px; font-size: 1rem; white-space: normal; }
  .nav-extra {
    display: grid;
    gap: .65rem;
    margin-top: .75rem;
    padding: 4px 12px 12px;
  }
  .nav-extra .header-cta {
    display: inline-flex;
    justify-content: center;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
  }
  .site-header.is-float {
    top: max(8px, env(safe-area-inset-top, 0px));
    left: 10px;
    right: 10px;
    border-radius: 24px;
  }
}

@media (max-width: 899px) {
  .photo-mosaic--services { grid-template-columns: 1fr 1fr; }
  .photo-mosaic--services figure:first-child img { height: 240px; }
  .photo-mosaic--services figure:nth-child(n+2) img { height: 150px; }
  .photo-mosaic--services figure:nth-child(n+5) img { height: 140px; }
  .extra-note {
    width: min(100%, 48rem);
    padding: 20px 20px 22px 16px;
    gap: 4px 14px;
  }
  .svc-row,
  .sit-row { padding: 14px 14px; }
}

@media (max-width: 767px) {
  .services-layout { gap: 28px; }
  .services-media {
    display: block;
    position: static;
  }
  .photo-mosaic--services { grid-template-columns: 1fr 1fr; }
  .photo-mosaic--services figure:first-child { grid-column: 1 / -1; }
  .photo-mosaic--services figure:first-child img { height: 200px; }
  .photo-mosaic--services figure:nth-child(n+2) img { height: 140px; }
  .work-gallery { display: none; }
}

@media (max-width: 640px) {
  .header-chip { display: none; }
  .logo-name { font-size: 20px; }
  .logo-sub { font-size: 10.5px; max-width: 11.5rem; }
  .hero { --hero-pad-top: calc(88px + env(safe-area-inset-top, 0px)); }
  .hero-copy h1 { font-size: clamp(26px, 8.4vw, 36px); }
  .hero-sub { margin-top: 16px; font-size: 16px; }
  .hero-expert { margin-top: 20px; padding-top: 16px; }
  .hero-expert-name { font-size: 18px; }
  .hero-expert-title { font-size: 14px; }
  .hero-grid { gap: 20px; padding-bottom: 36px; }
  .hero-house { width: min(78vw, 280px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-note { max-width: none; }
  .section,
  .services,
  .lead { padding-top: 56px; padding-bottom: 56px; }
  .section-extra { padding: 0 0 48px; }
  .extra-note {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 16px 20px;
    border-radius: 18px;
  }
  .extra-bang {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
    line-height: .85;
  }
  .extra-note-body { padding-top: 0; }
  .extra-lead { font-size: 15px; }
  .extra-cta { width: 100%; justify-content: center; }
  .lead-inner { gap: 28px; }
  .lead-head h2 {
    max-width: none;
    font-size: clamp(24px, 7.2vw, 30px);
  }
  .lead-sub {
    margin-top: 14px;
    max-width: none;
    font-size: 15px;
  }
  .lead-channel-grid { grid-template-columns: 1fr; }
  .lead-field input[type="text"],
  .lead-field input[type="tel"],
  .lead-field textarea {
    font-size: 16px;
  }
  .lead-legal {
    padding: 12px 14px;
    font-size: 13px;
  }
  .lead-actions { flex-direction: column; align-items: stretch; }
  .btn-lead { width: 100%; }
  .faq-q { font-size: 16px; gap: 12px; }
  .contacts-row { gap: 16px; }
}

@media (min-width: 641px) and (max-width: 899px) {
  .hero-house { width: min(52vw, 340px); }
  .hero-grid { gap: 28px; padding-bottom: 52px; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .sit-row {
    grid-template-columns: 42px minmax(10rem, 12rem) 1fr;
    gap: 4px 16px;
    align-items: center;
  }
  .sit-row .topic-icon { grid-row: auto; }
  .qual-cols { grid-template-columns: 1fr 1fr; }
  .qual-sections { grid-template-columns: 1fr 1fr; }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-card { flex-basis: min(28rem, 70%); }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas:
      "copy house"
      "actions house";
    gap: 28px 40px;
    align-items: center;
    padding-bottom: 64px;
  }
  .hero-copy { grid-area: copy; }
  .hero-house {
    grid-area: house;
    width: min(100%, 420px);
    margin: 0;
  }
  .hero-actions { grid-area: actions; }
  .services-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    gap: 48px;
    align-items: start;
  }
  .services-media { position: sticky; top: 104px; }
  .extra-note { width: min(100%, 56rem); }
  .situations-list { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .sit-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .sit-row .topic-icon { grid-row: 1 / span 2; }
  .qual-cols { grid-template-columns: 1fr 1fr; }
  .qual-sections { grid-template-columns: 1fr 1fr; }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .cases-widget {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .case-layout {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 200px);
    gap: 22px 24px;
    align-items: start;
  }
  .case-media img {
    height: 100%;
    min-height: 240px;
    max-height: 320px;
  }
  .cases-carousel-nav { display: none; }
  .lead-inner {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
  }
  .lead-channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contacts-row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px 32px;
  }
  .faq-list { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-card { flex-basis: min(28rem, 70%); }
}

@media (min-width: 1100px) {
  .review-card { flex-basis: min(32rem, 46%); }
  .nav { gap: 16px; font-size: 13px; }
  .header-inner { gap: 18px; }
  .site-header:not(.is-float) .nav { color: rgba(255,255,255,.86); }
}

@media (min-width: 1240px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contacts-row {
    grid-template-columns: auto auto 1fr auto;
    gap: 32px 40px;
  }
  .nav { gap: 22px; font-size: 13.5px; }
  .services-layout { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .hero,
  html.js .section,
  html.js .site-footer { opacity: 1; }
  .site-header,
  .site-header::before,
  .nav,
  .nav-toggle span,
  .nav-toggle span { transition: none; }
}
