/* Главная страница — самостоятельный визуальный слой. */

body.home-page {
  background: #f5f3ee;
  color: #17211f;
}

.home-page .site-header {
  position: relative;
  z-index: 10;
}

.home-page .header-main {
  border-bottom-color: rgba(23, 33, 31, .08);
}

.home-page .hero.home-hero {
  isolation: isolate;
  min-height: min(720px, calc(100svh - 112px));
  display: grid;
  align-items: center;
  background: #111817;
  padding: clamp(56px, 7vw, 112px) 0;
}

.home-page .hero.home-hero::before {
  display: none;
}

.home-hero__backdrop,
.home-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__backdrop {
  z-index: -2;
  object-fit: cover;
  object-position: 65% center;
}

.home-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 16, 15, .96) 0%, rgba(10, 16, 15, .9) 36%, rgba(10, 16, 15, .5) 62%, rgba(10, 16, 15, .16) 100%),
    linear-gradient(0deg, rgba(10, 16, 15, .65) 0%, transparent 48%);
}

.home-page .hero__inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.home-page .hero__content {
  max-width: 740px;
}

.home-page .hero__badge {
  padding: 8px 12px;
  border-color: rgba(196, 222, 207, .28);
  background: rgba(196, 222, 207, .1);
  color: #e3eee8;
  font-size: .7rem;
  letter-spacing: .11em;
}

.home-page .hero__badge-dot {
  background: #9fd5bd;
  box-shadow: 0 0 0 4px rgba(159, 213, 189, .13);
}

.home-page .hero__title {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.2vw, 5.15rem);
  letter-spacing: -.065em;
  line-height: .98;
  text-shadow: none;
}

.home-page .hero__title em {
  color: #b6dcc8;
  font-weight: 600;
}

.home-page .hero__subtitle {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(247, 246, 241, .72);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

.home-page .hero__actions {
  gap: 12px;
}

.home-page .hero .btn--red,
.home-page .header-cta .btn--red,
.home-page .cta-band .btn--red {
  background: #b6dcc8;
  box-shadow: none;
  color: #142019;
}

.home-page .hero .btn--red:hover,
.home-page .header-cta .btn--red:hover,
.home-page .cta-band .btn--red:hover {
  background: #d6eadf;
  color: #142019;
  transform: translateY(-1px);
}

.home-page .hero .btn--maks {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.home-page .hero__trust {
  gap: 11px 22px;
  margin-top: 34px;
}

.home-page .hero__trust-item {
  color: rgba(247, 246, 241, .72);
}

.home-page .hero__trust-item svg {
  color: #b6dcc8;
}

.home-page .hero__form {
  max-width: 430px;
  margin-left: auto;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 24px;
  background: rgba(248, 247, 241, .93);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  backdrop-filter: blur(14px);
}

.home-page .hero__form-title {
  color: #17211f;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.home-page .hero__form-sub {
  color: #65716a;
}

.home-page .hero__form .form-field__input {
  border-color: #d8ddd5;
  background: rgba(255, 255, 255, .72);
}

.home-page .trust-bar {
  background: #17211f;
  padding: 18px 0;
}

.home-page .trust-bar__grid {
  gap: 8px;
}

.home-page .trust-item {
  align-items: flex-start;
  padding: 8px 14px;
  text-align: left;
}

.home-page .trust-item__icon {
  display: none;
}

.home-page .trust-item__val {
  color: #b6dcc8;
  font-size: 1rem;
  letter-spacing: -.025em;
}

.home-page .trust-item__lbl {
  color: rgba(255, 255, 255, .62);
}

.home-page .section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.home-page .section--light {
  background: #ebe9e2;
}

.home-page .section-title {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: #17211f;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  letter-spacing: -.06em;
  line-height: 1.04;
}

.home-page .section-sub {
  color: #69716b;
}

.home-page .services-grid {
  gap: 12px;
}

.home-page .service-card {
  min-height: 292px;
  padding: 26px;
  border: 1px solid #dfe1d9;
  border-radius: 20px;
  background: #fbfaf6;
  box-shadow: none;
}

.home-page .service-card:hover {
  border-color: #b6dcc8;
  box-shadow: 0 18px 36px rgba(27, 39, 35, .08);
  transform: translateY(-5px);
}

.home-page .service-card__icon {
  width: auto;
  height: auto;
  margin: 0 0 20px;
  border-radius: 0;
  background: transparent;
  color: #8d9e94;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.home-page .service-card:hover .service-card__icon {
  background: transparent;
  color: #426f5a;
}

.home-page .service-card__title {
  color: #17211f;
  font-size: 1.12rem;
  letter-spacing: -.03em;
}

.home-page .service-card__desc {
  color: #69716b;
}

.home-page .service-card__price,
.home-page .service-card__link {
  color: #426f5a;
}

.home-editorial {
  overflow: hidden;
  padding: clamp(72px, 10vw, 150px) 0;
  background: #17211f;
  color: #f6f4ee;
}

.home-editorial__grid {
  display: grid;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.home-editorial__image {
  margin: 0;
  overflow: hidden;
  border-radius: 2px 88px 2px 2px;
  aspect-ratio: 4 / 4.75;
  background: #2b3732;
}

.home-editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-editorial__content {
  max-width: 620px;
}

.home-kicker {
  margin-bottom: 18px;
  color: #b6dcc8;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-editorial h2 {
  margin-bottom: 24px;
  color: #f6f4ee;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  letter-spacing: -.065em;
  line-height: 1.02;
}

.home-editorial__content > p:not(.home-kicker) {
  max-width: 550px;
  color: rgba(246, 244, 238, .68);
  font-size: 1.05rem;
}

.home-editorial__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.home-editorial__facts div {
  display: grid;
  grid-template-columns: minmax(92px, auto) 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.home-editorial__facts strong {
  color: #b6dcc8;
  font-size: .94rem;
}

.home-editorial__facts span {
  color: rgba(246, 244, 238, .62);
  font-size: .82rem;
}

.home-editorial__link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #f6f4ee;
  font-weight: 700;
}

.home-editorial__link span {
  color: #b6dcc8;
  font-size: 1.2rem;
}

.home-page .how-step,
.home-page .review-card,
.home-page .faq-item {
  border-color: #d8dad2;
  box-shadow: none;
}

.home-page .how-step {
  border-radius: 18px;
}

.home-page .how-step__icon,
.home-page .review-avatar {
  background: #dceae1;
}

.home-page .cta-band {
  background: #b6dcc8;
}

.home-page .cta-band__title,
.home-page .cta-band__desc {
  color: #17211f;
}

.home-page .cta-band .btn--red {
  background: #17211f;
  color: #f6f4ee;
}

.home-page .cta-band .btn--red:hover {
  background: #2d3d37;
  color: #fff;
}

@media (min-width: 760px) {
  .home-page .hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  }

  .home-editorial__grid {
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  }

  .home-editorial__image {
    max-height: 650px;
  }
}

@media (max-width: 759px) {
  .home-page .hero.home-hero {
    min-height: 0;
  }

  .home-hero__backdrop {
    object-position: 72% center;
  }

  .home-hero__veil {
    background: linear-gradient(90deg, rgba(10, 16, 15, .92), rgba(10, 16, 15, .67)), linear-gradient(0deg, rgba(10, 16, 15, .82), rgba(10, 16, 15, .25));
  }

  .home-page .hero__title {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .home-page .hero__form {
    margin: 0;
  }

  .home-page .trust-item {
    padding: 8px;
  }

  .home-editorial__image {
    max-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .service-card,
  .home-page .hero .btn--red {
    transition: none;
  }
}
