/* ==========================================================================
   ДЕРЕВНЯ ТЕРЕХУНЬ
   Единый стандарт верхнего Hero по эталону /domiki/
   v1 / 2026-09-16
   ========================================================================== */

/* Верхний Hero */
section.hero {
  height: 610px !important;
  position: relative !important;
  color: #fff !important;
}

/* Контейнер текста Hero */
section.hero > .hero-inner,
section.hero > .shell.hero-inner {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 104px !important;
  padding-left: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* H1 полностью повторяет /domiki/ */
section.hero h1 {
  margin: 0 !important;
  max-width: 940px !important;
  color: #fff !important;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif !important;
  font-size: clamp(50px, 5.8vw, 78px) !important;
  font-weight: 420 !important;
  font-style: normal !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}

/* Только описание верхнего Hero.
   Не переопределяем тексты внутри booking-формы. */
section.hero > .hero-inner > h1 + p,
section.hero > .shell.hero-inner > h1 + p,
section.hero > .hero-inner > .hero-description,
section.hero > .shell.hero-inner > .hero-description {
  max-width: 760px !important;
  margin: 24px 0 0 !important;
  color: rgba(255,255,255,.90) !important;
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

/* Booking внутри Hero по размеру /domiki/ */
section.hero > form.booking,
section.hero .booking {
  position: absolute !important;
  left: 50% !important;
  bottom: -36px !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
  width: min(1080px, calc(100% - 64px)) !important;
  height: 76px !important;
  padding: 8px !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 55px rgba(7,31,23,.22) !important;
  grid-template-columns: 1fr 1fr 1.25fr 196px !important;
  color: #1e2925 !important;
}

section.hero .booking label {
  padding: 8px 20px !important;
}

section.hero .booking label > span {
  font-size: 12px !important;
  margin-bottom: 3px !important;
}

section.hero .booking input,
section.hero .booking select {
  font-family: Aptos, "Segoe UI", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

section.hero .booking .btn {
  height: 60px !important;
  align-self: center !important;
}

/* Tablet: как у /domiki/ */
@media (max-width: 1080px) {
  section.hero {
    height: 560px !important;
  }

  section.hero > .hero-inner,
  section.hero > .shell.hero-inner {
    padding-bottom: 78px !important;
  }

  section.hero > form.booking,
  section.hero .booking {
    display: none !important;
  }
}

/* Mobile: как у /domiki/ */
@media (max-width: 680px) {
  section.hero {
    height: 530px !important;
  }

  section.hero h1 {
    font-size: 46px !important;
  }

  section.hero > .hero-inner > h1 + p,
  section.hero > .shell.hero-inner > h1 + p,
  section.hero > .hero-inner > .hero-description,
  section.hero > .shell.hero-inner > .hero-description {
    font-size: 17px !important;
  }
}
