/* ==========================================================================
   ПААСО — дизайн-система

   Направление после буклета и брендбука: северный туристический гид.
   Фотография остаётся главным носителем смысла, фирменный стиль работает
   как слой навигации, акцентов, дуг и спокойных фоновых деталей.

   Роли цвета (не нарушать):
     --red    — действие, активное, малые орнаментальные акценты.
     --brown  — тёмные секции, текстовые акценты.
     --blue   — навигационная строгость, подписи, служебные линии.
     --sand   — тёплые поверхности и паттерн.
     --ink    — текст.
   ========================================================================== */

@font-face {
  font-family: 'Paaso Display';
  src: url('fonts/prata-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Paaso Serif';
  src: url('fonts/cormorant-garamond-600-italic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Golos';
  src: url('fonts/golos-1.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos';
  src: url('fonts/golos-3.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+2192, U+2212;
}

:root {
  /* цвет */
  --ink:       #432918;
  --ink-soft:  #6b5548;
  --stone:     #7f6e62;
  --milk:      #efe3cf;
  --milk-dim:  #dcc8a8;
  --sand:      #d4bd98;
  --sand-up:   #f2e8d8;
  --red:       #d7483b;
  --red-deep:  #a7352d;
  --blue:      #263c78;
  --brown:     #432918;
  --brown-up:  #5f3c2a;
  --brand-soft:#ead9bd;

  /* типографика */
  --font: 'Golos', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Paaso Display', Georgia, 'Times New Roman', serif;
  --font-serif: 'Paaso Serif', Georgia, 'Times New Roman', serif;
  --t-hero:  clamp(2.75rem, 7vw, 6rem);
  --t-h2:    clamp(1.9rem, 4vw, 3.25rem);
  --t-h3:    clamp(1.25rem, 2vw, 1.6rem);
  --t-lead:  clamp(1.05rem, 1.5vw, 1.3rem);
  --t-body:  1.0625rem;
  --t-small: 0.875rem;

  /* ритм */
  --gap:     clamp(1rem, 2vw, 1.5rem);
  --section: clamp(4.5rem, 9vw, 9rem);
  --edge:    clamp(1.25rem, 5vw, 5rem);
  --max:     1440px;
  --read:    58ch;
}

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

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

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,255,255,0) 24rem),
    radial-gradient(circle at 100% 0, rgba(38,60,120,.16), transparent 28rem),
    var(--milk);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
  font-family: var(--font);
  font-weight: 850;
}
h1 { font-size: var(--t-hero); line-height: .94; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

/* --- служебное --- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--edge); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-soft); max-width: var(--read); }
.prose { max-width: var(--read); }

.eyebrow {
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.14em;   /* ALL CAPS всегда с разрядкой */
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
  display: block;
}

.section { padding-block: var(--section); }
.section:nth-of-type(odd):not(.section--dark):not(.section--pet) {
  background:
    linear-gradient(90deg, rgba(38,60,120,.16) 0 14px, transparent 14px),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
}
.routes__head,
.season-compare__copy,
.bus,
.notice {
  position: relative;
}
.routes__head::before,
.season-compare__copy::before {
  content: '';
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border: 3px solid var(--red);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, var(--red) 0 3px, transparent 3.5px),
    linear-gradient(45deg, transparent 0 43%, var(--red) 44% 49%, transparent 50%),
    linear-gradient(135deg, transparent 0 43%, var(--blue) 44% 49%, transparent 50%);
  opacity: .9;
}
.section--dark {
  position: relative;
  background:
    linear-gradient(135deg, rgba(38,60,120,.72), transparent 48%),
    var(--brown);
  color: var(--milk);
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  opacity: .18;
  pointer-events: none;
  background: url('img/paaso-pattern-dark.png?v=202607241345') top right / cover no-repeat;
  mask-image: radial-gradient(circle at 100% 0, #000 0 44%, transparent 74%);
}
.section--dark .wrap { position: relative; z-index: 1; }
.section--dark .eyebrow { color: var(--sand); }
.section--dark .lead { color: #e6d9c8; }

/* --- кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0 18px 0 18px; /* дуга из печатного буклета */
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--brown); color: var(--milk); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--on-photo { background: rgba(245,243,238,.95); color: var(--ink); }
.btn--on-photo:hover { background: var(--red); color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* --- шапка --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239,227,207,.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(67,41,24,.16);
}
.nav::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 148px; pointer-events: none;
  background: url('img/paaso-pattern-light.png?v=202607241345') -18px -18px / 116px auto repeat;
  opacity: .34;
}
.nav::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 24%, var(--blue) 24% 58%, var(--sand) 58% 100%);
  pointer-events: none;
}
.nav__in {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: 0.85rem var(--edge);
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap);
}
.nav__logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.nav__logo img {
  width: 174px;
  height: auto;
  object-fit: contain;
}
.nav__links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none; font-size: var(--t-small); font-weight: 500;
  color: var(--ink-soft); padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color .16s, border-color .16s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--red); }
.nav__status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(57,60,96,.42);
  border-radius: 0 18px 0 18px;
  background: var(--blue);
  color: var(--milk);
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(57,60,96,.16);
  white-space: nowrap;
}
.nav__status::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(245,243,238,.18);
  flex: 0 0 auto;
}
.nav__status strong { color: var(--milk); font-weight: 700; }
.nav__status span { color: rgba(245,243,238,.72); }
@media (max-width: 1060px) { .nav__links { gap: 1.1rem; } }
@media (max-width: 940px) { .nav__links { display: none; } }
@media (max-width: 680px) { .nav__status span { display: none; } }
@media (max-width: 560px) {
  .nav::before {
    display: none;
  }
  .nav__in {
    padding-block: .65rem;
    gap: .7rem;
  }
  .nav__logo {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 0 1 auto;
  }
  .nav__logo img {
    width: clamp(148px, 42vw, 166px);
  }
  .nav__status {
    position: relative;
    z-index: 1;
    padding: .54rem .7rem;
    font-size: .84rem;
  }
}
@media (max-width: 480px) { .nav__in .btn { display: none; } }

/* --- главный экран --- */
.hero { position: relative; min-height: min(92svh, 900px); display: grid; overflow: hidden; }
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.hero::before {
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1.2rem, 5vw, 4.5rem);
  width: clamp(124px, 20vw, 280px);
  aspect-ratio: 1;
  border: clamp(10px, 1.7vw, 22px) solid rgba(215,72,59,.92);
  border-radius: 50% 50% 8px 50%;
  background: url('img/paaso-pattern-dark.png?v=202607241345') center / 118% auto;
  opacity: .68;
  mix-blend-mode: screen;
}
.hero::after {
  right: 0;
  top: 18%;
  width: min(30vw, 360px);
  height: min(42vw, 520px);
  border-radius: 260px 0 0 260px;
  background: rgba(38,60,120,.58);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* На узком экране кадр обрезается по краям — держим скамью (главный объект) в кадре. */
@media (max-width: 760px) {
  .hero__media img { object-position: 68% center; }
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(67,41,24,.36) 0%, rgba(67,41,24,.13) 36%, rgba(34,22,16,.86) 100%),
    radial-gradient(circle at 0 20%, rgba(38,60,120,.55), transparent 40%);
}
.hero__in {
  position: relative; z-index: 2;
  align-self: end;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: var(--edge) var(--edge) clamp(2.5rem, 6vw, 5rem);
  color: #fff;
}
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__sub {
  font-size: var(--t-lead); max-width: 46ch; margin-top: 1.25rem;
  color: rgba(255,255,255,.92); text-shadow: 0 1px 20px rgba(0,0,0,.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--t-small); font-weight: 500;
  color: rgba(255,255,255,.92); margin-top: 1.75rem;
  padding: .5rem .7rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 0 14px 0 14px;
  background: rgba(67,41,24,.42);
  backdrop-filter: blur(6px);
}
@media (max-width: 760px) {
  .hero::before { right: -34px; bottom: 1rem; width: 148px; opacity: .42; }
  .hero::after { display: none; }
}
.hero__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(212,70,55,.25);
}

/* --- два маршрута: раскол экрана --- */
/* гора = вертикаль (подъём), раутакангас = горизонталь (равнина) */
.routes__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.routes__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .routes__grid { grid-template-columns: 1fr 1fr; } }

.route {
  position: relative;
}
.route::before {
  content: '';
  position: absolute;
  inset: -12px -12px auto auto;
  width: 96px;
  height: 96px;
  background: url('img/paaso-pattern-light.png?v=202607241345') center / 112px auto;
  opacity: .42;
  pointer-events: none;
}
.route__media {
  overflow: hidden;
  background: var(--milk-dim);
  border: 10px solid var(--sand-up);
  box-shadow: 0 20px 60px rgba(67,41,24,.16);
}
.route__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.route:hover .route__media img { transform: scale(1.03); }
/* вертикальный кадр — подъём.
   Кадрируем ниже центра: лестница в нижней половине снимка, она и есть суть подъёма. */
.route--up .route__media {
  aspect-ratio: 3 / 4;
  border-radius: 170px 8px 8px 8px;
}
.route--up .route__media img { object-position: 50% 72%; }
/* горизонтальный кадр — равнина */
.route--flat .route__media {
  aspect-ratio: 4 / 3;
  border-color: rgba(38,60,120,.32);
  border-radius: 8px 170px 8px 8px;
}
@media (min-width: 900px) {
  .route--flat { align-self: end; }   /* асимметрия: равнина «оседает» ниже */
}

.route__body { padding-top: 1.5rem; }
.route__name,
.season__name,
.season-compare__copy h3,
.way h3,
.tip h3 {
  font-family: var(--font);
  font-style: normal;
  font-weight: 800;
}
.route__name { margin-bottom: 0.5rem; color: var(--brown); }
.route__meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin: 1.25rem 0 0; padding: 0; list-style: none;
  font-size: var(--t-small); color: var(--stone);
}
.route__meta li { display: flex; align-items: center; gap: 0.4rem; }
.route__meta strong { color: var(--ink); font-weight: 600; }

/* --- поезд --- */
.train { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 980px) { .train { grid-template-columns: 1.15fr 1fr; } }
.train__media {
  position: relative;
  isolation: isolate;
}
.train__media::before {
  content: '';
  position: absolute;
  inset: -14px auto auto -14px;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  opacity: .9;
  z-index: 0;
}
.train__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px 160px 8px 8px;
}

.schedule { margin-top: 2rem; border-top: 1px solid rgba(219,194,159,.32); }
.schedule__row {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(219,194,159,.32);
}
.schedule__time {
  font-weight: 700; font-size: 1.15rem;
  font-variant-numeric: tabular-nums; min-width: 6.5rem;
}
.schedule__dir { color: #e6d9c8; font-size: var(--t-small); }
.schedule__days { margin-left: auto; font-size: var(--t-small); color: var(--sand); }

.notice {
  margin-top: 1.75rem; padding: 1rem 1.25rem;
  border: 1px solid rgba(219,194,159,.32);
  font-size: var(--t-small); color: #e6d9c8;
}
.notice a { color: var(--sand); }
.notice strong { color: var(--milk); }

/* --- сезоны --- */
.seasons__grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px)  { .seasons__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .seasons__grid { grid-template-columns: repeat(4, 1fr); } }
.season__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--milk-dim);
  border: 8px solid rgba(255,255,255,.35);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(67,41,24,.12);
}
.season__media img { width: 100%; height: 100%; object-fit: cover; }
.season__name { margin: 1rem 0 0.4rem; }
.season p { font-size: var(--t-small); color: var(--ink-soft); }

.season-compare {
  margin-top: clamp(2.75rem, 6vw, 5rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 920px) {
  .season-compare { grid-template-columns: minmax(230px, .48fr) 1fr; }
}
.season-compare__copy h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.season-compare__copy p {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 34ch;
}
.season-compare__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--milk-dim);
  border: 10px solid var(--sand-up);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22,25,26,.14);
  touch-action: pan-y;
}
.season-compare__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.season-compare__top {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.season-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(22,25,26,.18), 0 0 22px rgba(0,0,0,.35);
  pointer-events: none;
}
.season-compare__handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--milk);
  border: 1px solid rgba(22,25,26,.2);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.season-compare__handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: var(--brown);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}
.season-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.season-compare__labels {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.season-compare__labels span {
  padding: .38rem .6rem;
  border-radius: 2px;
  background: rgba(22,25,26,.52);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
@media (max-width: 560px) {
  .season-compare__stage { aspect-ratio: 4 / 5; }
  .season-compare__image { object-position: center; }
}

/* --- вечер / подсветка: полноширинный тёмный блок --- */
.evening { position: relative; min-height: min(80svh, 720px); display: grid; }
.evening__media { position: absolute; inset: 0; }
.evening__media img { width: 100%; height: 100%; object-fit: cover; object-position: 88% center; }
.evening__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(67,41,24,.88) 0%, rgba(67,41,24,.5) 55%, rgba(38,60,120,.34) 100%),
    radial-gradient(circle at 82% 18%, rgba(215,72,59,.22), transparent 28%);
}
.evening__in {
  position: relative; z-index: 1; align-self: center;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding-inline: var(--edge); color: var(--milk);
}
.evening__text { max-width: 34ch; }
@media (max-width: 680px) {
  .evening { min-height: 760px; }
  .evening__media img { object-position: 88% center; }
  .evening__media::after {
    background: linear-gradient(180deg, rgba(67,41,24,.18) 0%, rgba(67,41,24,.12) 34%, rgba(67,41,24,.86) 78%, rgba(67,41,24,.94) 100%);
  }
  .evening__in {
    align-self: end;
    padding-bottom: 3.25rem;
  }
  .evening__text { max-width: 32ch; }
  .evening__text h2 { font-size: clamp(1.85rem, 9vw, 2.2rem); }
}

/* --- как добраться --- */
.travel__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 980px) { .travel__grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* автобус — главный блок, по базе знаний это ключ */
.bus {
  border: 1px solid rgba(67,41,24,.42);
  border-radius: 8px 120px 8px 8px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(90deg, var(--blue) 0 14px, transparent 14px),
    linear-gradient(135deg, rgba(219,194,159,.22), transparent 42%),
    var(--milk);
}
.bus::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(42%, 240px);
  height: min(70%, 300px);
  opacity: .14;
  pointer-events: none;
  background: url('img/paaso-pattern-light.png?v=202607241345') top right / 220px auto repeat;
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}
.bus__call {
  font-size: var(--t-h3); font-weight: 700; line-height: 1.3;
  margin: 1.25rem 0; padding-left: 1rem;
  border-left: 3px solid var(--red);   /* смысловая полоса: «внимание, иначе проедете» */
}
.bus__note { font-size: var(--t-small); color: var(--stone); }
.bus__frequency {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(57,60,96,.24);
  background: var(--brand-soft);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}
.bus__source {
  margin-top: 1rem;
  font-size: var(--t-small);
  color: var(--ink-soft);
}
.bus__source a { color: var(--red-deep); font-weight: 700; }

.times {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--milk-dim);
}
.times summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brown);
  font-weight: 700;
}
.times summary::before {
  content: '+';
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.times[open] summary::before { content: '−'; }
.times__day { margin-top: 1.25rem; }
.times__day h4 {
  margin: 0 0 0.5rem; font-size: var(--t-small); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone);
}
.times__list {
  font-variant-numeric: tabular-nums;
  font-size: var(--t-small); line-height: 1.9; color: var(--ink-soft);
  word-spacing: 0.35em;
}

.ways { display: grid; gap: 1.25rem; }
.way { padding-block: 1.25rem; border-top: 1px solid var(--sand); }
.way:first-child { border-top: 0; padding-top: 0; }
.way h3 { margin-bottom: 0.35rem; }
.way p { font-size: var(--t-small); color: var(--ink-soft); }

/* --- pet friendly --- */
.section--pet {
  background: var(--milk);
}
.section--pet .train__media img {
  object-position: center;
}

/* --- перед посещением --- */
.tips { display: grid; gap: 1.5rem; }
@media (min-width: 760px)  { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip {
  padding-top: 1.25rem;
  border-top: 1px solid var(--sand);
  background: linear-gradient(90deg, var(--red) 0 3px, transparent 3px) top left / 100% 3px no-repeat;
}
.tip h3 { margin-bottom: 0.4rem; }
.tip p { font-size: var(--t-small); color: var(--ink-soft); }

/* --- контакты --- */
.contacts__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .contacts__grid { grid-template-columns: 1fr 1fr; } }
.contact__line { padding-block: 1rem; border-bottom: 1px solid rgba(219,194,159,.32); }
.contact__label {
  font-size: var(--t-small); color: var(--sand);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem;
}
.contact__value { font-size: var(--t-h3); font-weight: 600; }
.contact__value a { text-decoration: none; }
.contact__value a:hover { color: var(--sand); }
.socials { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.foot {
  padding-block: 2.5rem;
  font-size: var(--t-small); color: var(--sand);
  border-top: 1px solid rgba(219,194,159,.32);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

/* --- появление при прокрутке ---
   Прячем ТОЛЬКО если скрипт жив (html.js). Без JS весь контент виден сразу —
   сайт не должен зависеть от скриптов, чтобы его можно было прочитать. */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
  .js .rise.is-in { opacity: 1; transform: none; }
}
