/* LOCCORE theme — editorial corporate & brand pages */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --color-bg: #ffffff;
  --color-text: #2c2c2c;
  --color-muted: #6b6b6b;
  --color-accent: #007700;
  --color-accent-hover: #005c00;
  --color-accent-soft: rgba(0, 119, 0, 0.55);
  --color-accent-muted: rgba(0, 119, 0, 0.28);
  --color-accent-faint: rgba(0, 119, 0, 0.12);
  --color-brand-koza: #c56a4a;
  --color-plum: #5f4b5e;
  --color-wall: #eef2ee;
  --color-nav: #5a625a;
  --color-divider: #c5d4c5;
  --color-image-placeholder: #eef0ee;
  --color-border: rgba(0, 0, 0, 0.06);
  --color-surface: rgba(255, 255, 255, 0.82);
  --font-sans: "TikTok Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(24px, 3.5vw, 48px);
  --content-gutter: clamp(56px, 7.5vw, 104px);
  --editorial-gap: 24px;
  --radius-card: 14px;
  --radius-image: 2px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s;
  --transition-base: 0.3s;
  --focus-ring: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  /* FIX: убран height:100% — больше не блокирует скролл */
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.55;
  overflow-x: hidden;
}

#evo-content { flex: 1 1 auto; display: flex; flex-direction: column; }
.brand-sheet { flex: 1 1 auto; display: flex; flex-direction: column; }
.evo-partial { flex: 1 1 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--content-gutter);
}

.hero__grid > *,
.site-header__inner > * { min-width: 0; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: relative;
  padding: clamp(14px, 2.5vw, 22px) 0;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 36px);
  width: 100%;
  max-width: 100%;
  padding-inline: var(--content-gutter);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 16px);
  flex: 0 0 auto;
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}

.site-header__menu-toggle:hover,
.site-header__menu-toggle:focus-visible {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
  outline: none;
}

.site-header__menu-bars,
.site-header__menu-bars::before,
.site-header__menu-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s, background 0.25s;
}

.site-header__menu-bars {
  position: relative;
}

.site-header__menu-bars::before,
.site-header__menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__menu-bars::before { top: -6px; }
.site-header__menu-bars::after { top: 6px; }

.site-header.is-menu-open .site-header__menu-bars { background: transparent; }
.site-header.is-menu-open .site-header__menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header.is-menu-open .site-header__menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__logo { flex-shrink: 0; }
.site-header__logo img {
  display: block;
  width: clamp(120px, 14vw, 140px);
  height: auto;
}

/* FIX: tagline 9px → 10.5px, вес 600 для лучшей читаемости */
.site-header__tagline {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.45;
  white-space: nowrap;
}

/* FIX: меню 10px → 12.5px для читаемости */
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.8vw, 28px);
  flex: 0 1 auto;
  min-width: 0;
  /* оптический центр относительно капа логотипа LOCCORE */
  padding-top: 5px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;        /* FIX: было 10px */
  font-weight: 500;
  letter-spacing: 0.12em;   /* FIX: было 0.14em — чуть плотнее */
  text-transform: uppercase;
  color: var(--color-nav);
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--transition-base) var(--ease-out);
  outline: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base) var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--color-accent-hover); }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }

.site-header__tools {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  margin-left: auto;
  flex-shrink: 0;
}

.site-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.site-header__lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header__lang-btn:hover,
.site-header__lang-btn:focus-visible {
  color: var(--color-text);
}

.site-header__lang-btn.is-active {
  background: var(--color-accent);
  color: #fff;
}

/* FIX: aside 9px → 11px */
.site-header__aside {
  flex: 0 0 auto;
  font-size: 11px;           /* FIX: было 9px */
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: left;
  line-height: 1.45;
  padding-left: clamp(14px, 2vw, 24px);
  border-left: 1px solid var(--color-divider);
  white-space: nowrap;
}

/* ── BRAND SHEET ────────────────────────────────────────────── */
.brand-sheet { background: var(--color-bg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero { padding: 0 0 clamp(28px, 4vw, 40px); }

/* FIX: увеличены вертикальные отступы hero-секции */
.hero--brand {
  padding-top: clamp(20px, 3vw, 36px);      /* FIX: было 10-18px */
  padding-bottom: clamp(12px, 2vw, 24px);
}

.hero__brand-shell {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
}

.hero__brand-shell > .hero__eyebrow {
  margin: 0;
}

/* v6: лого | разделитель | текст + ссылки маркетплейсов справа от лого */
.hero__grid.hero__grid--brand {
  grid-template-columns: auto auto minmax(0, 38em);
  grid-template-areas: "intro divider copy";
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: 0;
  align-items: start;
  width: fit-content;
  max-width: 100%;
}

.hero__col-divider {
  grid-area: divider;
  width: 1px;
  align-self: stretch;
  min-height: 7.5em;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(197, 212, 197, 0.55) 18%,
    var(--color-accent-muted) 50%,
    rgba(197, 212, 197, 0.55) 82%,
    transparent 100%
  );
}

.hero__brand-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 28px);
}

.hero__brand-mark {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 12px);
  flex: 0 0 auto;
}

.hero__brand-divider {
  width: 1px;
  align-self: stretch;
  min-height: 6.5em;
  flex-shrink: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(197, 212, 197, 0.5) 22%,
    rgba(0, 119, 0, 0.2) 50%,
    rgba(197, 212, 197, 0.5) 78%,
    transparent 100%
  );
}

/* ── Hero: Eyebrow ──────────────────────────────────────────── */
.hero__eyebrow-sep { margin-inline: 0.35em; opacity: 0.5; letter-spacing: 0; }
.hero__eyebrow-brand { color: var(--color-text); letter-spacing: 0.18em; }

/* ── Hero: Intro (лого бренда) ──────────────────────────────── */
.hero__intro--brand {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 12px);
  grid-area: intro;
  justify-self: start;
  align-self: start;
}

.hero__logo-link {
  display: block;
  line-height: 0;
  width: fit-content;
  border-radius: 2px;
  transition: opacity var(--transition-fast) var(--ease-out);
}

.hero__logo-link:hover {
  opacity: 0.92;
}

.hero__logo-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.hero__site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  width: fit-content;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.hero__site-link:hover,
.hero__site-link:focus-visible {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent-soft);
}

.hero__site-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 2px;
}

.hero__site-link-icon {
  font-size: 0.82em;
  opacity: 0.65;
  transition: transform 0.25s, opacity 0.25s;
}

.hero__site-link:hover .hero__site-link-icon,
.hero__site-link:focus-visible .hero__site-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* FIX v2: лого КозаДома УВЕЛИЧЕН ×1.7 */
.hero__intro--brand .hero__logo {
  width: clamp(160px, 18vw, 260px);
  height: auto;
}

/* ── Hero: Copy (заголовок + подзаголовок) ──────────────────── */
.hero__copy.hero__copy--brand {
  grid-area: copy;
  padding-top: 0;
  max-width: 42em;
  text-align: left;
  justify-self: start;
  align-self: start;
  width: 100%;
}

.hero__copy--brand .hero__lead {
  max-width: none;
  margin: 0 0 12px;
  font-size: clamp(16px, 1.75vw, 20px);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text);
}

.hero__copy--brand .hero__brand-name {
  font-weight: 600;
}

.hero__copy--brand .hero__text {
  max-width: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-muted);
}

/* ── Hero: Marketplace text links (Ozon / WB) ───────────────── */
.hero__shops--links {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 14px);
  padding-top: 4px;
  min-width: 10.5em;
}

.hero__shop-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  width: fit-content;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-nav);
  text-decoration: none;
  padding-bottom: 4px;
  transition: color var(--transition-base) var(--ease-out);
  outline: none;
}

.hero__shop-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  transform: scaleX(1);
  transform-origin: left;
  transition: background var(--transition-base) var(--ease-out), transform var(--transition-base) var(--ease-out);
}

.hero__shop-link-arrow {
  font-size: 0.75em;
  opacity: 0.5;
  transition: opacity var(--transition-fast) var(--ease-out), transform var(--transition-fast) var(--ease-out);
}

.hero__shop-link:hover,
.hero__shop-link:focus-visible {
  color: var(--color-accent);
}

.hero__shop-link:hover::after,
.hero__shop-link:focus-visible::after {
  background: var(--color-accent-soft);
}

.hero__shop-link:hover .hero__shop-link-arrow,
.hero__shop-link:focus-visible .hero__shop-link-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

.hero__shop-link:focus-visible {
  border-radius: 2px;
  box-shadow: var(--focus-ring);
}

.hero__shop-link--site:hover,
.hero__shop-link--site:focus-visible { color: var(--color-accent); }

.hero__shop-link--ozon:hover,
.hero__shop-link--ozon:focus-visible { color: #3d6fd4; }

.hero__shop-link--wb:hover,
.hero__shop-link--wb:focus-visible { color: #7b3fd4; }

/* ── Brand page: flow divider hero → gallery ─────────────────── */
.brand-flow-divider {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(4px, 0.8vw, 10px) var(--content-gutter);
  max-width: 100%;
}

.brand-flow-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(197, 212, 197, 0.65) 18%,
    rgba(0, 119, 0, 0.32) 50%,
    rgba(197, 212, 197, 0.65) 82%,
    transparent 100%
  );
}

.brand-flow-divider__mark {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.55;
  box-shadow: 0 0 0 3px var(--color-accent-faint);
}

/* ── Hero: shared grid (home) ───────────────────────────────── */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(140px, 172px);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ── Hero: home-specific ────────────────────────────────────── */
.hero--home .hero__title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 9em;
}

.hero__grid--home {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.hero__copy:not(.hero__copy--brand) { padding-top: clamp(1rem, 3vw, 2.2rem); }

.hero__lead {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
  max-width: 16em;
  letter-spacing: -0.01em;
}

.hero__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 28em;
}

.hero__brand {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 1.625rem;
}

.hero__logo {
  display: block;
  width: clamp(130px, 10vw, 157px);
  height: auto;
}

.hero__stamp {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: clamp(8px, 2vw, 20px);
}

.hero__stamp img {
  width: clamp(108px, 11vw, 160px);
  height: auto;
}

.hero__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

.hero__cta { margin: 0; }
.hero__title { margin: 0; }
.hero__title:has(.hero__logo) { line-height: 0; }

/* ── ABOUT PAGE (homepage) ───────────────────────────────────── */
.about-page {
  display: flex;
  flex-direction: column;
}

.about-hero {
  padding: clamp(20px, 3.5vh, 40px) 0 clamp(16px, 2.5vh, 28px);
}

.about-hero--visual {
  position: relative;
  flex: 1 1 auto;
  min-height: min(68vh, 620px);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.about-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__video,
.about-hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
  filter: saturate(0.9) contrast(0.97) sepia(0.05);
}

.about-hero__fallback { display: none; }

.about-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.42) 38%,
    rgba(255, 255, 255, 0.9) 58%,
    rgba(255, 255, 255, 0.97) 72%,
    rgba(255, 255, 255, 1) 100%
  );
}

.about-hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: inherit;
  padding: clamp(28px, 5vh, 56px) var(--content-gutter);
}

.about-hero__panel {
  width: min(520px, 44vw);
  max-width: 100%;
  padding: clamp(8px, 1.2vw, 16px) 0;
}

.about-hero__inner {
  max-width: min(720px, 100%);
  padding-inline: var(--content-gutter);
}

.about-hero__title {
  margin: 0 0 clamp(16px, 2.5vh, 24px);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 20px);
}

.about-hero__text {
  margin: 0;
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.65;
  color: var(--color-text);
}

/* ── Brand Teaser ───────────────────────────────────────────── */
.brand-teaser {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 8vw, 80px);
  border-top: 1px solid var(--color-border);
}

.brand-teaser--compact {
  padding: clamp(5px, 0.8vh, 8px) 0 clamp(6px, 1vh, 9px);
  margin-top: auto;
}
.brand-teaser__inner { display: flex; flex-direction: column; gap: 3px; }
.brand-teaser__label {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.brand-teaser__card {
  display: block;
  width: fit-content;
  line-height: 0;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity var(--transition-base) var(--ease-out), transform var(--transition-fast) var(--ease-out);
}

.brand-teaser__logo {
  display: block;
  width: clamp(48px, 5.2vw, 62px);
  height: auto;
}

.brand-teaser__card:hover,
.brand-teaser__card:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
}

.brand-teaser__card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.brand-teaser__note {
  margin: 12px 0 0;
  max-width: 36em;
  font-size: 12px;
  line-height: 1.65;
  color: var(--color-muted);
}

/* ── EDITORIAL (три колонки с изображениями) ────────────────── */
.editorial--home {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(8px, 2vw, 16px);
}

.feature--plain {
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.editorial {
  padding-top: 0;
  padding-bottom: clamp(20px, 3vw, 32px);
}

.editorial__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

/* ── Editorial: Brand-specific overrides ─────────────────────── */
.editorial--brand {
  padding-top: clamp(0px, 0.4vw, 6px);
  padding-bottom: clamp(16px, 2.5vw, 32px);
}

/* FIX v2: gap 7px → 24px — полноценные «дышащие» промежутки */
.editorial--brand .editorial__columns {
  gap: var(--editorial-gap);
  width: 100%;
  padding-inline: var(--content-gutter);
}

.editorial--brand .editorial__image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(
    380px,
    100%,
    calc((100vw - 2 * var(--content-gutter) - 48px) / 3)
  );
  height: auto;
  max-height: none;
  margin-inline: auto;
  margin-bottom: clamp(14px, 1.6vw, 20px);
  background: var(--color-image-placeholder);
  border-radius: var(--radius-image);
  overflow: hidden;
  transition: transform var(--transition-base) var(--ease-out), box-shadow var(--transition-base) var(--ease-out);
}

.editorial--brand .editorial__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 119, 0, 0.1);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.editorial--brand .editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.97) sepia(0.05);
}

.editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* FIX: фичи — увеличены шрифты, убран неоправданный padding-left */
.editorial--brand .feature--brand {
  padding-top: clamp(6px, 0.8vw, 10px);
  border-top: none;
}

.editorial--brand .feature__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.editorial--brand .feature__text {
  padding-left: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-muted);
  margin-top: 6px;
}

.editorial--brand .feature--brand {
  max-width: 380px;
  margin-inline: auto;
  text-align: left;
}

.editorial__image {
  aspect-ratio: 4 / 3;
  max-height: min(280px, 34vh);
  margin-bottom: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  background: var(--color-image-placeholder);
  border-radius: var(--radius-image);
}

/* ── Feature: general ───────────────────────────────────────── */
.feature {
  padding-top: clamp(10px, 1.2vw, 14px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.feature__head {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 1vw, 12px);
  margin-bottom: 4px;
}

.feature__num {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
  flex-shrink: 0;
  min-width: 34px;
}

.feature__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.feature__text {
  margin: 0;
  padding-left: 42px;
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.55;
}

@media (min-width: 641px) {
  .feature__text { padding-left: 46px; }
}

/* ── Arch Showcase ──────────────────────────────────────────── */
.arch-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 62%);
  min-height: min(500px, 80vh);
}

.arch-showcase__brand {
  background: var(--color-plum);
  color: #fff;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.arch-showcase__brand-logo {
  width: clamp(120px, 14vw, 160px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.arch-showcase__brand-logo img { width: 100%; height: auto; }

.arch-showcase__slogan {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.22;
  max-width: 12em;
}

.arch-showcase__brand::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 48%;
  aspect-ratio: 1;
  opacity: 0.06;
  background: url("../logos/kozadoma-logo.svg") center / contain no-repeat;
  pointer-events: none;
}

.arch-showcase__wall {
  background: var(--color-wall);
  padding: clamp(16px, 3vw, 32px) clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.arch-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
  width: 100%;
}

.arch-niche {
  aspect-ratio: 2 / 3;
  min-height: clamp(140px, 22vw, 320px);
  background: linear-gradient(#d0cac2, #bab4aa);
  border-radius: 999px 999px 10px 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 18px 36px inset;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 8% 6%;
}

.arch-niche img {
  width: 88%;
  max-height: 78%;
  object-fit: contain;
  object-position: center bottom;
}

/* ── CONTACTS PAGE ──────────────────────────────────────────── */
.contacts-page {
  padding-bottom: 0;
}

.contacts-shell--visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.contacts-shell__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contacts-shell__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.02) contrast(1.02);
}

.contacts-shell__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(255, 255, 255, 0.96) 28%,
    rgba(255, 255, 255, 0.82) 42%,
    rgba(255, 255, 255, 0.35) 54%,
    transparent 68%,
    transparent 100%
  );
}

.contacts-shell__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: stretch;
  padding: clamp(24px, 4vh, 48px) 0;
}

.contacts-layout__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 16px);
  align-items: stretch;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 var(--content-gutter);
}

.contacts-layout__main {
  min-width: 0;
}

.contacts-hero {
  padding: 0 0 clamp(20px, 3vw, 28px);
  border-bottom: none;
}

.contacts-hero__inner {
  max-width: none;
  padding-inline: 0;
}

.contacts-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.contacts-hero__lead {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 16px);
}

#contacts .contact-card {
  min-width: 0;
  overflow: visible;
  padding: clamp(18px, 2.5vw, 24px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition-base) var(--ease-out), border-color var(--transition-base) var(--ease-out);
}

#contacts .contact-card:not(:last-child) {
  padding-inline: clamp(14px, 2vw, 18px);
}

#contacts .contact-card:last-child {
  grid-column: 1 / -1;
}

.contact-card:hover {
  box-shadow: rgba(0, 0, 0, 0.06) 0 4px 20px;
  border-color: rgba(0, 0, 0, 0.09);
}

.contact-card--wide {
  grid-column: auto;
}

.contact-card__label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact-card__value {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.3s;
}

.contact-card__value--phone {
  font-size: clamp(13px, 1.1vw, 15px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-card__value--email {
  font-size: clamp(13px, 1.1vw, 15px);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

a.contact-card__value:hover,
a.contact-card__value:focus-visible {
  color: var(--color-accent);
}

.contacts-layout__map {
  display: flex;
  min-height: 100%;
  margin-left: auto;
  width: clamp(300px, 34vw, 420px);
  max-width: 420px;
}

.contacts-map__frame {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: clamp(320px, 42vh, 480px);
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-wall);
}

.contact-card__value--text {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.6;
}

/* ── COLLECTIONS PAGE ───────────────────────────────────────── */
.collections-page {
  padding-bottom: clamp(32px, 5vw, 64px);
}

.collections-scene {
  position: relative;
  overflow: hidden;
  background: var(--color-wall);
}

.collections-scene__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.collections-scene__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.collections-scene__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  align-items: start;
  padding: clamp(16px, 2.5vw, 28px) var(--content-gutter);
  pointer-events: none;
}

.collections-scene__brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(8px, 1.2vw, 12px);
  padding: clamp(4px, 1vw, 8px) clamp(8px, 1.5vw, 16px) 0 0;
  pointer-events: auto;
}

.collections-scene__logo {
  display: block;
  width: min(157px, 38vw);
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.65));
}

.collections-scene__count {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.collections-scene__showcase {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: clamp(4px, 1vw, 8px) clamp(8px, 1.5vw, 16px) clamp(4px, 1vw, 8px) 0;
  pointer-events: auto;
}

.collections-line {
  position: relative;
  width: 100%;
}

.collections-line__rope {
  position: absolute;
  top: 0;
  left: -2%;
  right: -2%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #c4a882 8%, #d8c4a8 50%, #c4a882 92%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.collections-line__viewport {
  overflow: hidden;
  padding-top: 10px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.collections-line__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  animation: collections-line-scroll 72s linear infinite;
}

.collections-line__track:hover {
  animation-play-state: paused;
}

.collections-line__piece {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(92px, 11vw, 132px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out);
}

.collections-line__piece:hover,
.collections-line__piece:focus-visible {
  transform: translateY(-4px);
}

.collections-line__pin {
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 2;
  width: 10px;
  height: 14px;
  margin-left: -5px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #f0e6d8, #c9b08e);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.collections-line__pin::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #d4c0a0;
}

.collections-line__piece img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  background: #fff;
}

.collections-line__name {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--color-text);
}

.collections-catalog__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px) var(--content-gutter) 0;
}

.collections-catalog__head {
  max-width: 640px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.collections-catalog__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.collections-catalog__lead {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--color-muted);
}

.collections-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.collections-card {
  min-width: 0;
}

.collections-card__link {
  display: block;
  height: 100%;
  padding: clamp(12px, 1.6vw, 16px);
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition-base) var(--ease-out), border-color var(--transition-base) var(--ease-out), transform var(--transition-base) var(--ease-out);
}

.collections-card__link:hover,
.collections-card__link:focus-visible {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: rgba(0, 0, 0, 0.06) 0 8px 28px;
  transform: translateY(-2px);
}

.collections-card__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-card) - 4px);
  background: #fff;
}

.collections-card__title {
  margin: 12px 0 4px;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  line-height: 1.35;
}

.collections-card__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.collections-catalog__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: clamp(28px, 4vw, 40px);
}

.collections-catalog__cta-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  background: var(--color-accent);
  border-radius: 999px;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.collections-catalog__cta-link:hover,
.collections-catalog__cta-link:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.collections-catalog__cta-link--muted {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

@keyframes collections-line-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── PRODUCTION PAGE ────────────────────────────────────────── */
.production-page {
  padding-bottom: clamp(32px, 5vw, 64px);
}

.production-hero {
  padding: clamp(24px, 3.5vw, 44px) 0 clamp(18px, 2.5vw, 28px);
  border-bottom: 1px solid var(--color-border);
}

.production-hero--visual {
  position: relative;
  min-height: min(52vh, 480px);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.production-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.production-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  filter: saturate(0.88) contrast(0.96) sepia(0.04);
}

.production-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.38) 36%,
    rgba(255, 255, 255, 0.88) 56%,
    rgba(255, 255, 255, 0.98) 70%,
    rgba(255, 255, 255, 1) 100%
  );
}

.production-hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: inherit;
  padding: clamp(28px, 5vh, 52px) var(--content-gutter);
}

.production-hero__panel {
  width: min(540px, 46vw);
  max-width: 100%;
}

.production-hero__inner {
  max-width: 720px;
  padding-inline: var(--content-gutter);
}

.production-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.production-hero__lead {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-muted);
}

.brand-flow-divider--compact {
  padding-block: clamp(4px, 0.8vw, 10px);
  max-width: 1180px;
  margin-inline: auto;
}

.production-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(32px, 5vw, 56px) var(--content-gutter) 0;
}

.production-stage {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.production-stage--intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.production-stage__step {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.production-stage__locale {
  display: block;
  margin: -4px 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-muted);
}

.production-stage__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.production-stage__text {
  margin: 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-muted);
}

.production-stage__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--color-wall);
}

.production-stage__figures {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 10px;
  align-items: stretch;
}

.production-stage__figure--secondary {
  aspect-ratio: 4 / 5;
}

.production-stage__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.production-stage__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.97) sepia(0.04);
}

.production-mosaic {
  display: grid;
  gap: var(--editorial-gap);
}

.production-mosaic--a {
  grid-template-columns: 1.28fr 0.72fr;
  min-height: clamp(320px, 36vw, 460px);
}

.production-mosaic--a .production-mosaic__tile--media {
  grid-column: 1;
  grid-row: 1;
}

.production-mosaic--a .production-mosaic__tile--copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.production-mosaic--b {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: auto auto;
  align-items: stretch;
}

.production-mosaic--b .production-mosaic__tile--copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.production-mosaic--b .production-mosaic__tile--facts {
  grid-column: 1;
  grid-row: 2;
}

.production-mosaic--b .production-mosaic__tile--media {
  grid-column: 2;
  grid-row: 1 / 3;
}

.production-mosaic__tile {
  min-height: 0;
  border-radius: var(--radius-image);
  overflow: hidden;
}

.production-mosaic__tile--media {
  position: relative;
  margin: 0;
  min-height: clamp(240px, 32vw, 420px);
  background: var(--color-wall);
}

.production-mosaic__tile--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 119, 0, 0.06);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.production-mosaic__tile--media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.97) sepia(0.04);
}

.production-mosaic__stat-float {
  position: absolute;
  z-index: 1;
  left: clamp(12px, 2vw, 20px);
  bottom: clamp(12px, 2vw, 20px);
  max-width: min(300px, calc(100% - 24px));
  margin: 0;
  padding: clamp(14px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-accent-muted);
  border-radius: var(--radius-image);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.production-mosaic__tile--copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 2.8vw, 32px);
  background: var(--color-wall);
}

.production-mosaic__tile--facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
}

.production-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(12px, 1.6vw, 16px);
  background: var(--color-wall);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-image);
}

.production-fact__key {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.production-fact__val {
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-muted);
}

.production-mosaic__stat {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.production-mosaic__stat-label {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted);
}

.editorial--brand .editorial__image:hover {
  transform: scale(1.02);
  box-shadow: rgba(0, 0, 0, 0.08) 0 4px 16px;
}

.production-cta {
  padding: clamp(32px, 5vw, 56px) var(--content-gutter) 0;
}

.production-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 1180px;
  width: 100%;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.production-cta__text {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}

.production-cta__link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.production-cta__link:hover,
.production-cta__link:focus-visible {
  opacity: 0.85;
}

.production-cta__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 2px;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--color-accent);
  color: #fff;
  min-height: clamp(48px, 7vh, 80px);    /* FIX: увеличена высота */
  padding: clamp(14px, 2.5vh, 28px) 0;   /* FIX: увеличен padding */
  display: flex;
  align-items: center;
}

/* FIX: шрифт футера 7-9px → 10-11px */
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding-inline: var(--gutter);
  font-size: clamp(10px, 1.1vw, 11.5px);  /* FIX: было clamp(7, 0.85, 9) */
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__meta {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  flex-shrink: 0;
}

.site-footer__email {
  color: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.site-footer__email:hover,
.site-footer__email:focus-visible {
  opacity: 0.82;
}

.site-footer__legal {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.site-footer__legal:hover,
.site-footer__legal:focus-visible {
  opacity: 0.82;
}

/* ── LEGAL PAGE ─────────────────────────────────────────────── */
.legal-page {
  padding: clamp(48px, 8vh, 96px) 0 clamp(72px, 12vh, 128px);
  background: var(--color-bg);
  min-height: calc(100dvh - clamp(48px, 7vh, 80px) - var(--header-height, 72px));
}

.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.legal-page__header {
  margin-bottom: clamp(32px, 5vh, 48px);
  padding-bottom: clamp(20px, 3vh, 32px);
  border-bottom: 1px solid var(--color-divider);
}

.legal-page__title {
  margin: 0.35em 0 0.5em;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-text);
}

.legal-page__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.legal-page__section + .legal-page__section {
  margin-top: clamp(28px, 4vh, 40px);
}

.legal-page__section h2 {
  margin: 0 0 0.85em;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
}

.legal-page__section p,
.legal-page__section li {
  margin: 0 0 0.85em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-page__section ul {
  margin: 0 0 0.85em;
  padding-left: 1.25em;
}

.legal-page__section li:last-child {
  margin-bottom: 0;
}

.legal-page__section a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-page__section a:hover,
.legal-page__section a:focus-visible {
  opacity: 0.85;
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE: DESKTOP FIRST — Tablet (≤1024px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --content-gutter: clamp(24px, 5vw, 48px);
  }

  .site-nav {
    gap: clamp(10px, 1.8vw, 24px);
  }

  .site-nav a {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "intro brand" "copy copy";
  }
  .hero__grid--home {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "intro copy";
  }
  .hero__grid.hero__grid--brand {
    grid-template-columns: auto auto minmax(0, 34em);
    grid-template-areas: "intro divider copy";
    column-gap: clamp(20px, 2.5vw, 32px);
    width: fit-content;
    max-width: 100%;
  }
  .hero__grid--brand .hero__intro--brand { grid-area: intro; }
  .hero__grid--brand .hero__copy--brand { grid-area: copy; text-align: left; }
  .hero__grid--home .hero__intro { grid-area: intro; }
  .hero__grid--home .hero__copy { grid-area: copy; padding-top: clamp(1rem, 3vw, 2.2rem); }
  .hero__intro { grid-area: intro; }
  .hero__copy { grid-area: copy; padding-top: 0; max-width: 36em; }
  .hero__brand { grid-area: brand; padding-top: 0; }

  .editorial__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial--brand .editorial__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .editorial__col:last-child { grid-column: 1 / -1; max-width: min(480px, 100%); }
  .editorial--brand .editorial__col:last-child { grid-column: auto; max-width: none; }

  .arch-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .collections-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Contacts: карта под контентом, чтобы номер не обрезался в узкой колонке */
  .contacts-layout__inner {
    grid-template-columns: 1fr;
  }

  .contacts-layout__map {
    width: 100%;
    max-width: none;
    margin-left: 0;
    order: 2;
    min-height: 0;
  }

  .contacts-layout__main {
    order: 1;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #contacts .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .contacts-map__frame {
    min-height: clamp(240px, 36vw, 380px);
    height: clamp(240px, 36vw, 380px);
  }

  .contact-card__value--phone,
  .contact-card__value--email {
    font-size: clamp(15px, 2vw, 17px);
  }
}

@media (max-width: 1024px) and (min-width: 641px) {
  .contacts-layout__inner {
    max-width: 520px;
  }

  .contacts-map__frame {
    min-height: clamp(220px, 32vw, 300px);
    height: clamp(220px, 32vw, 300px);
  }
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE: Mobile (≤640px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root {
    --content-gutter: clamp(16px, 5vw, 24px);
  }

  .site-header__inner {
    position: static;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header__aside { display: none; }

  .site-header__tools {
    margin-left: 0;
    order: 2;
  }

  .site-header__menu-toggle {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    order: 3;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--content-gutter);
    right: var(--content-gutter);
    margin-top: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 14px;
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: rgba(0, 0, 0, 0.1) 0 8px 28px;
    z-index: 200;
  }

  .site-header.is-menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 12px 14px;
    border-radius: 8px;
    justify-content: center;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.8);
  }

  .site-nav a::after { display: none; }

  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "copy" "brand";
    gap: 20px;
  }
  .hero__grid--home { grid-template-areas: "intro" "copy"; }
  .hero__grid.hero__grid--brand {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "copy";
    gap: clamp(18px, 5vw, 24px);
    width: 100%;
  }
  .hero__col-divider { display: none; }
  .hero__grid--brand .hero__copy--brand {
    text-align: center;
    justify-self: stretch;
  }
  .hero__copy--brand .hero__lead,
  .hero__copy--brand .hero__text {
    margin-inline: auto;
  }
  .hero__brand-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero__brand-divider {
    width: min(140px, 42vw);
    height: 1px;
    min-height: 0;
    align-self: center;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(197, 212, 197, 0.55) 22%,
      var(--color-accent-muted) 50%,
      rgba(197, 212, 197, 0.55) 78%,
      transparent 100%
    );
  }
  .hero__shops--links {
    align-items: center;
    padding-top: 0;
    min-width: 0;
  }
  .hero__intro--brand {
    align-items: center;
    text-align: center;
    justify-self: center;
  }
  .hero__site-link {
    margin-inline: auto;
  }
  .hero__intro--brand .hero__logo {
    width: min(180px, 52vw);
  }

  .hero__brand { justify-content: flex-end; padding-top: 0; }
  .hero__copy { padding-top: 0; }
  .hero__logo { width: min(148px, 70vw); }
  .hero__lead, .hero__text { max-width: none; }

  .editorial__columns { grid-template-columns: 1fr; }
  .editorial--brand .editorial__columns {
    grid-template-columns: 1fr;
    gap: clamp(24px, 6vw, 32px);
    padding-inline: var(--content-gutter);
  }
  .editorial--brand .editorial__image {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
  .editorial__col:last-child { max-width: none; }
  .feature__text { padding-left: clamp(46px, 12vw, 64px); }

  .arch-showcase { grid-template-columns: 1fr; min-height: auto; }
  .arch-showcase__wall { padding-inline: clamp(16px, 4vw, 24px); }
  .arch-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .arch-niche { min-height: clamp(120px, 38vw, 200px); }

  .site-footer {
    min-height: 0;
    padding: 24px 0 20px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-inline: var(--gutter);
    letter-spacing: 0.08em;
    font-size: 10px;
    line-height: 1.5;
  }

  .site-footer__inner > span:first-child {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    width: 100%;
    max-width: 320px;
    flex-shrink: 1;
  }

  .site-footer__legal {
    flex: 1 1 100%;
    white-space: normal;
    line-height: 1.45;
  }

  .site-footer__email {
    white-space: nowrap;
  }

  .contacts-shell--visual {
    min-height: auto;
  }

  .contacts-shell__layout {
    padding: clamp(20px, 4vw, 32px) 0;
  }

  .contacts-layout__inner {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  #contacts .contact-card:last-child {
    grid-column: auto;
  }

  .contacts-layout__map {
    position: static;
    order: 2;
    min-height: 0;
  }

  .contacts-map__frame {
    height: clamp(280px, 55vw, 360px);
  }

  .collections-scene__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .collections-scene__brand {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .collections-scene__showcase {
    align-items: center;
    padding: clamp(4px, 2vw, 8px) clamp(8px, 3vw, 16px);
  }

  .collections-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .production-stage--intro {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 28px);
  }

  .production-stage__figures {
    grid-template-columns: 1fr;
  }

  .production-stage__figure--secondary {
    aspect-ratio: 16 / 10;
  }

  .production-hero--visual {
    min-height: min(44vh, 400px);
  }

  .production-hero__layout {
    justify-content: flex-start;
  }

  .production-hero__panel {
    width: 100%;
  }

  .production-hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.72) 42%,
      rgba(255, 255, 255, 0.97) 68%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .production-mosaic--a,
  .production-mosaic--b {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .production-mosaic--a .production-mosaic__tile--media,
  .production-mosaic--a .production-mosaic__tile--copy,
  .production-mosaic--b .production-mosaic__tile--media,
  .production-mosaic--b .production-mosaic__tile--copy,
  .production-mosaic--b .production-mosaic__tile--facts {
    grid-column: 1;
    grid-row: auto;
    align-self: stretch;
  }

  .production-mosaic__tile--media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .production-mosaic__tile--facts {
    grid-template-columns: 1fr;
  }

  .production-mosaic__stat-float {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .production-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .arch-wall { grid-template-columns: 1fr 1fr; }
  .feature__head { flex-wrap: wrap; }
}

/* ── Page loading state ─────────────────────────────────────── */
[data-evo-content].is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__shop-link:hover .hero__shop-link-arrow,
  .hero__shop-link:focus-visible .hero__shop-link-arrow,
  .editorial--brand .editorial__image:hover {
    transform: none;
  }

  .about-hero__video { display: none; }
  .about-hero__fallback { display: block; }
}

/* Kozadoma — оранжевый в логотипе и hover ссылки на сайт бренда */
#brand-kozadoma .hero__shop-link--site:hover,
#brand-kozadoma .hero__shop-link--site:focus-visible {
  color: var(--color-brand-koza);
}

#brand-kozadoma .hero__shop-link--site:hover::after,
#brand-kozadoma .hero__shop-link--site:focus-visible::after {
  background: rgba(197, 106, 74, 0.55);
}

/* Brand page: scroll by content, not 100dvh lock */
@media (min-width: 641px) {
  #brand-kozadoma {
    display: flex;
    flex-direction: column;
  }
  #brand-kozadoma .hero--brand {
    flex-shrink: 0;
  }
  #brand-kozadoma .editorial--brand {
    flex: 0 0 auto;
    padding-bottom: clamp(16px, 2vw, 32px);
  }
  #brand-kozadoma .editorial__columns {
    align-content: start;
  }
}

/* Homepage: контент + подвал на одном экране (desktop) */
@media (min-width: 900px) {
  body:has(#home) {
    min-height: 100dvh;
  }

  body:has(#home) #evo-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  body:has(#home) .about-page {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: center;
  }

  body:has(#home) .about-hero--visual {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
  }

  body:has(#home) .brand-teaser--compact {
    flex-shrink: 0;
    padding-top: clamp(4px, 0.6vh, 6px);
    padding-bottom: clamp(5px, 0.8vh, 7px);
  }

  /* Contacts: контент + подвал на одном экране, как на главной */
  body:has(#contacts) {
    min-height: 100dvh;
  }

  body:has(#contacts) #evo-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  body:has(#contacts) .contacts-page {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body:has(#contacts) .contacts-shell--visual {
    flex: 1 1 auto;
    min-height: 0;
    align-items: center;
  }

  body:has(#contacts) .contacts-shell__layout {
    flex: 1 1 auto;
    min-height: 0;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .about-hero--visual {
    min-height: min(78vh, 680px);
  }

  .about-hero__layout {
    justify-content: stretch;
    align-items: flex-end;
    padding-top: clamp(120px, 32vw, 220px);
    padding-bottom: clamp(24px, 6vw, 40px);
  }

  .about-hero__panel {
    width: 100%;
  }

  .about-hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.55) 35%,
      rgba(255, 255, 255, 0.94) 62%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  body:has(#home) .about-hero--visual {
    min-height: 0;
  }

  .about-hero__title {
    margin-bottom: 12px;
    font-size: clamp(24px, 3vw, 34px);
  }

  .about-hero__content {
    gap: 12px;
  }

  .about-hero__text {
    font-size: 14px;
    line-height: 1.6;
  }

  body:has(#home) .brand-teaser--compact {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  body:has(#contacts) .contacts-shell--visual {
    min-height: 0;
  }

  body:has(#contacts) .contacts-shell__layout {
    padding-top: clamp(16px, 2.5vh, 28px);
    padding-bottom: clamp(16px, 2.5vh, 28px);
  }

  .contacts-hero {
    padding-bottom: clamp(12px, 2vh, 18px);
  }

  .contacts-hero__title {
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 34px);
  }

  .contacts-map__frame {
    min-height: clamp(260px, 36vh, 380px);
  }
}
