/* =====================================================================
   ПІК · Дизайн-концепт 5 · «Сезони / Полонина»
   Світлий app-like інтерфейс, що живе сезоном.
   ===================================================================== */

/* ---------- Сезонні кольори: зареєстровані властивості для плавних переходів ---------- */
@property --sky-a    { syntax: '<color>'; inherits: true; initial-value: #FFF6E3; }
@property --sky-b    { syntax: '<color>'; inherits: true; initial-value: #FFE6B8; }
@property --sky-c    { syntax: '<color>'; inherits: true; initial-value: #FFCB8E; }
@property --sky-d    { syntax: '<color>'; inherits: true; initial-value: #F6B38A; }
@property --blob-1   { syntax: '<color>'; inherits: true; initial-value: #FFD0A8; }
@property --blob-2   { syntax: '<color>'; inherits: true; initial-value: #FFE9A8; }
@property --sun      { syntax: '<color>'; inherits: true; initial-value: #F59E0B; }
@property --sun-glow { syntax: '<color>'; inherits: true; initial-value: #FFD27A; }
@property --hill-far { syntax: '<color>'; inherits: true; initial-value: #E9C39A; }
@property --hill-mid { syntax: '<color>'; inherits: true; initial-value: #D08A48; }
@property --hill-near{ syntax: '<color>'; inherits: true; initial-value: #9C5A2A; }
@property --accent   { syntax: '<color>'; inherits: true; initial-value: #94450B; }
@property --accent-deep { syntax: '<color>'; inherits: true; initial-value: #6E3005; }
@property --paper    { syntax: '<color>'; inherits: true; initial-value: #FFFAF1; }
@property --tint     { syntax: '<color>'; inherits: true; initial-value: #FFF0D6; }
@property --tint-2   { syntax: '<color>'; inherits: true; initial-value: #FBE6D6; }
@property --plate    { syntax: '<color>'; inherits: true; initial-value: #FFF4E2; }

:root {
  --ink: #17203A;
  --ink-2: #394060;           /* приглушений текст: 9.6:1 на білому */
  --line: rgba(23, 32, 58, .10);
  --white: #FFFFFF;

  --f-display: 'Montserrat Alternates', 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 16px;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --shadow-soft: 0 1px 2px rgba(23, 32, 58, .05), 0 12px 32px -14px rgba(23, 32, 58, .22);
  --shadow-lift: 0 2px 6px rgba(23, 32, 58, .06), 0 26px 60px -24px rgba(23, 32, 58, .35);

  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-line: rgba(255, 255, 255, .85);

  --gutter: 16px;
  --dock-h: 76px;
}

/* Осінь (за замовчуванням) — золото і охра */
html[data-season="autumn"] {
  --sky-a: #FFF6E3; --sky-b: #FFE6B8; --sky-c: #FFCB8E; --sky-d: #F6B38A;
  --blob-1: #FFC7A0; --blob-2: #FFE7A0;
  --sun: #F59E0B; --sun-glow: #FFD27A;
  --hill-far: #EBC49C; --hill-mid: #D39050; --hill-near: #A4632F;
  --accent: #94450B; --accent-deep: #6E3005;
  --paper: #FFFAF1; --tint: #FFF0D6; --tint-2: #FBE6D6; --plate: #FFF4E2;
}
/* Літо — світанок над полониною: лаванда, персик, голубий */
html[data-season="summer"] {
  --sky-a: #E3EEFF; --sky-b: #EEDFFA; --sky-c: #FFDCCB; --sky-d: #FFC9AE;
  --blob-1: #D9C8F7; --blob-2: #FFD3BD;
  --sun: #FF9466; --sun-glow: #FFC6A6;
  --hill-far: #D8C9EE; --hill-mid: #A3CF97; --hill-near: #5F9F70;
  --accent: #A8331A; --accent-deep: #7E2410;
  --paper: #FCF8FF; --tint: #FFEDE4; --tint-2: #EDE4FB; --plate: #FBF3FF;
}
/* Зима — крижаний голубий і білий */
html[data-season="winter"] {
  --sky-a: #F5F9FF; --sky-b: #E4EFFB; --sky-c: #D0E2F6; --sky-d: #BAD3EF;
  --blob-1: #D6E6FF; --blob-2: #F0E8FF;
  --sun: #FFD98A; --sun-glow: #FFF1CC;
  --hill-far: #C7D9EE; --hill-mid: #E3EDF8; --hill-near: #FFFFFF;
  --accent: #1E5AA8; --accent-deep: #17457F;
  --paper: #F7FAFE; --tint: #E7F0FB; --tint-2: #EEF2FA; --plate: #F1F6FD;
}
/* Вода — бірюза */
html[data-season="water"] {
  --sky-a: #EEFDF9; --sky-b: #D3F5EE; --sky-c: #ABE6E2; --sky-d: #92D5E5;
  --blob-1: #B9EFE4; --blob-2: #CDEBFA;
  --sun: #FFCF5A; --sun-glow: #FFEFB0;
  --hill-far: #A8DCD4; --hill-mid: #62B9A9; --hill-near: #3497A9;
  --accent: #0A6A70; --accent-deep: #07494D;
  --paper: #F3FCFA; --tint: #DDF5F0; --tint-2: #E2F2FA; --plate: #EEFAF7;
}

html {
  transition:
    --sky-a 1s var(--ease), --sky-b 1s var(--ease), --sky-c 1s var(--ease), --sky-d 1s var(--ease),
    --blob-1 1.2s var(--ease), --blob-2 1.2s var(--ease), --sun 1s var(--ease), --sun-glow 1s var(--ease),
    --hill-far .9s var(--ease), --hill-mid 1s var(--ease), --hill-near 1.1s var(--ease),
    --accent .8s var(--ease), --accent-deep .8s var(--ease),
    --paper 1s var(--ease), --tint 1s var(--ease), --tint-2 1s var(--ease), --plate 1s var(--ease);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 800; }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic--star { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg);
  font-family: var(--f-text); font-weight: 700; font-size: 15.5px; line-height: 1.15;
  text-decoration: none; text-align: center;
  cursor: pointer; white-space: nowrap;
  transition: transform .5s var(--spring), box-shadow .3s var(--ease), background-color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { transition: transform .5s var(--spring); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.955); transition-duration: .12s; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px var(--accent); }
.btn--accent:hover { box-shadow: 0 18px 34px -12px var(--accent); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(23,32,58,.7); }
.btn--glass {
  background: var(--glass-strong); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--glass-line), 0 8px 20px -14px rgba(23,32,58,.4);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--xl { min-height: 58px; font-size: 17px; padding: 0 26px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.75); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  cursor: pointer; text-decoration: none;
  transition: transform .5s var(--spring), background-color .2s;
}
.icon-btn:hover { transform: scale(1.07); background: #fff; }
.icon-btn:active { transform: scale(.9); transition-duration: .1s; }
.icon-btn .ic { width: 22px; height: 22px; }

.round-btn {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: 0 10px 22px -10px var(--accent);
  transition: transform .5s var(--spring), box-shadow .3s;
}
.round-btn .ic { width: 22px; height: 22px; transition: transform .5s var(--spring); }
.round-btn:hover { transform: scale(1.08) rotate(-8deg); }
.round-btn:hover .ic { transform: translateX(2px); }
.round-btn:active { transform: scale(.88); transition-duration: .1s; }
.round-btn--sm { width: 44px; height: 44px; }
.round-btn--sm .ic { width: 20px; height: 20px; }

/* ---------- Прелоадер ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #FFF6E3 0%, #FFE6B8 55%, #FFCB8E 100%);
  transition: opacity .55s var(--ease), visibility .55s;
}
.js.loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__stage { display: grid; justify-items: center; gap: 4px; }
.preloader__svg { width: 220px; height: auto; overflow: visible; }
.preloader__sun { transform: translateY(70px); animation: pl-rise 1s .05s var(--ease) forwards; }
.preloader__glow { transform-box: fill-box; transform-origin: center; transform: translateY(70px) scale(.6); opacity: .0; animation: pl-glow 1.1s .1s var(--ease) forwards; }
.preloader__line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: pl-draw .8s var(--ease) forwards; }
.preloader__trail { opacity: 0; animation: pl-fade .4s .5s forwards; }
.preloader__word {
  font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: .12em;
  color: #6E3005; opacity: 0; transform: translateY(8px);
  animation: pl-word .5s .45s var(--ease) forwards;
}
@keyframes pl-rise { to { transform: translateY(0); } }
@keyframes pl-glow { to { transform: translateY(0) scale(1); opacity: .75; } }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-word { to { opacity: 1; transform: none; } }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 10px 10px 0;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: 1240px; margin-inline: auto;
  height: 60px; padding: 0 8px 0 10px;
  display: flex; align-items: center; gap: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 10px 30px -18px rgba(23,32,58,.35);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  transition: background-color .3s, box-shadow .3s;
}
.is-scrolled .header__bar { background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 16px 36px -20px rgba(23,32,58,.45); }

.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; margin-right: auto; border-radius: 14px; }
.logo__icon {
  width: 40px; height: 40px; border-radius: 13px; overflow: hidden; flex: none;
  background: linear-gradient(170deg, var(--sky-b), var(--sky-d));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.logo__icon svg { width: 100%; height: 100%; display: block; }
.logo__sun { fill: var(--sun); }
.logo__hill { fill: var(--accent); }
.logo__trail { stroke: #fff; stroke-width: 2; stroke-linecap: round; fill: none; }
.logo__word { font-family: var(--f-display); font-weight: 700; font-size: 23px; letter-spacing: .04em; color: var(--ink); line-height: 1; }

.nav { display: none; }
.nav a {
  position: relative; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 10px 12px; border-radius: 999px; color: var(--ink);
  transition: background-color .2s, transform .45s var(--spring);
}
.nav a:hover { background: rgba(255,255,255,.85); }
.nav a:active { transform: scale(.95); }

.header__phone { display: none; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
.header__phone:hover { background: rgba(255,255,255,.85); }
.header__phone .ic { width: 18px; height: 18px; color: var(--accent); }
.header__cta { display: none; min-height: 46px; }

.season-mini { display: none; }

@media (min-width: 700px) {
  .header__cta { display: inline-flex; }
  .header__call { display: none; }
}
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; }
  .header__burger { display: none; }
  .logo { margin-right: 18px; }
  .nav { margin-right: auto; }
}
@media (min-width: 1240px) {
  .header__phone { display: inline-flex; }
  .season-mini {
    display: flex; gap: 2px; padding: 3px; border-radius: 999px;
    background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
    opacity: 0; transform: scale(.85); pointer-events: none; width: 0; overflow: hidden;
    transition: opacity .3s, transform .5s var(--spring), width .4s var(--ease);
  }
  .past-hero .season-mini { opacity: 1; transform: none; pointer-events: auto; width: 170px; }
  .season-mini button {
    width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
    display: grid; place-items: center; color: var(--ink-2);
    transition: background-color .25s, color .25s, transform .45s var(--spring);
  }
  .season-mini button:hover { transform: scale(1.1); color: var(--ink); }
  .season-mini button[aria-pressed="true"] { background: var(--accent); color: #fff; }
  .season-mini .ic { width: 20px; height: 20px; }
}

/* ---------- Мобільне меню (bottom sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet[hidden] { display: none !important; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(23,32,58,.28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.sheet__panel {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  max-height: calc(100svh - 24px); overflow: auto;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88)), linear-gradient(160deg, var(--sky-b), var(--sky-d));
  box-shadow: var(--shadow-lift);
  transform: translateY(105%);
  transition: transform .55s var(--spring);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { width: 44px; height: 5px; border-radius: 9px; background: rgba(23,32,58,.18); margin: 0 auto 8px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.sheet__nav { display: grid; margin: 14px 0; }
.sheet__nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 54px; padding: 0 6px; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 20px;
  border-bottom: 1px solid var(--line);
}
.sheet__nav a .ic { color: var(--accent); transition: transform .45s var(--spring); }
.sheet__nav a:active .ic { transform: translateX(6px); }

/* ---------- Сезонний перемикач ---------- */
.season-switch {
  --i: 1;
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 10px 26px -16px rgba(23,32,58,.5);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
}
html[data-season="summer"] .season-switch { --i: 0; }
html[data-season="autumn"] .season-switch { --i: 1; }
html[data-season="winter"] .season-switch { --i: 2; }
html[data-season="water"]  .season-switch { --i: 3; }
.season-switch button {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 6px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer;
  font-weight: 800; font-size: 14px; color: var(--ink);
  transition: color .35s, transform .45s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.season-switch button .ic { width: 18px; height: 18px; transition: transform .6s var(--spring); }
.season-switch button:active { transform: scale(.93); }
.season-switch button[aria-checked="true"] { color: #fff; }
.season-switch button[aria-checked="true"] .ic { transform: rotate(-12deg) scale(1.12); }
.season-switch__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 4);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 8px 18px -8px var(--accent);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .6s var(--spring);
}
/* без JS кнопки не мають aria-checked — підсвічуємо за data-season */
html:not(.js)[data-season="autumn"] .season-switch button[data-season-btn="autumn"] { color: #fff; }
.season-switch--sheet { background: rgba(23,32,58,.06); box-shadow: none; }

/* ---------- Перший екран ---------- */
.hero { position: relative; isolation: isolate; padding: 80px 0 150px; overflow: hidden; }
.sky {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 38%, var(--sky-c) 72%, var(--sky-d) 100%);
}
.sky::after { /* плавний перехід у фон сторінки */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.sky__blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 620px; height: 620px;
  background: radial-gradient(closest-side, var(--blob-1), transparent);
  opacity: .9;
}
.sky__blob--1 { top: -220px; left: -200px; animation: drift 22s ease-in-out infinite alternate; }
.sky__blob--2 { top: 260px; right: -260px; background: radial-gradient(closest-side, var(--blob-2), transparent); animation: drift 26s ease-in-out -8s infinite alternate-reverse; }
@keyframes drift { to { transform: translate(90px, 60px) scale(1.12); } }

.sky__hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 210px; }
.hills__far  { fill: var(--hill-far); }
.hills__mid  { fill: var(--hill-mid); }
.hills__near { fill: var(--hill-near); }
.hills__sun, .hills__sun-glow { display: none; }
.hills__trail { stroke: rgba(255,255,255,.9); stroke-width: 3; stroke-dasharray: 3 12; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero .sky::before { /* сонце — окремим колом, щоб не спотворювалось */
  content: ""; position: absolute; z-index: 0;
  right: 14%; bottom: 120px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff8e6 0%, var(--sun) 62%);
  box-shadow: 0 0 0 26px color-mix(in srgb, var(--sun-glow) 45%, transparent), 0 0 90px 40px var(--sun-glow);
  transform: translateY(90px); opacity: .95;
  transition: transform 1.8s var(--ease);
}
.loaded .hero .sky::before, html:not(.js) .hero .sky::before { transform: none; }
.sky__hills { z-index: 1; }

.hero__grid { position: relative; display: grid; gap: 16px; grid-template-areas: "media" "text"; }
.hero__media { grid-area: media; }
.hero__text { grid-area: text; min-width: 0; }

.photo-card {
  position: relative; overflow: hidden; isolation: isolate;
  height: 208px; border-radius: var(--r-lg);
  background: var(--tint);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255,255,255,.6);
}
.photo-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.photo-card__img.is-active { opacity: 1; transform: scale(1); }
.photo-card__img[data-photo="autumn"] { object-position: 70% 8%; }
.photo-card__img[data-photo="summer"] { object-position: 50% 72%; }
.photo-card__img[data-photo="winter"] { object-position: 50% 60%; }
.photo-card__img[data-photo="water"]  { object-position: 50% 55%; }
.photo-card__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sky-a) 35%, transparent) 0%, transparent 32%),
    linear-gradient(0deg, color-mix(in srgb, var(--sky-d) 55%, transparent) 0%, transparent 45%);
}
.photo-card .season-switch { position: absolute; z-index: 2; bottom: 10px; left: 10px; right: 10px; }

.kit-chip {
  position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px;
  display: none; grid-template-columns: 1fr auto; grid-template-areas: "name go" "price go";
  column-gap: 10px; align-items: center;
  padding: 9px 9px 9px 16px; border-radius: 22px;
  background: rgba(255,255,255,.8); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 12px 26px -16px rgba(23,32,58,.5);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  transition: transform .5s var(--spring);
}
.kit-chip:hover { transform: translateY(-3px); }
.kit-chip:active { transform: scale(.97); }
.kit-chip__label { display: none; }
.kit-chip__name { grid-area: name; font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.kit-chip__price { grid-area: price; font-weight: 700; font-size: 13.5px; color: var(--accent-deep); }
.kit-chip__go { grid-area: go; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.kit-chip__go .ic { width: 18px; height: 18px; }

.hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.hero__text > * { width: 100%; }
.hero__text > .eyebrow { width: auto; }
.hero__title { order: 1; margin-top: 8px; }
.book { order: 2; }
.hero__lead { order: 3; }
.trust { order: 4; }
.eyebrow {
  display: none; align-items: center; gap: 8px;
  margin: 8px 0 10px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.eyebrow__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 28%, transparent); }

.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.95rem, 1.1rem + 3.2vw, 3.65rem);
  line-height: 1.06; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title em { display: block; font-style: normal; color: var(--accent-deep); }
.hero__lead { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.hero__lead [data-s="lead"] { color: var(--ink); font-weight: 700; }

.swap { animation: swap .55s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Форма бронювання ---------- */
.book {
  margin-top: 14px; padding: 10px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--shadow-lift);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
}
.book__grid { display: grid; gap: 8px; grid-template-areas: "what" "dates" "people" "hint" "submit"; }
.field--what { grid-area: what; }
.field--dates { grid-area: dates; }
.field--people { grid-area: people; }
.book__hint { grid-area: hint; }
.book__submit { grid-area: submit; width: 100%; }

.field {
  position: relative; display: block;
  min-height: 62px; padding: 8px 16px 9px;
  border-radius: 20px; background: #fff;
  box-shadow: 0 1px 0 rgba(23,32,58,.04);
  transition: box-shadow .25s, transform .45s var(--spring);
}
.field:focus-within { box-shadow: 0 0 0 2.5px var(--accent); }
.field__label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.field__label .ic { width: 15px; height: 15px; color: var(--accent); }
.field__control {
  display: block; width: 100%; margin-top: 3px; padding: 2px 30px 0 0;
  border: 0; background: transparent; outline: none;
  font-weight: 800; font-size: 17px; line-height: 1.35; color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  text-overflow: ellipsis;
}
.field__chev { position: absolute; right: 16px; top: 50%; margin-top: -2px; width: 20px; height: 20px; color: var(--ink-2); pointer-events: none; }

.dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin-top: 3px; }
.dates__arrow { color: var(--ink-2); display: grid; }
.dates__arrow .ic { width: 16px; height: 16px; }
.date { position: relative; display: flex; align-items: baseline; gap: 6px; min-height: 30px; cursor: pointer; min-width: 0; }
.date__cap { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.date__pretty { display: none; font-weight: 800; font-size: 17px; white-space: nowrap; }
.date__input { border: 0; background: transparent; font-weight: 800; font-size: 15px; min-width: 0; width: 100%; color: var(--ink); }
.js .date__pretty { display: inline; }
.js .date__input { position: absolute; inset: -8px -4px; width: calc(100% + 8px); height: calc(100% + 16px); opacity: 0; cursor: pointer; }
.js .date__input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.field--people { min-height: 58px; padding-block: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--tint); color: var(--accent-deep);
  display: grid; place-items: center;
  transition: transform .45s var(--spring), background-color .2s;
}
.stepper__btn:hover { transform: scale(1.08); }
.stepper__btn:active { transform: scale(.86); transition-duration: .1s; }
.stepper__btn:disabled { opacity: .45; cursor: default; transform: none; }
.stepper__btn .ic { width: 20px; height: 20px; stroke-width: 2; }
.stepper__val { min-width: 36px; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.stepper__val.bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.35); } }

.book__hint {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-deep);
  background: color-mix(in srgb, var(--tint) 80%, #fff);
}
.book__hint .ic { width: 16px; height: 16px; }

.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trust li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
  font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink);
}
.trust .ic { width: 16px; height: 16px; color: var(--accent-deep); }
.trust .ic--star { color: #C77700; }

/* ---------- Секції ---------- */
.section { position: relative; padding: 64px 0; }
.section--tight { padding: 28px 0; }
.section--tint {
  margin-inline: 8px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--tint-2), color-mix(in srgb, var(--tint) 70%, var(--paper)));
}
.section__head { display: grid; gap: 12px; margin-bottom: 26px; }
.section__head--center { text-align: center; justify-items: center; }
.section__sub { color: var(--ink-2); font-size: 15.5px; max-width: 34em; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-weight: 800; font-size: 13px; letter-spacing: .02em; color: var(--accent-deep);
}
.kicker::before { content: ""; width: 18px; height: 6px; border-radius: 9px; background: var(--accent); }
.kicker--on-sky { color: var(--ink); }
.h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 1.15rem + 2.3vw, 2.9rem);
  line-height: 1.1; letter-spacing: -.03em; text-wrap: balance;
}
.h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }

/* ---------- Каруселі (телефон) ---------- */
[data-carousel] {
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 22px;
  scrollbar-width: none;
}
[data-carousel]::-webkit-scrollbar { display: none; }
[data-carousel] > * { scroll-snap-align: start; flex: none; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(23,32,58,.18); transition: width .45s var(--spring), background-color .3s; }
.dots i.on { width: 22px; background: var(--accent); }

/* ---------- Набори ---------- */
.kit {
  width: 84%; max-width: 360px;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-soft);
  view-transition-name: var(--vt);
  transition: transform .5s var(--spring), box-shadow .3s;
}
.kit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.kit__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.kit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.kit:hover .kit__media img { transform: scale(1.05); }
.kit[data-kit="kids"] .kit__media img { object-position: 55% 28%; }
.kit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--sky-d) 55%, transparent), transparent 55%); pointer-events: none; }
.kit__badge {
  position: absolute; z-index: 1; top: 12px; left: 12px;
  display: none; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800;
}
.kit.in-season .kit__badge { display: inline-flex; }
.kit__who {
  position: absolute; z-index: 1; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.85); font-size: 13px; font-weight: 800;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.kit__who .ic { width: 16px; height: 16px; color: var(--accent-deep); }
.kit__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 16px; flex: 1; }
.kit__title { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.kit__desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.kit__more { margin-top: 2px; border-radius: 16px; background: var(--plate); }
.kit__more summary {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px;
  list-style: none; cursor: pointer; font-weight: 800; font-size: 14.5px; border-radius: 16px;
}
.kit__more summary::-webkit-details-marker { display: none; }
.kit__more summary span { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.kit__more summary .ic { margin-left: auto; width: 18px; height: 18px; transition: transform .45s var(--spring); }
.kit__more[open] summary .ic { transform: rotate(180deg); }
.kit__list { display: grid; gap: 6px; padding: 0 14px 12px; }
.kit__list li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.35; }
.kit__list .ic { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.2; margin-top: 1px; }
.kit__more[open] .kit__list li { animation: rise .45s var(--ease) both; }
.kit__more[open] .kit__list li:nth-child(2) { animation-delay: .04s; }
.kit__more[open] .kit__list li:nth-child(3) { animation-delay: .08s; }
.kit__more[open] .kit__list li:nth-child(4) { animation-delay: .12s; }
.kit__more[open] .kit__list li:nth-child(5) { animation-delay: .16s; }
.kit__more[open] .kit__list li:nth-child(6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.kit__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.price b { font-family: var(--f-display); font-weight: 700; font-size: 28px; color: var(--ink); letter-spacing: -.02em; }
.price__wk { display: block; margin-top: 6px; width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--accent-deep); font-size: 13px; font-weight: 800; }

/* ---------- Тариф «Вихідні» ---------- */
.weekend {
  position: relative; overflow: hidden;
  display: grid; gap: 22px;
  padding: 26px 18px 20px; border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--sun-glow) 70%, transparent), transparent 60%),
    linear-gradient(160deg, var(--sky-a), var(--sky-b) 45%, var(--sky-c));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.weekend .h2 { font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.45rem); }
.weekend__note { margin: 12px 0 18px; color: var(--ink); font-size: 15.5px; max-width: 32em; }
.week { display: grid; gap: 12px; }
.week__row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.week__bar {
  position: absolute; z-index: 0; left: 12%; right: 12%; top: 50%; height: 8px; margin-top: -4px;
  border-radius: 9px; background: linear-gradient(90deg, var(--accent), var(--sun));
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s .3s var(--ease);
}
.in .week__bar, html:not(.js) .week__bar { transform: scaleX(1); }
.day {
  position: relative; z-index: 1;
  display: grid; justify-items: center; align-content: center; gap: 2px;
  min-height: 92px; padding: 10px 4px; border-radius: 20px;
  background: rgba(255,255,255,.78); text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
}
.day__name { font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.day__tag { font-size: 11.5px; font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.day--start, .day--end { background: #fff; box-shadow: 0 0 0 2.5px var(--accent), 0 12px 24px -14px var(--accent); }
.day--start .day__tag, .day--end .day__tag { color: var(--accent-deep); }
.week__pay {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-radius: 22px; background: var(--ink); color: #fff;
}
.week__pay span { font-weight: 700; font-size: 14px; color: #D5DAEA; }
.week__pay b { font-family: var(--f-display); font-weight: 700; font-size: 26px; }

/* ---------- Популярне ---------- */
.tabs { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-soft); width: fit-content; }
.tabs__btn {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; font-weight: 800; font-size: 14.5px; color: var(--ink-2);
  transition: background-color .3s, color .3s, transform .45s var(--spring);
}
.tabs__btn:active { transform: scale(.94); }
.tabs__btn[aria-selected="true"] { background: var(--ink); color: #fff; }

.good {
  width: 74%; max-width: 300px;
  display: flex; flex-direction: column;
  padding: 10px; border-radius: var(--r-md); background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--spring), box-shadow .3s, opacity .4s;
}
.good:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.good[hidden] { display: none; }
.good__plate {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 90% at 50% 40%, #fff, var(--plate));
  display: grid; place-items: center; padding: 14px;
}
.good__plate img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--spring); }
.good:hover .good__plate img { transform: scale(1.06) rotate(-2deg); }
.good__name { margin: 12px 4px 4px; font-weight: 800; font-size: 16px; line-height: 1.3; min-height: 2.6em; }
.good__price { margin: 0 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.good__price b { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.good__from { margin: 2px 4px 0; font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.good__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 4px 2px; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: auto; }
.good__from + .good__foot { margin-top: 12px; }
.good__dep { font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.good__dep b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }

/* ---------- Категорії ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 72px; height: 100%; padding: 12px; border-radius: 20px;
  background: #fff; text-decoration: none; box-shadow: var(--shadow-soft);
  transition: transform .5s var(--spring), box-shadow .3s;
}
.cat:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow-lift); }
.cat:active { transform: scale(.96); }
.cat__ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent-deep); transition: background-color .4s, color .4s, transform .6s var(--spring); }
.cat__ic .ic { width: 24px; height: 24px; }
.cat__name { font-weight: 800; font-size: 14.5px; line-height: 1.25; min-width: 0; }
.cat__name small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.cat.in-season { box-shadow: 0 0 0 2px var(--accent), var(--shadow-soft); }
.cat.in-season .cat__ic { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.cat.in-season::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sun) 30%, transparent);
}

/* ---------- Кроки ---------- */
.steps { position: relative; display: grid; gap: 12px; counter-reset: s; }
.step {
  position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 2px;
  padding: 16px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft);
}
.step__num {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 22px; color: #fff;
  background: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--sun)));
  box-shadow: 0 10px 20px -10px var(--accent);
}
.step h3 { font-weight: 800; font-size: 17px; line-height: 1.3; align-self: end; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
/* маркування стежки між кроками: біло-червоно-біле */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 38px; bottom: -14px; width: 8px; height: 16px; z-index: 1;
  background: linear-gradient(180deg, #fff 0 33%, #D2352B 33% 66%, #fff 66%);
  border-radius: 2px; box-shadow: 0 0 0 1px rgba(23,32,58,.12);
}

/* ---------- Доставка і чистота ---------- */
.duo { display: grid; gap: 14px; }
.delivery, .clean { border-radius: var(--r-xl); padding: 24px 18px; }
.delivery { background: #fff; box-shadow: var(--shadow-soft); }
.clean { background: linear-gradient(165deg, var(--tint-2), var(--tint)); }
.map { margin: 16px -6px 12px; border-radius: 22px; background: linear-gradient(180deg, var(--sky-a), var(--sky-b)); overflow: hidden; }
.map svg { display: block; width: 100%; height: auto; }
.map__hills { fill: var(--hill-mid); opacity: .55; }
.map__route { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.map__route--b { stroke-dasharray: 2 7; opacity: .7; }
.map__city circle { fill: var(--ink); }
.map__dot circle { fill: #fff; stroke: var(--accent); stroke-width: 4; }
.map text { font-family: var(--f-text); font-weight: 800; font-size: 17px; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 5px; stroke-linejoin: round; }
.in .map__dot circle { animation: pop .7s var(--spring) both; }
.in .map__dot:nth-of-type(2) circle { animation-delay: .1s; }
.in .map__dot:nth-of-type(3) circle { animation-delay: .2s; }
.in .map__dot:nth-of-type(4) circle { animation-delay: .3s; }
.map__dot circle { transform-box: fill-box; transform-origin: center; }
@keyframes pop { from { transform: scale(0); } }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.ticks .ic { width: 22px; height: 22px; color: var(--accent-deep); }
.clean__list { display: grid; gap: 10px; margin-top: 16px; }
.clean__list li, .contact__info li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.78); }
.clean__list b, .contact__info b { display: block; font-size: 15.5px; line-height: 1.3; }
.clean__list div span, .contact__info div span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.clean__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.clean__photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 18px; }
.clean__photos figcaption { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.clean__ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent-deep); box-shadow: var(--shadow-soft); }
.clean__ic .ic { width: 22px; height: 22px; }

/* ---------- Снігоступи ---------- */
.shoes {
  --accent: #1E5AA8; --accent-deep: #17457F; --tint: #E3EEFB; --plate: #EEF4FC;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 22px;
  padding: 28px 16px 18px; border-radius: var(--r-xl);
  background: linear-gradient(165deg, #F6FAFF 0%, #E0ECFA 48%, #C6DBF2 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.shoes__flakes { position: absolute; z-index: -1; right: -20px; top: -10px; width: 420px; opacity: .95; animation: snow 9s ease-in-out infinite alternate; }
@keyframes snow { to { transform: translate(-20px, 26px); } }
.shoes__lead { margin: 12px 0 14px; font-size: 16px; color: var(--ink); max-width: 34em; }
.shoes__lead b { color: var(--accent-deep); }
.shoes__feats { display: grid; gap: 6px; margin-bottom: 18px; }
.shoes__feats li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.shoes__feats .ic { width: 20px; height: 20px; color: var(--accent); stroke-width: 2; }
.shoes .btn-row .btn { flex: 1 1 auto; }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.model { padding: 10px 10px 14px; border-radius: 22px; background: rgba(255,255,255,.85); box-shadow: var(--shadow-soft); transition: transform .5s var(--spring); }
.model:hover { transform: translateY(-4px) rotate(-.6deg); }
.model__plate { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 50% 45%, #fff, var(--plate)); display: grid; place-items: center; padding: 10px; overflow: hidden; }
.model__plate { position: relative; }
.model__plate img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; mix-blend-mode: multiply; }
.model h3 { margin: 10px 4px 0; font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.15; }
.model__type { margin: 2px 4px 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-deep); }
.model__specs { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 2px; }
.model__specs li { padding: 3px 9px; border-radius: 999px; background: var(--tint); font-size: 12.5px; font-weight: 700; white-space: nowrap; }

/* ---------- Маршрути ---------- */
.routes-wrap { display: grid; gap: 22px; }
.routes__note { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 10px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.routes__note .ic { width: 16px; height: 16px; color: var(--accent-deep); }
.routes__intro .section__sub { margin-bottom: 18px; }
.routes { display: grid; gap: 8px; }
.route {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 8px; align-items: center;
  padding: 12px 14px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft);
  transition: transform .5s var(--spring);
}
.route:hover { transform: translateX(4px); }
.route__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent-deep); }
.route__ic .ic { width: 22px; height: 22px; }
.route__txt b { display: block; font-size: 16px; line-height: 1.3; }
.route__txt span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.route .status { grid-column: 2; justify-self: start; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.25; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status--open   { background: #DCF3E4; color: #0F5E36; }
.status--permit { background: #FFEDC9; color: #6F4300; }
.status--check  { background: #E6EBF4; color: #384563; }
.status--closed { background: #FBE1DE; color: #8F1B13; }

/* ---------- Історія + рейтинг ---------- */
.story {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end;
  padding: 20px 18px 22px; border-radius: var(--r-xl);
  background:
    radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--sun-glow) 80%, transparent), transparent 70%),
    linear-gradient(170deg, #FFF3E6, #FFE2CF 60%, #FCD6C8);
}
.story__photo { grid-row: 1; height: 170px; border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: var(--shadow-lift), 0 0 0 5px rgba(255,255,255,.75); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story__text { display: contents; }
.story__text .kicker, .story__text .h2 { grid-column: 2; }
.story__text .kicker { grid-row: 1; align-self: start; margin-top: 20px; }
.story__text .h2 { grid-row: 1; align-self: end; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem); }
.story__text p:not(.kicker) { grid-column: 1 / -1; font-size: 17px; line-height: 1.55; color: var(--ink); }
.story__sign { font-weight: 800; color: #6E3005 !important; font-size: 15.5px !important; }
.story .kicker { color: #6E3005; }
.story .kicker::before { background: #D2352B; }

.rating { display: grid; justify-items: start; align-content: center; padding: 24px 20px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-soft); }
.rating__num { font-family: var(--f-display); font-weight: 700; font-size: 84px; line-height: .95; letter-spacing: -.04em; }
.rating__stars { display: flex; gap: 2px; margin: 10px 0 4px; color: #E39B0B; }
.rating__stars .ic { width: 26px; height: 26px; }
.rating__sub { font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; }
.faq { display: grid; gap: 8px; }
.qa { border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 62px; padding: 12px 12px 12px 20px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 16.5px; line-height: 1.3;
  border-radius: 22px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent-deep); transition: transform .5s var(--spring), background-color .3s, color .3s; }
.qa__ic .ic { width: 20px; height: 20px; stroke-width: 2; }
.qa[open] .qa__ic { transform: rotate(135deg); background: var(--accent); color: #fff; }
.qa__a { padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; }
.qa__a p { max-width: 40em; }

/* ---------- Контакти ---------- */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 20px;
  padding: 28px 18px 110px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--sky-a), var(--sky-b) 50%, var(--sky-c));
}
.contact__hills { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 120px; }
.contact__phone { display: block; width: fit-content; padding: 4px 0; margin: 10px 0 2px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); letter-spacing: -.03em; text-decoration: none; line-height: 1.1; }
.contact__phone:hover { color: var(--accent-deep); }
.contact__mail { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; font-size: 17px; text-decoration: none; }
.contact__mail .ic { color: var(--accent-deep); }
.msgr { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.msgr .btn { flex: 1 1 auto; }
.contact__info { display: grid; gap: 8px; align-content: start; }
.contact__info li { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Футер ---------- */
.footer { padding: 36px 0 20px; }
.footer__grid { display: grid; gap: 20px; }
.footer__brand p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; max-width: 26em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer__nav a, .footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin-left: -10px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
.footer__nav a:hover, .footer__legal a:hover { background: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; color: var(--ink-2); font-size: 14px; }
.footer__legal a { color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.concept-tag {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 24px; padding-top: 16px;
  background: linear-gradient(var(--line), var(--line)) no-repeat var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.concept-tag span { padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.concept-tag a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-soft); transition: transform .45s var(--spring); }
.concept-tag a:hover { transform: translateX(-3px); }
.concept-tag .ic { width: 16px; height: 16px; }

/* ---------- Нижня панель (телефон) ---------- */
.dock {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.72);
  box-shadow: 0 -1px 0 rgba(255,255,255,.9), 0 -14px 30px -20px rgba(23,32,58,.35);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
}
.dock .btn { min-height: 54px; font-size: 16px; padding: 0 14px; }
.dock__call { box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.dock__call .ic { color: var(--accent); }

/* ---------- Тост ---------- */
.toast {
  position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom));
  margin-inline: auto; width: fit-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 22px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.35;
  box-shadow: 0 20px 40px -18px rgba(23,32,58,.6);
  animation: toast-in .55s var(--spring);
}
.toast[hidden] { display: none; }
.toast .ic { color: #FFD27A; width: 20px; height: 20px; }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Анімації появи ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .steps .step[data-reveal]:nth-child(2) { transition-delay: .08s; }
  .js .steps .step[data-reveal]:nth-child(3) { transition-delay: .16s; }
  .js .steps .step[data-reveal]:nth-child(4) { transition-delay: .24s; }
  .js .hero [data-reveal]:nth-child(2) { transition-delay: .08s; }
  .js .hero [data-reveal]:nth-child(3) { transition-delay: .16s; }
  .js .hero [data-reveal]:nth-child(4) { transition-delay: .24s; }
  .js .hero [data-reveal]:nth-child(5) { transition-delay: .32s; }
}

/* View Transitions для перестановки наборів */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* =====================================================================
   Планшет
   ===================================================================== */
@media (min-width: 700px) {
  :root { --gutter: 28px; }
  .hero { padding: 92px 0 190px; }
  .photo-card { height: 360px; }
  .photo-card .season-switch { left: 50%; right: auto; bottom: auto; width: 440px; transform: translateX(-50%); top: 14px; }
  .photo-card__img[data-photo="autumn"] { object-position: 70% 30%; }
  .photo-card__img[data-photo="summer"] { object-position: 50% 45%; }
  .kit-chip { display: grid; left: 14px; right: auto; bottom: 14px; min-width: 330px; }
  .eyebrow { display: inline-flex; margin: 10px 0 12px; }
  .hero__title, .book, .hero__lead, .trust { order: 0; }
  .hero__title { margin-top: 0; }
  .book { margin-top: 20px; }
  .sky__hills { height: 260px; }
  .book { padding: 14px; }
  .book__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "what what" "dates people" "hint hint" "submit submit"; }
  .section { padding: 88px 0; }
  .section--tight { padding: 36px 0; }
  .section--tint { margin-inline: 14px; }
  .kit { width: 46%; }
  .good { width: 34%; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .weekend { padding: 36px 32px; }
  .delivery, .clean { padding: 32px 28px; }
  .shoes { padding: 40px 32px 32px; }
  .models { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story { grid-template-columns: 180px 1fr; padding: 28px; gap: 24px; }
  .story__photo { height: 240px; }
  .route { grid-template-columns: 44px 1fr auto; }
  .route .status { grid-column: 3; justify-self: end; }
  .contact { padding: 40px 32px 150px; }
  .contact__hills { height: 170px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr; }
  .footer__legal { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}

/* =====================================================================
   Десктоп
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --gutter: 40px; --dock-h: 0px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .toast { bottom: 28px; }

  .hero { padding: 118px 0 230px; min-height: min(100svh, 980px); }
  .hero__grid { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); grid-template-areas: "text media"; gap: 48px; align-items: center; }
  .photo-card { height: min(640px, calc(100svh - 190px)); min-height: 520px; border-radius: 40px; }
  .photo-card .season-switch { width: calc(100% - 40px); max-width: 460px; top: 18px; }
  .season-switch button { min-height: 48px; font-size: 15px; }
  .kit-chip {
    left: 18px; right: 18px; bottom: 18px; min-width: 0;
    grid-template-areas: "label go" "name go" "price go";
    padding: 14px 14px 14px 20px; border-radius: 26px;
  }
  .kit-chip__label { display: block; grid-area: label; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
  .kit-chip__name { font-size: 17px; }
  .kit-chip__price { font-size: 15px; }
  .kit-chip__go { width: 52px; height: 52px; }
  .kit-chip__go .ic { width: 22px; height: 22px; }
  .sky__hills { height: 300px; }
  .hero .sky::before { right: 7%; bottom: 150px; width: 150px; height: 150px; }
  .eyebrow { margin-top: 0; font-size: 14px; }
  .hero__lead { font-size: 18px; margin-top: 16px; }
  .book { margin-top: 26px; padding: 14px; }
  .book__grid { grid-template-columns: 1.2fr 1fr; grid-template-areas: "what people" "dates submit" "hint hint"; }
  .field__label { white-space: nowrap; }
  .book__submit { margin-top: 0; height: 100%; min-height: 64px; border-radius: 20px; }
  .book__hint { background: transparent; padding: 2px 6px 0; }

  .section { padding: 110px 0; }
  .section__head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
  .section__head--center { grid-template-columns: 1fr; }
  .section--tight { padding: 44px 0; }
  .section--tint { margin-inline: 20px; border-radius: 48px; }

  [data-carousel] { display: grid; overflow: visible; margin-inline: 0; padding: 0; gap: 18px; }
  .dots { display: none; }
  .kits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit { width: auto; max-width: none; }
  .kit.is-featured { grid-column: span 2; display: grid; grid-template-columns: 1.05fr 1fr; }
  .kit.is-featured .kit__media { aspect-ratio: auto; min-height: 100%; }
  .kit.is-featured .kit__media img { position: absolute; inset: 0; }
  .kit.is-featured .kit__body { padding: 26px; gap: 10px; }
  .kit.is-featured .kit__title { font-size: 28px; }
  .kit.is-featured .price b { font-size: 36px; }
  .goods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .good { width: auto; max-width: none; }
  .good__plate { aspect-ratio: 16 / 10; }

  .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .cat { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 150px; padding: 18px; border-radius: 26px; }
  .cat__ic { width: 54px; height: 54px; border-radius: 18px; }
  .cat__ic .ic { width: 28px; height: 28px; }
  .cat__name { font-size: 16px; }
  .cat__name small { font-size: 13px; }

  .weekend { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 56px; border-radius: 48px; }
  .day { min-height: 128px; border-radius: 24px; }
  .day__name { font-size: 28px; }
  .day__tag { font-size: 13px; }
  .week__pay { padding: 16px 24px; }
  .week__pay b { font-size: 32px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps::before {
    content: ""; position: absolute; left: 12%; right: 12%; top: 54px; height: 3px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 20px); opacity: .45;
  }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 22px 30px; row-gap: 8px; background: rgba(255,255,255,.92); }
  .step__num { grid-row: auto; width: 60px; height: 60px; font-size: 26px; margin-bottom: 6px; }
  .step h3 { font-size: 18px; }

  .duo { grid-template-columns: 1.15fr 1fr; gap: 20px; }
  .delivery, .clean { padding: 40px; border-radius: 44px; }
  .clean { display: flex; flex-direction: column; }
  .clean__photos { margin-top: auto; padding-top: 16px; }
  .clean__photos img { height: 170px; }

  .shoes { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; padding: 56px; border-radius: 48px; }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .model__plate { aspect-ratio: 4 / 3; }
  .shoes .btn-row .btn { flex: 0 1 auto; }

  .routes-wrap { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .route { padding: 14px 18px; }

  .duo--story { grid-template-columns: 1.65fr 1fr; }
  .story { grid-template-columns: 240px 1fr; padding: 40px; gap: 18px 36px; align-items: center; border-radius: 44px; }
  .story__photo { grid-row: 1 / span 4; height: 320px; }
  .story__text { display: block; grid-column: 2; }
  .story__text .kicker { margin-top: 0; }
  .story__text p:not(.kicker) { margin-top: 14px; font-size: 19px; }
  .rating { padding: 40px; border-radius: 44px; }
  .rating__num { font-size: 112px; }

  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-wrap .section__head { grid-template-columns: 1fr; position: sticky; top: 110px; }
  .qa summary { min-height: 72px; font-size: 18px; padding-left: 26px; }
  .qa__a { padding: 0 26px 22px; font-size: 16.5px; }

  .contact { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 40px; padding: 56px 56px 190px; border-radius: 48px; }
  .contact__hills { height: 200px; }

  .footer__grid { grid-template-columns: 1.1fr 1.9fr .9fr; align-items: start; }
  .contact .h2 { font-size: clamp(1.8rem, 1rem + 1.6vw, 2.5rem); }
  .footer__legal { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (min-width: 1280px) {
  .goods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Зменшений рух ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .preloader { display: none; }
}
