@font-face {
  font-family: "Montserrat";
  src: local("Montserrat-Regular"),
    url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: local("PlayfairDisplay-Regular"),
    url("../fonts/PlayfairDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: local("PlayfairDisplay-Bold"),
    url("../fonts/PlayfairDisplay-Bold.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  z-index: 1000; /* Поверх всего */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Если контент большой */
  background-color: rgba(0,0,0,0.5); /* Полупрозрачный фон */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px 60px;
  padding-right: 0;
  border-radius: 8px;
  width: 1000px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  align-items: center;
}

.modal-wrapper {
 display: flex;
  flex-direction: row!important;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 44px;
  font-weight: bold;
  cursor: pointer;
}

.modal-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
}

.modal-list {
  display: flex;
  flex-direction: column;
  list-style:decimal;
}

.modal-list-item {
   font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
}

.modal-right img {
  width: 300px;

}

:root {
  --font-family: "PlayfairDisplay", sans-serif;
  --second-family: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

address {
  margin: 0;
}

.section-offset {
  padding-top: 30px;
  padding-bottom: 90px;
}

#go-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 300;
  cursor: pointer;
  font-size: 24px;
  /* Для текстовой стрелки */
  text-decoration: none;
  /* Для текстовой стрелки */
  color: #333;
  /* Цвет стрелки */
  background-color: #000;
  border-radius: 50px;
}

/* Если используется SVG, то можно стилизовать его отдельно */
#go-top svg {
  width: 40px;
  height: 40px;
}

/* header */

.header-container {
  max-width: 1208px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-list {
  display: flex;
  align-items: center;
  margin-right: 60px;
}

.header-list-item:not(:last-child) {
  margin-right: 30px;
}

.header-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  color: #5d473c;
}

.social-list {
  display: flex;
  align-items: center;
}

.social-list-item:not(:last-child) {
  margin-right: 30px;
}

.menu_button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
}

.menu_button,
.menu_button span {
  display: none;
  box-sizing: border-box;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.menu_button {
  top: 50%;
  left: 50%;
  z-index: 99992;
  width: 3rem;
  height: 2.2rem;
  transform: translate(-50%, -50%);
}

.menu_button:focus {
  border: none;
  outline: none;
}

.menu_button_line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: #233b5d;
  border-radius: 0.2rem;
}

.menu_button .menu_button_line.top {
  top: 0;
}

.menu_button .menu_button_line.mid {
  top: 1rem;
  /* (heght(.menu_button)  - height(.menu_button span)) / 2 */
}

.menu_button .menu_button_line.bottom {
  bottom: 0;
}

.menu_button.on_menu .menu_button_line {
  background: #233b5d;
}

.menu_button.on_menu .menu_button_line.top {
  -webkit-transform: translateY(1rem) rotate(-45deg);
  -moz-transform: translateY(1rem) rotate(-45deg);
  -ms-transform: translateY(1rem) rotate(-45deg);
  -o-transform: translateY(1rem) rotate(-45deg);
  transform: translateY(1rem) rotate(-45deg);
}

.menu_button.on_menu .menu_button_line.mid {
  opacity: 0;
}

.menu_button.on_menu .menu_button_line.bottom {
  -webkit-transform: translateY(-1rem) rotate(45deg);
  -moz-transform: translateY(-1rem) rotate(45deg);
  -ms-transform: translateY(-1rem) rotate(45deg);
  -o-transform: translateY(-1rem) rotate(45deg);
  transform: translateY(-1rem) rotate(45deg);
}

/* hero */

.hero {
  padding: 184px 0;
  background-image: url("../img/hero-img.webp");
  background-repeat: no-repeat;
  background-position: 85% center;
}

.container {
  max-width: 1148px;
  margin: 0 auto;
}

.hero-container {
  max-width: 1148px;
  margin: 0 auto;
}

.hero-content {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 30px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 96px;
  color: #5d473c;
}

.hero-descr {
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  margin-bottom: 46px;
}

.hero-btn {
  font-weight: 400;
  font-size: 24px;
  border: 1px solid #000;
  padding: 10px 15px;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
  background-color: #5d473c;
  color: #fff;
  border-color: transparent;
}

/* about */

.about {
  background-color: #5d473c;
}

.about-title {
  font-weight: 500;
  font-size: 48px;
  color: #fff;
  margin-bottom: 50px;
}

.about-wrapper {
  display: flex;
  align-items: center;
}

.about-left {
  margin-right: 40px;
}

.about-right-title {
  font-size: 25px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 50px;
}

.about-right-title span {
  font-size: 40px;
}

.about-right-descr {
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  margin-bottom: 100px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.about-list-item {
  padding-left: 48px;
  min-height: 40px;
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 32px 32px;
  color: #fff;
  margin-bottom: 30px;
}

.about-list-item.individual {
  background-image: url("../img/person-check.svg");
}

.about-list-item.relax {
  background-image: url("../img/spa-solid.svg");
}

.about-list-item.pro {
  background-image: url("../img/award-solid.svg");
}

.about-list-item.courses-icon {
  background-image: url("../img/graduation-cap-solid.svg");
}

.services-title {
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 50px;
}

.services-wrapper {
  display: flex;
  justify-content: space-between;
}

.services-price-list {
  max-width: 47%;
}

.services-list {
  list-style: disc;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding-right: 15px;
  border-right: 1px solid #5d473c;
  margin-right: 15px;
  height: 550px;
  overflow-y: scroll;
}

.services-list-item {
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 15px;
  cursor: pointer;
}

.services-list-item.selected {
  text-decoration: underline;
  font-weight: bold;
  color: #5d473c;
  /* можно изменить на ваш фирменный цвет */
}

.services-card {
  display: none;
  /* Скрыть все карточки по умолчанию */
}

.services-card.active {
  display: flex;
  /* Показать активную карточку */
}

.services-card-left {
  margin-right: 40px;
}

.services-card-title {
  font-weight: 400;
  font-size: 32px;
  color: #5d473c;
  margin-bottom: 40px;
  padding-left: 10px;
}

.services-card-descr {
  font-weight: 400;
  font-size: 20px;
  color: #000;
  margin-bottom: 70px;
  max-width: 415px;
  scrollbar-width: 5px;
  /* Устанавливаем ширину скроллбара */
  scrollbar-color: #5d473c #f1f1f1;
  /* Цвет ползунка и трека */
  height: 330px;
  /* Задайте высоту, чтобы ограничить область текста */
  overflow-y: auto;
  /* Добавляет вертикальный скролл, если текст превышает высоту */
  padding: 10px;
  /* Добавьте отступы для лучшего визуального восприятия */
}

.services-card-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services-card-price {
  font-weight: 400;
  font-size: 28px;
  color: #5d473c;
  padding-left: 10px;
  text-decoration: underline;
  text-underline-offset: 10px;
}

.services-card-btn {
  background: #5d473c;
  padding: 10px 15px;
  border-radius: 20px;
  color: #fff;
  font-weight: 400;
  font-size: 22px;
}

.services-card-img {
  width: 368px;
  height: 520px;
  overflow: hidden;
  border-top-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

/* services-plus */

.services-plus {
  margin-top: 70px;
  display: flex;
  align-items: center;
}

.services-plus-title {
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 30px;
}

.laser-link,
.laser-link:hover {
  text-decoration: underline;
}

.services-plus-descr {
  font-weight: 400;
  font-size: 22px;
  color: #5d473c;
  margin-bottom: 30px;
}

.services-plus-left {
  margin-right: 40px;
}

.services-plus-form-title {
  font-weight: 400;
  font-size: 36px;
  color: #5d473c;
  margin-bottom: 30px;
}

.services-plus-right img {
  width: 360px;
    border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.main-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
  font-size: 16px;
  color: #333;
  appearance: none;
}

.nested-select {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}

.nested-option {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.nested-option:last-child {
  border-bottom: none;
}

.nested-option:hover {
  background-color: #f5f5f5;
}

.nested-option.selected {
  background-color: #5d473c;
  color: white;
}

.price-container {
  text-align: center;
  margin: 25px 0;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 6px;
}

.price-label {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.price {
  font-size: 28px;
  font-weight: bold;
  color: #5d473c;
}

#bookButton {
  width: 100%;
  padding: 14px;
  background-color: #5d473c;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

#bookButton:hover {
  background-color: #5d473cc9;
}

#bookButton:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}
/* masters */

.masters {
  background-color: #5d473c;
}

.masters-title {
  font-weight: 400;
  font-size: 48px;
  color: #fff;
  margin-bottom: 50px;
}

.contenedor {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  min-height: 740px;
  font-family: "Arial", sans-serif;
}

.card {
  width: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #e8e3df;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.tg-btn {
  position: absolute;
  z-index: 999999;
  bottom: 0px;
  right: 10px;
  color: #5d473c;
  background-color: #fff;
  border: 1px solid #fff;
  text-decoration: underline;
  font-size: 22px;
  border-radius: 10px;
  padding: 10px 20px;
}

.tg-btn img {
  width: 30px !important;
  height: 30px !important;
  margin-left: 5px;
}

.masters-card-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 34px;
  text-align: center;
  color: #000;
}

.masters-card-descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  color: #000;
}

.masters-card-descr-back {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  height: 100%;
  overflow-y: scroll;
}

.card-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding-top: 40px;
  position: relative;
}

.card-image img {
  width: 426px;
  height: 316px;
  border-radius: 10px;
}

.card-content {
  padding: 20px;
  padding-bottom: 0;
  min-height: 220px;
  height: 100%;
  justify-content: space-between;
}

.card-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 5px;
  display: inline-block;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}

@keyframes dot-animation {
  from {
    background-color: #bbb;
    width: 10px;
  }

  to {
    background-color: #333;
    width: 30px;
  }
}

@keyframes dot-animation-reverse {
  from {
    background-color: #333;
    width: 30px;
  }

  to {
    background-color: #bbb;
    width: 10px;
  }
}

.active-dot {
  animation-name: dot-animation;
  animation-fill-mode: forwards;
}

.dot:not(.active-dot) {
  animation-name: dot-animation-reverse;
  animation-fill-mode: forwards;
}

.buttons {
  display: flex;
  gap: 20px;
}

.next-button {
  background-color: #272727;
  color: white;
  border: 1px solid #272727;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.next-button:hover {
  background-color: #939393;
  border: 1px solid #939393;
}

.previous-button {
  background-color: #fff;
  color: #272727;
  border: 1px solid #272727;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.previous-button:hover {
  color: white;
  border: 1px solid #939393;
  background-color: #939393;
}

.ocultar {
  display: none;
}

.principal {
  position: absolute;
  top: 0;
  left: calc(50% - 150px);
  z-index: 10;
  transition: 0.5s;
}

.siguiente {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: calc(50%);
  z-index: 8;
  transition: 0.5s;
  transform: scale(0.8) perspective(40px) rotateY(-0.5deg);
  filter: blur(3px);
}

.siguiente2 {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: calc(50% + 120px);
  z-index: 6;
  transition: 0.5s;
  transform: scale(0.6) perspective(40px) rotateY(-0.5deg);
  filter: blur(8px);
}

.anterior {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: calc(50% - 300px);
  z-index: 8;
  transition: 0.5s;
  transform: scale(0.8) perspective(40px) rotateY(0.5deg);
  filter: blur(3px);
}

.anterior2 {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: calc(50% - 420px);
  z-index: 6;
  transition: 0.5s;
  transform: scale(0.6) perspective(40px) rotateY(0.5deg);
  filter: blur(8px);
}

#div-transparent-previous {
  position: absolute;
  width: 250px;
  height: 100%;
  right: calc(50% + 150px);
  top: 0;
  z-index: 9;
  cursor: pointer;
}

#div-transparent-next {
  position: absolute;
  width: 250px;
  height: 100%;
  left: calc(50% + 150px);
  top: 0;
  z-index: 9;
  cursor: pointer;
}

/* courses */

.courses {
  padding-top: 40px;
}

.courses-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 50px;
}

.courses-descr {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: 22px;
}

.courses-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-container {
  width: 950px;
  height: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: #333;
  box-sizing: border-box;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

.nav-btn {
  background-color: #fff;
  color: #272727;
  border: 1px solid #272727;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.nav-btn:hover {
  background: #5d473c;
  color: #fff;
}

.progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ddd;
}

.progress-bar {
  height: 100%;
  background: #5d473c;
  transition: width 0.3s;
}

.slide-content {
  display: flex;
  align-items: center;
  text-align: center;
  height: 100%;
  flex-direction: column;
}

.slide-left {
  width: 500px;
  height: 100%;
  overflow: hidden;
  border-top-right-radius: 60px;
  border-bottom-left-radius: 60px;
  margin-right: 30px;
  /* background-image: url("../img/course-1.jpg"); */
  /* background-size: cover; */
}

.slide-left img {
  width: 500px;
}

.slide-right {
  width: 70%;
  height: 100%;
  padding-top: 40px;
}

.slide-right-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 32px;
  color: #000;
  text-align: left;
  padding-left: 10px;
  margin-bottom: 20px;
}

.slide-right-descr {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  color: #000;
  margin-bottom: 10px;
  max-width: 600px;
  scrollbar-color: #5d473c #f1f1f1;
  scrollbar-width: 10px;
  height: 240px;
  overflow-y: auto;
  padding: 10px;
}

.slide-right-text {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 11px;
  text-align: left;
  color: #000;
  padding: 10px;
  border-top: 1px solid #5d473c;
  margin: 0;
  text-transform: uppercase;
}

.slide-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px;
  margin-top: auto;
}

.slide-right-price {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 32px;
  color: #5d473c;
}

.slide-right-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 28px;
  color: #000;
  padding: 10px 15px;
  border: 1px solid #5d473c;
  border-radius: 10px;
  cursor: pointer;
}

/* certificate */

.certificate {
  padding-top: 40px;
}

.certificate-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 50px;
  margin-top: 0;
  padding-top: 60px;
}

.certificate-descr {
  line-height: 30px;
}

.certificate-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.certificate-list-item {
  text-align: center;
  width: 100%;
}

.certificate-list-item:not(:nth-child(1)) {
  height: 350px;
  width: 500px;
  margin-top: 30px;
}

.certificate-main-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.certificate-main-img {
  width: 100%;
}

.certificate-img {
  max-width: 600px;
  width: 90%;
}

/* education */

.education-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 50px;
  margin-top: 0;
  padding-top: 60px;
}

.splide__slide {
  text-align: center;
}

.education-img {
  width: 300px;
  height: 375px;
}

/* reviews */

.reviews-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 20px;
  padding-top: 60px;
}

.reviews-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.reviews-list-item {
  padding-bottom: 50px;
}

.reviews-img {
  width: 300px;
}

.left {
  padding-right: 350px;
  margin-right: auto;
  background-image: url("../img/arrow-to-right.svg");
  background-size: 220px 220px;
  background-position: right center;
  background-repeat: no-repeat;
}

.right {
  padding-left: 300px;
  margin-left: auto;
  background-image: url("../img/arrow-to-left.svg");
  background-size: 220px 220px;
  background-position: left center;
  background-repeat: no-repeat;
}

/* feedback */

.feedback-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  color: #5d473c;
  margin-bottom: 50px;
}

.feedback-wrapper {
  display: flex;
  align-items: flex-end;
}

/* contacts */

.contacts {
  background: #5d473c;
}

.contacts-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  color: #fff;
  margin-bottom: 50px;
}

.contacts-wrapper {
  display: flex;
}

.contacts-left {
  margin-right: 30px;
}

.contacts-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-item {
  margin-bottom: 30px;
}

.contacts-item-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}

.contacts-item-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  text-decoration: underline;
}

.contacts-item-link:hover {
  color: #dfdfdf;
}

.contacts-social-list {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
}

.contacts-btn {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 30px;
  color: #000;
  border: 1px solid #5d473c;
  border-radius: 10px;
  background-color: #fff;
  padding: 10px 15px;
}

.contacts-btn:hover {
  text-decoration: none;
  color: #000;
}

/* footer */

.footer-container {
  max-width: 1148px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-list {
  display: flex;
  align-items: center;
}

.footer-list-item:not(:last-child) {
  margin-right: 30px;
}

.footer-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  color: #5d473c;
}

/* documents.html */

.documents {
  background-color: #5d473c;
}

.documents-title {
  font-weight: 500;
  font-size: 48px;
  color: #fff;
  margin-bottom: 50px;
}

.documents-list {
  display: flex;
  flex-wrap: wrap;
}

.documents-list-item {
  padding: 25px 45px;
  background: #e8e3df;
  border-radius: 20px;
}

.documents-list-item:nth-child(odd) {
  margin-right: 98px;
}

.documents-list-item:not(:nth-last-child(1)):not(:nth-last-child(2)) {
  margin-bottom: 30px;
}

.document-wrapper-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.document-description {
  font-size: 16px;
  max-width: 420px;
  text-align: center;
  margin-bottom: 15px;
  min-width: 420px;
}

.document-link {
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 20px;
}

/* document */

.document {
  background-color: #5d473c;
}

.document-title {
  font-weight: 500;
  font-size: 48px;
  color: #fff;
  margin-bottom: 50px;
  text-align: center;
}

