.ny-page {
  background: #fff;
  color: #241b3a;
}

.ny-page main {
  padding-top: 86px;
}

.ny-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ny-section {
  padding: 72px 0;
}

.ny-section__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: #241b3a;
}

.ny-section__lead {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #5e5674;
}

.ny-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ny-btn:hover {
  transform: translateY(-1px);
}

.ny-btn--pink {
  color: #fff;
  background: linear-gradient(180deg, #ff67ad 0%, #ef3d8f 100%);
  box-shadow: 0 12px 26px rgba(239, 61, 143, 0.32);
}

.ny-btn--ghost {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
}

.ny-btn--block {
  width: 100%;
}

.ny-btn:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.ny-page .navbar {
  top: 0 !important;
}

.ny-page .navbar .menu a[aria-current="page"] {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.ny-hero {
  padding: 12px 0 0;
  color: #fff;
}

.ny-hero__card {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(43, 32, 82, 0.16);
}

.ny-hero__media,
.ny-hero__shade {
  position: absolute;
  inset: 0;
}

.ny-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% center;
}

.ny-hero__shade {
  background: linear-gradient(90deg, rgba(18, 8, 36, 0.78) 0%, rgba(18, 8, 36, 0.42) 42%, rgba(18, 8, 36, 0.08) 68%);
}

.ny-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  padding: 48px 40px 88px;
}

.ny-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.ny-crumbs a {
  color: #fff;
}

.ny-hero .ny-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ny-hero h1 {
  margin: 0 0 14px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
}

.ny-hero__lead {
  margin: 0 0 24px;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.ny-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ny-perks {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding-bottom: 20px;
}

.ny-perks__grid,
.ny-formats__grid,
.ny-steps__grid,
.ny-gallery__grid,
.ny-faq__grid {
  display: grid;
  gap: 18px;
}

.ny-perks__grid,
.ny-formats__grid,
.ny-gallery__grid {
  grid-template-columns: repeat(3, 1fr);
}

.ny-perk,
.ny-format,
.ny-faq__item,
.ny-calc__card,
.ny-book__card {
  background: #fff;
  border: 1px solid rgba(43, 32, 82, 0.06);
  box-shadow: 0 16px 40px rgba(43, 32, 82, 0.1);
}

.ny-perk {
  padding: 26px 20px 22px;
  border-radius: 24px;
  text-align: center;
}

.ny-perk__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3eeff;
  color: #7347f5;
  font-size: 22px;
}

.ny-perk h2,
.ny-format h3,
.ny-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #241b3a;
}

.ny-perk p,
.ny-format p,
.ny-step p,
.ny-faq__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #655d78;
}

.ny-formats {
  padding-top: 36px;
}

.ny-formats__grid,
.ny-steps__grid,
.ny-gallery__grid,
.ny-faq__grid {
  margin-top: 28px;
}

.ny-format {
  border-radius: 24px;
  overflow: hidden;
}

.ny-format__photo {
  aspect-ratio: 5 / 4;
  background: #f3eeff;
}

.ny-format__photo img,
.ny-gallery__grid img,
.ny-book__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ny-format__body {
  padding: 18px 18px 20px;
}

.ny-format h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ny-format h3 i,
.ny-format__more {
  color: #ef3d8f;
}

.ny-format__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
}

.ny-format__more:hover {
  color: #c41e6e;
}

.ny-steps__grid {
  grid-template-columns: repeat(4, 1fr);
}

.ny-step__num {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3eeff;
  color: #6d4aff;
  font-weight: 700;
}

.ny-calc {
  background: #f7f3ff url("/images/newyear/background-calculator.webp") center / cover no-repeat;
}

.ny-calc__card,
.ny-book__card {
  border-radius: 28px;
}

.ny-calc__card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
}

.ny-calc__card h2,
.ny-book__form h2 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #241b3a;
}

.ny-calc__card p,
.ny-book__form .ny-book__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5e5674;
}

.ny-field {
  margin-top: 12px;
}

.ny-field label,
.ny-book__form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #3a3158;
}

.ny-control {
  position: relative;
}

.ny-control > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a74f6;
  pointer-events: none;
}

.ny-control--area > i {
  top: 16px;
  transform: none;
}

.ny-control input,
.ny-control select,
.ny-control textarea {
  width: 100%;
  border: 1px solid #e4def0;
  border-radius: 14px;
  background: #faf8ff;
  color: #241b3a;
  padding: 14px 40px 14px 42px;
}

.ny-control textarea {
  min-height: 92px;
  resize: vertical;
}

.ny-control select {
  appearance: none;
}

.ny-control input:focus,
.ny-control select:focus,
.ny-control textarea:focus {
  border-color: #b9a6ff;
  box-shadow: 0 0 0 3px rgba(115, 71, 245, 0.12);
}

.ny-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8d86a3;
  pointer-events: none;
  font-size: 12px;
}

.ny-form-status {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #0d4f26;
}

.ny-form-status.is-error {
  color: #7a1f2e;
}

.ny-calc .ny-btn {
  margin-top: 14px;
}

.ny-gallery__grid img {
  aspect-ratio: 1;
  border-radius: 24px;
}

.ny-faq__grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.ny-faq__item {
  border-radius: 18px;
  box-shadow: none;
  border: 1px solid #eee8f6;
}

.ny-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.ny-faq__item summary::-webkit-details-marker {
  display: none;
}

.ny-faq__plus {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3eeff;
  color: #6d4aff;
  font-size: 12px;
}

.ny-faq__item .fa-minus {
  display: none;
}

.ny-faq__item[open] .fa-plus {
  display: none;
}

.ny-faq__item[open] .fa-minus {
  display: inline;
}

.ny-faq__item p {
  padding: 0 16px 16px;
}

.ny-book {
  padding-top: 20px;
}

.ny-book__card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  min-height: 460px;
}

.ny-book__visual {
  min-height: 280px;
  background: #efe8ff;
}

.ny-book__form {
  padding: 36px 32px;
}

.ny-book__form .ny-btn {
  margin-top: 8px;
}

.ny-footer {
  padding: 28px 0 22px;
  background: #fbf9ff;
  border-top: 1px solid rgba(43, 32, 82, 0.06);
}

.ny-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
}

.ny-footer__logo img {
  width: 108px;
  height: auto;
}

.ny-footer__socials h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #241b3a;
}

.ny-footer__links {
  display: flex;
  gap: 8px;
}

.ny-footer__links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #efeaff;
  color: #6d4aff;
}

.ny-footer__phone,
.ny-footer__tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.ny-footer__phone {
  color: #241b3a;
  background: #fff;
  box-shadow: 0 8px 20px rgba(43, 32, 82, 0.08);
}

.ny-footer__tg {
  color: #fff;
  background: #2aa3e0;
}

.ny-footer__copy {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: #8a849c;
}

.ny-footer__copy a {
  color: #6d4aff;
}

@media screen and (max-width: 1024px) {
  .ny-hero h1,
  .ny-section__title,
  .ny-calc__card h2,
  .ny-book__form h2 {
    font-size: 34px;
  }

  .ny-steps__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ny-calc__card,
  .ny-book__card {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .ny-page main {
    padding-top: 72px;
  }

  .ny-hero {
    padding-top: 8px;
  }

  .ny-hero__card {
    display: block;
    min-height: 0;
    border-radius: 24px;
  }

  .ny-hero__media {
    position: relative;
    height: 360px;
  }

  .ny-hero__shade {
    background: linear-gradient(180deg, rgba(18, 8, 36, 0) 55%, rgba(18, 8, 36, 0.35) 100%);
  }

  .ny-hero__media img {
    object-position: center top;
  }

  .ny-hero__content {
    max-width: none;
    padding: 22px 18px 28px;
    background: #2a1848;
  }

  .ny-hero h1 {
    font-size: 32px;
  }

  .ny-hero__actions,
  .ny-hero__actions .ny-btn {
    width: 100%;
  }

  .ny-perks {
    margin-top: 0;
    padding-top: 22px;
  }

  .ny-section {
    padding: 48px 0;
  }

  .ny-perks__grid,
  .ny-formats__grid,
  .ny-steps__grid,
  .ny-gallery__grid,
  .ny-faq__grid {
    grid-template-columns: 1fr;
  }

  .ny-calc__card,
  .ny-book__form {
    padding: 22px 16px;
  }

  .ny-footer__row {
    justify-content: center;
    text-align: center;
  }

  .ny-footer__socials,
  .ny-footer__links {
    justify-content: center;
  }

  .ny-footer__socials {
    width: 100%;
  }

  .ny-footer__links {
    display: flex;
  }
}
