:root {
  --green: #048f17;
  --green-dark: #047514;
  --mint: #e7f4f5;
  --dark: #272727;
  --text: #313131;
  --muted: rgba(49, 49, 49, 0.8);
  --soft: rgba(49, 49, 49, 0.6);
  --gold: #ffcc00;
  --white: #ffffff;
  --container: 1160px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  background: var(--white);
  padding-top: 80px;
}

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

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

button,
input {
  font: inherit;
}

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

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

.site-header {
  height: 80px;
  background: var(--mint);
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
}

.header__inner {
  height: 80px;
  display: flex;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.site-header .logo {
  width: 145px;
  margin-left: 20px;
  margin-right: 130px;
}

.logo__mark {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 348px;
  flex: 0 0 auto;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.nav a,
.footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active,
.nav a[aria-current="page"],
.footer a:hover {
  color: var(--green);
}

.header__contacts {
  width: 365px;
  height: 54px;
  margin-left: auto;
  margin-right: 20px;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 100px;
  background: var(--white);
}

.phone {
  flex: 1 1 auto;
  padding-left: 42px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  position: relative;
}

.phone::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: center / contain no-repeat url("./home-reference/phone.svg");
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--white);
  background: var(--green);
}

.button--primary:hover {
  background: var(--green-dark);
}

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

.button--outline:hover {
  background: rgba(4, 143, 23, 0.08);
}

.button--light {
  color: var(--green);
  background: var(--white);
}

.button--small {
  width: 187px;
  min-height: 46px;
  padding-inline: 20px;
}

.header__contacts .button--small {
  height: 54px;
  min-height: 54px;
  margin: -4px -4px -4px 0;
}

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

.button--long {
  width: 100%;
  max-width: 1159px;
}

.section {
  padding: 120px 0;
}

.section--tint {
  background: var(--mint);
}

.section-label {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 15px 20px;
  border: 1px solid var(--green);
  border-radius: 100px;
  color: var(--green);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.eyebrow::after {
  margin-right: 10px;
  margin-left: 10px;
}

h1 {
  color: var(--text);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  color: var(--text);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  color: var(--dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.hero p,
.section-head p,
.estimate p,
.cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
}

.hero {
  height: 739px;
  padding: 0;
}

.hero__grid {
  height: 100%;
  display: grid;
  grid-template-columns: 570px 540px;
  column-gap: 50px;
  align-items: start;
  position: relative;
}

.hero__content {
  width: 570px;
  padding-top: 88px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  width: 570px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero__title-accent {
  color: var(--green);
}

.hero p {
  width: 570px;
}

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

.hero__actions .button--primary {
  width: 187px;
}

.hero__actions .button--outline {
  width: 200px;
}

.hero__meta {
  width: 199px;
  margin-top: 36px;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.hero__meta span {
  display: none;
}

.hero__meta span:first-child {
  display: block;
}

.hero__image {
  width: 540px;
  height: 589px;
  margin-top: 46px;
  overflow: hidden;
  border-radius: var(--radius);
  grid-column: 2;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#request {
  min-height: 717px;
  padding: 60px 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: 570px 570px;
  gap: 20px;
  align-items: start;
}

.promo-card {
  width: 570px;
  height: 570px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.estimate h2 {
  width: 570px;
  min-height: 108px;
  display: flex;
  align-items: center;
}

.estimate p {
  width: 570px;
  min-height: 66px;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.estimate__form {
  display: grid;
  grid-template-columns: repeat(2, 275px);
  gap: 10px 20px;
  margin-top: 20px;
}

.estimate__form label:first-child {
  grid-column: 1 / -1;
}

label {
  display: block;
}

label span {
  display: none;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 0;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  outline: none;
}

input::placeholder {
  color: rgba(49, 49, 49, 0.6);
}

input:focus {
  box-shadow: 0 0 0 2px rgba(4, 143, 23, 0.24);
}

.field-select {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.field-select.is-open {
  z-index: 20;
}

.field-select--full {
  grid-column: 1 / -1;
}

.field-select input[type="hidden"] {
  display: none;
}

.field-select__control {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 0;
  border-radius: var(--radius);
  color: rgba(49, 49, 49, 0.6);
  background: var(--white);
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.field-select__control:focus-visible {
  box-shadow: 0 0 0 2px rgba(4, 143, 23, 0.24);
}

.field-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-select.has-value .field-select__value {
  color: var(--text);
}

.field-select__caret {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  transition: transform 0.2s ease;
}

.field-select__caret::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

.field-select.is-open .field-select__caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  padding: 10px 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(17, 62, 33, 0.14);
}

.field-select.is-open .dropdown {
  display: block;
}

.dropdown-item {
  width: 100%;
  min-height: 34px;
  padding: 0 15px;
  border: 0;
  color: rgba(49, 49, 49, 0.8);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 16px;
  line-height: 120%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
  background: var(--mint);
  outline: none;
}

.check {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--green);
  border-radius: 4px;
}

.dropdown-item.is-checked .check {
  background: var(--green);
}

.dropdown-item.is-checked .check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.estimate__form .button {
  grid-column: 1 / -1;
  width: 570px;
}

#catalog {
  padding-top: 120px;
  padding-bottom: 120px;
}

#catalog .section-head {
  margin-bottom: 40px;
}

.section-head {
  max-width: 570px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  min-height: 66px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  text-align: center;
}

.product-grid {
  display: grid;
  gap: 20px;
}

.product-grid--two {
  grid-template-columns: repeat(2, 570px);
  margin-bottom: 40px;
}

.product-grid--three {
  grid-template-columns: repeat(3, 373px);
  margin-bottom: 40px;
}

.product-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.product-card img {
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  object-fit: cover;
}

.product-card__body {
  padding-top: 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.product-card__body h3 {
  margin-bottom: 24px;
}

.product-card__body p {
  min-height: 88px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
}

.product-grid--two .product-card__body p {
  min-height: 66px;
}

.product-grid--two .product-card__body h3 {
  margin-bottom: 15px;
}

.product-grid--two .price {
  margin-top: 16px;
  margin-bottom: 24px;
}

.product-grid--three .product-card__body h3 {
  margin-bottom: 20px;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  min-height: 42px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: var(--radius);
  color: rgba(39, 39, 39, 0.6);
  background: var(--mint);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.product-card .button {
  width: 100%;
  margin-top: auto;
}

.center {
  text-align: center;
}

.center .button--long {
  width: 100%;
}

.benefits {
  padding-top: 0;
  padding-bottom: 120px;
}

.benefits .section-head {
  padding-top: 0;
  margin-bottom: 76px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 275px);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.benefit {
  min-height: 203px;
  padding: 57px 10px 24px;
  border-radius: 5px;
  background: var(--mint);
  text-align: center;
  position: relative;
}

.benefit__num {
  width: 74px;
  height: 74px;
  position: absolute;
  top: -37px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.benefit__num svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  margin-bottom: 20px;
}

.benefit p,
.step p,
.review p,
details p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
}

.works-hero {
  margin-top: -97px;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  z-index: 0;
}

.works-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

#steps {
  min-height: 903px;
  padding-top: 60px;
  padding-bottom: 60px;
}

#steps .section-head {
  margin-bottom: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 216px);
  gap: 20px;
  position: relative;
}

.steps::before {
  content: "";
  height: 1px;
  width: 944px;
  position: absolute;
  left: 38px;
  top: 37px;
  background: var(--green);
}

.step {
  min-height: 170px;
  padding-top: 113px;
  position: relative;
  z-index: 1;
}

.step span {
  width: 74px;
  height: 74px;
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
}

.step h3 {
  margin-bottom: 20px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 50px;
  min-height: 274px;
  margin-top: 70px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green);
  overflow: hidden;
}

.cta h2 {
  color: var(--white);
  font-size: 28px;
  line-height: 1.2;
}

.cta p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.phone-big {
  display: inline-flex;
  margin-top: 20px;
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.cta--with-image {
  position: relative;
  grid-template-columns: 590px 540px;
  gap: 0;
  min-height: 550px;
  margin-top: 40px;
  padding: 0;
  align-items: start;
  overflow: visible;
  background: transparent;
}

.cta--with-image::before {
  content: "";
  position: absolute;
  inset: 174px 0 0;
  z-index: 0;
  border-radius: var(--radius);
  background: var(--green);
}

.cta--with-image > img {
  width: 420px;
  height: 429px;
  max-height: none;
  align-self: start;
  justify-self: start;
  object-fit: contain;
  object-position: bottom center;
  position: relative;
  z-index: 1;
}

#steps .cta--with-image > img {
  width: auto;
  height: 550px;
  max-height: none;
}

.cta--with-image .cta__content {
  grid-column: 2;
  padding: 190px 0 0;
  position: relative;
  z-index: 1;
}

.cta--reverse {
  min-height: 550px;
  margin-top: 0;
}

.cta--reverse::before {
  inset: 174px 0 0;
}

.cta--reverse > img {
  width: 520px;
  height: 500px;
}

.consultation-section .cta--reverse > img {
  width: auto;
  height: 550px;
  max-height: none;
}

.cta--reverse .cta__content {
  padding-top: 190px;
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: 10px 20px;
  margin-top: 20px;
}

.inline-form .button {
  grid-column: 1 / -1;
  width: 540px;
}

.inline-form .field--full,
.form-policy {
  grid-column: 1 / -1;
}

#steps .inline-form input[type="tel"],
.consultation-section .inline-form input[type="tel"] {
  grid-column: 1 / -1;
}

.form-policy {
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.estimate__policy {
  margin-top: 0 !important;
  color: rgba(49, 49, 49, 0.7) !important;
}

.discount-section .inline-form {
  row-gap: 20px;
}

.discount-section .form-policy {
  margin-top: 0 !important;
}

.inline-form--right {
  align-self: center;
  margin-top: 0;
}

main > .section:nth-of-type(6) {
  padding-top: 120px;
  padding-bottom: 120px;
}

.projects-section .section-head {
  margin-bottom: 40px;
}

.product-grid--dense {
  row-gap: 40px;
}

.product-grid--dense .product-card__body {
  padding-top: 20px;
}

.product-grid--dense .product-card__body h3 {
  margin-bottom: 20px;
}

.product-grid--dense .product-card__body p,
.product-grid--dense .price {
  display: none;
}

main > .section:nth-of-type(7) {
  padding-top: 0;
  padding-bottom: 120px;
}

main > .section:nth-of-type(7) .cta {
  margin-top: 0;
}

#reviews {
  min-height: 886px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.reviews-head {
  display: grid;
  grid-template-columns: 570px 358px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 40px;
}

.reviews-head h2 {
  max-width: 570px;
}

.rating {
  display: grid;
  gap: 8px;
  justify-items: start;
  align-self: start;
}

.rating img {
  width: 117px;
  height: 23px;
  object-fit: contain;
  opacity: 0.55;
}

.stars {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 570px);
  gap: 20px;
}

.reviews-more {
  margin-top: 40px;
}

.review {
  min-height: 176px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
}

.review__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.review__identity {
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: 22px 14px;
  column-gap: 16px;
  row-gap: 6px;
}

.review__avatar {
  width: 42px;
  height: 42px;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--green);
  background: #f0f0f0;
  font-size: 18px;
  font-weight: 600;
}

.review__name {
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
}

.review__date {
  color: rgba(39, 39, 39, 0.4);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.review__stars {
  display: flex;
  gap: 5px;
  margin-top: 9px;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.review p {
  color: var(--dark);
}

main > .section:nth-of-type(9) {
  padding-top: 96px;
  padding-bottom: 120px;
}

.faq {
  padding-top: 0;
  padding-bottom: 120px;
}

.faq .container > .section-label {
  display: none;
}

.faq h2 {
  margin-bottom: 40px;
  text-align: center;
}

.faq__banner {
  display: none;
}

details {
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

details + details {
  margin-top: 20px;
}

summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
}

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

summary::after {
  content: "+";
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 28px;
  line-height: 1;
  flex: 0 0 auto;
}

details[open] {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

details[open] summary {
  min-height: 62px;
  color: var(--white);
}

details[open] summary::after {
  content: "-";
  color: var(--green);
  background: var(--white);
}

details p {
  max-width: 550px;
  padding: 0 20px 20px;
  color: var(--white);
}

.contacts-section {
  padding: 0 0 40px;
}

.contacts-section h2 {
  margin-bottom: 28px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 80px;
  max-width: 902px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-size: 18px;
  line-height: 1.2;
}

.contact-item::before {
  content: "";
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

.contact-item--phone::before {
  background-image: url("./home-reference/phone.svg");
}

.contact-item--address::before {
  background-image: url("./home-reference/map-pin.svg");
}

.contact-item--mail::before {
  background-image: url("./home-reference/mail.svg");
}

.contact-item--hours::before {
  background-image: url("./home-reference/clock.svg");
}

.map-section {
  padding: 0 0 40px;
}

.map-section img,
.map-section iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  object-fit: cover;
}

.footer {
  min-height: 308px;
  padding: 40px 0;
  color: var(--white);
  background: var(--green);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.footer .logo {
  color: var(--white);
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
}

.footer p {
  max-width: 700px;
  margin-top: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}

.footer strong,
.footer a,
.footer__contact,
.footer__legal {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.footer strong {
  margin-bottom: 8px;
}

.footer a + a,
.footer a + .footer__contact {
  margin-top: 8px;
}

.footer__policy {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  body {
    padding-top: 150px;
  }

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

  .site-header {
    height: auto;
  }

  .header__inner {
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 0;
  }

  .site-header .logo {
    width: auto;
    margin: 0;
  }

  .nav {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
  }

  .header__contacts {
    margin-left: 0;
    margin-right: 0;
  }

  .hero {
    height: auto;
    padding: 54px 0 70px;
  }

  .hero__grid,
  .lead-grid,
  .product-grid--two,
  .product-grid--three,
  .benefits__grid,
  .steps,
  .reviews,
  .reviews-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__content,
  .hero h1,
  .hero p,
  .hero__image,
  .promo-card,
  .estimate h2,
  .estimate p,
  .estimate__form .button,
  .inline-form .button {
    width: 100%;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__image {
    height: auto;
    margin-top: 0;
  }

  .hero__image img,
  .promo-card img {
    aspect-ratio: 540 / 589;
    height: auto;
  }

  .promo-card img {
    aspect-ratio: 1 / 1;
    object-position: left center;
  }

  .promo-card {
    height: auto;
  }

  .estimate__form,
  .inline-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before {
    display: none;
  }

  .step {
    min-height: 220px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .cta--with-image {
    grid-template-columns: 1fr;
    padding: 36px;
    overflow: hidden;
    background: var(--green);
  }

  .cta--with-image::before {
    display: none;
  }

  .cta--with-image .cta__content,
  .cta--reverse .cta__content {
    grid-column: auto;
    padding: 0;
  }

  .cta--with-image > img,
  .cta--reverse > img {
    width: min(100%, 420px);
    height: auto;
    max-height: 429px;
    justify-self: center;
    transform: none;
  }

  #steps .cta--with-image > img,
  .consultation-section .cta--reverse > img {
    width: min(100%, 420px);
    height: auto;
    max-height: 429px;
    transform: none;
  }

  .works-hero {
    margin-top: 60px;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section,
  #catalog,
  #steps,
  main > .section:nth-of-type(6),
  main > .section:nth-of-type(7),
  main > .section:nth-of-type(9),
  .faq {
    min-height: 0;
    padding: 64px 0;
  }

  #request,
  #reviews {
    min-height: 0;
    padding: 64px 0;
  }

  .header__contacts {
    width: 100%;
    max-width: 365px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero__grid,
  .lead-grid,
  .product-grid--two,
  .product-grid--three,
  .benefits__grid,
  .steps,
  .reviews,
  .reviews-head,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  .hero__content,
  .hero h1,
  .hero p,
  .section-head,
  .section-head p,
  .estimate h2,
  .estimate p {
    max-width: none;
    min-height: 0;
    width: 100%;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head p {
    display: block;
  }

  .hero__grid {
    gap: 36px;
  }

  .hero__meta {
    width: 100%;
  }

  .estimate__form,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .estimate__form label:first-child,
  .estimate__form .field-select--full,
  .estimate__form .button,
  .inline-form .button {
    grid-column: auto;
    width: 100%;
  }

  .product-card__body p,
  .product-grid--two .product-card__body p {
    min-height: 0;
  }

  .benefit {
    min-height: 0;
  }

  .steps {
    gap: 28px;
  }

  .step {
    min-height: 0;
    padding-top: 86px;
  }

  .cta,
  .cta--with-image,
  .cta--reverse {
    min-height: 0;
    margin-top: 40px;
  }

  .reviews-head {
    gap: 24px;
  }

  .rating {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 220px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header__contacts {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    padding: 10px;
    border-radius: 24px;
  }

  .phone {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding-left: 40px;
  }

  .button,
  .button--small,
  .hero__actions .button--primary,
  .hero__actions .button--outline {
    width: 100%;
  }

  .header__contacts .button--small {
    height: auto;
    min-height: 46px;
    margin: 0;
  }

  .hero__actions {
    display: grid;
    gap: 10px;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    min-height: auto;
    row-gap: 8px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .product-card img,
  .works-hero img,
  .map-section img,
  .map-section iframe {
    height: auto;
    aspect-ratio: 373 / 340;
  }

  .promo-card img {
    aspect-ratio: 1 / 1;
  }

  .reviews-head h2 {
    max-width: none;
  }

  .review__top {
    display: grid;
    gap: 8px;
  }

  summary {
    min-height: 72px;
    padding-inline: 16px;
  }

  summary::after {
    width: 34px;
    height: 34px;
  }

  details p {
    padding-inline: 16px;
  }

  .cta {
    padding: 28px 20px;
  }

  .dropdown {
    max-height: 260px;
    overflow-y: auto;
  }
}

body.request-modal-open {
  overflow: hidden;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.request-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.request-modal__dialog {
  position: relative;
  width: min(1160px, calc(100vw - 40px));
  height: 476px;
  display: grid;
  grid-template-columns: 520px 1fr;
  align-items: end;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.request-modal__media {
  height: 100%;
  min-height: 476px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.request-modal__media img {
  width: auto;
  max-width: none;
  height: 509px;
  margin-top: -33px;
}

.request-modal__content {
  min-width: 0;
  padding: 30px 30px 53px 70px;
}

.request-modal__title {
  max-width: 483px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.request-modal__text {
  max-width: 540px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
  opacity: 0.8;
}

.request-modal__form {
  width: min(540px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 10px 20px;
}

.request-modal__field {
  margin: 0;
}

.request-modal__field--full {
  grid-column: 1 / -1;
}

.request-modal__field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.request-modal__field input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
}

.request-modal__field input::placeholder {
  color: rgba(49, 49, 49, 0.4);
}

.request-modal__field input:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.38), 0 0 0 4px rgba(4, 143, 23, 0.5);
}

.request-modal__submit {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 46px;
  height: 46px;
  margin-top: 10px;
  border-color: var(--white);
  border-radius: 23px;
  padding: 0 22px;
}

.request-modal__policy {
  grid-column: 1 / -1;
  margin-top: 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
  opacity: 0.8;
}

.request-modal__status {
  grid-column: 1 / -1;
  margin-top: 0;
  color: var(--white);
}

.request-modal__status.status.success {
  color: var(--white);
}

.request-modal__status.status.error {
  color: #ffe2e2;
}

.request-modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.request-modal__close::before,
.request-modal__close::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 20px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.request-modal__close::before {
  transform: rotate(45deg);
}

.request-modal__close::after {
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .request-modal__dialog {
    grid-template-columns: minmax(260px, 40%) 1fr;
  }

  .request-modal__content {
    padding-left: 36px;
  }
}

@media (max-width: 760px) {
  .request-modal {
    align-items: start;
    overflow-y: auto;
    padding: 22px 16px;
  }

  .request-modal__dialog {
    width: min(100%, 480px);
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .request-modal__media {
    min-height: 220px;
    height: 220px;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.08);
  }

  .request-modal__media img {
    width: auto;
    max-width: 92vw;
    height: auto;
    max-height: 340px;
    margin-top: 0;
  }

  .request-modal__content {
    padding: 26px 20px 24px;
  }

  .request-modal__title {
    padding-right: 52px;
    font-size: 24px;
  }

  .request-modal__text {
    font-size: 16px;
  }

  .request-modal__form {
    grid-template-columns: 1fr;
  }

  .request-modal__submit {
    margin-top: 0;
  }

  .request-modal__close {
    top: 18px;
    right: 18px;
  }
}


.hidden,
.route {
  display: none !important;
}

.route.active {
  display: block !important;
}

#route-home > .section:nth-of-type(6) {
  padding-top: 120px;
  padding-bottom: 120px;
}

#route-home > .section:nth-of-type(6) .section-head {
  margin-bottom: 70px;
}

#route-home > .section:nth-of-type(7) {
  padding-top: 0;
  padding-bottom: 120px;
}

#route-home > .section:nth-of-type(7) .cta {
  margin-top: 0;
}

#route-home > .section:nth-of-type(9) {
  padding-top: 96px;
  padding-bottom: 120px;
}

.reference-hidden-contract,
.reference-quiz-extra-source {
  display: none !important;
}

.benefit__num img {
  width: 42px;
  height: 42px;
}

#calc-status,
#lead-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
}

#calc-status.error,
#lead-status.error {
  color: #c92a2a;
}

#calc-status.success,
#lead-status.success {
  color: var(--green);
}

@media (max-width: 900px) {
  #route-home > .section:nth-of-type(6),
  #route-home > .section:nth-of-type(7),
  #route-home > .section:nth-of-type(9) {
    min-height: 0;
    padding: 64px 0;
  }
}
