/* bondarenkoventel v2 — Эко-минимализм + Органика */

/* ── Offset for sticky header + section nav bar ── */
section[id], footer[id] {
  scroll-margin-top: 116px;
}
/* Reduce top/bottom padding for inner sections (not hero) */
section:not(.hero) { padding-top: 48px !important; padding-bottom: 64px !important; }

:root {
  /* Eco palette */
  --forest:    #1E3A1A;
  --sage:      #4A7C35;
  --mint:      #8BAF5A;
  --earth:     #C4A882;
  --linen:     #F8F6F1;
  --surface:   #FFFFFF;
  --text:      #1A2810;
  --text-muted:#5A6B52;
  /* Legacy aliases — remapped to eco */
  --blue:      #1E3A1A;
  --blue-mid:  #2D5016;
  --green:     #4A7C35;
  --green-lt:  #8BAF5A;
  --white:     #ffffff;
  --gray-lt:   #F8F6F1;
  --gray:      #5A6B52;
  --gray-md:   #8A9B82;
  --red:       #c0392b;
  --orange:    #e67e22;
  --yellow:    #d4a017;
  --accent:    #C4A882;
  --radius:    20px;
  --shadow:    0 8px 40px rgba(30,58,26,.07);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--linen); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── Utility ── */
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--forest); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--sage); color: var(--sage); }
.btn-outline:hover { background: var(--sage); color: var(--white); }
.section-tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ════ HEADER ════ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--surface); height: 64px; display: flex; align-items: center; will-change: transform; transform: translateZ(0); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(to bottom, rgba(30,58,26,.08), transparent); opacity: 0; transition: opacity .2s; pointer-events: none; }
.header.scrolled::after { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; }
.header__phone { color: var(--sage); font-weight: 700; font-size: .95rem; text-decoration: none; margin-left: auto; margin-right: 16px; white-space: nowrap; }
.header__phone:hover { color: var(--forest); }
@media (max-width: 600px) { .header__phone { display: none; } }
.logo__icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo__text { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.logo__sub { font-size: .65rem; font-weight: 400; opacity: .6; letter-spacing: .06em; text-transform: uppercase; }
.burger { width: 36px; height: 36px; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 4px; }
.burger span { display: block; height: 2px; background: var(--forest); border-radius: 2px; transition: var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 999; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-overlay.open { opacity: 1; pointer-events: all; }
.side-nav { position: fixed; top: 0; right: 0; width: 280px; height: 100%; background: var(--forest); z-index: 1001; padding: 80px 30px 30px; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.side-nav.open { transform: translateX(0); }
.side-nav a { display: block; color: var(--white); font-size: 1.1rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); transition: color .2s; }
.side-nav a:hover { color: var(--mint); }

/* ════ SECTION NAV BAR ════ */
.section-nav {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid rgba(30,58,26,.08);
  box-shadow: 0 2px 12px rgba(30,58,26,.06);
}
.section-nav__inner {
  display: flex;
  gap: 5px;
  padding: 6px 12px;
  max-width: 1140px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: nowrap;
  /* Мобиле: горизонтальная прокрутка */
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.section-nav__inner::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .section-nav__inner { justify-content: flex-start; }
}
.snav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 82px;
  padding: 6px 5px;
  border-radius: 8px;
  background: var(--linen);
  color: var(--forest);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
  overflow: hidden;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.snav-btn:hover,
.snav-btn.active {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

/* Floating buttons — desktop only, hidden everywhere by default */
.float-btns { display: none; }
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .float-btns { position: fixed; right: 0; top: 50%; transform: translateY(-50%) translateZ(0); z-index: 900; display: flex; flex-direction: column; gap: 3px; will-change: transform; }
}
.float-btn { position: relative; display: block; width: 200px; height: 52px; overflow: hidden; cursor: pointer; text-decoration: none; color: var(--white); border: none; padding: 0; background: none; }
.float-btn__label { display: block; padding: 0 58px 0 16px; line-height: 52px; white-space: nowrap; font-size: .82rem; font-weight: 600; }
.float-btn__icon { position: absolute; right: 0; top: 0; width: 48px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

.float-btn--green { background: var(--sage); }
.float-btn--blue  { background: var(--forest); }
.float-btn--teal  { background: #3d7a45; }
.float-btn--dark  { background: #0d1f0a; }

/* ════ HERO ════ */
.hero { min-height: 100vh; background: var(--linen); display: flex; flex-direction: column; justify-content: center; padding-top: 64px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -100px; width: 600px; height: 600px; background: radial-gradient(ellipse, rgba(74,124,53,.14) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: 80px; left: -100px; width: 400px; height: 400px; background: radial-gradient(ellipse, rgba(139,175,90,.10) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero__waves { position: absolute; inset: 0; pointer-events: none; opacity: .04; }
.hero__body { position: relative; z-index: 2; padding: 20px 20px 60px; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 780px; margin: 0 auto; }
.hero__text { width: 100%; }
.hero__btns { justify-content: center; }
.hero__tag { display: inline-block; background: rgba(74,124,53,.12); color: var(--sage); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem,5vw,3.4rem); font-weight: 800; color: var(--forest); line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--sage); }
.hero__sub { font-size: clamp(1rem,2vw,1.15rem); color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__contacts { display: none; }
@media (max-width: 768px) {
  .hero__contacts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px; }
  .hero__contact-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 13px 4px; border-radius: 14px; font-weight: 700; font-size: .72rem; text-decoration: none; color: #fff; text-align: center; }
  .hero__contact-btn--wa  { background: #25D366; }
  .hero__contact-btn--tg  { background: #2AABEE; }
  .hero__contact-btn--max { background: #6B4FBB; }
}

/* Hero wave bottom */
.hero__wave-bottom { position: relative; z-index: 2; line-height: 0; }
.hero__wave-bottom svg { display: block; width: 100%; }

/* Trust bar */
.trust-bar { background: var(--sage); position: relative; z-index: 2; }
.trust-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 18px 28px; color: var(--white); border-right: 1px solid rgba(255,255,255,.2); }
.trust-item:last-child { border-right: none; }
.trust-item__icon { font-size: 1.6rem; }
.trust-item__label { font-size: .78rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }

/* ════ STATS ════ */
.stats { background: var(--forest); }
.stats__inner { display: grid; grid-template-columns: repeat(3,1fr); }
.stat-block { padding: 40px 30px; border-right: 1px solid rgba(255,255,255,.15); color: var(--white); }
.stat-block:last-child { border-right: none; }
.stat-block__num { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(3rem,6vw,5rem); font-weight: 900; color: rgba(255,255,255,.2); line-height: 1; }
.stat-block__text { font-size: clamp(.9rem,1.5vw,1.1rem); font-weight: 700; margin-top: 4px; }

/* ════ CO2 MONITOR ════ */
.co2-section {
  padding: 80px 0;
  background: #0a1a08;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.co2-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(74,124,53,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(192,57,43,.08) 0%, transparent 60%);
}
.co2-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.co2-text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.co2-text h2 span { color: var(--mint); }
.co2-text p { font-size: 1rem; color: rgba(255,255,255,.75); line-height: 1.7; }

/* CO2 Gauge widget */
.co2-gauge { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.co2-monitor {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: #111c0e;
  border: 4px solid #2d5016;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 40px rgba(192,57,43,.3);
  transition: box-shadow .5s;
}
.co2-monitor.good { box-shadow: 0 0 40px rgba(74,124,53,.4); }
.co2-monitor.warn { box-shadow: 0 0 40px rgba(240,165,0,.35); }
.co2-ring {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 8px solid transparent;
  border-top-color: var(--red);
  border-right-color: var(--orange);
  transition: border-color .8s;
}
.co2-monitor.good .co2-ring { border-top-color: var(--sage); border-right-color: var(--mint); }
.co2-value { font-size: 3rem; font-weight: 900; color: var(--white); line-height: 1; transition: color .5s; }
.co2-value.danger { color: #ff6b6b; }
.co2-value.good   { color: var(--mint); }
.co2-unit { font-size: .85rem; color: rgba(255,255,255,.5); }
.co2-status { font-size: .9rem; font-weight: 700; letter-spacing: .05em; }
.co2-status.danger { color: #ff6b6b; }
.co2-status.good   { color: var(--mint); }
.co2-toggle {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border-radius: 30px; padding: 6px 6px 6px 16px;
}
.co2-toggle span { font-size: .9rem; }
.toggle-btn {
  width: 52px; height: 28px; background: var(--red); border-radius: 14px;
  border: none; cursor: pointer; position: relative; transition: background .4s;
}
.toggle-btn::after {
  content: ''; position: absolute; top: 4px; left: 4px;
  width: 20px; height: 20px; background: var(--white); border-radius: 50%; transition: left .3s;
}
.toggle-btn.on { background: var(--sage); }
.toggle-btn.on::after { left: 28px; }
.co2-compare { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.co2-level { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 14px; text-align: center; font-size: .78rem; }
.co2-level__val { font-size: 1.1rem; font-weight: 900; display: block; margin-bottom: 2px; }
.co2-level--bad  .co2-level__val { color: #ff6b6b; }
.co2-level--ok   .co2-level__val { color: var(--yellow); }
.co2-level--good .co2-level__val { color: var(--mint); }

/* ════ NOISE dB SCALE ════ */
.noise-section { padding: 80px 0; background: var(--linen); }
.noise-scale { max-width: 800px; margin: 48px auto 0; }
.noise-item {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
  padding: 16px 20px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s;
}
.noise-item:hover { transform: translateX(6px); }
.noise-item.highlight {
  border-left: 4px solid var(--sage);
  background: linear-gradient(90deg, rgba(74,124,53,.05), var(--surface));
}
.noise-item__icon { font-size: 1.8rem; width: 44px; text-align: center; flex-shrink: 0; }
.noise-item__info { flex: 1; }
.noise-item__name { font-size: .95rem; font-weight: 600; color: var(--forest); }
.noise-item__desc { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.noise-item__db { font-size: 1.4rem; font-weight: 900; color: var(--forest); white-space: nowrap; }
.noise-bar-wrap { flex: 1; }
.noise-bar { height: 10px; background: rgba(30,58,26,.08); border-radius: 5px; overflow: hidden; margin-top: 6px; }
.noise-bar__fill { height: 100%; border-radius: 5px; width: 0; transition: width 1.2s ease; }

/* ════ VIRTUAL HOME ════ */
.virtual-home { padding: 80px 0; background: var(--surface); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; color: var(--forest); line-height: 1.25; }
.section-head p { margin-top: 12px; font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.vh__controls { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.vh-btn { padding: 10px 22px; border-radius: 24px; border: 2px solid var(--sage); background: var(--surface); color: var(--sage); font-size: .9rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.vh-btn.active, .vh-btn:hover { background: var(--sage); color: var(--white); }
.vh__scene { position: relative; max-width: 660px; margin: 0 auto; }
.iso-apartment { width: 100%; position: relative; background: transparent; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.iso-apartment .apt-img { width: 100%; display: block; border-radius: var(--radius); }
.iso-apartment .apt-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.air-arrow { opacity: 0; transition: opacity .5s; }
.air-arrow.visible { opacity: 1; }
.vh__popup { position: absolute; bottom: 20px; left: 20px; right: 20px; background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 12px 40px rgba(30,58,26,.12); border-left: 4px solid var(--sage); opacity: 0; transform: translateY(10px); pointer-events: none; transition: var(--transition); z-index: 10; }
.vh__popup.show { opacity: 1; transform: none; pointer-events: all; }
@media (max-width: 600px) {
  .vh__popup { position: relative; bottom: auto; left: auto; right: auto; margin-top: 14px; opacity: 1; transform: none; pointer-events: auto; }
}
.vh__popup h4 { font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.vh__popup p { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

/* ════ THREAT ════ */
.threat { padding: 80px 0; background: var(--linen); }
.threat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.threat__text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; color: var(--forest); line-height: 1.3; margin-bottom: 16px; }
.threat__text p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.particle-cards { display: flex; flex-direction: column; gap: 20px; }
.particle-card { background: var(--surface); border-radius: var(--radius); padding: 20px; border-left: 5px solid transparent; box-shadow: var(--shadow); }
.particle-card--pm10 { border-color: #d4a017; }
.particle-card--pm25 { border-color: #e05000; }
.particle-card--pm1  { border-color: #aa0000; }
.particle-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.particle-card__size { font-size: 1.3rem; font-weight: 900; color: var(--forest); }
.particle-card__danger { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; color: var(--white); }
.pm10-danger { background: #d4a017; }
.pm25-danger { background: #e05000; }
.pm1-danger  { background: #aa0000; }
.particle-card__name { font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.particle-card__desc { font-size: .8rem; color: var(--text-muted); margin-bottom: 10px; }
.progress-bar { height: 6px; background: rgba(30,58,26,.1); border-radius: 3px; overflow: hidden; }
.progress-bar__fill { height: 100%; border-radius: 3px; width: 0; transition: width 1s ease; }
.pm10-fill { background: #d4a017; }
.pm25-fill { background: #e05000; }
.pm1-fill  { background: #aa0000; }

/* ════ UV-C ════ */
.uvc-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #071208, #1E3A1A, #2D5016);
  color: var(--white);
}
.uvc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.uvc-visual { display: flex; justify-content: center; position: relative; }
.uvc-lamp {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, #b0ffb0 0%, #4A7C35 40%, #1E3A1A 80%);
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
  box-shadow: 0 0 60px rgba(74,124,53,.6), 0 0 120px rgba(74,124,53,.3);
  animation: uvPulse 2s ease-in-out infinite;
}
@keyframes uvPulse {
  0%,100% { box-shadow: 0 0 60px rgba(74,124,53,.6), 0 0 120px rgba(74,124,53,.3); }
  50%      { box-shadow: 0 0 80px rgba(74,124,53,.9), 0 0 160px rgba(74,124,53,.5); }
}
.uvc-rays { position: absolute; inset: -20px; border-radius: 50%; border: 2px dashed rgba(139,175,90,.4); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.uvc-text h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 800; margin-bottom: 16px; }
.uvc-text h2 span { color: var(--mint); }
.uvc-text p { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 20px; }
.uvc-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.uvc-stat { background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 16px; text-align: center; flex: 1; min-width: 100px; }
.uvc-stat__val { font-size: 1.6rem; font-weight: 900; color: var(--mint); display: block; }
.uvc-stat__label { font-size: .75rem; color: rgba(255,255,255,.6); }

/* ════ ISO FILTERS TABLE ════ */
.filters-section { padding: 80px 0; background: var(--surface); }
.filter-table { max-width: 860px; margin: 48px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.filter-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 80px;
  gap: 0;
  border-bottom: 1px solid rgba(30,58,26,.06);
  transition: background .2s;
}
.filter-row.header-row { background: var(--forest); color: var(--white); font-weight: 700; font-size: .85rem; }
.filter-row:not(.header-row) { background: var(--surface); }
.filter-row:not(.header-row):hover { background: #f2f7ee; }
.filter-row.best-row { background: linear-gradient(90deg, rgba(74,124,53,.08), var(--surface)); border-left: 4px solid var(--sage); }
.filter-cell { padding: 16px 18px; font-size: .9rem; display: flex; align-items: center; }
.filter-cell:first-child { font-weight: 700; }
.filter-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .75rem; font-weight: 700; color: var(--white); }
.badge-basic  { background: var(--gray-md); }
.badge-good   { background: var(--yellow); }
.badge-great  { background: var(--orange); }
.badge-hepa   { background: var(--sage); }

/* ════ TESTIMONIALS ════ */
.testimonials { padding: 80px 0; background: var(--linen); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.testimonial-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  position: relative; transition: transform .3s, box-shadow .3s; box-shadow: var(--shadow);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 16px 60px rgba(30,58,26,.12); }
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; left: 24px;
  font-size: 5rem; color: var(--sage); opacity: .12; font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: var(--earth); font-size: 1rem; margin-bottom: 12px; }
.testimonial-text { font-size: .95rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-before-after { display: flex; gap: 10px; margin-bottom: 20px; }
.before-after-chip { flex: 1; background: var(--linen); border-radius: 12px; padding: 10px; text-align: center; font-size: .75rem; }
.before-after-chip__label { color: var(--text-muted); margin-bottom: 2px; }
.before-after-chip__val { font-weight: 700; font-size: .9rem; }
.before-after-chip.before .before-after-chip__val { color: var(--red); }
.before-after-chip.after  .before-after-chip__val { color: var(--sage); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.author-name { font-size: .9rem; font-weight: 700; color: var(--forest); }
.author-city { font-size: .78rem; color: var(--text-muted); }


/* ════ FROST SECTION ════ */
.frost-section { padding: 80px 0; background: var(--surface); }
.frost__body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.frost__map img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(30,58,26,.12); }
.frost__features { display: flex; flex-direction: column; gap: 20px; }
.frost__card { display: flex; gap: 16px; align-items: flex-start; background: var(--linen); border-radius: 16px; padding: 20px; border: 1px solid rgba(30,58,26,.07); transition: box-shadow .2s; }
.frost__card:hover { box-shadow: 0 8px 32px rgba(30,58,26,.10); }
.frost__icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.frost__card strong { display: block; font-size: .95rem; font-weight: 700; color: var(--forest); margin-bottom: 4px; }
.frost__card p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
@media (max-width: 768px) { .frost__body { grid-template-columns: 1fr; } .frost__map { order: -1; } }

/* ════ COMPETITOR TABLE ════ */
.compare-section { padding: 80px 0; background: var(--linen); }
.compare-table { max-width: 960px; margin: 48px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 150px repeat(5, 1fr); border-bottom: 1px solid rgba(30,58,26,.06); }
.compare-row.header-row { background: var(--forest); color: var(--white); }
.compare-row:not(.header-row) { background: var(--surface); }
.compare-row:not(.header-row):hover { background: #f2f7ee; }
.compare-row.ours { background: linear-gradient(90deg, rgba(74,124,53,.08), var(--surface)) !important; }
.compare-cell { padding: 16px 14px; font-size: .88rem; display: flex; align-items: center; justify-content: center; text-align: center; }
.compare-cell:first-child { justify-content: flex-start; font-weight: 700; }
.compare-row.header-row .compare-cell { font-weight: 700; font-size: .82rem; }
.check-yes { color: var(--sage); font-size: 1.2rem; font-weight: 900; }
.check-no  { color: var(--red); font-size: 1.2rem; }
.check-part { color: var(--yellow); font-size: 1rem; }
.brand-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 700; color: var(--white); background: var(--forest); }
.brand-badge.ours-badge { background: var(--sage); }

/* ════ CALCULATOR ════ */
.calculator { padding: 80px 0; background: var(--forest); color: var(--white); }
.calculator .section-head h2 { font-family: 'Playfair Display', Georgia, serif; color: var(--white); }
.calculator .section-head p  { color: rgba(255,255,255,.75); }
.quiz { max-width: 680px; margin: 0 auto; background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 40px; }
.quiz__progress { display: flex; gap: 8px; margin-bottom: 32px; }
.quiz__dot { flex: 1; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; transition: background .3s; }
.quiz__dot.done { background: var(--mint); }
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 12px; margin-bottom: 20px; }
.choice-btn { padding: 16px 12px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.2); border-radius: var(--radius); color: var(--white); font-size: .9rem; font-weight: 600; cursor: pointer; text-align: center; transition: var(--transition); }
.choice-btn:hover, .choice-btn.selected { background: var(--sage); border-color: var(--sage); }
.choice-btn .choice-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.slider-wrap { margin-bottom: 20px; }
.slider-wrap label { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .9rem; }
.slider-wrap input[type=range] { width: 100%; accent-color: var(--mint); cursor: pointer; }
.slider-val { font-size: 2rem; font-weight: 900; text-align: center; margin-bottom: 12px; }
.quiz select { width: 100%; padding: 12px 16px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.2); border-radius: var(--radius); color: var(--white); font-size: 1rem; margin-bottom: 20px; cursor: pointer; }
.quiz select option { color: #222; background: #fff; }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 24px; }
.quiz__back { background: none; border: 2px solid rgba(255,255,255,.3); color: var(--white); padding: 10px 20px; border-radius: var(--radius); cursor: pointer; font-size: .95rem; transition: var(--transition); }
.quiz__back:hover { background: rgba(255,255,255,.1); }
.quiz__next { background: var(--sage); border: none; color: var(--white); padding: 12px 28px; border-radius: var(--radius); cursor: pointer; font-size: .95rem; font-weight: 700; transition: var(--transition); }
.quiz__next:hover { background: var(--mint); color: var(--forest); }
.quiz__result { display: none; }
.quiz__result.active { display: block; }
.result-card { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.15); }
.result-card h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); margin-bottom: 8px; }
.result-card p { font-size: 1rem; line-height: 1.6; }
.result-saving { font-size: 2.5rem; font-weight: 900; color: var(--mint); text-align: center; margin: 16px 0; }
.capture-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.capture-form input { flex: 1; min-width: 200px; padding: 12px 16px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.2); border-radius: var(--radius); color: var(--white); font-size: 1rem; }
.capture-form input::placeholder { color: rgba(255,255,255,.5); }

/* ════ SMART HOME ════ */
.smarthome { padding: 80px 0; background: var(--surface); }
.smarthome__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.phone-mockup { display: flex; justify-content: center; }
.phone { width: 240px; height: 480px; background: #111; border-radius: 36px; padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.1); position: relative; }
.phone::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 60px; height: 10px; background: #111; border-radius: 5px; z-index: 2; box-shadow: 0 0 0 2px #333; }
.phone__screen { width: 100%; height: 100%; background: linear-gradient(160deg, #0d1a0b, #1a3a1a); border-radius: 28px; padding: 30px 14px 14px; overflow: hidden; }
.phone__app-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.phone__app-title { color: var(--white); font-size: .75rem; font-weight: 700; }
.phone__app-icon { width: 28px; height: 28px; background: var(--sage); border-radius: 50%; }
.air-gauge { background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px; margin-bottom: 12px; text-align: center; }
.air-gauge__val { font-size: 2rem; font-weight: 900; color: var(--mint); }
.air-gauge__label { font-size: .65rem; color: rgba(255,255,255,.6); }
.sensor-row { display: flex; gap: 6px; margin-bottom: 12px; }
.sensor-chip { flex: 1; background: rgba(255,255,255,.06); border-radius: 8px; padding: 8px 6px; text-align: center; color: var(--white); font-size: .6rem; }
.sensor-chip__val { font-size: .9rem; font-weight: 700; color: var(--mint); display: block; }
.fan-speed { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
.fan-speed__label { color: rgba(255,255,255,.7); font-size: .65rem; }
.fan-speed__dots { display: flex; gap: 4px; }
.fan-speed__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); }
.fan-speed__dot.on { background: var(--mint); }
.smarthome__features h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; color: var(--forest); margin-bottom: 32px; line-height: 1.3; }
.feature-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.feature-item__icon { width: 48px; height: 48px; background: rgba(74,124,53,.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.feature-item h4 { font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 4px; }
.feature-item p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ════ HOW WE WORK ════ */
.howwework { padding: 80px 0; background: var(--linen); }
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--sage), var(--mint)); }
.timeline-step { text-align: center; position: relative; }
.timeline-step__num { width: 72px; height: 72px; border-radius: 50%; background: var(--sage); color: var(--white); font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; box-shadow: 0 4px 20px rgba(74,124,53,.3); }
.timeline-step h4 { font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.timeline-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.howwework__cta { text-align: center; margin-top: 48px; }

/* ════ FAQ ════ */
.faq { padding: 80px 0; background: var(--surface); }
.faq__list { max-width: 760px; margin: 48px auto 0; }
.faq-item { background: var(--linen); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item__q { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; font-size: 1rem; font-weight: 600; color: var(--forest); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item__q::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--sage); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; padding: 0 24px; color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-item__a { max-height: 300px; padding: 0 24px 20px; }

/* ════ FOOTER ════ */
.footer { background: var(--forest); color: rgba(255,255,255,.8); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand .logo { margin-bottom: 16px; color: var(--white); }
.footer__brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer__col h5 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer__col a { display: block; font-size: .9rem; padding: 6px 0; color: rgba(255,255,255,.7); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__socials { display: flex; gap: 12px; margin-top: 8px; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); transition: background .2s; }
.social-link:hover { background: var(--sage); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* AI Chat bubble */
.ai-chat-bubble {
  position: fixed; bottom: 100px; right: 80px; width: 280px;
  background: var(--surface); border-radius: var(--radius); padding: 20px;
  box-shadow: 0 12px 50px rgba(30,58,26,.15); display: none; z-index: 901;
}
.ai-chat-bubble.open { display: block; animation: slideUp .3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ai-bubble-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ai-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--forest)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ai-bubble-header h5 { font-size: .9rem; font-weight: 700; color: var(--forest); margin: 0; }
.ai-bubble-header span { font-size: .75rem; color: var(--sage); }
.ai-message { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.ai-quick-btns { display: flex; flex-direction: column; gap: 6px; }
.ai-quick-btn { padding: 8px 12px; background: var(--linen); border: none; border-radius: 12px; font-size: .8rem; cursor: pointer; text-align: left; transition: background .2s; }
.ai-quick-btn:hover { background: rgba(74,124,53,.12); color: var(--forest); }

/* ════ RESPONSIVE ════ */
@media (max-width: 900px) {
  .stats__inner, .co2-inner, .uvc-inner, .threat__grid, .smarthome__inner { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.header-row { display: none; }
  .compare-cell::before { content: attr(data-label); font-weight: 700; color: var(--text-muted); display: block; font-size: .75rem; margin-bottom: 2px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .trust-bar__inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stats__inner { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .timeline { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .quiz { padding: 24px 16px; }
  .hero__btns { flex-direction: column; }
  .ai-chat-bubble { right: 12px; width: calc(100vw - 24px); }
}

/* ════ LEAD MODAL ════ */
.lead-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lead-modal.open { opacity: 1; pointer-events: all; }
.lead-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.lead-modal__box { position: relative; z-index: 1; background: var(--surface); border-radius: var(--radius); padding: 40px 36px; max-width: 440px; width: calc(100% - 32px); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.lead-modal__close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); line-height: 1; padding: 4px 8px; }
.lead-modal__close:hover { color: var(--forest); }
.lead-modal__icon { font-size: 2.4rem; margin-bottom: 12px; }
.lead-modal__title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 800; color: var(--forest); margin-bottom: 8px; }
.lead-modal__sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.lead-modal__context { background: rgba(74,124,53,.08); border-left: 3px solid var(--sage); padding: 10px 14px; border-radius: 8px; margin-bottom: 18px; font-size: .83rem; color: var(--text-muted); line-height: 1.5; }
.lead-modal__input { display: block; width: 100%; padding: 13px 16px; border: 1.5px solid #d0dac8; border-radius: 12px; font-size: 1rem; font-family: inherit; color: var(--text); background: var(--linen); margin-bottom: 12px; transition: border-color .2s; outline: none; }
.lead-modal__input:focus { border-color: var(--sage); background: var(--surface); }
.lead-modal__input.error { border-color: var(--red); }
.lead-modal__consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: .83rem; color: var(--text-muted); cursor: pointer; line-height: 1.45; }
.lead-modal__consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--sage); width: 16px; height: 16px; cursor: pointer; }
.lead-modal__consent a { color: var(--sage); text-decoration: underline; }
.lead-modal__submit { width: 100%; padding: 15px; font-size: 1rem; }
.lead-modal__success { text-align: center; color: var(--sage); font-weight: 700; font-size: 1.05rem; padding: 16px 0 4px; line-height: 1.6; }

/* Price hint in quiz result */
.price-hint { background: rgba(74,124,53,.08); border: 1.5px dashed var(--sage); border-radius: 14px; padding: 14px 20px; margin-bottom: 20px; text-align: center; color: var(--forest); font-size: .95rem; }
.price-hint strong { font-size: 1.2rem; color: var(--sage); }
.price-hint small { color: var(--text-muted); font-size: .8rem; }
.capture-cta-btn { width: 100%; padding: 15px; font-size: 1rem; }

/* Metrika / analytics helper */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ════ HEADER MESSENGER BUTTONS ════ */
.header__wa { display: flex; align-items: center; color: #25D366; margin-left: 0; margin-right: 10px; transition: color .2s; }
.header__wa:hover { color: #128C7E; }
.header__tg { display: flex; align-items: center; color: #2AABEE; margin-right: 10px; transition: color .2s; }
.header__tg:hover { color: #1a8cc0; }
.header__max { display: flex; align-items: center; color: #6B4FBB; margin-right: 10px; transition: color .2s; }
.header__max:hover { color: #5a3fa0; }
/* На мобиле иконки WA/TG/MAX в шапке скрываем — они есть в hero как крупные кнопки */
@media (max-width: 768px) {
  .header__wa, .header__tg, .header__max { display: none; }
}

/* ════ HERO NEXT VISIT ════ */
.hero__next-visit { display: flex; align-items: center; gap: 6px; margin-top: 20px; font-size: .82rem; color: var(--text-muted); }
.hero__next-visit strong { color: var(--sage); }

/* ════ PORTFOLIO ════ */
.portfolio { padding: 80px 0; background: var(--surface); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.portfolio-card { background: var(--linen); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 60px rgba(30,58,26,.12); }
.portfolio-card__img { position: relative; height: 200px; overflow: hidden; }
.portfolio-card__img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card__badge { position: absolute; top: 12px; left: 12px; background: var(--sage); color: var(--white); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.portfolio-card__body { padding: 20px; }
.portfolio-card__body h4 { font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.portfolio-card__body p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.portfolio-card__stats { display: flex; gap: 8px; margin-bottom: 16px; }
.portfolio-stat { flex: 1; background: var(--surface); border-radius: 10px; padding: 8px 6px; text-align: center; font-size: .7rem; color: var(--text-muted); }
.portfolio-stat span { display: block; font-size: 1rem; font-weight: 900; color: var(--sage); margin-bottom: 2px; }
.portfolio-card__cta { width: 100%; padding: 11px; font-size: .88rem; }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ════ ROI CHART ════ */
.roi-chart-wrap { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }

/* ════ INSTALLMENT HINT ════ */
.installment-hint { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(139,175,90,.3); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.installment-hint__left { flex: 1; }
.installment-hint__left strong { font-size: .95rem; color: var(--mint); display: block; margin-bottom: 4px; }
.installment-hint__left p { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0; }
.installment-hint__btn { white-space: nowrap; padding: 10px 18px; font-size: .85rem; border-color: rgba(139,175,90,.5); color: var(--mint); }
.installment-hint__btn:hover { background: var(--sage); border-color: var(--sage); color: var(--white); }
@media (max-width: 600px) { .installment-hint { flex-direction: column; align-items: flex-start; } }

/* ════ FINAL CTA ════ */
.final-cta { background: var(--sage); padding: 60px 0; }
.final-cta__inner { text-align: center; }
.final-cta__inner h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.final-cta__inner p { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.final-cta__btn { background: var(--white); color: var(--sage); font-size: 1.05rem; padding: 16px 40px; }
.final-cta__btn:hover { background: var(--forest); color: var(--white); transform: translateY(-2px); }
