/* ============================================================
   Ваш Лесник — Landing (стиль внутреннего фронта front_wood)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary:        #2c4d4c;
  --primary-hover:  #3a6564;
  --primary-active: #1e3635;
  --primary-soft:   rgba(44, 77, 76, 0.08);
  --primary-tint:   rgba(44, 77, 76, 0.04);
  --bg:             #ededed;
  --white:          #ffffff;
  --black:          #000000;
  --muted:          #808080;
  --muted-soft:     #b0b0b0;
  --border:         #e0e0e0;
  --border-light:   #ececec;
  --danger:         #ff2727;
  --success:        #06bf00;
  --warning:        #d97706;
  --shadow-card:    0 0 10px 0 #d8d8d8;
  --shadow-soft:    0 1px 4px 0 rgba(0,0,0,0.04);
  --radius:         20px;
  --radius-sm:      12px;
  --radius-xs:      8px;
  --container:      1320px;
  --pad-x:          20px;
  --pad-x-md:       60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--black);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

.col {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
@media (min-width: 768px) {
  .col { padding: 0 var(--pad-x-md); }
}

/* ============================================================
   Header
   ============================================================ */
.header {
  background: var(--primary);
  width: 100%;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 50;
}
@media (min-width: 768px) {
  .header { padding: 10px 60px; }
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.header__logo { display: flex; align-items: center; }
.header__logo-img { height: 35px; width: 70px; }
@media (min-width: 768px) {
  .header__logo-img { height: 44px; width: 88px; }
}

.header__nav {
  display: none;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .header__nav { display: flex; }
}
.header__nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity .2s ease;
}
.header__nav a:hover { opacity: 1; }

.header__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header__login {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all .2s ease;
}
.header__login:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background .2s ease;
}
.header__phone:hover { background: rgba(255,255,255,0.1); }
.header__phone svg { width: 16px; height: 16px; }
.header__phone-text { display: none; }
@media (min-width: 640px) { .header__phone-text { display: inline; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  padding: 15px 24px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-active); }
.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn--outline:hover { background: rgba(0,0,0,0.05); }
.btn--ghost { background: transparent; color: var(--black); padding: 10px 20px; }
.btn--ghost:hover { text-decoration: underline; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--small { padding: 8px 14px; font-size: 14px; }

/* ============================================================
   Section scaffold
   ============================================================ */
.section { padding: 60px 0; }
@media (min-width: 768px) {
  .section { padding: 90px 0; }
}
.section--tight { padding: 40px 0; }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .section__head { margin-bottom: 56px; }
}
.section__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.section__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 760px;
}
@media (min-width: 768px) {
  .section__title { font-size: 38px; }
}
.section__lead {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  max-width: 680px;
}
@media (min-width: 768px) {
  .section__lead { font-size: 17px; }
}

.section__head--left {
  align-items: flex-start;
  text-align: left;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 50px 0 30px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 90px 0 50px; }
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}
.hero__badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(6, 191, 0, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(6,191,0,0.18); }
  50% { box-shadow: 0 0 0 7px rgba(6,191,0,0.08); }
}
.hero__title {
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 880px;
}
@media (min-width: 768px) {
  .hero__title { font-size: 52px; }
}
.hero__title em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}
.hero__subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .hero__subtitle { font-size: 18px; }
}
.hero__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .hero__pillars { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.hero__pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}
.hero__pillar svg {
  width: 22px; height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}
.hero__pillar strong {
  color: var(--black);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.hero__cta {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  flex-direction: column;
}
@media (min-width: 480px) {
  .hero__cta { flex-direction: row; }
}
.hero__cta .btn { flex: 1; }
.hero__cta-note {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__cta-note svg { width: 14px; height: 14px; color: var(--success); }

/* Trust strip under hero */
.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 1080px;
  margin: 16px auto 0;
}
@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}
.trust__item {
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .trust__item { padding: 28px 24px; }
}
.trust__value {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 768px) {
  .trust__value { font-size: 36px; }
}
.trust__label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  max-width: 200px;
}

/* ============================================================
   Compare (Раньше vs Сейчас)
   ============================================================ */
.compare-tabs {
  display: inline-flex;
  background: var(--white);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-card);
}
.compare-tab {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-tab:hover { color: var(--black); }
.compare-tab.is-active {
  background: var(--primary);
  color: var(--white);
}

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.compare__col {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .compare__col { padding: 36px; }
}
.compare__col--before {
  background: #fafafa;
  border: 1px solid var(--border);
  box-shadow: none;
}
.compare__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.compare__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.compare__pill--bad {
  background: rgba(255, 39, 39, 0.08);
  color: var(--danger);
}
.compare__pill--good {
  background: rgba(6, 191, 0, 0.1);
  color: #058200;
}
.compare__col h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}
.compare__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.5;
  color: #2a2a2a;
}
@media (min-width: 768px) {
  .compare__item { font-size: 15px; }
}
.compare__item-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.compare__item-icon svg { width: 14px; height: 14px; }
.compare__item--bad .compare__item-icon {
  background: rgba(255, 39, 39, 0.1);
  color: var(--danger);
}
.compare__item--good .compare__item-icon {
  background: rgba(6, 191, 0, 0.12);
  color: #058200;
}
.compare__item strong {
  font-weight: 600;
  color: var(--black);
}

.compare-pane { display: none; }
.compare-pane.is-active { display: block; animation: fadeUp .35s ease forwards; }

/* ============================================================
   Cards (generic)
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .card { padding: 32px; }
}
.card--bordered {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: none;
}

/* ---------- Features grid (6 cards) ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px 0 rgba(44, 77, 76, 0.1);
}
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.25;
}
.feature__text {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- How it works (2 columns) ---------- */
.how {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .how { grid-template-columns: 1fr 1fr; }
}
.how__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.how__badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.how__badge svg { width: 22px; height: 22px; }
.how__name { font-size: 20px; font-weight: 600; color: var(--black); }
.how__steps { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.how__step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}
.how__step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.how__step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.3;
}
.how__step-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   Product preview mockup
   ============================================================ */
.preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1000px) {
  .preview { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}
.preview__text { display: flex; flex-direction: column; gap: 20px; }
.preview__text .section__title { text-align: left; font-size: 28px; }
@media (min-width: 768px) {
  .preview__text .section__title { font-size: 36px; }
}
.preview__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.preview__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.5;
}
.preview__list svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.preview__list strong { font-weight: 600; color: var(--black); }

/* ---- The actual mockup card ---- */
.mockup {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (min-width: 768px) {
  .mockup { padding: 20px; }
}
.mockup__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mockup__bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup__deal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.mockup__deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mockup__deal-title {
  font-size: 15px;
  font-weight: 600;
}
.mockup__deal-id {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.mockup__deal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(6, 191, 0, 0.1);
  color: #058200;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.mockup__deal-status::before {
  content: '';
  width: 6px; height: 6px;
  background: #058200;
  border-radius: 50%;
}
.mockup__deal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.mockup__deal-field { display: flex; flex-direction: column; gap: 3px; }
.mockup__deal-key {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.mockup__deal-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.mockup__progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup__progress-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.mockup__progress-fill {
  position: absolute;
  inset: 0;
  background: var(--primary);
  width: 75%;
  border-radius: 999px;
}
.mockup__progress-steps {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.mockup__progress-steps span { text-align: center; flex: 1; }
.mockup__progress-steps span.is-done { color: var(--primary); font-weight: 600; }
.mockup__progress-steps span.is-active { color: var(--black); font-weight: 600; }

.mockup__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mockup__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--primary-soft);
  color: var(--primary);
}
.mockup__chip svg { width: 12px; height: 12px; }

/* Floating mini-cards beside mockup */
.mockup__float {
  position: absolute;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px 0 rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
}
.mockup__float-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.mockup__float-icon svg { width: 14px; height: 14px; }
.mockup__float--1 { top: -18px; right: -10px; }
.mockup__float--2 { bottom: 20px; left: -16px; }
@media (max-width: 768px) {
  .mockup__float { display: none; }
}

/* ============================================================
   Safety (white card with 4 items 2x2)
   ============================================================ */
.safety {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .safety { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.safety__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.safety__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.safety__icon svg { width: 20px; height: 20px; }
.safety__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.3;
}
.safety__text {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   Audiences (For whom)
   ============================================================ */
.audiences {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .audiences { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.audience {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.audience__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.audience__badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.audience__badge svg { width: 20px; height: 20px; }
.audience__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--black);
}
.audience__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.audience__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #2a2a2a;
  font-weight: 500;
}
.audience__list svg {
  width: 16px; height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 40px 28px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .pricing { padding: 60px 48px; }
}
.pricing__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.pricing__title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .pricing__title { font-size: 36px; }
}
.pricing__lead {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .pricing__lead { font-size: 17px; }
}
.pricing__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 32px;
}
@media (min-width: 640px) {
  .pricing__points { grid-template-columns: repeat(3, 1fr); }
}
.pricing__point {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing__point-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.pricing__point-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.4;
}
.pricing__cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing__cta .btn--primary {
  background: var(--white);
  color: var(--primary);
}
.pricing__cta .btn--primary:hover { background: rgba(255,255,255,0.92); }
.pricing__cta .btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.pricing__cta .btn--outline:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq__item.is-open { box-shadow: 0 6px 20px 0 rgba(44, 77, 76, 0.1); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  cursor: pointer;
}
@media (min-width: 768px) {
  .faq__q { padding: 26px 32px; font-size: 17px; }
}
.faq__q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease;
}
.faq__q-icon svg { width: 14px; height: 14px; }
.faq__item.is-open .faq__q-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden;
}
.faq__a-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .faq__a-content { padding: 0 32px 26px; font-size: 15.5px; }
}

/* ============================================================
   Final CTA card
   ============================================================ */
.cta-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-final__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--black);
  max-width: 620px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .cta-final__title { font-size: 36px; }
}
.cta-final__lead {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  max-width: 560px;
}
@media (min-width: 768px) {
  .cta-final__lead { font-size: 17px; }
}
.cta-final__buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  flex-direction: column;
}
@media (min-width: 480px) {
  .cta-final__buttons { flex-direction: row; }
}
.cta-final__buttons .btn { flex: 1; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--primary); width: 100%; }
.footer__top { padding: 40px 20px; }
@media (min-width: 768px) { .footer__top { padding: 60px; } }
.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer__grid { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer__logo { height: 75px; width: 152px; flex-shrink: 0; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 768px) { .footer__col { align-items: flex-start; } }
.footer__col-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
@media (min-width: 768px) { .footer__col-title { font-size: 24px; } }
.footer__col a, .footer__col p {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
@media (min-width: 768px) { .footer__col a, .footer__col p { font-size: 16px; } }
.footer__col a:hover { color: rgba(255,255,255,0.8); }
.footer__col a.muted { color: #bfbfbf; }
.footer__col a.muted:hover { color: var(--white); }
.footer__phone {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}
@media (min-width: 768px) { .footer__phone { font-size: 20px; } }
.footer__icons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 8px;
}
.footer__icons a {
  width: 24px; height: 24px;
  transition: opacity .2s ease;
}
.footer__icons a:hover { opacity: 0.7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; }
@media (min-width: 768px) { .footer__bottom { padding: 20px 60px; } }
.footer__bottom-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer__bottom-grid {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__copy { color: var(--white); font-size: 14px; font-weight: 500; }
.footer__legal {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  max-width: 28em;
  margin-top: 10px;
}
.footer__policy {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-align: center;
}
@media (min-width: 768px) { .footer__policy { text-align: right; } }
.footer__policy:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   Soft fade-up + reveal on scroll
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .55s cubic-bezier(.2,.65,.25,1) forwards; }
.fade-up.delay-1 { animation-delay: .08s; opacity: 0; }
.fade-up.delay-2 { animation-delay: .16s; opacity: 0; }
.fade-up.delay-3 { animation-delay: .24s; opacity: 0; }
.fade-up.delay-4 { animation-delay: .32s; opacity: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Regions strip
   ============================================================ */
.regions {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin: 24px auto 0;
  max-width: 1080px;
}
@media (max-width: 768px) {
  .regions { grid-template-columns: auto 1fr; gap: 16px; padding: 18px 20px; }
  .regions__cta-wrap { display: none; }
}
.regions__icon {
  width: 48px; height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.regions__icon svg { width: 24px; height: 24px; }
.regions__text strong { font-size: 16px; font-weight: 600; display: block; margin-bottom: 2px; color: var(--black); }
.regions__text span { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Pricing transparent inset
   ============================================================ */
.pricing__transparent {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 22px;
  text-align: left;
  margin: 0 auto 32px;
  max-width: 720px;
  align-items: start;
}
.pricing__transparent-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pricing__transparent-icon svg { width: 20px; height: 20px; }
.pricing__transparent-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.pricing__transparent-text {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

/* ============================================================
   Guarantees ("Что если...")
   ============================================================ */
.guarantees {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .guarantees { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .guarantees { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
}
.guarantee {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.guarantee:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px 0 rgba(44, 77, 76, 0.1);
}
.guarantee__q {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.35;
}
.guarantee__q-mark {
  width: 26px; height: 26px;
  background: rgba(255, 39, 39, 0.1);
  color: var(--danger);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.guarantee__a {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
}
.guarantee__a strong { color: var(--primary); font-weight: 600; }

/* ============================================================
   About / Legal transparency
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1.05fr 1fr; }
}
.about__main {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 768px) {
  .about__main { padding: 44px 40px; }
}
.about__main h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .about__main h3 { font-size: 28px; }
}
.about__main p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.about__main .about__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__main .about__bullets li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.about__main .about__bullets svg {
  width: 18px; height: 18px;
  color: var(--white);
  margin-top: 2px;
  flex-shrink: 0;
}
.about__legal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__legal h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
}
.about__legal-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}
.about__legal-row:last-child { border-bottom: 0; }
.about__legal-key {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.about__legal-val {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--black);
  word-break: break-word;
}
.about__legal-val a { color: var(--primary); text-decoration: underline; }
.about__legal-val a:hover { color: var(--primary-hover); }
@media (max-width: 540px) {
  .about__legal-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
}

/* ============================================================
   Deal compare — сравнение откликов на заявку
   (стилистика как ResponseCard.tsx из front_wood)
   ============================================================ */
.deal-compare {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .deal-compare { padding: 24px; }
}

.deal-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .deal-panels { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.deal-panel {
  background: rgba(44, 77, 76, 0.04);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .deal-panel { padding: 18px; }
}
.deal-panel--offer {
  border-color: var(--primary);
}
.deal-panel--request .deal-panel__chips {
  flex: 1;
  align-content: flex-start;
}

.deal-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.deal-panel__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}
@media (min-width: 768px) {
  .deal-panel__label { font-size: 15px; }
}
.deal-panel__label b { color: var(--primary); font-weight: 700; }
.deal-panel__id {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-left: auto;
}
.deal-panel__match {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
  margin-left: auto;
}
@media (min-width: 768px) {
  .deal-panel__match { padding: 5px 12px; font-size: 13px; }
}
.deal-panel__match.is-high {
  color: #4c8d46;
  background: rgba(132, 220, 124, 0.25);
  border-color: #4c8d46;
}
.deal-panel__match.is-mid {
  color: #a74e00;
  background: rgba(213, 151, 51, 0.25);
  border-color: #a74e00;
}
.deal-panel__match.is-low {
  color: var(--danger);
  background: rgba(247, 137, 127, 0.25);
  border-color: var(--danger);
}

.deal-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deal-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  transition: background .2s ease;
  animation: chipIn .25s cubic-bezier(.2,.7,.3,1) both;
  min-width: 0;
}
.deal-chip span {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.deal-chip b {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.deal-chip--accent {
  background: #fa6707;
}
.deal-chip--diff {
  background: var(--white);
  color: #5f5f5f;
  border: 1.5px dashed #6e6e6e;
  padding: 6.5px 12.5px;
}
.deal-chip--diff span { color: #6e6e6e; opacity: 0.7; }
.deal-chip--diff b { color: #4d4d4d; }
@keyframes chipIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tabs inside offer panel header */
.deal-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--primary);
  border-radius: 22px;
  padding: 3px;
  overflow-x: auto;
  flex-basis: 100%;
  scrollbar-width: none;
  order: 3;
}
@media (min-width: 900px) {
  .deal-tabs { flex-basis: auto; order: initial; margin-left: auto; margin-right: 4px; }
}
.deal-tabs::-webkit-scrollbar { display: none; }
.deal-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 18px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: var(--black);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
@media (min-width: 768px) {
  .deal-tab { padding: 6px 12px; font-size: 12px; }
}
.deal-tab:hover { background: rgba(0,0,0,0.05); }
.deal-tab.is-active {
  background: var(--primary);
  color: var(--white);
}

.deal-tabs-viewport {
  overflow: hidden;
  border-radius: 12px;
  min-width: 0;
  width: 100%;
  flex: 0 0 auto; /* не сжиматься — высоту фиксирует JS по самой высокой вкладке */
  height: 360px; /* запасное значение до инициализации JS (≈ самая высокая вкладка) */
}
.deal-tabs-track {
  display: flex;
  width: 300%;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
  height: 100%;
}
.deal-tab-pane {
  flex: 0 0 33.3333%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
}
.deal-tab-pane .deal-panel__chips {
  padding: 4px 0;
  align-content: flex-start;
}

/* Cards hint */
.deal-cards-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(44, 77, 76, 0.05);
  border: 1px solid var(--primary-soft);
  border-radius: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
  color: var(--ink-soft, #3a4541);
  font-size: 12.5px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .deal-cards-hint { font-size: 13.5px; padding: 14px 18px; }
}
.deal-cards-hint svg {
  width: 18px; height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.deal-cards-hint b { color: var(--primary); font-weight: 600; }

/* Tooltip (на бейдже match% и качества) */
.has-tip {
  position: relative;
  cursor: help;
}
/* Плавающий тултип (position: fixed) — не обрезается контейнерами с overflow/скроллом */
.tip-floating {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  max-width: 240px;
  background: var(--ink, #1a2424);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  padding: 7px 12px;
  border-radius: 8px;
  text-align: center;
  white-space: normal;
  box-shadow: 0 4px 12px 0 rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.tip-floating.is-on { opacity: 1; transform: translateY(0); }
.tip-floating::after {
  content: '';
  position: absolute;
  top: 100%;
  left: var(--arrow-x, 50%);
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink, #1a2424);
}
.tip-floating.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--ink, #1a2424);
}

/* Tags row in card */
.deal-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -2px;
}
.deal-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .deal-card__tag { padding: 5px 12px; font-size: 12.5px; }
}
.deal-card__tag--accent {
  background: rgba(250, 103, 7, 0.12);
  color: #c04f00;
}
.deal-card__tag--quality {
  background: rgba(76, 141, 70, 0.14);
  color: #346631;
}
.deal-card__tag--diff {
  background: rgba(255, 39, 39, 0.10);
  color: var(--danger);
}

/* Cards carousel — 2 видимых, остальные горизонтальным скроллом */
.deal-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 12px;
  padding: 10px 2px 14px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}
.deal-cards::-webkit-scrollbar { height: 0; }
@media (min-width: 768px) {
  .deal-cards { gap: 14px; padding: 12px 4px 16px; margin: 0; }
}

.deal-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all .25s ease;
  flex: 0 0 calc(50% - 6px);
  min-width: 210px;
  max-width: 340px;
  scroll-snap-align: start;
  box-shadow: 0 0 8px 0 #dcdcdc;
}
@media (min-width: 768px) {
  .deal-card { padding: 18px; gap: 12px; min-width: 240px; box-shadow: none; }
}
@media (max-width: 540px) {
  .deal-card { flex: 0 0 82%; max-width: 300px; }
}
.deal-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.deal-card.is-active {
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 12px 0 #b4b4b4;
}
@media (min-width: 640px) {
  .deal-card.is-active { box-shadow: 0 4px 16px 0 rgba(44, 77, 76, 0.18); }
}

.deal-card__match {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .deal-card__match { padding: 7px 16px; font-size: 15px; }
}
.deal-card__match.is-high {
  color: #4c8d46;
  background: rgba(132, 220, 124, 0.25);
  border-color: #4c8d46;
}
.deal-card__match.is-mid {
  color: #a74e00;
  background: rgba(213, 151, 51, 0.25);
  border-color: #a74e00;
}
.deal-card__match.is-low {
  color: var(--danger);
  background: rgba(247, 137, 127, 0.25);
  border-color: var(--danger);
}

.deal-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.deal-card.is-dim {
  opacity: 0.78;
  cursor: default;
}
.deal-card.is-dim:hover {
  border-color: var(--border-light);
  transform: none;
}
.deal-card__rank {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.005em;
}
@media (min-width: 768px) {
  .deal-card__rank { font-size: 15px; }
}

.deal-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .deal-card__name { font-size: 17px; }
}

.deal-card__validity {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 4px;
}
@media (min-width: 768px) {
  .deal-card__validity { font-size: 14px; }
}
.deal-card__validity b { color: #fa6707; font-weight: 600; }

.deal-card__price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--black);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.deal-card__price {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--primary);
}
@media (min-width: 768px) {
  .deal-card__price { font-size: 22px; }
}
.deal-card__volume {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
@media (min-width: 768px) {
  .deal-card__volume { font-size: 15px; }
}

.deal-card__btn {
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 22px;
  cursor: pointer;
  transition: background .2s ease;
  align-self: stretch;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .deal-card__btn { padding: 11px 22px; font-size: 15px; }
}
.deal-card__btn:hover { background: var(--primary-hover); }
.deal-card__btn.is-active { background: var(--primary-active); }

.deal-card__btn-placeholder {
  display: block;
  height: 41px;
  margin-top: 4px;
  visibility: hidden;
}
@media (min-width: 768px) {
  .deal-card__btn-placeholder { height: 44px; }
}

.deal-compare__legal {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 36px 0 rgba(0,0,0,0.18);
  z-index: 70;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  max-width: 880px;
  margin: 0 auto;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
}
@media (min-width: 720px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
  }
}
.cookie-banner__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #2a2a2a;
  flex: 1;
}
@media (min-width: 720px) {
  .cookie-banner__text { font-size: 14px; }
}
.cookie-banner__text strong { color: var(--primary); }
.cookie-banner__text a {
  color: var(--primary);
  text-decoration: underline;
}
.cookie-banner__text a:hover { color: var(--primary-hover); }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.cookie-banner__btn--primary {
  background: var(--primary);
  color: var(--white);
  border: 0;
}
.cookie-banner__btn--primary:hover { background: var(--primary-hover); }
.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}
.cookie-banner__btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Когда показан sticky-cta + cookie-banner — поднять баннер выше */
body.has-sticky .cookie-banner.is-visible { bottom: 88px; }

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  z-index: 60;
  transform: translateY(100%);
  transition: transform .3s ease;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn {
  flex: 1 1 0;
  min-width: 0;
  height: 46px;
  padding: 0 10px;
  font-size: 14px;
  border-radius: 14px;
}
@media (max-width: 360px) {
  .sticky-cta { gap: 8px; padding: 10px 12px; }
  .sticky-cta .btn { font-size: 13px; padding: 0 6px; }
}
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (max-width: 768px) {
  body { padding-bottom: 0; }
  body.has-sticky { padding-bottom: 72px; }
}
