/* ==========================================================================
   OVELLA — главная страница
   Шрифты: Cormorant Garamond (акцидентный) + Rawline (функциональный).
   Rawline = Raleway с обычными (lining) цифрами — подключаем Raleway и
   включаем lnum. Когда будут файлы Rawline, достаточно заменить @font-face.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Rawline"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/raleway-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rawline"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/raleway-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rawline"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/raleway-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rawline"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/raleway-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rawline"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/raleway-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rawline"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/raleway-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens (брендбук, стр. 10–11) ---------- */
:root {
  --c-black: #050705;      /* Green Shade Black */
  --c-myrtle: #21301E;     /* Myrtle Shade — основной фирменный */
  --c-arugula: #42603C;    /* Пекорино */
  --c-basil: #879F84;      /* Козий полутвёрдый */
  --c-asparagus: #465945;  /* Стилтон */
  --c-olive: #54622E;      /* Манчего */
  --c-copper: #A95132;     /* Burnt Copper — акцент до 5% */
  --c-smoke: #F3F4F0;      /* White Smoke */
  --c-white: #FFFFFF;

  --c-text: var(--c-myrtle);
  --c-muted: #5d6a5a;
  --c-line: rgba(33, 48, 30, .14);
  --c-line-light: rgba(243, 244, 240, .18);

  --ff-serif: "Cormorant Garamond", "Times New Roman", serif;
  --ff-sans: "Rawline", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --section-y: clamp(80px, 11vw, 160px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--c-smoke);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-copper); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--c-myrtle); color: var(--c-smoke); }
.skip-link:focus { top: 12px; }

/* Логотип красится через маску → цвет задаётся color/currentColor */
.mask { display: block; background-color: currentColor; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.mask--sheep { --mask: url(/img/logo/sheep-mark.png); aspect-ratio: 404 / 360; }
.mask--wordmark { --mask: url(/img/logo/wordmark.svg); aspect-ratio: 865.6 / 157.3; }
.mask--logo { --mask: url(/img/logo/logo-full.png); aspect-ratio: 861 / 552; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-copper);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--c-basil); }
.h2 {
  font-family: var(--ff-serif); font-weight: 500;
  font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.01em;
  text-wrap: balance;
}
.lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; color: var(--c-muted); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 34px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn::after { content: "→"; font-size: 15px; letter-spacing: 0; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn--copper { background: var(--c-copper); color: var(--c-smoke); }
.btn--copper:hover { background: #923f24; }
.btn--light { border-color: rgba(243, 244, 240, .5); color: var(--c-smoke); }
.btn--light:hover { background: var(--c-smoke); color: var(--c-myrtle); border-color: var(--c-smoke); }
.btn--dark { background: var(--c-myrtle); color: var(--c-smoke); }
.btn--dark:hover { background: var(--c-black); }
.btn--ghost { border-color: var(--c-line); color: var(--c-myrtle); }
.btn--ghost:hover { border-color: var(--c-myrtle); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 12px; }
.btn--sm::after { content: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--c-smoke);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
.header__brand { display: inline-flex; align-items: center; gap: 16px; justify-self: start; }
.header__sheep { width: 74px; transition: width .4s var(--ease); }
.header__wordmark {
  width: 112px; opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.header__nav { display: flex; gap: clamp(24px, 3vw, 48px); }
.header__nav a, .header__phone {
  position: relative; padding: 6px 0;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); }
.header__aside { justify-self: end; }
.header__phone { letter-spacing: .06em; }

.header.is-scrolled, 
[data-header-solid] .header { background: rgba(243, 244, 240, .94); color: var(--c-myrtle); box-shadow: 0 1px 0 var(--c-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header.is-scrolled .header__inner, [data-header-solid] .header .header__inner { height: 72px; }
.header.is-scrolled .header__sheep, [data-header-solid] .header .header__sheep { width: 52px; }
.header.is-scrolled .header__wordmark, [data-header-solid] .header .header__wordmark { opacity: 1; transform: none; }

.burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; justify-self: end; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--c-myrtle); color: var(--c-smoke);
  opacity: 0; transition: opacity .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a { font-family: var(--ff-serif); font-size: 40px; line-height: 1.2; }
.mobile-menu__nav .mobile-menu__sub { padding-left: 24px; font-size: 26px; color: var(--c-basil); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: rgba(243, 244, 240, .75); }
body.menu-open .header { color: var(--c-smoke); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .header__wordmark { opacity: 1; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 120px;
  color: var(--c-smoke); text-align: center;
  background: var(--c-myrtle);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 18s var(--ease) both; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(5, 7, 5, .35) 0%, rgba(5, 7, 5, .62) 70%),
    linear-gradient(180deg, rgba(5, 7, 5, .55) 0%, rgba(5, 7, 5, .15) 30%, rgba(5, 7, 5, .25) 70%, rgba(5, 7, 5, .7) 100%);
}
.hero__content { display: flex; flex-direction: column; align-items: center; }
.hero__title { width: min(760px, 84vw); margin: 0; }
.hero__wordmark { width: 100%; animation: rise 1.2s var(--ease) .1s both; }
.hero__descriptor {
  margin-top: clamp(16px, 2.2vw, 28px);
  font-size: clamp(11px, 1.15vw, 15px); font-weight: 500; letter-spacing: .5em; text-transform: uppercase;
  margin-right: -.5em; /* компенсация трекинга последней буквы */
  animation: rise 1.2s var(--ease) .25s both;
}
.hero__tagline {
  max-width: 560px; margin: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 44px);
  font-family: var(--ff-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3;
  animation: rise 1.2s var(--ease) .4s both;
}
.hero .btn { animation: rise 1.2s var(--ease) .55s both; }
.hero__scroll { position: absolute; left: 50%; bottom: 32px; width: 1px; height: 64px; transform: translateX(-50%); overflow: hidden; }
.hero__scroll::before { content: ""; position: absolute; inset: 0; background: rgba(243, 244, 240, .25); }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--c-smoke); animation: scroll-line 2.2s var(--ease) infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes scroll-line { to { top: 100%; } }

/* ==========================================================================
   Intro (текстовый блок 1)
   ========================================================================== */
.intro { padding: var(--section-y) 0 calc(var(--section-y) * .7); text-align: center; background: var(--c-smoke); }
.intro .h2 { margin-bottom: 32px; }
.intro .lead { max-width: 640px; margin-inline: auto; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 112px);
  text-align: left;
}
.facts__item {
  padding: 28px 28px 0 0;
  border-top: 1px solid var(--c-line);
  font-size: 15px; line-height: 1.5; color: var(--c-myrtle);
}
.facts__item + .facts__item { padding-left: 28px; border-left: 1px solid var(--c-line); }
.facts__num { display: block; margin-bottom: 14px; font-family: var(--ff-serif); font-size: 30px; line-height: 1; color: var(--c-copper); }

/* ==========================================================================
   Story (текстовый блок 2)
   ========================================================================== */
.story {
  position: relative; overflow: hidden;
  padding: var(--section-y) 0;
  background: var(--c-myrtle); color: var(--c-smoke); text-align: center;
}
.story__sheep {
  position: absolute; right: -6%; bottom: -14%;
  width: clamp(320px, 42vw, 640px);
  color: var(--c-smoke); opacity: .06;
  pointer-events: none;
}
.story__inner { position: relative; }
.story .h2 { margin-bottom: 32px; }
.story .lead { max-width: 600px; margin: 0 auto 48px; color: rgba(243, 244, 240, .72); }

/* ==========================================================================
   Catalog
   ========================================================================== */
.catalog { padding: var(--section-y) 0; background: var(--c-white); }
.catalog__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.catalog__head .eyebrow { margin-bottom: 20px; }
.catalog__head .eyebrow::before { content: none; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--c-line); border-radius: 999px; }
.tabs.is-single { display: none; }
.tabs__btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tabs__btn:hover { color: var(--c-myrtle); }
.tabs__btn[aria-selected="true"] { background: var(--c-myrtle); color: var(--c-smoke); }
.tabs__badge { padding: 2px 8px; border-radius: 999px; background: rgba(169, 81, 50, .12); color: var(--c-copper); font-size: 10px; letter-spacing: .08em; }
.tabs__btn[aria-selected="true"] .tabs__badge { background: rgba(243, 244, 240, .16); color: var(--c-smoke); }

.catalog__panel:focus-visible { outline-offset: 8px; }
.catalog__panel:not([hidden]) { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.product__link { display: flex; flex-direction: column; height: 100%; }
.product__media {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: #ECEAE6;
}
.product__media::after { /* цветная кодировка продукта — тонкая полоса снизу */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product__link:hover .product__media img { transform: scale(1.05); }
.product__link:hover .product__media::after { transform: scaleX(1); }
.product__badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; border-radius: 999px; background: var(--c-smoke);
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-myrtle);
}
.product__body { display: flex; flex-direction: column; flex: 1; padding-top: 24px; }
.product__tag { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.product__tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.product__name { margin-bottom: 12px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; }
.product__text { flex: 1; margin-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--c-muted); }
.product__more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid var(--c-line);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.product__more::after { content: "→"; letter-spacing: 0; }
.product__link:hover .product__more { border-color: var(--c-myrtle); gap: 14px; }

.catalog__foot { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }

.soon {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 5vw, 72px);
  background: var(--c-smoke); border: 1px solid var(--c-line);
}
.soon__sheep { flex: none; width: clamp(96px, 12vw, 160px); color: var(--c-myrtle); }
.soon__title { margin-bottom: 12px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.soon__text { max-width: 560px; color: var(--c-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: clamp(64px, 8vw, 104px) 0 32px; background: var(--c-black); color: rgba(243, 244, 240, .72); font-size: 15px; }
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--c-smoke); }
.footer__top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer__logo { width: 190px; color: var(--c-smoke); margin-bottom: 28px; }
.footer__about { max-width: 320px; font-size: 14px; line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__title { margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--c-basil); }
.footer__big { font-family: var(--ff-serif); font-size: 26px; line-height: 1.2; color: var(--c-smoke); }
.footer__muted { color: rgba(243, 244, 240, .5); }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials__link { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--c-line-light); border-radius: 50%; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.socials__link svg { width: 18px; height: 18px; fill: currentColor; }
.socials__link:hover { border-color: var(--c-smoke); }

.footer__docs {
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  padding: 28px 0; border-top: 1px solid var(--c-line-light); border-bottom: 1px solid var(--c-line-light);
  font-size: 13px;
}
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 28px; font-size: 12px; line-height: 1.7; color: rgba(243, 244, 240, .45); }
.footer__copy { white-space: nowrap; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; z-index: 60; left: 24px; bottom: 24px;
  display: flex; flex-direction: column; gap: 16px;
  width: min(420px, calc(100vw - 32px)); padding: 24px;
  background: var(--c-smoke); color: var(--c-myrtle);
  box-shadow: 0 20px 60px rgba(5, 7, 5, .22);
  font-size: 14px; line-height: 1.55;
  animation: rise .6s var(--ease) both;
}
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.products [data-reveal]:nth-child(2) { transition-delay: .08s; }
.products [data-reveal]:nth-child(3) { transition-delay: .16s; }
.products [data-reveal]:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header__aside { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__nav { justify-self: end; }
  .products { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 40px; }
  .footer__logo { margin-bottom: 0; flex: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__nav { display: none; }
  .burger { display: block; }
  .header__sheep { width: 58px; }
  .header.is-scrolled .header__inner,   [data-header-solid] .header .header__inner { height: 64px; }
  .header.is-scrolled .header__sheep,   [data-header-solid] .header .header__sheep { width: 46px; }
  .header__wordmark { width: 96px; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__item:nth-child(n+3) { margin-top: 28px; }

  .catalog__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 100px; }
  .hero__descriptor { letter-spacing: .32em; margin-right: -.32em; }
  .hero__tagline { max-width: 320px; }
  .hero .btn { width: 100%; max-width: 320px; }

  .facts { grid-template-columns: 1fr; margin-top: 56px; }
  .facts__item, .facts__item + .facts__item, .facts__item:nth-child(n+3) { padding: 20px 0; border-left: 0; margin-top: 0; display: flex; gap: 20px; align-items: baseline; }
  .facts__item:last-child { border-bottom: 1px solid var(--c-line); }
  .facts__num { margin: 0; font-size: 24px; flex: none; }

  .story__sheep { right: -30%; bottom: -8%; width: 120vw; }

  .tabs { width: 100%; }
  .tabs__btn { flex: 1; justify-content: center; padding: 0 12px; font-size: 11px; letter-spacing: .06em; }

  /* карточки — горизонтальная лента со snap */
  .products {
    display: flex; gap: 16px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .products::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 78%; scroll-snap-align: start; }
  .js .products [data-reveal] { transition-delay: 0s; }
  .catalog__foot .btn { width: 100%; }

  .soon { flex-direction: column; align-items: flex-start; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__logo { width: 160px; }
  .footer__col--contacts { grid-column: 1 / -1; }
  .footer__docs { flex-direction: column; gap: 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .cookie { left: 16px; bottom: 16px; padding: 20px; }
  .cookie .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================================== */
body.menu-open[data-header-solid] .header { background: transparent; color: var(--c-smoke); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* активный пункт меню: body[data-page] + [data-nav] */
[data-page="about"] .header__nav [data-nav="about"]::after,
[data-page="catalog"] .header__nav [data-nav="catalog"]::after,
[data-page="contacts"] .header__nav [data-nav="contacts"]::after,
[data-page="where"] .header__nav [data-nav="where"]::after { transform: scaleX(1); }
[data-page="about"] .mobile-menu [data-nav="about"],
[data-page="catalog"] .mobile-menu [data-nav="catalog"],
[data-page="contacts"] .mobile-menu [data-nav="contacts"],
[data-page="where"] .mobile-menu [data-nav="where"] { color: var(--c-copper); }

.h1 {
  font-family: var(--ff-serif); font-weight: 500;
  font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -.015em;
  text-wrap: balance;
}
.h3 { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--c-white); }
.section--dark { background: var(--c-myrtle); color: var(--c-smoke); }
.section--dark .lead { color: rgba(243, 244, 240, .72); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .eyebrow { margin-bottom: 20px; }
.section__head .eyebrow::before { content: none; }

/* ---------- Шапка страницы ---------- */
.page-head { padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px); }
.page-head--line { border-bottom: 1px solid var(--c-line); }
.page-head__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.page-head .h1 { margin-top: 28px; }
.page-head .lead { max-width: 520px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--c-muted); }
.breadcrumbs a { transition: color .3s var(--ease); }
.breadcrumbs a:hover { color: var(--c-myrtle); }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .5; }
.breadcrumbs [aria-current] { color: var(--c-myrtle); }

/* ссылки-вкладки (разделы каталога) */
a.tabs__btn[aria-current="page"] { background: var(--c-myrtle); color: var(--c-smoke); }
a.tabs__btn[aria-current="page"] .tabs__badge { background: rgba(243, 244, 240, .16); color: var(--c-smoke); }
.tabs--scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs--scroll::-webkit-scrollbar { display: none; }
.tabs__count { font-weight: 500; opacity: .6; }

/* ---------- Каталог ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: 999px; background: none;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { border-color: var(--c-myrtle); color: var(--c-myrtle); }
.chip[aria-pressed="true"] { background: var(--c-myrtle); border-color: var(--c-myrtle); color: var(--c-smoke); }
.toolbar__count { font-size: 13px; color: var(--c-muted); }
.products--grid { row-gap: 56px; }
.products__empty { padding: 48px 0; color: var(--c-muted); }
.product.is-hidden { display: none; }

.cats { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(16px, 2vw, 28px); }
.cat {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(360px, 40vw, 560px); padding: clamp(28px, 3vw, 44px);
  color: var(--c-smoke); background: var(--c-myrtle);
}
.cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 5, 0) 35%, rgba(5, 7, 5, .72) 100%); }
.cat:hover img { transform: scale(1.04); }
.cat__meta { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 244, 240, .75); }
.cat__title { margin-bottom: 20px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.cat__more { display: inline-flex; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cat__more::after { content: "→"; letter-spacing: 0; transition: transform .3s var(--ease); }
.cat:hover .cat__more::after { transform: translateX(4px); }
.cat--soon { background: var(--c-smoke); color: var(--c-myrtle); border: 1px solid var(--c-line); }
.cat--soon::before { content: none; }
.cat--soon .cat__meta { color: var(--c-copper); }
.cat__sheep { position: absolute; top: 12%; left: 50%; width: 46%; transform: translateX(-50%); color: var(--c-myrtle); opacity: .9; transition: transform 1.2s var(--ease); }
.cat--soon:hover .cat__sheep { transform: translateX(-50%) scale(1.04); }

.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px); background: var(--c-myrtle); color: var(--c-smoke); }
.cta-band .h3 { margin-bottom: 14px; }
.cta-band p { color: rgba(243, 244, 240, .72); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band__sheep { position: absolute; right: -60px; bottom: -80px; width: 340px; color: var(--c-smoke); opacity: .05; pointer-events: none; }

/* ---------- Страница товара ---------- */
.pdp { padding: calc(var(--header-h) + 32px) 0 var(--section-y); }
.pdp .breadcrumbs { margin-bottom: 32px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }

.gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
.gallery__main { position: relative; grid-column: 2; grid-row: 1; aspect-ratio: 1; overflow: hidden; background: #ECEAE6; }
.gallery__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery__slides::-webkit-scrollbar { display: none; }
.gallery__slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 12px; }
.gallery__thumb { padding: 0; border: 1px solid transparent; background: #ECEAE6; aspect-ratio: 1; overflow: hidden; opacity: .6; transition: opacity .3s var(--ease), border-color .3s var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--c-myrtle); }
.gallery__dots { display: none; }

.pdp__info { position: sticky; top: calc(72px + 32px); }
.pdp__info .product__tag { margin-bottom: 18px; }
.pdp__info .h1 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 24px; }
.pdp__lead { margin-bottom: 32px; font-size: 18px; line-height: 1.7; color: var(--c-muted); }
.specs { display: grid; grid-template-columns: auto 1fr; margin-bottom: 32px; border-top: 1px solid var(--c-line); font-size: 15px; }
.specs dt, .specs dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.specs dt { padding-right: 32px; color: var(--c-muted); }
.specs dd { color: var(--c-myrtle); }
.formats { margin-bottom: 32px; }
.formats__title { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); }
.formats .chips { gap: 8px; }
.formats .chip { cursor: default; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp__note { margin-top: 20px; font-size: 13px; color: var(--c-muted); }

.details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); }
.acc { border-top: 1px solid var(--c-line); }
.acc details { border-bottom: 1px solid var(--c-line); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--ff-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; font-family: var(--ff-sans); font-size: 24px; font-weight: 400; transition: transform .35s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 28px; max-width: 640px; color: var(--c-muted); }
.acc__body p + p { margin-top: 12px; }
.acc__body ul { display: grid; gap: 8px; }
.acc__body li { position: relative; padding-left: 22px; }
.acc__body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--c-copper); }

.pairing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 8px; background: var(--c-line); border: 1px solid var(--c-line); }
.pairing li { padding: 18px; background: var(--c-smoke); font-size: 14px; color: var(--c-myrtle); }
.pairing li::before { content: none; }
.pairing b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-copper); }

/* ---------- Текстовая страница (документы) ---------- */
.doc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.toc { position: sticky; top: calc(72px + 32px); font-size: 14px; }
.toc__title { margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--c-line); }
.toc a { display: block; padding: 6px 0 6px 18px; margin-left: -1px; border-left: 1px solid transparent; color: var(--c-muted); line-height: 1.4; transition: color .3s var(--ease), border-color .3s var(--ease); }
.toc a:hover { color: var(--c-myrtle); }
.toc a.is-active { color: var(--c-myrtle); border-color: var(--c-copper); }
.doc__docs { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); display: grid; gap: 8px; }
.doc__docs a { color: var(--c-muted); }
.doc__docs a[aria-current] { color: var(--c-myrtle); font-weight: 500; }

.notice { display: flex; gap: 16px; margin-bottom: 48px; padding: 20px 24px; border-left: 2px solid var(--c-copper); background: rgba(169, 81, 50, .06); font-size: 14px; line-height: 1.6; color: var(--c-myrtle); }

.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: #3b4638; counter-reset: h2; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.4em; scroll-margin-top: 110px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; color: var(--c-myrtle); counter-increment: h2; }
.prose h2::before { content: counter(h2) ". "; color: var(--c-copper); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-myrtle); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 1px; background: var(--c-copper); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: li; }
.prose ol li::before { content: counter(li) "."; position: absolute; left: 0; color: var(--c-copper); font-variant-numeric: lining-nums; }
.prose a { color: var(--c-myrtle); text-decoration: underline; text-decoration-color: rgba(33, 48, 30, .3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--c-myrtle); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.prose .table-wrap { overflow-x: auto; }

/* ---------- О нас ---------- */
.about-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 92svh; padding: calc(var(--header-h) + 64px) 0 clamp(56px, 7vw, 104px); color: var(--c-smoke); background: var(--c-myrtle); overflow: hidden; }
.about-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 18s var(--ease) both; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 5, .55) 0%, rgba(5, 7, 5, .2) 35%, rgba(5, 7, 5, .78) 100%); }
.about-hero .breadcrumbs { color: rgba(243, 244, 240, .7); }
.about-hero .breadcrumbs [aria-current] { color: var(--c-smoke); }
.about-hero .h1 { max-width: 980px; margin: 32px 0 0; animation: rise 1.2s var(--ease) .1s both; }
.about-hero .eyebrow { margin: 40px 0 0; color: var(--c-smoke); }

.statement { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.statement__text { font-family: var(--ff-serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.25; color: var(--c-myrtle); }
.statement__text em { color: var(--c-copper); font-style: italic; }
.statement .lead + .lead { margin-top: 20px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.principles li { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.principles .facts__num { margin-bottom: 28px; }
.principles h3 { margin-bottom: 12px; font-family: var(--ff-serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.principles p { font-size: 15px; color: var(--c-muted); }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.timeline li { position: relative; padding: 48px 28px 0 0; counter-increment: step; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: rgba(243, 244, 240, .2); }
.timeline li::after { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--c-copper); box-shadow: 0 0 0 6px var(--c-myrtle); }
.timeline__step { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-basil); }
.timeline h3 { margin-bottom: 10px; font-family: var(--ff-serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.timeline p { font-size: 15px; color: rgba(243, 244, 240, .68); }

.traits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.traits li { padding: clamp(28px, 4vw, 56px) 0; text-align: center; font-family: var(--ff-serif); font-size: clamp(26px, 3vw, 44px); line-height: 1; }
.traits li + li { border-left: 1px solid var(--c-line); }
.traits small { display: block; margin-top: 14px; font-family: var(--ff-sans); font-size: 13px; line-height: 1.5; color: var(--c-muted); padding: 0 16px; }

.mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.5vw, 20px); }
.mosaic figure { margin: 0; overflow: hidden; background: #ECEAE6; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.mosaic figure:first-child img { aspect-ratio: auto; }

.quote { position: relative; padding: var(--section-y) 0; text-align: center; overflow: hidden; }
.quote__sheep { width: 120px; margin: 0 auto 36px; color: var(--c-myrtle); }
.quote blockquote { margin: 0 auto; max-width: 900px; font-family: var(--ff-serif); font-style: italic; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.15; color: var(--c-myrtle); }
.quote .btn { margin-top: 48px; }
.quote__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
.quote__actions .btn { margin: 0; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-list { display: grid; border-top: 1px solid var(--c-line); }
.contact-list li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.contact-list__label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); padding-top: 6px; }
.contact-list__value { font-size: 16px; color: var(--c-myrtle); }
.contact-list__value a { transition: color .3s var(--ease); }
.contact-list__value a:hover { color: var(--c-copper); }
.contact-list__big { font-family: var(--ff-serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.contact-list small { display: block; margin-top: 4px; font-size: 13px; color: var(--c-muted); }
.contact-list .socials__link { color: var(--c-myrtle); border-color: var(--c-line); }
.contact-list .socials__link:hover { border-color: var(--c-myrtle); }

.form-card { padding: clamp(28px, 4vw, 56px); background: var(--c-white); border: 1px solid var(--c-line); }
.form-card .h3 { margin-bottom: 10px; }
.form-card > p { margin-bottom: 32px; color: var(--c-muted); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field__label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(33, 48, 30, .28); border-radius: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--c-myrtle); transition: border-color .3s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-myrtle); }
.field input::placeholder, .field textarea::placeholder { color: rgba(93, 106, 90, .6); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-copper); }
.field__error { display: none; font-size: 12px; color: var(--c-copper); }
.field.is-invalid .field__error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--c-muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--c-myrtle); }
.check a { color: var(--c-myrtle); text-decoration: underline; text-underline-offset: 3px; }
.check.is-invalid { color: var(--c-copper); }
.form .btn { justify-self: start; margin-top: 8px; }
.form__success { display: grid; gap: 12px; justify-items: start; padding: 24px 0; }
.form__success .h3 { color: var(--c-myrtle); }

.partners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.partner-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--c-line); background: var(--c-smoke); }
.partner-card p { color: var(--c-muted); flex: 1; }
.partner-card a.link { align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid var(--c-line); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s var(--ease); }
.partner-card a.link:hover { border-color: var(--c-myrtle); }

.requisites { display: grid; grid-template-columns: auto 1fr; font-size: 15px; border-top: 1px solid var(--c-line); }
.requisites dt, .requisites dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.requisites dt { padding-right: 40px; color: var(--c-muted); }

.map {
  position: relative; display: grid; place-items: center; min-height: 420px; overflow: hidden;
  background: var(--c-myrtle) url(/img/pages/tissue.webp) center / cover; color: var(--c-smoke); text-align: center;
}
.map::before { content: ""; position: absolute; inset: 0; background: rgba(33, 48, 30, .82); }
.map__inner { position: relative; display: grid; gap: 12px; justify-items: center; padding: 32px; }
.map__pin { width: 14px; height: 14px; border-radius: 50%; background: var(--c-copper); box-shadow: 0 0 0 10px rgba(169, 81, 50, .25), 0 0 0 22px rgba(169, 81, 50, .12); margin-bottom: 20px; }
.map__inner p { color: rgba(243, 244, 240, .7); }

/* ---------- Responsive (внутренние) ---------- */
@media (max-width: 1100px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .doc { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .page-head__row, .statement, .details, .contacts, .cta-band, .pdp__grid { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .cats { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .pdp__info { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .gallery__dots button { width: 28px; height: 3px; padding: 0; border: 0; background: var(--c-line); transition: background-color .3s var(--ease); }
  .gallery__dots button[aria-current="true"] { background: var(--c-myrtle); }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; padding: 24px; background: var(--c-white); border: 1px solid var(--c-line); }
  .traits { grid-template-columns: repeat(2, 1fr); }
  .traits li:nth-child(3) { border-left: 0; }
  .traits li:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mosaic figure:first-child img { aspect-ratio: 16 / 10; }
  .partners { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .products--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 12px; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .products--grid .product { flex: none; }
  .products--grid .product__text { display: none; }
  .products--grid .product__name { font-size: 22px; }
  .products--grid .product__tag { font-size: 10px; letter-spacing: .1em; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .principles { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 32px 40px; }
  .timeline li::before { left: 5px; right: auto; top: 18px; bottom: 0; width: 1px; height: auto; }
  .timeline li:last-child::before { content: none; }
  .timeline li::after { top: 4px; }
  .traits li { font-size: 26px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic img { aspect-ratio: 4 / 3; }
  .pairing { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 6px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .requisites { grid-template-columns: 1fr; }
  .requisites dt { padding-bottom: 0; border-bottom: 0; }
  .prose { font-size: 16px; }
  .about-hero { min-height: 80svh; }
  .quote__actions .btn, .cta-band__actions .btn, .pdp__actions .btn { width: 100%; }
}
.principles--dark, .principles--dark li { border-color: var(--c-line-light); }
.principles--dark p { color: rgba(243, 244, 240, .7); }
.notice + h2 { margin-top: 0; }
.products--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .products--three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .products--three { grid-template-columns: repeat(2, 1fr); } }
ol { margin: 0; }
.breadcrumbs, .timeline { padding: 0; margin: 0; list-style: none; }
.cat:not(.cat--soon)::before { background: linear-gradient(180deg, rgba(5, 7, 5, .05) 20%, rgba(5, 7, 5, .55) 55%, rgba(5, 7, 5, .88) 100%); }
.chip { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.tabs--scroll .tabs__btn { flex: none; white-space: nowrap; }
@media (max-width: 640px) { .tabs--scroll { width: auto; max-width: calc(100vw - var(--gutter) * 2); } .formats .chip { white-space: normal; } }

/* ==========================================================================
   Где купить: локатор магазинов (страница /gde-kupit/ и попап в карточке товара)
   ========================================================================== */
.locator { min-height: 320px; }
.locator[aria-busy="true"] { opacity: .5; }
.locator__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 32px; }
.locator__toolbar { margin-bottom: 32px; }
.locator__bar > .toolbar__count { margin: 0 0 14px auto; }
.locator__error { padding: 32px 0; color: var(--c-muted); }

/* Город: нативный select (на телефоне — системный выбор), оформленный под заголовок */
.city-select { position: relative; display: grid; gap: 6px; min-width: min(320px, 100%); }
.city-select__label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.city-select__control {
  appearance: none; -webkit-appearance: none; width: 100%; margin: 0; padding: 4px 44px 10px 0;
  border: 0; border-bottom: 1px solid var(--c-myrtle); border-radius: 0; background: transparent;
  font-family: var(--ff-serif); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--c-myrtle);
  cursor: pointer; text-overflow: ellipsis;
}
.city-select::after {
  content: ""; position: absolute; right: 6px; bottom: 24px; width: 12px; height: 12px;
  border-right: 1.5px solid var(--c-myrtle); border-bottom: 1.5px solid var(--c-myrtle); transform: rotate(45deg); pointer-events: none;
}
.city-select__control:focus-visible { outline: none; border-bottom-color: var(--c-copper); box-shadow: 0 1px 0 var(--c-copper); }
.city-select__control option { font-family: var(--ff-sans); font-size: 16px; }

/* Переключатель «Список / Карта» */
.segmented { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white); }
.segmented button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.segmented button:hover { color: var(--c-myrtle); }
.segmented button[aria-pressed="true"] { background: var(--c-myrtle); color: var(--c-smoke); }
.segmented svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.chip:disabled { opacity: .55; cursor: not-allowed; }
.chip:disabled:hover { border-color: var(--c-line); color: inherit; }
.chip .tabs__badge { margin-left: 8px; }

/* Список магазинов */
.locator__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px;
  border: 1px solid var(--c-line); background: var(--c-white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.store--featured { border-color: var(--c-myrtle); }
.store--featured::before {
  content: "Фирменный"; position: absolute; top: -1px; right: -1px; padding: 6px 12px; background: var(--c-myrtle); color: var(--c-smoke);
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.store__type { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-copper); }
.store__name { font-family: var(--ff-serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.store__addr { display: grid; gap: 2px; font-size: 15px; }
.store__metro { font-size: 13px; color: var(--c-muted); }
.store__meta { display: grid; gap: 4px; margin: 4px 0 0; font-size: 13px; color: var(--c-muted); }
.store__meta div { display: flex; gap: 8px; }
.store__meta dt { flex: none; width: 72px; }
.store__meta dd { margin: 0; color: var(--c-myrtle); }
.store__products { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.store__products li a {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--c-line); border-radius: 999px;
  font-size: 12px; transition: border-color .2s var(--ease);
}
.store__products li a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--c-myrtle)); }
.store__products li a:hover { border-color: var(--c-myrtle); }
.store__products .is-current a { border-color: var(--c-myrtle); font-weight: 600; }
.store__actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line); }
.store__btn {
  padding: 4px 0; border: 0; background: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-myrtle); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.store__btn:hover { color: var(--c-copper); border-bottom-color: currentColor; }

/* Режим «Карта»: список слева, карта справа */
.locator__body[data-mode="map"] {
  display: grid; grid-template-columns: minmax(300px, 380px) 1fr; height: clamp(520px, 72vh, 760px);
  border: 1px solid var(--c-line); background: var(--c-white);
}
.locator__body[data-mode="map"] .locator__list { display: block; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.locator__body[data-mode="map"] .store { gap: 6px; padding: 22px 24px 22px 26px; border: 0; border-bottom: 1px solid var(--c-line); cursor: pointer; }
.locator__body[data-mode="map"] .store:hover { background: rgba(243, 244, 240, .6); }
.locator__body[data-mode="map"] .store.is-active { background: var(--c-smoke); box-shadow: inset 3px 0 0 var(--c-copper); }
.locator__body[data-mode="map"] .store--featured::before { top: 0; right: 0; }
.locator__body[data-mode="map"] .store__name { font-size: 23px; padding-right: 72px; }
.locator__body[data-mode="map"] .store__meta div + div,
.locator__body[data-mode="map"] [data-show] { display: none; }
.locator__body[data-mode="map"] .store__actions { padding-top: 10px; border-top: 0; }
.store.is-active { border-color: var(--c-copper); }
.locator__map { position: relative; min-height: 0; border-left: 1px solid var(--c-line); }
.locator__canvas { position: absolute; inset: 0; background: #eceee8; font-family: var(--ff-sans); }
.locator__canvas .locator__error { padding: 32px; }
.locator__canvas .leaflet-tile-pane { filter: grayscale(1) sepia(.18) hue-rotate(40deg) contrast(.92) brightness(1.06); }

/* Метка магазина */
.pin { background: none; border: 0; }
.pin span {
  position: absolute; left: 3px; top: 0; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--c-myrtle); border: 2px solid var(--c-smoke); box-shadow: 0 4px 12px rgba(5, 7, 5, .28);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.pin span::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--c-smoke); }
.pin--brand span { background: var(--c-olive); }
.pin:hover span, .pin.is-active span { background: var(--c-copper); transform: rotate(-45deg) scale(1.18); }

/* Всплывающая подсказка на карте */
.map-popup .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 12px 32px rgba(5, 7, 5, .18); }
.map-popup .leaflet-popup-content { margin: 18px 20px; font-family: var(--ff-sans); font-size: 13px; line-height: 1.5; color: var(--c-myrtle); }
.map-popup .leaflet-popup-content p { margin: 0; }
.map-popup__type { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-copper); }
.map-popup__name { margin: 4px 0 6px !important; font-family: var(--ff-serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.map-popup__hours { color: var(--c-muted); }
.map-popup .map-popup__route { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-copper); }
.leaflet-container a.leaflet-popup-close-button { top: 6px; right: 6px; color: var(--c-muted); }
.leaflet-bar a { color: var(--c-myrtle); }
.leaflet-control-attribution { font-size: 10px; }

/* Пусто */
.locator__empty { display: flex; gap: clamp(24px, 4vw, 48px); align-items: flex-start; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--c-line); background: var(--c-white); }
.locator__empty-sheep { flex: none; width: clamp(72px, 9vw, 120px); color: var(--c-myrtle); opacity: .9; }
.locator__empty-title { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; text-wrap: balance; }
.locator__empty-sub { margin: 20px 0 12px; font-size: 13px; color: var(--c-muted); }
.locator__empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Модальное окно ---------- */
dialog.modal {
  width: min(1120px, calc(100% - 48px)); max-width: none; height: min(820px, calc(100dvh - 48px)); max-height: none;
  margin: auto; padding: 0; border: 0; background: var(--c-smoke); color: var(--c-text);
  box-shadow: 0 30px 80px rgba(5, 7, 5, .35); overscroll-behavior: contain;
}
dialog.modal[open] { display: flex; flex-direction: column; }
dialog.modal::backdrop { background: rgba(5, 7, 5, .55); backdrop-filter: blur(3px); overflow: hidden; overscroll-behavior: contain; }
dialog.modal[open], dialog.modal[open]::backdrop { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; } }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 28px 32px 20px; border-bottom: 1px solid var(--c-line); }
.modal__head .eyebrow { margin-bottom: 8px; }
.modal__title { font-family: var(--ff-serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }
.modal__close {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--c-line); border-radius: 50%;
  background: var(--c-white); transition: border-color .2s var(--ease);
}
.modal__close:hover { border-color: var(--c-myrtle); }
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.modal__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px 32px; }
.modal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 32px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-muted); }
.modal .locator__bar { margin-bottom: 24px; }
.modal .city-select__control { font-size: 30px; }
.modal .locator__list { grid-template-columns: repeat(2, 1fr); }
.modal .locator__body[data-mode="map"] { height: clamp(420px, calc(100dvh - 340px), 560px); grid-template-columns: minmax(260px, 320px) 1fr; }

@media (max-width: 1100px) {
  .locator__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .locator__body[data-mode="map"], .modal .locator__body[data-mode="map"] { display: flex; flex-direction: column; height: auto; }
  .locator__body[data-mode="map"] .locator__list { overflow: visible; order: 2; }
  .locator__map { order: 1; height: min(60vh, 460px); border-left: 0; border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 640px) {
  .locator__bar { align-items: stretch; flex-direction: column; gap: 16px; }
  .locator__bar > .toolbar__count { order: 3; margin: 0; }
  .segmented { display: grid; grid-template-columns: 1fr 1fr; }
  .segmented button { justify-content: center; }
  .locator__toolbar { display: block; }
  .locator__toolbar .toolbar__count { margin-top: 14px; }
  .locator__toolbar .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .locator__toolbar .chips::-webkit-scrollbar { display: none; }
  .locator__list, .modal .locator__list { grid-template-columns: 1fr; gap: 12px; }
  .store { padding: 22px; }
  .store__name { font-size: 25px; }
  .locator__empty { flex-direction: column; }
  dialog.modal { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .modal__head { padding: 20px var(--gutter) 16px; }
  .modal__body { padding: 20px var(--gutter) 28px; }
  .modal__foot { padding: 14px var(--gutter); }
}
.pdp__note .link, .modal__foot .link, .locator .link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; color: var(--c-myrtle); }
.modal__foot .link { font-weight: 600; text-decoration: none; }
.pdp__note .link:hover, .modal__foot .link:hover, .locator .link:hover { color: var(--c-copper); }
