:root {
  --bg: #e8edf1;
  --surface: #fbfcfd;
  --surface-strong: #dce4ea;
  --text: #101820;
  --muted: #586673;
  --line: #c9d3db;
  --blue: #126fa8;
  --blue-light: #33b5e8;
  --blue-dark: #073a5e;
  --steel: #25313b;
  --iron: #101820;
  --graphite: #1c2730;
  --shadow: 0 20px 55px rgba(13, 27, 38, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(232, 237, 241, 0.9)),
    repeating-linear-gradient(90deg, rgba(16, 24, 32, 0.035) 0 1px, transparent 1px 42px),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(16, 24, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(16, 24, 32, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: #fff;
}

.logo-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, var(--blue), var(--blue-light)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 8px);
  border-radius: 6px;
  font-weight: 800;
}

.logo strong,
.logo small {
  display: block;
}

.logo strong {
  font-size: 18px;
  line-height: 1.1;
}

.logo small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue-light);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-nav-actions {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.phone-link {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(18, 111, 168, 0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--steel);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.hero-content,
.quick-form,
.calculator,
.lead-form {
  min-width: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/bg_str.jpg") center/cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 74% 18%, rgba(51, 181, 232, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 15, 22, 0.94), rgba(10, 20, 29, 0.72) 52%, rgba(10, 20, 29, 0.38)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 16px);
}

.hero-grid {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats span {
  padding: 18px;
  color: rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.hero-stats span:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.quick-form,
.calculator,
.lead-form,
.modal-card,
.contacts-card,
.steps {
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-form {
  padding: 28px;
  color: var(--text);
}

.quick-form h2,
.modal-card h2 {
  font-size: 28px;
}

.quick-form p,
.modal-card p {
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--steel);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 93, 154, 0.12);
}

.form-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.form-status.is-error {
  color: #b3261e;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.consent.is-error span {
  color: #b3261e;
}

.section {
  padding: 92px 0;
}

.section-compact {
  padding-top: 76px;
}

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

.section-head-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-note {
  max-width: 390px;
  color: var(--muted);
}

.advantages-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.product-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(15, 93, 154, 0.08);
  content: "";
  transform: rotate(18deg);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.feature-card p,
.product-card p,
.about-grid p,
.delivery-grid p,
.calculator-grid p,
.lead-grid p,
.contacts-grid p {
  color: var(--muted);
}

.about-section,
.calculator-section {
  background: var(--surface);
}

.about-grid,
.delivery-grid,
.calculator-grid,
.lead-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 52px;
}

.about-panel {
  position: relative;
}

.about-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-facts {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(320px, calc(100% - 44px));
  gap: 10px;
  padding: 18px;
  color: #fff;
  border-radius: 6px;
  background: rgba(12, 26, 38, 0.9);
}

.about-facts span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 10px;
}

.about-facts span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.catalog-section {
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.04), rgba(232, 237, 241, 0.96)),
    repeating-linear-gradient(90deg, rgba(47, 59, 69, 0.055) 0 1px, transparent 1px 36px);
}

.price-boards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.price-board {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: var(--radius);
  background: rgba(251, 252, 253, 0.94);
  box-shadow: var(--shadow);
}

.price-board-dark {
  background: linear-gradient(180deg, #17222b, #22303a);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.price-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  background:
    linear-gradient(135deg, rgba(18, 111, 168, 0.14), transparent),
    repeating-linear-gradient(135deg, rgba(16, 24, 32, 0.04) 0 1px, transparent 1px 12px);
}

.price-board-dark .price-board-head {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(51, 181, 232, 0.18), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
}

.price-board-head h3 {
  margin: 0;
  font-size: 22px;
}

.price-board-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.price-board-dark .price-board-head span {
  color: rgba(255, 255, 255, 0.62);
}

.price-grid {
  display: grid;
}

.price-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-board-dark .price-row {
  border-color: rgba(255, 255, 255, 0.1);
}

.price-row-head {
  min-height: 40px;
  color: var(--muted);
  background: rgba(16, 24, 32, 0.04);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-board-dark .price-row-head {
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.04);
}

.price-row strong {
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1;
}

.price-board-dark .price-row strong {
  color: var(--blue-light);
}

.price-row span {
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.price-board-dark .price-row span {
  color: rgba(255, 255, 255, 0.74);
}

.price-row b {
  color: var(--text);
  font-size: 16px;
  text-align: right;
  white-space: nowrap;
}

.price-board-dark .price-row b {
  color: #fff;
}

.delivery-section {
  background: var(--steel);
  color: #fff;
}

.delivery-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.steps {
  padding: 28px;
  color: var(--text);
}

.steps ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.calculator,
.lead-form {
  padding: 28px;
}

.field-row-single {
  grid-template-columns: minmax(0, 1fr);
}

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

.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 22px;
  padding: 20px;
  border: 1px solid rgba(15, 93, 154, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(18, 111, 168, 0.11), rgba(51, 181, 232, 0.06)),
    #f6f9fb;
}

.calc-result span {
  color: var(--muted);
  font-weight: 800;
}

.calc-result strong {
  color: var(--blue-dark);
  font-size: clamp(24px, 4vw, 34px);
  white-space: nowrap;
}

.calc-breakdown {
  display: grid;
  gap: 8px;
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.calc-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.calc-breakdown strong {
  color: var(--steel);
  white-space: nowrap;
}

.lead-section {
  background:
    linear-gradient(rgba(10, 20, 29, 0.86), rgba(10, 20, 29, 0.86)),
    url("images/bg_str.jpg") center/cover no-repeat;
  color: #fff;
}

.lead-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  color: var(--text);
}

.contacts-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.contacts-card a:first-child {
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 900;
}

.contacts-card span,
.contacts-card a:last-child {
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.75);
  background: #101820;
}

.footer-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 75;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(15, 93, 154, 0.28);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 31, 0.72);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.success-card {
  position: relative;
  width: min(460px, 100%);
  padding: 42px 28px 34px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(251, 252, 253, 0.98), rgba(235, 242, 247, 0.98)),
    repeating-linear-gradient(135deg, rgba(18, 111, 168, 0.06) 0 1px, transparent 1px 14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.success-card h2 {
  margin: 18px 0 8px;
  font-size: 30px;
}

.success-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.success-check {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  place-items: center;
}

.success-check svg {
  width: 92px;
  height: 92px;
}

.success-check circle,
.success-check path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-check circle {
  stroke: rgba(18, 111, 168, 0.16);
  stroke-width: 5;
}

.success-check path {
  stroke: #16a34a;
  stroke-width: 7;
  stroke-dasharray: 56;
  stroke-dashoffset: 56;
}

.success-modal.is-open .success-check path {
  animation: checkDraw 0.62s ease forwards 0.18s;
}

.success-modal.is-open .success-card {
  animation: successPop 0.3s ease both;
}

@keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

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

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 120;
  display: grid;
  max-width: 720px;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding: 16px 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.cookie-banner a {
  color: var(--blue-light);
  font-weight: 900;
}

.cookie-banner button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

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

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

  .price-boards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .quick-form {
    max-width: 560px;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    min-height: 68px;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: calc(100dvh - 68px);
    gap: 8px;
    padding: 22px 24px 32px;
    color: #fff;
    background:
      linear-gradient(135deg, #101820, #2f3b45),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 0 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 18px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    color: #fff;
    border-color: rgba(53, 168, 224, 0.55);
    background: rgba(53, 168, 224, 0.14);
  }

  .mobile-nav-actions {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-nav-actions .mobile-phone {
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 900;
  }

  .mobile-nav-actions .btn {
    width: 100%;
  }

  .menu-toggle {
    position: relative;
    z-index: 100;
    display: block;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

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

  .hero-grid {
    padding: 62px 0;
  }

  .about-grid,
  .delivery-grid,
  .calculator-grid,
  .lead-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .section-head-row {
    display: block;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo small,
  .phone-link {
    display: none;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(10, 20, 29, 0.88), rgba(10, 20, 29, 0.74));
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .btn,
  .quick-form .btn,
  .calculator .btn,
  .lead-form .btn,
  .modal-card .btn {
    width: 100%;
  }

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

  .hero-stats span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats span:last-child {
    border-bottom: 0;
  }

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

  .feature-card,
  .product-card {
    min-height: auto;
  }

  .price-boards {
    grid-template-columns: 1fr;
  }

  .price-board-head {
    display: grid;
    align-items: start;
  }

  .price-board-head span {
    text-align: left;
  }

  .price-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 12px 14px;
  }

  .price-row b {
    grid-column: 2;
    text-align: left;
  }

  .price-row-head {
    display: none;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .calc-result {
    display: grid;
  }

  .calc-result strong {
    white-space: normal;
  }

  .about-facts {
    position: static;
    width: 100%;
    border-radius: 0 0 6px 6px;
  }

  .about-panel img {
    border-radius: 6px 6px 0 0;
  }

  .contacts-card a:first-child {
    font-size: 24px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr 38px;
    padding: 14px;
  }

  .cookie-banner button {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo strong {
    font-size: 16px;
  }

  .quick-form,
  .calculator,
  .lead-form,
  .modal-card,
  .contacts-card,
  .steps {
    padding: 20px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.1;
  }
}
