* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;

  /* outline: thick double #32a1ce !important; */
}

.dekodv-wrapper {
  color: var(--white);
}

.wrapper {
  width: 100%;
  padding-inline: var(--clb-spacer);
  max-width: 1920px;
  margin: 0 auto;
}

@media (min-width: 1920px) {
  .wrapper {
    padding-inline: calc((100vw - 1800px) / 2);
  }
}

.mainContainer {
  width: 100%;
  aspect-ratio: 16 / 9;

  background-image: url("../img/image.webp");
  background-repeat: no-repeat;

  background-size: cover;
  background-position: center;

  max-height: 100%;
  /* padding-inline: 150px; */
  position: relative;
  z-index: 1;
  padding-bottom: 0px;
}

.mainContainer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  /* margin-inline: -40px; */
  /* padding-inline: 40px; */
  background-color: var(--dekodv-hero-overlay);

  z-index: -1;
}

.header-wrap {
  width: 100%;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  height: 100%;
  border-left: 1px solid var(--light-gray-text);
  border-right: 1px solid var(--light-gray-text);
  /* padding-inline: 30px; */
}

nav .slide-in-overlay.menu-slide-in-overlay.visible {
  display: none;
}

/* nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav p {
  font-size: 24px;
  color: var(--white);
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

nav img {
  width: 24px;
  height: auto;
  display: block;
} */

.logo {
  width: 200px;
  height: auto;
}

.main-grid {
  display: flex;
  flex-direction: row;
  position: relative;
}

.main-grid::before {
  content: "";
  position: absolute;
  top: 0;

  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;

  background-color: var(--light-gray-text);
}

.pluses-card {
  padding: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-right: 1px solid var(--light-gray-text);
  border-left: 1px solid var(--light-gray-text);
  padding-bottom: 120px;
}

.padding-mobile {
  padding-left: 30px;
}

.pluses-card:last-child {
  border-right: none;
}

.pluses-card:first-child {
  border-left: none;
}

.pluses-card-text {
  flex: 0.9;
  margin: 0;
}

.pluses-card-icon {
  flex-shrink: 0;
  width: 13px;
  height: auto;
}

.section2 {
  background-color: var(--khaki);
  min-height: 200px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  padding-bottom: 0px;
}

.section2 h2 {
  margin-right: 10px;
}

.text-section2 {
  border-left: 1px solid var(--light-gray-text);
  padding-inline: 30px 50px;
  padding-top: 82px;
  padding-bottom: 71px;
  flex-grow: 1;
}

.container-section3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 30px;
}

.container-section3> :first-child {
  width: 33.33%;
}

.section-result {
  padding-top: 80px;
  padding-bottom: 155px;
}

@media (width: 768px) {
  .section-result {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.materials_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--light-gray-text);
  gap: 40px;
  width: 100%;
  padding-top: 20px;

  margin-top: -80px;
}

.beige-background {
  background-color: var(--light-beige);
  border-top: 1px solid transparent;
  padding-bottom: 80px;
}

.img_section4 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 40px;
}

.img_section4>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  max-width: 770px;
  max-height: 430px;
}

.description_material {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.description_material img {
  width: 100%;
  max-width: 370px;
  max-height: 150px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.description_material_info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray-text);
}

.description_material_info_label {
  flex-basis: 50%;
}

.description_material_info_button {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.section-reasons {
  margin-top: 60px;
}

.uppercase-title {
  text-transform: uppercase;
  margin-bottom: 67px;
}

@media (width<425px) {
  .uppercase-title {
    margin-bottom: 20px;
  }
}

.section-reasons {
  padding-bottom: 123px;

  h2 {
    margin-bottom: 30px;
  }
}

@media (width<425px) {
  .section-reasons {
    padding-bottom: 60px;
  }
}

.reasons-grid {
  display: flex;
  flex-direction: column;
  gap: 70px;
  position: relative;
}

.reason-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #888889a6;
  padding-top: 14px;
  position: relative;
  z-index: 1;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--reason-color);
  }

  &::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    background-color: var(--reason-color);
  }
}

.reason-left,
.reason-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 315px;

  small {
    margin-top: 0;
  }
}

.reason-center {
  z-index: 2;

  img {
    width: clamp(200px, 100%, 303px);
    height: clamp(500px, 100%, 655px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.reason-center__circle {
  width: clamp(300px, 100%, 512px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #606157;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-why-us {
  margin-top: 100px;
}

.uppercase-title {
  text-transform: uppercase;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

.why-us-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.why-us-logo {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.why-us-center {
  height: 100%;
}

.why-us-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.why-us-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}

.why-us-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.why-us-item-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.why-us-arrow {
  width: 16px;
  height: auto;
  margin-top: 4px;
}

.thin-title {
  font-weight: 300;
}

.why-us-line {
  width: 100%;
  height: 1px;
  background-color: var(--light-gray-text);
  opacity: 0.3;
}

.why-us-item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-us-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.why-us-list li {
  position: relative;
  padding-left: 12px;
}

.why-us-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--graphite);
}

.section-faq {
  margin-top: 80px;
  padding-bottom: 80px;
}

@media (width < 768px) {
  .section-faq {
    margin-top: 60px;
    padding-bottom: 60px;
  }
}

.faq-title {
  margin-bottom: 50px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--light-gray-text);
}

.faq-item {
  border-bottom: 1px solid var(--light-gray-text);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  cursor: pointer;
}

.faq-question h3 {
  font-weight: 400;
}

.faq-arrow {
  width: 14px;
  height: auto;
  transition: transform 0.3s ease;
  transform: rotate(-45deg);
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-content {
  padding-bottom: 40px;
  max-width: 800px;
  margin: 0 auto;

  p {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.6;
  }
}

.khaki-background {
  background-color: var(--khaki);
  padding-bottom: 100px;
  padding-top: 100px;
}

.khaki-background-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.compare-tabs {
  display: flex;
  align-items: center;
  background-color: var(--dekodv-fill-glass-15);
  /* Полупрозрачная полоска */
  border-radius: 50px;
  /* padding: 5px; */
  margin-bottom: 50px;
}

.tab-btn {
  /* color: var(--white); */
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 400;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.tab-btn:not(.long-btn) {
  color: var(--white);
  background-color: transparent;
  border: 1px solid transparent;
}

.tab-btn:not(.long-btn):hover {
  background-color: var(--dekodv-fill-glass-10);
}

.win_lose_section {
  display: none;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.win_lose_section.active-tab {
  display: grid;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compare-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}

.dark-card {
  background-color: var(--win-lose-dark-color, #5a5a54);
}

.light-card {
  background-color: var(--win-lose-light-color, #72726b);
}

.compare-img {
  width: 390px;
  min-height: 100%;
  max-height: 430px;
  object-fit: cover;
}

.compare-info {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.compare-icon {
  width: 80px;
  height: 82px;
  height: auto;
  margin-bottom: 36px;
}

.compare-info h3 {
  margin-bottom: 20px;
  font-weight: 400;
}

.compare-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.compare-info li {
  position: relative;
  padding-left: 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: var(--dekodv-text-muted-bright);
  line-height: 1.4;
  margin: 0;
}

.compare-info li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dekodv-text-muted-bright);
}

.footer {
  background-color: var(--dekodv-band-bg);
  padding-top: 100px;
  padding-bottom: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--light-count-gray);
  padding-block: 80px;
}

.footer-brand .logo img {
  width: 150px;
  margin-bottom: 25px;
}

.footer-desc {
  max-width: 220px;
  line-height: 1.5;
  opacity: 0.7;
}

.footer-nav h4,
.footer-contacts h4 {
  margin-bottom: 30px;
  font-weight: 500;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link {
  text-decoration: none;
  color: var(--white);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
}

.footer-phone {
  display: block;
  text-decoration: none;
  margin-bottom: 15px;
}

.footer-contacts address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 40px;
}

.footer-socials img {
  width: 24px;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.footer-socials a:hover img {
  transform: translateY(-3px);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
}

.footer-copy {
  opacity: 0.4;
  color: var(--white);
}

.interiors-section {
  background-color: var(--dekodv-surface-contrast);
  padding-block: 140px;
}

@media (width<768px) {
  .interiors-section {
    padding-block: 100px;
  }
}

.interiors-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.interiors-title h2 {
  margin-bottom: 20px;
}

.interiors-controls {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.interior-name {
  padding-top: 20px;
}

/* .interior-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
} */
.interiors-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
}

.interiors-image-main .main-img {
  width: 100%;
  height: 100%;
  max-width: 567px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.material-img-wrapper,
.material-img-wrapper-panel {
  position: relative;
  width: clamp(200px, 100%, 270px);
  height: clamp(200px, 100%, 500px);
  border-radius: 12px;
  overflow: hidden;
}

.material-img,
.material-img-panel {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.material-overlay-btn {
  position: absolute;
  bottom: 30px;

  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
}

.interior-mini-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.uppercase {
  text-transform: uppercase;
}

.line {
  height: 1px;
  margin: 40px 0;
  background-color: var(--light-gray-text);
  opacity: 40%;
  width: 100%;
}

.img-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
}

.for-img-info {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  z-index: 10;
  width: 100%;
  padding: 30px;
}

.section-for {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-bottom: 80px;

  .btn {
    width: 100%;
  }

  .btn span {
    white-space: nowrap;
  }
}

@media (width<768px) {
  .for-img-info {
    padding: 20px;
  }

  .section-for {
    padding-bottom: 60px;
  }
}

.begin-container {
  background-color: var(--dekodv-band-bg);
  padding-block: 80px;
}

.begin-container img {
  width: 13px;
}

.begin-info {
  display: grid;
  grid-template-columns: 0.3fr 1fr 2fr;
  padding-block: 30px;
  border-bottom: 1px solid var(--light-gray-text);
  align-items: center;
}

.begin-info h3,
.begin-info small {
  margin: 0;
}

.begin-info:first-of-type {
  border-top: 1px solid var(--light-gray-text);
  padding-top: 20px;
  /* Отступ от линии до контента */
  margin-top: 20px;
  /* Отступ над самой линией (если нужно) */
}

.section-title {
  text-transform: uppercase;
  margin-bottom: 50px;
  margin-top: 50px;
}

.content-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.image-container {
  flex: 0.3;
}

.image-container img {
  max-width: 370px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.steps-container {
  flex: 1;
  padding-left: 20px;
}

.steps-list {
  list-style: none;
  border-left: 1px solid var(--light-gray-text);
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  color: var(--gray);
  font-size: 15px;
  position: relative;
}

.step-text,
.step-number {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
}

.step-item.active {
  color: var(--graphite);
  font-size: 17px;
}

.step-item.active::before {
  content: "";
  position: absolute;
  left: -54px;
  top: 10px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: var(--beige);
  border-radius: 50%;
}

@media (width<425px) {
  .step-item.active::before {
    left: -38px;
  }

  .steps-list {
    list-style: none;
    border-left: 1px solid var(--light-gray-text);
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
}

.step-item.active {
  border-bottom: 4px solid var(--light-beige);
  width: fit-content;
}

.features-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-number {
  color: var(--beige);
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
}

.feature-text {
  font-size: 14px;
  line-height: 1.3;
  color: var(--gray);
  font-weight: 400;
}

.interiors-left-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 20px;
}

.project-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 40px;
}

.project-info-table tr {
  border-bottom: 1px solid var(--light-gray-text);
}

.project-info-table td {
  padding: 15px 0;
  font-size: 14px;
  line-height: 1.4;
  font-family: "Montserrat", sans-serif;
  vertical-align: top;
}

.project-info-table td:first-child {
  color: var(--gray);
  width: 35%;
}

.project-info-table td:last-child {
  color: var(--graphite);
}

.interiors-image-next {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.6;
  transform: scale(0.95);
  transform-origin: left center;
  transition: all 0.3s ease;
}

.interiors-image-next .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.interiors-images-container {
  grid-column: 2 / 4;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.main-image-wrapper {
  width: 100%;
  z-index: 2;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.next-image-wrapper {
  width: 100%;
  height: 100%;
  margin-left: -90%;
  margin-top: 5%;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.5;
}

.main-image-wrapper img,
.next-image-wrapper img {
  border-radius: 12px;
  width: 730px;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.designers-section {
  background-color: var(--khaki);
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (width<768px) {
  .designers-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.designers-title {
  text-transform: uppercase;
  line-height: 1.2;
}

.designers-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: stretch;

  .material-img-wrapper {
    width: 100%;
  }
}

.designers-img-text {
  top: 40px;
  bottom: auto;
  max-width: 90%;
}

.designers-card {
  background-color: var(--dekodv-surface-contrast);
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.designers-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.badge-beige {
  background-color: var(--beige);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 500;
}

.designers-list {
  gap: 10px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.designers-list li {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.3;
  padding-left: 18px;
}

.designers-list li::before {
  font-size: 20px;
  top: -2px;
}

.designers-btn {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* 
.custom-footer {
  background-color: var(--graphite);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  padding-top: 100px;
  padding-bottom: 20px;
}

.custom-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 130px;
  margin-bottom: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.subscribe-title {
  margin-bottom: 40px;
  color: var(--white);
}

.input-wrapper {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 5px 5px 5px 25px;
  margin-bottom: 25px;
  align-items: center;
}

.input-wrapper input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  outline: none;
}

.input-wrapper input::placeholder {
  color: var(--light-gray-text);
}

.input-wrapper button {
  background: transparent;
  border: none;
  color: var(--light-gray-text);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  padding: 15px 25px;
  cursor: pointer;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.input-wrapper button:hover {
  color: var(--white);
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
}

.custom-checkbox-label input {
  display: none;
}

.checkbox-circle {
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 6px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox-label input:checked+.checkbox-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--white);
  border-radius: 50%;
}

.checkbox-text {
  font-size: 14px;
  color: var(--white);
  line-height: 1.5;
}

.contact-block {
  margin-bottom: 40px;
}

.contact-block p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.contact-block a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-block a:hover {
  opacity: 0.7;
}

.gray-text {
  color: var(--light-gray-text);
  margin-bottom: 5px !important;
}

.contact-details {
  margin-top: 20px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--light-gray-text);
}

.scroll-up-wrapper {
  margin-bottom: 30px;
}

.scroll-up-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: none;
  color: var(--light-gray-text);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.scroll-up-btn svg path {
  transition: stroke 0.3s ease;
}

.scroll-up-btn:hover {
  color: var(--white);
}

.scroll-up-btn:hover svg path {
  stroke: var(--white);
}

.custom-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer-bottom span,
.custom-footer-bottom a {
  font-size: 13px;
  color: var(--light-gray-text);
  text-decoration: none;
}

.custom-footer-bottom a:hover {
  color: var(--white);
} */

.divider {
  margin: 0 10px;
  opacity: 0.5;
}

.center {
  text-align: center;
  text-align: center;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .wrapper {
    width: 100%;
    padding-inline: 15px;
    /* padding-bottom: 10px; */
  }

  .custom-footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .custom-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .bottom-left,
  .bottom-right {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
  }
}

@media (max-width: 768px) {

  .beige-background,
  .khaki-background {
    padding-inline: 10px;
    padding-bottom: 60px;
  }

  h1 {
    font-size: 32px;
    font-weight: 300;
  }

  h2 {
    font-size: 28px;
  }

  .body {
    font-size: 16px;
  }

  header {
    flex-direction: row;
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .logo {
    width: 140px;
  }

  .icon {
    display: none;
  }

  .mainContainer {
    aspect-ratio: auto;
    min-height: 500px;
    padding-inline: 0;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 680px;
    border: none;
    padding-inline: 0;
  }

  .main-grid {
    flex-direction: column;
  }

  .main-grid::before {
    display: none;
  }

  .text-section2 {
    border-left: none;
    padding-inline: 0 5px;
  }

  .container-section3 {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
  }

  .body {
    min-width: 100%;
    padding-bottom: 20px;
  }

  .btn {
    display: inline-block;
    align-self: flex-start;
  }

  .img_section4 {
    grid-template-columns: 1fr;
  }

  /* reason block */

  .reason-center {
    position: relative;
    transform: none;
    height: 500px;
  }

  .reasons-grid {
    gap: 34px;
  }

  .reason-row {
    flex-direction: column;
    gap: 34px;
    align-items: center;
    border-top: none;
    padding: 0;

    &::after,
    &::before {
      display: none;
    }

    .reason-left,
    .reason-right {
      position: relative;
      border-top: 1px solid #888889A6;
      padding-top: 14px;

      &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--reason-color);
      }
    }
  }

  /* why us block */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .why-us-center {
    height: 300px;
  }

  .why-us-logo {
    display: none;
  }

  .why-us-left {
    gap: 0px;
  }

  .material-img {
    min-height: 0px;
    max-height: 150px;
  }

  .khaki-background-text {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  /* .compare-tabs {
    flex-wrap: wrap;
    border-radius: 20px;
    justify-content: center;
  } */
  .compare-tabs {
    display: flex;
    /* flex-wrap: nowrap; */
    overflow-x: auto;
    justify-content: flex-start;
    gap: 15px;
    padding-inline: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .compare-card {
    flex-direction: column;
    width: 100%;
  }

  .compare-img {
    width: 100%;
    min-height: 10%;
    height: auto;
    object-fit: cover;
  }

  .compare-info {
    padding: 30px 20px;
  }

  .interiors-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .interiors-grid {
    grid-template-columns: 1fr;
  }

  .interiors-images-container {
    grid-column: 2 / 4;
    display: flex;
    align-items: flex-start;
    position: relative;
  }

  .main-image-wrapper img,
  .next-image-wrapper img {
    width: 730px;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
  }

  .main-image-wrapper img {
    width: 100%;
    height: auto;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .features-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;
  }

  .image-container img {
    max-width: 100%;
    height: auto;
  }

  .designers-grid {
    grid-template-columns: 1fr;
  }

  .faq-question h3 {
    font-size: 16px;
    padding-right: 15px;
  }

  .materials_container {
    flex-wrap: wrap;
    margin-top: 0;
    gap: 20px;
    justify-content: center;
  }

  .custom-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-col {
    align-items: flex-start;
    text-align: flex-start;
  }

  .input-wrapper {
    width: 100%;
  }

  .scroll-up-btn {
    justify-content: center;
    width: 100%;
  }

  .center {
    text-align: start;
    margin-bottom: 60px;
  }

  .img-mobile {
    min-height: 400px;
  }

  .mobile-column {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-right: 20px;
  }

  .interiors-grid-reverse {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }

  .interiors-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .begin-info {
    display: grid;
    grid-template-columns: min-content 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
  }

  .begin-info img {
    grid-column: 1;
    grid-row: 1;
    width: 10px;
  }

  .begin-info h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .begin-info small {
    grid-column: 2;
    grid-row: 2;
    display: block;
  }

  .materials_container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .materials_container::-webkit-scrollbar {
    display: none;
  }

  .container-material {
    flex: 0 0 auto;
    flex-direction: row;
    text-align: center;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
  }

  .img-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* flex-direction: column; */
    gap: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .materials_container::-webkit-scrollbar {
    display: none;
  }

  .material-img-wrapper {
    flex: 0 0 auto;
  }

  .material-img-wrapper-panel {
    flex: 0 0 auto;
    height: 360px;
    width: 270px;
  }

  .material-img-panel {
    /* width: 100%;
    height: 100%; */
    height: 360px;
    width: 270px;
    object-fit: cover;
    display: block;
  }

  @media (max-width: 768px) {
    .pluses-card {
      position: relative;
      border: none;
      margin-top: 0px;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }

    .pluses-card::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 20px;
      right: 20px;
      height: 1px;
      background-color: var(--light-gray-border);
    }

    .pluses-card:last-child {
      margin-bottom: 0;
      padding-bottom: 40px;
    }

    .pluses-card:last-child::after {
      display: none;
    }
  }

  .mobile-thin {
    font-weight: 300;
    font-size: 16px;
  }

  .accordion .slide {
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .accordion .slide:last-child {
    margin-bottom: 0;
  }
}

.modal-window {
  width: 100%;
  max-width: 580px;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px auto;
}

.modal-header {
  position: relative;
  width: 100%;
  height: 140px;
  border-bottom: 4px solid rgba(210, 176, 104, 1);
}

.modal-banner {
  width: 100%;
  height: 100%;
  max-height: 140px;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background-color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background-color: var(--khaki);
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover {
  opacity: 0.8;
}

.modal-body {
  padding: 20px 75px 28px 75px;
  text-align: center;
}

.modal-title {
  color: var(--graphite);
  font-weight: 400;
  margin-bottom: 30px;
  display: block;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-field input {
  width: 100%;
  padding: 16px 24px 17px 24px;
  background-color: #ededed;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  color: rgba(87, 86, 88, 1);
  outline: none;
}

.input-field input::placeholder {
  color: rgba(87, 86, 88, 0.6);
  font-weight: 550;
}

.privacy-policy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  margin-top: 6px;
  cursor: pointer;
}

.privacy-policy input {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;

  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;

  border: 1.5px solid #232323;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.privacy-text {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  line-height: 1.4;
}

.privacy-policy input::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #333333;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.1s ease-in-out;
  margin-bottom: 2px;
}

.privacy-policy input:checked::before {
  transform: rotate(45deg) scale(1);
}

.submit-btn {
  align-self: center;
  margin-top: 30px;
}

/* АДАПТИВНОСТЬ ПОД МОБИЛКИ */
@media (max-width: 540px) {
  .modal-window {
    margin: 10px;
  }

  .modal-header {
    height: 140px;
  }

  .modal-body {
    padding: 30px 20px 21px 20px;
  }

  .modal-title {
    font-size: 19px;
    margin-bottom: 30px;
  }

  .input-field input {
    padding: 10px 24px 11px 24px;
    font-size: 16px;
  }
}