:root {
  --green-900: #142b20;
  --green-800: #1c3a2b;
  --green-700: #27503b;
  --green-600: #3a6b50;
  --green-100: #e4efe8;
  --cream: #f7f3ea;
  --cream-2: #f0e9da;
  --bronze: #c98a3d;
  --bronze-2: #e0a458;
  --ink: #22312b;
  --muted: #5b6b63;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(20, 43, 32, 0.35);
  --font: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 26px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--bronze);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(201, 138, 61, 0.7);
}
.btn--primary:hover { background: var(--bronze-2); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-700);
}
.btn--outline:hover { background: var(--green-100); }

.btn--light {
  background: var(--white);
  color: var(--green-800);
}
.btn--light:hover { background: var(--cream-2); }

.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 43, 32, 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--green-800); }
.logo em { font-style: normal; color: var(--bronze); }
.logo__icon { width: 30px; height: 30px; fill: var(--bronze); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 15px; font-weight: 600; color: var(--green-800); opacity: .85; transition: opacity .15s ease; }
.nav__link:hover { opacity: 1; }
.nav__link--active { opacity: 1; color: var(--bronze); }
.nav__cta { margin-left: 4px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: var(--green-800); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 70%);
  color: var(--white);
  padding: 72px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bronze-2);
  background: rgba(224, 164, 88, 0.14);
  border: 1px solid rgba(224, 164, 88, 0.4);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .045em;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.hero__title {
  /* Основной шрифт, как у .hero__eyebrow: --font-display (Playfair Display)
     давал засечки, из-за которых крупный заголовок читался тяжело. */
  font-family: var(--font);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.hero__title span { color: var(--bronze-2); }
.hero__tagline { font-family: var(--font); font-size: clamp(22px, 1.5vw, 34px); line-height: 1.2; color: var(--bronze-2); margin-bottom: 20px; }

.hero__text { font-size: 17px; color: rgba(255, 255, 255, 0.85); max-width: 540px; margin-bottom: 30px; }

.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }

.hero__cta { min-width: 200px; }
.hero__sub-cta { margin: 0 0 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, 0.6); text-align: left; }

.hero__install {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 30px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
}
.hero__install-icon { flex: 0 0 auto; width: 20px; height: 20px; color: var(--bronze-2); }
.hero__install a { color: var(--bronze-2); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255,255,255,.8); }
.hero__points li { position: relative; padding-left: 20px; }
.hero__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bronze-2);
  font-weight: 800;
}

/* phone */
.hero__visual { display: flex; justify-content: center; }
.phone {
  width: 320px;
  background: var(--white);
  color: var(--ink);
  border-radius: 34px;
  padding: 18px 18px 16px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.55);
  border: 8px solid #2b2b2b;
  position: relative;
}
.phone__notch {
  width: 110px; height: 26px; background: #2b2b2b; border-radius: 0 0 14px 14px;
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
}
.phone__head { display: flex; align-items: center; gap: 12px; padding: 6px 4px 12px; }
.phone__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze-2), var(--bronze));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.phone__name { flex: 1; line-height: 1.25; }
.phone__name strong { font-size: 15px; display: block; }
.phone__name span { font-size: 12px; color: var(--muted); }
.phone__ellipsis { width: 16px; height: 16px; fill: var(--muted); }

.phone__date { font-size: 12px; font-weight: 700; color: var(--bronze); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; padding: 0 4px; }

.checklist { display: flex; flex-direction: column; gap: 9px; }
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  border: 1px solid rgba(20, 43, 32, 0.08);
  border-radius: 14px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.check.done { opacity: .62; background: var(--green-100); }
.check__box {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 2px solid var(--green-700);
  border-radius: 7px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background .2s ease, border-color .2s ease;
}
.check__box span { width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px,-1px); opacity: 0; }
.check.done .check__box { background: var(--green-600); border-color: var(--green-600); }
.check.done .check__box span { opacity: 1; }
.check__label { flex: 1; line-height: 1.3; }
.check__label strong { font-size: 14px; display: block; }
.check__label small { font-size: 12px; color: var(--muted); }
.check__status { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.check.done .check__status { color: var(--green-600); }

.phone__note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* team */
.team {
  background: var(--cream);
  border: 1px solid rgba(20, 43, 32, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.team__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--bronze);
  margin-bottom: 9px;
}
.team__row { display: flex; flex-wrap: wrap; gap: 8px; }
.team__person { display: flex; align-items: center; gap: 6px; }
.team__ava {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-700);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}
.team__ava--g { background: linear-gradient(135deg, var(--bronze-2), var(--bronze)); }
.team__ava--t { background: #3f7d4e; }
.team__ava--v { background: #4a6fa5; }
.team__role { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.team__live {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(20, 43, 32, 0.08);
  font-size: 12px;
  color: var(--green-700);
  font-weight: 600;
}
.team__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #35a06b;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(53, 160, 107, .18);
}

/* finance */
.finance {
  margin-top: 10px;
  background: var(--green-800);
  border-radius: 14px;
  padding: 13px 14px;
  color: #fff;
}
.finance__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.finance__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.72); }
.finance__sum { font-size: 19px; font-weight: 800; color: var(--bronze-2); }
.finance__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 3px 0;
}
.finance__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  white-space: nowrap;
}
.finance__note { flex: 1; color: rgba(255,255,255,.62); font-size: 11.5px; }
.finance__val { font-weight: 700; white-space: nowrap; }
.finance__scan {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}
.finance__scan-icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--bronze-2); }

.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--cream { background: var(--cream-2); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  color: var(--green-800);
  text-align: center;
  margin-bottom: 14px;
}
.section__title--left { text-align: left; }
.section__subtitle { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 48px; }
.section__subtitle--left { text-align: left; margin-bottom: 28px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 10px 30px -18px rgba(20,43,32,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { font-size: 30px; margin-bottom: 16px; }
.card h3 { font-size: 18px; color: var(--green-800); margin-bottom: 8px; }
.card h3 a { transition: color .15s ease; }
.card h3 a:hover { color: var(--bronze); }
.card p { font-size: 15px; color: var(--muted); }
.card p a { color: var(--bronze); font-weight: 600; }
.card p a:hover { text-decoration: underline; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  box-shadow: 0 10px 30px -18px rgba(20,43,32,.25);
}
.step__num {
  font-family: var(--font-display);
  font-size: 54px;
  color: var(--bronze);
  opacity: .35;
  font-weight: 700;
  position: absolute;
  top: 18px; right: 24px;
}
.step h3 { font-size: 19px; color: var(--green-800); margin: 10px 0 8px; }
.step p { font-size: 15px; color: var(--muted); }

.install__note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Stable ---------- */
.stable { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.stable__media { display: flex; justify-content: center; }
.stable__card {
  width: 100%;
  max-width: 430px;
  background: var(--green-800);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.stable__card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.stable__card-top strong { font-size: 16px; }
.stable__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--bronze-2); }
.stable__live i { width: 8px; height: 8px; border-radius: 50%; background: #6edb8e; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.stable__list { list-style: none; margin-bottom: 22px; }
.stable__list li {
  display: flex; gap: 14px;
  font-size: 14.5px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
}
.stable__list li span { color: var(--bronze-2); font-weight: 700; width: 52px; flex-shrink: 0; }

.stable__progress { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 16px; }
.stable__progress > * { display: inline-block; vertical-align: middle; }
.stable__progress span { font-size: 13px; color: rgba(255,255,255,.75); margin-right: auto; }
.stable__progress strong { font-size: 14px; color: var(--bronze-2); margin-left: 10px; }
.stable__progress i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-2));
  width: var(--p, 0%);
  margin-top: 8px;
}

.stable__note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; font-style: italic; }

.checklist-real { list-style: none; margin: 0 0 30px; }
.checklist-real li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  font-size: 15.5px;
  color: var(--ink);
}
.checklist-real li::before {
  content: "✓";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  background: var(--green-600);
  color: #fff;
  border-radius: 50%;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.price {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -18px rgba(20,43,32,.25);
  position: relative;
}
.price--featured {
  background: var(--green-800);
  color: #fff;
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}
.price--featured .price__list li { color: rgba(255,255,255,.85); }
.price__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--bronze); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .05em;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price__name { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bronze); margin-bottom: 14px; }
.price__amount { font-size: 42px; font-weight: 800; color: var(--green-800); line-height: 1; }
.price__amount small { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price--featured .price__amount { color: #fff; }
.price__period { font-size: 13px; color: var(--muted); margin: 8px 0 22px; }
.price--featured .price__period { color: rgba(255,255,255,.6); }
.price__list { list-style: none; margin-bottom: 26px; flex: 1; }
.price__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 14.5px;
  color: var(--ink);
}
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--bronze); font-weight: 800; }
.price--featured .price__list li::before { color: var(--bronze-2); }

/* ---------- FAQ ---------- */
.faq { margin-top: 34px; }
.faq__item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px -12px rgba(20,43,32,.2);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--green-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 500;
  color: var(--bronze);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 20px; font-size: 15px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(150deg, var(--bronze) 0%, var(--bronze-2) 60%, #e9b96f 100%);
  padding: 84px 0;
  text-align: center;
}
.cta__inner { max-width: 620px; }
.cta__title { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin-bottom: 14px; }
.cta__text { color: rgba(255,255,255,.92); font-size: 17px; margin-bottom: 30px; }
.cta__form { display: flex; gap: 12px; }
.cta__input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  box-shadow: inset 0 0 0 2px transparent;
}
.cta__input:focus { box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.cta__note { margin-top: 18px; color: #fff; font-weight: 700; }
.cta__hint { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.8); }

/* ---------- Feedback form ---------- */
.feedback { background: var(--white); border-radius: var(--radius); padding: 40px 36px; box-shadow: 0 10px 30px -18px rgba(20,43,32,.25); }
.feedback__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feedback__field { margin-bottom: 20px; }
.feedback__field label { display: block; font-size: 14px; font-weight: 700; color: var(--green-800); margin-bottom: 8px; }
.feedback__field input,
.feedback__field textarea {
  width: 100%;
  border: 2px solid rgba(20, 43, 32, 0.12);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.feedback__field input:focus,
.feedback__field textarea:focus { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(201, 138, 61, 0.15); }
.feedback__field input::placeholder,
.feedback__field textarea::placeholder { color: var(--muted); opacity: .6; }
.feedback__btn { width: 100%; }
.feedback__btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.feedback__status { margin-top: 16px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.feedback__status--ok { color: var(--green-600); }
.feedback__status--err { color: #c0392b; }
@media (max-width: 600px) {
  .feedback__row { grid-template-columns: 1fr; }
  .feedback { padding: 28px 22px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255,255,255,.75); padding: 28px 0 34px; margin-top: auto; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.footer__nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__nav a { color: rgba(255,255,255,.82); transition: color .15s ease; }
.footer__nav a:hover { color: var(--bronze-2); }
.footer__legal { display: flex; flex-direction: column; gap: 8px; font-size: 14px; align-items: flex-end; }
.footer__legal a { color: rgba(255,255,255,.82); transition: color .15s ease; }
.footer__legal a:hover { color: var(--bronze-2); }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 6px; }
@media (min-width: 601px) {
  /* Десктоп: три колонки. Меню разбивается на две (первые три ссылки, затем
     База знаний / Вопросы / Контакты), правовая колонка — третья. */
  .footer__nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 8px 28px;
  }
}
@media (max-width: 600px) {
  .footer__inner { gap: 12px; }
  .footer__legal { font-size: 13px; }
}

/* ---------- Sticky bottom CTA (только мобильные) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 60;
  justify-content: center;
  pointer-events: none;
}
.sticky-cta .btn {
  pointer-events: auto;
  box-shadow: 0 16px 32px -12px rgba(20, 43, 32, 0.55);
}

/* ---------- Toast (заглушка) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 70;
  background: var(--green-800);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 36px -12px rgba(20, 43, 32, 0.5);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Responsive ---------- */
/* Десктоп: текстовый блок приподнят к верху картинки и стал шире.
   align-items: start вместо center — иначе короткая колонка текста
   висела по центру относительно телефона. */
@media (min-width: 961px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
  .hero__text { max-width: 600px; }
  .hero__install { max-width: 600px; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; min-width: 0; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__sub-cta { text-align: center; }
  .hero__install { max-width: 420px; justify-content: center; text-align: center; }
  .hero__points { justify-content: center; }
  .hero__visual { order: 1; margin-top: 26px; margin-bottom: 10px; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stable { grid-template-columns: 1fr; gap: 40px; }
  .price--featured { transform: none; }
}

@media (max-width: 959px) and (min-width: 761px) {
  .nav { gap: 12px; }
  .nav__link { font-size: 13px; }
  .nav__cta { padding: 8px 10px; font-size: 12.5px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(20,43,32,.1);
    transform: translateY(-130%);
    transition: transform .28s ease;
    box-shadow: 0 30px 40px -20px rgba(20,43,32,.3);
  }
  .nav.open { transform: none; }
  .nav__link { padding: 13px 0; border-bottom: 1px solid rgba(20,43,32,.06); }
  .nav__cta { margin: 14px 0 0; }

  .burger { display: flex; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 120px; }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .03em; padding: 5px 10px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .cta__form { flex-direction: column; }
  .section { padding: 68px 0; }

  .sticky-cta { bottom: 16px; }
  .sticky-cta.active { display: flex; }
  .toast { bottom: 120px; }
  /* Отступ под плавающую кнопку добавляем футеру, а не body — иначе под футером
     остаётся пустая прокручиваемая полоса. */
  body.has-sticky-cta .footer { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 70;
  width: min(560px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(20, 43, 32, 0.1);
  border-radius: 10px;
  box-shadow: 0 14px 30px -16px rgba(20, 43, 32, 0.4);
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: var(--bronze); font-weight: 700; white-space: nowrap; }
.cookie-bar a:hover { color: var(--bronze-2); }
.cookie-bar__btn {
  flex-shrink: 0;
  border: 1.5px solid var(--bronze);
  background: var(--bronze);
  color: var(--white);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.cookie-bar__btn:hover { background: var(--bronze-2); transform: translateY(-1px); }
@media (max-width: 520px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 6px; text-align: left; bottom: 8px; }
  .cookie-bar__btn { text-align: center; }
}
