:root {
  --color-milk: #f5f0e8;
  --color-cream: #faf7f2;
  --color-white: #ffffff;
  --color-green: #2d4a3e;
  --color-green-light: #3f6354;
  --color-green-soft: #e8efe9;
  --color-brown: #5c4033;
  --color-brown-light: #8b6f5c;
  --color-text: #3a342e;
  --color-text-muted: #6b635a;
  --color-border: rgba(45, 74, 62, 0.12);
  --shadow-soft: 0 12px 40px rgba(45, 74, 62, 0.08);
  --shadow-card: 0 8px 24px rgba(45, 74, 62, 0.06);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 84px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-green);
  text-decoration: none;
}

a:hover {
  color: var(--color-brown);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}

.section--soft {
  background: var(--color-milk);
}

.section__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brown-light);
}

.section__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-green);
}

.section__lead {
  max-width: 720px;
  margin: 0 0 40px;
  font-size: 1.08rem;
  color: var(--color-text-muted);
}

.brand-stress {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-green);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-green-light);
  color: var(--color-white);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-green);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  background: var(--color-green-soft);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
}

.logo img {
  width: 180px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  color: var(--color-text);
}

.nav a:hover {
  color: var(--color-green);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  font-weight: 700;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-green-soft);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-green);
}

.hero {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 120px;
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(45, 74, 62, 0.72) 0%,
      rgba(45, 74, 62, 0.42) 42%,
      rgba(45, 74, 62, 0.55) 72%,
      rgba(35, 48, 42, 0.82) 100%
    );
}

.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 48px - 120px);
  padding-bottom: 16px;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero__logo img {
  width: 100%;
  max-width: 380px;
  height: auto;
}

@media (min-width: 1025px) {
  .hero__logo img {
    max-width: 420px;
    transform: scale(2);
    transform-origin: center center;
  }
}

.hero__search {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  padding: 0 0 28px;
  background: transparent;
  overflow: visible;
}

.hero__search .container {
  padding-top: 0;
  overflow: visible;
}

.hero__search .widget-loading {
  color: rgba(255, 255, 255, 0.88);
}

.hero__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-milk);
  font-size: 14px;
  font-weight: 600;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--color-white);
}

.hero__title span {
  color: #d8e8dc;
}

.hero__text {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__fact {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-grid__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.quote-card {
  padding: 28px;
  border-left: 4px solid var(--color-green);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.quote-card__word {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-green);
}

.quote-card__meaning {
  margin: 0;
  color: var(--color-text-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stat__value {
  display: block;
  margin-bottom: 6px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-green);
}

.stat__label {
  font-size: 14px;
  color: var(--color-text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-green-soft);
  color: var(--color-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--color-green);
}

.card__text {
  margin: 0;
  color: var(--color-text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--color-green-soft);
  color: var(--color-green);
  font-size: 24px;
}

.feature__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--color-green);
}

.feature__text {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-section__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.sauna-block {
  margin-top: 56px;
}

.pool-block {
  margin-top: 40px;
}

.pool-block__title,
.sauna-block__title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--color-green);
}

.pool-block__text,
.sauna-block__text {
  max-width: 760px;
  margin: 0;
  color: var(--color-text-muted);
}

.pool-block__photo {
  margin-top: 28px;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.pool-block__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.pool-block__photo img:hover {
  transform: scale(1.02);
}

.sauna-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.sauna-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.sauna-gallery img:hover {
  transform: scale(1.02);
}

.atmosphere-block {
  margin-top: 56px;
}

.atmosphere-block__title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--color-green);
}

.atmosphere-block__text {
  max-width: 760px;
  margin: 0;
  color: var(--color-text-muted);
}

.atmosphere-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.atmosphere-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.atmosphere-gallery img:hover {
  transform: scale(1.02);
}

.list-check {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.price-box {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--color-green);
  color: var(--color-white);
}

.price-box--sauna {
  margin-top: 32px;
}

.price-box__title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.price-box__text {
  margin: 0;
  opacity: 0.92;
}

.booking-section {
  background: linear-gradient(180deg, var(--color-milk) 0%, var(--color-cream) 100%);
}

.booking-widget {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

#hr-widget[data-instance-id="search"],
#hr-widget[data-instance-id="list"] {
  width: 100%;
}

#hr-widget[data-instance-id="search"] {
  min-height: auto;
  overflow: visible;
  position: relative;
  z-index: 5;
}

#hr-widget[data-instance-id="list"] {
  min-height: 80px;
  overflow-x: auto;
}

.widget-loading {
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.reviews-card {
  max-width: 820px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.reviews-card__score {
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--color-green);
}

.reviews-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  align-items: center;
  margin-bottom: 20px;
}

.reviews-rating__note {
  margin: 10px 0 0;
  max-width: 260px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.yandex-badge {
  display: block;
  max-width: 280px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yandex-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.yandex-badge img {
  width: 100%;
  height: auto;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.contact-card,
.map-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 16px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-green);
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius-md);
}

.footer {
  padding: 36px 0;
  background: var(--color-green);
  color: rgba(255, 255, 255, 0.88);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: var(--color-white);
}

.footer__logo img {
  width: 160px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 24, 22, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 99;
  display: none;
  padding: 20px;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
  .hero__content,
  .about-grid,
  .split-section,
  .reviews-card,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sauna-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav,
  .header__phone {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .header__actions .btn {
    display: none;
  }

  .cards-grid,
  .stats,
  .features-grid,
  .gallery-grid,
  .sauna-gallery,
  .atmosphere-gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 140px;
  }

  .hero__body {
    min-height: auto;
  }

  .hero__search {
    padding-bottom: 16px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 32px;
    overflow: hidden;
  }

  .hero__logo {
    order: -1;
  }

  .hero__logo img {
    transform: none;
    width: min(300px, 86vw);
    max-width: 100%;
    margin: 0 auto;
  }
}
