/* ═══════════════════════════════════════════════
   Медовые водопады — лендинг
   Тёмная премиум-эстетика: ночной горный воздух,
   мёд на тёмном дереве.
   ═══════════════════════════════════════════════ */

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

:root {
  --bg:        #0E1311;
  --surface:   #161C1A;
  --border:    #2A322F;
  --honey:     #E0A24A;
  --honey-h:   #F1B968;
  --text:      #F2EDE3;
  --text-s:    #9BA39F;
  --emerald:   #3E7A63;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Manrope', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --shadow-warm: 0 24px 60px -20px rgba(224, 162, 74, .12), 0 12px 32px -12px rgba(0, 0, 0, .55);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --pad-x: clamp(20px, 5vw, 72px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }

::selection { background: rgba(224, 162, 74, .35); }

:focus-visible {
  outline: 2px solid rgba(224, 162, 74, .75);
  outline-offset: 3px;
}

/* ── Общее ── */

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* Золотая линия-разделитель: «рисуется» при появлении */
.gold-line {
  height: 1px;
  max-width: 220px;
  background: linear-gradient(90deg, var(--honey), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) .3s;
}
.is-visible .gold-line, .gold-line.is-visible { transform: scaleX(1); }

/* ── Кнопки ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .2s;
  will-change: transform;
}

.btn--primary {
  background: var(--honey);
  color: #241a0d;
}
.btn--primary:hover {
  background: var(--honey-h);
  box-shadow: 0 12px 36px -8px rgba(224, 162, 74, .45);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--honey);
  color: var(--honey-h);
}

.btn--wide { width: 100%; justify-content: center; }

.btn__arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(6px); }

.link-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--honey);
  transition: color .3s;
}
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover { color: var(--honey-h); }
.link-arrow:hover span { transform: translateX(5px); }

/* ── Фото-плейсхолдеры ──
   Реальные фото: заменить на background-image: url(...) + background-size: cover */

.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 75% 10%, rgba(62, 122, 99, .35), transparent 60%),
    radial-gradient(100% 80% at 20% 90%, rgba(224, 162, 74, .16), transparent 55%),
    linear-gradient(160deg, #1B2320 0%, #101613 55%, #0B100E 100%);
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ph::after {
  content: attr(data-caption);
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .38);
  border: 1px solid rgba(242, 237, 227, .16);
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
}
.ph--waterfall::after { content: none; }

/* вариации оттенков, чтобы заглушки не были одинаковыми */
.ph--hotel    { background-image: radial-gradient(120% 90% at 70% 15%, rgba(224,162,74,.22), transparent 60%), radial-gradient(90% 90% at 15% 85%, rgba(62,122,99,.3), transparent 55%), linear-gradient(160deg, #1E2420 0%, #121814 55%, #0B100E 100%); }
.ph--bridge   { background-image: radial-gradient(110% 80% at 30% 10%, rgba(155,163,159,.18), transparent 55%), radial-gradient(90% 80% at 80% 90%, rgba(62,122,99,.32), transparent 60%), linear-gradient(200deg, #1A211E, #0C110F); }
.ph--zipline  { background-image: radial-gradient(120% 90% at 80% 20%, rgba(224,162,74,.2), transparent 55%), linear-gradient(150deg, #1C2320, #0C110F); }
.ph--ferrata  { background-image: radial-gradient(110% 90% at 25% 15%, rgba(62,122,99,.28), transparent 60%), linear-gradient(170deg, #191F1C, #0B100E); }
.ph--dish     { background-image: radial-gradient(130% 100% at 50% 0%, rgba(224,162,74,.3), transparent 55%), linear-gradient(180deg, #20261F, #0D120F); }
.ph--map      { background-image: radial-gradient(100% 90% at 50% 50%, rgba(62,122,99,.2), transparent 70%), linear-gradient(160deg, #161C19, #0B100E); }

/* ── Шапка ── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  transition: background .4s, border-color .4s, padding .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px var(--pad-x);
  background: rgba(14, 19, 17, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(42, 50, 47, .7);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__mark { color: var(--honey); }
.logo__text {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--text-s);
  transition: color .3s;
}
.site-nav a:hover { color: var(--honey-h); }
.site-nav__cta {
  color: var(--honey) !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  transition: border-color .3s, color .3s;
}
.site-nav__cta:hover { border-color: var(--honey); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad-x) 80px;
}

.hero__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  animation: heroZoom 3.2s var(--ease-out) both;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 19, 17, .88) 0%, rgba(14, 19, 17, .45) 55%, rgba(14, 19, 17, .15) 100%),
    linear-gradient(180deg, rgba(14, 19, 17, .55) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}

.hero__content { max-width: 720px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1.04;
  margin-bottom: 26px;
}
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(36px);
  animation: riseIn 1.1s var(--ease-out) forwards;
}
.hero__title-line--accent {
  color: var(--honey);
  font-style: italic;
  animation-delay: .25s;
}

.hero__subtitle {
  max-width: 440px;
  color: var(--text-s);
  font-size: 17px;
  font-weight: 300;
  margin-bottom: 38px;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 1s var(--ease-out) .55s forwards;
}

.hero .btn {
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 1s var(--ease-out) .8s forwards;
}

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  width: 1px;
  height: 56px;
  background: rgba(242, 237, 227, .14);
  overflow: hidden;
}
.hero__scroll-hint span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--honey);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

/* ── Лента аттракций ── */

.chips {
  padding: 0 var(--pad-x);
  margin-top: -6px;
}
.chips__row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(22, 28, 26, .82);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 12px;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  border-right: 1px solid var(--border);
  transition: background .3s, color .3s;
}
.chip:last-child { border-right: none; }
.chip:hover { background: rgba(224, 162, 74, .07); color: var(--honey-h); }
.chip__icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--honey);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease-out);
}
.chip:hover .chip__icon { transform: translateY(-4px); }

/* ── Большие карточки ── */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(48px, 7vw, 96px) var(--pad-x) 0;
  scroll-margin-top: 90px;
}

.feature-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s;
  scroll-margin-top: 90px;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 162, 74, .45);
  box-shadow: var(--shadow-warm);
}

.feature-card__photo {
  height: clamp(260px, 30vw, 420px);
  transition: transform .8s var(--ease-out);
}
.feature-card:hover .feature-card__photo { transform: scale(1.045); }

.feature-card__body { padding: clamp(24px, 3vw, 40px); }

.feature-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.feature-card__text {
  color: var(--text-s);
  max-width: 380px;
  margin-bottom: 26px;
}

/* ── Активности ── */

.activities {
  padding: clamp(64px, 9vw, 120px) var(--pad-x) 0;
  scroll-margin-top: 70px;
}

.activities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.activity-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s;
}
.activity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 162, 74, .4);
  box-shadow: var(--shadow-warm);
}

.activity-card__photo {
  height: 210px;
  transition: transform .8s var(--ease-out);
}
.activity-card:hover .activity-card__photo { transform: scale(1.05); }

.activity-card__body { padding: 22px; }
.activity-card__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 8px;
}
.activity-card__body p {
  font-size: 14px;
  color: var(--text-s);
  margin-bottom: 18px;
  min-height: 3.4em;
}

/* ── Рестораны ── */

.food {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin: clamp(64px, 9vw, 120px) var(--pad-x) 0;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  scroll-margin-top: 70px;
}

.food__desc {
  color: var(--text-s);
  margin-bottom: 28px;
  max-width: 400px;
}

.food__photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  height: clamp(220px, 24vw, 320px);
}
.food__photo {
  border-radius: var(--r-sm);
  transition: transform .6s var(--ease-out);
}
.food__photo:hover { transform: scale(1.03); }

/* ── Почему мы ── */

.why {
  margin: clamp(64px, 9vw, 120px) var(--pad-x) 0;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(62, 122, 99, .08), transparent 45%), var(--surface);
}
.why .gold-line { margin-bottom: 36px; }

.why__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
}
.why__item b {
  color: var(--honey);
  font-size: 15px;
}

.why__icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--honey);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Локация ── */

.location {
  padding: clamp(64px, 9vw, 120px) var(--pad-x) 0;
  scroll-margin-top: 60px;
}

.location__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(24px, 3.5vw, 48px);
}

.location__map {
  min-height: 360px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.location__distances {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.location__distances li {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.location__distances b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--honey);
}
.location__distances span {
  font-size: 12px;
  color: var(--text-s);
  letter-spacing: .06em;
}

.location__facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.location__facts div:last-child { border-bottom: none; }
.location__facts dt {
  color: var(--text-s);
  letter-spacing: .04em;
}

/* ── Форма заявки ── */

.booking {
  margin: clamp(64px, 9vw, 120px) var(--pad-x) 0;
  scroll-margin-top: 60px;
}

.booking__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 4.5vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 100% at 100% 0%, rgba(224, 162, 74, .07), transparent 55%),
    var(--surface);
}

.booking__text > p { color: var(--text-s); max-width: 380px; }

.booking__messengers {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.messenger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  transition: border-color .3s, color .3s;
}
.messenger:hover { border-color: var(--honey); color: var(--honey-h); }
.messenger__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking__form { position: relative; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-s);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(14, 19, 17, .6);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(155, 163, 159, .55); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(224, 162, 74, .15);
}

.field__error {
  display: none;
  font-size: 12px;
  color: #D97A6C;
  margin-top: 6px;
}
.field.has-error input { border-color: #A8564A; }
.field.has-error .field__error { display: block; }

.booking__policy {
  font-size: 12px;
  color: var(--text-s);
  margin-top: 14px;
  text-align: center;
}
.booking__policy a { color: var(--text-s); }
.booking__policy a:hover { color: var(--honey-h); }

.booking__success[hidden] { display: none; }
.booking__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--r-md);
  animation: riseIn .6s var(--ease-out) both;
}
.booking__success svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--emerald);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booking__success b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
}
.booking__success p { color: var(--text-s); }
.booking__success b { color: var(--text); display: block; margin-bottom: 4px; }

/* ── Футер ── */

.footer {
  margin-top: clamp(72px, 10vw, 140px);
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 72px) var(--pad-x) 32px;
  background: linear-gradient(180deg, transparent, rgba(22, 28, 26, .6));
  scroll-margin-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
}

.footer__tagline {
  color: var(--text-s);
  font-size: 14px;
  max-width: 300px;
  margin-top: 18px;
}

.footer__col h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 20px;
}

.footer__contacts,
.footer__nav { list-style: none; }
.footer__contacts li,
.footer__nav li { margin-bottom: 12px; font-size: 14px; color: var(--text-s); }
.footer__contacts a,
.footer__nav a {
  color: var(--text);
  text-decoration: none;
  transition: color .3s;
}
.footer__contacts a:hover,
.footer__nav a:hover { color: var(--honey-h); }

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.footer__socials a:hover { border-color: var(--honey); transform: translateY(-3px); }
.footer__socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__socials a:hover svg { stroke: var(--honey-h); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 12px;
  color: var(--text-s);
}
.footer__bottom a { color: var(--text-s); }
.footer__bottom a:hover { color: var(--honey-h); }

/* ── Мобильный таб-бар ── */

.tabbar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 100;
  background: rgba(22, 28, 26, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px;
}
.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-s);
  transition: color .3s, background .3s;
}
.tabbar__item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tabbar__item.is-active,
.tabbar__item:hover { color: var(--honey); }

/* ── Модалка активности ── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 10, .7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .4s;
}
.modal.is-open .modal__overlay { opacity: 1; }

.modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-warm);
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.modal.is-open .modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(14, 19, 17, .6);
  border: 1px solid rgba(242, 237, 227, .18);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.modal__close:hover { border-color: var(--honey); transform: rotate(90deg); }
.modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.modal__photo { height: clamp(200px, 30vh, 280px); }

.modal__body { padding: clamp(24px, 4vw, 40px); }

.modal__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.modal__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.modal__meta li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--honey);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}

.modal__desc {
  color: var(--text-s);
  margin-bottom: 22px;
}

.modal__list {
  list-style: none;
  margin-bottom: 30px;
}
.modal__list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.modal__list li:last-child { border-bottom: none; }
.modal__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 1px;
  background: var(--honey);
}

body.modal-open { overflow: hidden; }

@media (max-width: 767px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    border-bottom: none;
  }
}

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Адаптив ── */

@media (max-width: 1199px) {
  .chips__row { grid-template-columns: repeat(4, 1fr); }
  .chip { border-bottom: 1px solid var(--border); }
  .chip:nth-child(4n) { border-right: none; }
  .chip:last-child { border-right: 1px solid var(--border); }
  .activities__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .food { grid-template-columns: 1fr; }
  .location__grid { grid-template-columns: 1fr; }
  .booking__inner { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { padding-bottom: 76px; } /* место под таб-бар */

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(14, 19, 17, .96);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
  }
  .site-nav a { font-size: 18px; }
  .site-nav.is-open {
    z-index: 99;
    opacity: 1;
    pointer-events: auto;
  }
  .burger { display: flex; position: relative; z-index: 101; }

  .hero { padding-top: 100px; }

  .chips__row { grid-template-columns: repeat(2, 1fr); }
  .chip:nth-child(4n) { border-right: 1px solid var(--border); }
  .chip:nth-child(2n) { border-right: none; }
  .chip { padding: 20px 10px; }

  .feature-grid { grid-template-columns: 1fr; }
  .activities__grid { grid-template-columns: 1fr; }
  .activity-card__body p { min-height: 0; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .food__photos { grid-template-columns: 1fr 1fr; height: auto; }
  .food__photo { height: 150px; }
  .food__photo:first-child { grid-column: 1 / -1; height: 190px; }
  .location__distances { grid-template-columns: 1fr; }
  .location__facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }

  .tabbar { display: flex; }
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .gold-line { transform: scaleX(1); }
  .hero__title-line, .hero__subtitle, .hero .btn { opacity: 1; transform: none; }
}

/* Honeypot: скрыт от людей, виден ботам. Не display:none — часть ботов его игнорирует. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0 0 12px;
  color: #E5736A;
  font-size: 14px;
  line-height: 1.4;
}
