/* ===========================================================================
   ELKI.KZ — Лендинг для оптовых партнёров
   Built on the ELKI.KZ design system tokens (colors / type / spacing).
   Web-scale layer: editorial grid, paper surface, one green, square corners,
   hairline rules, real photography. Desktop-first (1440), content max 1200.
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: var(--lh-body);
  letter-spacing: var(--tracking-snug);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green-700); color: var(--paper); }

/* ---- Layout primitives --------------------------------------------------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 104px 0; }
.section--tight { padding: 80px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink);   color: var(--text-on-ink); }
.section--brand { background: var(--green-700); color: var(--text-on-brand); }

/* ---- Type ---------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .section--ink .eyebrow, .section--brand .eyebrow { color: inherit; opacity: .8; }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight); line-height: 1.04; margin: 0;
  text-wrap: balance; }
.h-hero    { font-size: 72px; line-height: 1.0; }
.h-section { font-size: 48px; margin: 18px 0 0; }
.h-sub {
  font-family: var(--font-sans); font-weight: var(--fw-regular);
  font-size: 21px; line-height: 1.5; color: var(--text-muted);
  letter-spacing: var(--tracking-snug); margin: 20px 0 0; max-width: 56ch;
  text-wrap: pretty;
}
.section--ink .h-sub, .section--brand .h-sub { color: rgba(255,255,255,.72); }
.lead-label {
  font-family: var(--font-sans); font-weight: var(--fw-regular);
  font-size: 19px; color: var(--text-muted); margin: 14px 0 0; max-width: 52ch;
}

/* ---- Buttons (DS tokens, native for interactivity) ---------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  border: 1.5px solid transparent; border-radius: var(--radius-md);
  cursor: pointer; white-space: nowrap;
  padding: 15px 28px; font-size: 17px; line-height: 1;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .lucide { width: 19px; height: 19px; }
.btn--lg { padding: 18px 34px; font-size: 18px; }
.btn--sm { padding: 11px 20px; font-size: 15px; }

.btn--primary { background: var(--green-700); color: var(--paper); }
.btn--primary:hover { background: var(--green-800); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-300); }
.btn--ghost:hover { background: var(--green-100); }
.btn--on-brand { background: var(--paper); color: var(--green-900); }
.btn--on-brand:hover { background: #fff; }
.on-dark .btn--secondary { color: var(--paper); border-color: rgba(255,255,255,.5); }
.on-dark .btn--secondary:hover { background: var(--paper); color: var(--ink); }

/* ===========================================================================
   HEADER
   =========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header__bar {
  display: flex; align-items: center; gap: 32px;
  height: 76px;
}
.header.is-stuck {
  background: rgba(238,236,234,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header__nav { display: flex; gap: 30px; margin-left: auto; }
.header__nav a {
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: 15px; letter-spacing: var(--tracking-snug); color: var(--text-body);
  padding: 6px 0; position: relative; transition: color var(--dur-fast) var(--ease-out);
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--green-700); transition: right var(--dur-base) var(--ease-out);
}
.header__nav a:hover { color: var(--green-800); }
.header__nav a:hover::after { right: 0; }
.header__cta { margin-left: 8px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 15px; color: var(--ink); white-space: nowrap;
}
.header__phone .lucide { width: 16px; height: 16px; color: var(--green-700); }

/* ===========================================================================
   HERO — full-bleed cinematic photo + animated profit infographic
   =========================================================================== */
.hero { position: relative; padding-top: 76px; overflow: hidden; background: #0a0f0e; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(8,12,11,.97) 0%, rgba(8,12,11,.88) 30%, rgba(8,12,11,.55) 58%, rgba(8,12,11,.28) 100%),
    linear-gradient(0deg, rgba(8,12,11,.7) 0%, rgba(8,12,11,0) 30%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero__grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
  min-height: calc(100vh - 76px);
}
.hero__col { padding: 72px 0; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: var(--green-400); }
.hero .eyebrow::before { opacity: .8; }
.hero__title { margin-top: 20px; color: #fff; }
.hero__sub { margin-top: 22px; font-size: 20px; max-width: 44ch; color: rgba(255,255,255,.8); line-height: 1.55; }

.hero__claim {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 32px;
  padding: 15px 24px 15px 22px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); align-self: flex-start;
}
.hero__claim-num {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 54px; line-height: .9; color: var(--green-400);
  letter-spacing: var(--tracking-tight);
}
.hero__claim-txt { font-size: 15px; line-height: 1.35; color: rgba(255,255,255,.85); font-weight: var(--fw-medium); }

.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; gap: 3px; }
.hero__stat b { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 28px; letter-spacing: var(--tracking-tight); color: #fff; line-height: 1; }
.hero__stat span { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: 0; }

/* ---- twinkling warm lights (ambient) ----------------------------------- */
.hero__lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__lights i {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px 2px rgba(248,180,0,.7); opacity: .25;
}

/* motion only when allowed */
@media (prefers-reduced-motion: no-preference) {
  .hero__lights i { animation: twinkle 3.2s var(--ease-in-out) infinite; }
}

@keyframes twinkle {
  0%, 100% { opacity: .12; transform: scale(.8); }
  50% { opacity: .85; transform: scale(1.15); }
}

/* ===========================================================================
   SHARED — section heading block
   =========================================================================== */
.shead { max-width: 760px; }
.shead--center { margin: 0 auto; text-align: center; }
.shead--center .eyebrow::before { display: none; }

/* ---- Feature cards (6) — почему ёлки ------------------------------------ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; margin-top: 56px; }
.feat-card { background: var(--white); padding: 38px 34px; display: flex; flex-direction: column; gap: 14px;
  transition: background var(--dur-base) var(--ease-out); }
.feat-card:hover { background: var(--green-100); }
.feat-card__ico { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--green-100);
  display: grid; place-items: center; color: var(--green-700); }
.feat-card__ico .lucide { width: 26px; height: 26px; }
.feat-card h3 { font-size: 22px; }
.feat-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-muted); }

/* ===========================================================================
   PROFIT — сколько заработает партнёр (ink section)
   =========================================================================== */
.profit-rows { margin-top: 56px; display: flex; flex-direction: column; gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); overflow: hidden; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--ink); padding: 32px 36px; transition: background var(--dur-base) var(--ease-out); }
.prow:hover { background: #131313; }
.prow--peak { background: var(--green-700); }
.prow--peak:hover { background: var(--green-700); }
.prow__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 28px; letter-spacing: var(--tracking-tight); }
.prow__tag { display: inline-block; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-200); margin-bottom: 8px; }
.prow--peak .prow__tag { color: rgba(255,255,255,.85); }
.prow__meta { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.62); flex-wrap: wrap; }
.prow--peak .prow__meta { color: rgba(255,255,255,.82); }
.prow__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.prow__for { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 6px; }
.prow--peak .prow__for { color: rgba(255,255,255,.8); }
.prow__right { text-align: right; }
.prow__num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 40px; letter-spacing: var(--tracking-tight);
  color: var(--green-600); line-height: 1; }
.prow--peak .prow__num { color: #fff; }
.prow__numl { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 7px; }
.prow--peak .prow__numl { color: rgba(255,255,255,.8); }

.profit-roi { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 22px 28px;
  background: rgba(0,169,128,.14); border: 1px solid rgba(0,169,128,.35); border-radius: var(--radius-md); }
.profit-roi .lucide { width: 30px; height: 30px; color: var(--green-500); flex: none; }
.profit-roi span { font-size: 19px; line-height: 1.4; }
.profit-roi b { color: var(--green-400); }
.profit-disc { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.42); max-width: 80ch; }

/* ===========================================================================
   PARTNER — что получает партнёр
   =========================================================================== */
.pcat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.pcat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px 30px; display: flex; flex-direction: column; }
.pcat__h { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.pcat__h .lucide { width: 24px; height: 24px; color: var(--green-700); flex: none; }
.pcat__h span { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 19px; letter-spacing: var(--tracking-tight); }
.pcat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pcat li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.4; color: var(--text-body); }
.pcat li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 10px;
  background: var(--green-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }
.pcat--accent { background: var(--green-700); color: var(--text-on-brand); justify-content: center; gap: 18px; border-color: transparent; }
.pcat--accent .elki-mark { font-size: 38px; color: var(--paper); }
.pcat--accent p { margin: 0; font-size: 21px; font-weight: var(--fw-medium); line-height: 1.4; letter-spacing: var(--tracking-snug); }

/* ===========================================================================
   AUDIENCE — кому подходит
   =========================================================================== */
.aud-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 52px; }
.aud { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.aud__ico { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--green-100); display: grid; place-items: center; color: var(--green-700); }
.aud__ico .lucide { width: 23px; height: 23px; }
.aud h3 { font-size: 17px; line-height: 1.2; }
.aud p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--text-muted); }
.aud-note { display: inline-flex; align-items: center; gap: 11px; margin-top: 30px; padding: 15px 22px;
  background: var(--green-100); border-radius: var(--radius-pill); color: var(--green-900); font-weight: var(--fw-medium); font-size: 16px; }
.aud-note .lucide { width: 20px; height: 20px; color: var(--green-700); }

/* ===========================================================================
   TRUST — производитель, которому доверяют (ink split)
   =========================================================================== */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust__media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; }
.trust__media img { width: 100%; height: 100%; object-fit: cover; }
.trust__statline { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px 40px; margin-top: 36px; }
.tstat b { display: block; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 46px; letter-spacing: var(--tracking-tight); line-height: 1; color: #fff; }
.tstat span { font-size: 15px; color: rgba(255,255,255,.6); margin-top: 8px; display: block; }
.trust__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tbadge { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 14px; }
.tbadge .lucide { width: 17px; height: 17px; color: var(--green-500); }

/* logo wall */
.logowall { display: grid; grid-template-columns: repeat(8,1fr); gap: 14px; margin-top: 56px; }
.logochip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  aspect-ratio: 16/10; display: grid; place-items: center; padding: 16px; min-width: 0; }
.logochip img { max-height: 42px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .68;
  transition: filter var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.logochip:hover img { filter: grayscale(0); opacity: 1; }
.logowall-cap { margin-top: 22px; font-size: 14px; color: var(--text-muted); text-align: center; }

/* ===========================================================================
   ASSORTMENT — линейки + витрина каталога
   =========================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-top: 52px; }
.tier { background: var(--white); padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.tier__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; letter-spacing: var(--tracking-tight); }
.tier__bar { height: 4px; border-radius: 2px; background: var(--green-200); width: 40%; }
.tier:nth-child(2) .tier__bar { width: 70%; background: var(--green-500); }
.tier:nth-child(3) .tier__bar { width: 100%; background: var(--green-700); }
.tier p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }

.catalog { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 40px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pcard__img { position: relative; aspect-ratio: 3/4; background: var(--paper-dim); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.pcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.pcard__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 19px; letter-spacing: var(--tracking-tight); }
.pcard__feat { font-size: 14px; color: var(--text-muted); line-height: 1.4; min-height: 38px; }
.pcard__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pcard__art { font-size: 13px; color: var(--gray-600); letter-spacing: .04em; }
.pcard__price { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; color: var(--green-700); letter-spacing: var(--tracking-tight); }
.pcard__price .from { font-size: 12px; color: var(--text-muted); font-weight: var(--fw-medium); margin-right: 5px; }
.catalog-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 36px;
  padding: 30px 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.catalog-cta__t { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; letter-spacing: var(--tracking-tight); }
.catalog-cta__d { font-size: 16px; color: var(--text-muted); margin-top: 4px; }

/* ===========================================================================
   TARIFFS — 3 пакета (skidka)
   =========================================================================== */
.tariffs { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; align-items: start; }
.tariff { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 36px 32px;
  display: flex; flex-direction: column; position: relative; }
.tariff--peak { border-color: var(--green-700); border-width: 1.5px; box-shadow: var(--shadow-md); }
.tariff__tag { position: absolute; top: -13px; left: 32px; background: var(--green-700); color: var(--paper);
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill); }
.tariff__disc { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 64px; line-height: .9; letter-spacing: var(--tracking-tight); color: var(--green-700); }
.tariff__discl { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.tariff__hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.tariff__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 24px; letter-spacing: var(--tracking-tight); }
.tariff__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.tariff__k { font-size: 15px; color: var(--text-muted); }
.tariff__v { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; letter-spacing: var(--tracking-tight); }
.tariff__qty { font-size: 14px; color: var(--green-700); font-weight: var(--fw-semibold); margin-top: 8px; }
.tariff ul { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tariff li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text-body); line-height: 1.4; }
.tariff li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 9px; background: var(--green-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }
.tariff .btn { margin-top: auto; }
.tariff-strip { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; padding: 26px 32px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md); }
.tariff-strip span { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: var(--fw-medium); color: var(--text-body); }
.tariff-strip .lucide { width: 20px; height: 20px; color: var(--green-700); }

/* ===========================================================================
   CONTACT / FINAL CTA (brand green)
   =========================================================================== */
.cta { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.cta__title { font-size: 50px; line-height: 1.04; }
.cta__sub { margin-top: 20px; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.82); max-width: 44ch; }
.cta__adv { display: flex; flex-direction: column; gap: 13px; margin-top: 30px; }
.cta__adv span { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; }
.cta__adv .lucide { width: 21px; height: 21px; color: var(--paper); opacity: .9; }

/* lead form (in card & modal) */
.lead { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.lead h3 { font-size: 26px; color: var(--ink); }
.lead p { margin: 8px 0 0; font-size: 15px; color: var(--text-muted); }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field label { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 13px; letter-spacing: var(--tracking-tight); color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 16px; letter-spacing: var(--tracking-snug); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; outline: none; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-600); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(0,169,128,.14); }
.field textarea { resize: vertical; min-height: 74px; }
.lead .btn { width: 100%; margin-top: 22px; }
.lead__fine { margin-top: 14px; font-size: 12.5px; color: var(--gray-600); text-align: center; }
.lead__ok { display: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 0; }
.lead__ok .lucide { width: 56px; height: 56px; color: var(--green-700); }
.lead__ok h3 { font-size: 26px; }
.lead.is-sent .lead__form { display: none; }
.lead.is-sent .lead__ok { display: flex; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.footer { background: var(--ink); color: var(--text-on-ink); padding: 72px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 56px; }
.footer__intro p { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.55; margin: 18px 0 0; max-width: 38ch; }
.contacts { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px 32px; }
.contact { display: flex; gap: 14px; }
.contact .lucide { width: 22px; height: 22px; color: var(--green-500); flex: none; margin-top: 2px; }
.contact__k { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.contact__v { font-size: 16px; font-weight: var(--fw-medium); margin-top: 3px; line-height: 1.4; }
.contact__v small { display: block; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.5); margin-top: 2px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.45); }

/* ===========================================================================
   MODAL
   =========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__dialog { position: relative; z-index: 2; width: min(480px, calc(100% - 40px));
  margin: 7vh auto 0; transform: translateY(16px) scale(.98); opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; color: var(--ink);
  transition: background var(--dur-fast) var(--ease-out); }
.modal__close:hover { background: var(--paper-dim); }
.modal__close .lucide { width: 20px; height: 20px; }

/* ===========================================================================
   FLOATING / STICKY MOBILE CTA
   =========================================================================== */
.fab { position: fixed; right: 26px; bottom: 26px; z-index: 55; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: var(--radius-pill); background: var(--green-700); color: var(--paper);
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 16px; border: none; cursor: pointer;
  box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform var(--dur-slow) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.fab.is-show { transform: none; }
.fab:hover { background: var(--green-800); }
.fab .lucide { width: 20px; height: 20px; }

/* ---- Reveal on scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .herofx { justify-self: stretch; max-width: none; }
  .hero__col { padding: 56px 0 8px; }
  .feat-grid, .pcat-grid, .tiers { grid-template-columns: repeat(2,1fr); }
  .aud-grid { grid-template-columns: repeat(2,1fr); }
  .catalog { grid-template-columns: repeat(2,1fr); }
  .tariffs { grid-template-columns: 1fr; }
  .trust, .cta { grid-template-columns: 1fr; gap: 40px; }
  .logowall { grid-template-columns: repeat(4,1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: repeat(2,1fr); }
  .h-hero { font-size: 56px; }
  .header__nav { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 22px; }
  .section { padding: 68px 0; }
  .feat-grid, .pcat-grid, .aud-grid, .catalog, .tiers { grid-template-columns: 1fr; }
  .h-hero { font-size: 42px; }
  .h-section { font-size: 34px; }
  .cta__title { font-size: 36px; }
  .prow { grid-template-columns: 1fr; }
  .prow__right { text-align: left; }
  .logowall { grid-template-columns: repeat(3,1fr); }
  .contacts { grid-template-columns: 1fr; }
  .header__phone { display: none; }
  /* CTA каталога — в столбик: текст сверху на всю ширину, кнопка ниже */
  .catalog-cta { flex-direction: column; align-items: stretch; }
  .catalog-cta .btn { width: 100%; }
  /* калькулятор: табы пакетов не вылезают на узком экране */
  .hero .calc__tab { padding: 10px 2px; font-size: 12px; letter-spacing: 0; }
  /* страховка: ячейки гридов могут сжиматься ниже контента (нет распирания) */
  .feat-card, .pcat, .aud, .tier, .pcard, .tariff, .prow, .calc__chip, .logochip, .contact { min-width: 0; }
  /* HERO: калькулятор (большие числа) распирал общую грид-дорожку и резал текст hero.
     Даём колонке и калькулятору сжиматься + ужимаем крупные числа и eyebrow под узкий экран. */
  .hero__col { min-width: 0; }
  .hero .calc { min-width: 0; padding: 26px 22px 24px; }
  .hero .calc__num { font-size: clamp(27px, 8.2vw, 36px); }
  .hero .calc__io-v { font-size: 21px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .04em; }
  .hero__claim { align-self: stretch; }
  .hero__claim-txt { min-width: 0; }
  /* длинные подписи кнопок не обрезаются на совсем узких экранах */
  .brandlab__cta .btn { white-space: normal; }
}

/* ===========================================================================
   HEADER — adaptive colours over dark hero vs. stuck paper bar
   =========================================================================== */
.header__logo { position: relative; display: inline-flex; }
.header__logo-dark { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out); }
.header.is-stuck .header__logo-light { opacity: 0; }
.header.is-stuck .header__logo-dark { opacity: 1; }
.header:not(.is-stuck) .header__nav a { color: rgba(255,255,255,.86); }
.header:not(.is-stuck) .header__nav a:hover { color: #fff; }
.header:not(.is-stuck) .header__nav a::after { background: var(--green-400); }
.header:not(.is-stuck) .header__phone { color: #fff; }
.header:not(.is-stuck) .header__phone .lucide { color: var(--green-400); }

/* ===========================================================================
   HERO — profit calculator (replaces static infographic, same glass style)
   =========================================================================== */
.calc {
  justify-self: end; align-self: center; width: 100%; max-width: 440px;
  display: flex; flex-direction: column; min-height: 540px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 30px 30px 28px;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
}
.calc__eyebrow { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-400); }
.calc__eyebrow .lucide { width: 15px; height: 15px; }
.calc__lead { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 10px; line-height: 1.45; }

.calc__tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 20px; padding: 5px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-pill); }
.calc__tab { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 13px;
  letter-spacing: var(--tracking-tight); color: rgba(255,255,255,.7); background: transparent; border: none;
  border-radius: var(--radius-pill); padding: 10px 4px; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.calc__tab:hover { color: #fff; }
.calc__tab.is-active { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(0,169,128,.45); }

.calc__io { margin-top: 22px; }
.calc__io-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.calc__io-k { font-size: 13px; color: rgba(255,255,255,.6); }
.calc__io-v { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 23px;
  letter-spacing: var(--tracking-tight); color: #fff; font-variant-numeric: tabular-nums; }
.calc__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  margin: 16px 0 9px; background: rgba(255,255,255,.16); outline: none; cursor: pointer; }
.calc__slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; border: 4px solid var(--green-500); box-shadow: 0 4px 12px rgba(0,0,0,.45);
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); margin-top: -8px; }
.calc__slider::-webkit-slider-thumb:hover { transform: scale(1.14); }
.calc__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 4px solid var(--green-500); box-shadow: 0 4px 12px rgba(0,0,0,.45); cursor: pointer; }
.calc__slider::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; }
.calc__io-range { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.45); }

.calc__out { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.calc__out-l { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: var(--fw-semibold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-400); }
.calc__out-l .lucide { width: 15px; height: 15px; }
.calc__num { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 46px; line-height: 1;
  letter-spacing: var(--tracking-tight); color: #fff; margin-top: 12px; font-variant-numeric: tabular-nums; }
.calc__sub { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 9px; }

.calc__chips { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 20px; }
.calc__chip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md);
  padding: 13px 8px; text-align: center; }
.calc__chip b { display: block; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 19px;
  color: var(--green-400); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.calc__chip span { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 4px; display: block; line-height: 1.25; }
.calc__cta { width: 100%; margin-top: 20px; }

/* ===========================================================================
   PARTNER cards — hover lift (parity with other blocks)
   =========================================================================== */
.pcat { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
  border-color var(--dur-base) var(--ease-out); }
.pcat:not(.pcat--accent):hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.pcat__h .lucide { transition: transform var(--dur-base) var(--ease-out); }
.pcat:not(.pcat--accent):hover .pcat__h .lucide { transform: scale(1.14); }
.pcat:not(.pcat--accent):hover .pcat__h { border-bottom-color: var(--green-200); }
.pcat--accent { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.pcat--accent:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,169,128,.3); }

/* ===========================================================================
   CATALOG — heights, zoom affordance, click-to-open, plain badges
   =========================================================================== */
.pcard { cursor: pointer; }
.pcard:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.pcard__img { overflow: hidden; }
.pcard__img img { transition: transform var(--dur-slow) var(--ease-out); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--ink);
  opacity: 0; transform: translateY(6px); box-shadow: var(--shadow-sm);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.pcard__zoom .lucide { width: 18px; height: 18px; }
.pcard:hover .pcard__zoom, .pcard:focus-visible .pcard__zoom { opacity: 1; transform: none; }
.pcard__heights { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pcard__heights span { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 11.5px;
  letter-spacing: .01em; color: var(--green-800); background: var(--green-100); border-radius: var(--radius-pill);
  padding: 4px 9px; }
.pbadge { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 12px; letter-spacing: .01em; padding: 5px 11px; border-radius: var(--radius-pill);
  background: #fff; color: var(--ink); border: 1px solid var(--line); }
.pbadge--solid { background: var(--green-700); color: #fff; border-color: transparent; }
.catalog-hint { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; color: var(--text-muted); }
.catalog-hint .lucide { width: 18px; height: 18px; color: var(--green-700); flex: none; }

/* ===========================================================================
   TARIFFS — hover lift + line-art fir sprig ornament
   =========================================================================== */
.tariff { transition: transform var(--dur-base) var(--ease-out),
  box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.tariff:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-700); }
.tariff__sprig { position: absolute; top: 20px; right: 18px; width: 44px; height: auto; color: var(--green-700);
  opacity: .1; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.tariff:hover .tariff__sprig { opacity: .3; transform: translateY(-2px) rotate(-4deg); }

/* ===========================================================================
   PRODUCT MODAL — фото + матрица оптовых цен (высоты × пакеты)
   =========================================================================== */
.pmodal { position: fixed; inset: 0; z-index: 120; display: none; }
.pmodal.is-open { display: block; }
.pmodal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.pmodal.is-open .pmodal__scrim { opacity: 1; }
.pmodal__dialog { position: relative; z-index: 2; width: min(1000px, calc(100% - 40px)); max-height: 90vh;
  overflow: auto; margin: 5vh auto 0; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); transform: translateY(18px) scale(.985); opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.pmodal.is-open .pmodal__dialog { transform: none; opacity: 1; }
.pmodal__close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer;
  color: var(--ink); transition: background var(--dur-fast) var(--ease-out); }
.pmodal__close:hover { background: var(--paper-dim); }
.pmodal__close .lucide { width: 20px; height: 20px; }

.pm { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.pm__gallery { padding: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 0; align-self: start; }
.pm__main { aspect-ratio: 3/4; border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pm__main img { width: 100%; height: 100%; object-fit: contain; }
.pm__thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.pm__thumb { aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent;
  background: var(--paper-dim); cursor: pointer; padding: 0; transition: border-color var(--dur-fast) var(--ease-out); }
.pm__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm__thumb.is-active { border-color: var(--green-700); }

.pm__info { padding: 44px 40px 36px; display: flex; flex-direction: column; }
.pm__badges { display: flex; gap: 8px; }
.pm__name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 31px;
  letter-spacing: var(--tracking-tight); margin: 16px 0 0; color: var(--ink); }
.pm__art { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.pm__desc { font-size: 16px; line-height: 1.55; color: var(--text-body); margin: 16px 0 0; }
.pm__specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pm__specs span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: var(--fw-medium);
  color: var(--text-body); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 14px; }
.pm__specs .lucide { width: 16px; height: 16px; color: var(--green-700); }
.pm__ptitle { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.pm__ptitle span { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 17px; letter-spacing: var(--tracking-tight); }
.pm__ptitle small { font-size: 13px; color: var(--text-muted); font-weight: 400; }

.ptable { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.ptable__head, .ptable__row { display: grid; grid-template-columns: 0.85fr 1fr 1fr 1fr; }
.ptable__head { background: var(--ink); color: #fff; }
.ptable__head > span { padding: 12px 14px; font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 13.5px; display: flex; flex-direction: column; gap: 1px; }
.ptable__head > span small { font-size: 11px; font-weight: 400; color: var(--green-400); }
.ptable__head > span.is-peak { background: var(--green-700); }
.ptable__head > span.is-peak small { color: rgba(255,255,255,.85); }
.ptable__row { border-top: 1px solid var(--line); }
.ptable__row:nth-child(even) { background: var(--paper); }
.ptable__row > span { padding: 12px 14px; font-size: 15px; font-variant-numeric: tabular-nums; display: flex; align-items: center; color: var(--text-body); }
.ptable__h { font-family: var(--font-display); font-weight: var(--fw-semibold); color: var(--ink) !important; }
.ptable__row > span.is-peak { background: rgba(0,169,128,.08); font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--green-800) !important; }

.pm__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pm__actions .btn { flex: 1; min-width: 200px; }

@media (max-width: 1080px) {
  .calc { justify-self: stretch; max-width: none; min-height: 0; }
}
@media (max-width: 820px) {
  .pm { grid-template-columns: 1fr; }
  .pm__gallery { position: static; }
  .pm__main { aspect-ratio: 3/4; }
  .pm__info { padding: 28px 24px 30px; }
  .pm__name { font-size: 26px; }
  .ptable__head > span, .ptable__row > span { padding: 10px 9px; font-size: 13px; }
  .ptable__head > span small { font-size: 10px; }
  /* действия в столбик на узких экранах — длинная подпись не вылезает из кнопки */
  .pm__actions { flex-direction: column; }
  .pm__actions .btn { width: 100%; min-width: 0; flex: none; white-space: normal; }
}

/* All models are one Люкс line — tier bars are a uniform accent, not a ranking */
.tier__bar, .tiers .tier:nth-child(2) .tier__bar, .tiers .tier:nth-child(3) .tier__bar {
  width: 52px; background: var(--green-700);
}

/* ===========================================================================
   PRIVATE LABEL — «Производим ёлки под вашим брендом» island (ink + green glow)
   =========================================================================== */
.brandlab { position: relative; overflow: hidden; background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); padding: 60px 64px; display: grid;
  grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.brandlab__glow { position: absolute; top: -40%; right: -12%; width: 64%; height: 180%;
  background: radial-gradient(circle, rgba(0,169,128,.30), transparent 64%); pointer-events: none; }
.brandlab__main { position: relative; z-index: 2; }
.brandlab__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: var(--fw-semibold); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-400); padding: 8px 15px; border: 1px solid rgba(0,169,128,.45);
  border-radius: var(--radius-pill); background: rgba(0,169,128,.1); }
.brandlab__eyebrow .lucide { width: 16px; height: 16px; }
.brandlab__title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 46px; line-height: 1.04;
  letter-spacing: var(--tracking-tight); margin: 22px 0 0; color: #fff; text-wrap: balance; }
.brandlab__sub { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.74); margin: 18px 0 0; max-width: 54ch; }
.brandlab__points { display: flex; flex-direction: column; gap: 16px; margin: 30px 0 0; }
.bpoint { display: flex; gap: 14px; align-items: flex-start; }
.bpoint .lucide { width: 24px; height: 24px; color: var(--green-400); flex: none; margin-top: 2px; }
.bpoint b { display: block; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 17px;
  letter-spacing: var(--tracking-tight); color: #fff; }
.bpoint span { font-size: 14.5px; color: rgba(255,255,255,.6); margin-top: 2px; display: block; line-height: 1.4; }
.brandlab__cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.brandlab__note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); }
.brandlab__note .lucide { width: 16px; height: 16px; color: var(--green-400); }

.brandlab__visual { position: relative; z-index: 2; display: grid; place-items: center; min-height: 230px; }

/* ── premium tree + навесной фирменный ярлык ─────────────────────────────── */
.bvis { position: relative; width: 100%; max-width: 300px; aspect-ratio: 6/5; display: grid; place-items: end center; }
.bvis__tree { width: 62%; height: auto; transform: translateX(-4%);
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.5)); }
.bvis__star { filter: drop-shadow(0 0 9px rgba(248,180,0,.6)); }

.bvis__tag { position: absolute; top: 0; right: 2px; transform: rotate(5deg);
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; color: var(--ink); border-radius: 13px;
  padding: 22px 18px 15px; min-width: 150px;
  box-shadow: 0 24px 50px rgba(0,0,0,.55); }
/* шнурок к ветке */
.bvis__tag::before { content: ""; position: absolute; left: 26px; top: -30px;
  width: 2px; height: 36px; background: rgba(255,255,255,.55);
  transform: rotate(18deg); transform-origin: bottom center; border-radius: 2px; }
/* пробитое отверстие */
.bvis__tag-hole { position: absolute; left: 21px; top: 9px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); }
.bvis__tag-k { font-size: 9.5px; text-transform: uppercase; letter-spacing: .11em; color: var(--text-muted); }
.bvis__tag-b { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 18px;
  letter-spacing: var(--tracking-tight); color: var(--ink); line-height: 1; }

@media (max-width: 1080px) {
  .brandlab { grid-template-columns: 1fr; gap: 36px; padding: 44px 40px; }
  .brandlab__visual { min-height: 200px; order: -1; }
  .brandlab__tree { max-width: 180px; }
}
@media (max-width: 620px) {
  .brandlab { padding: 34px 24px; }
  .brandlab__title { font-size: 32px; }
  .brandlab__cta { gap: 14px; }
}

/* ===========================================================================
   MOBILE FIXES (≤620) — попап товара, бренд-блок, плавающая кнопка
   =========================================================================== */
@media (max-width: 620px) {
  /* Попап карточки товара: таблица цен распирала диалог → гор. скролл/«границы».
     Делаем диалог чуть шире и компактнее содержимое — всё помещается. */
  .pmodal__dialog { width: calc(100% - 20px); }
  .pm__info { padding: 24px 16px 26px; }
  .pm__gallery { padding: 16px; }
  .ptable__head > span, .ptable__row > span { padding: 9px 7px; font-size: 12.5px; }
  .ptable__head > span small { font-size: 10px; }

  /* Бренд-блок: заголовок и текст идут ПЕРВЫМИ, визуал с ярлыком — ниже
     (чтобы сразу было понятно, о чём блок). */
  .brandlab__visual { order: 1; min-height: 0; margin-top: 6px; }
  .bvis { max-width: 290px; aspect-ratio: 7/5; }

  /* Плавающая кнопка: компактнее, с учётом «домашней» полосы iPhone. */
  .fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
         padding: 13px 18px; font-size: 15px; }
}

/* ===========================================================================
   FOOTER — юридические реквизиты ИП + политика конфиденциальности
   =========================================================================== */
.footer__legal { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.footer__legal-co { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 14px;
  letter-spacing: .02em; color: rgba(255,255,255,.72); }
.footer__legal-meta { display: flex; flex-wrap: wrap; gap: 7px 26px; margin-top: 11px;
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.44); }
.footer__legal-meta > * { position: relative; }
.footer__legal-meta a { color: rgba(255,255,255,.6); transition: color var(--dur-fast) var(--ease-out); }
.footer__legal-meta a:hover { color: var(--green-400); }
.footer__legal-meta > * + *::before { content: "·"; position: absolute; left: -15px; color: rgba(255,255,255,.26); }

.footer__bottom-r { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.footer__bottom-r a { color: rgba(255,255,255,.62); transition: color var(--dur-fast) var(--ease-out); }
.footer__bottom-r a:hover { color: var(--green-400); }
.footer__sep { color: rgba(255,255,255,.28); }

/* подпись «данные защищены» под формами */
.lead__secure { display: flex; align-items: center; gap: 7px; margin-top: 9px;
  font-size: 12px; line-height: 1.35; color: var(--green-800); }
.lead__secure .lucide { width: 14px; height: 14px; color: var(--green-700); flex: none; }

/* ===========================================================================
   FLOATING CONTACT ISLAND — Telegram / WhatsApp / звонок
   =========================================================================== */
.cfab { position: fixed; right: 26px; bottom: 100px; z-index: 56;
  display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.cfab__toggle { position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-700); color: #fff; border: none; cursor: pointer; pointer-events: auto;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.3), 0 4px 14px rgba(0,169,128,.45);
  transition: background var(--dur-fast) var(--ease-out); }
.cfab__toggle:hover { background: var(--green-800); }
.cfab__ico { position: absolute; width: 27px; height: 27px;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.cfab__ico--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.cfab.is-open .cfab__ico--chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.cfab.is-open .cfab__ico--close { opacity: 1; transform: none; }

/* пульсирующее кольцо («мигает») */
.cfab__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--green-700); z-index: -1; }

/* веер контактов */
.cfab__menu { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 14px;
  pointer-events: none; }
.cfab__item { position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(14px) scale(.5); pointer-events: none;
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out), filter var(--dur-fast) var(--ease-out); }
.cfab__item svg { width: 27px; height: 27px; }
.cfab__item--tg { background: #29a7e1; }
.cfab__item--wa { background: #25d366; }
.cfab__item--call { background: var(--green-700); }
.cfab__item:hover { filter: brightness(1.08); }
.cfab.is-open .cfab__item { opacity: 1; transform: none; pointer-events: auto; }
.cfab.is-open .cfab__item:nth-child(1) { transition-delay: .10s; }
.cfab.is-open .cfab__item:nth-child(2) { transition-delay: .055s; }
.cfab.is-open .cfab__item:nth-child(3) { transition-delay: 0s; }
/* подпись слева при наведении (десктоп) */
.cfab__label { position: absolute; right: 64px; white-space: nowrap; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 13px; padding: 7px 12px;
  border-radius: var(--radius-sm); opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.cfab__item:hover .cfab__label { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .cfab:not(.is-open) .cfab__toggle { animation: cfabBounce 3.6s ease-in-out infinite; }
  .cfab:not(.is-open) .cfab__ring { animation: cfabPulse 2.4s ease-out infinite; }
}
@keyframes cfabBounce {
  0%, 66%, 100% { transform: translateY(0); }
  74% { transform: translateY(-9px); }
  82% { transform: translateY(0); }
  89% { transform: translateY(-4px); }
  95% { transform: translateY(0); }
}
@keyframes cfabPulse {
  0% { transform: scale(1); opacity: .5; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 620px) {
  .cfab { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .cfab__toggle { width: 54px; height: 54px; }
  .cfab__ico { width: 24px; height: 24px; }
  .cfab__item { width: 48px; height: 48px; }
  .cfab__item svg { width: 25px; height: 25px; }
  .cfab__label { display: none; }

  /* футер: реквизиты в столбик (без «прыгающих» точек), низ — тоже в столбик */
  .footer__legal-meta { flex-direction: column; gap: 6px; }
  .footer__legal-meta > * + *::before { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
