.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding-bottom: 12px;
  background: #f4f1e1;
  border-bottom: 2px solid #0f3a8d;
}

.header-container {
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #0f3a8d;
  }

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f3a8d;
  }
}

.header-logo:hover {
  span {
    text-decoration: underline;
  }
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration-skip-ink: none;
  color: #0f3a8d;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1440px) {
  .header {
    padding: 30px 0;
  }

  .header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    span {
      font-size: 30px;
    }
  }

  .page-nav-link {
    font-size: 20px;
  }
}

/* hero  */

.hero-container {
  padding-top: 100px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 62px;
  line-height: 90%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #0f3a8d;
  margin-bottom: 40px;
}

.hero-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 111%;
  color: rgba(15, 58, 141, 0.9);
  margin-bottom: 40px;
}

.hero-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 34px;
  line-height: 120%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4f1e1;
  text-align: center;

  display: block;
  padding: 27px;
  margin-top: 44px;
  border: 2px solid #0f3a8d;
  background: #0f3a8d;
  transition: box-shadow 0.3s ease;
}

.hero-link:hover,
.hero-link:focus {
  background-color: #f4f1e1;
  color: #0f3a8d;
}

.hero-img {
  margin: 0 auto;
}

@media screen and (min-width: 1440px) {
  .hero-title {
    font-size: 88px;
    margin-bottom: 39px;
  }

  .hero-text {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .hero-link {
    font-size: 30px;
  }
}

/* what  */

.what-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  margin-bottom: 21px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 256px;
    max-width: 100%;

    font-family: var(--second-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: -0.03em;
    color: rgba(244, 241, 225, 0.9);

    img {
      flex-shrink: 0;
    }
  }
}

.what-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: rgba(244, 241, 225, 0.9);
  margin-bottom: 17px;
}

.what-desc {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 225, 0.9);
}

.eye-img {
  margin: 0 auto;
  margin-bottom: 45px;
}

.eye-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 21px;
  line-height: 125%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(15, 58, 141, 0.9);
  margin-bottom: 45px;
}

.eye-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 45px;

  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: rgba(15, 58, 141, 0.9);
}

.eye-desc {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 25px;
  line-height: 120%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #0f3a8d;
}

@media screen and (min-width: 1440px) {
  .what-list {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;

    li {
      width: calc((100% - 32px) / 2);
    }
  }

  .what-desc {
    border-top: 2px solid rgba(244, 241, 225, 0.3);
    padding-top: 11px;
  }

  .eye-title {
    font-size: 30px;
    padding-top: 36px;
    border-top: 2px solid #0f3a8d;
    width: 416px;
    margin: 0 auto;
    margin-bottom: 56px;
  }

  .eye-list {
    gap: 16px;
    font-size: 24px;
    width: 400px;
    margin: 0 auto;
    padding-left: 28px;
    border-left: 2px solid #0f3a8d;
    margin-bottom: 48px;
  }

  .eye-desc {
    font-size: 30px;
    width: 360px;
    margin: 0 auto;
  }
}

/* power  */

.power-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 138%;
  letter-spacing: -0.03em;
  color: rgba(15, 58, 141, 0.9);
  margin-bottom: 32px;
}
.power-desc {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 125%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(15, 58, 141, 0.9);
  margin-bottom: 32px;
}

.power-img {
  margin: 0 auto;
}

@media screen and (min-width: 1440px) {
  #power {
    .title {
      font-size: 82px;
    }
  }

  .power-container {
    align-items: center;
  }

  .power-text {
    margin-bottom: 16px;
  }

  .power-desc {
    font-size: 36px;
    padding-bottom: 32px;
    border-bottom: 2px solid #0f3a8d;
  }
}

/* balance  */

.balance-text {
  font-family: var(--second-family);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: rgba(15, 58, 141, 0.9);
  margin-bottom: 42px;
}

.balance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;

  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 133%;
  letter-spacing: -0.03em;
  color: #0f3a8d;
  margin-bottom: 42px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  img {
    flex-shrink: 0;
  }
}

.balance-desc {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 58, 141, 0.9);
}

.write-sub-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 30px;
  line-height: 120%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4f1e1;
  margin-bottom: 36px;
}

.write-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: rgba(244, 241, 225, 0.9);
  margin-bottom: 36px;
}

.write-desc {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(244, 241, 225, 0.9);
  padding-top: 36px;
  border-top: 2px solid rgba(244, 241, 225, 0.3);
}

/* book  */

.book-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;

  li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 2px solid rgba(15, 58, 141, 0.2);
  }

  p,
  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 133%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f3a8d;
  }
}

.book-desc {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  text-align: center;
  color: rgba(15, 58, 141, 0.9);

  padding: 52px 24px;
  border: 4px solid #0f3a8d;
}

.book-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  text-align: center;
  color: rgba(244, 241, 225, 0.9);
  margin-bottom: 44px;
}

.book-subtitle {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #f4f1e1;
  margin-bottom: 44px;
}

@media screen and (min-width: 1440px) {
  .book-subtitle {
    padding-bottom: 44px;
    border-bottom: 4px solid rgba(244, 241, 225, 0.3);
  }

  .book-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* buy  */

.buy-price {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 100px;
  line-height: 128%;
  color: #0f3a8d;
  margin-bottom: 39px;

  span {
    font-size: 60px;
    line-height: 100%;
  }
}

.buy-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: rgba(15, 58, 141, 0.9);
  margin-bottom: 17px;
}

.buy-desc {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 58, 141, 0.9);
}

.form-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 133%;
  letter-spacing: -0.03em;
  color: #f4f1e1;
  text-align: center;
  margin-bottom: 17px;
}

#consultation-form {
  div {
    width: 100%;
  }
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  input,
  textarea {
    width: 100%;
    resize: none;
    outline: none;
    border: 1px solid transparent;
    background: #f4f1e1;
    padding: 6px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 163%;
    color: #0f3a8d;

    transition: background-color 0.3s ease;
  }

  textarea {
    height: 116px;
  }

  label {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f4f1e1;
    margin-bottom: 12px;
  }

  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-price {
    font-size: 128px;

    span {
      font-size: 60px;
    }
  }
}

@media screen and (min-width: 1440px) {
  #consultation-form {
    width: 464px;
    margin: 0 auto;
    max-width: 100%;
  }
}

/* ************* page 2 **************/

/* contact  */

@media screen and (min-width: 1440px) {
  .hero-contact {
    display: flex;
    align-items: center;
  }
}

/* united  */

.information-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 70px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 24px;

    p {
      font-family: var(--font-family);
      font-weight: 500;
      font-size: 24px;
      line-height: 133%;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #f4f1e1;
      margin-bottom: 8px;
    }

    a,
    span {
      font-family: var(--font-family);
      font-weight: 700;
      font-size: 24px;
      line-height: 133%;
      letter-spacing: 0.05em;
      color: #f4f1e1;
    }

    a:hover {
      text-decoration: underline;
    }
  }
}

.info-title {
  padding: 46px 16px;
  background: #f4f1e1;

  div {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;

    img {
      flex-shrink: 0;
    }

    span {
      font-family: var(--font-family);
      font-weight: 700;
      font-size: 24px;
      line-height: 133%;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #0f3a8d;
    }
  }

  p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: #0f3a8d;
  }
}

.contact-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #0f3a8d;
  margin-bottom: 18px;
}

#united {
  .final-form {
    input,
    textarea {
      background: rgba(15, 58, 141, 0.05);
    }

    label {
      font-family: var(--font-family);
      font-weight: 500;
      font-size: 20px;
      line-height: 140%;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #0f3a8d;
    }
  }
}

.form-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media screen and (min-width: 1440px) {
  #united {
    .final-form {
      width: 100%;
    }
  }
  .form-flex {
    flex-direction: row;

    .form-group {
      width: calc((100% - 32px) / 2);
    }
  }

  .info-title {
    padding: 36px;
  }
}

/* footer */

.footer {
  background: #0f3a8d;
  margin-top: 14px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 45px;
  margin-bottom: 90px;
}

.footer-section {
  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 133%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f4f1e1;

    padding-bottom: 24px;
    border-bottom: 2px solid rgba(244, 241, 225, 0.3);

    margin-bottom: 16px;
  }
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  a {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #f4f1e1;
  }

  a:hover {
    text-decoration: underline;
  }
}

.footer-title {
  a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  a:hover {
    span {
      text-decoration: underline;
    }
  }

  div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f4f1e1;
  }

  span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 23px;
    line-height: 133%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f4f1e1;
  }

  p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 163%;
    color: #f4f1e1;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #f4f1e1;
}

@media screen and (min-width: 1440px) {
  .footer {
    margin: 38px 0;

    .block {
      width: 100%;
    }
  }

  .footer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding-bottom: 48px;
    border-bottom: 2px solid rgba(244, 241, 225, 0.2);
    margin-bottom: 35px;
  }

  .footer-section,
  .footer-title {
    width: calc((100% - 72px) / 4);
  }

  .footer-list {
  }

  .footer-text {
  }
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #f4f1e1;
  padding: 30px;
  border: 4px solid #0f3a8d;
  transition: transform 1s ease;
}

.popup-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: rgba(15, 58, 141, 0.9);
  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-title {
    font-size: 36px;
  }

  .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;
}
