/* ==========================================================================
   Секрет Горянки — страница-заглушка
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-cyr.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 600;
  font-display: swap;
  src: url("../fonts/cormorant-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 500;
  font-display: swap;
  src: url("../fonts/cormorant-italic-cyr.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: 500;
  font-display: swap;
  src: url("../fonts/cormorant-italic-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #fbf4ea;
  --sand: #f3e4d1;
  --sand-deep: #e9d3b8;
  --clay: #ed7346;          /* цвет логотипа */
  --clay-text: #b4441c;     /* терракота для текста — AA на креме */
  --clay-soft: #f6b393;
  --ink: #2a1b17;
  --ink-soft: #6b5650;
  --night: #1c1311;
  --night-2: #2a1c18;
  --sage: #7d8b69;
  --sage-soft: #c9d0b6;
  --line: rgba(42, 27, 23, .14);
  --line-light: rgba(251, 244, 234, .16);
  --white: #fffdf9;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 22px;
  --radius-lg: 36px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 60px -30px rgba(42, 27, 23, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--clay-text); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--clay); color: var(--white); }
:focus-visible { outline: 2px solid var(--clay-text); outline-offset: 3px; border-radius: 6px; }

.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: 16px; top: -60px; z-index: 1000;
  padding: 12px 18px; background: var(--ink); color: var(--cream); border-radius: 12px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; color: var(--cream); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }

/* Плейсхолдеры, которые нужно заменить реальными данными (поиск: data-placeholder) */
[data-placeholder] {
  background: repeating-linear-gradient(-45deg, rgba(237, 115, 70, .10) 0 6px, transparent 6px 12px);
  outline: 1px dashed rgba(180, 68, 28, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.4vw, 6.4rem);
  line-height: .95;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1;
}
.h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; }
.accent { font-style: italic; color: var(--clay-text); }
.on-dark .accent { color: var(--clay); }
.lead { font-size: clamp(1.05rem, 1.3vw + .5rem, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 40ch; }
.muted { color: var(--ink-soft); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr .8fr; gap: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--clay-text); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { color: var(--white); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light::before { background: var(--clay); }
.btn--wa { --bg: #1f7a4d; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.on-dark .btn--ghost { --fg: var(--cream); border-color: var(--line-light); }
.on-dark .btn--ghost::before { background: var(--cream); }
.on-dark .btn--ghost:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--clay-text);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Notice bar ---------- */
.notice {
  position: relative; z-index: 60;
  background: var(--ink); color: var(--cream);
  font-size: 14px; line-height: 1.4;
}
.notice__inner { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 10px; text-align: center; }
.notice a { color: var(--clay-soft); font-weight: 600; }
.notice__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); flex: none; box-shadow: 0 0 0 0 rgba(237,115,70,.6); animation: pulse 2.2s 3; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(237,115,70,0); } 100% { box-shadow: 0 0 0 0 rgba(237,115,70,0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, transform .45s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; color: var(--clay); text-decoration: none; }
.logo svg { width: clamp(170px, 18vw, 230px); height: auto; overflow: visible; }
.logo:hover { color: var(--clay-text); }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(18px, 2vw, 34px); list-style: none; }
.nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: 15px;
  padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.burger {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1024px) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (min-width: 1180px) { .header__phone { display: inline-flex; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night); color: var(--cream);
  padding: calc(var(--header-h) + 88px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  visibility: hidden; clip-path: circle(0% at calc(100% - 40px) 36px);
  overflow-y: auto;
}
.menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 36px); }
html:not(.js) .menu, .no-anim .menu { transition: clip-path .6s var(--ease), visibility .6s; }
.menu ul { list-style: none; display: grid; gap: 6px; }
.menu__link {
  display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 1.1;
  text-decoration: none; overflow: hidden;
}
.menu__link span { display: inline-block; }
.menu__link:hover { color: var(--clay); }
.menu__foot { display: grid; gap: 14px; font-size: 15px; color: rgba(251,244,234,.75); }
.menu__foot a { color: var(--cream); }
body.menu-open .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .header .logo { color: var(--cream); }
body.menu-open .header .burger { color: var(--cream); border-color: var(--line-light); }
html.menu-lock { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, min(calc(100svh - var(--header-h) - 40px), 940px));
  display: flex; flex-direction: column;
  padding-top: clamp(32px, 6vw, 80px);
}
.hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.4vh, 28px); }
.hero__status { justify-self: start; }
.hero__title { max-width: 11em; }
.hero__title .line { display: block; }
.hero__lead { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px;
  list-style: none; font-size: 15px; color: var(--ink-soft);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--clay-text); }

.hero__scene { position: absolute; inset: auto 0 0 0; z-index: 1; height: min(46vh, 520px); pointer-events: none; }
.hero__scene svg { position: absolute; left: 50%; bottom: 0; width: max(100%, 900px); height: 100%; transform: translateX(-50%); }
.hero__sun {
  position: absolute; z-index: 0; right: 10%; bottom: min(30vh, 340px);
  width: clamp(120px, 20vw, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ffd2b4, var(--clay) 62%, #d9582a);
  filter: saturate(1.05);
  box-shadow: 0 0 120px 40px rgba(237,115,70,.25);
}
.hero__leaves { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero__leaves svg { position: absolute; width: 22px; height: 22px; color: var(--sage); opacity: .7; }
.hero__spacer { flex: 1; min-height: clamp(150px, 24vh, 300px); }
.scroll-cue {
  position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
  text-decoration: none;
}
.scroll-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--cream), transparent); }
.scroll-cue:hover { color: var(--white); }

@media (max-width: 767px) {
  .hero__scene { height: 260px; }
  .hero__spacer { min-height: 290px; }
  .hero__sun { width: 96px; right: 12%; bottom: 186px; }
  .scroll-cue { display: none; }
  .header__actions > .btn { display: none; }
  .notice { font-size: 13px; }
  .notice__inner { padding-block: 8px; }
  .hero { min-height: 0; }
}

/* Status chip */
.status { justify-self: start; align-self: start; width: max-content; max-width: 100%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; line-height: 1.35;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex: none; }
.status.is-open .status__dot { background: #2f9e5b; box-shadow: 0 0 0 4px rgba(47,158,91,.18); }
.status.is-closed .status__dot { background: var(--clay); box-shadow: 0 0 0 4px rgba(237,115,70,.18); }

/* ---------- Marquee ---------- */
.ribbon {
  position: relative; z-index: 5;
  background: var(--clay); color: var(--night);
  padding-block: 16px; overflow: hidden; white-space: nowrap;
  transform: rotate(-1.6deg) scale(1.04); margin-block: -14px;
}
.marquee { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 0; flex: none; }
.ribbon .marquee__item {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-style: italic;
}
.ribbon .marquee__item svg { width: 22px; height: 22px; }
html:not(.js) .marquee, .no-anim .marquee { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none !important; } }

/* ---------- About ---------- */
.about__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.about__text {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.6vw, 3.3rem); line-height: 1.15;
  max-width: 24ch;
}
.about__text .accent { color: var(--clay-text); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--cream); padding: clamp(20px, 3vw, 36px); display: grid; gap: 6px; align-content: start; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--clay-text); font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1.25fr 1fr; align-items: end; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.values { display: grid; gap: 16px; margin-top: clamp(48px, 7vw, 96px); list-style: none; }
.value {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 24px; border-radius: var(--radius); background: var(--sand);
  align-content: start;
}
.value__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--clay-text);
}
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.value p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } .value { grid-template-columns: 1fr; } }

/* ---------- Categories (horizontal on desktop) ---------- */
.cats { background: var(--sand); overflow: hidden; }
.cats__track { display: grid; gap: 16px; list-style: none; }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--line);
  min-height: 300px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat:hover { box-shadow: var(--shadow); }
.cat__num { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--ink-soft); }
.cat__icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--clay-text);
}
.cat__icon svg { width: 36px; height: 36px; }
.cat h3 { font-family: var(--font-display); font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1.05; }
.cat ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.cat li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); line-height: 1.2; }
.cat--feature { background: var(--night); color: var(--cream); border-color: transparent; }
.cat--feature .cat__num, .cat--feature p { color: rgba(251,244,234,.7); }
.cat--feature .cat__icon { background: var(--night-2); color: var(--clay); }
.cat--feature li { background: transparent; border-color: var(--line-light); }
@media (min-width: 640px) and (max-width: 1023px) { .cats__track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cats.is-horizontal .cats__track { display: flex; width: max-content; gap: 24px; padding-right: var(--gutter); }
  .cats.is-horizontal { padding-block: clamp(48px, 7vh, 88px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .cats.is-horizontal .section-head { margin-bottom: clamp(28px, 4vh, 48px); }
  .cats.is-horizontal .cat { width: 360px; min-height: min(400px, 46vh); flex: none; }
  .cats.is-horizontal .cats__progress { margin-top: 28px; }
  .cats:not(.is-horizontal) .cats__track { grid-template-columns: repeat(3, 1fr); }
}
.cats__progress { display: none; height: 2px; background: var(--line); margin-top: 40px; border-radius: 2px; overflow: hidden; }
.cats__progress i { display: block; height: 100%; background: var(--clay-text); transform-origin: left; transform: scaleX(0); }
.cats.is-horizontal .cats__progress { display: block; }

/* ---------- Brands (dark) ---------- */
.on-dark { background: var(--night); color: var(--cream); }
.on-dark .muted, .on-dark .lead { color: rgba(251,244,234,.72); }
.on-dark .eyebrow { color: var(--clay); }
.on-dark a:hover { color: var(--clay); }
.on-dark .lead a { color: var(--clay); }
.on-dark .lead a:hover { color: var(--cream); }
.brands { overflow: hidden; }
.brands__rows { display: grid; gap: clamp(10px, 1.6vw, 18px); margin-block: clamp(40px, 6vw, 72px); }
.brands__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-pill {
  display: inline-flex; align-items: center; gap: 16px;
  margin-right: clamp(10px, 1.6vw, 18px);
  padding: clamp(12px, 1.6vw, 20px) clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--line-light); border-radius: 999px;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.brand-pill:hover { background: var(--clay); color: var(--night); border-color: var(--clay); }
.brand-pill--accent { font-style: italic; color: var(--clay); }
.brands__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.visit__grid > *, .contact__grid > *, .about__grid > * { min-width: 0; }
.visit__card {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
}
.visit__address { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.05; }
.visit__address small { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
  font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.chip-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip-btn svg { width: 18px; height: 18px; }
.chip-btn.is-done { background: var(--sage); border-color: var(--sage); color: var(--white); }

.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--clay-text); font-weight: 700; }
.hours tr.is-today th::after { content: " · сегодня"; font-weight: 500; font-size: 13px; }

.map {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 420px; background: var(--sand-deep); border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  color: var(--ink-soft);
}
.map__pin {
  position: absolute; left: 50%; top: 50%; translate: -50% -100%; z-index: 2; pointer-events: none;
  width: 44px; height: 44px; color: var(--clay-text);
  filter: drop-shadow(0 8px 10px rgba(42,27,23,.3));
}
.map.is-loaded .map__pin { display: none; }

.route-wrap { position: relative; }
.route { display: grid; gap: 18px; counter-reset: step; list-style: none; position: relative; }
.route li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.route li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--clay-text); color: var(--white); font-weight: 700; position: relative; z-index: 1;
}
.route h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; padding-top: 10px; }
.route p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.route__line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; overflow: visible; color: var(--clay-soft); }
@media (min-width: 1024px) {
  .visit__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
  .map { min-height: 100%; }
}

/* ---------- Services / perks ---------- */
.perks { display: grid; gap: 16px; list-style: none; }
.perk {
  position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: var(--sand); overflow: hidden; display: grid; gap: 12px; align-content: start;
  min-height: 240px;
}
.perk__icon { width: 48px; height: 48px; color: var(--clay-text); }
.perk h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.05; }
.perk p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.perk a.link-arrow { margin-top: auto; }
.perk--dark { background: var(--night); color: var(--cream); }
.perk--dark p { color: rgba(251,244,234,.72); }
.perk--dark .perk__icon, .perk--dark .link-arrow { color: var(--clay); }
.perk--clay { background: var(--clay); color: var(--night); }
.perk--clay p { color: rgba(28,19,17,.78); }
.perk--clay .perk__icon, .perk--clay .link-arrow { color: var(--night); }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .perks { grid-template-columns: repeat(3, 1fr); } .perk--wide { grid-column: span 2; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay-text); }
.faq__plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: transform .45s var(--ease), background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq__plus::after { rotate: 90deg; transition: rotate .45s var(--ease); }
.faq details[open] .faq__plus { background: var(--clay); border-color: var(--clay); color: var(--white); }
.faq details[open] .faq__plus::after { rotate: 0deg; }
.faq__body { overflow: hidden; }
.faq__body > div { padding-bottom: 26px; max-width: 70ch; color: var(--ink-soft); }
.faq__body p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contact / form ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.contact__list { display: grid; gap: 4px; list-style: none; margin-top: 32px; }
.contact__list a, .contact__list div {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line-light); text-decoration: none;
}
.contact__list .ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night-2); color: var(--clay); }
.contact__list .ci svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: 13px; color: rgba(251,244,234,.6); }
.contact__list strong { font-weight: 600; font-size: 17px; }

.form {
  display: grid; gap: 16px; padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg); background: var(--cream); color: var(--ink);
}
.form h3 { margin-bottom: 4px; }
.on-dark .form .muted { color: var(--ink-soft); }
.on-dark .form a:hover { color: var(--clay-text); }
.form > p.muted { margin: -8px 0 4px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay-text); box-shadow: 0 0 0 4px rgba(237,115,70,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field__hint { font-size: 13px; color: var(--ink-soft); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.topics legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topics span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--white); transition: background .25s, color .25s, border-color .25s; }
.topics input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.topics input:focus-visible + span { outline: 2px solid var(--clay-text); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--clay-text); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-size: 15px; font-weight: 600; }
.form__status.is-ok { color: #1f7a4d; }
.form__status.is-error { color: #b3261e; }
.form.is-sending .btn { pointer-events: none; opacity: .7; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(251,244,234,.75); padding-top: clamp(64px, 9vw, 120px); font-size: 15px; overflow: hidden; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--clay); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer .logo { color: var(--clay); margin-bottom: 20px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--cream); transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--clay); border-color: var(--clay); color: var(--night); }
.socials svg { width: 20px; height: 20px; }
.footer__big {
  font-family: var(--font-display); font-style: italic; color: var(--clay);
  font-size: clamp(3.4rem, 15.5vw, 15rem); line-height: .85; white-space: nowrap; letter-spacing: -.02em;
  text-align: center; margin: 0; padding-bottom: .12em; user-select: none;
}
.footer__big + .footer__bottom { margin-top: 0; }
main > .on-dark:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
main:has(> .on-dark:last-child) + .footer { padding-top: 0; }
main:has(> .on-dark:last-child) + .footer .footer__grid { padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-light); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- Floating action (mobile) ---------- */
.fab {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; gap: 10px;
}
.fab a {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--clay-text); color: var(--white); box-shadow: 0 14px 30px -10px rgba(42,27,23,.5);
}
.fab a.fab__wa { background: #1f7a4d; }
.fab svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .fab { display: none; } }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 110px) clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .display { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 16ch; }
.page-hero__deco { position: absolute; right: -60px; bottom: -40px; width: clamp(220px, 34vw, 480px); color: var(--sand-deep); z-index: -1; }
.breadcrumbs { margin-bottom: 28px; font-size: 14px; color: var(--ink-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }

.brand-tools { position: sticky; top: calc(var(--header-h) + 8px); z-index: 10; display: grid; gap: 14px; padding: 14px; margin-bottom: 40px; border-radius: 20px; background: color-mix(in srgb, var(--cream) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-soft); pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 12px 16px 12px 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 16px; }
.search input:focus { outline: none; border-color: var(--clay-text); box-shadow: 0 0 0 4px rgba(237,115,70,.18); }
.alpha { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.alpha::-webkit-scrollbar { display: none; }
.alpha a { flex: none; display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; }
.alpha a:hover { background: var(--ink); color: var(--cream); }
.alpha a.is-empty { opacity: .3; pointer-events: none; }
@media (min-width: 900px) { .brand-tools { grid-template-columns: minmax(260px, 360px) 1fr; align-items: center; } }

.brand-groups { display: grid; gap: clamp(32px, 4vw, 48px); }
.brand-group { display: grid; gap: 16px; scroll-margin-top: calc(var(--header-h) + 140px); }
.brand-group__letter { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: var(--clay-text); font-style: italic; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; list-style: none; }
.brand-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 76px; padding: 16px 20px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; text-decoration: none; 
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.brand-card:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.brand-card small { font-family: var(--font-body); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.brand-card:hover small { color: var(--clay-soft); }
.brand-group[hidden], .brand-card[hidden] { display: none; }
@media (max-width: 639px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-card { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 72px; padding: 12px 14px; font-size: 1.2rem; }
  .page-hero__deco { display: none; }
}
.brand-empty { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

.prose { max-width: 75ch; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 1.6em 0 .5em; line-height: 1.3; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

.requisites { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.requisites li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.requisites span { font-size: 13px; color: var(--ink-soft); }
@media (min-width: 640px) { .requisites li { grid-template-columns: 220px 1fr; gap: 16px; } }

.notfound { min-height: 70vh; display: grid; align-content: center; gap: 24px; }
.notfound__code { font-variant-numeric: lining-nums; font-family: var(--font-display); font-style: italic; font-size: clamp(7rem, 26vw, 18rem); line-height: .8; color: var(--clay); }

/* ---------- Animation pre-states (only when JS + GSAP active) ---------- */
.js.anim [data-reveal] { opacity: 0; }
@media (min-width: 768px) {
  .js.anim .hero__title, .js.anim .about__text { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .header, .notice, .fab, .ribbon, .hero__scene, .hero__leaves, .map, .form, .menu, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .on-dark, .footer { background: #fff; color: #000; }
}
