/* =========================================================
   Тихое место — стили
   Палитра: лес, озеро, тёплый песок, мягкое золото
   ========================================================= */

:root {
  --forest:      #1f3a34;   /* глубокий хвойный */
  --forest-deep: #152924;
  --teal:        #2f5a4f;
  --sage:        #6f8a7d;
  --gold:        #c79a5b;   /* тёплое золото */
  --gold-soft:   #e7cfa3;
  --sand:        #f3ece1;   /* тёплый песок */
  --cream:       #faf6ef;   /* фон страниц */
  --paper:       #ffffff;
  --ink:         #21302b;   /* основной текст */
  --muted:       #7b8a82;   /* второстепенный текст */
  --line:        rgba(31, 58, 52, .12);

  --radius:   22px;
  --radius-s: 14px;
  --shadow:   0 24px 60px -28px rgba(21, 41, 36, .45);
  --shadow-s: 0 12px 30px -18px rgba(21, 41, 36, .4);

  --serif:   "Cormorant Garamond", Georgia, serif;
  --sans:    "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Montserrat", "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== Типографика ===== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--forest); }

.eyebrow {
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.section { padding: clamp(64px, 9vw, 130px) 0; }

.section__title { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.01em; }
.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.section__head--light .eyebrow { color: var(--gold-soft); }
.section__head--light .section__title { color: var(--cream); }
.section__head--light .section__sub { color: rgba(250,246,239,.8); }

/* ===== Кнопки ===== */
.btn {
  --bg: var(--forest);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: 80px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  min-height: 44px;
}
.btn:hover { transform: translateY(-3px); }

.btn--gold { background: var(--gold); color: var(--forest-deep); box-shadow: var(--shadow-s); }
.btn--gold:hover { background: var(--gold-soft); }

.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }

.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--block { width: 100%; }

.link-arrow {
  font-weight: 600;
  font-size: .9rem;
  color: var(--forest);
  position: relative;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.link-arrow:hover { color: var(--gold); }

/* ===== Прелоадер (заставка с ёлочками) ===== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--sand);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__lockup { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.preloader__trees {
  display: block; width: auto; height: clamp(96px, 22vw, 152px);
  transform-origin: 50% 100%;
  clip-path: inset(100% 0 0 0);
  animation: treesGrow 1.15s var(--ease) .15s forwards;
}
.preloader__word {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  opacity: 0; transform: translateY(12px);
  animation: wordIn .7s var(--ease) 1.05s forwards;
}
.preloader__word strong {
  font-family: var(--display); text-transform: uppercase; font-weight: 800;
  letter-spacing: .04em; font-size: clamp(1.5rem, 6vw, 2.3rem); color: var(--ink); line-height: 1;
}
.preloader__word small {
  font-family: var(--display); font-weight: 600; letter-spacing: .16em;
  font-size: clamp(.68rem, 2.6vw, .9rem); color: var(--muted);
}
body.intro-active { overflow: hidden; }
@keyframes treesGrow {
  0%   { clip-path: inset(100% 0 0 0); transform: translateY(10px) scale(.95); }
  62%  { transform: translateY(0) scale(1.03); }
  100% { clip-path: inset(0 0 0 0); transform: translateY(0) scale(1); }
}
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* ===== Шапка ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 8px 30px -22px rgba(21,41,36,.5);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { flex: none; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--cream); transition: color .4s var(--ease); }
.header.is-scrolled .logo { color: var(--forest); }
.logo__icon { display: grid; place-items: center; }
.logo__img { display: block; width: auto; height: 42px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.28)); transition: filter .4s var(--ease); }
.header.is-scrolled .logo__img { filter: none; }
.footer__brand .logo__img { height: 34px; filter: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-family: var(--display); text-transform: uppercase; font-size: 1.18rem; font-weight: 800; letter-spacing: .02em; }
.logo__text small { font-family: var(--display); font-size: .6rem; letter-spacing: .15em; font-weight: 600; opacity: .82; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.nav__link {
  color: var(--cream);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.header.is-scrolled .nav__link { color: var(--ink); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }
.nav__cta { flex: none; margin-left: 4px; padding: 11px 22px; min-height: 0; white-space: nowrap; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.burger span { width: 26px; height: 2px; background: var(--cream); border-radius: 2px; transition: .35s var(--ease); }
.header.is-scrolled .burger span { background: var(--forest); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,41,36,.25), rgba(21,41,36,.6)),
    url("../img/hero-lake.jpg") center/cover no-repeat,
    var(--forest);
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 20% 100%, rgba(21,41,36,.75), transparent 60%);
}
.hero__content { position: relative; z-index: 2; padding-top: 90px; max-width: 760px; }
.hero__eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  color: var(--cream);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 26px;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 560px; color: rgba(250,246,239,.9); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); }
.hero__fact { display: flex; flex-direction: column; }
.hero__fact strong { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-soft); line-height: 1; }
.hero__fact span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 6px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px;
  z-index: 3; display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span { width: 4px; height: 8px; background: var(--gold-soft); border-radius: 4px; animation: scrolly 1.6s ease-in-out infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ===== О базе ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 30px; }
.about__list li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; }
.about__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(199,154,91,.18);
}

.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.about__img { position: absolute; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); background-color: var(--sage); }
.about__img--main { inset: 0 18% 22% 0; }
.about__img--small { width: 52%; aspect-ratio: 1/1; right: 0; bottom: 0; border: 6px solid var(--cream); }
.about__badge {
  position: absolute; top: 14%; right: -2%;
  background: var(--forest); color: var(--cream);
  border-radius: 18px; padding: 16px 22px; text-align: center; box-shadow: var(--shadow-s);
}
.about__badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); }
.about__badge span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ===== Размещение ===== */
.stay { background: var(--sand); }
.stay__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4/3.4; background-size: cover; background-position: center; background-color: var(--sage); transition: transform .6s var(--ease); }
.card:hover .card__img { transform: scale(1.06); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.55rem; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: .95rem; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.card__tags li { font-size: .74rem; padding: 5px 12px; border-radius: 40px; background: var(--sand); color: var(--teal); font-weight: 600; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__price { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); font-weight: 600; }
.card__price small { font-family: var(--sans); font-size: .72rem; color: var(--muted); font-weight: 500; }

/* ===== Удобства (фото-карточки) ===== */
.amenities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amenity {
  position: relative; overflow: hidden;
  border-radius: var(--radius-s);
  min-height: 280px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.amenity:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.amenity__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-color: var(--sage);
  transition: transform .7s var(--ease);
}
.amenity:hover .amenity__media { transform: scale(1.07); }
.amenity::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,41,36,0) 28%, rgba(21,41,36,.45) 58%, rgba(21,41,36,.9) 100%);
}
.amenity__cap { position: relative; z-index: 2; padding: 26px; }
.amenity__cap h4 { color: var(--cream); font-size: 1.4rem; margin-bottom: 4px; }
.amenity__cap p { color: rgba(250,246,239,.88); font-size: .92rem; }

/* ===== Услуги ===== */
.services { background: var(--sand); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); border-color: var(--gold); }
.service__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(199,154,91,.16); color: var(--gold); margin-bottom: 18px; }
.service__ic svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.4rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .95rem; }
/* фото-карточки услуг */
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__img { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--sage); }
.service-card__price { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--forest-deep); font-weight: 700; font-size: .92rem; padding: 6px 13px; border-radius: 40px; box-shadow: var(--shadow-s); }
.service-card__body { padding: 22px 24px; flex: 1; }
.service-card__body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.service-card__body p { color: var(--muted); font-size: .93rem; }

/* ===== Цены ===== */
.prices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.price-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 32px; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); }
.price-card h3 { font-size: 1.7rem; margin-bottom: 22px; }
.price-card__rows > div { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-card__rows span { color: var(--muted); font-size: .92rem; }
.price-card__rows strong { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }
.price-card__note { color: var(--muted); font-size: .85rem; margin-top: 18px; }
.price-card--feature { background: var(--forest); border-color: var(--forest); transform: scale(1.03); }
.price-card--feature:hover { transform: scale(1.03) translateY(-6px); }
.price-card--feature h3, .price-card--feature .price-card__rows strong { color: var(--gold-soft); }
.price-card--feature .price-card__rows span, .price-card--feature .price-card__note { color: rgba(250,246,239,.75); }
.price-card--feature .price-card__rows > div { border-color: rgba(255,255,255,.16); }
.price-card__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--forest-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 40px; white-space: nowrap;
}

.prices__info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 980px; margin: 46px auto 0;
}
.prices__info-item { display: flex; align-items: center; gap: 12px; background: var(--sand); border-radius: var(--radius-s); padding: 18px 20px; font-size: .92rem; }
.prices__info-item strong { color: var(--forest); }
.prices__info-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(199,154,91,.16); color: var(--gold); }
.prices__info-ic svg { width: 22px; height: 22px; }

/* ===== Акции ===== */
.offers {
  background:
    linear-gradient(180deg, rgba(21,41,36,.9), rgba(21,41,36,.95)),
    url("../img/offers-bg.jpg") center/cover fixed no-repeat,
    var(--forest-deep);
  color: var(--cream);
}
.offers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 32px 26px;
  background: rgba(255,255,255,.04);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.offer:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.offer--accent { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }
.offer--accent:hover { background: var(--gold-soft); }
.offer__big { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold-soft); display: block; line-height: 1; margin-bottom: 14px; }
.offer--accent .offer__big { color: var(--forest-deep); }
.offer h3 { color: var(--cream); font-size: 1.3rem; margin-bottom: 8px; }
.offer--accent h3 { color: var(--forest-deep); }
.offer p { font-size: .9rem; opacity: .85; }
.offer--accent p { opacity: 1; }
.offers__cta { text-align: center; margin-top: 48px; }

/* ===== Галерея ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius-s);
  background-size: cover; background-position: center; background-color: var(--sage);
  position: relative; overflow: hidden; cursor: zoom-in;
  transition: transform .5s var(--ease);
}
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(21,41,36,0); transition: background .4s var(--ease); }
.gallery__item:hover { transform: scale(.985); }
.gallery__item:hover::after { background: rgba(21,41,36,.18); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ===== Отзывы ===== */
.reviews { background: var(--sand); }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 940px; margin: 0 auto; }
.review { background: var(--paper); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-s); position: relative; }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--cream); font-family: var(--serif); font-size: 1.3rem; }
.review__who { display: flex; flex-direction: column; gap: 4px; }
.review__who strong { color: var(--forest); font-size: 1.02rem; }
.review__src { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.review__src b { color: #fc3f1d; }
.review__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.review p { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.reviews__cta { text-align: center; margin-top: 40px; }

/* ===== FAQ ===== */
.faq__wrap { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-s); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item[open] { border-color: var(--gold); box-shadow: var(--shadow-s); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--forest);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.6rem; color: var(--gold);
  transition: transform .3s var(--ease); line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 26px 24px; color: var(--muted); }

/* ===== Контакты ===== */
.contacts { background: var(--cream); }
.contacts__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contacts__text p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; max-width: 460px; }
.contacts__list { margin: 34px 0; display: flex; flex-direction: column; gap: 14px; }
.contacts__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.contacts__row { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px 22px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
a.contacts__row:hover { border-color: var(--gold); transform: translateY(-3px); }
.contacts__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(199,154,91,.16); color: var(--gold); }
.contacts__ic svg { width: 23px; height: 23px; }
.contacts__actions--center { justify-content: center; margin-top: 36px; }
.contacts__row small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contacts__row strong { font-size: 1.08rem; color: var(--forest); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contacts__form { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.contacts__form h3 { color: var(--gold-soft); font-size: 1.7rem; margin-bottom: 24px; }
.contacts__form label { display: block; margin-bottom: 18px; }
.contacts__form label span { display: block; font-size: .82rem; letter-spacing: .06em; margin-bottom: 8px; color: rgba(250,246,239,.85); }
.contacts__form input,
.contacts__form select,
.contacts__form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: var(--cream); font-family: var(--sans); font-size: .96rem; resize: vertical;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contacts__form input::placeholder, .contacts__form textarea::placeholder { color: rgba(250,246,239,.5); }
.contacts__form input:focus, .contacts__form select:focus, .contacts__form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.contacts__form select option { color: var(--ink); }
.contacts__form-hint { margin-top: 16px; color: var(--gold-soft); font-size: .9rem; text-align: center; }

/* ===== Подвал ===== */
.footer { background: var(--forest-deep); color: rgba(250,246,239,.85); padding: 56px 0 36px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; color: var(--gold-soft); }
.footer__brand strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.footer__brand span { font-size: .82rem; opacity: .8; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; opacity: 1; }
.footer__contacts a { font-size: .86rem; color: var(--gold-soft); transition: color .3s var(--ease); }
.footer__contacts a:hover { color: var(--cream); }
.footer__nav { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.footer__nav a { font-size: .92rem; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__copy { font-size: .82rem; opacity: .7; text-align: right; }

/* ===== Плавающие элементы ===== */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.fab {
  width: 58px; height: 58px; border-radius: 50%;
  color: #fff; overflow: hidden;
  display: grid; place-items: center;
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab--wa { background: #25d366; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7); animation: pulseWa 2.4s infinite; }
.fab--max { box-shadow: 0 14px 34px -10px rgba(91,77,255,.7); animation: pulseMax 2.4s infinite; }
.fab--max img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes pulseWa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes pulseMax { 0% { box-shadow: 0 0 0 0 rgba(91,77,255,.45); } 70% { box-shadow: 0 0 0 16px rgba(91,77,255,0); } 100% { box-shadow: 0 0 0 0 rgba(91,77,255,0); } }

.to-top {
  position: fixed; right: 24px; bottom: 168px; z-index: 89;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest); color: var(--cream); border: 0; cursor: pointer;
  font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Reveal-анимации ===== */
.reveal { opacity: 0; transform: translateY(30px) scale(.986); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* Микро-анимации и тактильный отклик (особенно на мобиле) */
.service-card:active, .video-card:active, .card:active, .recommend__item:active, .gallery__item:active {
  transform: scale(.984); transition: transform .14s var(--ease);
}

/* ===== Дома подробно ===== */
.housedetail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.housedetail__media { position: sticky; top: 100px; }
.housedetail__img { aspect-ratio: 4/3.2; border-radius: var(--radius); background-size: cover; background-position: center; background-color: var(--sage); box-shadow: var(--shadow); }
.housedetail__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.housedetail__stats div { background: var(--sand); border-radius: var(--radius-s); padding: 16px; text-align: center; }
.housedetail__stats strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--forest); }
.housedetail__stats span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.floor { margin-bottom: 26px; }
.floor__num { display: inline-block; font-family: var(--serif); font-size: 1.05rem; color: var(--gold); background: rgba(199,154,91,.14); padding: 5px 16px; border-radius: 40px; margin-bottom: 14px; }
.floor__list { display: flex; flex-direction: column; gap: 12px; }
.floor__list li { position: relative; padding-left: 26px; color: var(--muted); }
.floor__list li strong { color: var(--ink); }
.floor__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199,154,91,.16); }
.housedetail__incl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.housedetail__incl li { position: relative; padding-left: 26px; font-weight: 500; }
.housedetail__incl li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* ===== Почему мы (фото-блок) ===== */
.feature { background: var(--forest); color: var(--cream); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.feature__media { aspect-ratio: 4/3.4; border-radius: var(--radius); background-size: cover; background-position: center; background-color: var(--teal); box-shadow: var(--shadow); }
.feature__text .eyebrow { color: var(--gold-soft); }
.feature__text .section__title { color: var(--cream); text-align: left; }
.feature__points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.feature__point { position: relative; padding-left: 30px; }
.feature__point::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(199,154,91,.22); }
.feature__point strong { display: block; color: var(--cream); font-size: 1.12rem; margin-bottom: 3px; }
.feature__point span { color: rgba(250,246,239,.8); font-size: .96rem; }

/* ===== Видеообзоры ===== */
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { display: flex; flex-direction: column; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; }
.video-card__thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: var(--radius-s); overflow: hidden; background-size: cover; background-position: center; background-color: var(--sage); box-shadow: var(--shadow-s); }
.video-card__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(21,41,36,.18); transition: background .35s var(--ease); }
.video-card:hover .video-card__thumb::after { background: rgba(21,41,36,.36); }
.video-card__play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--forest); display: grid; place-items: center; z-index: 2; transition: transform .35s var(--ease); }
.video-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .video-card__play { transform: scale(1.12); background: var(--gold); }
.video-card__title { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); }
.videos__cta { text-align: center; margin-top: 44px; }

/* ===== Лайтбокс ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(10,18,16,.85); backdrop-filter: blur(4px); }
.lightbox__inner { position: relative; z-index: 2; width: min(960px, 100%); }
.lightbox__frame { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.lightbox__yt { display: inline-block; margin-top: 14px; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600; transition: color .3s var(--ease); }
.lightbox__yt:hover { color: var(--gold-soft); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close, .book-modal__close { position: absolute; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background .3s var(--ease); }
.lightbox__close { top: 24px; right: 24px; z-index: 3; }
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ===== Кто нас рекомендует ===== */
.recommend { background: var(--cream); }
.recommend__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1060px; margin: 0 auto; }
.recommend__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.recommend__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); border-color: var(--gold); }
.recommend__item img { max-width: 80%; max-height: 70px; width: auto; height: auto; filter: grayscale(1); opacity: .8; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.recommend__item:hover img { filter: grayscale(0); opacity: 1; }
/* Бейдж «Яндекс Хорошее место 2026» — статичная картинка */
.ya-badge-img { display: block; height: clamp(128px, 32vw, 158px); width: auto; margin: 0 auto; }
.recommend__rating { font-family: var(--serif); font-size: 2.6rem; color: var(--forest); line-height: 1; display: inline-flex; align-items: flex-start; gap: 4px; }
.recommend__star { color: var(--gold); font-size: 1.2rem; }
.recommend__big { font-family: var(--serif); font-size: 2.2rem; color: var(--forest); line-height: 1; }
.recommend__cap { font-size: .9rem; color: var(--muted); }
.recommend__cap b { color: #fc3f1d; }

/* ===== Карта ===== */

/* ===== Кнопка-CTA размещения ===== */
.stay__cta { text-align: center; margin-top: 48px; }
.stay__cta-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ===== Панель выбора мессенджера ===== */
.book-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px; }
.book-modal[hidden] { display: none; }
.book-modal__backdrop { position: absolute; inset: 0; background: rgba(10,18,16,.7); backdrop-filter: blur(4px); }
.book-modal__dialog { position: relative; z-index: 2; width: min(440px, 100%); background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow); animation: bookIn .35s var(--ease); }
@keyframes bookIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.book-modal__close { top: 16px; right: 16px; background: var(--sand); color: var(--forest); }
.book-modal__close:hover { background: var(--warm-linen); }
.book-modal__dialog h3 { font-size: 1.6rem; margin-bottom: 8px; }
.book-modal__dialog > p { color: var(--muted); margin-bottom: 24px; font-size: .96rem; }
.book-modal__options { display: flex; flex-direction: column; gap: 12px; }
.book-opt { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-s); border: 1.5px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.book-opt:hover { transform: translateX(4px); border-color: var(--gold); background: var(--sand); }
.book-opt__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; }
.book-opt__ic img { width: 100%; height: 100%; object-fit: cover; }
.book-opt__ic svg { width: 22px; height: 22px; }
.book-opt--wa .book-opt__ic { background: #25d366; }
.book-opt--vk .book-opt__ic { background: #0077ff; }
.book-opt--primary { position: relative; border-color: var(--gold); background: rgba(199,154,91,.1); }
.book-opt--primary:hover { background: rgba(199,154,91,.18); }
.book-opt__badge { margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--forest-deep); background: var(--gold); padding: 4px 10px; border-radius: 40px; }
.book-modal__phones { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.book-modal__phones a { color: var(--forest); font-weight: 600; font-size: .95rem; }
.book-modal__phones a:hover { color: var(--gold); }
body.no-scroll { overflow: hidden; }

/* ===== Страницы объектов (detail) ===== */
.subhero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.subhero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--forest); }
.subhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,41,36,.25) 0%, rgba(21,41,36,.55) 55%, rgba(21,41,36,.85) 100%); }
.subhero__content { position: relative; z-index: 2; padding: 130px 0 56px; max-width: 760px; }
.subhero__eyebrow { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 18px; }
.subhero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--cream); line-height: 1.05; margin-bottom: 18px; }
.subhero__lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(250,246,239,.9); max-width: 560px; margin-bottom: 28px; }
.subhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.subhero__price { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); }
.subhero__price small { font-family: var(--sans); font-size: .82rem; color: rgba(250,246,239,.75); }
.detail__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.detail__text p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.detail__zones { display: flex; flex-direction: column; gap: 16px; }
.detail__zone { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 20px 22px; }
.detail__zone h4 { font-size: 1.15rem; margin-bottom: 6px; color: var(--forest); }
.detail__zone p { color: var(--muted); font-size: .94rem; }
.cta-band { background: var(--forest); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(250,246,239,.82); max-width: 540px; margin: 14px auto 28px; }
.backlink { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-weight: 600; margin-bottom: 14px; }
.backlink:hover { color: var(--cream); }

/* ===== Адаптив ===== */
@media (max-width: 1080px) {
  .stay__grid { grid-template-columns: repeat(2, 1fr); }
  .offers__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .videos__grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 13px; }
  .nav__link { font-size: .86rem; }
  .logo__img { height: 36px; }
  .logo__text strong { font-size: 1.18rem; }
}

@media (max-width: 980px) {
  /* backdrop-filter создаёт containing block и ломает position:fixed у меню — отключаем на мобиле */
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250,246,239,.97); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px); z-index: 105;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 16px; padding: 92px 34px 40px;
    background: var(--forest); color: var(--cream);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.6);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link, .header.is-scrolled .nav__link { color: var(--cream); font-size: 1.15rem; }
  .nav__cta { margin-left: 0; margin-top: 12px; width: 100%; }
  .burger { display: flex; position: relative; z-index: 110; }

  .hero { align-items: flex-start; }
  .hero__content { padding-top: 130px; padding-bottom: 70px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .detail__grid { grid-template-columns: 1fr; }
  .subhero__content { padding-top: 110px; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__cards { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .prices__grid { grid-template-columns: 1fr; max-width: 460px; }
  .housedetail__grid { grid-template-columns: 1fr; }
  .housedetail__media { position: static; max-width: 520px; }
  .feature__grid { grid-template-columns: 1fr; }
  .feature__media { max-width: 520px; }
  .videos__grid { grid-template-columns: repeat(2, 1fr); }
  .recommend__grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; gap: 16px; }
  .price-card--feature { transform: none; }
  .price-card--feature:hover { transform: translateY(-6px); }
  .prices__info { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__copy { text-align: center; }
}

@media (max-width: 560px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .stay__grid, .offers__grid, .amenities__grid, .gallery__grid, .services__grid, .videos__grid { grid-template-columns: 1fr; }
  .about__list, .housedetail__incl { grid-template-columns: 1fr; }
  .prices__info { grid-template-columns: 1fr; }
  .contacts__cards { grid-template-columns: 1fr; max-width: 420px; }
  .housedetail__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__facts { gap: 24px; }
  .hero__fact strong { font-size: 1.8rem; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__grid { grid-auto-rows: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
