.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 20px 0;
  backdrop-filter: blur(38px);
  background: #faf8f5;
}

.header-logo {
  display: none;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #3d3d3d;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #b8860b;
}

.menu-btn {
  display: block;
  margin-left: auto;

  svg {
    fill: none;
    stroke: #3d3d3d;
    transition: stroke 0.3s ease;
  }
}

.menu-btn:hover {
  svg {
    stroke: #b8860b;
  }
}

@media screen and (min-width: 1440px) {
  .main-section {
    padding: 6px 0;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    display: block;
    width: 68px;
    transition: transform 0.3s ease;
  }

  .header-logo:hover {
    transform: scale(0.95);
  }

  .page-nav {
    display: block;
  }

  .page-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  .menu-btn {
    display: none;
  }
}

/* hero  */

.hero {
  padding: 100px 0;
  background-image: url(../images/home.webp);
  background-position: center;
  background-size: cover;
}

.hero-content {
  padding: 44px 0;
  border-top: 2px solid #b8860b;
  border-bottom: 2px solid #b8860b;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 36px;
  line-height: 122%;
  text-transform: uppercase;
  text-align: center;
  color: #3d3d3d;
  margin-bottom: 32px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #3d3d3d;
  margin-bottom: 22px;
}

.hero-desc {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #3d3d3d;
  margin-bottom: 44px;
}

.hero-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;

  display: block;
  border-radius: 10px;
  padding: 18px 52px;
  width: fit-content;
  margin: 0 auto;
  background: #b8860b;
  border: 2px solid #b8860b;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.hero-link:hover,
.hero-link:focus {
  color: #b8860b;
  background-color: #fff;
}

@media screen and (min-width: 1440px) {
  .hero {
    padding: 132px 0;
    padding-top: 152px;
  }

  .hero-content {
    width: 743px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 62px;
  }

  .hero-text {
    font-size: 20px;
  }

  .hero-desc {
    font-size: 16px;
  }
}

/* book  */

.book-container {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.book-text {
  margin-bottom: 22px;

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #7a7a7a;
    margin-bottom: 10px;
  }

  div {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #3d3d3d;
    margin-bottom: 22px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3d3d3d;
    margin-bottom: 6px;
  }
}

.book-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #7a7a7a;
  margin-bottom: 10px;
}

.book-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 42px;

  li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #7a7a7a;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #3d3d3d;
  }
}

.book-price {
  border: 1px solid #decb9e;
  border-radius: 10px;
  padding: 28px;
  background: #eee9dd;

  h4 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 30px;
    line-height: 127%;
    color: #b8860b;
    margin-bottom: 4px;
  }

  div {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 157%;
    color: #7a7a7a;
  }
}

@media screen and (min-width: 1440px) {
  .book-container {
    flex-direction: row;
    align-items: center;
  }

  .book-img {
    flex-shrink: 0;
  }
}

/* why  */

#why {
  background-image: url(../images/why.jpg);
  background-position: center;
  background-size: cover;
}

.why-content {
  border: 1px solid #e1ce9f;
  border-radius: 10px;
  padding: 42px 12px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background: #edebe8;
}

#why_list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  li {
    border: 1px solid #e1ce9f;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 16px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3d3d3d;

    span {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      width: 32px;
      height: 32px;
      background: #b8860b;
      flex-shrink: 0;
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 16px;
      line-height: 150%;
      text-align: center;
      color: #fff;
    }
  }
}

@media screen and (min-width: 1440px) {
  .why-content {
    width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 42px 22px;
  }
}

/* about  */

.about-content {
  border: 1px solid #e1ce9f;
  border-radius: 10px;
  padding: 42px 22px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
}

.about-wrap {
  padding: 62px 0;
  border-top: 2px solid #b8860b;
  border-bottom: 2px solid #b8860b;

  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-subtitle {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 133%;
  color: #3d3d3d;
  margin-bottom: 22px;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  color: rgba(61, 61, 61, 0.8);
}

@media screen and (min-width: 1440px) {
  #about {
    .title {
      text-align: start;
    }
  }
  .about-content {
    padding: 42px 22px;
    width: 1144px;
    margin: 0 auto;
  }

  .about-wrap {
    flex-direction: row;
    align-items: center;
  }

  .about-img {
    flex-shrink: 0;
  }
}

/* buy  */

#buy {
  background-image: url(../images/buy.jpg);
  background-position: center;
  background-size: cover;
}

.buy-wrapper {
  border: 1px solid #e1ce9f;
  border-radius: 10px;
  padding: 42px 12px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background: #edebe8;
}

.buy-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #7a7a7a;
  margin-bottom: 42px;
}

#consultation-form {
  input,
  textarea {
    width: 100%;
    resize: none;
    outline: none;

    border: 1px solid #edebe8;
    border-radius: 6px;
    background: #fff;
    padding: 6px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: rgba(61, 61, 61, 0.9);

    transition: background-color 0.3s ease;
  }

  textarea {
    height: 180px;
  }

  label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: rgba(61, 61, 61, 0.9);
    margin-bottom: 8px;
  }
}

.form-content {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-top: 2px solid #b8860b;
  border-bottom: 2px solid #b8860b;
  margin-bottom: 45px;
}

.modal-form {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222221;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-form.show {
  opacity: 1;
}

@media screen and (min-width: 1440px) {
  .buy-wrapper {
    width: 800px;
    margin: 0 auto;
  }
}

/* road  */

.road-content {
  padding: 62px 0;
  border-top: 2px solid #b8860b;
  border-bottom: 2px solid #b8860b;
}

.road-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-align: center;
  color: rgba(61, 61, 61, 0.8);
}

@media screen and (min-width: 1440px) {
  .road-content {
    width: 800px;
    margin: 0 auto;
  }
}

/* contact  */

#contact {
  background-image: url(../images/contact.webp);
  background-size: cover;
  background-position: top left;
}

.contact-wrapper {
  border-radius: 10px;
  padding: 42px 22px;
  background: #fff;
}

.contact-line {
  padding-bottom: 62px;
  border-bottom: 2px solid #b8860b;
}

.contact-mail {
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-align: center;
  color: #b8860b;
  margin-bottom: 12px;
}

.contact-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-align: center;
  color: rgba(61, 61, 61, 0.8);
  margin-bottom: 42px;
}

@media screen and (min-width: 1440px) {
  .contact-wrapper {
    width: 800px;
    margin: 0 auto;
  }
}

/* ************* page 2 **************/

/* contact  */

.conact-bg {
  border: 1px solid #e1ce9f;
  border-radius: 10px;
  padding: 42px 12px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
}

.new-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-align: center;
  color: rgba(61, 61, 61, 0.8);
}

@media screen and (min-width: 1440px) {
  .conact-bg {
    width: 890px;
    margin: 0 auto;
  }
}

/* information  */

.information-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border: 1px solid #d4cfc4;
    border-radius: 6px;
    padding: 25px;
    box-shadow:
      0 1px 2px -1px rgba(0, 0, 0, 0.1),
      0 1px 3px 0 rgba(0, 0, 0, 0.1);
    background: #fff;

    display: flex;
    align-items: center;
    gap: 16px;

    img {
      flex-shrink: 0;
    }

    p {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 14px;
      line-height: 143%;
      color: #7a7a7a;
      margin-bottom: 3px;
    }

    span {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 16px;
      line-height: 150%;
      color: #3d3d3d;
    }
  }
}

@media screen and (min-width: 768px) {
  .information-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1440px) {
  .information-list {
    width: 896px;
    margin: 0 auto;
    gap: 24px;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

/* faq  */

#faq {
  background-image: url(../images/faq.webp);
  background-position: center;
  background-repeat: no-repeat;
}

.faq-content {
  border: 1px solid #e1ce9f;
  border-radius: 10px;
  padding: 42px 22px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background: #edebe8;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  li {
    border: 1px solid #e1ce9f;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-transform: uppercase;
    color: rgba(61, 61, 61, 0.9);
    margin-bottom: 8px;
  }

  div {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #3d3d3d;
  }
}

@media screen and (min-width: 1440px) {
  .faq-content {
    width: 800px;
    margin: 0 auto;
  }
}

/* footer */

.footer {
  padding: 34px 0;
  background: #3d3d3d;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #fff;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #fff;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #b8860b;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1440px) {
  .footer {
    padding: 28px 0;
  }

  .footer-list {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 22px;
  }

  .footer-text {
    font-size: 14px;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8;
  padding: 60px;
  padding-top: 120px;
  backdrop-filter: blur(22px);
  background: #edebe8;
  transform: translateY(-100%);
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  background: #edebe8;
  padding: 30px;
  border: 2px solid #b8860b;
  transition: transform 1s ease;
}

.popup-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 163%;
  text-align: center;
  color: rgba(61, 61, 61, 0.8);
  margin-bottom: 34px;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  border: 2px solid #b8860b;
  display: block;
  border-radius: 10px;
  padding: 18px 36px;
  background: #b8860b;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.popup-btn:hover {
  color: #b8860b;
  background-color: #fff;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (min-width: 1440px) {
  .popup-wrap {
    flex-direction: row;
    gap: 30px;
    justify-content: center;

    button {
      width: 300px;
    }
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(135deg);
}

.popup-click {
  transform: translateY(200%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
