/* ==========================================================================
   Характер места · Казбеги
   Только у этого ретрита (identity.css в _data/retreat.yml). Общий шаблон не меняется.
   - линия Казбека с церковью Гергети внизу «Расписания», Казбек в логотипе;
   - чуть грузинской графики: борджгали на круге, плетёнка как в резьбе по камню, грузинские буквы;
   - дерево и лофт, как в Rooms Kazbegi: светлый дуб с волокнами, стальные рамы окон вместо арок.
   ========================================================================== */

:root {
  --linen: #d9c3a0;      /* дуб (темнее светлого — по просьбе) */
  --sand: #c8ab82;       /* дуб потемнее */
  --steel: #1b1f1d;      /* сталь оконных рам лофта */
  --font-ka: "Noto Serif Georgian", "Noto Sans Georgian", serif;
  /* волокна дерева: рисуются браузером, отдельного файла нет */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='720' height='360'><filter id='w' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.0014 0.075' numOctaves='4' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.40  0 0 0 0 0.27  0 0 0 0 0.14  0 0 0 -0.36 0.21'/></filter><rect width='100%' height='100%' filter='url(%23w)'/></svg>");
}

/* ---------- Дерево: волокна на «деревянных» блоках ---------- */
.included, .stay, .guide, .join, .more, .cocreate, .apply-page {
  background-image: var(--grain);
  background-size: 720px 360px;
}

/* ---------- Лофт: стальные рамы окон вместо арок ---------- */
.arch,
.arch-frame {
  border-radius: 5px;
  box-shadow: 0 0 0 6px var(--steel), 0 28px 50px -18px rgba(14, 19, 16, 0.45);
}
.arch-frame { position: relative; }
.arch-frame::after {        /* переплёт окна, как в лаунже отеля */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--steel), var(--steel)) 50% 0 / 5px 100% no-repeat,
    linear-gradient(var(--steel), var(--steel)) 0 23% / 100% 5px no-repeat;
}
.about__small { border-color: var(--steel) !important; }

/* ---------- Круг у фото места: грузинское имя Казбека и борджгали ---------- */
.badge__ring text { font-family: "Montserrat", var(--font-ka), sans-serif; }
.badge__mark { width: 38px; height: 38px; color: var(--peach); animation: spin 48s linear infinite reverse; }

/* ---------- «Место»: большое бледное слово ყაზბეგი за заголовком ---------- */
.place { overflow: hidden; }
.place__text { position: relative; isolation: isolate; }
.kz-watermark {
  position: absolute;
  z-index: -1;
  right: 0;
  top: -0.42em;
  font: 400 clamp(64px, 8vw, 116px) / 1 var(--font-ka);
  color: var(--accent);
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Линия Казбека внизу «Расписания» ---------- */
.schedule { padding-bottom: 0; }
.kz-panorama {
  position: relative;
  width: max(100%, 680px);
  left: 50%;
  margin: clamp(48px, 6vw, 84px) 0 0;
  transform: translateX(-50%);
}
.kz-panorama svg { display: block; width: 100%; height: auto; overflow: visible; }
.kz-panorama__sky { stroke: var(--peach); stroke-width: 1.2; opacity: 0.55; vector-effect: non-scaling-stroke; }
.kz-panorama__ground { fill: var(--forest); }
.kz-panorama__hill { stroke: var(--peach); stroke-width: 1.2; opacity: 0.35; vector-effect: non-scaling-stroke; }
.kz-panorama__church { fill: var(--peach); opacity: 0.85; }
.kz-panorama figcaption { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.kz-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: rgba(236, 211, 173, 0.8);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kz-label b { font-weight: 600; }
.kz-label i {
  font: 400 13px / 1.3 var(--font-ka);
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(236, 211, 173, 0.6);
}
.kz-label--peak,
.kz-label--church { align-items: center; text-align: center; transform: translate(-50%, calc(-100% - 12px)); }
.kz-label--peak::after,
.kz-label--church::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 1px; height: 8px; background: currentColor; opacity: 0.7; }

/* ---------- Плетёнка: разделитель и подвал ---------- */
.kz-divider { display: flex; justify-content: center; color: var(--accent); }
.kz-divider svg { width: 132px; height: 18px; opacity: 0.6; }
.kz-footer-mark { display: flex; justify-content: center; margin: 44px 0 -6px; color: var(--peach); }
.kz-footer-mark svg { width: 132px; height: 18px; opacity: 0.4; }

@media (max-width: 600px) {
  .kz-label { font-size: 9.5px; letter-spacing: 0.1em; }
  .kz-label i { font-size: 11.5px; }
  .kz-watermark { top: -0.3em; }
  .arch-frame::after { background:
      linear-gradient(var(--steel), var(--steel)) 50% 0 / 4px 100% no-repeat,
      linear-gradient(var(--steel), var(--steel)) 0 23% / 100% 4px no-repeat; }
}
@media (prefers-reduced-motion: reduce) {
  .badge__mark { animation: none; }
}

/* тёмное дерево: блоки и карточки остаются читаемыми */
.included .card, .stay .room, .guide .guide-card, .more .guide-card { background: #f6efe3; }
.stay__nearby { background: #f6efe3; }
.booking-steps li { background: rgba(246, 239, 227, 0.55); }
.cocreate .chips li { background: rgba(246, 239, 227, 0.6); }

/* Greener: soft meadow green for «Как это было» and the photo strip */
:root { --sage: #dfe4d1; }
.memories, .strip { background-color: var(--sage); }
.memories .mosaic__item, .strip__item { background: #cfd6bd; }
.place { background-image: var(--grain); background-size: 720px 360px; background-color: var(--linen); }
.place .kz-watermark { opacity: 0.1; }
