/* Euro Metal Roofing — consolidated CSS.
   Duplicate declarations within rules removed; non-Hero typography centralized.
   Keep this single stylesheet; do not additionally load emr-typography-unified.css. */

/* CSS: форматирование и разделы. Исходный порядок всех правил сохранён. */

/* ==================================================================
   01. Переменные: цвета, размеры и настройки
   ================================================================== */

:root {
  --green: #9fc54c;
  --forest: #00490b;
  --ink: #1e232d;
  --muted: #5f6670;
  --light: #f3f4f3;
  --line: #dce0dc;
  --white: #fff;
  --header-height: 122px;
  --container: 1400px;
  --review-columns: 4;
}

/* ==================================================================
   02. Базовые стили и типографика
   ================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: Inter,Arial,sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,input,textarea {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

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

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 800;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px,4.8vw,68px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(34px,3.6vw,52px);
  line-height: 1.1;
}

h3 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
}

p {
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

input:focus-visible,textarea:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

/* ==================================================================
   03. Контейнеры и общие элементы секций
   ================================================================== */

.container {
  max-width: var(--container);
  padding-inline: 6%;
  margin-inline: auto;
}

.section {
  padding-block: 100px;
}

.section-compact {
  padding-block: 58px;
}

.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .1em;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  flex-shrink: 0;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.section-description {
  color: var(--muted);
  max-width: 690px;
}

.section-action {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.action-pair {
  justify-content: center;
}

/* ==================================================================
   04. Кнопки и ссылки
   ================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 17px 25px;
  background: var(--green);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  transition: background .18s,border-color .18s,transform .18s;
}

.button:hover {
  background: #b0d367;
  transform: translateY(-2px);
}

.button:disabled {
  opacity: .6;
  transform: none;
}

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

.button-dark:hover {
  background: #08631b;
}

.button-outline-dark {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.button-outline-dark:hover {
  background: #eef4e5;
}

.button-small {
  min-height: 48px;
  padding: 13px 19px;
  font-size: 13px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
  color: var(--forest);
}

.fine-print {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

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

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  z-index: 100;
  background: #fff;
  padding: 16px;
}

/* ==================================================================
   05. Шапка и навигация
   ================================================================== */

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  background: #fff;
  box-shadow: 0 1px 0 #1e232d16;
}

.announcement {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--forest);
  color: white;
  padding-inline: 15px;
}

.announcement p,.announcement button {
  font-size: 10px;
  line-height: 1.4;
}

.announcement p {
  letter-spacing: .04em;
}

.announcement button {
  border: 0;
  border-bottom: 1px solid #ffffff7a;
  padding: 0 0 2px;
  background: none;
  color: white;
  font-weight: 600;
}

.navigation {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.logo {
  display: block;
  width: 170px;
  flex-shrink: 0;
}

.logo img {
  height: auto;
  object-fit: contain;
}

.navigation nav {
  display: flex;
  gap: 25px;
  margin-inline: auto;
  font-size: 13px;
}

.navigation nav a:hover {
  color: var(--forest);
}

.nav-phone {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==================================================================
   06. Главный экран — Hero
   ================================================================== */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  color: white;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 65px);
  overflow: hidden;
}

.hero-image,.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  object-position: 55% center;
}

.hero-overlay {
  background: linear-gradient(90deg,#1e232dee 0%,#1e232dc9 38%,#1e232d61 73%,#1e232d30);
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: 30px;
  padding-bottom: clamp(64px,9vh,110px);
}

.hero h1 {
  max-width: 1080px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero .eyebrow {
  margin-bottom: 23px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  margin-top: 26px;
}

.hero .button {
  margin-top: 29px;
}

.hero-service {
  margin-top: 18px;
  font-size: 12px;
  color: #e1e5df;
}

/* ==================================================================
   07. Статистика и доверие
   ================================================================== */

.trust-section {
  background: var(--ink);
  color: white;
}

.trust-section .section-heading {
  margin-bottom: 34px;
}

.trust-section h2 {
  font-size: 32px;
}

.trust-section .eyebrow {
  margin-bottom: 14px;
}

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

.trust-stat {
  padding: 8px 30px;
  border-left: 1px solid #ffffff30;
}

.trust-stat:first-child {
  padding-left: 0;
  border: 0;
}

.trust-stat strong {
  display: block;
  color: var(--green);
  font-size: clamp(46px,4.9vw,68px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.1;
}

.trust-stat>span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
  font-weight: 500;
}

.trust-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  margin-top: 32px;
}

.trust-footer .fine-print {
  color: #bdc4c9;
  max-width: 530px;
}

.trust-footer .button {
  flex-shrink: 0;
}

/* ==================================================================
   08. Сезонное предложение
   ================================================================== */

.offer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.offer-copy .section-heading {
  margin-bottom: 25px;
}

.offer-copy>p:not(.fine-print) {
  font-size: 17px;
  color: var(--muted);
}

.offer-points {
  padding: 0;
  margin: 27px 0 30px;
  list-style: none;
  display: grid;
  gap: 15px;
}

.offer-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.offer-points li:before {
  content: "✓";
  color: var(--forest);
  font-size: 18px;
}

.offer-copy>.fine-print {
  margin-top: 18px;
  max-width: 440px;
}

.offer-visual {
  position: relative;
  min-height: 560px;
  align-self: stretch;
  background: var(--light);
  overflow: hidden;
}

.offer-visual>img {
  position: absolute;
  inset: 0;
  object-position: center 40%;
}

.offer-stamp {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: var(--green);
  padding: 30px;
}

.offer-stamp span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.offer-stamp strong {
  display: block;
  font-size: clamp(30px,3.5vw,48px);
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 14px 0 18px;
  font-weight: 800;
}

/* ==================================================================
   09. Преимущества
   ================================================================== */

.roofing-benefits {
  background: var(--light);
}

.benefits-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 7%;
  align-items: stretch;
}

.benefits-photo {
  min-height: 500px;
}

.benefits-photo img {
  object-position: center 35%;
}

.benefit-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 32px;
  padding-block: 6px;
}

.benefit-detail {
  border-top: 1px solid #bfc6c0;
  padding-top: 20px;
}

.detail-number {
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
}

.benefit-detail h3 {
  margin-top: 15px;
}

.benefit-detail p {
  color: var(--muted);
  margin-top: 13px;
}

/* ==================================================================
   10. Карточки продукции
   ================================================================== */

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

.product-card {
  min-width: 0;
}

.product-image {
  aspect-ratio: 4/3;
  background: var(--light);
  overflow: hidden;
}

.product-image img {
  object-position: center 32%;
  transition: transform .3s;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-copy {
  padding-top: 23px;
}

.product-copy p {
  color: var(--muted);
  margin-top: 12px;
}

/* ==================================================================
   11. Форма заявки
   ================================================================== */

.estimate-section {
  background: var(--forest);
  color: white;
}

.estimate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: start;
}

.estimate-copy .section-heading {
  margin-bottom: 35px;
}

.estimate-copy .section-description {
  color: #d9e5d8;
}

.estimate-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}

.estimate-contact>a:first-child {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.estimate-contact>a:nth-child(2) {
  font-size: 15px;
}

.estimate-contact p {
  font-size: 12px;
  color: #d0e1cf;
  margin-top: 10px;
}

.quote-form {
  background: white;
  color: var(--ink);
  padding: 35px;
  display: grid;
  gap: 19px;
}

.form-intro {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field label {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,.field textarea {
  width: 100%;
  border: 1px solid #cfd5d0;
  border-radius: 0;
  background: #fafbfa;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  padding: 12px;
}

.field textarea {
  resize: vertical;
  min-height: 105px;
}

.field input[aria-invalid=true],.field textarea[aria-invalid=true] {
  border-color: #b72929;
  outline-color: #b72929;
}

.field-error {
  font-size: 11px;
  line-height: 1.4;
  color: #a62222;
}

.field-error:empty {
  display: none;
}

.quote-form>.button {
  width: 100%;
}

.privacy-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.privacy-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--forest);
}

.form-status:empty {
  display: none;
}

.form-error-summary {
  background: #fff2f1;
  color: #8a2020;
  padding: 13px;
  font-size: 13px;
  line-height: 1.5;
}

.submission-fallback {
  background: #f0f4e8;
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.submission-fallback a {
  display: block;
  margin-top: 11px;
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==================================================================
   12. Этапы работы
   ================================================================== */

.process-section {
  background: var(--ink);
  color: white;
}

.process-section .section-description {
  color: #c7ced3;
}

.process-grid {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 27px;
}

.process-step {
  position: relative;
  border-top: 1px solid #ffffff4f;
  padding-top: 20px;
  padding-bottom: 35px;
}

.step-number {
  font-size: 38px;
  line-height: 1;
  color: var(--green);
  font-weight: 500;
  letter-spacing: -.04em;
}

.process-step h3 {
  margin-top: 25px;
}

.process-step p {
  color: #c7ced3;
  margin-top: 15px;
}

.qualifying-step {
  border-color: var(--green);
}

.step-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  border: 1px solid #9fc54c77;
  padding: 5px 8px;
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ==================================================================
   13. Отзывы и карусель
   ================================================================== */

.reviews-section {
  background: white;
}

.review-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  gap: 14px;
  align-items: center;
  --visible-reviews: min(var(--review-columns),var(--available-reviews));
}

.review-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  min-width: 0;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (var(--visible-reviews) - 1)*18px)/var(--visible-reviews));
  scroll-snap-align: start;
  border: 1px solid var(--line);
  padding: 25px;
  min-width: 0;
  background: #fafbfa;
}

.review-card:last-child {
  scroll-snap-align: end;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

.stars {
  color: var(--forest);
  letter-spacing: .08em;
  font-size: 17px;
}

.review-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
  margin: 23px 0 26px;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: var(--forest);
  background: #e7eddf;
  font-size: 13px;
  font-weight: 600;
}

.review-card figcaption strong {
  font-size: 12px;
  line-height: 1.5;
  display: block;
}

.review-card figcaption a {
  font-size: 11px;
  text-decoration: underline;
  display: block;
  color: var(--muted);
  margin-top: 5px;
  text-underline-offset: 3px;
}

.carousel-arrow {
  border: 1px solid var(--line);
  background: white;
  color: var(--forest);
  width: 44px;
  height: 44px;
  padding: 10px;
  display: grid;
  place-items: center;
}

.carousel-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-arrow:disabled {
  opacity: .35;
}

.carousel-arrow:not(:disabled):hover {
  background: #eff4e7;
  border-color: var(--forest);
}

.review-source-note {
  font-size: 11px;
  color: var(--muted);
  margin: 20px 58px 0;
}

/* ==================================================================
   14. Галерея проектов
   ================================================================== */

.projects-section {
  background: var(--light);
}

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

.gallery-item {
  aspect-ratio: 1;
  position: relative;
  border: 0;
  padding: 0;
  background: #d9ded8;
  overflow: hidden;
}

.gallery-item img {
  transition: transform .25s;
  object-position: center 42%;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-enlarge {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 30px;
  height: 30px;
  background: #ffffffed;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 21px;
  opacity: 0;
  transition: opacity .2s;
}

.gallery-item:hover .gallery-enlarge,.gallery-item:focus-visible .gallery-enlarge {
  opacity: 1;
}

/* ==================================================================
   15. Частые вопросы
   ================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 8%;
  align-items: start;
}

.faq-heading .section-heading {
  margin: 0;
}

.faq-heading h2 {
  font-size: clamp(34px,3.6vw,52px);
}

.faq-heading .section-description {
  font-size: 16px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
  padding: 23px 0;
}

.faq-icon {
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  color: var(--forest);
  flex-shrink: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .25s,visibility .25s;
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-answer>div {
  overflow: hidden;
  min-height: 0;
}

.faq-answer p {
  padding-bottom: 25px;
  color: var(--muted);
}

/* ==================================================================
   16. Завершающий блок
   ================================================================== */

.final-cta {
  background: var(--forest);
  color: white;
  position: relative;
  overflow: hidden;
}

.final-cta:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -180px;
  width: 550px;
  height: 550px;
  transform: rotate(35deg);
  border: 1px solid #ffffff13;
  pointer-events: none;
}

.final-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.final-layout>div {
  max-width: 760px;
}

.final-cta .section-heading {
  margin: 0;
}

.final-cta .section-description {
  color: #d9e5d8;
  max-width: 610px;
}

.final-service {
  font-size: 12px;
  margin-top: 20px;
  color: #d0e1cf;
}

.final-layout>.button {
  flex-shrink: 0;
  max-width: 270px;
}

/* ==================================================================
   17. Подвал сайта
   ================================================================== */

.site-footer {
  background: white;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding-block: 40px;
}

.footer-main>div {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 23px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}

.mobile-sticky {
  display: none;
}

/* ==================================================================
   18. Всплывающие окна и просмотр фотографий
   ================================================================== */

.offer-dialog {
  padding: 0;
  border: 0;
  width: min(820px,calc(100% - 40px));
  color: var(--ink);
  background: white;
  max-height: calc(100svh - 40px);
}

.offer-dialog[open] {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
}

.offer-dialog::backdrop,.lightbox::backdrop {
  background: #10151cd1;
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 13px;
  background: white;
  color: var(--ink);
  border: 0;
  font-size: 30px;
  width: 35px;
  height: 35px;
  line-height: 1;
}

.popup-image {
  position: relative;
  min-height: 430px;
}

.popup-image img {
  position: absolute;
  inset: 0;
  object-position: center;
}

.popup-content {
  padding: 50px 35px 28px;
}

.popup-content h2 {
  font-size: 39px;
}

.popup-content>p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  margin-top: 22px;
}

.popup-content>.button {
  width: 100%;
  margin-top: 28px;
}

.popup-dismiss {
  display: block;
  margin: 16px auto 0;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lightbox {
  background: transparent;
  border: 0;
  padding: 45px 65px;
  width: min(1200px,96vw);
  height: min(900px,95svh);
  color: #fff;
  max-width: none;
  max-height: none;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox figure {
  height: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.lightbox figure img {
  width: auto;
  max-width: 100%;
  height: calc(100% - 45px);
  object-fit: contain;
  min-height: 0;
}

.lightbox figcaption {
  font-size: 13px;
  text-align: center;
  margin-top: 15px;
  line-height: 1.5;
}

.lightbox-close,.lightbox-prev,.lightbox-next {
  position: absolute;
  border: 1px solid #ffffff44;
  background: #1e232da8;
  color: white;
  min-height: 44px;
  width: 44px;
  font-size: 30px;
  line-height: 1;
  z-index: 2;
}

.lightbox-close {
  right: 10px;
  top: 0;
}

.lightbox-prev {
  left: 5px;
  top: calc(50% - 22px);
}

.lightbox-next {
  right: 5px;
  top: calc(50% - 22px);
}

[hidden] {
  display: none !important;
}

@media (min-width:1600px) {
  .hero-content {
    padding-bottom: 11vh;
  }
}

@media (max-width:1199px) {
  :root {
    --review-columns: 2;
  }

  .container {
    padding-inline: 5%;
  }

  .navigation {
    gap: 20px;
  }

  .navigation nav {
    gap: 18px;
    font-size: 12px;
  }

  .nav-phone {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .offer-layout {
    gap: 6%;
  }

  .offer-visual {
    min-height: 500px;
  }

  .benefits-layout {
    grid-template-columns: .7fr 1.3fr;
    gap: 5%;
  }

  .benefit-details {
    gap: 28px 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 35px 24px;
  }

  .product-image {
    aspect-ratio: 1.55;
  }

  .estimate-layout {
    gap: 6%;
  }

  .quote-form {
    padding: 28px;
  }

  .process-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 35px;
  }

  .process-step {
    padding-bottom: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
  }

  .final-layout {
    gap: 40px;
  }

  .final-layout>div {
    max-width: 65%;
  }

  .faq-layout {
    gap: 6%;
    grid-template-columns: 1fr 1.15fr;
  }
}

@media (max-width:767px) {
  :root {
    --header-height: 104px;
    --review-columns: 1;
  }

  .container {
    padding-inline: 6%;
  }

  .section {
    padding-block: 64px;
  }

  .section-compact {
    padding-block: 38px;
  }

  h1 {
    font-size: clamp(33px,8.6vw,48px);
    line-height: 1.1;
  }

  h2,.faq-heading h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  h3 {
    font-size: 23px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: .085em;
    margin-bottom: 18px;
  }

  .eyebrow:before {
    width: 6px;
    height: 6px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .button {
    font-size: 14px;
    padding: 16px 21px;
    min-height: 54px;
  }

  .section-action {
    margin-top: 30px;
  }

  .action-pair {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .action-pair .text-link {
    align-self: center;
  }

  .announcement {
    height: 30px;
    gap: 12px;
    padding-inline: 9px;
  }

  .announcement p,.announcement button {
    font-size: 8px;
  }

  .announcement p {
    letter-spacing: 0;
  }

  .navigation {
    height: 74px;
    gap: 13px;
  }

  .logo {
    width: 137px;
  }

  .navigation nav,.header-cta {
    display: none;
  }

  .nav-phone {
    display: block;
    font-size: 12px;
    margin-left: auto;
  }

  .hero {
    padding-top: calc(var(--header-height) + 32px);
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 25px;
    padding-bottom: 100px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg,#1e232de8,#1e232d9c);
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
    max-width: 460px;
    margin-top: 23px;
  }

  .hero .button {
    width: 100%;
    max-width: 380px;
    margin-top: 25px;
  }

  .hero-service {
    font-size: 10px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 330px;
  }

  .trust-section h2 {
    font-size: 29px;
  }

  .trust-section .section-heading {
    margin-bottom: 27px;
  }

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

  .trust-stat {
    padding: 0 12px;
  }

  .trust-stat strong {
    font-size: clamp(28px,7.8vw,42px);
    white-space: nowrap;
  }

  .trust-stat>span {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 9px;
  }

  .trust-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
    margin-top: 27px;
  }

  .trust-footer .fine-print {
    font-size: 10px;
  }

  .offer-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .offer-copy>p:not(.fine-print) {
    font-size: 16px;
  }

  .offer-points {
    margin-block: 23px;
    gap: 13px;
  }

  .offer-points li {
    font-size: 14px;
  }

  .offer-copy>.button {
    width: 100%;
  }

  .offer-copy>.fine-print {
    font-size: 11px;
  }

  .offer-visual {
    min-height: 390px;
  }

  .offer-stamp {
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 25px;
  }

  .offer-stamp strong {
    font-size: 38px;
  }

  .offer-stamp span {
    font-size: 11px;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefits-photo {
    min-height: 340px;
    height: 340px;
  }

  .benefits-photo img {
    object-position: center 30%;
  }

  .benefit-details {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 0;
  }

  .benefit-detail {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    padding-top: 19px;
  }

  .detail-number {
    font-size: 12px;
    padding-top: 4px;
  }

  .benefit-detail h3 {
    margin-top: 0;
  }

  .benefit-detail p {
    margin-top: 11px;
  }

  .roofing-benefits .section-action>.button,.products-section .section-action>.button {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-image {
    aspect-ratio: 1.35;
  }

  .product-copy {
    padding-top: 18px;
  }

  .product-copy p {
    margin-top: 10px;
  }

  .estimate-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .estimate-copy .section-heading {
    margin-bottom: 25px;
  }

  .estimate-contact>a:first-child {
    font-size: 28px;
  }

  .estimate-contact>a:nth-child(2) {
    font-size: 14px;
  }

  .estimate-contact p {
    font-size: 11px;
  }

  .quote-form {
    padding: 26px 21px;
    gap: 18px;
  }

  .form-intro {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .field label {
    font-size: 12px;
  }

  .privacy-note {
    font-size: 10px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 35px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 45px 1fr;
    column-gap: 18px;
    padding-top: 21px;
    align-items: start;
  }

  .step-number {
    grid-row: 1/4;
    font-size: 33px;
  }

  .process-step h3 {
    margin-top: 0;
  }

  .process-step p {
    margin-top: 12px;
  }

  .step-tag {
    justify-self: start;
    font-size: 9px;
    margin-top: 15px;
  }

  .process-section .section-action>.button {
    width: 100%;
  }

  .review-carousel {
    grid-template-columns: 30px minmax(0,1fr) 30px;
    gap: 8px;
    margin-inline: -8px;
  }

  .carousel-arrow {
    width: 30px;
    height: 40px;
    padding: 5px;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .review-track {
    gap: 12px;
  }

  .review-card {
    flex-basis: 100%;
    padding: 22px 19px;
  }

  .review-card blockquote {
    font-size: 15px;
    margin-block: 22px;
    line-height: 1.7;
  }

  .review-card figcaption {
    gap: 9px;
  }

  .review-card figcaption strong {
    font-size: 12px;
  }

  .review-source-note {
    margin: 17px 30px 0;
    font-size: 10px;
  }

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

  .gallery-enlarge {
    opacity: 1;
    right: 10px;
    bottom: 10px;
    width: 25px;
    height: 25px;
    font-size: 18px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-heading .section-description {
    font-size: 16px;
  }

  .faq-question {
    padding-block: 20px;
    gap: 20px;
  }

  .faq-answer p {
    padding-bottom: 22px;
  }

  .faq-content .section-action>.button {
    width: 100%;
  }

  .final-layout {
    display: block;
  }

  .final-layout>div {
    max-width: 100%;
  }

  .final-layout>.button {
    max-width: none;
    width: 100%;
    margin-top: 28px;
  }

  .final-service {
    font-size: 11px;
  }

  .site-footer {
    padding-bottom: 80px;
  }

  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 25px;
    padding-block: 32px;
  }

  .footer-main>div {
    font-size: 12px;
    gap: 9px;
  }

  .footer-main>.text-link {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    font-size: 10px;
    padding-block: 23px;
  }

  .mobile-sticky {
    display: block;
    position: fixed;
    z-index: 18;
    inset: auto 0 0;
    background: white;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -1px 12px #00000016;
    transition: transform .2s,visibility .2s;
  }

  .mobile-sticky>.button {
    width: 100%;
    min-height: 48px;
    padding-block: 13px;
  }

  .mobile-sticky.is-hidden,.modal-open .mobile-sticky {
    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
  }

  .offer-dialog {
    width: calc(100% - 30px);
    max-width: 450px;
    max-height: calc(100svh - 30px);
    overflow: auto;
  }

  .offer-dialog[open] {
    grid-template-columns: 1fr;
  }

  .popup-image {
    display: none;
  }

  .popup-content {
    padding: 47px 25px 24px;
  }

  .popup-content h2 {
    font-size: 35px;
  }

  .popup-content>p:not(.eyebrow) {
    font-size: 15px;
    margin-top: 20px;
  }

  .popup-content>.button {
    margin-top: 25px;
  }

  .lightbox {
    width: 100vw;
    height: 90svh;
    padding: 40px 35px;
  }

  .lightbox-prev,.lightbox-next {
    width: 30px;
    min-height: 42px;
    font-size: 27px;
  }

  .lightbox-prev {
    left: 0;
  }

  .lightbox-next {
    right: 0;
  }

  .lightbox-close {
    right: 0;
  }

  .lightbox figcaption {
    font-size: 11px;
  }
}

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

  .announcement p {
    font-size: 7px;
  }

  .announcement {
    gap: 8px;
  }

  .trust-stat {
    padding-inline: 9px;
  }

  .trust-stat strong {
    font-size: 27px;
  }

  .trust-stat>span {
    font-size: 9px;
  }

  .logo {
    width: 123px;
  }

  .nav-phone {
    font-size: 11px;
  }

  .review-card {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Consistent section and card heading scales. */

.trust-section h2 {
  font-size: clamp(34px,3.6vw,52px);
}

@media (max-width:767px) {
  .trust-section h2 {
    font-size: 34px;
  }
}

.lightbox figure img {
  touch-action: pan-y;
  user-select: none;
}

/* User correction: three metal tile profiles only. */

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

.product-image img {
  object-position: center;
}

@media (max-width:767px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    aspect-ratio: 1.3;
  }
}

/* Latest visual refinements. */

.button,.button:hover {
  background: var(--green);
  color: #fff;
}

.button:hover {
  background: #91b83e;
}

.button.button-white {
  background: #fff;
  color: var(--forest);
  border-color: #fff;
}

.button.button-white:hover {
  background: #f1f4ed;
  color: var(--forest);
}

.hero-actions {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 29px;
  flex-wrap: wrap;
}

.hero-actions .button {
  margin-top: 0;
  min-width: 180px;
}

.announcement a {
  font-size: 10px;
  font-weight: 600;
  border-bottom: 1px solid #ffffff7a;
  line-height: 1.4;
  padding-bottom: 2px;
  white-space: nowrap;
}

.trust-section {
  padding-block: 40px;
}

.benefits-copy .section-heading {
  margin-bottom: 30px;
}

.benefits-copy .section-action {
  justify-content: flex-start;
}

.benefits-photo {
  height: auto;
  align-self: stretch;
}

.products-section .section-action,.process-section .section-action {
  justify-content: center;
}

.process-step {
  transition: border-color .18s;
}

.process-step:hover,.process-step:focus-within {
  border-top-color: var(--green);
}

.carousel-arrow,.carousel-arrow:not(:disabled):hover,.lightbox-close,.lightbox-prev,.lightbox-next {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.review-card blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
  height: 8.25em;
  max-height: 8.25em;
  flex: none;
  margin-block: 23px 26px;
}

.review-card blockquote p {
  font: inherit;
  line-height: inherit;
  margin: 0;
}

.review-card figcaption {
  margin-top: auto;
}

@media (max-width:767px) {
  .hero-actions {
    gap: 12px;
    margin-top: 25px;
    flex-wrap: nowrap;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    margin-top: 0;
    max-width: none;
    padding-inline: 18px;
  }

  .hero-actions .button:first-child {
    flex: 1.15;
  }

  .hero-actions .button-white {
    flex: 1;
  }

  .announcement a {
    font-size: 8px;
  }

  .trust-section {
    padding-block: 30px;
  }

  .benefits-photo {
    height: 340px;
  }

  .review-card blockquote {
    font-size: 14px;
  }
}

/* Product close-ups and deliberate two-line section headings. */

.product-image {
  aspect-ratio: 4/3;
}

.product-image img {
  object-fit: cover;
  padding: 0;
}

.section-heading h2 {
  max-width: 100%;
  text-wrap: balance;
}

.winter-offer>.container>.section-heading {
  max-width: 1050px;
}

.faq-layout {
  grid-template-columns: 1fr;
  gap: 40px;
}

.faq-heading .section-heading {
  max-width: 1100px;
}

.faq-content {
  max-width: 960px;
  width: 100%;
}

@media (max-width:767px) {
  .product-image {
    aspect-ratio: 4/3;
  }

  .faq-layout {
    gap: 30px;
  }
}

/* Offer and integrated estimate form. */

.hero {
  min-height: 0;
  padding-top: calc(var(--header-height) + 62px);
  padding-bottom: 64px;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr);
  gap: 6%;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.hero h1 {
  font-size: clamp(36px,3.7vw,57px);
  line-height: 1.1;
  max-width: 740px;
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #c8e69a;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  margin-top: 25px;
}

.hero-terms {
  max-width: 600px;
  font-size: 12px;
  line-height: 1.75;
  color: #e0e5e0;
  margin-top: 19px;
}

.hero-service {
  font-size: 12px;
  color: #e0e5e0;
  margin-top: 22px;
}

.hero-actions {
  gap: 12px;
}

.hero-actions .button {
  min-width: 0;
  font-size: 11px;
  padding-inline: 20px;
}

.hero-form {
  scroll-margin-top: calc(var(--header-height) + 22px);
  color: var(--ink);
  min-width: 0;
}

.hero-form .quote-form {
  padding: 30px;
  background: #fff;
  box-shadow: 0 16px 60px #0003;
  gap: 13px;
}

.hero-form .eyebrow {
  font-size: 9px;
  margin: 0;
  color: var(--forest);
}

.hero-form .form-intro {
  font-size: 26px;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.form-lead {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-form .field input,.hero-form .field textarea {
  padding: 11px 12px;
  min-height: 44px;
}

.hero-form .field textarea {
  min-height: 77px;
}

.hero-form .field label {
  font-size: 11px;
}

.hero-form .button {
  font-size: 12px;
  min-height: 50px;
  padding-inline: 12px;
}

.hero-form .privacy-note {
  font-size: 10px;
}

.hero-form .form-status:empty {
  display: none;
}

.hero-overlay {
  background: linear-gradient(90deg,#151c23f0,#151c23b8);
}

.hero-form .form-row {
  gap: 14px;
}

.header-cta {
  font-size: 10px;
}

.mobile-sticky>.button {
  font-size: 12px;
}

@media (max-width:1000px) {
  .hero-content {
    gap: 4%;
    grid-template-columns: minmax(0,1fr) minmax(330px,1fr);
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    max-width: none;
  }

  .hero-form .quote-form {
    padding: 24px;
  }
}

@media (max-width:767px) {
  .hero {
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 38px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(32px,8.4vw,46px);
  }

  .hero-description {
    font-size: 16px;
    margin-top: 22px;
  }

  .hero-kicker {
    font-size: 9px;
    letter-spacing: .09em;
    margin-bottom: 20px;
  }

  .hero-terms {
    font-size: 11px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
    flex: auto;
    max-width: none;
    font-size: 12px;
  }

  .hero-form .quote-form {
    padding: 25px 20px;
    gap: 15px;
  }

  .hero-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-form .form-intro {
    font-size: 25px;
  }

  .hero-form .button {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-service {
    margin-top: 18px;
    font-size: 11px;
  }

  .hero-form .field label {
    font-size: 12px;
  }
}

/* Address suggestions and the required roofing choice only. */

#quote-form .address-control {
  position: relative;
  min-width: 0;
}

#quote-form .address-dropdown {
  position: absolute;
  z-index: 25;
  top: 100%;
  left: auto;
  width: max(100%,300px);
  max-width: min(420px,80vw);
  right: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid #cfd5d0;
  box-shadow: 0 8px 22px #0002;
}

#quote-form #address-suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 245px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#quote-form #address-suggestions [role=option] {
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  min-height: 44px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

#quote-form #address-suggestions [role=option][aria-selected=true],#quote-form #address-suggestions [role=option]:hover {
  background: var(--light);
}

#quote-form .address-attribution {
  display: flex;
  justify-content: flex-end;
  padding: 9px 12px;
}

#quote-form .address-attribution img {
  width: 120px;
  height: 14px;
  object-fit: contain;
}

#quote-form .address-status {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

#quote-form .address-status:empty {
  display: none;
}

#quote-form .roofing-situation {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

#quote-form .roofing-situation legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

#quote-form .roofing-answers {
  display: grid;
  gap: 4px;
}

#quote-form .roofing-answer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
}

#quote-form .roofing-answer input {
  appearance: auto;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 16px;
  accent-color: var(--forest);
}

#quote-form .roofing-answer:focus-within {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

@media (max-width:767px) {
  #quote-form .address-dropdown {
    width: 100%;
    max-width: 100%;
  }

  #quote-form .roofing-situation legend {
    font-size: 12px;
  }

  #quote-form .roofing-answer {
    font-size: 12px;
  }
}

/* Hero trust indicators requested for the winter-to-spring offer. */

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 22px;
  list-style: none;
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #ffffff30;
  max-width: 620px;
}

.hero-trust li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  color: #fff;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width:767px) {
  .hero-trust {
    gap: 15px 16px;
    margin-top: 25px;
    padding-top: 22px;
  }

  .hero-trust li {
    font-size: 11px;
    gap: 8px;
  }

  .hero-trust svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}

/* Requested typography, dark benefits, and combined profile/project showcase. */

.hero-trust li {
  font-size: 14px;
  line-height: 19.2px;
  font-weight: 600;
}

.roofing-benefits {
  background: var(--ink);
  color: #fff;
}

.roofing-benefits .section-description,.roofing-benefits .benefit-detail p {
  color: #d1d6da;
}

.roofing-benefits .eyebrow,.roofing-benefits .detail-number {
  color: var(--green);
}

.roofing-benefits .benefit-detail {
  border-top-color: #ffffff30;
}

.products-projects .projects-gallery {
  margin-top: 64px;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.products-projects .projects-gallery .section-action {
  justify-content: center;
}

@media (max-width:767px) {
  .hero-trust li {
    font-size: 12px;
    line-height: 17.6px;
  }

  .products-projects .projects-gallery {
    margin-top: 44px;
  }

  .products-projects .gallery-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* Requested header menu and combined offer/questions section. */

.navigation nav {
  gap: 18px;
  font-size: 12px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 10px;
  flex: 0 0 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.offer-faq {
  display: grid;
  margin-top: 72px;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (max-width:1100px) {
  .site-header .navigation nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header[data-menu-open] .navigation nav {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px 5% 18px;
    background: white;
    box-shadow: 0 12px 18px #0002;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
  }

  .site-header[data-menu-open] .navigation nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 14px;
  }

  .navigation {
    gap: 16px;
  }
}

@media (max-width:767px) {
  .navigation {
    gap: 8px;
  }

  .offer-faq {
    margin-top: 44px;
  }
}

/* Keep the remaining reviews action centred. */

.reviews-section .section-action {
  justify-content: center;
}

/* Winter offer refinements — November 2026. */

.mobile-copy {
  display: none !important;
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-picture .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.hero-overlay {
  background: linear-gradient(90deg,#101820df 0%,#101820cc 42%,#10182070 100%);
}

.roof-strip {
  padding-block: 30px;
  background: #fff;
}

.roof-strip>.container {
  min-width: 0;
}

.roof-strip-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.roof-strip-track::-webkit-scrollbar {
  display: none;
}

.roof-strip-slide {
  flex: 0 0 calc((100% - 36px)/3);
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--light);
}

.roof-strip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roof-strip-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.roof-strip-position {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.roof-strip-arrows {
  display: flex;
  gap: 10px;
}

.roof-strip-arrows button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--forest);
}

.roof-strip-arrows button:hover:not(:disabled) {
  background: var(--light);
}

.roof-strip-arrows button:disabled {
  opacity: .35;
}

.roof-strip-arrows svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-visual {
  background: var(--ink);
}

.offer-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#07131c10 0%,#07131c80 40%,#07131cf0 100%);
  pointer-events: none;
}

.offer-visual>img {
  object-position: 50% 45%;
}

.offer-stamp {
  z-index: 1;
  background: transparent;
  color: #fff;
}

.offer-stamp strong {
  color: #fff;
}

.offer-legal {
  background: var(--light);
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.offer-legal p {
  max-width: 1060px;
  font-size: 14px;
  line-height: 1.75;
  color: #414b53;
}

@media (max-width:767px) {
  .desktop-copy {
    display: none !important;
  }

  .mobile-copy {
    display: block !important;
  }

  a.mobile-copy {
    display: inline-flex !important;
  }

  .hero {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 30px;
  }

  .hero-picture {
    height: 650px;
    bottom: auto;
  }

  .hero-picture .hero-image {
    object-position: 69% 42%;
  }

  .hero-overlay {
    background: linear-gradient(180deg,#101820ba 0,#101820dc 480px,var(--ink) 650px);
  }

  .hero-content {
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(30px,8vw,40px);
    line-height: 1.12;
    letter-spacing: -.04em;
  }

  .hero-kicker {
    font-size: 8px;
    letter-spacing: .07em;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 50px;
    font-size: 13px;
    padding: 14px 18px;
  }

  .hero-service {
    display: none;
  }

  .hero-trust {
    margin-top: 21px;
    padding-top: 18px;
    gap: 13px 12px;
  }

  .hero-trust li {
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-form .quote-form {
    padding: 24px 20px;
    gap: 14px;
  }

  .hero-form .form-intro {
    font-size: 24px;
  }

  .hero-form .form-lead {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-form .field input {
    min-height: 48px;
  }

  #quote-form .roofing-answer {
    min-height: 48px;
    line-height: 1.55;
  }

  .roof-strip {
    padding-block: 22px;
  }

  .roof-strip-track {
    gap: 12px;
  }

  .roof-strip-slide {
    flex-basis: 86%;
    aspect-ratio: 4/3;
  }

  .roof-strip-controls {
    margin-top: 12px;
  }

  .roof-strip-arrows button {
    width: 46px;
    height: 46px;
  }

  .winter-offer .offer-layout {
    gap: 28px;
  }

  .winter-offer .offer-copy>.fine-print {
    display: none;
  }

  .winter-offer .offer-copy>p {
    font-size: 15px;
    line-height: 1.6;
  }

  .offer-points {
    gap: 12px;
    margin: 22px 0;
  }

  .offer-points li {
    font-size: 13px;
  }

  .offer-visual {
    min-height: 360px;
  }

  .offer-stamp {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 20px;
  }

  .offer-stamp strong {
    font-size: 38px;
  }

  .offer-faq {
    margin-top: 36px;
  }

  .product-copy p {
    display: none;
  }

  .offer-legal {
    padding-block: 24px;
  }

  .offer-legal p {
    font-size: 13px;
    line-height: 1.7;
  }
}

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

  .hero-form .quote-form {
    padding: 22px 16px;
  }

  .hero-trust li {
    font-size: 10px;
  }

  .roof-strip-slide {
    flex-basis: 91%;
  }

  .offer-stamp {
    padding: 15px;
  }

  .offer-stamp strong {
    font-size: 34px;
  }
}

/* Call CTA, overlapping photo strip and six-photo comparison gallery. */

.hero-actions {
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-actions .button-call {
  min-width: 155px;
  background: var(--forest);
  color: #fff;
  border-color: #ffffff80;
}

.button-call>span {
  display: block;
  line-height: 1.25;
}

.button-call small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}

.hero-actions .button-call:hover {
  background: #08631b;
}

.roof-strip>.container {
  max-width: 1600px;
}

.roof-strip-track {
  gap: 0;
  padding-block: 8px;
}

.roof-strip-slide {
  flex-basis: calc((100% + 36px)/3);
  margin-right: -18px;
  aspect-ratio: 1.24;
  position: relative;
  box-shadow: -7px 0 15px #0003;
  border: 0;
}

.roof-strip-slide:last-child {
  margin-right: 0;
}

.roof-strip-controls {
  justify-content: center;
  gap: 16px;
}

.roof-strip-arrows {
  display: contents;
}

.roof-strip-position {
  order: 2;
  min-width: 70px;
  text-align: center;
}

.roof-strip-prev {
  order: 1;
}

.roof-strip-next {
  order: 3;
}

.roof-strip-arrows button {
  border: 1px solid var(--line);
}

.products-projects .gallery-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0;
}

.products-projects .gallery-item {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.comparison-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 20px;
  background: linear-gradient(transparent,#07131cdd);
  color: #fff;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  pointer-events: none;
}

.products-projects .gallery-enlarge {
  top: 12px;
  bottom: auto;
  right: 12px;
}

@media (max-width:767px) {
  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 12px 10px;
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-actions .button-call {
    min-width: 0;
    font-size: 12px;
  }

  .button-call small {
    font-size: 10px;
    margin-top: 4px;
  }

  .roof-strip>.container {
    padding-inline: 4%;
  }

  .roof-strip-slide {
    flex-basis: 88%;
    margin-right: -14px;
    aspect-ratio: 1.16;
  }

  .roof-strip-controls {
    gap: 14px;
    margin-top: 14px;
  }

  .products-projects .gallery-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
  }

  .comparison-caption {
    padding: 15px 10px 9px;
    font-size: 12px;
  }

  .products-projects .gallery-enlarge {
    top: 7px;
    right: 7px;
    width: 25px;
    height: 25px;
    font-size: 18px;
  }
}

/* Refined Hero button hierarchy and larger square project photos. */

.products-projects .gallery-item {
  aspect-ratio: 1/1;
}

@media (min-width:768px) {
  .hero-actions .desktop-copy {
    flex: 0 0 96px;
    width: 96px;
    min-width: 0;
    padding-inline: 9px;
  }

  .hero-actions .button-call {
    background: var(--green);
    color: #fff;
    border-color: transparent;
    font-size: 12px;
    padding-block: 12px;
    min-height: 56px;
  }

  .hero-actions .button-call:hover {
    background: #b0d367;
  }
}

@media (max-width:767px) {
  .hero-actions {
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
  }

  .hero-actions .button {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    font-size: 12px;
    line-height: 1.35;
    padding: 10px 8px;
  }

  .hero-actions .button-call {
    background: #fff;
    color: var(--forest);
    border-color: #fff;
    font-size: 12px;
  }

  .hero-actions .button-call:hover {
    background: #edf2e9;
  }
}

/* Full text-column width, equal and flatter Hero buttons. */

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  width: 100%;
  max-width: 620px;
  gap: 12px;
  align-items: stretch;
}

.hero-actions .button {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.35;
}

@media (min-width:768px) {
  .hero-actions .desktop-copy {
    width: 100%;
    min-width: 0;
    flex: none;
    padding-inline: 12px;
  }

  .hero-actions .button-call {
    min-width: 0;
    min-height: 52px;
    padding-block: 7px;
  }
}

@media (max-width:767px) {
  .hero-actions {
    max-width: 460px;
    gap: 10px;
  }

  .hero-actions .button {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 7px 8px;
  }
}

/* Borderless, larger neighbourhood project strip with readable photo captions. */

.roof-strip {
  padding-block: 0 18px;
}

.roof-strip>.container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.roof-strip-track {
  padding-block: 0;
}

.roof-strip-slide {
  aspect-ratio: 1.18;
  box-shadow: none;
}

.roof-strip-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 52%,#07131c10 65%,#07131c99 100%);
  pointer-events: none;
}

.roof-strip-caption {
  position: absolute;
  z-index: 1;
  bottom: 19px;
  left: 20px;
  right: 20px;
  color: #fff;
  text-shadow: 0 1px 5px #0005;
  pointer-events: none;
}

.roof-strip-controls {
  margin-top: 14px;
  padding-inline: 16px;
}

.roof-strip+.winter-offer {
  padding-top: 40px;
}

@media (max-width:767px) {
  .roof-strip {
    padding-block: 0 12px;
  }

  .roof-strip>.container {
    padding-inline: 0;
  }

  .roof-strip-slide {
    aspect-ratio: 1.1;
  }

  .roof-strip-caption {
    left: 16px;
    right: 16px;
    bottom: 17px;
  }

  .roof-strip-controls {
    margin-top: 12px;
  }

  .roof-strip+.winter-offer {
    padding-top: 28px;
  }
}

/* Centered recent installations carousel and service areas. */

.roof-showcase {
  padding: 56px 0 28px;
  background: #f5f6f5;
  overflow: hidden;
}

.roof-showcase .roof-strip-heading {
  max-width: 1400px;
  padding-inline: 6%;
  margin-bottom: 34px;
}

.roof-strip-heading .eyebrow {
  color: var(--muted);
  margin-bottom: 14px;
}

.roof-strip-accent {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--forest);
  margin-top: 24px;
}

.roof-strip-stage {
  position: relative;
}

.roof-showcase .roof-strip-track {
  --slide-width: 66vw;
  display: flex;
  gap: 24px;
  padding: 12px calc((100% - var(--slide-width))/2);
  scroll-padding-inline: calc((100% - var(--slide-width))/2);
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.roof-showcase .roof-strip-slide {
  flex: 0 0 var(--slide-width);
  width: var(--slide-width);
  min-width: 0;
  margin: 0;
  aspect-ratio: 1.72;
  position: relative;
  border: 0;
  border-radius: 22px;
  scroll-snap-align: center;
  box-shadow: none;
  transform: scale(.94);
  transition: transform .4s ease,opacity .4s ease;
  opacity: .8;
}

.roof-showcase .roof-strip-slide.is-active {
  transform: scale(1);
  opacity: 1;
}

.roof-showcase .roof-strip-slide:after {
  border-radius: inherit;
  background: linear-gradient(180deg,transparent 45%,#06110bd9 100%);
}

.roof-showcase .roof-strip-caption {
  left: 28px;
  bottom: 26px;
  font-size: 20px;
  line-height: 1.35;
  padding-left: 16px;
  border-left: 3px solid var(--green);
  max-width: calc(100% - 56px);
}

.roof-showcase .roof-strip-arrows {
  display: contents;
}

.roof-showcase .roof-strip-arrows button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  padding: 13px;
  background: white;
  color: var(--ink);
  box-shadow: 0 3px 18px #0002;
  transform: translateY(-50%);
  transition: background .2s,box-shadow .2s;
}

.roof-showcase .roof-strip-prev {
  left: calc(17% - 24px);
}

.roof-showcase .roof-strip-next {
  right: calc(17% - 24px);
}

.roof-showcase .roof-strip-arrows button:hover {
  background: #eef4e5;
  box-shadow: 0 4px 20px #0003;
}

.roof-showcase .roof-strip-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
}

.roof-strip-dots {
  display: flex;
  align-items: center;
  gap: 0;
}

.roof-strip-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.roof-strip-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8cdca;
  transition: background .2s,transform .2s;
}

.roof-strip-dot[aria-current=true] span {
  background: var(--forest);
  transform: scale(1.25);
}

.roof-strip-play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d4dbd4;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  font-size: 18px;
}

.roof-strip-play:hover {
  background: #e8eee8;
}

.service-areas {
  background: #f3f4f3;
}

.service-areas-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.service-area-group {
  padding: 30px;
  background: #fff;
  border-top: 3px solid var(--forest);
}

.service-area-group h3 {
  margin-bottom: 22px;
}

.service-city-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-area-group:last-child .service-city-list {
  grid-template-columns: 1fr;
}

.service-city-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  border-bottom: 1px solid #e7ebe7;
}

.service-city-list a:hover {
  color: var(--forest);
}

.service-city-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (max-width:767px) {
  .roof-showcase {
    padding: 32px 0 18px;
  }

  .roof-showcase .roof-strip-heading {
    margin-bottom: 22px;
  }

  .roof-strip-heading .eyebrow {
    font-size: 10px;
    letter-spacing: .16em;
    margin-bottom: 12px;
  }

  .roof-strip-accent {
    width: 52px;
    height: 3px;
    margin-top: 18px;
  }

  .roof-showcase .roof-strip-track {
    --slide-width: 80vw;
    gap: 12px;
    padding-block: 8px;
  }

  .roof-showcase .roof-strip-slide {
    aspect-ratio: 1.3;
    border-radius: 15px;
  }

  .roof-showcase .roof-strip-caption {
    left: 18px;
    bottom: 20px;
    padding-left: 12px;
    font-size: 16px;
    max-width: calc(100% - 36px);
  }

  .roof-showcase .roof-strip-arrows button {
    width: 44px;
    height: 44px;
    padding: 13px;
  }

  .roof-showcase .roof-strip-prev {
    left: calc(10% - 22px);
  }

  .roof-showcase .roof-strip-next {
    right: calc(10% - 22px);
  }

  .roof-showcase .roof-strip-controls {
    gap: 3px;
    margin-top: 10px;
  }

  .roof-strip-dot {
    width: 28px;
  }

  .roof-strip-play {
    width: 40px;
    height: 40px;
  }

  .service-areas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-area-group {
    padding: 23px 20px;
  }

  .service-area-group h3 {
    margin-bottom: 16px;
  }

  .service-city-list,.service-area-group:last-child .service-city-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 16px;
  }

  .service-city-list a {
    font-size: 13px;
    min-height: 46px;
  }
}

/* Скругление изображений */

img:not(.hero-image) {
  border-radius: 8px;
}

/* Скругление контейнеров с обрезкой изображений */

.gallery-item,
.product-image,
.benefits-photo,
.offer-visual {
  border-radius: 8px;
  overflow: hidden;
}

/* Hero остаётся без скругления */

.hero-image {
  border-radius: 0;
}

.products-projects .gallery-item {
  border-radius: 8px;
  overflow: hidden;
}

.products-projects .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.logo,
.logo img {
  border-radius: 0;
}

.roof-showcase .roof-strip-slide {
  border-radius: 8px;
  overflow: hidden;
}

.roof-showcase .roof-strip-slide img {
  border-radius: 0;
}

.roof-showcase .roof-strip-slide::after {
  border-radius: inherit;
}

@media (min-width: 768px) {
  .products-projects .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 120px;
  }

  .products-projects .projects-gallery,
  .winter-offer .offer-faq {
    margin-top: 100px;
  }
}

@media (min-width: 768px) {
  .products-projects .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .products-projects .gallery-item {
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion:reduce) {
  .roof-showcase .roof-strip-slide {
    transition: none;
  }
}

/* Navigation, project metadata and address suggestion spacing. */

@media (min-width:1101px) {
  .site-header .navigation nav {
    font-size: 14px;
    gap: 18px;
  }

  .site-header .navigation nav a {
    font-weight: 500;
  }
}

@media (max-width:1100px) {
  .site-header[data-menu-open] .navigation nav a {
    font-size: 16px;
  }
}

.roof-strip-heading .roof-strip-accent {
  display: none;
}

.roof-showcase .roof-strip-heading {
  margin-bottom: 24px;
}

.roof-strip-meta {
  display: block;
  margin-top: 5px;
  letter-spacing: 0;
}

.products-projects .gallery-item {
  border: 2px solid #fff;
}

/* Google builds adjacent spans without literal whitespace. */

.pac-container .pac-item-query {
  margin-right: .4em;
}

.pac-container .pac-item>span:last-child {
  white-space: normal;
}

@media (max-width:767px) {
  .roof-showcase .roof-strip-caption {
    font-size: 15px;
  }

  .roof-showcase .roof-strip-heading {
    margin-bottom: 18px;
  }
}

@media (min-width: 768px) {
  #main {
    --section-space: 100px;
  }

  /* Общие отступы секций */

  #main > section.section {
    padding-block: var(--section-space);
  }

  /* Убираем нижнюю половину двойного отступа */

  #main > #winter-offer,
  #main > #products {
    padding-bottom: 0;
  }

  /* Расстояние между блоками на одинаковом фоне */

  #main > #faq,
  #main > #projects {
    padding-top: var(--section-space);
    margin-top: 0;
  }

  #faq .offer-faq {
    margin-top: 0;
  }
}

/* Layout rules moved from the PHP template. */

/* Align the winter offer text and photo from the same top edge. */

@media (min-width: 768px) {
  #winter-offer .offer-layout {
    align-items: stretch;
  }

  #winter-offer .offer-copy {
    min-width: 0;
  }
}

/* Independent sections: shared desktop spacing, existing mobile spacing. */

#main > #projects {
  margin-top: 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

#faq .offer-faq {
  margin-top: 0;
}

#faq {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (min-width: 768px) {
  #main > .section {
    padding-block: 120px;
  }
}

@media (max-width: 767px) {
  #main > #winter-offer,
  #main > #products {
    padding-bottom: 0;
  }

  #main > #faq {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  #main > #projects {
    padding-top: 44px;
    padding-bottom: 64px;
  }
}

/* Service areas: one Ottawa box, two desktop subgroups, no divider. */

#service-areas .service-area-subgroups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

#service-areas .service-area-subgroup {
  min-width: 0;
}

#service-areas .service-area-subgroup h4 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--forest);
}

#service-areas .service-area-subgroup + .service-area-subgroup {
  padding-left: 28px;
}

@media (min-width: 768px) {
  #service-areas .service-areas-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  #service-areas .service-city-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #service-areas .service-area-subgroups {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #service-areas .service-area-subgroup + .service-area-subgroup {
    border-left: 0;
    padding-left: 0;
    padding-top: 24px;
  }
}

/* Подписи фотографий в галерее */

.products-projects .gallery-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 32px 18px 16px;
  background: linear-gradient(transparent, #06110bd9);
  color: #fff;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: none;
}

.products-projects .gallery-caption-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
}

@media (max-width: 767px) {
  .products-projects .gallery-caption {
    padding: 26px 10px 10px;
    font-size: 12px;
  }

  .products-projects .gallery-caption-meta {
    margin-top: 3px;
    font-size: 11px;
  }
}

@media (min-width: 1024px) {
  /* Первый бокс шире: три колонки против одной */

  #service-areas .service-areas-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  }

  /* Ottawa занимает одну часть, Surrounding Areas — две */

  #service-areas .service-area-subgroups {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px;
  }

  #service-areas .service-area-subgroup + .service-area-subgroup {
    padding-left: 0;
  }

  /* Ottawa: одна колонка */

  #service-areas .service-area-subgroup:first-child .service-city-list {
    grid-template-columns: 1fr;
  }

  /* Surrounding Areas: две колонки */

  #service-areas .service-area-subgroup:last-child .service-city-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  /* Kingston: одна колонка */

  #service-areas .service-area-group:last-child .service-city-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  /* Равномерно распределяем содержимое по трём колонкам */

  #service-areas .service-area-subgroups {
    display: block;
    column-count: 3;
    column-gap: 24px;
    column-fill: balance;
  }

  #service-areas .service-area-subgroup {
    display: block;
    break-inside: auto;
    padding: 0;
    margin: 0;
  }

  #service-areas .service-area-subgroup + .service-area-subgroup {
    padding: 0;
  }

  /* Списки продолжаются из одной колонки в следующую */

  #service-areas .service-area-subgroup .service-city-list {
    display: block;
    margin: 0;
    padding: 0;
  }

  /* Каждый город остаётся целиком в одной колонке */

  #service-areas .service-area-subgroup li {
    break-inside: avoid;
  }

  /* Подзаголовок остаётся вместе с первым городом */

  #service-areas .service-area-subgroup h4 {
    break-inside: avoid;
    break-after: avoid;
    margin-bottom: 14px;
  }
}

@media (min-width: 1024px) {
  #service-areas .service-area-subgroup + .service-area-subgroup {
    padding-top: 24px;
  }
}

@media (min-width: 1024px) {
  #service-areas .service-area-subgroup h4 {
    display: flex;
    align-items: center;
    height: 44px;
    margin: 0;
    break-after: avoid;
  }

  #service-areas .service-area-subgroup + .service-area-subgroup {
    padding-top: 44px;
  }

  #service-areas .service-area-subgroup .service-city-list li {
    height: 44px;
    margin: 0;
    break-inside: avoid;
  }

  #service-areas .service-area-subgroup .service-city-list a {
    height: 100%;
    min-height: 0;
    padding-block: 0;
  }
}

/* ==============================================================
   TYPOGRAPHY SYSTEM — non-Hero components only
   Change these tokens to update all corresponding headings / text.
   No Hero, Hero form, navigation or site-wide heading rules changed.
   ============================================================== */
:root {
  --emr-section-title: clamp(34px, 3.6vw, 52px);
  --emr-card-title: 23px;
  --emr-subgroup-title: 16px;
  --emr-section-lead: 17px;
  --emr-body-copy: 15px;
  --emr-eyebrow-size: 11px;
  --emr-caption-title: 15px;
  --emr-caption-meta: 12px;
}

/* Only section H2; the Hero heading and its form are excluded. */
#main > section:not(.hero) .section-heading h2,
#main > section.roof-showcase .roof-strip-heading h2 {
  font-size: var(--emr-section-title);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.045em;
}

#main > section:not(.hero) .section-heading > .eyebrow,
#main > section.roof-showcase .roof-strip-heading > .eyebrow {
  font-size: var(--emr-eyebrow-size);
  line-height: 1.5;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 22px;
}

#main > section:not(.hero) .section-heading > .section-description {
  font-size: var(--emr-section-lead);
  line-height: 1.65;
  margin-top: 22px;
}

#main > section:not(.hero) .product-copy h3,
#main > section:not(.hero) .benefit-detail h3,
#main > section:not(.hero) .process-step h3,
#main > section:not(.hero) .service-area-group h3 {
  font-size: var(--emr-card-title);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
}

#main > section:not(.hero) .service-area-subgroup h4 {
  font-size: var(--emr-subgroup-title);
  line-height: 1.4;
  font-weight: 600;
}

#main > section:not(.hero) .product-copy p,
#main > section:not(.hero) .benefit-detail p,
#main > section:not(.hero) .process-step p,
#main > section:not(.hero) .faq-answer p {
  font-size: var(--emr-body-copy);
  line-height: 1.65;
}

#main > section:not(.hero) .faq-question {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

#main > section.roof-showcase .roof-strip-caption,
#main > section:not(.hero) .gallery-caption {
  font-size: var(--emr-caption-title);
  line-height: 1.4;
  font-weight: 600;
}

#main > section.roof-showcase .roof-strip-meta,
#main > section:not(.hero) .gallery-caption-meta {
  font-size: var(--emr-caption-meta);
  line-height: 1.4;
  font-weight: 400;
}

@media (max-width: 767px) {
  :root {
    --emr-section-title: clamp(28px, 7.8vw, 34px);
    --emr-subgroup-title: 15px;
    --emr-section-lead: 16px;
    --emr-eyebrow-size: 9px;
    --emr-caption-title: 13px;
    --emr-caption-meta: 11px;
  }
  #main > section:not(.hero) .section-heading > .eyebrow,
  #main > section.roof-showcase .roof-strip-heading > .eyebrow {
    letter-spacing: .085em;
    margin-bottom: 18px;
  }
  #main > section:not(.hero) .section-heading > .section-description {
    margin-top: 20px;
  }
  #main > section:not(.hero) .faq-question { font-size: 15px; }
}
