:root {
  --ink: #f1f5fb;
  --text: #d8dfed;
  --muted: #9aa6ba;
  --quiet: #677287;
  --black: #070a12;
  --charcoal: #0d1422;
  --graphite: #121b2d;
  --steel: #19243a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #2f7df4;
  --accent-2: #65b7ff;
  --green: #18c99a;
  --amber: #f1b955;
  --danger: #e67461;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(680px 520px at 20% 8%, rgba(101, 183, 255, 0.18), transparent 64%),
    radial-gradient(520px 420px at 86% 28%, rgba(24, 201, 154, 0.08), transparent 66%),
    linear-gradient(180deg, var(--black) 0%, #05070d 52%, var(--black) 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
  animation: gridDrift 28s linear infinite;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

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

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--accent);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.constellation-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.46;
  mix-blend-mode: screen;
}

.site-header,
.hero-content,
.object-band > .wrap,
.section > .wrap,
.final-cta > .wrap,
.site-footer > .wrap {
  position: relative;
  z-index: 3;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--ink);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 154px;
  min-width: 154px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a,
.nav-link {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.nav-link:hover {
  color: var(--accent-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(7, 10, 18, 0.38);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 800;
}

.header-phone svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(7, 10, 18, 0.46);
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}

.mobile-menu-button span {
  position: relative;
}

.mobile-menu-button span::before,
.mobile-menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-button span::before {
  top: -6px;
}

.mobile-menu-button span::after {
  top: 6px;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 88px 24px 24px;
  background: rgba(7, 10, 18, 0.96);
  backdrop-filter: blur(18px);
}

.mobile-panel a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 26px;
  line-height: 1;
}

.hero {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: 126px 0 46px;
  background:
    radial-gradient(560px 420px at 75% 25%, rgba(47, 125, 244, 0.25), transparent 64%),
    radial-gradient(420px 320px at 84% 75%, rgba(24, 201, 154, 0.08), transparent 62%),
    linear-gradient(180deg, #090d18 0%, #05070d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(ellipse 85% 64% at 50% 32%, #000 36%, transparent 78%);
  animation: gridDriftHero 34s linear infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  align-items: center;
  gap: 52px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 24px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 36px rgba(47, 125, 244, 0.24);
}

.btn-primary:hover {
  background: #4694ff;
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(18, 27, 45, 0.78);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  border-color: rgba(101, 183, 255, 0.38);
  background: var(--steel);
}

.btn svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.proof-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 54px 0 0;
  padding: 18px 0;
  border: 0;
  background: none;
}

.proof-row::before,
.proof-row::after {
  content: "";
  position: absolute;
  right: -120px;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(101, 183, 255, 0.28), rgba(255, 255, 255, 0.09) 42%, rgba(255, 255, 255, 0.035) 76%, transparent);
}

.proof-row::before {
  top: 0;
}

.proof-row::after {
  bottom: 0;
}

.proof-row div {
  min-width: 0;
  padding: 0 22px 0 0;
}

.proof-row div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.055);
}

.proof-row dt {
  color: var(--ink);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.proof-row dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  height: 460px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 24%, rgba(47, 125, 244, 0.2), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(24, 201, 154, 0.1), transparent 42%),
    linear-gradient(160deg, rgba(25, 36, 58, 0.92), rgba(7, 10, 18, 0.86));
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: gridDriftFine 24s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 68px;
  left: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 183, 255, 0.55), transparent);
  box-shadow:
    0 -72px 0 rgba(255, 255, 255, 0.04),
    0 -144px 0 rgba(255, 255, 255, 0.03);
}

.rack-row {
  position: absolute;
  right: 54px;
  bottom: 58px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.rack {
  display: grid;
  gap: 10px;
  width: 84px;
  height: 260px;
  padding: 16px 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.62);
}

.rack:nth-child(2) {
  height: 312px;
}

.rack:nth-child(3) {
  height: 232px;
}

.rack i {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background:
    radial-gradient(circle at 18% 50%, var(--green) 0 3px, transparent 4px),
    radial-gradient(circle at 48% 50%, var(--accent-2) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 50%, var(--amber) 0 3px, transparent 4px),
    rgba(18, 27, 45, 0.95);
}

.signal-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(12px);
}

.signal-card span,
.signal-card small {
  display: block;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.signal-card strong {
  display: block;
  color: var(--ink);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 46px;
  line-height: 1;
}

.primary-card {
  top: 36px;
  left: 34px;
  width: 178px;
  padding: 18px;
}

.mini-card {
  bottom: 46px;
  left: 52px;
  width: 144px;
  padding: 14px;
}

.mini-card strong {
  color: var(--accent-2);
  font-size: 34px;
}

.trace {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  opacity: 0.7;
  transform-origin: left center;
}

.trace-a {
  top: 194px;
  left: 206px;
  width: 270px;
  transform: rotate(16deg);
}

.trace-b {
  bottom: 138px;
  left: 160px;
  width: 310px;
  transform: rotate(-8deg);
}

.trace-c {
  top: 102px;
  right: 146px;
  width: 180px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: rotate(-20deg);
}

.object-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #05070d;
}

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

.object-item {
  display: flex;
  min-height: 128px;
  gap: 16px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.object-item:last-child {
  border-right: 0;
}

.object-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border: 1px solid rgba(101, 183, 255, 0.28);
  border-radius: var(--radius);
  color: var(--accent-2);
  background: rgba(47, 125, 244, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.object-item h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.object-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.section {
  padding: 96px 0;
}

.section-deep {
  background:
    radial-gradient(circle at 70% 30%, rgba(47, 125, 244, 0.12), transparent 36%),
    #05070d;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  max-width: none;
  gap: 40px;
}

.section h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p,
.guarantee-layout p,
.faq-layout > div > p,
.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 27, 45, 0.92), rgba(13, 20, 34, 0.62));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(101, 183, 255, 0.36);
  transform: translateY(-3px);
}

.service-card.featured {
  border-color: rgba(101, 183, 255, 0.46);
  background:
    linear-gradient(180deg, rgba(47, 125, 244, 0.18), rgba(18, 27, 45, 0.74)),
    var(--graphite);
}

.service-card .card-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 28px;
  border: 1px solid rgba(101, 183, 255, 0.3);
  border-radius: var(--radius);
  color: var(--accent-2);
  background: rgba(47, 125, 244, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.service-card p {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card > span:last-child {
  display: block;
  margin-top: auto;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.visit-section {
  padding-top: 82px;
  padding-bottom: 82px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background:
    radial-gradient(620px 360px at 82% 18%, rgba(47, 125, 244, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.98), rgba(9, 13, 24, 0.98));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset;
}

.visit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 54px;
}

.visit-layout .section-head {
  margin-bottom: 0;
}

.visit-layout .section-head p {
  color: #a9b4c7;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.visit-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25, 36, 58, 0.94), rgba(13, 20, 34, 0.86));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset;
}

.visit-card > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid rgba(101, 183, 255, 0.3);
  border-radius: var(--radius);
  color: var(--accent-2);
  background: rgba(47, 125, 244, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.visit-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.visit-card p {
  margin: 10px 0 0;
  color: #9da7ba;
  font-size: 14px;
  line-height: 1.6;
}

.cases-section {
  background: #090d18;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite);
}

.case-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  color: var(--accent-2);
  background:
    radial-gradient(circle at 45% 36%, rgba(47, 125, 244, 0.24), transparent 34%),
    linear-gradient(135deg, #1b2945, #0e1525);
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.case-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-visual img + .case-lines {
  background: linear-gradient(180deg, transparent, rgba(7, 10, 18, 0.54));
}

.case-lines {
  position: absolute;
  inset: 26px;
  display: grid;
  align-content: center;
  gap: 22px;
  opacity: 0.68;
}

.case-lines i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 183, 255, 0.72), transparent);
}

.case-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(101, 183, 255, 0.35);
  border-radius: 12px;
  background: rgba(7, 10, 18, 0.76);
  font-weight: 900;
}

.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.case-body > span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.case-body h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 22px;
}

.case-body p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.case-body ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.case-body li {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.estimate-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--charcoal), #090d18);
}

.estimate-head {
  margin-bottom: 28px;
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr);
  min-width: 0;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(18, 27, 45, 0.82);
  box-shadow: var(--shadow);
}

.estimate-main,
.estimate-summary {
  min-width: 0;
  border-radius: 18px;
}

.estimate-main {
  padding: 30px;
  background: rgba(7, 10, 18, 0.7);
}

.estimate-tabs-shell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 8px;
  margin-bottom: 20px;
}

.estimate-tabs {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}

.estimate-tabs::-webkit-scrollbar {
  display: none;
}

.estimate-tabs button {
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.estimate-tabs button.active {
  border-bottom-color: var(--accent);
  color: var(--accent-2);
}

.estimate-tab-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(25, 36, 58, 0.78);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition:
    opacity 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.estimate-tab-arrow:hover:not(:disabled) {
  border-color: rgba(101, 183, 255, 0.42);
  background: rgba(47, 125, 244, 0.18);
}

.estimate-tab-arrow:disabled {
  opacity: 0.28;
}

.estimate-rows {
  display: grid;
  min-height: 266px;
  gap: 10px;
}

.estimate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 74px;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(25, 36, 58, 0.7);
}

.estimate-row strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.estimate-row span,
.estimate-row small {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.45;
}

.estimate-row small {
  color: var(--accent-2);
  font-weight: 800;
}

.stepper {
  display: grid;
  grid-template-columns: 32px 42px 32px;
  align-items: center;
  height: 34px;
  padding: 3px;
  border-radius: var(--radius);
  background: rgba(5, 7, 13, 0.82);
}

.stepper button {
  width: 32px;
  height: 28px;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.stepper button:hover {
  background: rgba(18, 27, 45, 0.92);
}

.stepper output {
  display: grid;
  place-items: center;
  height: 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.estimate-summary {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(25, 36, 58, 0.82);
}

.estimate-summary h3 {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-list {
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 8px;
}

.order-list > p {
  margin: 34px 0 0;
  color: var(--quiet);
  text-align: center;
  font-size: 13px;
  font-style: italic;
}

.order-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.order-item small {
  color: var(--quiet);
}

.order-item strong {
  color: var(--ink);
  white-space: nowrap;
}

.total-lines {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.total-lines div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.total-lines strong {
  color: var(--ink);
}

.grand-total {
  align-items: baseline;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.grand-total strong {
  color: var(--accent-2);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 36px;
}

.full-button {
  width: 100%;
}

.estimate-note {
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.55;
}

.process-section {
  background: linear-gradient(180deg, #05070d, var(--charcoal));
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.72), rgba(5, 7, 13, 0.62));
}

.step-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.18);
}

.step-card:last-child {
  border-right: 0;
}

.step-card > span {
  color: var(--accent-2);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.step-card h3 {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.step-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.step-card small {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.guarantee-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(780px 420px at 12% 96%, rgba(47, 125, 244, 0.12), transparent 64%),
    radial-gradient(620px 360px at 92% 88%, rgba(24, 201, 154, 0.06), transparent 68%),
    linear-gradient(180deg, #090d18 0%, #111a2a 52%, #090d18 100%);
}

.guarantee-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 54px;
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.guarantee-list div {
  display: flex;
  align-items: center;
  min-height: 96px;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 18, 0.58);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

.guarantee-list span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #04100c;
  background: var(--green);
  font-weight: 900;
}

.guarantee-list p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-section {
  background: #090d18;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 27, 45, 0.84);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

.faq-list summary {
  display: flex;
  align-items: center;
  min-height: 62px;
  gap: 18px;
  padding: 0 18px;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  color: var(--accent-2);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(740px 420px at 16% 88%, rgba(47, 125, 244, 0.15), transparent 66%),
    radial-gradient(520px 360px at 84% 86%, rgba(101, 183, 255, 0.09), transparent 68%),
    linear-gradient(180deg, #090d18 0%, #111a2a 48%, #090d18 100%);
}

.final-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: start;
  gap: 64px;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 10, 18, 0.74);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input {
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(9, 13, 24, 0.64);
  outline: none;
}

.lead-form input:focus {
  border-color: rgba(101, 183, 255, 0.75);
}

.lead-form input.is-invalid {
  border-color: rgba(230, 116, 97, 0.9);
}

.form-message {
  padding: 12px 14px;
  border: 1px solid rgba(101, 183, 255, 0.24);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(47, 125, 244, 0.12);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.form-message.error {
  border-color: rgba(230, 116, 97, 0.36);
  color: #ffd4cd;
  background: rgba(230, 116, 97, 0.12);
}

.form-message.success {
  border-color: rgba(24, 201, 154, 0.36);
  color: #d9fff4;
  background: rgba(24, 201, 154, 0.11);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #04060c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 64px;
}

.site-footer img {
  width: 148px;
}

.site-footer p {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.site-footer a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.site-footer a:hover {
  color: var(--accent-2);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.74);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
}

.modal-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans Condensed", "Manrope", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.modal-card > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-summary {
  display: grid;
  gap: 8px;
  margin: 2px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(25, 36, 58, 0.58);
}

.modal-summary strong {
  color: var(--ink);
  font-size: 13px;
}

.modal-summary span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.loading-line,
.empty-state,
.error-state {
  min-height: 74px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(25, 36, 58, 0.55);
  font-size: 14px;
  line-height: 1.5;
}

.loading-line {
  position: relative;
  overflow: hidden;
  color: transparent;
}

.loading-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 1.3s ease-in-out infinite;
}

.error-state {
  border-color: rgba(230, 116, 97, 0.36);
  color: #ffd4cd;
}

.error-state button {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(230, 116, 97, 0.18);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 1320px) and (min-width: 761px) {
  .object-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .object-item:nth-child(2) {
    border-right: 0;
  }

  .object-item:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .nav-link,
  .header-phone span {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 320px;
  }

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

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

  .step-card:nth-child(3) {
    border-right: 0;
  }

  .step-card:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .estimate-layout,
  .guarantee-layout,
  .faq-layout,
  .final-layout,
  .visit-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap,
  .hero-content {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    height: 70px;
    padding: 0 16px;
  }

  .brand {
    width: 132px;
    min-width: 132px;
  }

  .hero {
    padding: 102px 0 42px;
  }

  .hero h1 {
    max-width: 420px;
    font-size: 44px;
    line-height: 1;
  }

  .hero p {
    max-width: 390px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .hero-visual {
    display: none;
  }

  .proof-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 38px;
  }

  .proof-row div {
    padding: 14px 12px 14px 0;
  }

  .proof-row div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .proof-row div:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.055);
  }

  .proof-row div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.045);
  }

  .proof-row dt {
    font-size: 26px;
  }

  .object-grid,
  .service-grid,
  .case-grid,
  .guarantee-list,
  .visit-grid,
  .section-head.split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .object-item {
    min-height: 108px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .object-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .service-card {
    min-height: auto;
  }

  .estimate-layout {
    padding: 0;
    border-radius: 18px;
  }

  .estimate-main,
  .estimate-summary {
    padding: 20px;
    border-radius: 18px;
  }

  .estimate-tabs-shell {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
  }

  .estimate-tabs {
    display: flex;
    overflow-x: auto;
  }

  .estimate-tabs button {
    padding: 11px 8px;
    min-width: max-content;
    white-space: nowrap;
    font-size: 12px;
  }

  .estimate-tab-arrow {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }

  .estimate-row {
    grid-template-columns: 1fr;
  }

  .total-lines div {
    align-items: flex-start;
  }

  .grand-total {
    display: grid !important;
    gap: 6px;
  }

  .grand-total strong {
    font-size: 32px;
  }

  .case-body ul {
    grid-template-columns: 1fr;
  }

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

  .step-card,
  .step-card:nth-child(3) {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .step-card:first-child {
    border-top: 0;
  }

  .step-card h3 {
    margin-top: 20px;
  }

  .lead-form {
    padding: 18px;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }

  .btn {
    width: 100%;
    padding: 0 14px;
    font-size: 14px;
  }

  .mobile-panel a {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes gridDriftHero {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 82px 82px, 82px 82px;
  }
}

@keyframes gridDriftFine {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 42px 42px, 42px 42px;
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
