:root {
  --bg: #f3f6fa;
  --surface: #ffffff;
  --surface-muted: #f8fbfd;
  --surface-soft: #eef4f8;
  --line: #d8e2ea;
  --line-strong: #c3d1dc;
  --text: #172534;
  --text-soft: #5b6979;
  --title: #0f2740;
  --primary: #12385f;
  --primary-deep: #0b2845;
  --accent: #b78b46;
  --accent-soft: #e8dbc4;
  --success: #295b50;
  --shadow: 0 12px 32px rgba(15, 39, 64, 0.06);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f6f9fc 0%, #f1f5f9 100%);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.service-line {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.service-line__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 246, 250, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 56, 95, 0.08);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 24px rgba(15, 39, 64, 0.08);
  background: rgba(248, 250, 252, 0.98);
}

.topbar,
.nav-wrap__row,
.header-side,
.header-meta {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 16px;
}

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

.brand__mark {
  display: block;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background:
    #ffffff url("assets/logo.png") center / 88% auto no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(18, 56, 95, 0.08),
    0 8px 18px rgba(18, 56, 95, 0.14);
  overflow: hidden;
}

.brand__mark::before,
.brand__mark::after {
  content: none;
}

.brand__meter {
  display: none;
}

.brand__text {
  display: grid;
  gap: 3px;
}

.brand__text strong,
.hero h1,
.hero-panel__card h2,
.section-heading h2,
.process-layout h2,
.request-copy h2,
.seo-block h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

.brand__text strong {
  color: var(--title);
  font-size: 1.06rem;
}

.brand__text span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.header-side,
.header-meta {
  gap: 18px;
}

.header-meta__item {
  display: grid;
  gap: 2px;
  text-align: right;
}

.meta-label,
.eyebrow,
.metric-card__title,
.hero-panel__label,
.info-panel__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.meta-label {
  color: var(--text-soft);
}

.header-meta__item strong,
.header-meta__item a {
  color: var(--title);
  font-size: 1rem;
  font-weight: 700;
}

.nav-wrap {
  border-top: 1px solid rgba(18, 56, 95, 0.07);
  background: rgba(255, 255, 255, 0.84);
}

.nav-wrap__row {
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  display: flex;
  gap: 6px;
  padding: 10px 0;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--primary);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: var(--surface-soft);
  color: var(--primary-deep);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.mobile-call {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--primary);
}

.hero {
  padding: 38px 0 18px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero__content,
.hero-panel__card,
.metric-card,
.benefit-card,
.info-panel,
.note-card,
.request-form,
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 36px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 252, 0.98) 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  color: var(--title);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
  max-width: 10ch;
}

.hero__lead,
.section-heading p,
.benefit-card p,
.process-item p,
.request-copy p,
.seo-block p,
.note-card p,
.faq p,
.footer-copy {
  color: var(--text-soft);
}

.hero__lead {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--primary);
  color: #fff;
}

.button--secondary {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--primary);
}

.button--wide {
  width: 100%;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-highlights article,
.hero-panel__stats div {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.hero-highlights strong,
.metric-card strong,
.benefit-card h3,
.process-item h3,
.info-panel h3,
.note-card h3,
.site-footer h3 {
  color: var(--title);
}

.hero-highlights strong {
  display: block;
  margin-bottom: 6px;
}

.hero-highlights span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel__card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 22px;
}

.hero-panel__card--accent {
  background:
    linear-gradient(180deg, rgba(18, 56, 95, 0.98) 0%, rgba(11, 40, 69, 0.98) 100%);
  color: #fff;
  border-color: rgba(18, 56, 95, 0.25);
}

.hero-panel__card--accent::before {
  content: "";
  position: absolute;
  inset: auto -72px -58px auto;
  width: 340px;
  height: 240px;
  background:
    linear-gradient(180deg, rgba(18, 56, 95, 0.08), rgba(18, 56, 95, 0)),
    url("assets/water-meter-overlay.png") center / contain no-repeat;
  opacity: 0.34;
  filter: blur(0.2px);
  pointer-events: none;
}

.hero-panel__card--accent > * {
  position: relative;
  z-index: 1;
}

.hero-panel__label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-panel__card h2 {
  margin: 0 0 16px;
  font-size: 1.7rem;
  line-height: 1.18;
}

.check-list,
.request-points,
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.request-points li,
.footer-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li + li,
.request-points li + li,
.footer-list li + li {
  margin-top: 12px;
}

.check-list li::before,
.request-points li::before,
.footer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list--dark li::before {
  background: var(--primary);
}

.check-list--light li::before {
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel__price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel__price span,
.hero-panel__note {
  color: rgba(255, 255, 255, 0.8);
}

.hero-panel__price strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

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

.hero-panel__stats strong,
.metric-card strong {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.55rem;
}

.hero-panel__stats span {
  color: var(--text-soft);
}

.hero-panel__note {
  margin: 18px 0 0;
  color: var(--text-soft);
}

.metrics {
  padding: 14px 0 10px;
}

.metrics__grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card,
.benefit-card,
.note-card,
.request-form,
.faq details {
  border-radius: 18px;
  padding: 22px;
}

.metric-card {
  min-height: 100%;
}

.metric-card__title,
.info-panel__label {
  color: var(--accent);
}

.metric-card strong {
  margin: 6px 0 10px;
  color: var(--title);
  font-size: 1.35rem;
}

.metric-card p {
  margin: 0;
  color: var(--text-soft);
}

.section--pricing {
  padding-top: 22px;
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pricing-card--featured {
  background: linear-gradient(180deg, rgba(18, 56, 95, 0.98) 0%, rgba(11, 40, 69, 0.98) 100%);
  border-color: rgba(18, 56, 95, 0.25);
}

.pricing-card__type,
.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card__type {
  padding: 6px 10px;
  background: var(--surface-soft);
  color: var(--primary);
}

.pricing-card__badge {
  margin-bottom: 12px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.pricing-card h3 {
  margin: 16px 0 14px;
  color: var(--title);
  font-size: 1.28rem;
  line-height: 1.24;
}

.pricing-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-deep);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.pricing-card p {
  margin: 0;
  color: var(--text-soft);
}

.pricing-card .check-list {
  margin-top: 16px;
}

.pricing-card .check-list li {
  color: var(--text-soft);
}

.pricing-card--featured .check-list li {
  color: rgba(255, 255, 255, 0.84);
}

.pricing-card--featured .check-list li::before {
  background: rgba(255, 255, 255, 0.92);
}

.pricing-card--featured .pricing-card__type {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.pricing-card--featured h3,
.pricing-card--featured strong {
  color: #fff;
}

.pricing-card--featured p {
  color: rgba(255, 255, 255, 0.8);
}

.section {
  padding: 44px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(224, 234, 243, 0.34) 0%, rgba(243, 246, 250, 0) 100%);
}

.section--cta {
  background: linear-gradient(180deg, rgba(18, 56, 95, 0.04) 0%, rgba(18, 56, 95, 0.08) 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.process-layout h2,
.request-copy h2,
.seo-block h2 {
  margin: 0;
  color: var(--title);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.14;
}

.benefit-card {
  position: relative;
  min-height: 100%;
}

.benefit-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--primary);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
}

.benefit-card h3 {
  margin: 18px 0 10px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.compliance-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.compliance-card--accent {
  background: linear-gradient(180deg, rgba(18, 56, 95, 0.98) 0%, rgba(11, 40, 69, 0.98) 100%);
  border-color: rgba(18, 56, 95, 0.24);
  color: #fff;
}

.compliance-card--accent::before {
  content: "";
  position: absolute;
  inset: auto -18px -24px auto;
  width: 560px;
  height: 400px;
  background:
    linear-gradient(90deg, rgba(11, 40, 69, 0.96) 0%, rgba(11, 40, 69, 0.42) 34%, rgba(11, 40, 69, 0.04) 100%),
    url("assets/accreditation-device-cutout-v2.png") center center / 100% auto no-repeat;
  opacity: 0.82;
  pointer-events: none;
}

.compliance-card--replacement::before {
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg, rgba(11, 40, 69, 0.96) 0%, rgba(11, 40, 69, 0.82) 28%, rgba(11, 40, 69, 0.28) 68%, rgba(11, 40, 69, 0.06) 100%),
    url("assets/master-wrench.jpg") right center / cover no-repeat;
  opacity: 0.62;
}

.compliance-card--installation::before {
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(90deg, rgba(11, 40, 69, 0.96) 0%, rgba(11, 40, 69, 0.82) 26%, rgba(11, 40, 69, 0.3) 68%, rgba(11, 40, 69, 0.08) 100%),
    url("assets/ustanovka.jpg") center center / cover no-repeat;
  opacity: 0.66;
}

.compliance-card > * {
  position: relative;
  z-index: 1;
}

.hero__content--company h1 {
  max-width: none;
  white-space: nowrap;
}

.compliance-card__type {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compliance-card--accent .compliance-card__type {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.compliance-card h3 {
  margin: 0 0 14px;
  color: var(--title);
  font-size: 1.35rem;
  line-height: 1.24;
}

.compliance-card p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.compliance-card--accent h3,
.compliance-card--accent p {
  color: #fff;
}

.compliance-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.law-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.law-list li {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.law-list strong {
  color: var(--title);
}

.law-list span {
  color: var(--text-soft);
}

.process-layout,
.seo-block,
.request-layout,
.footer-grid,
.footer-bottom__row {
  display: grid;
  gap: 22px;
}

.process-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.process-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.process-item span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
}

.process-item h3,
.note-card h3,
.site-footer h3,
.info-panel h3 {
  margin: 0 0 8px;
}

.process-item p {
  margin: 0;
}

.info-panel {
  padding: 24px;
  border-radius: 20px;
}

.seo-block {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: start;
}

.seo-block__side {
  display: grid;
  gap: 16px;
}

.note-card--muted {
  background: var(--surface-muted);
}

.request-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.95fr);
  align-items: start;
}

.request-copy {
  padding-top: 8px;
}

.request-points {
  margin-top: 22px;
}

.request-form {
  display: grid;
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--title);
  font-weight: 600;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: rgba(18, 56, 95, 0.46);
  box-shadow: 0 0 0 4px rgba(18, 56, 95, 0.08);
}

.form-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details summary {
  position: relative;
  padding-right: 28px;
  cursor: pointer;
  list-style: none;
  color: var(--title);
  font-size: 1.08rem;
  font-weight: 700;
}

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

.faq details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--primary);
  font-size: 1.45rem;
}

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

.faq details p {
  margin: 12px 0 0;
}

.site-footer {
  margin-top: 36px;
  background:
    linear-gradient(180deg, #173453 0%, #102942 100%);
  color: rgba(255, 255, 255, 0.88);
}

.scroll-top {
  --scroll-top-size: 58px;
  --scroll-top-footer-offset: 0px;
  position: fixed;
  right: max(16px, calc(env(safe-area-inset-right) + 12px));
  bottom: calc(max(16px, calc(env(safe-area-inset-bottom) + 12px)) + var(--scroll-top-footer-offset));
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: var(--scroll-top-size);
  height: var(--scroll-top-size);
  padding: 0;
  border: 1px solid rgba(18, 56, 95, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 18px 34px rgba(15, 39, 64, 0.14);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    bottom 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: #ffffff;
  box-shadow: 0 20px 38px rgba(15, 39, 64, 0.18);
}

.scroll-top:focus-visible {
  outline: 3px solid rgba(183, 139, 70, 0.3);
  outline-offset: 3px;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top span {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
  padding: 34px 0;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text span,
.footer-nav a,
.footer-list a,
.site-footer h3 {
  color: #fff;
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .hero__grid,
  .compliance-grid,
  .process-layout,
  .seo-block,
  .request-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics__grid,
  .benefits-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .service-line__row,
  .topbar,
  .header-side {
    align-items: flex-start;
  }

  .service-line__row {
    flex-direction: column;
  }

  .header-meta,
  .header-cta {
    display: none;
  }

  .topbar {
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }

  .header-side {
    align-items: center;
    gap: 8px;
  }

  .mobile-call {
    display: inline-flex;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.82rem;
    box-shadow: 0 8px 18px rgba(18, 56, 95, 0.14);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(15, 39, 64, 0.08);
  }

  .menu-toggle span {
    width: 16px;
    margin: 3px auto;
  }

  .nav-wrap {
    border-top: 0;
    background: transparent;
  }

  .nav-wrap__row {
    position: relative;
    justify-content: flex-end;
    min-height: 0;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4px;
    right: 0;
    z-index: 25;
    width: min(310px, calc(100vw - 24px));
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(18, 56, 95, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(15, 39, 64, 0.14);
    backdrop-filter: blur(12px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    font-size: 0.97rem;
    line-height: 1.25;
  }

  .site-nav a.is-active,
  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--surface-soft);
    border-color: rgba(18, 56, 95, 0.08);
  }

  .hero {
    padding-top: 28px;
  }

  .hero__content {
    padding: 26px;
  }

  .hero-highlights,
  .metrics__grid,
  .benefits-grid,
  .pricing-grid,
  .footer-bottom__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .scroll-top {
    --scroll-top-size: 50px;
    right: max(12px, calc(env(safe-area-inset-right) + 10px));
    bottom: calc(max(12px, calc(env(safe-area-inset-bottom) + 10px)) + var(--scroll-top-footer-offset));
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background-size: 86% auto;
  }

  .brand__text strong {
    font-size: 0.95rem;
  }

  .mobile-call {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.75rem;
  }

  .brand__text span {
    display: none;
  }

  .site-nav {
    width: min(280px, calc(100vw - 20px));
    top: 2px;
    padding: 8px;
    border-radius: 14px;
  }

  .site-nav a {
    padding: 11px 12px;
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-panel__stats,
  .process-item {
    grid-template-columns: 1fr;
  }

  .compliance-card--accent::before {
    inset: auto -18px -16px auto;
    width: 370px;
    height: 270px;
    opacity: 0.68;
  }

  .compliance-card--replacement::before {
    inset: 0;
    width: auto;
    height: auto;
    background:
      linear-gradient(180deg, rgba(11, 40, 69, 0.94) 0%, rgba(11, 40, 69, 0.74) 38%, rgba(11, 40, 69, 0.18) 100%),
      url("assets/master-wrench.jpg") center top / cover no-repeat;
    opacity: 0.5;
  }

  .compliance-card--installation::before {
    inset: 0;
    width: auto;
    height: auto;
    background:
      linear-gradient(180deg, rgba(11, 40, 69, 0.94) 0%, rgba(11, 40, 69, 0.72) 38%, rgba(11, 40, 69, 0.18) 100%),
      url("assets/ustanovka.jpg") center top / cover no-repeat;
    opacity: 0.54;
  }

  .hero-panel__card--accent::before {
    width: 240px;
    height: 170px;
    inset: auto -42px -34px auto;
  }

  .process-item span {
    width: 48px;
    height: 48px;
  }

  .section {
    padding: 34px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}
