/* =====================================================================
   «Золотой Яр» — «Утро в долине»: светлая «дорогая природа», как журнал о путешествиях.
   Белый и речной камень, хвоя — кнопки и тёмные полосы, золото — только тонкие детали.
   Шрифты: Cormorant Garamond (заголовки, подписи курсивом) + Golos Text (текст).
   Без теней и свечений, острые углы, капс — только кнопки и меню.
   ===================================================================== */
:root {
  --bg: #ffffff;          /* фон страницы */
  --stone: #f1f2ec;       /* речной камень — второй фон */
  --surface: #ffffff;     /* карточки и поля */
  --forest: #1c2f25;      /* хвоя — кнопки, заявка, подвал */
  --green: #2f4a3a;       /* зелёный текст и иконки */
  --ink: #18201b;
  --muted: #5b625d;       /* ≥4.5:1 на белом и камне */
  --gold: #b8913b;        /* золото — кнопка в тёмной заявке (тёмный текст на нём) */
  --gold-hover: #a8822f;
  --gold-ink: #7d6220;    /* золото как текст на светлом (5:1) */
  --line: rgba(24, 32, 27, .12);
  --radius: 0px;
  --radius-control: 0px;
  --shadow: none;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Golos Text", system-ui, sans-serif;
  --font-head: "Cormorant Garamond", "Golos Text", Georgia, serif; /* в Cormorant нет ₽ — его берёт Golos, как на платформе */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 1rem; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; color: var(--forest); }
h2 { font-size: clamp(2.6rem, 5.5vw, 4rem); line-height: 1; letter-spacing: -.015em; }
h3 { font-size: 1.6rem; }
p { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
a, button, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.muted { color: var(--muted); }
.todo { background: #f1e2b3; color: var(--ink); padding: 0 4px; border-radius: 4px; } /* пометка «уточняется» (главная и документы) — убрать, когда данные придут */
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 8px 16px; border-radius: var(--radius-control); background: var(--forest); color: #fff; text-decoration: none; }
.skip-link:focus { top: 16px; }
.price, .card__meta span { white-space: nowrap; font-variant-numeric: tabular-nums; } /* «4 500 ₽» не разрывается */
/* у Cormorant цифры по умолчанию «пляшущие» (20 → «2о») — ставим ровные */
h1, h2, h3, .price, .distances b, figcaption, .section__head p, .hero__eyebrow, .faq summary { font-variant-numeric: lining-nums tabular-nums; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 32px); }
.section { padding-block: clamp(80px, 10vw, 144px); }
.section--alt { background: var(--stone); }
.section--alt + [hidden] + .section--alt { padding-top: 0; } /* отзывов нет — галерея и вопросы одним блоком */
.section--tight { padding-block: 56px; }
.section__head { margin-bottom: 56px; max-width: 640px; }
.section__head h2 { margin-bottom: 12px; }
.section__head p { margin: 0; color: var(--muted); font-family: var(--font-head); font-style: italic; font-size: 1.35rem; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px;
  border-radius: var(--radius-control); border: 1px solid var(--forest);
  background: var(--forest); color: #fff; font-weight: 500; text-decoration: none; cursor: pointer;
  font-family: inherit; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
@media (hover: hover) { .btn:hover { background: #2a4335; border-color: #2a4335; } }
.btn:active { transform: scale(.96); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
@media (hover: hover) { .btn--ghost:hover { background: #fff; color: var(--forest); border-color: #fff; } }
.btn--small { min-height: 44px; padding: 8px 20px; font-size: .72rem; }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
@media (hover: hover) { .btn--outline:hover { background: var(--forest); border-color: var(--forest); color: #fff; } }
.btn--wide { width: 100%; }

/* ---------- Фото и заглушки ---------- */
/* нет файла — спокойный фон с эмблемой; имя файла видно только на своём компьютере (класс .dev) */
.photo {
  position: relative; background: #e6e8e1 url(../images/logo-mark.png) center / 64px no-repeat;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.photo.loaded { background-image: none; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; } /* светлое фото не сливается с белым фоном */
.photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.dev .photo:not(.loaded)::after {
  content: attr(data-label); position: absolute; bottom: 8px; left: 8px; right: 8px; color: var(--muted); font-size: .75rem; text-align: center;
}

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform .3s var(--ease); }
.header--hidden:not(:focus-within) { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; text-decoration: none; color: var(--forest); }
.logo__mark { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: var(--forest); object-fit: contain; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; transition: color .16s var(--ease); }
@media (hover: hover) { .nav a:hover { color: var(--gold-ink); } }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.burger { display: none; background: none; border: 0; padding: 11px 10px; margin-right: -10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 5px 0; transition: transform .2s var(--ease), opacity .2s var(--ease); }
/* меню открыто — три полоски складываются в крестик (6px = полоска 1px + отступ 5px) */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Подвал ---------- */
.footer { background: var(--forest); color: rgba(255,255,255,.72); padding-block: 48px; }
.footer__logo { display: block; width: 150px; height: auto; margin-bottom: 8px; }
.footer__tag { margin: 0 0 16px; width: 150px; text-align: center; font-family: var(--font-head); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); } /* подпись логотипа — текстом, чтобы менять без картинки */
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 24px; align-content: flex-start; }
.footer__nav a { padding-block: 9px; text-decoration: none; transition: color .16s var(--ease); }
@media (hover: hover) { .footer__nav a:hover { color: #fff; } }
.footer__legal { display: block; margin-top: 12px; max-width: 520px; font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.6); }

.float-btn { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; z-index: 60; transition: transform .16s var(--ease), background-color .16s var(--ease); }
@media (hover: hover) { .float-btn:hover { background: #2a4335; } }
.float-btn svg { width: 28px; height: 28px; }
.float-btn:active { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  html, .slider__track { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Адаптив (общее) ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 24px; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav a { padding-block: 12px; } /* касание пальцем — не меньше 44 px */
  .nav.open { display: flex; }
  .header { backdrop-filter: none; background: #fff; } /* размытие под шапкой на телефоне тормозит прокрутку */
  .burger { display: block; }
  .header__phone { display: none; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .header .btn--small { display: none; }
}
