/* ================================================================
   Зелёное Яблоко — демо-сайт
   Айдентика по логотипу магазина: яркий лайм #AAF149 + белый,
   тёмно-зелёный для текста. Шрифт логотипа — Montserrat,
   заголовки — Playfair Display (как в сториз магазина).
   ================================================================ */

:root {
  /* Фирменные цвета */
  --lime: #AAF149;        /* цвет логотипа */
  --lime-d: #8FD82F;      /* hover, обводки */
  --lime-l: #D9F9A4;      /* мягкая заливка */
  --lime-xl: #F1FCDA;     /* подложка секций */
  --white: #FFFFFF;

  /* Текст (тёмно-зелёный из Taplink магазина) */
  --ink: #143211;
  --ink-2: #3A4D36;
  --ink-3: #5D755D;
  --green: #3B7410;       /* зелёный, безопасный для текста на белом (контраст 5.7) */

  --bg: #FFFFFF;
  --bg-2: #F6FBEA;
  --line: rgba(20, 50, 17, .12);
  --line-strong: rgba(20, 50, 17, .24);

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;

  --shadow: 0 1px 2px rgba(20, 50, 17, .06), 0 14px 34px -14px rgba(20, 50, 17, .22);
  --shadow-lg: 0 2px 4px rgba(20, 50, 17, .06), 0 30px 60px -24px rgba(20, 50, 17, .35);
  --glow: 0 14px 28px -12px rgba(110, 190, 20, .85);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ─────────── База ─────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: .97rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--lime); color: var(--ink); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
em { font-style: italic; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.topbar :focus-visible, .consult :focus-visible, .footer :focus-visible, .marquee :focus-visible, .lb :focus-visible { outline-color: var(--lime); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { left: 8px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }

/* Колонки сеток не растягиваются шире экрана из-за длинного содержимого (кнопки, слова) */
.hero__grid, .tip__grid, .about__grid, .consult__grid, .contacts__grid, .footer__grid, .form { grid-template-columns: minmax(0, 1fr); }

/* Иконки: контурные по умолчанию, .i--fill — заливные; .mark — фирменный знак-яблоко */
.i { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--fill { fill: currentColor; stroke: none; }
.mark { fill: currentColor; stroke: none; flex: none; }

/* ─────────── Заголовки разделов ─────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--lime-d); }
.eyebrow--light { color: var(--lime); }
.eyebrow--light::before { background: var(--lime); }

.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.head h2, .about h2, .tip h2, .consult h2 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); margin-top: 16px; }
.head p { margin-top: 18px; color: var(--ink-2); font-size: 1.04rem; max-width: 60ch; }

/* Акцентное слово в заголовке — «маркер» фирменного лайма */
h1 em, h2 em {
  font-weight: 600; color: var(--ink); padding: 0 .1em;
  background: linear-gradient(180deg, transparent 56%, var(--lime) 56%, var(--lime) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.consult h2 em { background: none; color: var(--lime); padding: 0; }

/* ─────────── Кнопки ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .9rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 16px; font-size: .82rem; gap: 8px; }
.btn--lg { padding: 17px 28px; font-size: .96rem; }
.btn--block { width: 100%; }
/* Главная кнопка (WhatsApp) — фирменный лайм с тёмным текстом */
.btn--wa { background: var(--lime); color: var(--ink); box-shadow: var(--glow); }
.btn--wa:hover { background: var(--lime-d); box-shadow: 0 18px 30px -12px rgba(110, 190, 20, .95); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #0A1F08; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ─────────── Верхняя полоса ─────────── */
.topbar { background: var(--lime); color: var(--ink); font-size: .76rem; font-weight: 600; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 40px; padding-block: 6px; }
.topbar__list { display: flex; align-items: center; gap: 8px 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar__item:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar__item--addr { display: none; }

.status { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; animation: pulse 2.4s infinite; }
.status[data-state="closed"] .status__dot { background: #C9741A; animation: none; }
.status--dark { margin-top: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--lime-xl); font-size: .78rem; color: var(--ink-2); }
.status--dark .status__dot { background: #2FA23A; animation-name: pulse-g; }
.status--dark[data-state="closed"] .status__dot { background: #C9741A; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20, 50, 17, .4); }
  70%  { box-shadow: 0 0 0 8px rgba(20, 50, 17, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 50, 17, 0); }
}
@keyframes pulse-g {
  0%   { box-shadow: 0 0 0 0 rgba(47, 162, 58, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(47, 162, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 162, 58, 0); }
}

/* ─────────── Шапка и логотип ─────────── */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(20, 50, 17, .6); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

/* Логотип: лаймовая плашка со знаком (как на аватаре магазина) + название и слоган */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--lime); color: #fff; transition: transform .45s var(--ease);
}
.brand__mark svg { width: 27px; height: 27px; }
.brand:hover .brand__mark { transform: rotate(-7deg) scale(1.06); }
.brand__text { display: grid; gap: 2px; line-height: 1.1; }
.brand__name { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.brand__slogan { display: none; font-size: .62rem; font-weight: 500; color: var(--ink-3); letter-spacing: .005em; }
.brand--light { color: #fff; }
.brand--light .brand__slogan { display: block; color: rgba(255, 255, 255, .7); }

.nav { display: none; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: .86rem; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--lime-xl); color: var(--ink); }
.nav a.is-active { background: var(--lime); color: var(--ink); }
.nav.is-open {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 12px 16px 20px; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20, 50, 17, .5);
}
.nav.is-open a { padding: 14px 12px; font-size: 1.02rem; border-radius: 14px; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { padding: 11px; }
.header__cta span { display: none; }
.burger {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: transparent;
}
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

/* ─────────── Главный экран ─────────── */
.hero {
  position: relative; overflow: clip;
  padding-block: clamp(36px, 6vw, 80px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(55% 45% at 92% 8%, rgba(170, 241, 73, .34), transparent 70%),
    radial-gradient(45% 45% at 0% 96%, rgba(170, 241, 73, .18), transparent 70%),
    #fff;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.leaf { position: absolute; --r: 0deg; animation: sway 9s ease-in-out infinite; }
.leaf--1 { width: 118px; top: -34px; right: 5%;  --r: 26deg;  opacity: .95; }
.leaf--2 { width: 92px;  bottom: 9%; left: -26px; --r: -38deg; opacity: .8; filter: blur(1.5px); animation-delay: -3s; }
.leaf--3 { width: 64px;  top: 34%;  right: -18px; --r: 64deg;  opacity: .55; filter: blur(2px); animation-delay: -6s; }
@keyframes sway {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50%      { transform: rotate(calc(var(--r) + 5deg)) translateY(10px); }
}

.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-strong);
  font-size: .78rem; font-weight: 700; color: var(--ink);
}
.pill__mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: #fff; }
.pill__mark svg { width: 15px; height: 15px; }

.hero h1 { margin-top: 22px; font-size: clamp(3.1rem, 9vw, 6.3rem); line-height: .98; letter-spacing: -.025em; }
.hero__slogan {
  margin-top: 22px; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.25; color: var(--green);
}
.hero__lead { margin-top: 14px; max-width: 34em; font-size: clamp(.98rem, 1.5vw, 1.08rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--ink-2); }
.hero__facts svg { color: var(--green); }
.hero__facts b { color: var(--ink); }

.hero__visual { position: relative; width: min(100%, 440px); margin-inline: auto; }
.hero__visual::before {                               /* лаймовая арка-подложка */
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: 0;
  background: var(--lime); border-radius: 999px 999px 30px 30px;
}
.arch {
  position: relative; z-index: 1; aspect-ratio: 655 / 900;
  border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.seal {
  position: absolute; z-index: 3; top: -3%; left: -4%; width: 108px; height: 108px;
  color: var(--ink); filter: drop-shadow(0 12px 18px rgba(20, 50, 17, .3));
}
.seal__ring { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg);
  font-size: .8rem; line-height: 1.25; animation: float 7s ease-in-out infinite;
}
.chip b { display: block; font-size: .85rem; }
.chip small { display: block; font-size: .7rem; color: var(--ink-3); font-weight: 500; }
.chip__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lime-xl); color: var(--green); }
.chip__ico--wa { background: var(--lime); color: var(--ink); }
.chip--a { left: -8%; bottom: 3%; }
.chip--b { right: -6%; top: 24%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ─────────── Бегущая строка ─────────── */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding-block: 16px; }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.3rem; white-space: nowrap; }
.marquee svg { color: var(--lime); flex: none; width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─────────── Каталог ─────────── */
.tabs {
  display: flex; gap: 8px; margin-bottom: 30px; padding-bottom: 4px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin-inline: -16px; padding-inline: 16px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 11px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-weight: 700; font-size: .84rem; color: var(--ink-2); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: var(--glow); }
.tab__n {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: rgba(20, 50, 17, .08); font-size: .7rem;
}
.tab[aria-selected="true"] .tab__n { background: rgba(20, 50, 17, .14); }

.grid { display: grid; gap: 20px; }
.grid--photo { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
.grid--tiles { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.subhead { margin: 44px 0 20px; font-size: 1.5rem; }
.catalog__panel { min-height: 320px; }

.card, .tile { animation: rise .55s var(--ease) calc(var(--i, 0) * 55ms) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--bg-2); cursor: zoom-in;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__step {
  position: absolute; top: 14px; left: 14px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; box-shadow: 0 6px 14px -6px rgba(20, 50, 17, .6);
}
.card__zoom {
  position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink);
  font-size: .72rem; font-weight: 700; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s var(--ease);
}
.card:hover .card__zoom, .card__media:focus-visible .card__zoom { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .card__zoom { opacity: 1; transform: translate(-50%, 0); } }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card__cat { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.card h3 { margin-top: 8px; font-size: 1.3rem; line-height: 1.18; }
.card__sub { margin-top: 4px; font-size: .72rem; color: var(--ink-3); font-weight: 500; }
.card__desc { margin-top: 12px; font-size: .86rem; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips li { padding: 4px 11px; border-radius: 999px; background: var(--lime-xl); border: 1px solid rgba(59, 116, 16, .18); color: var(--green); font-size: .7rem; font-weight: 700; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.price { font-weight: 800; font-size: 1rem; }
.price--ask { font-size: .76rem; font-weight: 700; color: var(--ink-3); white-space: nowrap; }

.tile {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px 18px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.tile__ico { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 19px; background: var(--tint); color: var(--tint-ink); }
.tile__txt { flex: 1; min-width: 0; }
.tile h3 { font-family: var(--font-body); font-size: .92rem; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.tile p { margin-top: 4px; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }
.tile__go {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease);
}
.tile:hover .tile__go { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: rotate(45deg); }

/* Три фирменных тона плиток: лайм, тёмный, мягкий лайм */
.tint-lime { --tint: var(--lime);   --tint-ink: var(--ink); }
.tint-dark { --tint: var(--ink);    --tint-ink: var(--lime); }
.tint-soft { --tint: #E4F9B8;       --tint-ink: var(--green); }

.brands {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 44px; padding: 20px 24px;
  border-radius: var(--r); background: var(--lime-xl);
}
.brands__label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.brands__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.brands__list li {
  padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
}
.brands__list .brands__more { background: transparent; border-style: dashed; font-family: var(--font-body); font-size: .76rem; font-weight: 600; color: var(--ink-3); }

/* ─────────── Совет недели ─────────── */
.tip {
  background:
    radial-gradient(50% 40% at 0% 0%, #fff, transparent 70%),
    linear-gradient(180deg, var(--lime-xl), #F8FEEC);
  overflow: clip;
}
.tip__grid { display: grid; gap: 56px; align-items: center; }
.tip__lead { margin-top: 18px; color: var(--ink-2); font-size: 1.02rem; max-width: 52ch; }

.tip__phone { position: relative; display: grid; place-items: center; padding-block: 12px; }
.tip__blob {
  position: absolute; z-index: 0; width: min(88%, 420px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E6FAB8, var(--lime)); opacity: .85;
}
.phone {
  position: relative; z-index: 1; display: block; width: min(76%, 290px); padding: 9px; border: 0;
  border-radius: 40px; background: #0E1F0C; box-shadow: 0 40px 70px -28px rgba(20, 50, 17, .7), inset 0 0 0 2px #2A3A28;
  transform: rotate(-3deg); transition: transform .5s var(--ease); cursor: zoom-in;
}
.phone:hover { transform: rotate(0deg) scale(1.02); }
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 32px; }
.phone__hint {
  position: absolute; top: 22px; right: 22px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .7rem; font-weight: 800;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
}

.tip__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: var(--glow);
}
.tip__label { margin-top: 30px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.steps { margin-top: 12px; }
.steps li {
  display: grid; grid-template-columns: 30px 56px 1fr; gap: 14px; align-items: center;
  padding: 16px 0; border-bottom: 1.5px dashed rgba(20, 50, 17, .26);
}
.steps li:first-child { border-top: 1.5px dashed rgba(20, 50, 17, .26); }
.steps li { position: relative; }
.steps li.is-focus {
  margin: 8px -14px; padding-inline: 14px; border-radius: 20px;
  background: var(--lime); border-color: transparent; box-shadow: var(--glow);
}
.steps li.is-focus + li { border-top: 0; }
.steps li.is-focus .steps__n { color: var(--ink); }
.steps li.is-focus p { color: var(--ink); }
.steps__tag {
  position: absolute; top: -11px; right: 16px; padding: 4px 11px; border-radius: 999px;
  background: var(--ink); color: var(--lime); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.steps__n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--green); line-height: 1; }
.steps__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.steps h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 800; letter-spacing: 0; }
.steps p { margin-top: 2px; font-size: .86rem; color: var(--ink-2); }

.fit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px;
  padding: 18px 22px; border-radius: var(--r); background: var(--ink); color: #fff;
}
.fit__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; }
.fit__label svg { color: var(--lime); }
.fit ul { display: flex; flex-wrap: wrap; gap: 8px; }
.fit li { padding: 5px 14px; border-radius: 999px; background: rgba(170, 241, 73, .18); color: var(--lime); font-size: .82rem; font-weight: 700; }
.tip__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.tip__cta .link { margin-top: 0; }

/* ─────────── Галерея ─────────── */
.gallery__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: -16px; padding: 4px 16px 18px;
}
.gallery__grid::-webkit-scrollbar { display: none; }
.gallery__grid > *, .gallery__side > * { scroll-snap-align: center; }
.gallery__side { display: contents; }

.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  border-radius: 26px; background: var(--bg-2); box-shadow: var(--shadow); cursor: zoom-in;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .9s var(--ease); }
.shot--wide img { aspect-ratio: 4 / 5; }
.shot:hover img { transform: scale(1.04); }
.shot__cap {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 800;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }

.ig {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; min-height: 200px;
  padding: 26px; border-radius: 26px; text-decoration: none; color: var(--ink);
  background: var(--lime); box-shadow: var(--glow); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ig:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -14px rgba(110, 190, 20, .95); }
.ig svg { margin-bottom: 10px; }
.ig__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.ig__meta { font-size: .8rem; font-weight: 600; opacity: .8; }
.ig__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 800; font-size: .82rem; }
.ig:hover .ig__go svg { transform: translateX(4px); }
.ig__go svg { margin: 0; transition: transform .3s var(--ease); }

/* ─────────── О магазине ─────────── */
.about { background: linear-gradient(180deg, #fff, var(--lime-xl)); }
.about__grid { display: grid; gap: 48px; align-items: start; }
.about__copy > p { margin-top: 20px; font-size: 1.02rem; color: var(--ink-2); max-width: 56ch; }
.quote {
  position: relative; margin-top: 32px; padding: 26px 28px 24px 30px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--lime);
  box-shadow: var(--shadow);
}
.quote__ico { width: 30px; height: 30px; color: var(--green); margin-bottom: 10px; }
.quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.4; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

.about__side { display: grid; gap: 14px; }
/* Фирменная плашка — воспроизводит логотип магазина */
.brandplate {
  display: grid; justify-items: center; gap: 12px; padding: clamp(28px, 4vw, 40px) 24px; text-align: center;
  border-radius: var(--r-lg); background: var(--lime); color: #fff; box-shadow: var(--glow);
}
.brandplate svg { width: clamp(78px, 11vw, 104px); height: auto; }
.brandplate__name { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.brandplate__slogan { font-size: .82rem; font-weight: 500; }

.values { display: grid; gap: 14px; }
.value {
  display: flex; gap: 16px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--lime); color: var(--ink); }
.value h3 { font-family: var(--font-body); font-size: .96rem; font-weight: 800; letter-spacing: 0; }
.value p { margin-top: 4px; font-size: .84rem; color: var(--ink-2); }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 6vw, 72px);
  border-radius: var(--r-lg); background: var(--lime); color: var(--ink); overflow: hidden; box-shadow: var(--glow);
}
.stats li { padding: 26px 22px; border: 1px solid rgba(20, 50, 17, .1); }
.stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: .78rem; font-weight: 600; line-height: 1.45; opacity: .85; }

/* ─────────── Консультация ─────────── */
.consult {
  padding-block: clamp(64px, 9vw, 112px); color: #E9F3DE;
  background:
    radial-gradient(45% 55% at 100% 0%, rgba(170, 241, 73, .26), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(170, 241, 73, .12), transparent 70%),
    var(--ink);
}
.consult h2 { color: #fff; }
.consult__grid { display: grid; gap: 40px; align-items: center; }
.consult__copy > p { margin-top: 18px; font-size: 1.02rem; opacity: .88; max-width: 46ch; }
.consult__points { display: grid; gap: 12px; margin-top: 26px; }
.consult__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; }
.consult__points svg { color: var(--lime); }

.form { display: grid; gap: 20px; padding: clamp(22px, 4vw, 34px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.form__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.form__group legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: .84rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; padding: 9px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-weight: 600; font-size: .82rem; transition: background-color .2s, color .2s, border-color .2s;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 800; }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.field { display: block; }
.field span { display: block; margin-bottom: 6px; font-weight: 800; font-size: .84rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff;
  font: inherit; font-size: .9rem; color: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(170, 241, 73, .55); }
.field ::placeholder { color: #8C9E88; }
.form__note { font-size: .74rem; color: var(--ink-3); text-align: center; }

/* ─────────── Контакты ─────────── */
.contacts__grid { display: grid; gap: 24px; }
.contacts__list { display: grid; gap: 14px; align-content: start; }
.cbox { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.cbox__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--lime); color: var(--ink); }
.cbox h3 { font-family: var(--font-body); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cbox p { margin-top: 4px; font-size: .98rem; font-weight: 600; line-height: 1.5; }
.cbox p a { text-decoration: none; }
.cbox p a:hover { color: var(--green); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .84rem; font-weight: 800; color: var(--green); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  text-decoration: none; font-weight: 700; font-size: .8rem; transition: background-color .2s, color .2s, border-color .2s;
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.02); }
.map__btn { position: absolute; left: 16px; bottom: 16px; }

/* ─────────── Подвал ─────────── */
.footer { background: var(--ink); color: #D5E4C6; padding-top: 56px; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer__brand p { margin-top: 18px; max-width: 32ch; font-size: .84rem; opacity: .8; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__contact a { text-decoration: none; font-weight: 600; font-size: .9rem; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--lime); }
.footer__contact { display: grid; gap: 8px; align-content: start; font-size: .88rem; }
.footer__soc { display: flex; gap: 10px; margin-top: 8px; }
.footer__soc a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); transition: background-color .2s, color .2s; }
.footer__soc a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .76rem; opacity: .75; }
.footer__bottom a { text-decoration: none; }

/* ─────────── Плавающая кнопка WhatsApp ─────────── */
.fab {
  position: fixed; z-index: 70; right: 16px; bottom: 16px; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--ink); text-decoration: none;
  box-shadow: 0 14px 30px -8px rgba(110, 190, 20, .95), 0 0 0 1.5px rgba(20, 50, 17, .08); transition: transform .3s var(--ease), background-color .2s;
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); z-index: -1; animation: ring 2.8s ease-out infinite; }
.fab:hover { transform: scale(1.08); background: var(--lime-d); }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.fab__label {
  position: absolute; right: calc(100% + 12px); top: 50%; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .76rem; font-weight: 700; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(6px, -50%); transition: opacity .2s, transform .25s var(--ease);
}
.fab:hover .fab__label { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .fab__label { display: none; } }

/* ─────────── Лайтбокс ─────────── */
.lb {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px 16px 84px;
  background: rgba(10, 24, 9, .93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .22s;
}
.lb.is-open { opacity: 1; }
.lb__fig { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lb__fig img {
  max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); user-select: none; -webkit-user-drag: none; touch-action: pan-y;
}
.lb__fig figcaption { color: #E9F3DE; font-weight: 600; font-size: .88rem; text-align: center; }
.lb__close, .lb__nav {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .2s, color .2s;
}
.lb__close:hover, .lb__nav:hover { background: var(--lime); color: var(--ink); }
.lb__close { top: 14px; right: 14px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 10px; }
.lb__nav--next { right: 10px; }
.lb__wa { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
.lb__wa:hover { transform: translateX(-50%) translateY(-2px); }

/* ─────────── Появление при прокрутке ─────────── */
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: rise .85s var(--ease) var(--d, 0ms) backwards; }

/* ─────────── Планшет и десктоп ─────────── */
@media (min-width: 640px) {
  .topbar__item--addr { display: inline-flex; }
  .header__cta { padding: 10px 16px; }
  .header__cta span { display: inline; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .gallery__grid {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr);
    overflow: visible; margin-inline: 0; padding: 0 0 8px; align-items: start;
  }
  .shot--drop { margin-top: 36px; }
  .ig { min-height: 0; aspect-ratio: 1; }
  .tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .nav { display: flex; gap: 2px; }
  .burger { display: none; }
  .brand__slogan { display: block; }
  .hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 40px; }
  .hero__visual { margin-inline: auto 0; }
  .tip__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; }
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .values { grid-template-columns: 1fr; }
  .consult__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .contacts__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; }
  .map { min-height: 100%; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .fab { right: 28px; bottom: 28px; width: 62px; height: 62px; }
}

@media (min-width: 1100px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .gallery__side { display: grid; gap: 22px; align-content: start; }
  .gallery__side .shot--drop { margin-top: 36px; }
}

@media (max-width: 639px) {
  .steps li.is-focus { margin-inline: -10px; padding-inline: 10px; }
  .hero__cta .btn { width: 100%; }
  .chip--b { display: none; }
  .chip--a { left: 2%; bottom: 2%; padding: 8px 14px 8px 8px; gap: 9px; }
  .chip--a .chip__ico { width: 34px; height: 34px; border-radius: 10px; }
  .chip--a b { font-size: .78rem; }
  .chip--a small { font-size: .66rem; }
  .leaf--1 { width: 76px; top: -26px; right: 3%; }
  .grid--photo {
    grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 4px 16px 18px;
  }
  .grid--photo::-webkit-scrollbar { display: none; }
  .grid--photo > * { scroll-snap-align: center; }
}

@media (max-width: 360px) {
  .btn--lg { padding: 15px 18px; font-size: .86rem; gap: 8px; }
  .form { padding: 20px 16px; }
  .header__actions { gap: 6px; }
  .brand__name { font-size: .95rem; }
}

@media (max-width: 420px) {
  .seal { left: -2%; width: 92px; height: 92px; }
  .steps li { grid-template-columns: 26px 48px 1fr; gap: 12px; }
  .steps__ico { width: 48px; height: 48px; }
}

/* ─────────── Меньше движения ─────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
