/*
Theme Name: Avisto Forest
Theme URI: https://example.com/
Author: Codex
Description: Тема для сайта Ависто Форест.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: avisto-forest
*/

:root {
  --color-border: rgba(216, 208, 196, 1);
  --color-hover: rgba(73, 99, 59, 1);
  --color-active: rgba(63, 85, 50, 1);
  --color-light-green: rgba(231, 239, 227, 1);
  --color-accent-green: rgba(109, 139, 90, 1);
  --color-primary: #5e7d4d;
  --color-bg: #f8f5ef;
  --color-card-bg: #eee7db;
  --color-text: #2e2a26;

  --font-heading: "Onest", Helvetica;
  --font-text: "Inter", Helvetica;
}

*,
*::before,
*::after {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  font-family: var(--font-text);
  color: var(--color-text);
  padding: 0;
  margin: 0;
  appearance: none;
  background: none;
  border: none;
  text-decoration: none;
  color: inherit;
}

.page {
  background-color: var(--color-bg);
  width: 100%;
  position: relative;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 16px 16px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  min-width: 285px;
}

.btn--primary {
  background-color: var(--color-primary);
}

.btn--secondary {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-primary);
}

.btn--full {
  width: 100%;
  min-width: unset;
}

.btn__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.btn--primary .btn__text {
  color: var(--color-bg);
}

.btn--secondary .btn__text {
  color: var(--color-text);
}

.btn:hover {
  filter: brightness(105%);
}

.title-1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 60px;
  line-height: 64px;
  letter-spacing: 0px;
}

.title-2 {
  
}

.title-3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 0px;
}

.title-4 {
font-family: var(--font-heading);
font-weight: 500;
font-size: 22px;
line-height: 28px;
letter-spacing: 0px;

}

.text-l {
font-family: var(--font-text);
font-weight: 400;
font-size: 18px;
line-height: 28px;
letter-spacing: 0px;

}

.text-m {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
}

.text-s {
  font-family: var(--font-text);
font-weight: 400;
font-size: 14px;
line-height: 22px;
letter-spacing: 0px;

}

@media (max-width: 1080px) {
  .title-1 {
font-weight: 700;
font-size: 34px;
line-height: 38px;
  }
  
  .title-2 {

  }

  .title-3 {
font-weight: 600;
font-size: 22px;
line-height: 28px;
  }

  .title-4 {
font-weight: 500;
font-size: 18px;
line-height: 24px;
  }

  .text-l {
font-weight: 400;
font-size: 16px;
line-height: 24px;
  }

  .text-m {
font-size: 15px;
line-height: 22px;
  }

  .text-s {
font-weight: 400;
font-size: 14px;
line-height: 20px;

  }

  .btn {
    height: 48px;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-logo, .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo__icon-img {
  position: absolute;
  width: 87.5%;
  height: 100%;
  top: 0;
  left: 12.5%;
}

.logo__name {
  color: var(--color-text);
}

.header {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 40px 0;
  background-color: var(--color-bg);
  transition: 0.3s all;
}

.header.fixed {
  background-color: transparent;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__contacts {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__phone {
font-weight: 400;
font-size: 18px;
line-height: 28px;
letter-spacing: 0px;
}

.header__phone:hover {
  color: var(--color-primary);
}

.header__socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header__social {
  font-size: 0;
  color: transparent;
}

.header__mobile {
  display: none;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0px;
  color: var(--color-text);
}

.nav__link:hover {
  color: var(--color-primary);
}

.hero {
  position: relative;
  padding-bottom: 152px;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__blur {
  position: absolute;
  top: 681px;
  left: 0;
  right: 0;
  height: 176px;
  background-color: var(--color-primary);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  padding-top: 245px;
  max-width: 793px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__title {
  color: #000000;
}

.hero__subtitle {
  color: #000000;
}

.hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.usp-list {
  z-index: 1;
  margin-top: 162px;
  position: relative;
}

.usp-list::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background-color: #5e7d4d;
  filter: blur(100px);
  height: 176px;
  transform: translateY(-50%);
}

.usp-list__items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.usp-list__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.usp-list__text {
  font-family: var(--font-heading);
font-weight: 500;
font-size: 22px;
line-height: 28px;
letter-spacing: 0px;
color: var(--color-bg);
}

.header .container {
  position: relative;
}

.mobile-menu {
  background-color: var(--color-bg);
  position: absolute;
  right: 0;
  top: 100%;
  height: max-content;
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}


@media (max-width: 1200px) {
  .nav {
    display: none;
  }

  .header__contacts {
    display: none;
  }

  .header__mobile {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .header__menu {
    cursor: pointer;
  }

  .header__menu:hover, .header__phone-mobile:hover {
    scale: 1.2;
  }

  .usp-list__text {
    font-size: 18px;
  }

  

.mobile-menu .nav {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.mobile-menu .nav__link {
  width: 100%;
  text-align: left;
}

.mobile-menu .header__contacts {
  flex-direction: column;
  display: flex;
}

.mobile-menu.open {
  display: flex;
}

}

@media (max-width: 1080px) {
  .usp-list__items {
    flex-direction: column;
    gap: 20px;
  }

  .hero__content {
    padding-top: 200px;
  }

  .header {
    padding: 20px 0;
  }

  .hero {
    padding-bottom: 95px;
  }

  .usp-list {
    margin-top: 40px;
  }
}

@media (max-width: 650px) {
  .container {
    padding: 0 10px;
  }

  .header {
    padding: 10px 0;
  }

  .hero__actions {
    width: 100%;
  }

  .logo {
    flex-direction: column;
    gap: 10px;
  }

  .logo__icon {
    width: 32px;
    height: 32px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__content {
    padding-top: 120px;
  }

  .usp-list__item {
    display: grid;
    grid-template-columns: 50px 1fr;
  }

  .usp-list__items {
    align-items: flex-start;
  }

  .usp-list__icon {
    width: 100%;
    object-fit: contain;
    object-position: center center;
  }
}

.catalog {
  padding: 120px 0 80px;
  
}

.catalog .container {
  position: relative;
}

.catalog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.catalog__title {
  color: var(--color-text);

  white-space: nowrap;
}

.catalog__intro {
  color: #000000;

  max-width: 793px;
  margin-bottom: 40px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.catalog__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.location-badge {
  display: flex;
  width: 387px;
  height: 64px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--color-card-bg);
  flex-shrink: 0;
  position: absolute;
  right: 20px;
  top: 0;
}

.location-badge__inner {
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.location-badge__text {
  color: var(--color-primary);

  white-space: nowrap;
}

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.product-card__image {
  width: 100%;
  height: 276px;
  object-fit: cover;
  display: block;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background-color: var(--color-card-bg);
  border-radius: 0 0 6px 6px;
  flex: 1;
}

.product-card__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.product-card__title {
  color: #000000;
}

.product-card__desc {
  color: #000000;
}

@media (max-width: 1080px) {
  .catalog__grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-badge {
    height: 40px;
    width: auto;
  }

  .catalog {
    padding: 60px 0 40px;
  }

  .catalog__cta {
    margin-top: 20px;
  }

  .catalog__intro {
    margin-bottom: 20px;
  }
}

@media (max-width: 820px) {
  .location-badge {
    position: initial;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
  }
}

@media (max-width: 620px) {
  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.advantages {
  padding: 40px 0 80px;
}

.advantages__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 385px;
}

.advantages__heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.advantages__title {
  color: var(--color-text);

  max-width: 712px;
}

.advantages__subtitle {
  color: #000000;
}

/* Stat box */
.stat-box {
  display: flex;
  flex-direction: column;
  width: 385px;
  height: 197px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: var(--color-card-bg);
  border-radius: 12px;
  flex-shrink: 0;
}

.stat-box__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.stat-box__number {
  color: var(--color-text);
  text-align: center;
}

.stat-box__divider {
  width: 100%;
  height: 1px;
  object-fit: cover;
  display: block;
}

.stat-box__label {
  color: #000000;

  text-align: center;
}

/* Advantage items */
.advantages__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.advantages__row {
  display: flex;
  gap: 20px;
}

.advantage-cell {
  flex: 1;
  height: 229px;
  background-size: cover;
  background-position: center;
  background-image: url('./img/wood-texture.png');
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-cell__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.advantage-cell__icon {
  width: 127px;
  height: 112px;
  object-fit: contain;
  flex-shrink: 0;
}

.advantage-cell__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.advantage-cell__title {
  color: var(--color-text);
}

.advantage-cell__desc {
  color: #000000;
}

/* Full-width advantage row */
.advantage-full {
  height: 229px;
  background-size: cover;
  background-position: center;
  background-image: url('./img/wood-texture.png');
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

.advantage-full__inner {
  display: inline-flex;
  align-items: flex-start;
  gap: 65px;
  justify-content: flex-start;
}

.advantage-full__image {
  height: 103px;
  object-fit: contain;
  flex-shrink: 0;
}

.advantage-full__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage-full__title {
  color: var(--color-text);
}

.advantage-full__desc {
  color: #000000;
}

@media (max-width: 1080px) {
  .stat-box {
    height: auto;
    padding: 10px;
    width: auto;
  }

  .advantages__header {
    grid-template-columns: 1fr 140px;
  }

  .advantages {
    padding: 20px 0 40px;
  }

  .advantages__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .advantages__items {
    gap: 20px;
  }

  .advantage-cell__inner, .advantage-full__inner {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
  }

  .advantage-cell__icon {
    width: 120px;
  }

  .advantage-full__image {
    width: 120px;
  }
}

@media (max-width: 620px) {
  .advantages__header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-box {
    width: 100%;
  }

  .advantage-cell__inner, .advantage-full__inner {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .advantage-cell__inner .title-3 {
    font-size: 18px;
  }

  .advantage-full__inner .title-3 {
    font-size: 18px;
  }

  .advantage-cell__icon {
    width: 60px;
  }

  .advantage-full__image {
    width: 60px;
  }

  .advantage-cell__content, .advantage-full__text {
    gap: 10px;
  }
}

.section-intro {
  padding: 60px 0;
}

.section-intro .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-intro__title {
  color: var(--color-text);
}

.section-intro__subtitle {
  color: #000000;
}

.process {
  padding: 40px 0;
  background-image: url('./img/wood-texture.png');
  background-repeat: no-repeat;
  background-position: center right;
}

.process .container {
  width: 100%;
  overflow: hidden;
  
}

.process__slider {
  overflow: visible;
  padding: 14px 0 24px;
}

.process__steps {
  display: flex;
  align-items: stretch;
  position: relative;
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: 100%;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}

.process__step-circle {
  width: 183px;
  height: 183px;
  border-radius: 50%;
  background-color: var(--color-accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.process__step-number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  font-size: 100px;
  line-height: 1;
}

.process__step-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

.process__step-title {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

.process__step-desc {
  color: #535252;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  max-width: 100%;
}

.process__connector {
  display: none;
}

.process__connector-line {
  display: none;
}

.process__connector-arrow {
  display: none;
}

.process__step-arrow {
  display: none;
}

@media (max-width: 1080px) {
  .process {
    padding: 20px 0 30px;
    background-image: none;
  }

  .process__slider {
    padding: 14px 0 20px;
  }

  .process__step {
    width: 448px;
    min-height: 208px;
    padding: 10px;
    align-items: center;
    padding-right: 128px;
    background-image: url('./img/wood-texture.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  box-shadow: 0px 4px 4px 0px #00000040;

  }

  .process__step-content {
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
  }

  .process__step-circle {
    width: 62px;
    height: 62px;
    top: 18px;
  }

  .process__step-number {
    font-size: 34px;
  }

  .process__step-title {
    font-size: 20px;
    line-height: 26px;
  }

  .process__step-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .process__step-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    z-index: 1;
    display: block;
    width: 104px;
    height: 12px;
    transform: translateY(-8%);
  }

  .process__step-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 12px;
    height: 1px;
    background: rgba(216, 208, 196, 0.95);
    transform: translateY(-50%);
  }

  .process__step-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #a97a4c;
    border-right: 1.5px solid #a97a4c;
    transform: translateY(-50%) rotate(45deg);
  }

  .process__step:last-child .process__step-arrow {
    display: none;
  }

  .process__step:last-child {
    width: calc(448px - 128px);
    padding-right: 10px;
  }
}

@media (max-width: 650px) {
  .process__slider {
    padding: 10px 0 18px;
  }

  .process__step {
    width: 100%;
    min-height: 208px;
    padding: 10px;
    padding-right: 128px;
  }

  .process__step-title {
    font-size: 18px;
    line-height: 24px;
  }

  .process__step-desc {
    font-size: 15px;
    line-height: 22px;
  }

  .process__step-arrow {
    width: 90px;
    right: 16px;
  }
}

.contacts {
  background-size: cover;
  background-position: center;
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}


.contacts__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 120px;
  position: relative;
  z-index: 3;
  padding-bottom: 20px;
  
}

.contacts__inner::after {
  display: block;
  content: '';
  width: 100vw;
  position: absolute;
  left: calc((100vw - 1220px) / 2 * -1);
  bottom: 0;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  background-image: url('./img/contacts/bg.png');
  z-index: 1;
}

.contacts__lead {
  gap: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.contacts__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0;
  color: transparent;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.contacts__title {
  color: var(--color-text);
}

.contacts__description {
  color: #000000;
}

.contacts__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__detail-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.contacts__detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacts__address {
  color: var(--color-text);
  flex: 1;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.contact-form__title {
  color: #000000;
}

.contact-form__field {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  width: 100%;
  background-color: var(--color-card-bg);
  border-radius: 2px;
  border: 1px solid var(--color-border);
  cursor: default;
}

.contact-form__label {
  color: #000000;
  white-space: nowrap;
}

.contact-form__input {
  height: 50px;
  padding: 0 20px;
  width: 100%;
  background-color: var(--color-card-bg);
  border-radius: 2px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  outline: none;
  display: block;
}

.contact-form__input::placeholder {
  color: rgba(46, 42, 38, 0.5);
}

.contact-form__privacy {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 32px;
}

.contact-form__checkbox-wrap {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background-color: var(--color-hover);
  border-radius: 2px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.contact-form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-form__checkbox-wrap svg {
  display: none;
}

.contact-form input:checked + .icon-box svg {
  display: block;
}

.contact-form__privacy-text {
  color: var(--color-text);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .contacts__inner::after {
    width: 100%;
    left: 0;
  }

  .contacts__inner {
    padding: 20px;
  }
}

@media (max-width: 820px) {
  .contacts {
    padding: 60px 0 0;
  }
  
  .contacts__inner {
    padding: 10px;
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .contacts::after {
    height: 740px;
    left: 10px;
    width: calc(100% - 20px);
  }
}

@media (max-width: 620px) {

  .contact-form__privacy-text {
    font-size: 14px;
  }
}

/* ==========================================================================
   14. DELIVERY MAP
   ========================================================================== */

.delivery-map iframe {
  width: 100%;
  height: 364px;
  object-fit: cover;
  display: block;
}

@media (max-width: 620px) {
  .delivery-map {
    padding-top: 20px;
  }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.footer {
  background-size: cover;
  background-position: center;
  position: relative;
}

.footer::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  background-image: url('./img/footer.png');
}

.footer::after {
  display: block;
  content: '';
  width: 100%;
  left: 0;
}

.footer__inner {
  background-color: var(--color-bg);
  padding: 80px 0 40px;
}

.footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 285px;
  flex-shrink: 0;
}

.footer__brand-desc {
  color: var(--color-text);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 154px;
  flex-shrink: 0;
}

.footer__col-title {
  color: var(--color-text);
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav-link {
  color: var(--color-text);
  display: block;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-style: normal;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__phone {
  color: var(--color-text);
  white-space: nowrap;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 285px;
  flex-shrink: 0;
}

.footer__legal-link {
  color: var(--color-text);
  display: block;
}

.footer__legal-text {
  color: var(--color-text);
  display: block;
}

.cookies {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background-color: #EEE7DB;
  border: 2px solid #6D8B5A;
  z-index: 4;
}

.cookies__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.cookies__actions {
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cookies__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookies__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookies.open {
  display: block;
}

.modal {
  width: 100%;
  height: 100dvh;
  background-color: #EEE7DB99;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal.open {
  display: flex;
}

.modal__inner {
  width: 100%;
  max-width: 400px;
  height: 100vh;
  max-height: max-content;
  z-index: 10;
  position: relative;
  background-color: #FFFFFF;
  background-image: url('./img/contacts/bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 20px 20px;
}

.modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookies__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookies__actions {
    width: 100%;
  }

  .cookies__actions .btn {
    width: 100%;
  }
}

@media (max-width: 1080px) {
  .footer__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-template-areas: 'a b' 'c d';
  }

  .footer__contacts {
    grid-area: d;
  }

  .footer__nav {
    grid-area: b;
  }
}

@media (max-width: 620px) {
  .footer {
    padding: 10px;
  }

  .footer::after {
    height: 100%;
  }

  .footer__inner {
    padding: 10px;
    position: relative;
    z-index: 3;
    box-shadow: 0px 2px 2px 0px #00000040;

      background-color: #F8F5EF;
  }

  .footer__row {
    display: flex;
    flex-direction: column;
  }
}

.thank-you-page {
  position: relative;
  overflow: hidden;
  padding: 180px 0 120px;
}

.thank-you-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FFFFFF99;
  z-index: 1;
}

.thank-you-page__bg {
  position: absolute;
  inset: 0;
}

.thank-you-page__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thank-you-page .container {
  position: relative;
  z-index: 2;
}

.thank-you-page__inner {
  display: flex;
  justify-content: center;
}

.thank-you-page__content {
  width: 100%;
  max-width: 1160px;
  text-align: center;
}

.thank-you-page__title {
  color: var(--color-text);
}

.thank-you-page__text {
  color: var(--color-text);
  margin: 30px auto 44px;
  max-width: 1180px;
}

.thank-you-page__fields-text {
  margin-bottom: 20px;
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 24px;
}

.thank-you-page__fields {
  width: 100%;
  max-width: 386px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.thank-you-page__fields .contact-form__input[readonly] {
  cursor: default;
}

.thank-you-page__button {
  width: 100%;
  max-width: 340px;
  margin: 40px auto 0;
}

@media (max-width: 900px) {
  .thank-you-page {
    padding: 140px 0 80px;
  }

  .thank-you-page__text {
    margin: 20px auto 32px;
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .thank-you-page {
    padding: 120px 0 60px;
  }

  .thank-you-page__fields {
    max-width: 100%;
  }

  .thank-you-page__button {
    max-width: 100%;
  }
}

.text-page {
  padding: 160px 0 80px;
}

.text-page__inner {
  width: 100%;
}

.text-page__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: rgba(46, 42, 38, 0.6);
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 20px;
}

.text-page__crumb-link,
.text-page__crumb-current,
.text-page__crumb-separator {
  color: rgba(46, 42, 38, 0.6);
}

.text-page__crumb-link:hover {
  color: var(--color-primary);
}

.text-page__article {
  width: 100%;
  max-width: 980px;
}

.text-page__title {
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-text);
}

.text-page__content {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: var(--color-text);
}

.text-page__content > * + * {
  margin-top: 10px;
}

.text-page__content p,
.text-page__content li,
.text-page__content a,
.text-page__content strong,
.text-page__content em {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.text-page__content ul,
.text-page__content ol {
  padding-left: 28px;
}

.text-page__content ul {
  list-style: disc;
}

.text-page__content ol {
  list-style: decimal;
}

.text-page__content li + li {
  margin-top: 4px;
}

.text-page__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-page__content h2,
.text-page__content h3,
.text-page__content h4,
.text-page__content h5,
.text-page__content h6 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
}

.text-page__content h2 {
  font-size: 24px;
  line-height: 32px;
}

.text-page__content h3 {
  font-size: 22px;
  line-height: 30px;
}

.text-page__content h4,
.text-page__content h5,
.text-page__content h6 {
  font-size: 20px;
  line-height: 28px;
}

@media (max-width: 1080px) {
  .text-page {
    padding: 130px 0 60px;
  }

  .text-page__breadcrumbs {
    margin-bottom: 32px;
  }

  .text-page__title {
    font-size: 22px;
    line-height: 30px;
  }

  .text-page__content {
    font-size: 16px;
    line-height: 28px;
  }

  .text-page__content h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .text-page__content h3 {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 620px) {
  .text-page {
    padding: 112px 0 40px;
  }

  .text-page__breadcrumbs {
    gap: 6px;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 18px;
  }

  .text-page__title {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 28px;
  }

  .text-page__content {
    font-size: 15px;
    line-height: 25px;
  }

  .text-page__content ul,
  .text-page__content ol {
    padding-left: 22px;
  }
}
