@font-face {
  font-family: "Roboto";
  src: url("./../fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("./../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
}

/* common  start */
section {
  position: relative;
  padding: 75px 0;
}
.anchor {
  position: absolute;
  left: 0;
  top: -80px;
}
.anchor.anchor-2 {
  top: -120px;
}

h3 {
  font-size: 40px;
  line-height: 115%;
  font-weight: 500;
  color: #6e7272;
  margin-bottom: 80px;
}

.button {
  background-color: #e1241a;
  color: white;
  padding: 14px 40px;
  font-size: 18px;
  line-height: 115%;
  font-weight: 500;
  text-transform: uppercase;
  font-family: inherit;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
  border: none;
  outline: 1px solid transparent;
}

.button:hover {
  background-color: #c71d15;
}
.button:focus {
  outline: 1px solid #eee;
}

.button:active {
  background-color: #a61812;
}

.container {
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
}

.decor {
  position: relative;
}
h1.decor,
h2.decor,
h3.decor,
h4.decor {
  padding-left: 20px;
}
.decor:before,
.decor:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  background: #e1251b;
}
.decor.decor--gray:before,
.decor.decor--gray:after {
  background: #6e7272;
}
.decor:before {
  height: 42px;
  width: 2px;
}
.decor:after {
  height: 2px;
  width: 102px;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

.button-gray {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #6e7272;
  font-size: 20px;
  line-height: 115%;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid #6e7272;
  text-transform: uppercase;
  cursor: pointer;
}
.button-gray img {
  width: 24px;
  height: 24px;
}
.heading {
  font-size: 18px;
  line-height: 100%;
  font-weight: 500;
  color: #e1251b;
  text-transform: uppercase;
}
.about__more,
.about-us__more {
  display: none;
}
/* common  end */

/* modal */
.my-gallery img {
  width: 150px;
  cursor: pointer;
  margin: 5px;
  border-radius: 6px;
}

/* Модалка */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-content iframe {
  width: 100%;
  height: 100%;
}
#video-lightbox .lightbox-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 1;
}
/* modal */

/* glider */
.glider-container {
  position: relative;
}
.glider__arrows {
  position: absolute;
  top: -116px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.glider__arrows div {
  cursor: pointer;
  width: 56px;
  height: 56px;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.glider__arrows div:hover {
  border: 2px solid #e1251b;
}
/* glider */

/* modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(110, 114, 114, 0.502);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #f8f8f8;
  position: relative;
  display: flex;
}
.modal-content__img {
  width: 40%;
  object-fit: cover;
}
.modal-content__form {
  width: 60%;
  padding: 66px 144px;
}
.modal-content__form h3 {
  margin-bottom: 30px;
  color: #000;
  font-size: 40px;
  line-height: 115%;
  font-weight: 500;
}

.modal-form {
  margin-bottom: 30px;
}

.modal-close {
  position: absolute;
  top: 60px;
  right: 60px;
  cursor: pointer;
  background: none;
  border: none;
}
/* modal */

/* NAVBAR */
.garanty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 0;
  background: rgba(110, 114, 114, 0.2);
}

.garanty__img {
  width: 42px;
  margin-right: 10px;
}
.garanty__text {
  font-size: 20px;
  line-height: 115%;
  font-weight: 700;
  margin-right: 20px;
}
.garanty__link {
  font-size: 18px;
  line-height: 115%;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  color: black;
  cursor: pointer;
}
nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 3;
  background: white;
}
.navbar {
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.navbar__logo {
  width: 180px;
}

.navbar__menu {
  display: flex;
  align-items: center;
}

.navbar__menu--md {
  display: none;
  align-items: center;
  gap: 60px;
}

button.navbar__button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}
.navbar ul li {
  flex-shrink: 0;
}

.link {
  position: relative;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  line-height: 115%;
  font-weight: 400;
  padding: 4px 0;
  border-radius: 5px;
  text-transform: uppercase;
  transition: 0.3s;
}
.link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #e1251b;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.link:hover:before {
  visibility: visible;
  left: 0;
  width: 100%;
}

.link:hover {
  color: #e1251b;
}

.navbar__langs {
  padding-top: 2px;
  margin: 0 95px;
  font-size: 20px;
  line-height: 115%;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}
.navbar__langs a {
  text-decoration: none;
  color: #000;
}
.navbar__langs .active {
  font-weight: 500;
}

.nav-icon {
  width: 38px;
  height: 38px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #d3531a;
  border-radius: 9px;
  opacity: 1;
  right: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.nav-icon span:nth-child(1) {
  top: 8px;
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
  -o-transform-origin: right center;
  transform-origin: right center;
}

.nav-icon span:nth-child(2) {
  top: 19px;
  width: 32px;
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
  -o-transform-origin: right center;
  transform-origin: right center;
}

.nav-icon span:nth-child(3) {
  top: 30px;
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
  -o-transform-origin: right center;
  transform-origin: right center;
}

.nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 3px;
  left: -5px;
}

.nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 30px;
  left: -5px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  opacity: 0;
  width: 100%;
  height: 100vh;
  padding: 150px 20px 20px;
  background: rgba(255, 255, 255);
  transition: all 0.3s ease-in;
  z-index: 2;
}
.mobile-menu.active {
  left: 0;
  opacity: 1;
}

.mobile-menu .navbar__button {
  display: none;
}
.mobile-menu ul {
  padding: 0;
  list-style: none;
  font-size: 20px;
  line-height: 115%;
  margin-bottom: 80px;
}
.mobile-menu ul li {
  margin-bottom: 32px;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
}

.mobile-menu__text {
  font-size: 20px;
  line-height: 115%;
  color: #6e7272;
  margin-bottom: 30px;
}
.mobile-menu__contacts {
  display: flex;
  align-items: center;
  gap: 30px;
}
.mobile-menu__contacts a {
  color: #000;
  font-size: 20px;
  line-height: 115%;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

@media screen and (max-width: 790px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
}
/* NAVBAR */

/* hero section start */
.hero {
  position: relative;
  padding-top: 150px;
  background: url("./../images/hero_lg.webp") no-repeat center center/cover;
  margin-top: 157px;
  max-height: 861px;
}
.hero .container {
  position: relative;
}
.hero__icon {
  position: absolute;
  bottom: 0;
  right: 0;
}

.hero__title,
.hero__subtitle {
  line-height: 115%;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
}
.hero__title {
  font-size: 96px;
}
.hero__title span,
.hero__subtitle span {
  font-style: italic;
}
.hero__subtitle {
  font-size: 32px;
  margin-bottom: 27px;
}
.hero__subtitle span {
  border-bottom: 2px solid #e1251b;
}
.hero button.button {
  padding: 14px 23px;
  margin-bottom: 10px;
}

.card {
  position: relative;
  width: 308px;
  aspect-ratio: 1 / 1.075;
  background: #fff;
  margin-left: auto;
}
.card__content {
  padding: 15px 20px 20px;
  text-align: right;
}
.card__title {
  margin-bottom: 20px;
  text-align-last: left;
}
.card__img {
  width: 100%;
  aspect-ratio: 303/224;
  object-fit: cover;
}
.card__img-sm {
  position: absolute;
  top: 20px;
  right: 20px;
}

.hero__card {
  position: relative;
  margin-top: 10px;
  margin-right: 18px;
}
.card__decor-box,
.card__decor-line {
  position: absolute;
  pointer-events: none;
}
.card__decor-box {
  left: -236px;
  bottom: 60px;
}
.card__decor-line {
  position: absolute;
  left: -200px;
  bottom: -15px;
}
/* hero section end */

/* collections section start */
.collections {
  padding-top: 142px;
}
.collections__content-sm,
.collections__content-md {
  position: relative;
  display: none;
}

.roof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0 auto;
}
.collections-glider-sm {
  position: relative;
  padding: 5px 0;
}
.collections__content-sm .item {
  aspect-ratio: 1 / 0.7;
  margin-right: 10px;
}

.item {
  position: relative;
  background: #6e7272;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 24px;
  border-radius: 4px;
  aspect-ratio: 1 / 1.075;
  align-self: stretch;
}
.empty {
  background: transparent;
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
}
.item__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.item .label {
  position: relative;
  display: block;
  width: 268px;
  padding: 14px;
  background: white;
  font-size: 18px;
  line-height: 115%;
  font-weight: 400;
  text-align: center;
  color: #000;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
}

.roof-grid .wide {
  grid-column: span 2;
  aspect-ratio: unset;
}
.item-md {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-right: 20px;
  padding: 4px 0;
}
.item-md:last-child {
  margin-right: 0;
}
.item-md > * {
  width: calc(50% - 10px);
}
.collections__content-md .wide {
  aspect-ratio: 2/1;
}
.item.i1 {
  display: none;
}

.item-info {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transition: 0.3s;
  z-index: 2;
}
.item:hover .item-info {
  opacity: 1;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.item-info svg {
  position: absolute;
  top: 0;
  right: 20px;
}
.item-info__label {
  width: calc(100% - 70px);
  padding: 20px 0 0 20px;
  margin-bottom: 80px;
}
.item-info__description {
  padding: 20px;
  font-size: 18px;
  line-height: 100%;
  font-weight: 400;
  color: #1d1d1b;
}

/* collections section end */

/* about section start */
.about {
  padding-bottom: 150px;
}
.about__title-wrap {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
}
.about__title {
  width: 58%;
  margin-bottom: 0;
  align-self: self-start;
  line-height: 115%;
}
.about__info {
  width: 636px;
}
.about__info p {
  font-size: 18px;
  line-height: 115%;
  margin-bottom: 10px;
}
.about__info p.mb-20 {
  margin-bottom: 20px;
}
.about__list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 64px;
}
.about__item {
  width: calc((100% - 80px) / 5);
}
.about__item-title {
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 20px;
  line-height: 115%;
  padding-bottom: 8px;
  border-bottom: 1px solid #e1251b;
  margin-bottom: 16px;
}
.about__item-description {
  font-size: 18px;
  line-height: 128%;
  color: #1d1d1b;
}

.about-garanty {
  display: flex;
  gap: 40px;
}
.about-garanty__content {
  flex-shrink: 0;
  width: 382px;
  text-align: center;
}
.about-garanty__content img {
  width: 300px;
}
.about-garanty__title {
  font-size: 20px;
  line-height: 100%;
  font-weight: 500;
  color: #e1251b;
  margin-bottom: 60px;
  text-align: left;
  text-transform: uppercase;
}

.timeline {
  flex-grow: 1;
  position: relative;
  height: 384px;
}
.timeline__row {
  width: calc(100% - 24px);
  height: 80%;
  position: absolute;
  top: 0;
  left: 12px;
}
.timeline__col {
  position: absolute;
  width: 1px;
  height: 111%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 23px;
  transform: translateX(-50%);
  text-align: center;
  font-size: 20px;
  line-height: 115%;
  font-weight: 400;
  color: #6e7272;
}
.timeline__col:nth-child(1) {
  left: 0;
}
.timeline__col:nth-child(2) {
  left: calc((100% / 6));
}
.timeline__col:nth-child(3) {
  left: calc((100% / 6) * 2);
}
.timeline__col:nth-child(4) {
  left: calc((100% / 6) * 3);
}
.timeline__col:nth-child(5) {
  left: calc((100% / 6) * 4);
}
.timeline__col:nth-child(6) {
  left: calc((100% / 6) * 5);
}
.timeline__col:nth-child(7) {
  left: calc((100% / 6) * 6);
}
.timeline__col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0.5px;
  height: 90%;
  background-image: repeating-linear-gradient(
    to bottom,
    #6e727280 0,
    #6e727280 8px,
    transparent 8px,
    transparent 16px
  );
}
.timeline__content {
  position: relative;
  padding: 57px 12px 0;
  z-index: 1;
}
.timeline-label__other,
.timeline-label__iko {
  font-size: 20px;
  line-height: 115%;
  font-weight: 400;
  color: #6e7272;
  margin-bottom: 10px;
  padding-left: 10px;
}
.timeline-label__iko {
  font-weight: 500;
  color: #1d1d1b;
}

.timeline-chart__other,
.timeline-chart__iko {
  height: 60px;
  border-radius: 2px;
}
.timeline-chart__other {
  margin-bottom: 37px;
  width: 58%;
  background-image: repeating-linear-gradient(
    51deg,
    #666 0px,
    #666 2px,
    transparent 3px,
    transparent 10px
  );
}
.timeline-chart__iko {
  background: #e1251b;
}
.timeline__label {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 100%;
  font-weight: 400;
  color: #1d1d1b;
}

/* about section end */

/* why section start */
.why {
  padding-top: 144px;
  background-image: url("./../images/why-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.why h3 {
  margin-bottom: 0;
}

.why .roof-grid {
  transform: translateY(-50px);
}
.why-content-sm {
  position: relative;
  display: none;
}
.why-glider-sm {
  padding: 5px 0;
}

.why-item {
  position: relative;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  aspect-ratio: 1 / 1.075;
  align-self: stretch;
  padding: 20px;
  background: #fff;
}
.why-content-sm .why-item {
  aspect-ratio: 450 / 330;
  margin-right: 20px;
  align-content: flex-start;
}
.why-content-sm .why-item__label {
  height: 90px;
}

.why-item div,
.why-item h3,
.why-item span {
  position: relative;
  z-index: 1;
}

.why-item__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.why-item:hover .why-item__bg {
  opacity: 0.15;
}

.why-item__num,
.why-item__label {
  line-height: 115%;
  color: #e1251b;
  font-weight: 500;
}
.why-item__num {
  font-size: 40px;
  margin-bottom: 10px;
  opacity: 0.3;
}
.why-item__label {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e1251b;
  margin-bottom: 20px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.why-item__description {
  font-size: 18px;
  line-height: 100%;
  color: #1d1d1b;
}

/* why section end */

/* assortment section start */
.assortment-content {
  position: relative;
  display: flex;
  gap: 20px;
}
.assortment-list {
  width: 308px;
  flex-shrink: 0;
}
.assortment-content-lg {
  overflow: hidden;
  overflow-x: auto;
  max-width: 1272px;
  padding-bottom: 12px;
}
.assortment-content-md {
  padding-bottom: 12px;
}

/* Chrome, Safari, Edge */
.assortment-content-lg::-webkit-scrollbar,
.assortment-content-md::-webkit-scrollbar {
  height: 10px; /* высота горизонтального скролла */
}

.assortment-content-lg::-webkit-scrollbar-track,
.assortment-content-md::-webkit-scrollbar-track {
  background: #ecd2d2; /* цвет фона */
  border-radius: 4px;
}

.assortment-content-lg::-webkit-scrollbar-thumb,
.assortment-content-md::-webkit-scrollbar-thumb {
  background: #e1241a; /* цвет ползунка */
  border-radius: 4px;
}

.assortment-content-wrap,
.assortment-content-wrap-md {
  display: none;
}
.assortment-content-wrap.active,
.assortment-content-wrap-md.active {
  display: flex;
}
.assortment-content-wrap-md {
  gap: 20px;
}

.assortment-content-md {
  display: none;
}
.assortment-tab {
  padding: 14px;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid #6e7272;
  text-align: center;
  cursor: pointer;
}
.assortment-tab:last-child {
  margin-bottom: 0;
}
.assortment-tab:hover,
.assortment-tab.active {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
  color: #e1251b;
  font-weight: 500;
  transition: 0.3s;
  border-color: #e1251b;
}

.assortment-card {
  margin-left: 0;
  width: calc(25% - 15px);
  transition: 0.3s;
  flex-shrink: 0;
}
.assortment-card:hover {
  background: #6e72720d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.051);
}
.assortment-card .card__content {
  text-align: left;
}
.assortment-card__title {
  margin-bottom: 5px;
}
.assortment-card__info-wrap {
  margin-bottom: 15px;
}
.assortment-card__info {
  font-size: 14px;
  line-height: 115%;
}
.assortment-card__info span {
  color: #6e7272;
}
.assortment-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.assortment-card__price {
  font-size: 18px;
  line-height: 115%;
  font-weight: 500;
  color: #000;
}
.assortment-content__right {
  width: 100%;
}
.assortment-card__btn {
  padding: 10px 12px;
}

.assortment-slide {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-right: 20px;
  flex-shrink: 0;
  width: 1272px;
}
.assortment-slide .card {
  margin-left: 0;
}
/* assortment section end */

/* feedback section start */

.feedback {
  padding: 0;
  position: relative;
}
.container-inner {
  position: relative;
  width: 63%;
}
.feedback__card {
  position: absolute;
  width: 255px;
  top: 60px;
  left: calc(100% + 20px);
  aspect-ratio: 255 / 248;
}

.feedback__info {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #1d1d1b;
  width: 58%;
  z-index: -1;
}

.feedback__image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 42%;
  flex-shrink: 0;
  align-self: stretch;
  background: url("./../images/feedback_lg.jpg") no-repeat center center/cover;
}

.form {
  width: 93%;
  padding: 120px 0 110px;
}

.form__title {
  font-size: 40px;
  line-height: 115%;
  font-weight: 500;
  color: white;
  padding: 0 30px 0 20px;
  max-width: 945px;
  margin-bottom: 80px;
}
.form__title span {
  text-decoration: underline;
  text-decoration-color: #e1251b;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.form__container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 700px;
  margin-bottom: 30px;
}
.form__container > * {
  width: 50%;
  max-width: 303px;
}
.form__container button {
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
  background: white;
  border-radius: 6px;
  gap: 8px;
  width: 100%;
}
.input-wrapper img {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

.input-wrapper input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  padding: 14px 14px 14px 50px;
  color: #333;
  flex: 1;
}

.input-wrapper input::placeholder {
  color: #9e9e9e;
  font-weight: 500;
}

.form__subtext {
  font-size: 12px;
  line-height: 115%;
  font-weight: 400;
  color: #828787;
  max-width: 636px;
  margin-bottom: 0;
}
/* feedback section end */

/* media */
.media-content-md {
  display: none;
}
.media-item {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
  margin: 20px;
}

.media-grid__main {
  grid-row: span 2;
  min-height: 400px;
}

.media-grid__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.media-grid__item {
  min-height: 180px;
}
.media-item__img {
  position: relative;
  margin-bottom: 20px;
  aspect-ratio: 250 / 187;
  object-fit: cover;
}
.media-item__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  object-fit: contain;
}
.media-item__info {
  font-size: 20px;
  line-height: 115%;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
}
.media-grid__main,
.media-grid__side,
.media-item-sm {
  cursor: pointer;
}
.media .media-item-sm {
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* media */

/* docs section start */
.doc-glider {
  padding: 7px 0;
}
.doc-item {
  flex-shrink: 0;
  margin-right: 20px;
  justify-content: flex-start;
}
.doc-item:last-child {
  margin-right: 0;
}
.doc-item__img {
  width: 308px;
  margin-bottom: 15px;
  aspect-ratio: 308 / 398;
  object-fit: contain;
  box-shadow: 0 2px 8px #0000000d;
}
.doc-item__label,
.doc-item__link {
  padding: 0 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.doc-item__label {
  font-size: 18px;
  color: #000;
  margin-bottom: 20px;
  line-height: 115%;
  min-height: 42px;
}

.doc-item__link {
  text-align: right;
}
.doc-item__link div {
  margin-left: auto;
}

/* docs section end */

/* visualizer section start */
.visualizer__content {
  display: flex;
  gap: 40px;
}

.visualizer__content > * {
  width: 50%;
  align-items: stretch;
}
.visualizer__content > img {
  object-fit: cover;
}
.visualizer__content-left {
  position: relative;
  padding: 40px;
  box-shadow: 0 2px 8px #0000000d;
}
.visualizer__icon {
  position: absolute;
  left: 40px;
  top: 40px;
}
.visualizer__title {
  font-size: 32px;
  margin-bottom: 30px;
}
.visualizer__description {
  font-size: 18px;
  line-height: 115%;
  margin-bottom: 30px;
}
.visualizer__card {
  width: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  margin-top: 15px;
}
.visualizer__card--absolute {
  position: absolute;
  right: 90px;
  top: 0px;
}
.visualizer__card h4 {
  font-size: 12px;
}
.visualizer__card .card__img-sm {
  top: 15px;
  right: 15px;
  width: 30px;
}
.visualizer__card .card__content {
  text-align-last: left;
  padding: 10px;
}
.calculator-content {
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 90%;
  height: 90%;
  overflow-y: auto;
}
/* visualizer section end */

/* galley section start */
.gallery-content-sm {
  position: relative;
  display: none;
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  aspect-ratio: 1 / 1.075;
  align-self: stretch;
  background: #6e7272;
}
.gallery-item-sm {
  aspect-ratio: 920 / 450;
  background: #6e7272;
  object-fit: cover;
}
.gallery-form {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gallery-form img {
  width: 64px;
  margin-bottom: 40px;
}
.gallery-form__title {
  font-size: 20px;
  line-height: 115%;
  font-weight: 500;
  color: #000;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.gallery-form__button {
  width: 100%;
}
/* galley section end */

/* faq section start */
.dotless {
  list-style: none;
}

.page-title {
  text-align: center;
  margin: 2rem;
}

.dropdown {
  position: relative;
  margin: 1rem auto;
  background-color: white;
  overflow: hidden;
  box-shadow: 0 2px 8px #0000000d;
}

.dropdown__header {
  cursor: pointer;
  padding: 35px 20px 30px 60px;
  transition: background-color 300ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dropdown__header h4 {
  flex-grow: 1;
  font-size: 32px;
  font-weight: 500;
  transition: 0.2s;
}
.dropdown:hover .dropdown__header h4 {
  color: #e1251b;
}
.dropdawn__num {
  position: absolute;
  left: 20px;
  top: 30px;
  font-size: 18px;
  line-height: 115%;
  font-weight: 500;
  color: rgba(225, 37, 27, 0.4);
}

.dropdown__expand {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.dropdown__expand::before,
.dropdown__expand::after {
  content: "";
  position: absolute;
  background-color: #6e7272;
  transition: transform 350ms ease-in-out;
}
.dropdown__expand::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
  transition: 0.2;
}
.dropdown:hover .dropdown__expand::before {
  background: #e1251b;
}
.dropdown__expand::after {
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
  opacity: 1;
  transition: 0.3s;
}

.dropdown.open .dropdown__header,
.dropdown.open .dropdown__inner {
  background-color: rgba(110, 114, 114, 0.051);
}

.dropdown.open .dropdown__expand:after {
  opacity: 0;
}

.dropdown article {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 350ms ease-in-out;
}

.dropdown__inner {
  transition: background-color 300ms ease-in-out;
  padding: 0 96px 30px 60px;
  font-size: 24px;
  line-height: 115%;
}

/* faq section end */

/* about-us section start */
.about-us {
  padding: 150px 0;
}
.about-us__content {
  display: flex;
  gap: 40px;
}
.about-us__left,
.about-us__right {
  width: 50%;
  font-size: 20px;
  line-height: 115%;
  color: #000;
}
.about-us__left p,
.about-us__right p {
  margin-bottom: 10px;
}
.about-us__content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.about-us__content li {
  margin-bottom: 10px;
}
/* about-us section end */

/* footer start */
footer {
  padding: 150px 0 40px;
  background: #1d1d1b;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}
.footer__left {
  display: flex;
}

.footer__logo {
  max-width: 200px;
  margin-right: 110px;
}
.footer__logo img {
  width: 180px;
  margin-bottom: 20px;
}
.footer__logo p {
  font-size: 20px;
  line-height: 115%;
  color: white;
  font-weight: 500;
}

.footer__links {
  display: flex;
}
.footer__links ul,
.footer__links li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links ul:first-child {
  margin-right: 250px;
}
.footer__links li {
  margin-bottom: 20px;
}
.footer__links a {
  font-size: 20px;
  line-height: 115%;
  color: white;
}

.footer__contacts p {
  color: #828787;
  font-size: 20px;
  line-height: 115%;
  margin-bottom: 20px;
}
.footer__contacts a {
  color: #fff;
  font-size: 20px;
  line-height: 115%;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer__contacts a:hover {
  transition: 0.3s;
  color: #bab7b7;
}
.footer__policy {
  text-align: right;
  color: white;
  text-transform: uppercase;
  font-size: 16px;
}
/* footer end */

/* media queries start */
@media (max-width: 1920px) {
  .container {
    max-width: 1620px;
  }

  /* NAVBAR */
  .navbar__logo {
    width: 170px;
  }
  .navbar ul {
    gap: 25px;
  }
  .navbar ul li a {
    font-size: 18px;
  }
  .navbar__langs {
    margin: 0 65px;
  }
  /* NAVBAR */
  .about__item-title {
    font-size: 17px;
  }
}
@media (max-width: 1640px) {
  .container {
    max-width: 1440px;
    padding: 0 20px;
  }

  /* modal  */
  .modal-content__img {
    width: 35%;
  }
  .modal-content__form {
    width: 65%;
    padding: 66px 112px;
  }
  /* modal  */

  /* NAVBAR */
  .navbar {
    padding: 18px 0 20px;
  }
  .navbar__logo {
    width: 150px;
  }

  button.navbar__button {
    padding: 12px 20px;
    font-size: 16px;
  }

  .navbar ul li a {
    font-size: 16px;
  }

  .navbar__langs {
    margin: 0 55px;
    font-size: 16px;
  }
  /* NAVBAR */

  /* hero */
  .hero {
    padding-top: 100px;
    margin-top: 138px;
    max-height: 800px;
  }
  .hero__card {
    margin-bottom: 25px;
  }
  /* hero */

  /* collections */
  .item .label {
    width: 240px;
    font-size: 17px;
  }
  .item-info__label {
    padding: 15px 0 0 15px;
    margin-bottom: 40px;
  }
  .item-info__description {
    padding: 15px;
    font-size: 17px;
  }
  /* collections */

  /* why */
  .why-item__label {
    height: 60px;
  }
  .why-item__label {
    font-size: 18px;
  }
  .why-item__description {
    font-size: 17px;
  }
  /* why */

  /* .assortment */
  .assortment-list {
    width: 280px;
  }
  .assortment-tab {
    padding: 14px;
    font-size: 17px;
  }
  .card__content {
    padding: 15px;
    text-align: right;
  }
  .assortment-card__btn {
    padding: 10px 12px;
    font-size: 16px;
  }
  .assortment-content-lg,
  .assortment-slide {
    max-width: 1100px;
  }
  /* .assortment */

  /* visualizer */
  .visualizer__title {
    font-size: 30px;
  }
  /* visualizer */

  /* feedback */
  .form {
    width: 94%;
  }
  /* feedback */

  /* footer */
  .footer__links ul:first-child {
    margin-right: 200px;
  }
  /* footer */
}
@media (max-width: 1440px) {
  .container {
    max-width: 1280px;
  }

  /* modal  */
  .modal-content__img {
    width: 35%;
  }
  .modal-content__form {
    width: 65%;
    padding: 40px 90px;
  }
  /* modal  */

  /* NAVBAR */
  .garanty__text {
    font-size: 18px;
  }
  .garanty__link {
    font-size: 16px;
  }

  .navbar {
    padding: 16px 0;
  }
  .navbar__logo {
    width: 130px;
  }

  button.navbar__button {
    padding: 12px 16px;
    font-size: 14px;
  }

  .navbar ul {
    gap: 15px;
  }

  .navbar ul li a {
    font-size: 15px;
  }

  .navbar__langs {
    margin: 0 45px;
    font-size: 16px;
  }
  /* NAVBAR */

  /* hero */
  .card__decor-line {
    width: 480px;
    bottom: -11px;
  }
  .hero__card {
    width: 280px;
    margin-bottom: 50px;
  }
  .card__content .button-gray {
    font-size: 16px;
  }
  .hero__title {
    font-size: 80px;
  }
  /* hero */

  /* collections */
  .item.i1 {
    display: block;
  }
  .item.i2 {
    display: none;
  }
  .collections .roof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .item-info__label {
    padding: 20px 0 0 20px;
  }
  .item-info__description {
    padding: 20px;
    font-size: 18px;
  }
  /* collections */

  /* about */
  .timeline {
    height: 340px;
  }
  .about-garanty__content {
    width: 330px;
  }
  .about-garanty__content img {
    width: 290px;
  }
  .timeline__content {
    padding: 25px 12px 0;
  }
  .about__item-title {
    font-size: 15px;
  }
  /* about */

  /* why */
  .why .roof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .why-hide {
    display: none;
  }
  /* why */

  /* assortment */
  .assortment-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .assortment-tab {
    margin-bottom: 0;
    width: calc(25% - 15px);
  }
  .assortment-content {
    flex-direction: column;
  }
  .assortment-content-lg {
    display: none;
  }
  .assortment-content-md {
    display: block;

    overflow: hidden;
    overflow-x: auto;
  }
  .assortment-content-md .assortment-card {
    width: 295px;
  }
  /* .assortment-items .glider__arrows {
    top: ;
  } */
  /* assortment */

  /* media */
  .media-item {
    grid-template-columns: 1fr 1fr;
  }
  /* media */

  /* feedback */
  .form {
    width: 93%;
    padding: 100px 0 90px;
  }
  /* feedback */

  /* visualizer */
  .visualizer__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  /* visualizer */

  /* faq section */
  .dropdown__header {
    padding: 25px 20px 25px 50px;
    gap: 16px;
  }
  .dropdown__header h4 {
    font-size: 26px;
  }
  .dropdawn__num {
    left: 15px;
    top: 20px;
    font-size: 16px;
  }
  .dropdown__expand {
    width: 32px;
    height: 32px;
  }
  .dropdown__inner {
    padding: 0 86px 30px 50px;
    font-size: 22px;
  }
  /* faq section */

  /* footer */
  footer {
    padding: 120px 0 40px;
  }
  .footer__logo {
    margin-right: 80px;
  }

  .footer__links ul:first-child {
    margin-right: 100px;
  }

  /* footer */
}
@media (max-width: 1280px) {
  .container {
    max-width: 1140px;
  }

  /* modal  */
  .modal-content__img {
    width: 30%;
  }
  .modal-content__form h3 {
    font-size: 32px;
  }
  .modal-content__form {
    width: 70%;
    padding: 30px 70px;
  }
  .modal-close {
    top: 40px;
    right: 40px;
  }
  /* modal  */

  /* NAVBAR */
  .garanty {
    padding: 7px 0;
  }
  .garanty__text {
    font-size: 16px;
  }
  .garanty__link {
    font-size: 15px;
  }

  .navbar {
    padding: 16px 0;
  }
  .navbar__logo {
    width: 110px;
  }

  button.navbar__button {
    padding: 9px 16px;
    font-size: 12px;
  }

  .navbar ul {
    gap: 15px;
  }

  .navbar ul li a {
    font-size: 12px;
  }

  .navbar__langs {
    margin: 0 35px;
    font-size: 12px;
  }
  /* NAVBAR */

  /* hero */
  .hero {
    margin-top: 124px;
  }
  /* hero */

  /* collections */
  .item-info__label {
    padding: 15px 0 0 15px;
  }
  .item-info__description {
    padding: 15px;
    font-size: 17px;
  }
  /* collections */

  /* about */
  .timeline-chart__other,
  .timeline-chart__iko {
    height: 50px;
  }
  /* about */

  /* why */
  .why-item {
    padding: 15px;
  }
  .why-item__num {
    font-size: 32px;
  }
  .why-item__label {
    height: 60px;
  }
  .why-item__label {
    font-size: 18px;
  }
  .why-item__description {
    font-size: 17px;
  }
  /* why */

  /* feedback */
  .form {
    width: 93%;
    padding: 80px 0 70px;
  }
  .form__title {
    font-size: 32px;
  }
  /* feedback */

  /* gallery */
  .gallery-form__title {
    font-size: 17px;
    margin-bottom: 20px;
  }
  /* gallery */

  /* faq section */
  .dropdown__header h4 {
    font-size: 22px;
  }

  .dropdown__expand {
    width: 28px;
    height: 28px;
  }
  .dropdown__inner {
    font-size: 18px;
  }
  /* faq section */

  /* about-us section start */
  .about-us {
    padding: 120px 0;
  }
  /* about-us section end */

  /* footer */
  footer {
    padding: 90px 0 40px;
  }
  .footer__logo {
    margin-right: 60px;
  }
  .footer__links ul:first-child {
    margin-right: 60px;
  }
  .footer__links a {
    font-size: 18px;
  }
  .footer__contacts {
    max-width: 330px;
  }
  /* footer */
}
@media (max-width: 1140px) {
  .container {
    max-width: 1000px;
  }

  /* modal  */
  .modal-content__img {
    width: 25%;
  }
  .modal-content__form {
    width: 75%;
    padding: 60px 40px;
  }
  .modal-close {
    top: 30px;
    right: 30px;
  }
  /* modal  */

  /* NAVBAR */
  /* NAVBAR */

  /* hero */
  .hero {
    padding-top: 40px;
    max-height: 650px;
  }
  .card__decor-line {
    width: 430px;
    left: -180px;
    bottom: -11px;
  }
  .card__decor-box {
    left: -215px;
    bottom: 53px;
  }
  .hero__card {
    width: 250px;
    margin-bottom: 50px;
  }
  .hero__title {
    font-size: 64px;
    margin-bottom: 20px;
  }
  .hero__subtitle {
    font-size: 28px;
  }
  /* hero

  /* collections */
  .collections__content {
    display: none;
  }
  .collections__content-md {
    display: block;
  }
  /* collections */

  /* about */
  .about__item {
    width: calc((100% - 40px) / 3);
  }
  .about__item-title {
    height: 50px;
  }

  .about__title {
    width: 52%;
    margin-bottom: 0;
    align-self: self-start;
  }
  .about__info {
    width: 46%;
  }

  .about-garanty__content {
    width: 280px;
  }

  .timeline__col {
    font-size: 18px;
  }
  .timeline-label__other,
  .timeline-label__iko {
    font-size: 18px;
    line-height: 115%;
  }
  .about-garanty__title {
    margin-bottom: 40px;
  }
  /* about */

  /* why */
  .why-content {
    display: none;
  }
  .why-content-sm {
    display: block;
  }
  .why h3 {
    margin-bottom: 60px;
  }
  /* why */

  /* assortment */
  .assortment-tab {
    width: calc(33% - 15px);
  }

  /* assortment */

  /* media */
  .media-content-lg {
    display: none;
  }
  .media-content-md {
    display: block;
  }
  /* media */

  /* feedback */

  .feedback__info {
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  .feedback__card {
    top: calc(100% + 20px);
    left: 0px;
  }
  .feedback__image {
    position: static;
    width: 100%;
    height: 450px;
    background: url("./../images/feedback_md.jpg") no-repeat center center /
      cover;
  }
  .container-inner,
  .form {
    width: 100%;
  }
  .form {
    padding: 120px 0 60px;
  }
  .form__title {
    margin-bottom: 60px;
  }
  .form__container {
    max-width: none;
  }
  .form__container > * {
    max-width: 48%;
  }

  /* feedback */

  /* .visualizer  */
  .visualizer__content {
    flex-direction: column;
  }
  .visualizer__content > * {
    width: 100%;
  }
  /* .visualizer  */

  /* gallery */
  .gallery-form__title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .gallery-form__button {
    font-size: 16px;
  }
  /* gallery */

  /* faq section */
  .dropdown__header h4 {
    font-size: 20px;
  }

  .dropdown__expand {
    width: 24px;
    height: 24px;
  }
  .dropdown__inner {
    font-size: 18px;
  }
  /* faq section */

  /* about-us section start */
  .about-us {
    padding: 100px 0;
  }
  .about-us__content {
    gap: 30px;
  }
  .about-us__left,
  .about-us__right {
    font-size: 18px;
  }
  /* about-us section end */

  /* footer */
  footer {
    padding: 80px 0 40px;
  }
  .footer__links {
    flex-direction: column;
  }
  /* footer */
}
@media (max-width: 1000px) {
  section {
    padding: 45px 0;
  }
  h3 {
    margin-bottom: 60px;
  }
  .container {
    max-width: 950px;
    padding: 0 15px;
  }

  /* glider */
  .glider__arrows {
    top: -96px;
    gap: 10px;
  }
  .glider__arrows div {
    border: 2px solid #e1251b;
    background: white;
  }
  /* glider */

  /* NAVBAR */
  .navbar__menu {
    display: none;
  }
  .navbar__menu--md {
    display: flex;
  }
  button.navbar__button {
    padding: 15px 16px;
    font-size: 18px;
  }
  /* NAVBAR */

  /* hero */
  .hero {
    padding-top: 40px;
    max-height: 585px;
    background-image: url("./../images/hero_md.webp");
  }
  .hero__card {
    margin-bottom: 5px;
  }
  .hero__title {
    margin-bottom: 10px;
  }
  .hero__subtitle {
    margin-bottom: 20px;
  }
  /* hero */

  .why {
    padding-top: 100px;
  }

  /* about */
  .about {
    padding-bottom: 100px;
  }
  .about__title-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
  }
  .about__title {
    width: 80%;
    margin-bottom: 60px;
  }
  .about__info {
    align-self: flex-end;
  }
  .timeline {
    height: 280px;
  }
  .timeline__col {
    font-size: 16px;
  }
  .timeline-chart__other,
  .timeline-chart__iko {
    height: 40px;
  }
  .timeline-chart__other {
    margin-bottom: 30px;
  }
  .about-garanty__title {
    margin-bottom: 30px;
  }
  /* about */

  /* assortment */
  section.assortment {
    padding-bottom: 180px;
  }
  .assortment .glider__arrows {
    top: auto;
    bottom: -100px;
    gap: 40px;
  }
  /* assortment */

  /* gallery */
  .gallery-content {
    display: none;
  }
  .gallery-content-sm {
    display: block;
  }
  /* gallery */

  /* about-us */
  .about-us__content {
    flex-direction: column;
  }
  .about-us__left,
  .about-us__right {
    width: 100%;
    font-size: 20px;
  }
  /* about-us */
}
@media (max-width: 920px) {
  .container {
    max-width: 800px;
  }

  /* modal  */
  .modal-content__img {
    display: none;
  }
  .modal-content__form {
    width: 100%;
  }

  /* modal  */

  /* NAVBAR */
  /* NAVBAR */

  /* hero */
  .hero {
    background-position: 100% 100%;
    max-height: 560px;
  }
  .hero__card {
    width: 230px;
    margin-bottom: 20px;
  }
  .card__content {
    padding: 10px;
  }
  .card__title {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .card__content .button-gray {
    font-size: 14px;
  }
  /* hero */

  /* collections */
  .item-info svg {
    width: 40px;
  }
  .item-info__label {
    margin-bottom: 20px;
  }
  /* collections */

  /* about */
  .about__info {
    max-width: 420px;
    width: 100%;
  }
  /* about */

  /* media */
  .media-item__info {
    font-size: 16px;
  }
  /* media */

  /* footer */
  .footer__logo {
    margin-right: 40px;
  }
  .footer__links {
    flex-direction: column;
  }
  .footer__contacts {
    max-width: 270px;
  }
  /* footer */
}
@media (max-width: 800px) {
  .container {
    max-width: 100%;
  }

  /* NAVBAR */
  /* NAVBAR */

  /* hero */
  .hero {
    max-height: 400px;
  }
  .hero__icon {
    right: 20px;
    bottom: 20px;
  }
  .hero .container {
    position: static;
  }
  .hero__card {
    display: none;
  }
  .hero__title {
    width: 70%;
  }
  .hero button.button {
    font-size: 16px;
  }
  /* hero */

  /* collections */
  .collections__content-md {
    display: none;
  }
  .collections__content-sm {
    display: block;
  }
  /* collections */

  /* about */
  .about__item {
    width: calc((100% - 20px) / 2);
  }
  .about-garanty {
    gap: 20px;
  }
  .about-garanty__content {
    width: 200px;
  }
  .about-garanty__content img {
    width: 180px;
  }
  /* about */

  /* assortment */
  .assortment-tab {
    width: calc(50% - 15px);
  }
  /* assortment */

  /* feedback */
  .feedback__image {
    height: 350px;
  }
  .form {
    padding: 90px 0 60px;
  }
  /* feedback */

  /* footer */
  .footer__left {
    flex-direction: column;
  }
  .footer__logo {
    margin-bottom: 40px;
    margin-right: 0;
  }
  /* footer */
}
@media (max-width: 670px) {
  /* glider */
  .glider-container {
    padding-bottom: 96px;
  }
  .glider__arrows {
    width: 100%;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    justify-content: space-between;
  }
  .collections__content-sm .glider__arrows,
  .gallery-content-sm .glider__arrows,
  .why-content-sm .glider__arrows {
    bottom: -80px;
  }
  .collections,
  .gallery,
  .why {
    padding-bottom: 100px;
  }
  /* glider */

  /* modal  */
  .modal-content__form {
    padding: 60px 35px;
  }
  .modal-content__form h3 {
    font-size: 24px;
  }

  /* modal  */

  .why {
    padding-top: 70px;
  }

  /* about */
  .about {
    padding-bottom: 70px;
  }

  /* about */
  .about-garanty {
    gap: 10px;
  }
  .about-garanty__content {
    width: 160px;
  }
  .about-garanty__content img {
    width: 140px;
  }
  .about-garanty__title {
    margin-bottom: 50px;
  }
  .about-garanty__title {
    font-size: 18px;
  }
  /* about */

  /* .visualizer  */
  .visualizer__content-left {
    padding: 20px;
  }
  .visualizer__card--absolute {
    right: 60px;
  }
  .visualizer__card {
    width: 90px;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  .visualizer__card h4 {
    font-size: 7px;
  }
  .visualizer__title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .visualizer__content .button {
    width: 100%;
  }
  /* .visualizer  */

  /* why */
  .why-content-sm .why-item {
    align-content: flex-start;
    aspect-ratio: 450 / 260;
    margin-right: 0;
  }
  /* why */
}
@media (max-width: 600px) {
  h1.decor,
  h2.decor,
  h3.decor,
  h4.decor {
    padding-left: 10px;
  }
  h3 {
    font-size: 28px;
    margin-bottom: 50px;
  }
  .decor:before,
  .decor:after {
    left: 0;
    bottom: -10px;
    background: #e1251b;
  }
  .decor:before {
    height: 30px;
  }

  /* NAVBAR */
  .navbar__menu--md .navbar__button {
    display: none;
  }
  .mobile-menu .navbar__button {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
    justify-content: center;
  }
  .mobile-menu__contacts {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .mobile-menu ul {
    margin-bottom: 40px;
  }
  /* NAVBAR */

  /* hero */
  .hero {
    background-image: url("./../images/hero_sm.webp");
    background-position: 0 0;
    min-height: 500px;
  }
  .hero__title {
    width: 100%;
    font-size: 42px;
  }
  .hero__subtitle {
    font-size: 28px;
    margin-bottom: 30px;
  }
  /* hero */

  /* about */
  .about__title {
    width: 100%;
    margin-bottom: 50px;
  }
  .about__title-wrap {
    margin-bottom: 40px;
  }
  .about__info {
    max-width: none;
    width: 100%;
  }
  .about__item {
    width: 100%;
  }
  .about__item-title {
    height: 48px;
    margin-bottom: 10px;
  }

  .about-garanty {
    position: relative;
    flex-direction: column;
  }
  .about-garanty__title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .about-garanty__content {
    width: 100%;
  }
  .about-garanty__content img {
    position: absolute;
    top: -25px;
    right: 0;
    width: 100px;
    transform: rotate(45deg);
  }
  .timeline-label__other,
  .timeline-label__iko {
    padding-left: 5px;
    font-size: 16px;
  }
  .timeline__label {
    font-size: 14px;
  }

  /* about */

  /* feedback */
  .form {
    padding: 40px 0 30px;
  }
  .form__title {
    font-size: 28px;
    margin-bottom: 50px;
  }
  .form__container > * {
    width: 100%;
    max-width: 100%;
  }
  .feedback__image {
    height: 300px;
  }
  .feedback__card {
    display: none;
  }

  /* feedback */

  /* assortment */
  .assortment-tab {
    padding: 12px 10px;
    font-size: 14px;
  }
  /* assortment */

  /* about-us section start */
  .about-us__left,
  .about-us__right {
    font-size: 18px;
  }
  /* about-us section end */

  /* footer */
  .footer__row {
    flex-direction: column;
  }
  .footer__logo {
    margin-right: 0;
    margin: 0 auto 40px;
    max-width: 180px;
  }
  .footer__logo img {
    width: 100px;
    margin-bottom: 10px;
  }
  .footer__logo p {
    font-size: 18px;
  }
  .footer__left {
    margin-bottom: 80px;
  }
  .footer__contacts {
    max-width: none;
  }
  .footer__policy {
    text-align: center;
  }
  /* footer */
}
@media (max-width: 500px) {
  /* NAVBAR */
  .garanty {
    padding: 7px;
  }
  .garanty__text {
    font-size: 14px;
    margin-right: 10px;
  }
  .garanty__link {
    text-wrap: nowrap;
    font-size: 14px;
  }
  /* NAVBAR */

  /* hero */
  .hero {
    min-height: 600px;
  }
  .hero__title {
    font-size: 36px;
  }
  .hero__subtitle {
    font-size: 24px;
  }
  .hero button.button {
    width: 100%;
  }
  /* hero */

  /* why */
  .why-content-sm .why-item {
    align-content: flex-start;
    aspect-ratio: unset;
  }

  /* why */

  /* assortment */
  .assortment-tab {
    font-size: 12px;
  }
  /* assortment */
}
/* media queries end */

/* Form validation styles */
.input-wrapper.input-error {
  border: 2px solid #e74c3c;
  border-radius: 6px;
}

.input-wrapper.input-error input {
  color: #e74c3c;
}

.input-wrapper.input-error input::placeholder {
  color: #e74c3c;
}

/* Modal success content styles */
.modal-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-image: url("./../images/success-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.modal-success-message {
  max-width: 400px;
}

.success-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.modal-success-message h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.modal-success-message p {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-success-content .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}
#closeSuccessBtn {
  min-width: 230px;
}

/* Временное отключение якорных ссылок */
.anchor-disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: default;
}

.anchor-disabled:hover {
  opacity: 0.6;
}
