/* =========================
   АКТИ — Base Styles
   ========================= */

:root {
  --bg: #f5f1ec;
  --bg-soft: #f0ebe4;
  --surface: #ffffff;
  --surface-muted: #f7f4ef;

  --text: #2f3d37;
  --text-soft: #5f6e67;
  --text-inverse: #f8f6f2;

  --primary: #556050;
  --primary-hover: #667161;
  --primary-soft: #e4e7e2;
  --stroke: #d9d4cc;
  --stroke-strong: #c8c1b7;

  /* В гайде — очень спокойные тени, почти “плоско” */
  --shadow-sm: 0 6px 16px rgba(85, 96, 80, 0.05);
  --shadow-md: 0 10px 28px rgba(85, 96, 80, 0.07);
  --shadow-lg: 0 16px 42px rgba(85, 96, 80, 0.09);

  /* Радиусы по JSON токенам */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-xl: 32px;

  --container: 1240px;
  --header-height: 84px;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;

  --transition: 0.28s ease;
}

/* =========================
   Reset
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

#main {
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  display: block;
  width: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 212, 204, 0.9);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

textarea {
  padding: 12px 14px;
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(95, 110, 103, 0.85);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(85, 96, 80, 0.35);
  box-shadow: 0 0 0 3px rgba(223, 233, 227, 0.7);
  background: var(--surface);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

details summary {
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

/* =========================
   Utilities
   ========================= */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
h3,
.section-head h2,
.split-content h2,
.highlight-content h2,
.final-cta__box h2,
.feature-card h3,
.icon-card h3 {
  font-family: var(--font-serif);
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
}

.section-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-note,
.hero-note,
.booking-tip,
.sea-note,
.final-cta__note {
  color: var(--text-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--primary);
  color: var(--text-inverse);
  padding: 10px 14px;
  border-radius: 12px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

/* =========================
   Buttons
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--primary);
  border-color: var(--stroke-strong);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(85, 96, 80, 0.35);
}

.btn-full {
  width: 100%;
}

.btn-large {
  min-height: 60px;
  padding-inline: 30px;
  font-size: 16px;
}

/* =========================
   Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(245, 241, 236, 0.84);
  border-bottom: 1px solid rgba(217, 212, 204, 0.7);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.logo picture {
  display: block;
  min-width: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(240px, 38vw);
}

.logo--footer .logo__img {
  height: 56px;
  max-width: 240px;
}

.main-nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 10px;
  border: 1px solid rgba(217, 212, 204, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.nav-list a {
  position: relative;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 999px;
  transition:
    color var(--transition),
    background-color var(--transition);
}

.nav-list a::after {
  content: none;
}

.nav-list a:hover {
  color: var(--primary);
  background: rgba(223, 233, 227, 0.55);
}

.nav-list a:hover::after {
  transform: none;
}

.header-cta {
  justify-self: end;
}

.header-menu-close {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.header-menu-close:hover {
  border-color: rgba(85, 96, 80, 0.35);
  background: rgba(223, 233, 227, 0.45);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 212, 204, 0.9);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.header-phone:hover {
  border-color: rgba(85, 96, 80, 0.35);
  background: var(--surface);
  color: var(--primary);
}

.header-phone__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--text-soft);
}

.header-phone:hover .header-phone__icon {
  color: currentColor;
}

.header-phone__text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span:not(.visually-hidden) {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid rgba(217, 212, 204, 0.7);
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
}

.mobile-menu__drawer {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.mobile-menu__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 20px 16px;
}

.mobile-nav-list {
  display: block;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin: 0;
  padding: 0;
}

.mobile-nav-list a:not(.btn) {
  display: block;
  padding: 16px 0;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid rgba(217, 212, 204, 0.7);
}

.mobile-menu__footer {
  flex-shrink: 0;
  width: 100%;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(217, 212, 204, 0.85);
  background: rgba(245, 241, 236, 0.98);
  display: grid;
  gap: 12px;
  box-shadow: 0 -6px 20px rgba(85, 96, 80, 0.06);
}

.mobile-menu__book {
  margin: 0;
}

.mobile-menu__phone {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* =========================
   Hero
   ========================= */

.hero {
  padding-top: 48px;
  padding-bottom: 72px;
}

.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: start;
  min-width: 0;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 3.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: none;
}

.hero-lead {
  margin: 0;
  max-width: 640px;
  font-size: 19px;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: flex-start;
}

.hero-amenities {
  width: 100%;
  padding-top: 4px;
  border-top: 1px solid var(--stroke);
}

.hero-amenities__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-amenities__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 20px 28px 12px;
  border-left: 1px solid var(--stroke);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.hero-amenities__item > span {
  flex: 1;
  min-width: 0;
}

.hero-amenities__item:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-amenities__item:last-child {
  padding-right: 0;
}

.hero-amenities__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(39%) sepia(5%) saturate(1234%) hue-rotate(69deg)
    brightness(93%) contrast(86%);
}

.hero-media {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slider__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 620px;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
  user-select: none;
}

.hero-slider__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}

.hero-slider:not(.is-ready) .hero-slide:not(:first-child) {
  display: none;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.hero-slider.is-ready .hero-slider__track {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider.is-ready.is-reduced .hero-slider__track {
  transition: none;
}

.hero-slide {
  flex: 0 0 var(--hero-slide-width, 100%);
  width: var(--hero-slide-width, 100%);
  max-width: var(--hero-slide-width, 100%);
  min-width: 0;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(85, 96, 80, 0.28);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.hero-slider__arrow--prev {
  left: 14px;
}

.hero-slider__arrow--next {
  right: 14px;
}

.hero-slider__controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero-slider__controls > * {
  pointer-events: auto;
}

.hero-slider__dots {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.hero-slider__dot {
  position: relative;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.28s ease;
}

.hero-slider__dot.is-active {
  width: 40px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-slider__dot-fill {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-slider__dot.is-active .hero-slider__dot-fill {
  animation: hero-slider-dot-progress var(--hero-slider-interval, 5s) linear forwards;
}

.hero-slider.is-paused .hero-slider__dot.is-active .hero-slider__dot-fill {
  animation-play-state: paused;
}

@keyframes hero-slider-dot-progress {
  to {
    transform: scaleX(1);
  }
}

.hero-slider__toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(85, 96, 80, 0.28);
  color: #fff;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.hero-slider__toggle:hover {
  background: rgba(85, 96, 80, 0.42);
}

.hero-slider__icon-play {
  display: none;
}

.hero-slider__toggle[aria-pressed="true"] .hero-slider__icon-pause {
  display: none;
}

.hero-slider__toggle[aria-pressed="true"] .hero-slider__icon-play {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .hero-slider:hover .hero-slider__arrow {
    opacity: 1;
  }

  .hero-slider__arrow:hover {
    background: rgba(85, 96, 80, 0.48);
    border-color: rgba(255, 255, 255, 0.65);
  }
}

@media (max-width: 640px) {
  .hero-slider__dot.is-active {
    width: 32px;
  }

  .hero-slider__dots {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__dot.is-active .hero-slider__dot-fill {
    animation: none;
    transform: scaleX(1);
  }
}

@media (min-width: 1181px) {
  .hero-top {
    align-items: stretch;
  }

  .hero-content {
    max-width: 520px;
  }

  .hero-media {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
  }

  .hero-slider {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
  }

  .hero-slider__viewport {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 520px;
    aspect-ratio: unset;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    box-shadow: var(--shadow-md);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .hero-slider__track,
  .hero-slide,
  .hero-slide picture {
    height: 100%;
    min-height: 100%;
  }

  .hero-slide img {
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .hero-actions__primary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
  }

  .hero-actions > .btn-secondary {
    width: 100%;
    max-width: 420px;
  }

  .hero-actions .payment-trust {
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   Booking
   ========================= */

.booking-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(217, 212, 204, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  overflow: visible;
}

.booking-card.is-loaded {
  padding: 12px;
  overflow: visible;
}

.booking-card.is-loaded .znms-widget-host {
  min-height: 0;
  height: auto;
}

.booking-card.is-loading .znms-widget-host {
  min-height: clamp(260px, 36vw, 400px);
}

.booking-iframe,
.znms-widget-host {
  width: 100%;
  min-height: 0;
  height: auto;
  border-radius: var(--radius-md);
  background: transparent;
  overflow: hidden;
}

.booking-tip {
  text-align: center;
  margin: 18px 0 0;
  font-size: 15px;
}

/* =========================
   Tariffs
   ========================= */

.tariffs-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}

.tariffs-carousel__hint {
  display: none;
}

.tariff-card {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(217, 212, 204, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tariff-card__media {
  min-height: 0;
  min-width: 0;
}

.tariff-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.tariff-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  min-width: 0;
}

.tariff-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tariff-card__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tariff-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-soft);
}

.tariff-card__meta-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.tariff-card__divider {
  margin: 0 0 18px;
  border: 0;
  border-top: 1px solid var(--stroke);
}

.tariff-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}

.tariff-card__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
}

.tariff-card__btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 921px) {
  .tariff-card:not(.tariff-card--reverse) .tariff-card__media img {
    object-position: left center;
  }

  .tariff-card--reverse .tariff-card__body {
    order: 1;
  }

  .tariff-card--reverse .tariff-card__media {
    order: 2;
  }
}

@media (max-width: 920px) {
  .tariffs-carousel {
    width: 100vw;
    max-width: 100vw;
    margin-top: 8px;
    margin-inline: calc(50% - 50vw);
  }

  .tariffs-list {
    --tariff-card-width: min(84vw, 340px);

    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px calc((100% - var(--tariff-card-width)) / 2) 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100% - var(--tariff-card-width)) / 2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tariffs-list::-webkit-scrollbar {
    display: none;
  }

  .tariffs-carousel__hint {
    display: block;
    margin: 10px 0 0;
    padding-inline: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-soft);
  }

  .tariff-card {
    flex: 0 0 var(--tariff-card-width);
    scroll-snap-align: center;
    grid-template-columns: 1fr;
    opacity: 0.82;
    transform: scale(0.97);
    transform-origin: center center;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .tariff-card.is-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--shadow-md);
  }

  .tariff-card__media img {
    min-height: 0;
    aspect-ratio: 1915 / 821;
  }

  .tariff-card__body {
    padding: 22px 20px 24px;
  }

  .tariff-card__title {
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .tariff-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tariff-card__btn {
    width: 100%;
  }
}

/* =========================
   Cards / Grids
   ========================= */

.cards-grid {
  display: grid;
  gap: 22px;
}

.cards-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.icon-card,
.review-card,
.service-card {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(217, 212, 204, 0.8);
  box-shadow: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover,
.icon-card:hover,
.review-card:hover,
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: rgba(85, 96, 80, 0.18);
}

.feature-card {
  padding: 26px;
}

.feature-card__icon,
.icon-card img {
  width: 54px;
  height: 54px;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  margin-bottom: 20px;
}

.advantages .feature-card__icon {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 20px;
}

.advantages .feature-card__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  -webkit-mask: url("../assets/icons/akti-advantages-arch-bg.svg") center / 64px 64px no-repeat;
  mask: url("../assets/icons/akti-advantages-arch-bg.svg") center / 64px 64px no-repeat;
  z-index: 0;
}

.advantages .feature-card__icon img {
  position: relative;
  z-index: 1;
  display: block;
  width: 64px;
  height: 64px;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.feature-card h3,
.icon-card h3,
.service-card h3,
.review-card__author strong {
  margin: 0;
}

.feature-card h3,
.icon-card h3,
.service-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.feature-card p,
.icon-card p,
.service-card p,
.review-card p {
  margin: 0;
  color: var(--text-soft);
}

.icon-card {
  padding: 22px;
  text-align: left;
}

.icon-card img {
  margin-bottom: 16px;
}

.icon-card h3 {
  font-size: 19px;
  line-height: 1.25;
}

.territory .cards-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.territory .icon-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--primary);
  border-color: transparent;
  color: #fff;
}

.territory .icon-card:hover {
  background: var(--primary-hover);
  border-color: transparent;
}

.territory .icon-card h3 {
  color: #fff;
  text-wrap: balance;
}

.territory .icon-card img {
  filter: brightness(0) invert(1);
}

@media (max-width: 920px) {
  .territory .cards-grid--4 {
    gap: 12px;
    grid-auto-rows: 1fr;
  }

  .territory .icon-card {
    padding: 18px 14px;
  }

  .territory .icon-card h3 {
    font-size: 17px;
    line-height: 1.3;
  }
}

@media (min-width: 921px) {
  .territory .cards-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.service-card__body {
  padding: 22px 22px 24px;
}

.kitchen-bbq .service-card__photos {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
}

.kitchen-bbq .service-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.65s ease;
}

.kitchen-bbq .service-card__photo--a {
  opacity: 1;
  z-index: 1;
}

.kitchen-bbq .service-card__photo--b {
  opacity: 0;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .kitchen-bbq .service-card:hover .service-card__photo--a {
    opacity: 0;
  }

  .kitchen-bbq .service-card:hover .service-card__photo--b {
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .kitchen-bbq .service-card.service-card--alt .service-card__photo--a {
    opacity: 0;
  }

  .kitchen-bbq .service-card.service-card--alt .service-card__photo--b {
    opacity: 1;
  }

  .pool-highlight__photos,
  .kitchen-bbq .service-card__photos {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kitchen-bbq .service-card__photo {
    transition: none;
  }
}

.review-card {
  padding: 28px;
}

.review-card p {
  font-size: 17px;
  line-height: 1.7;
}

.review-card__author {
  margin-top: 22px;
  display: grid;
  gap: 2px;
}

.review-card__author span {
  color: var(--text-soft);
  font-size: 14px;
}

/* =========================
   Split sections
   ========================= */

.split-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.split-grid--reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

@media (max-width: 1180px) {
  .about-split {
    display: flex;
    flex-direction: column;
  }

  .about-split .split-content {
    display: contents;
  }

  .about-split__intro {
    order: 1;
  }

  .about-split__media {
    order: 2;
    margin: 4px 0 20px;
  }

  .about-split__text {
    order: 3;
  }

  .about-split__text p:first-child {
    margin-top: 0;
  }
}

.split-content h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rooms-spec-strip {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.rooms-spec-strip li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rooms-spec-strip img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(39%) sepia(5%) saturate(1234%) hue-rotate(69deg)
    brightness(93%) contrast(86%);
}

.rooms-spec-strip__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}

.rooms-spec-strip__line {
  display: block;
}

.rooms-amenities-list img {
  filter: brightness(0) saturate(100%) invert(39%) sepia(5%) saturate(1234%) hue-rotate(69deg)
    brightness(93%) contrast(86%);
}

.rooms-amenities-list span {
  color: var(--primary);
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 12ch;
}

@media (max-width: 640px) {
  .rooms-spec-strip {
    grid-template-columns: 1fr;
  }
}

.split-content p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 18px;
}

.split-media img,
.map-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split-media img {
  min-height: 540px;
  object-fit: cover;
}

/* Rooms gallery */
.rooms-gallery {
  min-width: 0;
}

.rooms-gallery__desktop {
  display: none;
}

.rooms-gallery__mobile {
  display: block;
  min-width: 0;
}

.rooms-gallery__slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.rooms-gallery__hit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--surface);
  font: inherit;
  text-align: left;
}

.rooms-gallery__hit:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.rooms-gallery__desktop img,
.rooms-gallery__item img {
  display: block;
  width: 100%;
  min-height: 0;
  object-fit: cover;
}

.split-media.rooms-gallery .rooms-gallery__item img {
  border-radius: 0;
  box-shadow: none;
}

.rooms-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(85, 96, 80, 0.28);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.rooms-gallery__arrow--prev {
  left: 14px;
}

.rooms-gallery__arrow--next {
  right: 14px;
}

.rooms-gallery__strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 4px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rooms-gallery__strip::-webkit-scrollbar {
  display: none;
}

.rooms-gallery__item {
  flex: 0 0 min(84vw, 320px);
  scroll-snap-align: start;
  aspect-ratio: 3 / 2;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  background: transparent;
  font: inherit;
  font-size: 0;
  line-height: 0;
  text-align: left;
}

.rooms-gallery__item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.rooms-gallery__item img {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.45s ease;
}

.rooms-gallery__item:hover img {
  transform: scale(1.04);
}

@media (hover: hover) and (pointer: fine) {
  .rooms-gallery__slider:hover .rooms-gallery__arrow {
    opacity: 1;
  }

  .rooms-gallery__arrow:hover {
    background: rgba(85, 96, 80, 0.48);
    border-color: rgba(255, 255, 255, 0.65);
  }
}

@media (min-width: 641px) {
  .rooms-gallery__desktop {
    display: block;
  }

  .rooms-gallery__mobile {
    display: none;
  }

  .rooms-gallery__desktop img {
    min-height: 540px;
    aspect-ratio: auto;
  }
}

.map-frame {
  min-height: 460px;
  background: var(--surface-muted);
}

/* =========================
   Lists
   ========================= */

.icon-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--stroke);
  border-radius: 18px;
}

.icon-list img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.icon-list span {
  font-size: 16px;
  font-weight: 500;
}

.rooms-amenities-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-bottom: 24px;
}

.rooms-amenities-list li {
  align-items: center;
}

@media (max-width: 1180px) {
  .rooms-amenities-list {
    gap: 10px 12px;
  }

  .rooms-amenities-list li {
    min-height: 0;
    padding: 10px 12px;
    gap: 10px;
  }

  .rooms-amenities-list img {
    width: 32px;
    height: 32px;
  }

  .rooms-amenities-list span {
    font-size: 13px;
    line-height: 1.32;
    max-width: none;
  }
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(-50%);
}

.family-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-left: 0;
}

.family-check-list li::before {
  display: none;
}

.family-check-list__bullet {
  width: 10px;
  height: 10px;
  margin-top: 0.35em;
  flex-shrink: 0;
  object-fit: contain;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tag-grid li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* =========================
   Highlight
   ========================= */

.highlight-block {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(217, 212, 204, 0.8);
  box-shadow: var(--shadow-lg);
}

.highlight-media img,
.pool-highlight__photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.pool-highlight .highlight-media {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
}

.pool-highlight__photos {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.pool-highlight__photo {
  position: absolute;
  inset: 0;
  transition: opacity 0.65s ease;
}

.pool-highlight__photo--a {
  opacity: 1;
  z-index: 1;
}

.pool-highlight__photo--b {
  opacity: 0;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .pool-highlight .highlight-media:hover .pool-highlight__photo--a {
    opacity: 0;
  }

  .pool-highlight .highlight-media:hover .pool-highlight__photo--b {
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .pool-highlight.pool-highlight--alt .pool-highlight__photo--a {
    opacity: 0;
  }

  .pool-highlight.pool-highlight--alt .pool-highlight__photo--b {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pool-highlight__photo {
    transition: none;
  }
}

.highlight-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-content h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.highlight-content p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 18px;
}

/* =========================
   Sea / Gallery
   ========================= */

.sea-features-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 24px;
}

.sea-features-list li {
  min-height: 0;
  padding: 10px 12px;
  gap: 10px;
}

.sea-features-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(39%) sepia(5%) saturate(1234%) hue-rotate(69deg)
    brightness(93%) contrast(86%);
}

.sea-features-list span {
  font-size: 14px;
  line-height: 1.3;
}

@media (min-width: 921px) {
  .sea-features-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.sea-hero-image img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.sea-note {
  margin: 22px 0 28px;
  max-width: 760px;
  font-size: 17px;
}

.sea-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 921px) {
  .sea-cards-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.sea .icon-card img {
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}

.gallery-preview {
  min-width: 0;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  font: inherit;
  text-align: left;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

@media (min-width: 641px) {
  .gallery-item:nth-child(n + 7) {
    display: none;
  }
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 12, 0.94);
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1200px);
  height: 100%;
  padding: 16px 12px 20px;
  color: #fff;
}

.gallery-lightbox__header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-height: 48px;
  margin-bottom: 12px;
}

.gallery-lightbox__title-wrap {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 32px), transparent 100%);
}

.gallery-lightbox__title {
  display: block;
  margin: 0;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: #fff;
}

.gallery-lightbox__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.gallery-lightbox__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.gallery-lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: min(62vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}

.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.gallery-lightbox__nav--prev {
  left: 8px;
}

.gallery-lightbox__nav--next {
  right: 8px;
}

.gallery-lightbox__thumbs-wrap {
  flex-shrink: 0;
  margin-top: 16px;
  padding: 4px 0;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.gallery-lightbox__thumbs {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.gallery-lightbox__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  scroll-snap-align: center;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-lightbox__thumb:hover {
  opacity: 1;
}

.gallery-lightbox__thumb.is-active {
  border-color: #fff;
  opacity: 1;
}

.gallery-lightbox__thumb:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.gallery-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 8px;
  min-height: 44px;
}

.gallery-lightbox__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.gallery-lightbox__hint-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

body.gallery-lightbox-open .back-to-top,
.is-gallery-hidden {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .gallery-lightbox__panel {
    padding: 20px 24px 24px;
  }

  .gallery-lightbox__title {
    font-size: 17px;
  }

  .gallery-lightbox__image {
    max-height: min(68vh, 780px);
  }

  .gallery-lightbox__nav--prev {
    left: 16px;
  }

  .gallery-lightbox__nav--next {
    right: 16px;
  }
}

/* =========================
   FAQ
   ========================= */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(217, 212, 204, 0.8);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 22px 62px 22px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-soft);
}

.faq-cta {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(217, 212, 204, 0.8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-cta > p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-cta__primary,
.hero-actions__primary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.payment-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}

.payment-trust__logo {
  display: block;
  height: 18px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 921px) {
  .faq-cta {
    align-items: center;
  }

  .faq-cta > p {
    font-size: 24px;
    line-height: 1.25;
  }

  .faq-cta__actions {
    align-items: flex-start;
  }

  .faq-cta__actions > .btn-secondary,
  .faq-cta__primary .btn-primary {
    min-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .faq-cta__primary {
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 8px;
  }

  .faq-cta .payment-trust {
    justify-content: center;
    width: 100%;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    gap: 4px 8px;
    letter-spacing: 0.01em;
  }

  .faq-cta .payment-trust__logo {
    height: 14px;
  }
}

/* =========================
   Contacts / CTA
   ========================= */

.contacts-head {
  max-width: 720px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px 36px;
  margin-top: 32px;
  align-items: start;
}

.contacts-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-channel__icon {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.contact-channel__icon img {
  width: 52px;
  height: 52px;
  display: block;
}

.contact-channel__body {
  min-width: 0;
  padding-top: 4px;
}

.contact-channel__value {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-channel__value:hover {
  color: var(--primary);
}

.contact-channel__value--text {
  margin: 0;
  white-space: normal;
  line-height: 1.35;
  max-width: 38ch;
  cursor: default;
}

.contact-channel__value--text:hover {
  color: var(--text);
}

.contact-channel__note {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-soft);
}

.contacts-messengers {
  margin-top: 32px;
}

.contacts-messengers__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.contacts-messengers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.contacts-messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 64px;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition), transform var(--transition);
}

.contacts-messenger:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.contacts-messenger img {
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 999px;
}

.contacts-map {
  position: relative;
  min-width: 0;
}

.contacts-map__frame {
  min-height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contacts-map__link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contacts-map__link:hover {
  color: var(--primary-hover);
}

.contacts-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 28px;
}

.contacts-card {
  border-radius: 22px;
  background: var(--surface-muted);
  border: 1px solid rgba(217, 212, 204, 0.75);
  box-shadow: var(--shadow-sm);
}

.contacts-card--classification {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contacts-card--requisites {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 52px;
  align-content: start;
  overflow: visible;
}

.contacts-card__expand {
  display: contents;
}

.contacts-card__summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 52px 22px 22px;
  list-style: none;
  cursor: pointer;
}

.contacts-card__summary::-webkit-details-marker {
  display: none;
}

.contacts-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contacts-card__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contacts-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.contacts-card__preview {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-soft);
}

.contacts-card__chevron {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.contacts-card__summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}

.contacts-card[open] .contacts-card__summary::after {
  transform: translateY(-70%) rotate(-135deg);
}

.contacts-card--requisites.is-expanded .contacts-card__chevron {
  transform: rotate(-135deg);
}

.contacts-card__toolbar {
  display: contents;
}

.contacts-card__hit {
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.contacts-card__hit--head {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 14px 12px 22px;
}

.contacts-card__hit--aside {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 44px;
}

.contacts-card__lead {
  grid-column: 1;
  grid-row: 2;
  padding: 0 22px 22px;
}

.contacts-card--requisites.is-expanded .contacts-card__lead {
  padding-bottom: 12px;
}

.contacts-card__more {
  grid-column: 1 / -1;
  display: none;
}

.contacts-card--requisites.is-expanded .contacts-card__more {
  display: block;
}

.contacts-card__more-inner {
  padding: 0 22px 22px;
}

.contacts-card__body {
  padding: 0 22px 22px;
}

.contacts-card__body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

.contacts-card__body strong {
  color: var(--text);
  font-weight: 600;
}

.contacts-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contacts-card__link:hover {
  color: var(--primary-hover);
}

.contacts-requisites {
  margin: 0;
  display: grid;
  gap: 12px;
}

.contacts-requisites > div {
  display: grid;
  gap: 2px;
}

.contacts-requisites dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}

.contacts-requisites dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}

@media (max-width: 1180px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-map__frame {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .contacts-messengers__title {
    font-size: 20px;
  }

  .contact-channel__value {
    font-size: 18px;
  }

  .contacts-cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) {
  #contacts:has(.contacts-card--requisites.is-expanded) {
    position: relative;
    z-index: 100;
    overflow: visible;
  }

  #contacts:has(.contacts-card--requisites.is-expanded) .container,
  #contacts:has(.contacts-card--requisites.is-expanded) .contacts-cards {
    overflow: visible;
  }

  .contacts-cards:not(:has(.contacts-card--requisites.is-expanded)) {
    align-items: stretch;
  }

  .contacts-cards:has(.contacts-card--requisites.is-expanded) {
    overflow: visible;
  }

  .contacts-card--classification[open] .contacts-card__summary {
    pointer-events: none;
    cursor: default;
  }

  .contacts-card--classification[open] .contacts-card__summary::after {
    display: none;
  }

  .contacts-card--requisites .contacts-card__preview {
    display: none;
  }

  .contacts-card--requisites:not(.is-expanded) .contacts-card__hit--head {
    padding: 22px 14px 22px 22px;
  }

  .contacts-card--requisites:not(.is-expanded) .contacts-card__lead {
    padding: 0 22px 14px;
  }

  .contacts-card--requisites:not(.is-expanded)::after {
    content: "";
    grid-column: 1 / -1;
    min-height: 21px;
    padding-bottom: 22px;
  }

  .contacts-card--requisites.is-expanded::after {
    display: none;
  }

  .contacts-card--requisites.is-expanded .contacts-card__hit--head {
    position: relative;
    z-index: 3;
  }

  .contacts-card--requisites.is-expanded .contacts-card__hit--aside {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    grid-row: auto;
    grid-column: auto;
    width: 52px;
    height: min(80vh, 640px);
    max-height: min(80vh, 640px);
  }

  .contacts-card--requisites.is-expanded .contacts-card__expand {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    box-sizing: border-box;
    padding: 96px 0 0;
    background: var(--surface-muted);
    border: 1px solid rgba(217, 212, 204, 0.75);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    max-height: min(80vh, 640px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contacts-card--requisites.is-expanded .contacts-card__lead {
    padding: 0 22px 12px;
  }

  .contacts-card--requisites.is-expanded .contacts-card__more-inner {
    padding: 0 22px 22px;
  }
}

@media (max-width: 640px) {
  .contacts-card--requisites .contacts-card__expand {
    display: block;
  }

  .contacts-card--requisites:not(.is-expanded)::after {
    display: none;
  }

  .contacts-card--requisites:not(.is-expanded) .contacts-card__lead {
    display: none;
  }

  .contacts-card--requisites:not(.is-expanded) .contacts-card__more {
    display: none;
  }

  .contacts-card--requisites.is-expanded .contacts-card__preview {
    display: none;
  }

  .contacts-card--requisites:not(.is-expanded) .contacts-card__hit--head {
    align-items: flex-start;
    padding-bottom: 22px;
  }

  .contacts-card--requisites.is-expanded .contacts-card__expand {
    position: static;
    padding-top: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

.final-cta__box {
  padding: 56px 36px;
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: var(--text-inverse);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.final-cta__box .eyebrow {
  color: rgba(248, 246, 242, 0.7);
}

.final-cta__box h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.final-cta__box p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  color: rgba(248, 246, 242, 0.84);
}

.final-cta__box .btn {
  margin-top: 28px;
  background: #f8f6f2;
  color: var(--primary);
}

.final-cta__box .btn:hover {
  background: #ffffff;
}

.final-cta__note {
  margin-top: 18px !important;
  font-size: 15px !important;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  padding: 42px 0 56px;
  border-top: 1px solid rgba(217, 212, 204, 0.8);
}

.back-to-top {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1990;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.92);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.back-to-top__icon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  margin: 16px 0 0;
  color: var(--text-soft);
}

.footer-nav ul,
.footer-legal ul {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-legal a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--primary);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1180px) {
  .nav-list {
    gap: 16px;
  }

  .cards-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-grid,
  .split-grid--reverse,
  .highlight-block,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero.section {
    padding-top: 0;
    overflow-x: hidden;
  }

  .hero > .container.hero-shell {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    gap: 20px;
    overflow-x: hidden;
  }

  .hero-top {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    max-width: 100%;
  }

  .hero-media {
    order: -1;
    flex: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .hero-slider {
    border-radius: inherit;
  }

  .hero-slider__viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 3 / 2;
    height: auto;
    border-radius: inherit;
    box-shadow: none;
  }

  .hero-slider__viewport::after {
    border-radius: inherit;
  }

  .hero-content {
    width: min(100% - 40px, var(--container));
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    padding: 20px 0 0;
    box-sizing: border-box;
  }

  .hero-amenities {
    width: min(100% - 40px, var(--container));
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    padding-top: 0;
    border-top: none;
    box-sizing: border-box;
  }

  .hero-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions__primary {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions > .btn-secondary {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-amenities__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
  }

  .hero-amenities__item {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-left: none;
    border-bottom: 1px solid var(--stroke);
  }

  .hero-amenities__item:first-child,
  .hero-amenities__item:last-child {
    padding: 16px 18px;
  }

  .hero-amenities__item:last-child {
    border-bottom: none;
  }

  .hero-amenities__icon {
    width: 48px;
    height: 48px;
  }

  .hero-amenities__item > span {
    display: block;
  }

  .hero-amenities__item:nth-child(2) > span {
    max-width: 22ch;
  }

  .hero-amenities__item:nth-child(3) > span {
    max-width: 17ch;
  }

  .split-media img,
  .highlight-media img,
  .pool-highlight__photos,
  .pool-highlight__photo {
    min-height: 420px;
  }

  .highlight-content {
    padding: 36px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .section {
    padding: 74px 0;
  }

  /* Целиком убираем nav из сетки: иначе пустая колонка съедает место,
     и блок .header-actions переносится на вторую строку */
  .main-nav {
    display: none;
  }

  .nav-list,
  .header-phone {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .mobile-menu__footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .mobile-menu__nav {
    padding-bottom: calc(230px + env(safe-area-inset-bottom, 0px));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
  }

  .logo {
    justify-self: center;
    max-width: min(52vw, 220px);
  }

  .logo__img {
    height: 44px;
    max-width: 100%;
  }

  .header-actions {
    justify-self: end;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }

  .site-header--nav-open .header-cta {
    display: none;
  }

  .site-header--nav-open .header-menu-close {
    display: inline-flex;
  }

  .header-actions .header-cta {
    padding: 0 12px;
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }

  .cards-grid--3,
  .cards-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-cta {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .faq-cta > p {
    text-align: center;
    align-self: stretch;
    width: 100%;
  }

  .faq-cta__actions {
    justify-content: center;
    width: 100%;
  }

  .faq-cta__primary {
    align-items: center;
  }

  /* Как в бургер-меню: базовые .payment-trust / .payment-trust__logo (13px / 18px) */
  .faq-cta .payment-trust,
  .hero-actions .payment-trust {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 56px;
  }

  .hero-content h1,
  .section-head h2,
  .split-content h2,
  .highlight-content h2,
  .final-cta__box h2 {
    letter-spacing: -0.04em;
  }

  .hero-content h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero-content,
  .hero-amenities {
    width: min(100% - 24px, var(--container));
  }

  .hero-slider__controls {
    left: 10px;
    right: 10px;
  }

  .hero-lead,
  .split-content p,
  .section-head p,
  .highlight-content p,
  .final-cta__box p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4,
  .cards-grid--5 {
    grid-template-columns: 1fr;
  }

  .gallery-preview,
  .rooms-gallery__mobile {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 12px;
    overflow: hidden;
  }

  .gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    flex: 0 0 min(84vw, 320px);
    scroll-snap-align: start;
    border-radius: 20px;
  }

  .gallery-item:nth-child(n + 7) {
    display: block;
  }

  .feature-card,
  .icon-card,
  .review-card {
    padding: 22px;
  }

  .booking-card {
    padding: 10px;
    border-radius: 22px;
  }

  .split-media img,
  .sea-hero-image img,
  .highlight-media img,
  .pool-highlight__photos,
  .pool-highlight__photo {
    min-height: 280px;
  }

  .gallery-item img {
    height: 248px;
    min-height: 0;
  }

  .rooms-gallery__item img {
    height: 100%;
    min-height: 0;
  }

  .rooms-gallery__desktop img {
    min-height: 0;
  }

  .gallery-lightbox__nav {
    display: none;
  }

  .gallery-lightbox__thumb {
    width: 64px;
    height: 48px;
  }

  .service-card img {
    height: 230px;
  }

  .kitchen-bbq .service-card__photos {
    height: 230px;
  }

  .highlight-content,
  .final-cta__box {
    padding: 30px 22px;
  }

  .faq-item summary {
    padding: 18px 54px 18px 18px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }
}

/* Booking page */

.booking-header {
  border-bottom: 1px solid var(--stroke);
}

.booking-intro {
  text-align: center;
}

.booking-intro h1 {
  font-size: clamp(34px, 5vw, 64px);
  margin-bottom: 16px;
}

.booking-intro__text {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-soft);
}

.booking-steps {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.booking-step {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.booking-card--large {
  padding: 24px;
}

.booking-iframe--large {
  min-height: 720px;
}

.booking-note {
  text-align: center;
  margin-top: 18px;
  color: var(--text-soft);
}

.booking-help__box {
  text-align: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.booking-help__actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   JS states (menu, reveal, booking shimmer)
   ========================= */

body.menu-open {
  overflow: hidden;
}

.site-header.is-scrolled {
  background: rgba(245, 241, 236, 0.94);
  box-shadow: 0 10px 30px rgba(85, 96, 80, 0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-card.is-loading {
  overflow: hidden;
}

.booking-card.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  animation: bookingShimmer 1.5s infinite;
  pointer-events: none;
}

.booking-card.is-loaded::after {
  display: none;
}

@keyframes bookingShimmer {
  100% {
    transform: translateX(100%);
  }
}

/* =========================
   Юридические страницы
   ========================= */

.legal-page {
  padding: 48px 0 96px;
}

.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-page__back {
  display: inline-flex;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--primary);
}

.legal-page h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.legal-page h2 {
  margin: 32px 0 12px;
  font-size: 22px;
}

.legal-page p,
.legal-page li {
  color: var(--text-soft);
  font-size: 17px;
}

.legal-page ul {
  margin: 12px 0;
  padding-left: 22px;
  list-style: disc;
}
