:root {
  --ink: #111315;
  --ink-2: #1a1d20;
  --paper: #f3f1ea;
  --white: #ffffff;
  --orange: #ff6b21;
  --orange-dark: #dc4c0d;
  --line: rgba(17, 19, 21, .16);
  --muted: #686a6b;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--white);
  background: rgba(17, 19, 21, .92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1;
}
.brand > span:last-child > span { color: var(--orange); }
.brand-mark {
  position: relative;
  width: 32px;
  height: 28px;
  display: inline-block;
}
.brand-mark::before,
.brand-mark i {
  content: "";
  position: absolute;
  left: 1px;
  width: 29px;
  height: 9px;
  transform: skewY(-22deg);
}
.brand-mark::before { top: 5px; background: var(--orange); }
.brand-mark i { top: 15px; background: currentColor; }
.desktop-nav { display: flex; gap: 30px; font-size: .9rem; font-weight: 650; }
.desktop-nav a { color: rgba(255,255,255,.72); transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--white); }
.header-phone {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
  font-size: .93rem;
}
.header-phone svg { width: 18px; fill: none; stroke: var(--orange); stroke-width: 2; }
.mobile-menu-toggle, .mobile-nav { display: none; }

.hero {
  min-height: 760px;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  padding-top: 78px;
  color: var(--white);
  background: var(--ink);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 9vw, 142px) clamp(28px, 6vw, 105px);
  overflow: hidden;
}
.hero-copy::after {
  content: "STROIKA";
  position: absolute;
  left: -12px;
  bottom: -50px;
  z-index: -1;
  color: rgba(255,255,255,.026);
  font-size: clamp(7rem, 14vw, 13rem);
  font-weight: 950;
  letter-spacing: -.08em;
  white-space: nowrap;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.66);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span { width: 36px; height: 3px; background: var(--orange); }
.eyebrow.dark { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .96;
}
h1 { margin-bottom: 28px; font-size: clamp(3.9rem, 7vw, 7.7rem); font-weight: 900; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 660px; margin-bottom: 34px; color: rgba(255,255,255,.73); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .91rem;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { border-color: rgba(255,255,255,.3); }
.button-ghost:hover { border-color: var(--white); }
.button-photo { color: var(--white); background: rgba(255,255,255,.07); border-color: rgba(255,107,33,.82); }
.button-photo:hover { background: rgba(255,107,33,.13); border-color: var(--orange); }
.button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-note { margin: 24px 0 0; color: rgba(255,255,255,.43); font-size: .86rem; }
.hero-visual { position: relative; overflow: hidden; background: #333; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(17,19,21,.35), transparent 45%), linear-gradient(0deg, rgba(17,19,21,.34), transparent 52%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 58px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero-badge {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(24px, 6vw, 72px);
  z-index: 3;
  width: min(240px, calc(100% - 40px));
  padding: 22px 24px;
  background: rgba(17,19,21,.9);
  border-left: 5px solid var(--orange);
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
}
.hero-badge span, .hero-badge small { display: block; color: rgba(255,255,255,.57); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-badge strong { display: block; margin: 4px 0 1px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 2.3rem; letter-spacing: .035em; text-transform: uppercase; }

.roof-focus {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 90px 1fr .65fr;
  gap: 48px;
  align-items: end;
  margin: 0 auto;
  padding: 108px 24px 78px;
}
.section-index { align-self: start; color: var(--orange); font: 900 3.6rem/1 Impact, sans-serif; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 5.4vw, 5.8rem); }
.roof-focus > p, .section-heading > p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.section { padding: 92px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 400px);
  gap: 56px;
  align-items: end;
  margin-bottom: 50px;
}

.services { background: #e9e7df; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(17,19,21,.13); border: 1px solid rgba(17,19,21,.13); }
.service-card {
  grid-column: span 2;
  min-height: 330px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
}
.service-card.featured { grid-column: span 4; color: var(--white); background: var(--ink-2); }
.service-number { position: absolute; top: 25px; right: 28px; color: var(--muted); font: 800 .74rem/1 system-ui; letter-spacing: .12em; }
.featured .service-number { color: rgba(255,255,255,.38); }
.service-icon { width: 53px; height: 53px; margin-bottom: auto; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.service-card h3 { margin: 28px 0 10px; font-size: 1.34rem; text-transform: uppercase; letter-spacing: -.01em; }
.service-card p { max-width: 460px; margin: 0; color: var(--muted); font-size: .94rem; }
.featured p { color: rgba(255,255,255,.57); }
.service-card a { width: max-content; margin-top: 25px; padding-bottom: 4px; color: var(--orange); border-bottom: 1px solid currentColor; font-size: .83rem; font-weight: 800; text-transform: uppercase; }

.calculator { background: #dcd9d0; scroll-margin-top: 78px; }
.calculator .section-heading { margin-bottom: 40px; }
.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(17,19,21,.1);
}
.calculator-form { padding: clamp(26px, 4vw, 48px); background: var(--paper); }
.calc-grid { display: grid; gap: 20px; }
.calc-grid-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc-grid-main .calc-field:first-child { grid-row: span 2; }
.calc-field { display: grid; align-content: start; gap: 9px; min-width: 0; }
.calc-field > span:first-child,
.calc-options legend,
.calc-lengths legend {
  padding: 0;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.calc-field small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.calc-field input,
.calc-field select {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17,19,21,.22);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
}
.calc-field select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 19px) 23px, calc(100% - 14px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.calc-field input:focus,
.calc-field select:focus { border-color: var(--orange); outline: 3px solid rgba(255,107,33,.18); }
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 48px; }
.input-unit b { position: absolute; right: 15px; top: 50%; color: var(--muted); transform: translateY(-50%); font-size: .88rem; }
.calc-grid-main .calc-field:first-child .input-unit input { min-height: 91px; font-size: 2.25rem; font-weight: 900; }
.calc-grid-main .calc-field:first-child .input-unit b { font-size: 1.05rem; }
.calc-options,
.calc-lengths { margin: 32px 0 0; padding: 30px 0 0; border: 0; border-top: 1px solid var(--line); }
.calc-options legend,
.calc-lengths legend { float: left; width: 100%; margin-bottom: 17px; }
.calc-options::after,
.calc-lengths::after { content: ""; display: block; clear: both; }
.calc-check { position: relative; display: flex; align-items: flex-start; gap: 13px; margin-bottom: 10px; padding: 15px 16px; background: var(--white); border: 1px solid rgba(17,19,21,.15); cursor: pointer; }
.calc-check input { width: 21px; height: 21px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--orange); }
.calc-check span { display: grid; gap: 2px; }
.calc-check strong { font-size: .92rem; }
.calc-check small { color: var(--muted); font-size: .78rem; }
.calc-check:has(input:checked) { border-color: var(--orange); box-shadow: inset 4px 0 0 var(--orange); }
.calc-lengths > p { clear: both; margin: 0 0 16px; color: var(--muted); font-size: .82rem; }
.calc-grid-lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc-field.compact input { min-height: 50px; }

.calculator-result {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4.5vw, 56px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink-2);
}
.calculator-result::after { content: "€"; position: absolute; right: -18px; top: -55px; color: rgba(255,255,255,.035); font: 900 15rem/1 Impact, sans-serif; }
.calculator-result > * { position: relative; z-index: 1; }
.result-label { margin-bottom: 18px; color: var(--orange); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.calculator-result h3 { margin: 0 0 10px; color: rgba(255,255,255,.65); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.estimate-total { display: block; margin-bottom: 10px; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(3rem, 5.4vw, 5.4rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.estimate-summary { min-height: 47px; margin: 0 0 28px; color: rgba(255,255,255,.54); font-size: .88rem; }
.estimate-breakdown { margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(255,255,255,.15); }
.estimate-breakdown div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.estimate-breakdown dt { color: rgba(255,255,255,.58); }
.estimate-breakdown dd { margin: 0; font-weight: 850; text-align: right; }
.estimate-note { margin-bottom: 28px; padding: 17px 18px; background: rgba(255,255,255,.055); border-left: 3px solid var(--orange); }
.estimate-note strong { display: block; margin-bottom: 5px; font-size: .82rem; text-transform: uppercase; }
.estimate-note p { margin: 0; color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.5; }
.estimate-whatsapp { width: 100%; justify-content: space-between; margin-top: auto; text-align: left; }
.estimate-whatsapp span { font-size: 1.25rem; }
.estimate-whatsapp.is-disabled { opacity: .5; pointer-events: none; }
.estimate-privacy { display: block; margin-top: 12px; color: rgba(255,255,255,.42); font-size: .7rem; line-height: 1.45; }

.works { color: var(--white); background: var(--ink); }
.section-heading.light > p { color: rgba(255,255,255,.56); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery-item {
  grid-column: span 4;
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #292c2f;
  border: 0;
  cursor: zoom-in;
  text-align: left;
}
.gallery-item.gallery-wide { grid-column: span 8; grid-row: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 50%); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); }
.gallery-item span {
  position: absolute;
  left: 19px;
  right: 19px;
  bottom: 15px;
  z-index: 2;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.steps { background: var(--paper); }
.step-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step-list li { position: relative; min-height: 240px; padding: 28px 26px; border-right: 1px solid var(--line); }
.step-list li:last-child { border-right: 0; }
.step-list li::before { content: ""; position: absolute; top: -3px; left: 0; width: 42px; height: 5px; background: var(--orange); }
.step-list span { display: block; margin-bottom: 42px; color: var(--muted); font-size: .74rem; font-weight: 800; }
.step-list strong { display: block; margin-bottom: 9px; font-size: 1.12rem; text-transform: uppercase; }
.step-list p { margin: 0; color: var(--muted); font-size: .91rem; }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(340px, .7fr);
  gap: 80px;
  align-items: center;
  padding: 108px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  color: var(--white);
  background: var(--ink-2);
}
.contact::after {
  content: "КРЫША";
  position: absolute;
  right: -22px;
  bottom: -75px;
  color: rgba(255,255,255,.025);
  font: 900 clamp(9rem, 20vw, 19rem)/1 Impact, sans-serif;
  letter-spacing: -.035em;
}
.contact-line { position: absolute; top: 0; left: 0; width: 36%; height: 7px; background: var(--orange); transform: skewX(-34deg); transform-origin: left; }
.contact-copy, .contact-actions { position: relative; z-index: 2; }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p:last-child { max-width: 560px; margin: 0; color: rgba(255,255,255,.62); font-size: 1.05rem; }
.contact-actions { display: grid; gap: 22px; }
.button-large { min-height: 66px; justify-content: space-between; padding-inline: 28px; }
.button-large span { font-size: 1.5rem; font-weight: 400; }
.contact-phone { padding: 19px 24px; border: 1px solid rgba(255,255,255,.16); }
.contact-phone small { display: block; margin-bottom: 2px; color: rgba(255,255,255,.48); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.contact-phone strong { font-size: clamp(1.5rem, 3vw, 2.15rem); }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 36px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: #090a0b;
}
footer p { margin: 0; color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.45; }
footer > a:last-child { justify-self: end; font-weight: 800; }

.lightbox {
  width: min(1100px, calc(100vw - 32px));
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.mobile-whatsapp { display: none; }

:focus-visible { outline: 3px solid #ffb38e; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .mobile-menu-toggle {
    width: 44px; height: 44px; padding: 10px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px; color: var(--white);
    background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; cursor: pointer;
  }
  .mobile-menu-toggle span { width: 20px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    position: fixed; inset: 78px 0 auto; z-index: 45; display: grid;
    padding: 8px 20px 20px; background: rgba(17,19,21,.98);
    border-bottom: 1px solid rgba(255,255,255,.12); transform: translateY(-120%);
    transition: transform .25s ease; box-shadow: 0 18px 40px rgba(0,0,0,.22);
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px;
    color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .mobile-nav span { color: var(--orange); font-size: .7rem; }
  .menu-open { overflow: hidden; }
  .hero { min-height: auto; height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding-top: 88px; padding-bottom: 74px; }
  .hero-visual { height: min(62vw, 500px); }
  .hero-visual::after { display: none; }
  .hero-badge { bottom: 24px; }
  .roof-focus { grid-template-columns: 62px 1fr; gap: 28px; }
  .roof-focus > p { grid-column: 2; max-width: 630px; }
  .service-card, .service-card.featured { grid-column: span 3; }
  .service-card.featured { grid-column: span 6; }
  .calculator-shell { grid-template-columns: 1fr; }
  .calculator-result { min-height: 540px; }
  .gallery { grid-auto-rows: 190px; }
  .gallery-item { grid-column: span 6; }
  .gallery-item.gallery-wide { grid-column: span 12; }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .step-list li:nth-child(2) { border-right: 0; }
  .step-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 66px; }
  body { padding-bottom: 68px; }
  .site-header { height: 66px; padding-inline: 14px 12px; gap: 9px; }
  .brand { font-size: .78rem; gap: 7px; }
  .brand-mark { width: 25px; height: 22px; transform: scale(.78); transform-origin: left center; }
  .header-phone { margin-left: auto; margin-right: 1px; }
  .header-phone span { display: none; }
  .header-phone svg { width: 20px; height: 20px; }
  .mobile-menu-toggle { width: 40px; height: 40px; }
  .mobile-nav { inset: 66px 0 auto; padding: 5px 18px 14px; }
  .hero { padding-top: 66px; }
  .hero-copy { min-height: 0; padding: 58px 20px 46px; }
  .hero-copy::after { bottom: -24px; font-size: 6.5rem; }
  .eyebrow { margin-bottom: 17px; font-size: .68rem; letter-spacing: .14em; }
  .eyebrow span { width: 28px; }
  h1 { margin-bottom: 20px; font-size: clamp(2.85rem, 14.2vw, 4.4rem); }
  .hero-lead { margin-bottom: 25px; font-size: .96rem; line-height: 1.5; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .button { width: 100%; min-height: 50px; padding: 13px 18px; }
  .hero-note { margin-top: 18px; font-size: .78rem; line-height: 1.45; }
  .hero-visual { height: 285px; }
  .hero-visual img { object-position: 64% center; }
  .hero-badge { left: 14px; right: 14px; bottom: 14px; width: auto; padding: 14px 16px; border-left-width: 4px; }
  .hero-badge strong { font-size: 1.8rem; }
  .hero-badge span, .hero-badge small { font-size: .6rem; }
  .roof-focus { grid-template-columns: 1fr; padding: 58px 20px 48px; }
  .roof-focus .section-index { font-size: 2.5rem; }
  .roof-focus > p { grid-column: auto; }
  .section { padding: 58px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  h2 { font-size: clamp(2.45rem, 12.5vw, 4rem); }
  .section-heading > p, .roof-focus > p { font-size: .92rem; line-height: 1.5; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured { grid-column: auto; min-height: 248px; padding: 22px; }
  .service-icon { width: 46px; height: 46px; }
  .service-card h3 { margin-top: 22px; font-size: 1.16rem; }
  .service-card p { font-size: .88rem; line-height: 1.45; }
  .service-card a { margin-top: 19px; }
  .calculator { scroll-margin-top: 66px; }
  .calculator .section-heading { margin-bottom: 26px; }
  .calculator-shell { margin-inline: -20px; border-left: 0; border-right: 0; box-shadow: none; }
  .calculator-form, .calculator-result { padding: 28px 20px; }
  .calc-grid-main, .calc-grid-lengths { grid-template-columns: 1fr; }
  .calc-grid-main .calc-field:first-child { grid-row: auto; }
  .calc-grid-main .calc-field:first-child .input-unit input { min-height: 65px; font-size: 1.7rem; }
  .calc-options, .calc-lengths { margin-top: 26px; padding-top: 25px; }
  .calc-check { padding: 14px; }
  .calculator-result { min-height: 0; }
  .estimate-total { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery-item, .gallery-item.gallery-wide, .gallery-item.gallery-tall { grid-column: auto; grid-row: auto; }
  .gallery-item:first-child { height: 340px; }
  .step-list { grid-template-columns: 1fr; }
  .step-list li { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-list li:last-child { border-bottom: 0; }
  .step-list span { margin-bottom: 28px; }
  .contact { padding: 64px 20px; gap: 32px; }
  .contact-copy h2 { margin-bottom: 17px; }
  .contact-copy > p:last-child { font-size: .94rem; }
  .contact-actions { gap: 11px; }
  .button-large { min-height: 56px; padding-inline: 20px; }
  .contact-phone { padding: 15px 18px; }
  .contact-phone strong { font-size: 1.45rem; }
  footer { grid-template-columns: 1fr; gap: 17px; padding: 28px 20px; }
  footer > a:last-child { justify-self: start; }
  .mobile-whatsapp {
    position: fixed;
    z-index: 60;
    left: 10px;
    right: 10px;
    bottom: 9px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #1f9d55;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0,0,0,.28);
  }
  .mobile-whatsapp::after { content: "Написать в WhatsApp"; margin-left: 9px; font-size: .88rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
  .mobile-whatsapp svg { width: 23px; fill: currentColor; }
}
