/* Лавка Вкуса — публичные стили. Отступы и позиции взяты из оригинала (сетка Revolution Slider 1620×900,
   контейнеры Elementor), оформление — по принципам Apple HIG: стекло, крупная типографика, мягкая глубина,
   плавное движение, светлая/тёмная тема, доступность. Без фреймворков. */

@font-face { font-family: "Anticva"; src: url("../fonts/Anticva-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Racama"; src: url("../fonts/Racama.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost-400-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Montserrat"; src: url("../fonts/Montserrat-500-cyrillic.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; 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: "Roboto"; src: url("../fonts/Roboto-400-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; 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; }

/* ---------- Токены (светлая тема по умолчанию) ---------- */
:root {
  color-scheme: light;
  --brand: #1A5319;
  --brand-2: #819A34;
  --brand-3: #A0C3A1;

  --bg: #ffffff;
  --bg-alt: #F8F8F8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #7B7B7B;
  --text-3: #86868b;
  --heading: #1A5319;
  --line: rgba(0, 0, 0, .08);
  --tint: rgba(26, 83, 25, .08);
  --tint-strong: rgba(26, 83, 25, .15);
  --focus: #2f7d2c;
  --footer-bg: #F6F7F8;

  --glass: rgba(20, 44, 18, .62);
  --glass-border: rgba(255, 255, 255, .18);
  --glass-light: rgba(255, 255, 255, .14);
  --glass-light-border: rgba(255, 255, 255, .38);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 4px 14px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 30px 70px rgba(0,0,0,.16);

  --radius: 24px;   /* карточки Elementor в оригинале: 24–25px */
  --radius-lg: 28px;
  --pill: 980px;

  --font-display: "Anticva", Georgia, serif;
  --font-heading: "Racama", "Jost", -apple-system, "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-accent: "Jost", -apple-system, "Segoe UI", sans-serif;
  --font-button: "Montserrat", -apple-system, "Segoe UI", sans-serif;

  /* Сетка оригинала: край контента 80px (74 на ноутбуках, 20 на телефонах) */
  --edge: 80px;
  --header-top: 32px;
  --header-h: 110px;
  /* единый бокс для шапки, слайдера, контента и подвала: 1610px по центру + внутренний отступ --edge */
  --box: 1610px;
  --footer-max: var(--box);
  --content-max: var(--box);
  --box-offset: calc((100% - min(100%, var(--box))) / 2);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.3, .64, 1);
}
@media (max-width: 1600px) { :root { --edge: 74px; } }
@media (max-width: 1024px) { :root { --edge: 78px; --header-h: 96px; } }
@media (max-width: 767px)  { :root { --edge: 20px; --header-top: 16px; --header-h: 72px; } }

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #1d1d1f;
  --surface: #1d1d1f;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --heading: #A0C3A1;
  --line: rgba(255, 255, 255, .12);
  --tint: rgba(160, 195, 161, .12);
  --tint-strong: rgba(160, 195, 161, .22);
  --focus: #A0C3A1;
  --footer-bg: #111113;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.6);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background .35s, color .35s; }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; color: inherit; }
::selection { background: var(--tint-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 18px; background: var(--brand); color: #fff; border-radius: var(--pill); transform: translateY(-200%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; font-family: var(--font-accent); font-size: 17px; font-weight: 500; letter-spacing: .01em; border-radius: var(--pill); border: 1px solid transparent; transition: transform .25s var(--ease-spring), background .25s, color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.96); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn__arrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: -12px; border-radius: 50%; background: var(--brand); color: #fff; transition: transform .35s var(--ease-spring), background .25s; }
.btn__arrow svg { width: 18px; height: 18px; }
.btn:hover .btn__arrow { transform: translateX(3px); }
/* главная кнопка заказа: 64px высота как в оригинале, Montserrat, белое стекло, зелёная стрелка */
.btn--hero { min-height: 64px; padding: 0 22px 0 32px; gap: 16px; font-family: var(--font-button); font-size: 22px; letter-spacing: .01em; color: #111; border-radius: var(--pill); background: rgba(255,255,255,.94); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 10px 34px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.95); }
.btn--hero:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0,0,0,.32), inset 0 1px 0 #fff; }
.btn--hero:hover .btn__arrow { background: #226b20; }
/* вторичная кнопка: прозрачное стекло с телефоном */
.btn--ghost { min-height: 64px; padding: 0 26px; gap: 10px; font-family: var(--font-accent); font-size: 19px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--primary { color: #fff; background: var(--brand); box-shadow: var(--shadow-sm); padding-right: 22px; gap: 14px; min-height: 56px; font-size: 18px; }
.btn--primary .btn__arrow { background: rgba(255,255,255,.18); }
.btn--primary:hover { background: #226b20; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { color: var(--heading); background: var(--tint); }
.btn--outline:hover { background: var(--tint-strong); }
.btn--outline .btn__arrow { background: var(--heading); color: var(--bg); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(36px, 5.8vw, 100px); }
.hero__cta .btn--hero { margin-top: 0; }
.hero__hint { margin-top: 18px; font-family: var(--font-accent); font-size: 15px; letter-spacing: .01em; color: rgba(255,255,255,.78); }
.hero__hint--mobile { display: none; }
.hero__slide.is-active .hero__cta, .hero__slide.is-active .hero__hint { animation: rise .9s var(--ease-out) both; }
.hero__slide.is-active .hero__cta { animation-delay: .24s; }
.hero__slide.is-active .hero__hint { animation-delay: .36s; }

/* Лист заказа (диалог): на телефоне выезжает снизу, на десктопе — карточка по центру */
.sheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); display: none; align-items: center; justify-content: center; }
.sheet[open] { display: flex; }
.sheet::backdrop { background: rgba(0,0,0,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet__panel { position: relative; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 32px 28px 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: sheet-pop .45s var(--ease-spring); }
@keyframes sheet-pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.sheet__close { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--text-2); transition: background .25s, transform .3s var(--ease-spring); }
.sheet__close:hover { background: var(--tint-strong); transform: rotate(90deg); }
.sheet__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sheet__eyebrow { font-family: var(--font-heading); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sheet__title { margin-top: 8px; padding-right: 40px; font-family: var(--font-heading); font-size: 30px; line-height: 1.1; color: var(--heading); }
.sheet__subtitle { margin-top: 10px; font-size: 16px; color: var(--text-2); }
.sheet__list { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.sheet__item { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--bg-alt); border: 1px solid transparent; transition: background .25s, transform .3s var(--ease-spring), border-color .25s; }
.sheet__item:hover { background: var(--tint); border-color: var(--tint-strong); transform: translateX(3px); }
.sheet__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; }
.sheet__item--whatsapp .sheet__icon { background: #25D366; }
.sheet__item--telegram .sheet__icon { background: #2AABEE; }
.sheet__item--catalog .sheet__icon { background: var(--brand-2); }
.sheet__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sheet__text { display: flex; flex-direction: column; min-width: 0; }
.sheet__label { font-family: var(--font-accent); font-size: 18px; color: var(--text); }
.sheet__hint { font-size: 14px; color: var(--text-3); }
.sheet__chevron { margin-left: auto; font-size: 22px; color: var(--text-3); }
.sheet__footer { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-3); }
@media (max-width: 600px) {
  .sheet[open] { align-items: flex-end; }
  .sheet__panel { width: 100%; max-height: 92%; padding: 28px 20px max(20px, env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Шапка: две колонки по 50%, логотип на --edge, меню по центру правой колонки ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: var(--glass); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); border-bottom: 1px solid var(--glass-border); box-shadow: 0 8px 30px rgba(0,0,0,.12); transition: opacity .45s var(--ease-out); }
.site-header.is-scrolled::after, body:not(.has-overlay-header) .site-header::after { opacity: 1; }
.site-header__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; height: var(--header-h); max-width: var(--box); margin: 0 auto; padding: 0 calc(var(--edge) + var(--safe-r)) 0 calc(var(--edge) + var(--safe-l)); transition: height .35s var(--ease-out); }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.site-logo { display: block; width: 215px; border-radius: 8px; transition: width .35s var(--ease-out), opacity .3s; }
.site-logo:hover { opacity: .9; }
.site-header.is-scrolled .site-logo { width: 170px; }
.site-nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.site-nav__list { display: flex; gap: 6px; padding: 4px; border-radius: var(--pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-nav__link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; font-family: var(--font-heading); font-size: 20px; border-radius: var(--pill); color: rgba(255,255,255,.9); transition: background .25s, color .25s; }
.site-nav__link:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-nav__link.is-active { background: rgba(255,255,255,.92); color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; transition: background .25s, transform .3s var(--ease-spring); }
.theme-toggle:hover, .burger:hover { background: rgba(255,255,255,.2); }
.theme-toggle:active { transform: scale(.92) rotate(-15deg); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; padding: 16px var(--edge) 40px; background: var(--glass); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); color: #fff; animation: sheet-in .4s var(--ease-out); overflow: auto; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__list a { display: flex; align-items: center; min-height: 56px; padding: 0 18px; font-family: var(--font-heading); font-size: 22px; border-radius: 16px; transition: background .2s; }
.mobile-menu__list a:hover, .mobile-menu__list a:active { background: rgba(255,255,255,.12); }
body.menu-open { overflow: hidden; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 991px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .site-nav { justify-content: flex-end; }
  .site-nav__list { display: none; }
  .burger { display: inline-flex; }
  .site-logo, .site-header.is-scrolled .site-logo { width: 150px; }
}
body:not(.has-overlay-header) main { padding-top: var(--header-h); }

/* ---------- Главный экран: сетка оригинала 1620×900 (значения в vw = px/16.2) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #14211a; color: #fff; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-out); pointer-events: none; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero__slide > picture:first-child { position: absolute; inset: 0; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.22) 100%); }
/* текст на одной вертикали с логотипом (--edge); заголовок на 191px сетки */
.hero__content { position: absolute; z-index: 2; left: calc(var(--box-offset) + var(--edge) + var(--safe-l)); right: calc(var(--box-offset) + var(--edge) + var(--safe-r)); top: clamp(150px, 11.8vw, 230px); max-width: 1050px; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.93vw, 96px); line-height: 1.04; letter-spacing: -.005em; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.hero__subtitle { margin-top: clamp(22px, 4.3vw, 76px); max-width: 500px; font-family: var(--font-accent); font-size: clamp(22px, 1.85vw, 32px); line-height: 1.15; color: rgba(255,255,255,.94); }
.hero__slide.is-active .hero__title, .hero__slide.is-active .hero__subtitle { animation: rise .9s var(--ease-out) both; }
.hero__slide.is-active .hero__subtitle { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* кружок «Подробнее»: в оригинале 222px, справа 221px и снизу 196px (сетка 1620) */
.hero__badge { position: absolute; z-index: 2; right: calc(var(--box-offset) + clamp(24px, 13.6vw, 221px) + var(--safe-r)); bottom: clamp(56px, 12.1vw, 196px); width: clamp(150px, 13.7vw, 222px); border-radius: 50%; transition: transform .8s var(--ease-spring); filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.hero__badge:hover { transform: rotate(20deg) scale(1.04); }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px 12px; transform: translateX(-50%); border-radius: var(--pill); background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.hero__dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--pill); background: rgba(255,255,255,.45); transition: width .4s var(--ease-out), background .3s; }
.hero__dot::before { content: ""; position: absolute; inset: -10px; }
.hero__dot.is-active { width: 28px; background: #fff; }
@media (max-width: 1600px) {
  .hero__content { top: clamp(120px, 10.3vw, 165px); }
}
@media (max-width: 991px) {
  .hero__badge { right: calc(40px + var(--safe-r)); bottom: 120px; width: 150px; }
}
@media (max-width: 767px) {
  .hero { height: min(100svh, 680px); min-height: 620px; }
  /* на телефоне контент в потоке, а подсказка о доставке — внизу, на одной линии с кружком «Подробнее» */
  .hero__content { position: relative; z-index: 2; inset: auto; padding: 120px calc(var(--edge) + var(--safe-r)) 0 calc(var(--edge) + var(--safe-l)); max-width: none; }
  .hero__hint--desktop { display: none; }
  .hero__hint--mobile { display: block; position: absolute; z-index: 2; left: calc(var(--edge) + var(--safe-l)); right: calc(24px + 150px + 14px + var(--safe-r)); bottom: 127px; margin: 0; }
  .hero__title { font-size: 40px; line-height: 1.2; }
  .hero__subtitle { margin-top: 26px; font-size: 22px; line-height: 1.3; }
  .hero__cta { margin-top: 36px; gap: 8px; flex-wrap: nowrap; }
  .hero__cta .btn { flex: 1 1 0; min-width: 0; min-height: 54px; white-space: nowrap; }
  .btn--hero { font-size: 17px; padding: 0 10px 0 16px; gap: 10px; }
  .btn--hero .btn__arrow { width: 30px; height: 30px; margin-right: -4px; }
  .btn--ghost { font-size: 15px; padding: 0 12px; gap: 8px; }
  .btn--ghost svg { width: 18px; height: 18px; }
  .hero__hint { font-size: 14px; max-width: 320px; }
  .hero__badge { right: calc(24px + var(--safe-r)); bottom: 72px; width: 150px; }
}

@media (max-width: 380px) {
  .btn--hero { font-size: 16px; padding-left: 14px; }
  .btn--ghost { font-size: 14px; padding: 0 10px; }
}

/* ---------- «О нас» ---------- */
.about-screen { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #22301f; }
.about-screen > picture:first-child { position: absolute; inset: 0; }
.about-screen__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.2) 100%); }
.circle-links { position: absolute; z-index: 2; left: 50%; top: 50%; width: 450px; height: 460px; transform: translate(-50%, -50%); }
.circle-link { position: absolute; width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden; background: var(--glass-light); border: 1px solid var(--glass-light-border); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 20px 50px rgba(0,0,0,.28); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); transition: transform .6s var(--ease-spring), box-shadow .4s, background .3s; animation: pop .9s var(--ease-spring) both; }
.circle-link--top-left { top: 0; left: 9%; animation-delay: .05s; }
.circle-link--right { top: 100px; right: 0; animation-delay: .18s; }
.circle-link--bottom-left { bottom: 0; left: 0; animation-delay: .3s; }
.circle-link:hover, .circle-link:focus-visible { transform: translateY(-6px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 30px 70px rgba(0,0,0,.35); background: rgba(255,255,255,.9); }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.circle-link__img { width: 100%; height: 100%; }
.circle-link__img--hover { display: none; }
.circle-link:hover .circle-link__img--idle, .circle-link:focus-visible .circle-link__img--idle { display: none; }
.circle-link:hover .circle-link__img--hover, .circle-link:focus-visible .circle-link__img--hover { display: block; }
.circle-link__label { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--font-heading); font-size: 20px; color: #fff; }
@media (max-width: 475px) {
  .circle-links { width: 100%; }
  .circle-link { --size: 160px !important; }
  .circle-link--top-left { left: 10%; top: 2%; }
  .circle-link--right { right: 3%; top: 100px; --size: 170px !important; }
  .circle-link--bottom-left { left: 4%; bottom: 20%; --size: 180px !important; }
}

/* ---------- Контентные страницы: контейнер 1320, колонки 75/25 как в теме, секции через 84px ---------- */
.page-hero { position: relative; }
.page-hero__img { width: 100%; height: clamp(220px, 30vw, 560px); object-fit: cover; }
.content-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 300px); gap: 48px; max-width: var(--content-max); margin: 0 auto; padding: 40px calc(var(--edge) + var(--safe-r)) 84px calc(var(--edge) + var(--safe-l)); }
.content { display: flex; flex-direction: column; gap: 84px; min-width: 0; }
.content__title { font-family: var(--font-heading); font-size: clamp(36px, 4vw, 48px); line-height: 1.05; color: var(--heading); }

.section-nav { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.section-nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 16px; font-family: var(--font-heading); font-size: 18px; color: var(--text-3); border-radius: 14px; transition: background .25s, color .25s; }
.section-nav__link span { font-size: 18px; opacity: .5; transition: transform .3s var(--ease-out), opacity .3s; }
.section-nav__link:hover { background: var(--tint); color: var(--text); }
.section-nav__link:hover span { transform: translateX(3px); opacity: 1; }
.section-nav__link.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.section-nav__link.is-active span { opacity: 1; }
:root[data-theme="dark"] .section-nav__link.is-active { background: rgba(255,255,255,.08); }
@media (max-width: 991px) {
  .content-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .content { gap: 56px; }
  .section-nav { order: -1; position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; gap: 4px; border-radius: var(--pill); -webkit-overflow-scrolling: touch; }
  .section-nav::-webkit-scrollbar { display: none; }
  .section-nav__link { flex: none; min-height: 40px; padding: 0 16px; font-size: 16px; border-radius: var(--pill); }
  .section-nav__link span { display: none; }
}

.rich { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.rich p { margin: 0 0 1em; }
.rich p:last-child { margin-bottom: 0; }
.rich ul, .rich ol { padding-left: 1.4em; margin: 0 0 1em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.rich strong { color: var(--text); font-weight: 600; }
.rich h2, .rich h3 { font-family: var(--font-heading); color: var(--heading); margin: 1.2em 0 .5em; font-weight: 400; line-height: 1.15; }

/* Вступление: карточка 32px внутри, скругление 24 (как «О важном» в оригинале) */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; }
.intro--image-left .intro__image { order: -1; }
.intro--no-image { grid-template-columns: minmax(0, 1fr); }
.intro--no-image .intro__text { max-width: 70%; padding: 32px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.intro--band { position: relative; padding: 48px 0; }
.intro--band::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--bg-alt); z-index: -1; }
.content > .intro--band:first-child { margin-top: -40px; }
.intro__heading { font-family: var(--font-heading); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; color: var(--heading); margin-bottom: 16px; }
.intro__text .rich p:first-child { font-size: 20px; line-height: 1.4; color: var(--text); }
.intro__image img { filter: drop-shadow(0 20px 40px rgba(0,0,0,.12)); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .intro--image-left .intro__image { order: 0; } .intro--no-image .intro__text { max-width: none; } }

/* Лента истории */
.timeline { position: relative; display: flex; flex-direction: column; gap: 36px; }
.timeline::before { content: ""; position: absolute; left: 179px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--brand-3), var(--tint)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 56px; }
.timeline__item::before { content: ""; position: absolute; left: 173px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--tint-strong); }
.timeline__item--continued { margin-top: -6px; }
.timeline__item--continued::before { display: none; }
.timeline__item--continued .timeline__year { visibility: hidden; }
.timeline__year { font-family: var(--font-heading); font-size: clamp(40px, 4.6vw, 80px); line-height: 1; color: var(--brand-3); text-align: right; white-space: nowrap; letter-spacing: -.02em; }
.timeline__year--long { font-size: clamp(26px, 2.4vw, 36px); white-space: normal; padding-top: .4em; }
.timeline__body { padding: 8px 28px 28px; border-radius: var(--radius); transition: background .3s; }
.timeline__body:hover { background: var(--bg-alt); }
.timeline__title { font-family: var(--font-heading); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; color: var(--heading); margin: 0 0 12px; }
.timeline__month { display: inline-block; margin-bottom: 12px; padding: 4px 12px; font-family: var(--font-heading); font-size: 16px; letter-spacing: .03em; color: var(--heading); background: var(--tint); border-radius: var(--pill); }
.timeline__body .rich { max-width: 720px; }
.timeline__body .btn { margin-top: 12px; }
@media (max-width: 767px) {
  .timeline { gap: 28px; }
  .timeline::before { left: 7px; }
  .timeline__item { grid-template-columns: 1fr; padding-left: 32px; }
  .timeline__item::before { left: 1px; }
  .timeline__year { text-align: left; font-size: 44px; margin-bottom: 8px; }
  .timeline__item--continued { margin-top: -18px; }
  .timeline__item--continued .timeline__year { display: none; }
  .timeline__body { padding: 0 0 8px; }
  .timeline__body:hover { background: transparent; }
}

/* Заголовки, текст, теги (теги: 24px слева / 32px справа как в оригинале) */
.block-heading { font-family: var(--font-heading); color: var(--text); line-height: 1.08; }
.block-heading--h1 { font-size: 48px; padding: 10px 50px 0; }
.block-heading--h2 { font-size: clamp(28px, 3vw, 36px); }
.block-heading--h3 { font-size: 26px; }
.block-text { max-width: 820px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: -68px; padding: 0 32px 0 24px; }
.tags__item { padding: 9px 18px; font-family: var(--font-heading); font-size: 18px; color: var(--heading); background: var(--tint); border-radius: var(--pill); transition: background .25s, transform .25s var(--ease-spring); }
.tags__item:hover { background: var(--tint-strong); transform: translateY(-1px); }
@media (max-width: 767px) { .block-heading--h1 { font-size: 34px; padding: 0; } .tags { margin-top: -32px; padding: 0; } }

/* Картинка + текст: колонки 30/70 как в оригинале, скругления 25 */
.image-text { display: grid; gap: 32px; align-items: center; }
.image-text--image-left, .image-text--image-right { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.image-text--image-right { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
.image-text--image-right .image-text__image { order: 2; }
.image-text--image-bottom .image-text__image { order: 2; }
.image-text--no-image { grid-template-columns: 1fr; }
.image-text__heading { font-family: var(--font-heading); font-size: 32px; line-height: 1.1; color: var(--text); margin-bottom: 16px; }
.image-text__text { padding: 0 32px 0 0; }
.image-text__image { border-radius: 25px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .6s var(--ease-out), box-shadow .6s; }
.image-text__image:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.image-text__image img { width: 100%; transition: transform 1.2s var(--ease-out); }
.image-text__image:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .image-text--image-left, .image-text--image-right { grid-template-columns: 1fr; }
  .image-text--image-right .image-text__image { order: 0; }
  .image-text__text { padding: 0; }
}

/* Карточки: 25px скругление, 50px по бокам; «Предложения» — стопка с наложением 90px */
.card { position: relative; padding: 32px; border-radius: 25px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.14), transparent 60%); opacity: 0; transition: opacity .5s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card--light { background: var(--bg-alt); }
.card--dark, .card--green { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 60px 50px 70px; color: #f5f5f7; border-color: rgba(255,255,255,.08); }
.card--dark { background: linear-gradient(160deg, #303032 0%, #272727 100%); }
.card--green { background: linear-gradient(160deg, #4f5a38 0%, #465031 100%); }
.card__heading { font-family: var(--font-heading); font-size: 32px; line-height: 1.1; margin-bottom: 16px; color: var(--text); }
.card--dark .card__heading, .card--green .card__heading { font-size: 48px; color: #fff; }
.card--dark .rich, .card--green .rich { color: rgba(255,255,255,.85); font-size: 20px; }
.card + .card { margin-top: calc(-84px - 90px + 60px); padding-top: 120px; }
.card + .card:hover { transform: none; }
.block-heading--h1 + .card { margin-top: calc(-84px + 40px); }
.block-button { margin-top: -20px; }
.block-html { overflow-x: auto; }
@media (max-width: 767px) {
  .card--dark, .card--green { grid-template-columns: 1fr; padding: 36px 24px; }
  .card--dark .card__heading, .card--green .card__heading { font-size: 32px; }
  .card + .card { margin-top: -30px; padding-top: 60px; }
}

/* ---------- Подвал: 1610px, 27px сверху, бренд на --edge, 15px снизу ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); font-family: var(--font-heading); }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: var(--footer-max); margin: 0 auto; padding: 27px 0 20px; }
.site-footer__brand { display: inline-block; margin-left: calc(var(--edge) + var(--safe-l)); padding-top: 2px; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: #a0a0a1; transition: color .25s; }
.site-footer__brand:hover { color: var(--heading); }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-right: var(--edge); }
.contact { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.contact:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact picture, .contact img { flex: none; width: 48px; height: 48px; border-radius: 50%; }
.contact p { line-height: 1.3; min-width: 0; }
.contact__label { display: block; margin-bottom: 2px; font-size: 18px; color: rgba(0,0,0,.45); }
:root[data-theme="dark"] .contact__label { color: rgba(255,255,255,.5); }
.contact__value { display: block; font-size: 22px; color: var(--text); overflow-wrap: anywhere; }
a.contact__value:hover { color: var(--heading); }
.contact--phones p + p { margin-top: 8px; }
.site-footer__bottom { max-width: var(--footer-max); margin: 0 auto; padding: 27px var(--edge) max(15px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.site-footer__privacy { font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: #7A7A7A; }
.site-footer__copy { margin-top: 10px; font-size: 12px; color: #7A7A7A; }
@media (max-width: 1600px) {
  .contact__label { font-size: 16px; }
  .contact__value { font-size: 18px; }
  .site-footer__copy { font-size: 10px; }
}
@media (max-width: 1200px) { .site-footer__inner { grid-template-columns: 1fr 2fr; } }
@media (max-width: 767px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 20px; padding: 24px 0 16px; }
  .contacts { grid-template-columns: 1fr; gap: 12px; padding: 0 var(--edge); }
  .contact__label { font-size: 15px; }
  .contact__value { font-size: 17px; }
  .site-footer__bottom { padding-top: 20px; }
}

/* ---------- Движение: уважение к настройкам пользователя ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg, .hero__slide.is-active .hero__bg { transform: none; }
}
