/* ==========================================================================
   КадрикаПРО — сайт-каталог
   Светлый премиальный каталог. Mobile-first: базовые правила — для телефона,
   media-запросы только на расширение (min-width).
   ========================================================================== */

/* --- Шрифты ---------------------------------------------------------------
   Локальные woff2 (scripts/fetch_fonts.py). Если файлов нет, браузер молча
   откатится на системный стек из --font-sans. */
@font-face {
  font-family: "InterLocal";
  src: url("/static/fonts/inter-cyrillic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "InterLocal";
  src: url("/static/fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21BB, U+2212;
}
@font-face {
  font-family: "InterLocal";
  src: url("/static/fonts/inter-cyrillic-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "InterLocal";
  src: url("/static/fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-21BB, U+2212;
}

/* --- Токены (Responsive System v1.0) -------------------------------------- */
:root {
  --font-sans: "InterLocal", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --c-bg: #ffffff;
  --c-bg-soft: #faf8f5;
  --c-bg-deep: #f2eee8;
  --c-line: #e7e2da;
  --c-line-strong: #d8d1c5;
  --c-text: #1c1a17;
  --c-text-soft: #6b655c;
  --c-text-faint: #6f6960;
  --c-ink: #221f1c;
  /* Тёплый акцент затемнён до WCAG AA 4.5:1 на белом (#a98f6a давал ~3.1). */
  --c-warm: #7d674a;
  --c-warm-soft: #f6f0e6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(28, 26, 23, 0.05);
  --shadow: 0 1px 2px rgba(28, 26, 23, 0.04), 0 12px 28px -18px rgba(28, 26, 23, 0.22);
  --shadow-lift: 0 2px 4px rgba(28, 26, 23, 0.05), 0 22px 44px -24px rgba(28, 26, 23, 0.28);

  /* Fluid spacing */
  --space-xs: clamp(8px, 0.7vw, 12px);
  --space-sm: clamp(12px, 1.1vw, 18px);
  --space-md: clamp(16px, 1.6vw, 28px);
  --space-lg: clamp(24px, 3vw, 48px);
  --space-xl: clamp(40px, 5.5vw, 88px);

  --gap: var(--space-md);
  --section-y: var(--space-xl);
  --header-h: clamp(56px, 4.5vw, 72px);
  --tap: 44px;

  /* Fluid container: поля растут с экраном, контент ограничен */
  --container-max: 1320px;
  --container-gutter: clamp(16px, 4.2vw, 64px);
  --narrow-max: 800px;

  /* Fluid type */
  --fs-body: clamp(15px, 0.35vw + 14px, 17px);
  --fs-small: clamp(13px, 0.25vw + 12.5px, 15px);
  --fs-h1: clamp(28px, 2.2vw + 18px, 52px);
  --fs-h2: clamp(22px, 1.4vw + 14px, 36px);
  --fs-lead: clamp(15px, 0.4vw + 13.5px, 18px);
}

/* --- База ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-warm); }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--c-ink);
  color: #fff;
  z-index: 100;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 8px;
  top: 8px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#main:focus {
  outline: none;
}
#main:focus-visible {
  outline: none;
}

.container {
  width: min(100% - (var(--container-gutter) * 2), var(--container-max));
  margin-inline: auto;
}
.container.narrow {
  width: min(100% - (var(--container-gutter) * 2), var(--narrow-max));
}
.container--process {
  width: min(100% - (var(--container-gutter) * 2), var(--container-max));
}
.center { text-align: center; }

/* Якоря не прячутся под липкий header. */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.text-muted { color: var(--c-text-soft); font-size: var(--fs-small); }

/* --- Шапка ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap);
  text-decoration: none;
  color: inherit;
}
.logo__img {
  display: block;
  height: clamp(40px, 4vw, 52px);
  width: auto;
  border-radius: 8px;
}
.logo__img--sm {
  height: clamp(36px, 3.5vw, 44px);
  border-radius: 6px;
}
.logo__text {
  font-weight: 600;
  font-size: clamp(14px, 0.9vw + 12px, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo--footer {
  margin-bottom: 4px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--tap);
  height: var(--tap);
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 1.5px;
  background: var(--c-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 42;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 18px 32px -20px rgba(28, 26, 23, 0.35);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }

.nav-scrim {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 41;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(28, 26, 23, 0.28);
  cursor: pointer;
}
.nav-open .nav-scrim { display: block; }

.site-nav__list { padding: 8px var(--container-gutter) 20px; }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: 6px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--c-line);
}
.site-nav__link.is-current { color: var(--c-warm); }

/* --- Кнопки --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--c-ink); color: #fff; }
.btn--primary:hover { background: #37322c; color: #fff; }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-bg-soft); color: var(--c-text); border-color: var(--c-text-faint); }
.btn--wide { width: 100%; }
.btn:active { transform: translateY(1px); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-soft);
  border-bottom: 1px solid var(--c-line-strong);
  padding-bottom: 2px;
  white-space: nowrap;
}
.link-more:hover { color: var(--c-text); border-color: var(--c-warm); }

/* --- Лента примеров работ (главная) --------------------------------------- */
.works-strip {
  --works-card-w: clamp(240px, 22vw, 320px);
  --works-gap: clamp(14px, 1.5vw, 22px);
  --works-speed: 55s; /* справочно; скорость — data-speed в JS (px/s) */
  padding: var(--space-md) 0 var(--space-sm);
  background: var(--c-bg);
}
.works-strip__shell {
  position: relative;
  width: min(100% - (var(--container-gutter) * 2), 100%);
  max-width: 1600px;
  margin-inline: auto;
}
.works-strip__viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  border-radius: var(--radius);
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 2%,
    #000 98%,
    transparent 100%
  );
}
.works-strip__viewport:active { cursor: grabbing; }
.works-strip__track {
  display: flex;
  gap: var(--works-gap);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.works-strip__item {
  position: relative;
  flex: 0 0 var(--works-card-w);
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}
.works-strip__ph {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(145deg, #f4ece3 0%, #e8dfd4 55%, #ddd3c6 100%);
}
.works-strip__item--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.works-strip__item--link:hover { color: inherit; }
.works-strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
.works-strip__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #faf8f5;
  background: rgba(28, 26, 23, 0.48);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.works-strip__item:hover .works-strip__img,
.works-strip__item:focus-within .works-strip__img {
  transform: scale(1.06);
}
.works-strip__item:hover .works-strip__caption,
.works-strip__item:focus-within .works-strip__caption {
  opacity: 1;
  transform: none;
}
.works-strip__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.works-strip__nav:hover {
  background: #fff;
  border-color: var(--c-warm);
  box-shadow: var(--shadow);
}
.works-strip__nav--prev { left: 4px; }
.works-strip__nav--next { right: 4px; }
.works-strip.is-static .works-strip__track {
  animation: none;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.works-strip.is-static .works-strip__viewport {
  overflow-x: auto;
  cursor: default;
  mask-image: none;
}
.works-strip.is-static .works-strip__nav { display: none; }

@media (max-width: 767px) {
  .works-strip {
    --works-card-w: clamp(240px, 78vw, 320px);
  }
  .works-strip__nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .works-strip__img,
  .works-strip__caption {
    transition: none;
  }
  .works-strip__img {
    transform: none;
  }
  .works-strip__item:hover .works-strip__img {
    transform: none;
  }
}

/* --- Первый экран --------------------------------------------------------- */
.hero {
  padding: clamp(8px, 1.2vw, 16px) 0 clamp(8px, 1vw, 12px);
}
.hero__panel {
  display: flex;
  align-items: center;
  min-height: clamp(430px, 32vw, 500px);
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3vw, 48px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: #f3eee6;
  background-image: url("../img/hero-bg.png?v=079");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
}
.hero__text {
  position: relative;
  z-index: 1;
  width: min(34rem, 52%);
  max-width: 100%;
  min-width: 0;
}
.hero__title {
  font-size: clamp(26px, 1.5vw + 18px, 42px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.hero__subtitle {
  margin-top: var(--space-sm);
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  max-width: 34em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-md);
}
.hero__btn-short { display: none; }

@media (max-width: 1023px) {
  .hero__panel {
    min-height: clamp(380px, 46vw, 460px);
    background-size: auto 100%;
  }
  .hero__text { width: min(32rem, 58%); }
}

@media (min-width: 768px) {
  .hero__actions .btn {
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .hero__actions {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
  }
  .hero__actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 1280px) {
  .hero__actions .btn {
    padding: 0 18px;
  }
}

/* --- Мотивационная editorial-вставка (главная) -------------------------- */
.motivation {
  padding: 4px 0 8px;
  background: var(--c-bg);
}

.motivation__wrap {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.motivation__frame {
  position: relative;
  border: 1px solid #c9b08a;
  border-radius: 12px;
  padding: 22px 22px 20px;
  background: #fff;
}

.motivation__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
}

.motivation__branch--side {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  max-height: clamp(72px, 8vw, 96px);
  opacity: 0.88;
}

.motivation__content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 40rem;
  text-align: center;
}

.motivation__sparkles {
  position: absolute;
  inset: -6px -4px;
  pointer-events: none;
}

.motivation__spark {
  position: absolute;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
}

.motivation__spark--a {
  left: 8%;
  top: 4%;
  max-height: clamp(18px, 2vw, 26px);
}

.motivation__spark--b {
  right: 10%;
  top: 8%;
  max-height: clamp(16px, 1.8vw, 24px);
}

.motivation__spark--c {
  left: 14%;
  bottom: 8%;
  max-height: clamp(14px, 1.6vw, 20px);
}

.motivation__spark--d {
  right: 12%;
  bottom: 6%;
  max-height: clamp(14px, 1.6vw, 20px);
}

.motivation__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #9a7348;
  font-family: Georgia, "Times New Roman", "Palatino Linotype", Palatino, serif;
  font-size: clamp(28px, 1.6vw + 16px, 38px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.motivation__text {
  position: relative;
  z-index: 1;
  margin: 12px auto 0;
  max-width: 36em;
  color: #5c5650;
  font-size: clamp(16px, 0.35vw + 14px, 18px);
  line-height: 1.5;
  text-wrap: pretty;
}

.motivation__mobile-top {
  display: none;
}

@media (max-width: 900px) {
  .motivation__branch--side {
    max-height: clamp(56px, 10vw, 72px);
  }
}

/* --- Секции --------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--c-bg-soft); }
.section__title { font-size: var(--fs-h2); }
.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 2.2vw, 28px);
}
.section__head .section__title { margin: 0; }
.section__title + .cards,
.section__title + .grid,
.section__title + .steps,
.section__title + .price-list,
.section__title + .lead,
.section__title + .flow { margin-top: var(--space-md); }
.section__note { margin-top: var(--space-sm); color: var(--c-text-soft); font-size: var(--fs-small); }
.section__note a { border-bottom: 1px solid var(--c-line-strong); }

/* --- Альбомы: «Что входит в работу» --------------------------------------- */
.work-in { max-width: 100%; }

.work-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.work-steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.work-steps__item:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 10px;
  margin-left: 8px;
  background: var(--c-line-strong);
  align-self: center;
}
.work-steps__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  overflow: visible;
}
.work-steps__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.work-card {
  margin-top: 16px;
  padding: 26px 28px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 22px;
}
.work-card__title {
  font-size: clamp(18px, 1vw + 14px, 22px);
}
.work-card__text {
  margin-top: 8px;
  color: var(--c-text-soft);
  max-width: 42em;
}
.work-card__note {
  margin-top: 12px;
  color: #5c564e;
  font-size: 13px;
  line-height: 1.55;
  max-width: 38em;
}
.work-card.work-card--seasons {
  overflow: hidden;
  min-height: 0;
  padding: 26px 28px;
  background-color: #f4efe8;
}
.work-card--seasons .work-card__text,
.work-card--seasons .work-card__note,
.work-card--seasons .work-seasons,
.work-card--seasons .work-locations {
  max-width: 36em;
}
.work-card--live {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 14px 28px;
  min-height: 148px;
  padding: 26px 28px;
}
.work-card--live.work-card--addon {
  margin-top: 14px;
  min-height: 0;
  padding: 20px 22px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.work-card--live.work-card--addon .work-card__price {
  justify-self: end;
}
.work-card--live .work-card__text { max-width: 38em; }
.work-card__link {
  display: inline-block;
  margin-top: 10px;
  color: var(--c-warm);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}
.work-card__link + .work-card__link {
  display: block;
  margin-top: 4px;
}
.work-card__link:hover { text-decoration: underline; }
.work-card__price {
  font-size: clamp(26px, 1.8vw + 16px, 34px);
  font-weight: 600;
  color: var(--c-warm);
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.work-seasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.work-seasons__item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: var(--c-text);
  font-size: 14px;
}
.work-seasons__item:first-child { padding-left: 0; }
.work-seasons__item:not(:first-child) {
  border-left: 1px solid var(--c-line-strong);
}
.work-seasons__item--more {
  color: var(--c-text-soft);
  font-size: 13px;
  font-weight: 400;
}
.work-seasons__item--more .work-seasons__icon {
  opacity: 0.72;
}
.work-seasons__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.work-seasons__icon--more {
  width: 28px;
  height: 10px;
}

.work-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.work-locations__item {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-text-soft);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--c-line);
  border-radius: 999px;
}

.page-head { padding: clamp(24px, 3vw, 40px) 0 var(--space-xs); }
.page-head__title { font-size: var(--fs-h1); }
.page-head__text {
  margin-top: var(--space-sm);
  color: var(--c-text-soft);
  max-width: 40em;
  font-size: var(--fs-lead);
}

.lead { color: var(--c-text-soft); font-size: var(--fs-lead); }
.note { margin-top: var(--space-sm); color: var(--c-text-soft); font-size: var(--fs-small); }

/* --- Политика обработки персональных данных ------------------------------- */
.privacy {
  padding: var(--section-y) 0;
}
.privacy__wrap {
  width: min(100%, 880px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.2vw, 24px);
}
@media (min-width: 768px) {
  .privacy__wrap { padding-inline: clamp(28px, 3vw, 40px); }
}
.privacy__head { margin-bottom: var(--space-lg); }
.privacy__title {
  font-size: var(--fs-h1);
  max-width: 18em;
  overflow-wrap: anywhere;
}
.privacy__brand {
  margin-top: var(--space-sm);
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--c-text);
}
.privacy__updated {
  margin-top: var(--space-xs);
  color: var(--c-text-soft);
  font-size: var(--fs-small);
}
.privacy__doc {
  color: var(--c-text);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.privacy__meta {
  color: var(--c-text-soft);
  font-size: var(--fs-small);
}
.privacy__meta + .privacy__meta { margin-top: 4px; }
.privacy__section {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-line);
}
.privacy__h {
  font-size: clamp(18px, 0.8vw + 16px, 22px);
  margin-bottom: var(--space-sm);
}
.privacy__sub {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: clamp(16px, 0.4vw + 15px, 18px);
}
.privacy__doc p + p,
.privacy__doc p + ul,
.privacy__doc p + ol,
.privacy__doc ul + p,
.privacy__doc ol + p {
  margin-top: 0.85em;
}
.privacy__doc ul,
.privacy__doc ol {
  list-style: disc;
  padding-left: 1.25em;
  margin-top: 0.7em;
}
.privacy__doc ol { list-style: decimal; }
.privacy__doc li + li { margin-top: 0.4em; }
.privacy__doc a {
  color: var(--c-warm);
  border-bottom: 1px solid var(--c-line-strong);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.privacy__doc a:hover { border-color: var(--c-warm); }
.hint { margin-top: var(--space-sm); color: var(--c-text-faint); font-size: var(--fs-small); }
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--c-text-soft);
  background: var(--c-bg-soft);
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--radius);
}
.bullets { margin-top: 12px; color: var(--c-text-soft); }
.bullets li { position: relative; padding-left: 18px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-warm);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--c-text-faint);
}
.breadcrumbs a { border-bottom: 1px solid var(--c-line-strong); }

/* --- Карточки ------------------------------------------------------------- */
.cards { display: grid; gap: var(--gap); }
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card--plain { box-shadow: none; background: transparent; }
.card__link,
.card--plain { display: flex; flex-direction: column; padding: 22px; height: 100%; box-sizing: border-box; }
.card__link { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card__link:hover { box-shadow: var(--shadow); color: inherit; transform: translateY(-2px); }
.card__title { font-size: 18px; }
.card__text { margin-top: 8px; color: var(--c-text-soft); font-size: 15px; }
.card__more {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-warm);
}

/* --- «Что мы делаем»: крупные карточки с мокапом --------------------------- */
.service-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  margin: var(--space-md) 0 0;
  list-style: none;
  padding: 0;
}
.service-card {
  min-width: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.service-card__link:hover { color: inherit; }
.service-card__media {
  overflow: hidden;
  background: var(--c-bg-soft);
  aspect-ratio: 4 / 3;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card--group .service-card__media {
  background: var(--c-bg-soft);
}
.service-card--group .service-card__img {
  object-fit: cover;
  object-position: center;
}
.service-card__ph {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #efe7dc;
}
.service-card__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
  padding: 18px 18px 20px;
}
.service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
}
.service-card__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.service-card__title {
  margin: 0;
  font-size: clamp(17px, 1.2vw + 12px, 20px);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.25;
}
.service-card__text {
  margin: 6px 0 0;
  color: var(--c-text-soft);
  font-size: 15px;
  line-height: 1.5;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-warm);
}
.service-card__arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-line-strong);
}
.service-card:hover .service-card__img {
  transform: scale(1.04);
}
.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    align-items: stretch;
  }
  .service-card__media { aspect-ratio: 5 / 4; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card__img,
  .service-card__arrow {
    transition: none;
  }
  .service-card:hover { transform: none; }
  .service-card:hover .service-card__img { transform: none; }
  .service-card:hover .service-card__arrow { transform: none; }
}

/* --- Сетки каталога / превью на главной ----------------------------------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
.grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--albums { grid-template-columns: minmax(0, 1fr); }

/* --- Примеры готовых альбомов (/albums) ----------------------------------- */
.album-ready {
  padding-top: clamp(28px, 3.5vw, 48px);
}
.section:has(+ .album-ready--home) {
  padding-bottom: clamp(12px, 1.5vw, 20px);
}
.section.album-ready--home {
  padding-top: clamp(8px, 1vw, 12px);
  padding-bottom: clamp(12px, 1.5vw, 20px);
}
.album-ready--home {
  padding-top: 0;
  padding-bottom: 0;
}
.album-ready--home .album-ready__intro {
  margin-bottom: clamp(8px, 1.2vw, 14px);
}
.album-ready--home .album-ready__text {
  margin-top: 6px;
}
.album-ready__intro {
  max-width: 40em;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.album-ready__eyebrow {
  margin: 0 0 var(--space-xs);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-warm);
}
.album-ready__text {
  margin-top: var(--space-sm);
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.album-ready-strip {
  /* Общая высота ряда: вертикальные уже, горизонтальные шире — не «выпирают» */
  --album-ready-h: clamp(168px, 24vw, 248px);
  padding-top: 0;
  padding-bottom: clamp(16px, 2.4vw, 28px);
  background: transparent;
}
.album-ready-strip .works-strip__track {
  align-items: stretch;
}
.album-ready-strip .works-strip__item {
  flex: 0 0 auto;
  width: auto;
  height: var(--album-ready-h);
  padding: 0;
  background: #2a2a2a;
  border: 1px solid var(--c-line);
}
.album-ready-strip .album-ready-strip__item--h {
  aspect-ratio: 3 / 2;
}
.album-ready-strip .album-ready-strip__item--v {
  aspect-ratio: 2 / 3;
}
.album-ready-strip .album-ready__shot {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}
.album-ready-strip .album-ready__shot:hover,
.album-ready-strip .album-ready__shot:focus-visible {
  box-shadow: none;
}
.album-ready__shot {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
}
.album-ready__shot:focus-visible {
  outline: 2px solid var(--c-warm);
  outline-offset: 2px;
}
.album-ready__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.18);
  transform-origin: center center;
}
.album-ready-strip__item--v .album-ready__img {
  /* Чуть сильнее крупный план: у вертикальных больше студийных полей */
  transform: scale(1.22);
  object-position: center 42%;
}

.grid__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.grid__caption {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-soft);
  line-height: 1.35;
}

/* Превью: равная высота медиа-зоны, дизайн виден целиком (contain). */
.preview,
.tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.preview:hover,
.tile:hover {
  box-shadow: var(--shadow);
  border-color: var(--c-line-strong);
  color: inherit;
}

.preview__img,
.tile__img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--c-bg-soft);
  transition: transform 0.3s ease;
}
.preview:hover .preview__img,
.tile:hover .tile__img {
  transform: scale(1.04);
}

.preview--wide { background: var(--c-bg); }
.preview--wide .preview__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Альбомы на главной — чуть крупнее визуально (выше кадр). */
.grid--albums .tile__img {
  aspect-ratio: 4 / 5;
}

.tile__caption {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 12px 14px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.35;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
}

.tile .placeholder {
  flex: 0 0 auto;
  width: 100%;
  border: 0;
  border-radius: 0;
  margin: 0;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 20px;
  text-align: center;
  color: var(--c-text-faint);
  font-size: 14px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.placeholder--hero { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }

@media (prefers-reduced-motion: reduce) {
  .preview,
  .tile,
  .preview__img,
  .tile__img {
    transition: none;
  }
  .preview:hover .preview__img,
  .tile:hover .tile__img {
    transform: none;
  }
}

/* --- Просмотр альбома ----------------------------------------------------- */
.album-page { margin: 0 0 24px; }
.album-page__caption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-text-soft);
}

/* --- Шаги (линия процесса «Как мы работаем») ------------------------------ */
.section--process {
  padding-block: var(--section-y);
}
.process-intro {
  margin: 0 0 var(--space-lg);
  text-align: left;
}
.process-intro__title {
  margin: 0;
  font-size: var(--fs-h1);
  line-height: 1.15;
}
.process-intro__text {
  margin: var(--space-sm) 0 0;
  max-width: 42em;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.process-intro--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.process-intro--row .process-intro__title {
  font-size: var(--fs-h2);
}

.process-timeline {
  container-type: inline-size;
  container-name: process-steps;
  width: 100%;
  min-width: 0;
}
.steps {
  /* ~2× к прежним 42–58px */
  --step-num-size: clamp(56px, 10vw, 100px);
  --step-icon-size: clamp(68px, 12vw, 112px);
  --steps-gap: clamp(28px, 5vw, 40px);
  --step-line: color-mix(in srgb, var(--c-warm) 62%, #d4c4b0);
  --step-text-max: 22rem;
  display: grid;
  gap: var(--steps-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: var(--step-num-size) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: var(--space-md);
  row-gap: 0;
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  min-width: 0;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--step-num-size) / 2);
  top: var(--step-num-size);
  bottom: calc(var(--steps-gap) * -1);
  width: 0;
  border-left: 2px dashed var(--step-line);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.85;
}
.step__marker {
  grid-column: 1;
  grid-row: 1 / -1;
  position: relative;
  z-index: 1;
  width: var(--step-num-size);
  margin: 0;
}
.step__num {
  display: block;
  width: var(--step-num-size);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.step__icon {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: var(--step-icon-size);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  margin: 0 0 clamp(14px, 1.5vw, 20px);
  /* Круглые PNG чуть касались края кадра — не обрезать контейнером */
  overflow: visible;
  padding: 2px;
  box-sizing: border-box;
}
.step__title {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 clamp(8px, 0.8vw, 12px);
  color: var(--c-text);
  font-size: clamp(17px, 1.4vw + 12px, 20px);
  font-weight: 600;
  line-height: 1.3;
}
.step__text {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  color: var(--c-text-soft);
  font-size: clamp(15px, 1vw + 12px, 17px);
  line-height: 1.6;
}

/* Tablet+: 3×2 — крупные иконки + широкий текст */
@container process-steps (min-width: 640px) {
  .steps {
    --step-num-size: clamp(72px, 8vw, 100px);
    --step-icon-size: clamp(84px, 9vw, 112px);
    --step-text-max: 18rem;
    --steps-gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step:not(:last-child)::before { display: none; }
  .step__marker {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 clamp(18px, 2vw, 26px);
  }
  .step__marker::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + var(--step-num-size) / 2 + 2px);
    width: calc(100% - var(--step-num-size) + clamp(8px, 1.2vw, 20px));
    border-top: 2px dashed var(--step-line);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
  }
  .step:nth-child(3n) .step__marker::after,
  .step:last-child .step__marker::after {
    display: none;
  }
  .step__icon { margin: 0 0 clamp(16px, 1.6vw, 22px); }
  .step__title,
  .step__text {
    max-width: var(--step-text-max);
  }
}

/* Широкий desktop: 6 в ряд, иконки ~2× к прежнему размеру */
@container process-steps (min-width: 1100px) {
  .steps {
    --step-num-size: 100px;
    --step-icon-size: 112px;
    --step-text-max: 13rem;
    --steps-gap: 0 clamp(8px, 1vw, 16px);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-items: stretch;
  }
  .step {
    width: 100%;
    max-width: none;
  }
  .step:nth-child(3n) .step__marker::after {
    display: block;
  }
  .step:last-child .step__marker::after {
    display: none;
  }
  .step__marker {
    margin-bottom: 18px;
  }
  .step__marker::after {
    left: calc(50% + var(--step-num-size) / 2 + 2px);
    width: calc(100% - var(--step-num-size) + clamp(4px, 0.6vw, 12px));
  }
  .step__icon { margin: 0 0 16px; }
  .step__title {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .step__text {
    font-size: 15px;
    line-height: 1.6;
  }
  .step__title,
  .step__text {
    max-width: min(100%, var(--step-text-max));
  }
}

.flow {
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
}
.process-flow {
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--c-text);
  font-weight: 500;
}

/* --- /process SEO-блок (между шагами и CTA) ------------------------------- */
.process-seo {
  padding-top: 0;
}
.process-seo__panel {
  padding: clamp(22px, 3vw, 40px);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.process-seo__grid {
  display: grid;
  gap: var(--space-md);
  align-items: start;
}
.process-seo__title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(22px, 1.6vw + 16px, 30px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-text);
}
.process-seo__text {
  color: var(--c-text-soft);
  font-size: clamp(15px, 0.35vw + 14px, 17px);
  line-height: 1.65;
}
.process-seo__text p + p {
  margin-top: 0.85em;
}
.process-seo__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-deep);
}
.process-seo__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.process-seo__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.05s ease;
  color: inherit;
}
.process-seo__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.process-seo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.process-seo__media > picture .process-seo__img,
.process-seo__media > .process-seo__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.process-seo__links {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.process-seo__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--tap);
  padding: 14px 16px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.process-seo__link:hover {
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.process-seo__link-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--c-warm-soft);
}
.process-seo__link-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-seo__link-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.process-seo__link-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.process-seo__link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-warm);
}

.process-geo {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-line);
}
.process-geo__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 var(--space-xs);
  font-size: clamp(17px, 0.6vw + 15px, 20px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.process-geo__pin {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 0.15em;
  color: var(--c-warm);
}
.process-geo__text {
  margin: 0 0 var(--space-sm);
  color: var(--c-text-soft);
  font-size: clamp(14px, 0.3vw + 13px, 16px);
  line-height: 1.6;
  max-width: 42em;
}
.process-geo__note {
  margin: 0 0 var(--space-sm);
  color: var(--c-text-soft);
  font-size: clamp(13px, 0.25vw + 12px, 15px);
  line-height: 1.55;
  max-width: 42em;
}
.process-geo__note a {
  color: var(--c-warm);
  border-bottom: 1px solid var(--c-line-strong);
}
.process-geo__note a:hover {
  border-color: var(--c-warm);
}
.process-geo__details {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
}
.process-geo__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--tap);
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}
.process-geo__summary::-webkit-details-marker { display: none; }
.process-geo__summary::marker { content: ""; }
.process-geo__summary:focus-visible {
  outline: 2px solid var(--c-warm);
  outline-offset: 2px;
  border-radius: calc(var(--radius) - 2px);
}
.process-geo__chevron {
  flex: 0 0 auto;
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid var(--c-warm);
  border-bottom: 2px solid var(--c-warm);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.process-geo__details[open] .process-geo__chevron {
  transform: rotate(225deg);
  margin-top: 0.2em;
}
.process-geo__panel {
  padding: 0 16px 16px;
}
.process-geo__list-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text-faint);
}
.process-geo__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}
.process-geo__city {
  min-width: 0;
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.45;
}
.process-geo__city--primary {
  color: var(--c-text);
  font-weight: 600;
}

@media (min-width: 480px) {
  .process-geo__cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .process-seo__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
  }
  .process-seo__img {
    aspect-ratio: 1 / 1;
  }
  .process-seo__stage {
    aspect-ratio: 1 / 1;
  }
  .process-seo__media > picture .process-seo__img,
  .process-seo__media > .process-seo__img {
    aspect-ratio: 1 / 1;
  }
  .process-seo__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .process-seo__link {
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 18px 18px 16px;
  }
  .process-seo__link-icon {
    width: 52px;
    height: 52px;
  }
  .process-geo__cities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 18px;
  }
  .process-geo__city {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-seo__slide {
    transition: none;
  }
}

@media (min-width: 1100px) {
  .process-geo__cities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --- Цены ----------------------------------------------------------------- */
.price-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
  padding: 16px 24px;
  background: var(--c-warm-soft);
  border: 1px solid #ece0cc;
  border-radius: var(--radius);
}
.price-badge__label { font-size: 13px; color: var(--c-text-soft); }
.price-badge__value { font-size: clamp(22px, 6vw, 28px); font-weight: 600; }

.price-list {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg);
}
.price-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-line);
}
.price-list__row:last-child { border-bottom: 0; }
.price-list__row--total {
  background: var(--c-warm-soft);
  border-bottom: 1px solid #ece0cc;
}
.price-list__row--total .price-list__label {
  color: var(--c-text);
  font-weight: 600;
}
.price-list__row--total .price-list__value {
  font-size: 1.25em;
}
.price-list__label { color: var(--c-text-soft); }
.price-list__value { font-weight: 600; white-space: nowrap; }
.price-list--large .price-list__row { padding: 18px 20px; }
.price-list--large .price-list__value { font-size: 20px; }

.accent-block {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--c-warm-soft);
  border: 1px solid #ece0cc;
  border-radius: var(--radius-lg);
}
.accent-block--soft { margin-top: 20px; background: var(--c-bg-soft); border-color: var(--c-line); }
.accent-block__title { font-size: clamp(20px, 5vw, 26px); }
.accent-block__text { margin-top: 8px; color: var(--c-text-soft); }
.accent-block__price { font-size: clamp(22px, 6vw, 30px); font-weight: 600; white-space: nowrap; }

/* --- Контакты / CTA с фото-подложкой -------------------------------------- */
.cta {
  padding: var(--section-y) 0;
  background: transparent;
}
.cta__panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(180px, 18vw, 220px);
  padding: clamp(22px, 3vw, 36px) clamp(20px, 3.5vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  /* Цвет ≈ левой зоны подложки; фото пристыковывается справа без обрезки по высоте */
  background-color: #eae1da;
  background-image: url("../img/cta-album-bg.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
}
.cta__copy {
  position: relative;
  z-index: 1;
  max-width: min(34em, 52%);
}
.cta__title {
  margin: 0;
  font-size: clamp(22px, 1.6vw + 14px, 30px);
  line-height: 1.2;
  color: var(--c-text);
}
.cta__text {
  margin: var(--space-xs) 0 0;
  max-width: 34em;
  color: var(--c-text-soft);
  font-size: clamp(14px, 0.35vw + 13px, 16px);
  line-height: 1.5;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(14px, 2vw, 20px);
  --cta-icon-size: 60px;
}
.cta__contact {
  display: block;
  flex: none;
  line-height: 0;
  text-decoration: none;
}
.cta__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--cta-icon-size);
  padding: 4px 18px 4px 4px;
  border: 1px solid #c9b08a;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffefb 0%, #f7f1e8 100%);
  line-height: 1.2;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}
.cta__contact-btn:hover {
  opacity: 0.92;
  border-color: #b9986a;
}
.cta__contact-icon,
.cta__social-link,
.cta__social-link img {
  width: var(--cta-icon-size);
  height: var(--cta-icon-size);
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.cta__contact-icon {
  margin: 0;
}
.cta__contact-label {
  color: #8a7048;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex: 1 1 auto;
}
.cta__contact-arrow {
  color: #8a7048;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.cta__contact:hover { opacity: 0.92; }
.cta__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta__social-link {
  display: block;
  width: var(--cta-icon-size);
  height: var(--cta-icon-size);
  flex-shrink: 0;
  line-height: 0;
}
.cta__social-link:hover { opacity: 0.86; }
.cta__phone { font-size: clamp(18px, 1.2vw + 12px, 20px); font-weight: 600; }

@media (min-width: 768px) and (max-width: 1023px) {
  .cta__panel {
    min-height: clamp(190px, 26vw, 230px);
  }
  .cta__copy { max-width: min(30em, 55%); }
  .work-steps {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .work-steps::-webkit-scrollbar { display: none; }
  .work-steps__item {
    flex: 0 0 auto;
    min-width: 156px;
  }
  .work-steps__item:last-child { min-width: 0; padding-right: 4px; }
}

.contact-card {
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
  text-align: center;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.contact-card__phone {
  display: inline-block;
  font-size: clamp(24px, 2vw + 14px, 34px);
  font-weight: 600;
  margin: 0 0 var(--space-md);
  color: inherit;
  text-decoration: none;
}
.contact-card__phone:hover { color: var(--c-warm); }
.contact-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.contact-card .cta__social {
  justify-content: center;
}
.contact-card__note { margin: var(--space-xs) 0 var(--space-md); color: var(--c-text-soft); }

/* --- Страница контактов (/contacts) --------------------------------------- */
.contacts {
  padding-block: clamp(28px, 4vw, 56px);
}
.contacts__wrap {
  max-width: 720px;
}

.contacts-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.contacts-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}
.contacts-hero__title {
  margin: 0;
  font-size: clamp(26px, 1.2vw + 22px, 46px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.contacts-hero__lead {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  max-width: 28em;
  color: var(--c-text-soft);
  font-size: clamp(15px, 0.35vw + 14px, 18px);
  line-height: 1.55;
}

.contacts-hero__actions {
  display: grid;
  gap: clamp(12px, 1.5vw, 16px);
  justify-items: start;
}
.contacts-hero__phone {
  font-size: clamp(26px, 1.8vw + 18px, 34px);
  font-weight: 600;
  line-height: 1.12;
  color: inherit;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.contacts-hero__phone:hover { color: var(--c-warm); }
.contacts-hero__call {
  min-width: 168px;
}

.contacts-messengers {
  width: 100%;
  margin-top: clamp(4px, 0.8vw, 8px);
  padding-top: clamp(14px, 2vw, 18px);
  border-top: 1px solid var(--c-line);
}
.contacts-messengers__title {
  margin: 0 0 12px;
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  font-weight: 500;
}
.contacts-messengers__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(14px, 2.5vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.contacts-messengers__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 56px;
  color: inherit;
  text-decoration: none;
}
.contacts-messengers__link:hover { color: var(--c-warm); }
.contacts-messengers__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}
.contacts-messengers__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contacts-facts {
  display: grid;
  gap: clamp(16px, 2vw, 20px);
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: clamp(20px, 2.5vw, 28px) 0 0;
  border-top: 1px solid var(--c-line);
}
.contacts-facts__item {
  margin: 0;
}
.contacts-facts__term {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}
.contacts-facts__desc {
  margin: 6px 0 0;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--c-text);
}

@media (min-width: 900px) {
  .contacts-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .contacts-facts__item + .contacts-facts__item {
    border-left: 1px solid var(--c-line);
    padding-left: clamp(18px, 2.2vw, 28px);
  }
  .contacts-facts__item:not(:last-child) {
    padding-right: clamp(18px, 2.2vw, 28px);
  }
}

.facts { margin-top: var(--space-lg); }
.facts dt { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-faint); }
.facts dd { margin: 4px 0 var(--space-sm); }

/* --- Подвал --------------------------------------------------------------- */
.site-footer {
  padding: var(--space-sm) 0 clamp(12px, 1.2vw, 16px);
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
}
.site-footer__inner {
  display: grid;
  gap: var(--space-sm);
  align-items: start;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer__brand .logo__text {
  font-size: clamp(13px, 0.8vw + 11px, 15px);
  line-height: 1.2;
}
.site-footer__brand p {
  margin: 0;
  line-height: 1.35;
}
.site-footer__phone {
  font-size: clamp(16px, 0.9vw + 11px, 18px);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer__social-link {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  line-height: 0;
}
.site-footer__social-link img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.site-footer__social-link:hover { color: inherit; opacity: 0.86; }
.site-footer__legal {
  display: inline-block;
  margin: 0;
  max-width: 22em;
  font-size: var(--fs-small);
  color: var(--c-text-soft);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.site-footer__legal:hover { color: var(--c-text); }

/* --- Lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: rgba(24, 22, 20, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 12px 12px;
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: 8px;
  background: #fff;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 12px 18px;
  color: #f5f1ea;
  font-size: 14px;
}
.lightbox__caption { min-width: 0; flex: 1 1 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__counter { color: #b8b0a4; white-space: nowrap; }
.lightbox__share {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: calc(12px + var(--tap) + 8px);
  z-index: 4;
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #1c1a17;
  background: #f5f1ea;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__share:hover { background: #fff; }

.lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  color: #f5f1ea;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__btn:disabled { opacity: 0.35; cursor: default; }
.lightbox__close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 4;
}
.lightbox__nav { display: flex; gap: 8px; }

body.lightbox-open { overflow: hidden; }
body.share-open .lightbox { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Структурные breakpoints (layout only; размеры — через clamp / container)
   Mobile < 768 · Tablet 768–1023 · Desktop 1024+ · Nav row 900+
   ========================================================================== */
@media (min-width: 480px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accent-block { grid-template-columns: 1fr auto; align-items: center; }
  .work-card--live {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 28px;
  }
}

@media (min-width: 768px) {
  .grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--albums { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-sm);
  }
  .site-footer__contacts { align-items: flex-end; }

  .lightbox__stage { padding: 64px 64px 12px; }
  .lightbox__bar { padding: 12px 24px 24px; }
}

/* Шесть пунктов меню рядом с логотипом — от ~900 px, иначе hamburger */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    z-index: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-scrim { display: none !important; }
  .site-nav__list { display: flex; gap: clamp(16px, 1.6vw, 28px); padding: 0; }
  .site-nav__link {
    min-height: auto;
    padding: 0;
    font-size: clamp(14px, 0.7vw + 12px, 15px);
    white-space: nowrap;
    border: 0;
    color: var(--c-text-soft);
  }
  .site-nav__link:hover { color: var(--c-text); }
  .site-nav__link.is-current { color: var(--c-text); font-weight: 600; }
}

@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Очень узкие экраны (320 px): одна колонка читаемее двух. */
@media (max-width: 359px) {
  .grid--catalog { grid-template-columns: minmax(0, 1fr); }
}

/* --- Оживляющие фотографии (/living-photos) ------------------------------- */
.lp-hero {
  padding: var(--space-lg) 0 var(--space-md);
}
.lp-hero__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
.lp-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--c-warm);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-hero__title {
  margin: 0;
  font-size: clamp(28px, 2.2vw + 16px, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lp-hero__desc {
  margin: var(--space-sm) 0 0;
  max-width: 34em;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-md);
}
.lp-hero__visual {
  justify-self: center;
  width: min(100%, 480px);
}
.lp-hero__mock {
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lp-how .section__title { margin-bottom: clamp(20px, 2.2vw, 28px); }
.lp-how .step__text { display: none; }
.lp-how .steps {
  gap: 14px;
  /* Один размер иконки для всех 4 шагов */
  --step-icon-size: 72px;
  --step-num-size: clamp(48px, 5vw, 64px);
  --steps-gap: 14px;
}
.lp-how .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px 20px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.lp-how .step:not(:last-child)::before { display: none; }
.lp-how .step__marker {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 12px;
}
.lp-how .step__marker::after { display: none !important; }
.lp-how .step__icon {
  display: block;
  flex: none;
  width: var(--step-icon-size);
  height: var(--step-icon-size);
  margin: 0 0 10px;
  padding: 0;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}
.lp-how .step__title {
  margin: 0;
  font-size: clamp(15px, 1vw + 12px, 17px);
}

@container process-steps (min-width: 640px) {
  .lp-how .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container process-steps (min-width: 960px) {
  .lp-how .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lp-try__card {
  display: grid;
  gap: var(--space-lg);
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.lp-try__title {
  margin: 0;
  font-size: clamp(24px, 1.6vw + 14px, 32px);
  line-height: 1.2;
}
.lp-try__text {
  margin: 12px 0 0;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 32em;
}
.lp-try__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}
.lp-try__tab {
  min-height: 40px;
  padding: 0 14px;
  color: var(--c-text-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
}
.lp-try__tab:hover,
.lp-try__tab:focus-visible {
  color: var(--c-text);
  border-color: var(--c-line-strong);
  outline: none;
}
.lp-try__tab.is-active {
  color: #fff;
  background: var(--c-ink);
  border-color: var(--c-ink);
}
.lp-try__caption {
  margin: 16px 0 0;
  color: var(--c-text);
  font-size: 15px;
  font-weight: 600;
}
.lp-try__hint {
  margin: 8px 0 0;
  color: var(--c-text-faint);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.lp-try__photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
}
.lp-try__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.lp-try__qr {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.lp-try__qr[hidden] { display: none !important; }
.lp-try__qr img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.lp-try__qr span {
  color: var(--c-text-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.lp-album-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
}
.lp-album-flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.lp-album-flow__item[aria-hidden="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12px;
}
.lp-album-flow__media {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  padding: 18px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.lp-album-flow__media img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}
.lp-album-flow__label {
  margin: 0;
  max-width: 12em;
  color: var(--c-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.lp-album-flow__arrow {
  color: var(--c-text-faint);
  font-size: 20px;
  line-height: 1;
  transform: rotate(90deg);
}
.lp-album__note {
  margin: var(--space-md) auto 0;
  max-width: 40em;
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  line-height: 1.55;
  text-align: center;
}

.lp-examples__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
}
.lp-example {
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.lp-example__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.lp-example__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-example__title {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  text-align: center;
}

.lp-addon__card {
  display: grid;
  gap: var(--space-md);
  padding: clamp(24px, 3vw, 40px);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.lp-addon__title {
  margin: 0;
  font-size: clamp(24px, 1.6vw + 14px, 32px);
  line-height: 1.2;
}
.lp-addon__text {
  margin: 12px 0 0;
  max-width: 36em;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.lp-addon__price {
  margin: 18px 0 0;
  color: var(--c-ink);
  font-size: clamp(32px, 3vw + 16px, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.lp-addon__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.lp-addon__more {
  color: var(--c-warm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.lp-addon__more:hover,
.lp-addon__more:focus-visible {
  color: var(--c-text);
}

@media (min-width: 480px) {
  .lp-examples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .lp-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(28px, 4vw, 48px);
  }
  .lp-try__card {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }
  .lp-album-flow {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }
  .lp-album-flow__item {
    flex: 1 1 0;
    min-width: 0;
  }
  .lp-album-flow__item[aria-hidden="true"] {
    flex: 0 0 auto;
    align-self: center;
    min-height: 0;
    padding-top: 36px;
  }
  .lp-album-flow__arrow {
    transform: none;
  }
  .lp-addon__card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .lp-addon__actions {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .lp-examples__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- Рамка оживающего фото (макет) -------------------------------------- */
.live-frame {
  position: relative;
  width: 100%;
}
.live-frame__sheet {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px) clamp(16px, 2.2vw, 26px) clamp(16px, 2vw, 22px);
  background: #fbfaf7;
}
.live-frame__wash {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.live-frame__wash--tl {
  top: -8%;
  left: -6%;
  width: min(42%, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(210, 186, 150, 0.45) 0%, rgba(210, 186, 150, 0.12) 55%, transparent 72%);
  filter: blur(2px);
}
.live-frame__wash--br {
  right: -4%;
  bottom: 8%;
  width: min(38%, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 55%, rgba(170, 198, 214, 0.42) 0%, rgba(170, 198, 214, 0.1) 58%, transparent 74%);
  filter: blur(2px);
}
.live-frame__wash--stroke {
  right: 8%;
  bottom: 12%;
  width: min(34%, 180px);
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(214, 196, 168, 0.35), transparent);
  transform: rotate(-4deg);
}
.live-frame__stage {
  position: relative;
  z-index: 1;
  padding: clamp(10px, 1.4vw, 16px);
}
.live-frame__line {
  position: absolute;
  pointer-events: none;
  border: 1.5px solid #1c1a17;
}
.live-frame__line--outer {
  inset: 0;
}
.live-frame__line--inner {
  inset: 7px;
  opacity: 0.92;
}
.live-frame--compact .live-frame__line--inner {
  inset: 5px;
}
.live-frame__photo {
  position: relative;
  overflow: hidden;
  background: #ebe6df;
}
.live-frame__img,
.live-frame__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.gp-showcase .live-frame__img,
.gp-showcase .live-frame__photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
  background: #ebe6df;
}
.live-frame__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f0e7da;
  border-top: 1px solid #e5d8c6;
}
.live-frame__foot-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.live-frame__foot-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1c1a17;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.live-frame__foot-hint {
  color: var(--c-text-soft);
  font-size: 12px;
  line-height: 1.4;
}
.live-frame__foot-qr {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #fff;
  border: 1px solid #e7dccb;
  border-radius: 8px;
}
.live-frame__foot-qr[hidden] { display: none !important; }
.live-frame__foot-qr img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.lp-try__mock {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Общее фото класса (/group-photo) ------------------------------------- */
.gp-backdrop {
  padding-top: clamp(8px, 1.2vw, 16px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
}
.gp-backdrop__intro {
  max-width: 42em;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.gp-backdrop__title {
  font-size: var(--fs-h2);
  line-height: 1.2;
  text-wrap: balance;
}
.gp-backdrop__subtitle {
  margin-top: var(--space-sm);
  color: var(--c-text);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
}
.gp-backdrop__text {
  margin-top: var(--space-sm);
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
  text-wrap: pretty;
}
.gp-backdrop__card {
  margin: 0;
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.gp-backdrop__media {
  aspect-ratio: 1024 / 682;
  background: #f5f2ed;
}
.gp-backdrop__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gp-backdrop__caption {
  padding: clamp(12px, 1.6vw, 16px) clamp(16px, 2vw, 22px);
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  line-height: 1.45;
  text-align: center;
  border-top: 1px solid var(--c-line);
  background: #faf8f5;
}

.gp-showcase {
  padding-top: clamp(12px, 1.6vw, 20px);
}
.gp-showcase__bridge {
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  text-align: center;
  text-wrap: pretty;
}
.gp-showcase__bridge-title {
  margin: 0;
  font-size: clamp(20px, 1.2vw + 18px, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.gp-showcase__bridge-text {
  margin: var(--space-xs) auto 0;
  max-width: 36em;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.gp-showcase__card {
  width: 100%;
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.gp-showcase__card .live-frame__sheet {
  border-bottom: 0;
}
.gp-showcase__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 297 / 210;
  background: #fff;
}
.gp-showcase__img {
  display: block;
  width: 100%;
  height: auto;
}
.gp-showcase__caption {
  margin-top: var(--space-sm);
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-align: center;
}

.gp-qr {
  border-top: 1px solid #e5d8c6;
  background: #f0e7da;
}
.gp-qr__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2.4vw, 22px);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 180ms ease;
}
.gp-qr__strip:hover,
.gp-qr__strip:focus-visible {
  background: rgba(255, 255, 255, 0.45);
}
.gp-qr__strip:focus-visible {
  outline: 2px solid var(--c-warm);
  outline-offset: -2px;
}
.gp-qr__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gp-qr__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-size: clamp(15px, 0.6vw + 14px, 17px);
  font-weight: 700;
  line-height: 1.35;
}
.gp-qr__icon {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 1.1em;
  height: 1.1em;
  color: var(--c-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.gp-qr__hint {
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.gp-qr__hint--mobile { display: none; }

.gp-qr__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 4px;
  background: #fff;
  border: 1px solid #e7dccb;
  border-radius: 8px;
  box-shadow: none;
}
.gp-qr__img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 180ms ease;
}
.gp-qr__strip:hover .gp-qr__img,
.gp-qr__strip:focus-visible .gp-qr__img {
  transform: scale(1.08);
}

.gp-qr.is-expanded .gp-qr__mark {
  width: 132px;
  height: 132px;
}
.gp-qr.is-expanded .gp-qr__img {
  width: 120px;
  height: 120px;
}

.gp-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}
.gp-qr-modal[hidden] {
  display: none;
}
body.gp-qr-open {
  overflow: hidden;
}
.gp-qr-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 26, 23, 0.28);
  cursor: pointer;
}
.gp-qr-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  max-height: min(100%, calc(100dvh - 40px));
  overflow: auto;
  padding: 24px 22px 20px;
  text-align: center;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
}
.gp-qr-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--c-text-soft);
  font-size: 24px;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.gp-qr-modal__close:hover,
.gp-qr-modal__close:focus-visible {
  color: var(--c-text);
  background: var(--c-bg-soft);
}
.gp-qr-modal__title {
  font-size: clamp(18px, 1.2vw + 14px, 22px);
  line-height: 1.3;
}
.gp-qr-modal__text {
  margin-top: 8px;
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.gp-qr-modal__img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 18px auto 0;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fff;
}
.gp-qr-modal__foot {
  margin-top: 12px;
  color: var(--c-text-faint);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 479px) {
  .gp-qr-modal {
    padding: 16px;
  }
  .gp-qr-modal__panel {
    padding: 22px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-qr__strip,
  .gp-qr__img {
    transition: none;
  }
  .gp-qr__strip:hover .gp-qr__img,
  .gp-qr__strip:focus-visible .gp-qr__img {
    transform: none;
  }
}

.gp-how .section__title { margin-bottom: clamp(20px, 2.2vw, 28px); }
.gp-how .step__text { display: none; }

@container process-steps (min-width: 900px) {
  .gp-how .steps {
    --step-num-size: clamp(72px, 7vw, 92px);
    --step-icon-size: clamp(72px, 7vw, 96px);
    --step-text-max: 14rem;
    --steps-gap: 0 clamp(8px, 1vw, 16px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gp-how .step:nth-child(3n) .step__marker::after { display: block; }
  .gp-how .step:nth-child(4n) .step__marker::after,
  .gp-how .step:last-child .step__marker::after { display: none; }
}

@container process-steps (min-width: 1100px) {
  .gp-how .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gp-how .step:nth-child(3n) .step__marker::after { display: block; }
  .gp-how .step:nth-child(4n) .step__marker::after,
  .gp-how .step:last-child .step__marker::after { display: none; }
}

.gp-product {
  width: min(100% - (var(--container-gutter) * 2), 980px);
}

.gp-kit {
  padding-top: clamp(48px, 5.5vw, 88px);
  padding-bottom: 40px;
}
.gp-albums {
  padding-top: 40px;
  padding-bottom: clamp(48px, 5.5vw, 88px);
}

.gp-kit__heading {
  font-size: var(--fs-h2);
  line-height: 1.15;
}
.gp-kit__lead {
  margin-top: var(--space-sm);
  max-width: 40em;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.gp-kit .vg-kit {
  margin-top: var(--space-md);
}
.gp-kit__board {
  margin-top: var(--space-md);
  padding: clamp(24px, 3.4vw, 44px) clamp(20px, 3.2vw, 48px);
  background: var(--c-warm-soft);
  border: 1px solid #ece0cc;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.gp-kit__set {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 680px);
  margin-inline: auto;
  gap: clamp(14px, 1.6vw, 20px);
}
.gp-kit__prints {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 15fr);
  align-items: end;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gp-kit__prints li {
  min-width: 0;
}
.gp-print {
  display: block;
  margin: 0;
  width: 100%;
}
.gp-print__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.gp-print--a4 { width: 100%; }
.gp-print--a4 .gp-print__media { aspect-ratio: 297 / 210; background: #fff; }
.gp-print--a4 .gp-print__img { object-fit: contain; }
.gp-print--s { width: 100%; }
.gp-print--m { width: 100%; }
.gp-print--s .gp-print__media { aspect-ratio: 2 / 3; }
.gp-print--m .gp-print__media { aspect-ratio: 3 / 4; }
.gp-print__img,
.gp-print__ph {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gp-print__ph {
  background: linear-gradient(145deg, #f0ebe3 0%, #e8e0d4 100%);
}
.gp-print__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px 0;
  text-align: center;
}
.gp-print__format {
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.gp-print__name {
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  line-height: 1.35;
}

.gp-albums__panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.8vw, 36px);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 20px;
}
.gp-albums__title {
  font-size: clamp(20px, 1.3vw + 14px, 26px);
  line-height: 1.25;
}
.gp-albums__text {
  margin-top: 8px;
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.gp-living__text {
  margin-top: var(--space-sm);
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .gp-albums__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 32px;
  }
}

/* --- Страница виньеток ---------------------------------------------------- */
.vg-catalog__title { text-align: center; }

.vg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
}
.vg-grid__item {
  position: relative;
  display: flex;
  min-width: 0;
  border-radius: var(--radius);
}
.vg-grid__item:focus {
  outline: none;
}
.vg-grid__item--focus {
  z-index: 2;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--c-warm) 42%, transparent),
    var(--shadow);
  animation: vg-focus-pulse 0.95s ease-out 2;
}
.vg-grid__item--focus .vignette-card {
  border-color: var(--c-warm);
}
.vg-grid__item--focus::after {
  content: "Этот дизайн";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #faf8f5;
  background: var(--c-warm);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(28, 26, 23, 0.18);
  pointer-events: none;
}
@keyframes vg-focus-pulse {
  0% {
    box-shadow:
      0 0 0 0 color-mix(in srgb, var(--c-warm) 55%, transparent),
      var(--shadow);
  }
  70% {
    box-shadow:
      0 0 0 14px color-mix(in srgb, var(--c-warm) 0%, transparent),
      var(--shadow);
  }
  100% {
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--c-warm) 42%, transparent),
      var(--shadow);
  }
}

.vignette-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vignette-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-line-strong);
  color: inherit;
}
.vignette-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--c-bg-soft);
}
.vignette-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.vignette-card:hover .vignette-card__img { transform: scale(1.04); }
.vignette-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
}
.vignette-card__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
}
.vignette-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-warm);
  transition: color 0.25s ease;
}
.vignette-card:hover .vignette-card__more { color: var(--c-text); }

.vg-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.vg-kit {
  display: grid;
  gap: var(--space-md);
  padding: clamp(22px, 3vw, 36px);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}
.vg-kit__heading { font-size: var(--fs-h2); }
.vg-kit__label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--c-text-soft);
}
.vg-kit__sum {
  margin-top: 4px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.vg-kit__unit { margin-top: 4px; color: var(--c-text-soft); }
.vg-kit__includes-title {
  margin: 0 0 10px;
  font-weight: 600;
}
.vg-kit__list { display: grid; gap: 8px; }
.vg-kit__list li {
  position: relative;
  padding-left: 22px;
  color: var(--c-text-soft);
}
.vg-kit__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--c-warm);
  border-bottom: 2px solid var(--c-warm);
  transform: rotate(-45deg);
}
.vg-kit__note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  margin: 0;
  padding-top: 10px;
  color: var(--c-text-soft);
  font-size: var(--fs-small);
  line-height: 1.5;
  border-top: 1px solid var(--c-line);
}
.vg-kit__note-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--c-warm);
}
.vg-kit__note-icon {
  width: 28px;
  height: 28px;
  display: block;
}
.vg-kit__note-text {
  display: block;
}

.vg-parts {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}
.vg-parts__board {
  width: min(100%, 980px);
  padding: clamp(24px, 3.4vw, 44px) clamp(20px, 3.2vw, 48px);
  background: var(--c-warm-soft);
  border: 1px solid #ece0cc;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.vg-parts__set {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 560px);
  margin-inline: auto;
  gap: clamp(14px, 1.6vw, 20px);
}
.vg-print--vignette {
  width: 100%;
}
.vg-print--vignette .gp-print__media {
  aspect-ratio: 3 / 2;
  background: #fff;
}
.vg-print--vignette .gp-print__img {
  object-fit: cover;
  object-position: center;
}
.vg-parts__ph {
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(160deg, #f4eee6 0%, #e8dfd3 100%);
}
.vg-parts__note {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--c-text-soft);
}

@media (min-width: 480px) {
  .vg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .vg-kit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
  }
  .vg-kit__note { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .vg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .vignette-card,
  .vignette-card__img,
  .vignette-card__more { transition: none; }
  .vignette-card:hover { transform: none; }
  .vignette-card:hover .vignette-card__img { transform: none; }
  .vg-grid__item--focus { animation: none; }
  .share-root,
  .share-backdrop,
  .share-panel,
  .share-toast { transition: none; }
}

/* --- Share ---------------------------------------------------------------- */
.vignette-card--detail {
  max-width: 420px;
  margin: 0 auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 40px;
  padding: 8px 16px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  background: color-mix(in srgb, #faf8f5 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(28, 26, 23, 0.12);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.share-btn:hover,
.share-btn:focus-visible {
  background: color-mix(in srgb, #faf8f5 92%, transparent);
  color: var(--c-text);
}
.page-head__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}
.page-head__title-row .page-head__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.page-head__title-row .share-btn {
  flex: 0 0 auto;
  align-self: center;
  margin-top: 0;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1c1a17;
  background: #f5f1ea;
  border: 1px solid rgba(28, 26, 23, 0.12);
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.page-head__title-row .share-btn:hover,
.page-head__title-row .share-btn:focus-visible {
  background: #fff;
  color: #1c1a17;
}

.share-root[hidden] { display: none !important; }
.share-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: visible;
  transform: none;
}
.share-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(28, 26, 23, 0.18);
  pointer-events: auto;
}
.share-panel {
  position: absolute;
  z-index: 2;
  width: min(320px, calc(100vw - 24px));
  min-height: 180px;
  padding: 16px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  pointer-events: auto;
}
.share-panel__handle { display: none; }
.share-panel__heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}
.share-preview { display: none; }
.share-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.share-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.share-app:hover { color: var(--c-warm); }
.share-app__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
}
.share-app__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.share-copy,
.share-cancel {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
}
.share-copy {
  color: var(--c-text);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}
.share-cancel {
  display: none;
  margin-top: 8px;
  color: var(--c-text-soft);
  background: transparent;
  border: 0;
}
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10002;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #faf8f5;
  background: rgba(28, 26, 23, 0.88);
  border-radius: 999px;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
