.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 16px 0;
  backdrop-filter: blur(38px);
  background: #1a1a1a;
}

.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: 600;
  font-size: 16px;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #ffb900;
}

.menu-btn {
  display: block;
  margin-left: auto;

  svg {
    fill: none;
    stroke: #fff;
    transition: stroke 0.3s ease;
  }
}

.menu-btn:hover {
  svg {
    stroke: #ffb900;
  }
}

@media screen and (min-width: 1440px) {
  .main-section {
    padding: 9px 0;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    display: block;
    width: 62px;
    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: 52px;
  }

  .menu-btn {
    display: none;
  }
}

/* hero  */

.hero {
  padding-top: 100px;
  padding-bottom: 80px;
  background-image: url(../images/home.webp);
  background-position: center;
  background-size: cover;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 42px;
  line-height: 119%;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;

  span {
    color: #ffb900;
  }
}

.hero-text {
  margin-bottom: 22px;
}

.hero-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  text-align: center;
  color: #1a1a1a;

  display: block;
  border-radius: 32px;
  padding: 18px 52px;
  width: fit-content;
  margin-top: 44px;
  background: linear-gradient(270deg, #ffb900 0%, #e27300 100%);
  transition: box-shadow 0.3s ease;
}

.hero-link:hover,
.hero-link:focus {
  box-shadow: 5px 5px 10px rgba(255, 185, 0, 0.5);
}

.hero-img {
  display: none;
}

@media screen and (min-width: 1440px) {
  .hero {
    padding-top: 106px;
    padding-bottom: 0;
  }

  .hero-container {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .hero-img {
    display: block;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 62px;
  }

  .hero-text {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .hero-desc {
    font-size: 16px;
  }
}

/* about  */

#about {
  padding-bottom: 0;
}

.about-wrap {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.about-text {
  margin-bottom: 14px;
}

.about-img {
  /* width: 327px; */
}

@media screen and (min-width: 1440px) {
  #about {
    padding: 60px 0;
  }

  .about-wrap {
    flex-direction: row;
    align-items: center;
    gap: 100px;
  }

  .about-img {
    width: auto;
    flex-shrink: 0;
  }
}

/* book  */

.book-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 22px;
}

.book-text {
  margin-bottom: 14px;
}

.book-img {
  /* width: 330px; */
}

@media screen and (min-width: 1440px) {
  .book-container {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .book-img {
    flex-shrink: 0;
  }
}

/* what  */

#what {
  padding-bottom: 0;
}

.what-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.what-img {
  width: 176px;
}

.what-text {
  margin-bottom: 16px;
}

.what-list {
  padding: 25px;
  border: 1px solid rgba(254, 154, 0, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);

  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    p {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 16px;
      line-height: 163%;
      color: #fff;
      margin-bottom: 1px;
    }

    span {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 14px;
      line-height: 143%;
      color: #99a1af;
    }
  }
}

@media screen and (min-width: 768px) {
  .what-img {
    width: 276px;
  }
}

@media screen and (min-width: 1440px) {
  #what {
    position: relative;
    padding-bottom: 100px;
  }

  .what-content {
    display: block;
  }

  .what-desctop {
    width: 592px;
  }

  .what-img {
    width: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(150px);
  }
}

/* who  */

.who-text {
  margin-bottom: 22px;

  span {
    color: #ffb900;
  }
}

.who-list {
  display: flex;
  flex-direction: column;
  gap: 42px;
  margin-bottom: 22px;

  li {
    padding: 17px;
    border: 1px solid rgba(254, 154, 0, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 163%;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
  }

  div {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: -0.01em;
    color: #99a1af;
  }
}

@media screen and (min-width: 768px) {
  .who-list {
    flex-direction: row;

    li {
      width: calc((100% - 42px) / 2);
    }
  }
}

@media screen and (min-width: 1440px) {
  .who-container {
    width: 1002px;
  }
}

/* info  */

#info {
  background:
    url(../images/bg.webp), linear-gradient(180deg, #1a1a1a 0%, #393939 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.info-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 42px;

  li {
    border: 1px solid rgba(254, 154, 0, 0.1);
    border-radius: 10px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: -0.01em;
    color: #99a1af;
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0.01em;
    color: #fff;
  }

  div {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0.01em;
    color: #ffb900;
  }
}

.info-text {
  margin-bottom: 17px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .info-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1440px) {
  .info-list {
    width: 896px;
    margin: 0 auto;
    margin-bottom: 42px;
  }
}

/* price  */

#price {
  background-image:
    url(../images/home.webp), linear-gradient(180deg, #1a1a1a 0%, #393939 100%);
  background-position: center;
  background-size: cover;
}

.price-wrap {
  border: 1px solid rgba(254, 154, 0, 0.3);
  border-radius: 16px;
  padding: 42px 62px;
  background: rgba(255, 255, 255, 0.1);
}

.price-numer {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 72px;
  line-height: 100%;
  text-align: center;
  color: #ffb900;
  margin-bottom: 42px;

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 133%;
    text-align: center;
    color: #d1d5dc;
  }
}

.price-text {
  text-align: center;
  margin-bottom: 14px;

  span {
    color: #ffb900;
  }
}

@media screen and (min-width: 1440px) {
  .price-wrap {
    width: 760px;
    margin: 0 auto;
    padding: 42px 62px;
  }
}

/* buy  */

#buy {
  padding-bottom: 0;
  background:
    url(../images/bg.webp), linear-gradient(180deg, #1a1a1a 0%, #393939 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#consultation-form {
  div {
    width: 100%;
  }
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 32px;

  input,
  textarea {
    width: 100%;
    resize: none;
    outline: none;

    border: 1px solid rgba(254, 154, 0, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 163%;
    color: #d1d5dc;

    transition: background-color 0.3s ease;
  }

  textarea {
    height: 122px;
  }

  label {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: -0.01em;
    color: #99a1af;
    margin-bottom: 8px;
  }

  button {
    width: 100%;
    margin: 0;
  }
}

.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;
}

.buy-images {
  display: flex;
  justify-content: center;
  margin-top: 21px;
  img {
    width: 50%;
  }
}
@media screen and (min-width: 768px) {
  .buy-images {
    gap: 30px;

    img {
      width: 30%;
    }
  }
}

@media screen and (min-width: 1440px) {
  #buy {
    padding-bottom: 100px;
    position: relative;
  }

  #consultation-form {
    width: 672px;
    margin: 0 auto;
    margin-top: 32px;
    max-width: 100%;
  }

  .buy-images {
    .buy-img1 {
      position: absolute;
      width: auto;
      bottom: 0;
      left: 50%;
      transform: translateX(-750px);
    }

    .buy-img2 {
      position: absolute;
      width: auto;
      bottom: 0;
      left: 50%;
      transform: translateX(400px);
    }
  }
}

/* last */

#last {
  background: linear-gradient(180deg, #1a1a1a 0%, #393939 100%);
}

.last-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.last-text {
  margin-bottom: 14px;
}

@media screen and (min-width: 1440px) {
  .last-container {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .last-img {
    flex-shrink: 0;
  }
}

/* ************* page 2 **************/

/* contact  */

.contact {
  position: relative;
  overflow: hidden;
  padding-bottom: 392px;
}

.new-text {
  text-align: center;
  margin-bottom: 12px;
}

.contact-img2 {
  display: none;
}

.contact-img1 {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
}

@media screen and (min-width: 1440px) {
  .contact {
    padding: 0;
    padding-top: 20px;
  }

  .contact-container {
    display: flex;
    align-items: center;
  }

  .contact-img2 {
    display: block;
    flex-shrink: 0;
    transform: translateY(40px);
  }

  .contact-img1 {
    position: static;
    bottom: auto;
    left: auto;
    transform: translateX(0);
    width: auto;
    flex-shrink: 0;
  }
}

/* united  */

#united {
  background: url(../images/bg.webp);
  background-position: center;
  background-repeat: no-repeat;
}

.united-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.inform-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.information-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border: 1px solid rgba(254, 154, 0, 0.1);
    border-radius: 10px;
    padding: 17px;
    background: rgba(255, 255, 255, 0.05);

    p {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 14px;
      line-height: 143%;
      letter-spacing: -0.01em;
      color: #99a1af;
    }

    a,
    span {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 16px;
      line-height: 150%;
      letter-spacing: -0.02em;
      color: #fff;
      transition: color 0.3s ease;
    }

    a:hover {
      color: #ffb900;
    }
  }
}

@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1440px) {
  .united-container {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 60px;
  }

  .form-wrapper {
    width: calc((100% - 60px) / 2);
    /* width: 572px; */
    flex-shrink: 0;
  }

  .information-list {
  }
}

/* footer */

.footer {
  padding: 40px 0;
  background: #1a1a1a;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px 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: #ffb900;
  }
}

.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;
  transform: translateY(-100%);
  padding-top: 120px;
  backdrop-filter: blur(22px);
  background: #393939;
  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%);
  backdrop-filter: blur(22px);
  background: #393939;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid #ffb900;
  transition: transform 1s ease;
}

.popup-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.popup-btn {
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;

  button {
    margin: 0;
    width: 100%;
  }
}

@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;
}
