:root {
  --dark: #171917;
  --dark-2: #222622;
  --green: #357943;
  --green-2: #2f6f3b;
  --green-soft: #e7f0e8;
  --paper: #f8f9f7;
  --white: #ffffff;
  --line: #dfe3de;
  --line-2: #ecefeb;
  --text: #202321;
  --muted: #6d746e;
  --muted-2: #8b928c;
  --shadow: 0 20px 48px rgba(29, 38, 31, 0.08);
  --wrap: min(1220px, calc(100vw - clamp(28px, 7vw, 128px)));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--text); }
body {
  font-family: Manrope, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.38;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: var(--wrap); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, #1d211d 0%, #151715 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.12);
}
.topbar-inner { height: 56px; display: grid; grid-template-columns: 245px minmax(390px, 1fr) auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { position: relative; width: 38px; height: 34px; color: #69bd37; }
.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after { content: ""; position: absolute; display: block; }
.brand-mark::before {
  left: 3px; top: 11px; width: 24px; height: 20px;
  border: 3px solid currentColor; border-top: 0;
}
.brand-mark::after {
  left: 1px; top: 5px; width: 24px; height: 24px;
  border-left: 3px solid currentColor; border-top: 3px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}
.brand-mark span::before { left: 9px; top: 16px; width: 17px; height: 13px; border: 2px solid rgba(105,189,55,0.55); border-top: 0; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 13px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.68); font-size: 9px; letter-spacing: .02em; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.2vw, 36px); align-items: center; font-size: 12px; font-weight: 650; }
.nav a { color: rgba(255,255,255,.9); transition: color .2s ease; }
.nav a:hover { color: #fff; }
.topbar-actions { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; min-width: 174px; }
.header-phone svg { color: #62af47; font-size: 15px; }
.header-phone span { display: grid; line-height: 1.05; }
.header-phone b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.header-phone small { margin-top: 4px; font-size: 9px; color: rgba(255,255,255,.58); white-space: nowrap; }
.burger { display: none; width: 40px; height: 38px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); border-radius: 10px; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 10px; transition: transform .2s ease; }
.mobile-menu { border-top: 1px solid rgba(255,255,255,.08); padding: 14px clamp(20px, 5vw, 48px) 20px; background: #171917; }
.mobile-menu a { display: block; padding: 11px 0; color: rgba(255,255,255,.86); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .005em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-green { color: #fff; background: linear-gradient(180deg, #428b4d 0%, #347741 100%); border-color: #2f6f3b; box-shadow: 0 8px 18px rgba(47,111,59,.12); }
.btn-green:hover { background: linear-gradient(180deg, #479452 0%, #2f6f3b 100%); box-shadow: 0 10px 22px rgba(47,111,59,.18); }
.btn-light { color: #2e332f; background: #fff; border-color: #cfd5ce; }
.btn-light:hover { border-color: #aeb9b0; }
.btn-small { min-height: 34px; padding: 0 21px; font-size: 11px; border-radius: 4px; }
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 4px 0;
  font-size: 12px;
  font-weight: 800;
}
.link-btn svg { width: 17px; height: 17px; transition: transform .18s ease; }
.link-btn:hover svg { transform: translateX(3px); }

.hero { background: #f7f8f6; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(420px, .86fr) minmax(520px, 1fr); min-height: 382px; align-items: stretch; }
.hero-copy { padding: 43px 46px 26px 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 18px; color: #315a39; font-size: 13px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(44px, 5vw, 64px); line-height: .98; letter-spacing: -.045em; font-weight: 850; color: #202321; }
.hero-lead { max-width: 410px; margin: 20px 0 23px; color: #6e746f; font-size: 16px; line-height: 1.42; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.hero-actions .btn { min-width: 172px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(86px, 1fr)); gap: 0; max-width: 520px; }
.stats div { padding-right: 22px; border-right: 1px solid #d9ded8; }
.stats div:last-child { border-right: 0; padding-left: 14px; }
.stats strong { display: block; color: var(--green); font-size: 24px; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.stats span { display: block; margin-top: 10px; color: #3a3f3b; font-size: 11px; line-height: 1.15; }
.hero-media { position: relative; min-height: 382px; overflow: hidden; background: #e7e5df; }
.hero-media::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 28%; background: linear-gradient(90deg, #f7f8f6 0%, rgba(247,248,246,.86) 30%, rgba(247,248,246,0) 100%); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.benefits { background: #fff; border-bottom: 1px solid var(--line-2); }
.benefits-grid { min-height: 88px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.benefit { min-height: 88px; padding: 20px 28px 18px 0; display: flex; align-items: flex-start; gap: 16px; border-right: 1px solid #e3e7e2; }
.benefit + .benefit { padding-left: 26px; }
.benefit:last-child { border-right: 0; padding-right: 0; }
.benefit svg { flex: 0 0 auto; color: var(--green); width: 34px; height: 34px; stroke-width: 1.65; }
.benefit h3 { margin: 0 0 5px; font-size: 13px; font-weight: 850; color: #2a2e2b; }
.benefit p { margin: 0; color: #6e746f; font-size: 12px; line-height: 1.25; }

.calculator { background: #f4f5f3; border-bottom: 1px solid var(--line-2); }
.calc-grid { min-height: 256px; display: grid; grid-template-columns: minmax(270px, .73fr) minmax(420px, 1.16fr) minmax(250px, .56fr); gap: 34px; align-items: center; padding: 24px 0; }
.section-copy { padding-right: 32px; }
.section-copy h2, .section-head h2, .steps h2, .timeline-block h2, .guarantee-card h2, .contacts h2 { margin: 0; color: #31543a; font-size: 19px; text-transform: uppercase; letter-spacing: .025em; font-weight: 850; }
.section-copy p { margin: 16px 0 0; color: #5d645f; font-size: 14px; line-height: 1.45; }
.calc-panel { padding: 0 40px; border-left: 1px solid #dcded9; border-right: 1px solid #dcded9; }
.range-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; font-weight: 850; }
.range-row output { color: #27302a; }
.range { width: 100%; accent-color: var(--green); height: 20px; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--green) 0 var(--range-progress, 25%), #d4d8d3 var(--range-progress, 25%) 100%); }
.range::-webkit-slider-thumb { appearance: none; width: 17px; height: 17px; margin-top: -6px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.range::-moz-range-track { height: 4px; border-radius: 999px; background: #d4d8d3; }
.range::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--green); }
.range::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.range-limits { display: flex; justify-content: space-between; margin: 1px 0 18px; color: #5f665f; font-size: 11px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { display: block; width: 100%; margin: 0 0 10px; font-size: 12px; font-weight: 850; color: #2d312e; }
.repair-type { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 19px; }
.type-btn { height: 34px; background: #fff; border: 1px solid #c9cfc8; border-radius: 3px; color: #3e443f; font-size: 11px; font-weight: 750; }
.type-btn.active { border-color: var(--green); color: #1f4128; box-shadow: inset 0 0 0 1px rgba(53,121,67,.15); }
.options-grid { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 9px 28px; }
.options-grid legend { grid-column: 1 / -1; margin-bottom: 4px; }
.options-grid label { display: inline-flex; align-items: center; gap: 10px; color: #555d57; font-size: 12px; }
.options-grid input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.estimate-card { background: #fff; border: 1px solid #e1e5e0; border-radius: 5px; padding: 27px 28px 21px; text-align: center; box-shadow: var(--shadow); }
.estimate-card span { color: #6c726d; font-size: 14px; }
.estimate-card strong { display: block; margin: 8px 0 18px; color: var(--green); font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.estimate-card hr { border: 0; height: 1px; background: #dfe3df; margin: 0 0 18px; }
.estimate-card p { margin: 0 0 18px; color: #717771; font-size: 12px; }
.estimate-card b { display: inline-block; margin-top: 4px; color: #27302a; font-size: 14px; }
.estimate-card .btn { width: 100%; margin-bottom: 9px; }
.estimate-card small { color: #8b928c; font-size: 11px; }

.works, .pricing, .steps, .terms, .reviews, .contacts { background: #fff; }
.works { padding: 24px 0 19px; border-bottom: 1px solid #edf0ec; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.section-head-tight { margin-bottom: 12px; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-card h3 { margin: 8px 0 2px; font-size: 13px; line-height: 1.1; }
.work-card p { margin: 0; color: #5e665f; font-size: 12px; }
.compare { position: relative; overflow: hidden; border-radius: 2px; background: #e5e5e0; aspect-ratio: 2.35 / 1; box-shadow: inset 0 0 0 1px rgba(0,0,0,.03); }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare span { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(20,24,21,.13); }
.compare b { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 1px solid rgba(37,45,39,.2); box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.compare b::before, .compare b::after { content: ""; position: absolute; top: 7px; width: 6px; height: 6px; border-top: 1.5px solid var(--green); border-left: 1.5px solid var(--green); }
.compare b::before { left: 5px; transform: rotate(-45deg); }
.compare b::after { right: 5px; transform: rotate(135deg); }

.pricing { padding: 0 0 12px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { position: relative; min-height: 118px; border: 1px solid #dde2dd; border-radius: 5px; background: #fff; padding: 18px 20px 16px; }
.price-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.price-card h3 { margin: 0; color: #31543a; font-size: 18px; line-height: 1.1; }
.price-card strong { margin-top: 5px; color: #202622; font-size: 12px; white-space: nowrap; }
.price-card ul { margin: 0 0 10px 16px; padding: 0; color: #444b45; font-size: 12px; line-height: 1.65; }
.price-card .btn { float: right; min-height: 31px; padding: 0 21px; font-size: 11px; }
.price-card.popular { border-color: rgba(53,121,67,.45); box-shadow: 0 12px 28px rgba(53,121,67,.08); padding-top: 0; overflow: hidden; }
.price-card.popular header { margin: 0 -20px 16px; padding: 13px 20px 12px; background: linear-gradient(180deg, #3f894a, #347741); }
.price-card.popular h3, .price-card.popular strong { color: #fff; }
.badge { position: absolute; top: 8px; right: 19px; color: #e7f5e9; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 2px 9px; font-size: 10px; font-weight: 800; }

.steps { padding: 0 0 20px; }
.steps h2 { margin-bottom: 13px; }
.steps-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.steps-grid article { position: relative; min-height: 82px; padding: 16px 14px 13px 22px; border: 1px solid #dfe3df; border-radius: 5px; background: #fff; }
.steps-grid article:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #637167; border-right: 2px solid #637167; transform: translateY(-50%) rotate(45deg); }
.steps-grid span { display: inline-block; margin-right: 9px; color: #969d97; font-size: 18px; font-weight: 350; vertical-align: top; }
.steps-grid h3 { display: inline-block; margin: 2px 0 9px; font-size: 12px; }
.steps-grid p { margin: 0; color: #5f665f; font-size: 10.5px; line-height: 1.35; }

.terms { padding: 0 0 24px; border-bottom: 1px solid #edf0ec; }
.terms-grid { display: grid; grid-template-columns: 1.38fr .86fr; gap: 26px; align-items: stretch; }
.timeline-block { padding: 4px 0 0; }
.timeline-block h2, .guarantee-card h2 { margin-bottom: 29px; }
.timeline-line { position: relative; height: 26px; margin: 0 25px 12px; }
.timeline-line::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--green); }
.timeline-line span { position: absolute; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: inset 0 0 0 3px #dbe9dd; }
.timeline-line span:nth-child(1) { left: 0; }
.timeline-line span:nth-child(2) { left: 32%; }
.timeline-line span:nth-child(3) { left: 63%; }
.timeline-line span:nth-child(4) { right: 0; }
.timeline-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.timeline-labels p { margin: 0; color: #5f665f; font-size: 11px; }
.timeline-labels b { display: block; margin-top: 6px; color: #29302b; font-size: 12px; }
.guarantee-card { background: #f6f7f5; padding: 0 0 0 24px; }
.guarantee-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 0; }
.guarantee-grid article { display: flex; gap: 14px; align-items: flex-start; padding: 4px 18px 0 0; }
.guarantee-grid article + article { border-left: 1px solid #dfe3df; padding-left: 23px; }
.guarantee-grid svg { width: 45px; height: 45px; color: var(--green); flex: 0 0 auto; }
.guarantee-grid h3 { margin: 4px 0 5px; font-size: 13px; }
.guarantee-grid p { margin: 0; color: #5f665f; font-size: 12px; line-height: 1.35; }

.reviews { padding: 20px 0 20px; background: #f4f5f3; border-bottom: 1px solid #e4e8e3; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.review-card { min-height: 109px; display: grid; grid-template-columns: 40px 1fr; gap: 12px; background: #fff; border-radius: 4px; padding: 15px 16px; box-shadow: 0 8px 24px rgba(31,39,32,.04); }
.review-card img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.review-card h3 { margin: 0; font-size: 12px; white-space: nowrap; }
.review-card p { margin: 0; color: #535b55; font-size: 12px; line-height: 1.35; }
.stars { display: inline-flex; gap: 2px; color: #67a832; }
.stars svg { width: 11px; height: 11px; fill: currentColor; stroke: currentColor; stroke-width: 0; }

.contacts { padding: 22px 0 16px; }
.contacts-grid { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(220px, .55fr) minmax(470px, 1.2fr); gap: 26px; align-items: center; }
.contacts .eyebrow { margin-bottom: 7px; color: #31543a; }
.contacts h2 { color: #202321; text-transform: none; font-size: 30px; letter-spacing: -.035em; }
.contacts p { margin: 7px 0 0; color: #6c726d; font-size: 13px; }
.messengers { display: flex; gap: 12px; justify-content: center; }
.messenger { min-width: 112px; height: 41px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; color: #fff; font-size: 12px; font-weight: 850; box-shadow: 0 10px 20px rgba(32,48,36,.08); }
.whatsapp { background: #42a35a; }
.telegram { background: #4298d4; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr 130px; gap: 12px 14px; align-items: start; }
.inline-form label, .booking-form label { display: grid; gap: 6px; }
.inline-form label span, .booking-form label span { font-size: 0; height: 0; overflow: hidden; }
.inline-form input, .booking-form input, .booking-form select, .booking-form textarea {
  width: 100%; border: 1px solid #dce1dc; border-radius: 4px; min-height: 41px; padding: 0 14px; color: #2d332e; background: #fff; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.booking-form textarea { min-height: 96px; padding-top: 12px; resize: vertical; }
.inline-form input:focus, .booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: rgba(53,121,67,.72); box-shadow: 0 0 0 3px rgba(53,121,67,.08); }
.inline-form small { grid-column: 1 / -1; color: #8a918b; font-size: 11px; }
.footer-note { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; padding-top: 12px; color: #767e78; font-size: 11px; border-top: 1px solid #ecefeb; }
.footer-note a { color: var(--green); }

.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal[aria-hidden="false"] { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,20,18,.58); backdrop-filter: blur(6px); }
.modal-card { position: relative; z-index: 1; width: min(820px, calc(100vw - 40px)); max-height: min(86vh, 920px); overflow: auto; background: #fff; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.28); padding: 34px; }
.modal-card.gallery-card { width: min(1120px, calc(100vw - 40px)); }
.modal-close { position: sticky; float: right; top: 0; z-index: 2; width: 40px; height: 40px; margin: -13px -13px 0 0; border: 1px solid #dfe3df; border-radius: 50%; background: #fff; color: #2b302c; display: inline-flex; align-items: center; justify-content: center; }
.modal-close svg { width: 19px; height: 19px; }
.modal-header { margin-bottom: 22px; padding-right: 42px; }
.modal-header .eyebrow { margin-bottom: 8px; }
.modal-header h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1; letter-spacing: -.04em; }
.modal-header p { margin: 12px 0 0; color: #687068; }
.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.booking-form label span { font-size: 12px; height: auto; overflow: visible; font-weight: 800; color: #3b433d; }
.booking-form .full { grid-column: 1 / -1; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; height: 168px; object-fit: cover; border-radius: 5px; background: #eef0ec; }
.gallery-grid img:first-child { grid-column: span 2; grid-row: span 2; height: 350px; }
.price-list { display: grid; gap: 0; border: 1px solid #dfe3df; border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.price-list div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #e8ebe7; }
.price-list div:nth-child(even) { background: #f8f9f7; }
.price-list div:last-child { border-bottom: 0; }
.price-list b { color: var(--green); white-space: nowrap; }
.modal-reviews { display: grid; gap: 12px; }
.modal-reviews p { margin: 0; padding: 16px; border: 1px solid #e3e7e2; border-radius: 6px; color: #4f5751; background: #fbfcfb; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translateX(-50%); max-width: min(440px, calc(100vw - 40px)); padding: 14px 18px; color: #fff; background: #1f2a22; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.25); font-weight: 750; text-align: center; }

@media (max-width: 1180px) {
  :root { --wrap: min(100% - 44px, 1060px); }
  .topbar-inner { grid-template-columns: 220px 1fr auto; gap: 16px; }
  .nav { gap: 16px; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: minmax(370px, .9fr) minmax(430px, 1fr); }
  .hero-copy { padding-right: 28px; }
  .benefit { padding-right: 16px; gap: 12px; }
  .benefit + .benefit { padding-left: 16px; }
  .calc-grid { grid-template-columns: .7fr 1.2fr; }
  .estimate-card { grid-column: 2; width: min(320px, 100%); justify-self: end; }
  .work-grid { gap: 16px; }
  .steps-grid { gap: 10px; }
  .contacts-grid { grid-template-columns: 1fr 240px; }
  .inline-form { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  :root { --wrap: min(100% - 36px, 820px); }
  .topbar-inner { grid-template-columns: 1fr auto; height: 58px; }
  .nav, .topbar-actions .btn-small { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 0 26px; }
  .hero-media { min-height: 360px; margin: 0 calc((100vw - var(--wrap)) / -2); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); padding: 10px 0; }
  .benefit, .benefit + .benefit { min-height: auto; padding: 16px 12px 16px 0; border-right: 0; border-bottom: 1px solid #e6e9e5; }
  .benefit:nth-last-child(-n+1) { border-bottom: 0; }
  .calc-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .calc-panel { border: 0; padding: 0; }
  .estimate-card { grid-column: auto; width: 100%; justify-self: stretch; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid article:not(:last-child)::after { display: none; }
  .terms-grid { grid-template-columns: 1fr; }
  .guarantee-card { padding-left: 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; align-items: stretch; }
  .messengers { justify-content: flex-start; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100vw - 28px); }
  body { font-size: 14px; }
  .brand-copy strong { font-size: 12px; }
  .brand-mark { width: 33px; height: 30px; }
  .hero-copy { padding: 34px 0 24px; }
  .eyebrow { font-size: 11px; margin-bottom: 13px; }
  .hero h1 { font-size: clamp(38px, 12.2vw, 48px); }
  .hero-lead { font-size: 15px; margin: 17px 0 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 24px; }
  .hero-actions .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .stats div { border-right: 0; padding-right: 12px; }
  .stats div:last-child { padding-left: 0; }
  .hero-media { min-height: 260px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit:nth-last-child(-n+1) { border-bottom: 1px solid #e6e9e5; }
  .benefit:last-child { border-bottom: 0; }
  .section-copy h2, .section-head h2, .steps h2, .timeline-block h2, .guarantee-card h2 { font-size: 17px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .repair-type { grid-template-columns: 1fr; gap: 8px; }
  .options-grid { grid-template-columns: 1fr; }
  .estimate-card strong { font-size: 30px; }
  .work-grid, .reviews-grid, .steps-grid, .guarantee-grid { grid-template-columns: 1fr; }
  .timeline-line { margin: 0 8px 14px; }
  .timeline-labels { grid-template-columns: 1fr 1fr; text-align: left; }
  .guarantee-grid article + article { border-left: 0; padding-left: 0; padding-top: 16px; border-top: 1px solid #dfe3df; }
  .contacts h2 { font-size: 28px; }
  .messengers { flex-direction: column; }
  .inline-form { grid-template-columns: 1fr; }
  .footer-note { flex-direction: column; }
  .modal { padding: 12px; align-items: stretch; }
  .modal-card { width: 100%; max-height: calc(100dvh - 24px); padding: 24px 18px; border-radius: 8px; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-form .full { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img, .gallery-grid img:first-child { grid-column: auto; grid-row: auto; height: 220px; }
  .price-list div { flex-direction: column; gap: 4px; }
}

@media (min-width: 1600px) {
  :root { --wrap: min(1280px, calc(100vw - 220px)); }
  .hero-grid { min-height: 410px; }
  .hero-media { min-height: 410px; }
}
.price-card.popular header strong { margin-right: 92px; }

.footer-policy {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  text-align: left;
}
.footer-policy:hover { text-decoration: underline; }
.policy-text { display: grid; gap: 13px; color: #4f5751; font-size: 14px; line-height: 1.55; }
.policy-text p { margin: 0; }
.policy-note { color: #7d857f; font-size: 12px; }
