/* =====  Переменные и шрифты  ===== */
:root {
  --bg: #c0beb2;
  --text: #212024;
  --white: #ffffff;
  --line: #212024;
  --ticker-alpha: 0.7;
  --font-body: 'Kodchasan', system-ui, sans-serif;
  --font-display: 'Druk Wide Cyr', 'Kodchasan', sans-serif;
  --pad: 50px;
  /* Масштаб коллажей (hero, галерея), свёрстанных под 1600×888: коллаж
     всегда растягивается на всю ширину окна (вниз на узких экранах, вверх
     на широких), поэтому ведёт себя консистентно с остальными секциями и
     не оставляет пустых полей слева/справа. Считается в CSS, без JS. */
  --hs: calc(100vw / 1600px);
  /* Горизонтальный отступ hero-контента, выраженный в координатах
     масштабируемой сцены: после transform:scale(--hs) он даёт ровно --pad,
     т.е. тот же выступ слева/справа, что у секции «коллекция». */
  --hpad: calc(var(--pad) / var(--hs, 1));
}

@font-face {
  font-family: 'Druk Wide Cyr';
  src: url('assets/fonts/DrukWideCyr-MediumIt.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kodchasan';
  src: url('assets/fonts/Kodchasan-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =====  База  ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, p, span { margin: 0; }

/* Секционные заголовки — Druk 30/30 по макету */
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 1.9vw, 30px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section-lead {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.3;
  max-width: 640px;
  margin-top: 20px;
}
.rub { font-size: 0.7em; margin-left: 2px; }

/* Горизонтальный разделитель над заголовком секции */
.section-top {
  padding-top: 26px;
  margin-bottom: 60px;
}
.section-top__label { font-size: 24px; line-height: 1.18; text-transform: lowercase; }
.section-top__rule { border-top: 1px solid currentColor; }

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  padding: 18px 24px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.btn--dark { background: var(--text); color: var(--white); }
.btn--dark:hover { background: #3a3b3f; }
.btn--light { background: var(--white); color: var(--text); }
.btn--light:hover { background: #eaeae4; }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.link-underline {
  font-size: 20px;
  text-transform: lowercase;
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.link-underline:hover::after { transform: scaleX(0.4); }
.stars { color: var(--text); letter-spacing: 1.5px; font-size: 16px; }

/* =====  Тикеры (бегущие строки)  ===== */
.ticker {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  color: var(--white);
  opacity: var(--ticker-alpha);
  font-size: 20px;
  line-height: 1.3;
}
.ticker__track {
  display: flex;
  align-items: center;
  flex: none;
  min-width: max-content;
  will-change: transform;
}
.ticker--top { top: 0; height: 40px; }
.ticker--top .ticker__track { animation: ticker-left 26s linear infinite; }
.ticker--top .ticker__track span { padding: 0 56px; }

.ticker--bottom { bottom: 0; height: 64px; border-top: 1px solid rgba(255,255,255,0.5); }
.ticker--bottom .ticker__track { animation: ticker-right 30s linear infinite; }
.ticker--bottom .ticker__track span { padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.5); }

@keyframes ticker-left { to { transform: translateX(-50%); } }
@keyframes ticker-right { from { transform: translateX(-50%); } }

/* =====  Хедер  ===== */
.header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}
.header__logo { font-family: var(--font-body); font-size: 24px; font-weight: 400; text-transform: capitalize; letter-spacing: 0.02em; }
.header__nav { display: flex; gap: 76px; margin-left: auto; margin-right: auto; }
.header__nav a { font-size: 20px; text-transform: lowercase; transition: opacity 0.2s; }
.header__nav a:hover { opacity: 0.6; }
.header__icons { display: flex; align-items: center; gap: 12px; margin-left: 32px; }
.icon-btn {
  background: none; border: none; color: inherit;
  width: 24px; height: 24px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { opacity: 0.6; }
.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; width: 24px; padding: 0; }
.burger span { display: block; height: 2px; width: 100%; background: var(--text); }
/* Чекбокс-переключатель мобильного меню — всегда скрыт визуально */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }

/* =====  HERO  ===== */
/* Коллаж: фиксированная секция 888px (макет), всё позиционируется по координатам макета */
.hero {
  position: relative;
  height: 888px;
  overflow: hidden;
  background: #c0beb2;
}
/* Коллаж строится для ширины 1600 (макет), затем масштабируется под окно,
   чтобы на более узких экранах кросовок/граффити не обрезались справа. */
.hero__stage {
  position: absolute;
  top: 0; left: 50%;
  width: 1600px; height: 888px;
  margin-left: -800px;
  transform: scale(var(--hs, 1));
  transform-origin: top center;
  z-index: 0;
}
.header {
  position: absolute;
  top: 40px; left: 0; right: 0;
  z-index: 30;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 var(--hpad);
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.hero__body { position: absolute; inset: 0; z-index: 1; }

/* Фоновая гранж-текстура (блобы). Координаты/размеры/поворот/прозрачность — из Figma (canvas -> hero, hero 1600x888). */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__bg .hb { position: absolute; object-fit: cover; }

/* База: весь кадр 1600x888, multiply поверх бежевого фона (figma node 6 1 / 1944:777; scaleMode STRETCH -> object-fit fill) */
.hero__bg .hb--large {
  left: 0; top: 0; width: 100%; height: 100%;
  object-fit: fill;
  opacity: 1;
  mix-blend-mode: multiply;
}

/* Бледное пятно слева (figma node 64 / 2019:53): center (402.9,486.5), 680.6x340.2, rot 1.588°, opac 0.10 */
.hb--large2 {
  --rot: 1.588deg; --dx: 16px; --dy: -12px; --dr: 2deg;
  left: 63px; top: 316px; width: 681px; height: 340px;
  transform: rotate(var(--rot));
  opacity: 0.10;
  animation: hb-float 12s ease-in-out infinite;
}

/* Тёмные чернильные кляксы (figma nodes 69,70 / 2020:98, 2020:100): 467.6x341.5, rot 1.678°, opac 1 */
.hb--small1 {
  --rot: 1.678deg; --dx: -14px; --dy: 12px; --dr: -2deg;
  left: 671px; top: 322px; width: 468px; height: 342px;
  transform: rotate(var(--rot));
  animation: hb-float 15s ease-in-out infinite;
}
.hb--small2 {
  --rot: 1.678deg; --dx: 10px; --dy: -16px; --dr: 1.5deg;
  left: 1328px; top: 122px; width: 468px; height: 342px;
  transform: rotate(var(--rot));
  animation: hb-float 18s ease-in-out infinite;
}

/* Медленный дрейф клякс поверх их базового поворота из макета; у каждой — свои амплитуда/направление/темп */
@keyframes hb-float {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot)); }
  50% { transform: translate(var(--dx, 14px), var(--dy, -14px)) rotate(calc(var(--rot) + var(--dr, 2deg))); }
}

/* Крупный кросовок по центру-справа (макет 755x345, x=867, y=276) */
.hero__img { position: absolute; pointer-events: none; user-select: none; object-fit: contain; }
.hero__img--main { left: 856px; top: 279px; width: 755px; height: 345px; z-index: 1; }
.hero__img--graffiti { left: 1104px; top: 572px; width: 434px; height: 289px; z-index: 1; }

/* Заголовок слева-сверху поверх коллажа (макет: title y=210, subtitle y=375, cta y=431) */
.hero__inner {
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 888px;
  z-index: 2;
}
.hero__title {
  position: absolute;
  left: var(--hpad); top: 210px;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transform: scaleX(0.82);
  transform-origin: left top;
}
/* Каскад-появление строк заголовка при загрузке: маска + выезд снизу вверх со стаггером */
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line > span {
  display: block;
  transform: translateY(120%);
  animation: hero-line-up 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero__title-line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__title-line:nth-child(2) > span { animation-delay: 0.5s; }
@keyframes hero-line-up { to { transform: translateY(0); } }
.hero__subtitle {
  position: absolute;
  left: var(--hpad); top: 375px;
  width: 698px;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.3;
  color: var(--white);
}
.hero__cta {
  position: absolute;
  left: var(--hpad); top: 431px;
  width: 452px; height: 60px;
  padding: 0;
  text-transform: none;
}

/* Разделитель и лейбл «поймать тренд» над карточками (макет: rule y=580, label y=596) */
.hero__rule {
  position: absolute;
  top: 580px; left: 0; right: 0;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.5);
}
.hero__label {
  position: absolute;
  top: 584px;
  left: var(--hpad); width: 882px;
  text-align: center;
  z-index: 2;
  font-size: 20px;
  line-height: 1;
  color: var(--white);
}

/* Карточки товаров (макет: y=634, x=56/346/652, h=136) */
.hero__products {
  position: absolute;
  left: var(--hpad);
  top: 634px;
  display: flex;
  gap: 20px;
  z-index: 3;
}
.pcard {
  position: relative;
  width: 286px;
  height: 136px;
  background: var(--white);
  border-radius: 10px;
  box-sizing: border-box;
  overflow: visible;
  cursor: pointer;
}
.pcard:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.pcard:first-child { width: 270px; }
.pcard__img {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
}
/* Кросовки-миниатюры по координатам макета (выступают за левый/нижний край карточки) */
.pcard:nth-child(1) .pcard__img { left: -60px; bottom: -43px; width: 222px; height: 192px; --rot: 25deg; }
.pcard:nth-child(2) .pcard__img { left: -72px; bottom: -57px; width: 252px; height: 210px; --rot: 28deg; }
.pcard:nth-child(3) .pcard__img { left: -45px; bottom: -24px; width: 193px; height: 160px; --rot: 26deg; }
.pcard__info {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-sizing: border-box;
}
.pcard__name { margin-top: 7px; font-size: 20px; white-space: nowrap; text-transform: lowercase; }
.pcard__stars { display: flex; gap: 4px; margin-top: 8px; color: var(--text); }
.pcard__stars svg { width: 14px; height: 13.5px; fill: currentColor; }
/* Иконки из Figma: рубль (13×18) и стрелка кнопки (≈16px), заполняются currentColor */
.pcard__rub { display: inline-block; width: 13px; height: 18px; margin-left: 3px; vertical-align: -0.16em; }
.pcard__arr { width: 10px; height: 10px; }
.pcard__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 43px;
  z-index: 2;
  box-sizing: border-box;
}
/* Цена — левым краем у горизонтального центра карточки (макет) */
.pcard__price { position: absolute; left: 50%; bottom: 7px; font-size: 20px; white-space: nowrap; }
/* Кнопка-стрелка — белый скруглённый квадрат, прижат к нижнему-правому углу карточки */
.pcard__go {
  position: absolute;
  right: 0; bottom: 0;
  width: 43px; height: 43px;
  background: var(--white);
  border: 0;
  /* По макету (rectangleCornerRadii [10,0,10,0]): скруглён только верхний-левый,
     нижний-правый повторяет угол карточки, верхний-правый и нижний-левый утоплены */
  border-radius: 10px 0 10px 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  box-shadow: inset 0 4px 4px rgba(0,0,0,0.25);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pcard__go:hover { background: var(--text); color: var(--white); transform: translate(2px, -2px); }

/* Hover-анимация карточек hero: карточка приподнимается, мини-кроссовок слегка пружинит.
   Только на устройствах с реальным наведением (на тач-списке миниатюр поворот не нужен). */
@media (hover: hover) and (pointer: fine) {
  .pcard { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease; }
  .pcard:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(33, 32, 36, 0.18); z-index: 5; }
  .pcard__img { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .pcard:hover .pcard__img { transform: translate(14px, -2px) rotate(var(--rot)) scale(1.2); z-index: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard__img { transition: none; }
  .pcard:hover, .pcard:hover .pcard__img { transform: none; }
  .ticker__track { animation: none; }
  .hb--large2, .hb--small1, .hb--small2 { animation: none; }
  .hero__title-line > span { animation: none; transform: none; }
}

/* =====  Scroll-reveal (только когда JS активен)  ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====  КОЛЛЕКЦИЯ  ===== */
.collection { padding: 50px var(--pad) 77px; background: var(--text); color: var(--white); }
.collection__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 148px;
}
.collection__count { font-size: 20px; }
.collection__filters { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.collection__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 50px;
  /* по макету сетка уже шапки: кадры 450px и левый край у 75px (шапка у 48px) */
  padding: 0 25px;
}
/* Рамка-контур сетки (по макету тонкие линии ~#c5c5c7):
   внешний прямоугольник x48→1547, y1280→2865, + горизонтальный разделитель между рядами. */
.collection__grid::before {
  content: '';
  position: absolute;
  left: -2px; right: 3px; top: -30px; bottom: -13px;
  /* По макету горизонтальные грани (верх/низ) чуть темнее вертикальных */
  border: 1px solid #c5c5c7;
  border-top-color: #8d8c91;
  border-bottom-color: #8d8c91;
  pointer-events: none;
}
.collection__grid::after {
  content: '';
  position: absolute;
  left: -2px; right: 3px;
  top: 768px;
  height: 1px;
  background: #c5c5c7;
  pointer-events: none;
}
/* Вертикальные разделители колонок — только в первом ряду (y1280→1847 по макету). */
.prod { display: flex; flex-direction: column; position: relative; }
.prod:nth-child(1)::after,
.prod:nth-child(2)::after {
  content: '';
  position: absolute;
  top: -30px;
  height: 567px;
  right: -23px;
  width: 1px;
  background: #c5c5c7;
  pointer-events: none;
}
/* Карточка: бежевая плашка 450×530 (острые углы по макету) с белой врезкой 374×467 под фото */
.prod__wrap {
  height: 530px;
  background: #c0beb2;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prod__img { height: 467px; width: min(374px, calc(100% - 76px)); padding: 0 37px; object-fit: contain; background: #fff; }
/* Подсветка целевой модели при переходе из hero-карточки (вспышка-кольцо) */
.prod.is-flash .prod__wrap { animation: prod-flash 1.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes prod-flash {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); }
  40%  { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
/* Название и цена выровнены по левому краю белой врезки (как по макету: x=113 у рамки 75).
   max() защищает от отрицательного отступа на узких экранах, где врезка уже карточки. */
.prod__name { margin-top: 21px; font-size: 20px; text-transform: lowercase; padding-left: max(0px, (100% - 374px) / 2); }
.prod__price { margin-top: 32px; font-size: 20px; padding-left: max(0px, (100% - 374px) / 2); }
/* Разделитель под ценой (по макету Line, white 70%) */
.prod__rule { height: 1px; background: rgba(255,255,255,0.7); margin-top: 12px; }
/* Кнопка: по макету 450×60, прозрачная с белой рамкой 1px, острые углы, капс */
.prod .btn--prod { margin-top: 35px; width: 100%; height: 60px; padding: 0 24px; font-size: 24px; border-radius: 0; text-transform: uppercase; }
.collection .btn--prod { background: transparent; color: var(--white); border: 1px solid var(--white); }
.collection .btn--prod:hover { background: rgba(255,255,255,0.12); }
/* Hover карточек коллекции: плавный зум фото в рамке + «активация» кнопки в корзину */
.prod__img { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.prod:hover .prod__img { transform: scale(1.05); }
.collection .btn--prod { transition: background 0.25s ease, color 0.25s ease; }
.collection .prod:hover .btn--prod { background: var(--white); color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .prod__img, .collection .btn--prod { transition: none; }
  .prod:hover .prod__img { transform: none; }
}
.collection__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  /* Верхняя линия футера (по макету Line 20, тёмная #8d8c91) на ~60px ниже нижней границы сетки */
  margin-top: 73px;
  padding-top: 10px;
  border-top: 1px solid #8d8c91;
}

/* =====  НАШ ВЗГЛЯД  ===== */
.view { position: relative; padding: 72px var(--pad) 0; background: var(--bg); color: var(--white); overflow: hidden; }

/* Чернильные кляксы на фоне секции (figma frame 1948:1051, 1600×1481).
   Координаты/размеры/поворот взяты из node'ов 75,76 (серые, op 0.2) и
   77,71,78 (тёмные). Свёрстаны на отдельной масштабируемой сцене 1600px
   (как галерея), чтобы вести себя консистентно на любых ширинах. */
.view__ink {
  position: absolute;
  top: 0; left: 50%;
  width: 1600px;
  height: 1481px;
  margin-left: -800px;
  transform: scale(var(--hs, 1));
  transform-origin: top center;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.view__ink .kb { position: absolute; max-width: none; object-fit: cover; }
.kb--grey-big   { left: 498px;  top: -156px;  width: 364.9px; height: 575.2px; }
.kb--grey-sm    { left: 181px;  top: -56px;   width: 339.2px; height: 190.4px; transform: rotate(1.4886deg); }
.kb--dark-drip  { left: 401px;  top: -264px;  width: 409.6px; height: 522.9px; transform: rotate(-0.0407deg); }
.kb--dark-right { left: 1022px; top: 1101px;  width: 588px;   height: 457.8px; transform: rotate(-1.3533deg); }
.kb--dark-left  { left: -90px;  top: 961px;   width: 588px;   height: 457.8px; transform: rotate(-1.3533deg); }

/* контент поверх клякс */
.view .section-top, .view__grid, .view__gallery { position: relative; z-index: 1; }
.view__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
}
.view__intro { display: flex; flex-direction: column; }
.view__text { margin-top: 32px; font-size: 20px; line-height: 1.3; max-width: 640px; opacity: 0.7; }
.view__features { display: flex; flex-direction: column; }
.feature {
  padding: 26px 0;
  border-top: 1px solid currentColor;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0 14px;
}
.feature:last-child { border-bottom: 1px solid currentColor; }
.feature__num { font-size: 20px; opacity: 0.7; }
.feature__title { font-family: var(--font-body); font-weight: 400; font-size: 24px; line-height: 1.3; text-transform: uppercase; }
.feature__text { grid-column: 2; margin-top: 20px; font-size: 20px; line-height: 1.3; max-width: 520px; opacity: 0.7; }

/* Галерея — коллаж из 6 фото по координатам макета (y=777, высота 666).
   Свёрстан под 1600; масштабируем через --hs (как hero), чтобы не резался на узких экранах. */
.view__gallery {
  position: relative;
  left: 50%;
  width: 1600px;
  height: calc(704px * var(--hs, 1));
  margin: 72px 0 0 -800px;
  transform: scale(var(--hs, 1));
  transform-origin: top center;
}
.view__gallery img {
  position: absolute;
  border-radius: 8px;
  object-fit: cover;
}
.c--1 { left: 40px;  top: 0;    width: 481px; height: 481px; }
.c--2 { left: 536px; top: 0;    width: 324px; height: 324px; }
.c--3 { left: 1117px; top: 0;   width: 427px; height: 620px; }
.c--4 { left: 875px; top: 0;    width: 227px; height: 227px; }
.c--5 { left: 536px; top: 339px; width: 324px; height: 327px; }
.c--6 { left: 875px; top: 242px; width: 227px; height: 342px; }

/* =====  ДОСТАВКА  ===== */
.delivery { padding: 50px var(--pad) 80px; background: var(--text); color: var(--white); }
/* Заголовок и города — в одной строке, под ними разделитель (по макету Line 24).
   Интро-абзац идёт ниже линии отдельным блоком. */
.delivery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.7);
  padding-bottom: 18px;
}
.delivery__cities { font-size: 20px; white-space: nowrap; }
.delivery__lead { margin-top: 14px; max-width: 930px; font-size: 20px; line-height: 1.3; }

/* Шаги — 3 колонки в рамке. По макету верх рамки «открыт» (без верхней линии),
   есть только боковые грани и нижняя линия. Колонки одной высоты, тег с линией
   прижат к низу (margin-top:auto). */
.delivery__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  border-left: 1px solid rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.7);
  margin-top: 80px;
}
.dstep {
  display: flex;
  flex-direction: column;
  padding: 150px 24px 33px;
  border-left: 1px solid rgba(255,255,255,0.7);
}
.dstep:first-child { border-left: none; }
.dstep__num { font-size: 20px; }
.dstep__title { margin-top: 25px; font-family: var(--font-body); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.dstep__text { margin-top: 62px; font-size: 18px; line-height: 1.4; max-width: 400px; margin-bottom: 28px; }
/* Тег: сверху линия-разделитель, прижат к низу колонки (как по макету) */
.dstep__tag { margin-top: auto; font-size: 20px; border-top: 1px solid rgba(255,255,255,0.7); padding-top: 16px; }
.delivery__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 58px;
}
.delivery__foot p { font-size: 20px; max-width: 620px; }
.btn--delivery { min-width: 477px; border-radius: 0; }

/* =====  КОНТАКТЫ / ФУТЕР  ===== */
.contacts { background: var(--text); color: var(--white); padding-bottom: 25px; }
.contacts__pad { padding-left: var(--pad); padding-right: var(--pad); }
.contacts__head { background: var(--white); color: var(--text); padding-bottom: 170px; }
.contacts__head .section-top { margin-bottom: 60px; }
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacts__form { justify-self: end; width: 100%; max-width: 493px; }
.field__label { font-size: 20px; }
/* Форма по макету — без рамки поля и кнопки: плейсхолдер слева, «подписаться» справа,
   снизу тонкая линия. */
.contacts__field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-top: 48px;
  border-bottom: 1px solid rgba(33,32,36,0.7);
  padding-bottom: 12px;
}
.field__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 6px 0;
  font-family: inherit;
  font-size: 20px;
  color: var(--text);
}
.field__input::placeholder { color: var(--text); opacity: 1; }
.field__input:focus { outline: none; }
.field__note { margin-top: 6px; font-size: 15px; }
.btn--field { background: transparent; color: var(--text); border-radius: 0; padding: 0; font-size: 20px; flex-shrink: 0; }
.btn--field:hover { background: transparent; color: rgba(33,32,36,0.6); }

.contacts__columns {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 150px;
  padding: 40px 0 57px 45%;
  border-top: 1px solid rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.7);
}
.col { display: flex; flex-direction: column; gap: 18px; }
.col__title { font-family: var(--font-body); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.col__link { font-size: 20px; transition: opacity 0.2s; }
.col__link:hover { opacity: 0.6; }
.contacts__logo {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(56px, 15vw, 240px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  color: rgba(255,255,255,0.1);
  margin-top: 38px;
  padding: 0 0 37px;
}
.contacts__footer { border-top: 1px solid rgba(255,255,255,0.7); padding-top: 19px; }
.contacts__footer p { font-size: 20px; text-transform: uppercase; }

/* =====  Адаптив  ===== */
@media (max-width: 1080px) {
  :root { --pad: 28px; --hpad: var(--pad); }
  .collection__grid { grid-template-columns: repeat(2, 1fr); }
  /* Рамка-таблица раcсчитана на 3 колонки (макет) — на планшете/мобильном убираем внутренние линии,
     чтобы не было «призрачных» разделителей в 2-колоночной сетке */
  .collection__grid::before,
  .collection__grid::after,
  .prod::after { display: none; }
  .collection__grid { padding: 0; border: none; }
  .view__grid { grid-template-columns: 1fr; gap: 40px; }
  .delivery__steps { grid-template-columns: 1fr; margin-top: 48px; }
  .dstep { padding: 40px 24px 33px; border-left: none; border-top: 1px solid rgba(255,255,255,0.7); }
  .dstep:first-child { border-top: none; }
  .dstep__text { margin-bottom: 24px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__form { justify-self: start; }
  .contacts__head { padding-bottom: 90px; }
  .contacts__columns { grid-template-columns: repeat(2, max-content); column-gap: 96px; padding-left: 24%; }
  .hero__products { grid-template-columns: 1fr; }
  /* Hero на планшете — поток, но кросовки поверх коллажа остаются видимы */
  .hero { height: auto; overflow: visible; }
  .hero__stage { position: static; width: auto; height: auto; margin: 0; transform: none; }
  .hero .ticker { position: static; }
  .header { position: static; }
  .hero__body { position: static; }
  .hero__inner { position: static; height: auto; padding: 24px var(--pad) 0; }
  .hero__title { position: static; width: auto; font-size: 72px; line-height: 1.05; }
  .hero__subtitle { position: static; margin-top: 18px; width: auto; }
  .hero__cta { position: static; margin-top: 30px; width: auto; height: auto; padding: 18px 24px; }
  .hero__products { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 28px var(--pad) 36px; }
  .pcard { display: grid; grid-template-columns: 88px 1fr; column-gap: 14px; align-items: center; width: calc(33% - 12px); min-width: 0; }
  .pcard:first-child { width: calc(33% - 12px); }
  .pcard__info { grid-column: 2; grid-row: 1; position: static; min-width: 0; align-items: flex-start; }
  .pcard__meta { grid-column: 2; grid-row: 2; position: static; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
  .pcard__name { white-space: normal; }
  .pcard__price { position: static; left: auto; bottom: auto; }
  .pcard__go { position: static; width: 36px; height: 36px; }
  .pcard__stars { margin-top: 6px; }
  .pcard:nth-child(1) .pcard__img, .pcard:nth-child(2) .pcard__img, .pcard:nth-child(3) .pcard__img {
    grid-column: 1; grid-row: 1 / span 2; position: static; left: auto; bottom: auto; width: 88px; height: 74px; object-fit: contain;
  }
  .hero__bg, .hero__img--main, .hero__img--graffiti { display: none; }
  .hero__rule { position: static; margin-top: 24px; }
  .hero__label { position: static; margin: 14px 0 0; }
  /* Галерея на планшете — поток (снимаем масштаб под 1600) */
  .view__gallery { position: static; left: auto; height: auto; overflow: visible; margin: 48px 0 0; width: auto; transform: none; }
  .view__gallery img { position: static; width: 100%; height: auto; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; }
  body { font-size: 18px; }
  .header__nav { display: none; }
  .header__icons { display: none; }
  .burger { display: flex; }
  /* Мобильное меню: выпадающая панель под хедером, открывается по чекбоксу бургера */
  .header { position: relative; }
  .header__nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 4px var(--pad) 14px;
  }
  .menu-toggle:checked ~ .header__nav { display: flex; }
  .header__nav a { padding: 12px 0; font-size: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .header__nav a:last-child { border-bottom: none; }
  .collection__grid { grid-template-columns: 1fr; }
  .collection__head, .delivery__head { flex-direction: column; align-items: flex-start; }
  .collection__filters { align-items: flex-start; }
  .view__gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .c--1, .c--2, .c--3, .c--4, .c--5, .c--6 { grid-column: span 2; }
  .delivery__foot, .collection__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn--delivery { min-width: 0; width: 100%; }
  .contacts__field { flex-direction: column; align-items: stretch; }
  .contacts__columns { grid-template-columns: 1fr; padding-left: 24%; }
  .contacts__head { padding-bottom: 60px; }
  .contacts__logo { white-space: normal; font-size: 15vw; }
  /* Hero: обычный поток, кросовки остаются видимы как миниатюры */
  .hero { height: auto; overflow: visible; }
  .hero .ticker { position: static; }
  /* Мобильный тикер — простая строка с отступами, без растягивания/переполнения */
  .ticker--top, .ticker--bottom { justify-content: flex-start; height: auto; padding: 12px var(--pad); }
  .ticker--top span + span { margin-left: 26px; }
  .ticker--bottom { border-top: none; }
  .ticker--bottom span { flex: none; }
  .ticker--bottom span + span { border-left: none; padding-left: 26px; margin-left: 26px; }
  .header { position: relative; }
  .hero__stage { position: static; width: auto; height: auto; margin: 0; transform: none; }
  .hero__body { position: static; }
  .pcard { display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; width: 100%; height: auto; min-width: 0; box-sizing: border-box; }
  .pcard:first-child { width: 100%; }
  .pcard__info { grid-column: 2; grid-row: 1; position: static; min-width: 0; align-items: flex-start; }
  .pcard__meta { grid-column: 2; grid-row: 2; position: static; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
  .pcard__name { white-space: normal; }
  .pcard__price { position: static; left: auto; bottom: auto; }
  .pcard__go { position: static; width: 36px; height: 36px; }
  .pcard__stars { margin-top: 6px; }
  .pcard:nth-child(1) .pcard__img, .pcard:nth-child(2) .pcard__img, .pcard:nth-child(3) .pcard__img {
    grid-column: 1; grid-row: 1 / span 2; position: static; left: auto; bottom: auto; width: 76px; height: 64px; object-fit: contain;
  }
  .hero__bg, .hero__img--main, .hero__img--graffiti { display: none; }
  .hero__rule { position: static; margin-top: 24px; }
  .hero__label { position: static; margin: 14px 0 0; }
  .hero__inner { position: static; height: auto; padding: 24px var(--pad) 0; }
  .hero__title { position: static; width: auto; font-size: 44px; line-height: 1.05; }
  .hero__subtitle { position: static; margin-top: 16px; width: auto; }
  .hero__cta { position: static; margin-top: 28px; width: auto; height: auto; min-width: 0; padding: 18px 24px; }
  .hero__products { position: static; flex-direction: column; gap: 12px; padding: 24px var(--pad) 28px; }
  .pcard { width: auto; min-height: 0; }
  /* Галерея: статичная стопка вместо absolute-коллажа */
  .view__gallery { position: static; left: auto; height: auto; overflow: visible; margin: 40px 0 0; width: auto; transform: none; }
  .view__gallery img { position: static; width: 100%; height: auto; }
}

/* =====  Мобильная версия не поддерживается — заглушка  ===== */
.mobile-block {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background: var(--bg);
  color: var(--text);
}
html.mobile-blocked body { overflow: hidden; }
html.mobile-blocked .mobile-block { display: flex; }
.mobile-block__inner { max-width: 460px; }
.mobile-block__brand {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 26px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  margin-bottom: 42px;
}
.mobile-block__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.mobile-block__text {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.4;
  max-width: 440px;
}