/* ═══════════════════════════════════════════════════
   LKTP Theme — main.css
   Шрифт: Inter 4.1 (SIL OFL 1.1), официальный файл InterVariable.woff2 из выпуска автора
   (github.com/rsms/inter/releases/tag/v4.1) без изменений, лицензия — assets/fonts/OFL.txt
   Иконки: Font Awesome Free 5.15.4 (CC BY 4.0), встроенные SVG — см. THIRD-PARTY-NOTICES.md
═══════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/InterVariable.woff2) format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #ffffff;
  --bg-white:   #ffffff;
  --bg-panel:   #f0f1f7;
  --accent:     #1657c9;
  --accent-lo:  rgba(22,87,201,0.08);
  --accent-mid: rgba(22,87,201,0.22);
  --accent-dk:  #0f3f97;
  --accent2:    #0891A8;
  --accent2-lo: rgba(8,145,168,0.08);
  --border:     #e3e4ef;
  --border-hi:  #c9cade;
  --text:       #17182c;
  --text-sec:   #585970;
  --text-mute:  #9899b5;
  --green:      #22c55e;
  --sans:       'Inter', system-ui, sans-serif;
  --mono:       var(--sans);
  --r:          7px;
  --r-lg:       8px;
  --shadow:     0 1px 3px rgba(23,24,44,0.07), 0 1px 2px rgba(23,24,44,0.04);
  --shadow-md:  0 4px 20px rgba(23,24,44,0.09), 0 1px 4px rgba(23,24,44,0.04);
  --max:        1600px;
  --px:         clamp(20px, 5vw, 64px);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── UTILS ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }
.section-pad { padding: 60px var(--px); max-width: var(--max); margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0 var(--px); }
.hero-bridge { padding: 0 var(--px); max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.hero-bridge-card {
  background: var(--accent); border: 1px solid var(--accent); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 36px; margin-top: -46px;
}
.hero-bridge-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap;
}
.hero-bridge-item svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
@media (max-width: 1000px) {
  .hero-bridge-card { flex-wrap: wrap; gap: 18px 28px; justify-content: center; padding: 22px 24px; }
}
@media (max-width: 560px) {
  .hero-bridge-card { flex-direction: column; align-items: flex-start; margin-top: -24px; }
}

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 16px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
}
.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 14px;
  max-width: 780px;
}
.section-title .ac { color: var(--accent); }
.section-sub {
  font-size: 16px; color: var(--text-sec);
  max-width: 560px; line-height: 1.7; margin-bottom: 52px;
}

/* Точечный вариант оформления шапки секции: по центру */
.section-head-center { text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-title,
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-head-center .section-title { max-width: 680px; }
.section-head-center .section-sub { max-width: 560px; }
.pricing-bg .section-head-center .section-title { max-width: 820px; }
.pricing-bg .section-head-center .section-sub { max-width: 760px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-weight: 500;
  border: none; cursor: pointer; border-radius: var(--r);
  transition: all 0.16s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; padding: 12px 28px; font-size: 15px; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--text-sec); border: 1.5px solid var(--border-hi); padding: 11px 26px; font-size: 15px; }
.btn-ghost:hover { border-color: var(--accent-mid); color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-light { background: #fff; color: var(--text); padding: 12px 28px; font-size: 15px; }
.btn-light:hover { background: var(--bg-panel); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); padding: 11px 26px; font-size: 15px; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── CTA-РАЗБАВИТЕЛЬ МЕЖДУ БЛОКАМИ ── */
.cta-divider {
  background: var(--accent);
  padding: 48px var(--px);
  margin: 8px 0 0;
  text-align: center;
}
.cta-divider-inner { max-width: 540px; margin: 0 auto; }
.cta-divider-inner h3 { font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.cta-divider-inner p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 26px; }
@media (max-width: 560px) {
  .cta-divider { padding: 36px var(--px); }
  .cta-divider .btn-primary { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--px);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { display: block; height: 50px; width: auto; }

.nav-menu { display: flex; gap: 0; list-style: none; }
.nav-menu a {
  display: block; padding: 8px 14px;
  font-size: 14px; color: var(--text-sec);
  transition: color 0.14s;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-contact {
  display: flex; align-items: center; gap: 18px;
  padding-right: 20px; margin-right: 2px;
  border-right: 1px solid var(--border);
}
.nav-contact-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; transition: color 0.14s;
}
.nav-contact-item svg { width: 13px; height: 13px; fill: var(--accent); flex-shrink: 0; transition: fill 0.14s; }
.nav-contact-item:hover { color: var(--accent); }
.nav-contact-item:hover svg { fill: var(--accent); }
.nav-mobile-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.nav-mobile-contact a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-sec); }
.nav-mobile-contact a svg { width: 14px; height: 14px; fill: var(--text-mute); flex-shrink: 0; }

.nav-quick-mobile { display: none; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; }
.nav-quick-mobile a {
  font-size: 11.5px; font-weight: 600; color: var(--text);
  line-height: 1.35; white-space: nowrap;
}
.nav-quick-mobile a:last-child { color: var(--text-sec); font-weight: 500; }

/* Mobile burger */
.nav-burger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px;
  flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--px) 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; margin-bottom: 16px; }
.nav-mobile ul li a { display: block; padding: 10px 0; font-size: 15px; color: var(--text-sec); border-bottom: 1px solid var(--border); }
.nav-mobile .nav-actions { flex-direction: column; }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero-section {
  padding-top: 108px;
  background: linear-gradient(180deg, #e5edfb 0%, #eef2fb 55%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; top: -180px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,87,201,0.16), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--px) 88px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  flex-shrink: 0;
}
.hero-h1 {
  font-size: clamp(28px, 4vw, 41px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--text);
  margin-bottom: 20px;
}
.hero-h1 .ac { color: var(--accent); }
.hero-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 20px; }
.hero-badge { font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 5px 11px; border-radius: 5px; }
.hero-badge-cold   { background: rgba(37,99,235,0.1); color: #1d4ed8; }
.hero-badge-hot    { background: rgba(220,38,38,0.1); color: #dc2626; }
.hero-badge-sewage { background: var(--accent2-lo); color: var(--accent2); }
.hero-badge-heat   { background: rgba(217,119,6,0.1); color: #b45309; }
.hero-sub { font-size: 17px; color: var(--text-sec); line-height: 1.7; margin-bottom: 38px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-mute);
}
.hero-proof-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* UI Mockup */
.hero-mockup-wrap { position: relative; min-width: 0; }
.hero-text { min-width: 0; }
.hero-photo {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.hero-float-chip {
  position: absolute; left: -28px; bottom: -24px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 14px 18px;
}
.hero-float-chip-n { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1; }
.hero-float-chip-l { font-size: 11px; color: var(--text-sec); line-height: 1.35; }
.hero-float-chip .hero-float-chip-l { max-width: 120px; }
.hero-float-toast {
  position: absolute; right: -20px; top: -20px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-md); padding: 11px 16px;
}
.hero-float-toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }
.hero-float-toast-title { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.hero-float-toast-sub { font-family: var(--mono); font-size: 10.5px; color: var(--text-mute); margin-top: 2px; }
@media (max-width: 1024px) {
  .hero-float-chip { left: 16px; bottom: -20px; }
  .hero-float-toast { right: 16px; top: -16px; }
}

/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
.features-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin-bottom: 52px; }
.features-head-text { flex: 1; min-width: 0; }
.features-head-picks { display: flex; flex-direction: row; gap: 16px; width: 728px; flex-shrink: 0; }
.features-head-picks .feat-card-sm { flex: 1; }
@media (max-width: 900px) {
  .features-head { flex-direction: column; gap: 24px; }
  .features-head-picks { width: 100%; flex-direction: row; }
  .features-head-picks .feat-card-sm { flex: 1; }
}
@media (max-width: 560px) {
  .features-head-picks { flex-direction: column; }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feat-note {
  grid-column: span 2;
  display: flex; align-items: center;
  padding: 28px 30px;
  background: var(--bg-panel);
  border-radius: var(--r-lg);
}
.feat-note p { font-size: 14px; color: var(--text-sec); line-height: 1.75; }
.feat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.feat-card:hover { border-color: var(--accent-mid); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat-card:not(.featured):not(.feat-card-sm):hover .feat-icon { background: var(--accent); }
.feat-card:not(.featured):not(.feat-card-sm):hover .feat-icon svg { fill: #fff; }
.feat-card-link { display: block; text-decoration: none; position: relative; }
.feat-card-more { font-size: 13px; color: var(--accent); font-weight: 500; margin-top: 12px; }
.feat-card.featured {
  grid-column: span 2;
  background: var(--accent-lo);
  border-color: var(--accent-mid);
}
.feat-card.featured .feat-icon { background: var(--bg-white); width: 52px; height: 52px; }
.feat-card.featured .feat-icon svg { width: 22px; height: 22px; }
.feat-card.featured .feat-title { font-size: 18px; }
.feat-card.featured:hover .feat-icon,
.feat-card-sm:hover .feat-icon { background: var(--bg-white); box-shadow: 0 0 0 3px var(--accent-mid); }
.feat-card.featured:hover .feat-icon svg,
.feat-card-sm:hover .feat-icon svg { fill: var(--accent); }
.feat-card-sm {
  background: var(--accent-lo);
  border-color: var(--accent-mid);
}
.feat-card-sm .feat-icon { background: var(--bg-white); }
.feat-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--bg-panel);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background 0.18s, box-shadow 0.18s;
}
.feat-icon svg { width: 18px; height: 18px; fill: var(--accent); transition: fill 0.18s; }
.feat-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.feat-desc { font-size: 14px; color: var(--text-sec); line-height: 1.65; }
/* После базовых правил: иначе span 2 у .featured/.feat-note перебивает мобильную сетку */
@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .feat-note { grid-column: span 2; } }
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feat-card.featured, .feat-note { grid-column: span 1; }
  .feat-card, .feat-note { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════
   FULL FEATURE INVENTORY
═══════════════════════════════════════════════ */
.panel-bg { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-cat { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow); }
.feature-cat + .feature-cat { margin-top: 14px; }
.feature-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.feature-cat-head h3 { font-size: 18px; font-weight: 600; color: var(--text); }
.feature-cat-tag {
  font-family: var(--mono); font-size: 11px; color: var(--accent-dk);
  background: var(--bg-panel); padding: 3px 10px; border-radius: 6px; white-space: nowrap;
}
.feature-list-full { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 28px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 700px) { .feature-list-full { grid-template-columns: 1fr; } }
.feature-list-full li { position: relative; padding-left: 20px; color: var(--text-sec); font-size: 14px; line-height: 1.5; }
.feature-list-full li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.how-grid > * { min-width: 0; }
.how-photo {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.how-photo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.how-photo-stat {
  background: var(--accent); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 16px 18px;
}
.how-photo-stat .hero-float-chip-n { color: #fff; }
.how-photo-stat .hero-float-chip-l { margin-top: 4px; color: rgba(255,255,255,0.85); }
@media (max-width: 560px) {
  .how-photo-stats { grid-template-columns: 1fr; }
}
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 23px; top: 48px; bottom: -4px;
  width: 1px; background: var(--border);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--border-hi); background: var(--bg-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 500; flex-shrink: 0;
}
.step-body { padding-bottom: 32px; }
.step-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--text-sec); line-height: 1.65; }


/* ═══════════════════════════════════════════════
   ROLES
═══════════════════════════════════════════════ */
.roles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.role-card {
  position: relative; overflow: hidden;
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 32px;
}
.role-card::before {
  content: attr(data-num); position: absolute; top: 6px; right: 18px;
  font-family: var(--mono); font-size: 64px; font-weight: 700;
  color: var(--accent-lo); line-height: 1; z-index: 0; pointer-events: none;
}
.role-tag, .role-title, .role-sub, .role-list { position: relative; z-index: 1; }
.role-tag {
  display: inline-block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 11px; border-radius: 5px; margin-bottom: 14px;
  background: var(--bg-panel); color: var(--accent-dk); border: 1px solid var(--border);
}
.role-title { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.role-sub { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; }
.role-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.role-list li { font-size: 14px; color: var(--text-sec); display: flex; gap: 9px; align-items: flex-start; }
.role-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }


/* ═══════════════════════════════════════════════
   USP
═══════════════════════════════════════════════ */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 32px; }
@media (max-width: 1024px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .usp-grid { grid-template-columns: 1fr; } }
.usp-card { border-left: 2px solid var(--accent); padding: 4px 0 20px 18px; }
.usp-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.usp-desc { font-size: 13.5px; color: var(--text-sec); line-height: 1.6; }


/* ═══════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════ */
.pricing-bg { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-bg { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.plan { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.plan-badge-wrap { height: 28px; margin-bottom: 12px; }
.plan-badge-label {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 3px 11px; border-radius: 4px;
  background: var(--accent); color: #fff;
}
.plan-badge-label.outline {
  background: var(--bg-panel); color: var(--accent-dk);
  border: 1px solid var(--border);
  font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px;
}
.plan-name { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.plan-desc { font-size: 14px; color: var(--text-sec); margin-bottom: 24px; line-height: 1.6; }
.plan-price-row { margin-bottom: 6px; }
.plan-price-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-mute); margin-bottom: 3px; }
.plan-price { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--text); line-height: 1; }
.plan-price-note { font-size: 12px; color: var(--text-mute); margin-bottom: 22px; }
/* Шаги оплаты: ① внедрение (разово) → ② сопровождение */
.plan-step { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.plan-step-num {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
}
.plan-step-hint { font-size: 12px; font-weight: 400; color: var(--text-mute); }
.plan-install {
  background: var(--bg-panel); border-radius: var(--r);
  padding: 14px 16px 16px; margin-bottom: 22px;
}
.plan-install .plan-price { font-size: 30px; }

/* Сопровождение: выбор оплаты прямо в карточке тарифа */
.plan-support-price { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.2; margin-top: 2px; }
.sup-choice { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; }
.sup-opt {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--r); padding: 10px 14px;
  background: var(--bg-white); transition: border-color 0.15s, background 0.15s;
}
.sup-opt:hover { border-color: var(--accent-mid); }
.sup-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-lo); }
.sup-opt input { appearance: none; -webkit-appearance: none; flex-shrink: 0; margin: 0;
  width: 18px; height: 18px; border: 2px solid var(--border-hi); border-radius: 50%; background: #fff; cursor: pointer; }
.sup-opt input:checked { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, #fff 4.5px); }
.sup-opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sup-opt-body { display: flex; flex-direction: column; min-width: 0; }
.sup-opt-price { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.25; }
.sup-opt-note { font-size: 12px; color: var(--text-mute); }
.plan-saving { color: #15803d; font-weight: 600; }
.plan-vat { font-size: 12px; color: var(--text-mute); margin-top: 8px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-features li { font-size: 14px; color: var(--text-sec); display: flex; gap: 9px; align-items: flex-start; }
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.plan-features li.dim::before { content: '–'; color: var(--text-mute); }
.plan-features li.dim { color: var(--text-mute); }
.plan-btn {
  display: block; box-sizing: border-box; text-align: center; text-decoration: none;
  margin-top: 24px; width: 100%; padding: 12px;
  border-radius: var(--r); font-size: 14px; font-weight: 500;
  cursor: pointer; border: 1.5px solid var(--border-hi);
  background: transparent; color: var(--text);
  font-family: var(--sans); transition: all 0.15s;
}
.plan-btn:hover { border-color: var(--accent-mid); color: var(--accent); }
.plan.featured .plan-btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.plan.featured .plan-btn:hover { background: var(--accent-dk); }
.pricing-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--text-mute); }


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
}
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-mute); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-owner { flex-basis: 100%; font-size: 12px; color: var(--text-mute); line-height: 1.6; }
.footer-owner a { color: inherit; }
.footer-legal-link { font-size: 13px; color: var(--text-mute); text-decoration: underline; }
button.footer-legal-link { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.footer-legal-link:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   STANDARD PAGE (О компании и т.п.)
═══════════════════════════════════════════════ */
.page-wrap { max-width: var(--max); margin: 0 auto; padding: 76px var(--px) 56px; }
.page-header { max-width: 760px; margin: 0 auto 24px; }
.page-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.25; }
.page-thumb { max-width: 760px; margin: 0 auto 36px; border-radius: var(--r-lg); overflow: hidden; }
.page-content { max-width: 760px; margin: 0 auto; font-size: 16px; color: var(--text-sec); line-height: 1.8; }

.about-intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-facts { display: grid; gap: 20px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; }
.about-fact { display: flex; align-items: flex-start; gap: 14px; }
.about-fact .feat-icon { margin-bottom: 0; flex-shrink: 0; }
.about-fact-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.about-fact-desc { font-size: 13px; color: var(--text-sec); line-height: 1.5; }
@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; }
}
.page-content h2, .page-content h3 { color: var(--text); margin: 32px 0 14px; font-weight: 600; line-height: 1.3; }
.page-content h2 { font-size: 20px; }
.page-content h3 { font-size: 17px; }
.page-content p { margin-bottom: 18px; }
.page-content ul, .page-content ol { margin: 0 0 18px 20px; }
.page-content a { color: var(--accent); text-decoration: underline; }

/* ═══════════════════════════════════════════════
   CONTACTS
═══════════════════════════════════════════════ */
.contacts-panel-bg { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contacts-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contacts-pitch-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.contacts-pitch-item { display: flex; align-items: flex-start; gap: 12px; }
.contacts-pitch-item .feat-icon { margin-bottom: 0; flex-shrink: 0; background: var(--bg-panel); }
.contacts-pitch-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mute); margin-bottom: 3px; }
.contacts-pitch-value { font-size: 14px; color: var(--text); font-weight: 500; }
a.contacts-pitch-item:hover .contacts-pitch-value { color: var(--accent); }
.contacts-note {
  margin-top: 32px; padding: 24px 26px 24px 24px;
  background: var(--bg-panel); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.contacts-note p { font-size: 14px; color: var(--text-sec); line-height: 1.75; }
.contacts-logo { display: block; height: 44px; width: auto; margin-top: 28px; }
.contacts-form-solo {
  width: 100%; text-align: left;
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px;
}
@media (max-width: 960px) {
  .contacts-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contacts-pitch-list { grid-template-columns: 1fr; }
}
.contacts-form-solo .wpcf7-form p { margin-bottom: 16px; font-size: 13px; color: var(--text-sec); }
.contacts-form-solo .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contacts-form-solo .form-row-2 p { margin-bottom: 16px; }
.contacts-form-solo .form-label-sm { font-size: 15px; color: var(--text); font-weight: 500; margin-bottom: 10px; }
@media (max-width: 560px) {
  .contacts-form-solo .form-row-2 { grid-template-columns: 1fr; }
}
.contacts-form-solo .hidden-fields-container { display: none; }
.contacts-form-solo .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not(.wpcf7-checkbox):not(.wpcf7-acceptance) {
  font: inherit; font-size: 15px; padding: 11px 14px; width: 100%;
  border: 1px solid var(--border-hi); border-radius: var(--r);
  background: var(--bg); color: var(--text); resize: vertical;
}
.contacts-form-solo .wpcf7-form-control:focus { outline: none; border-color: var(--accent); }
.contacts-form-solo textarea.wpcf7-form-control { height: 110px; }
.contacts-form-solo .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--text-sec); }
.contacts-form-solo .wpcf7-acceptance input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.contacts-form-solo .wpcf7-acceptance a { color: var(--accent); text-decoration: underline; }
.contacts-form-solo .wpcf7-list-item { margin: 0; flex: 1; }
.contacts-form-solo .wpcf7-checkbox label { display: block; width: 100%; }
.contacts-form-solo .wpcf7-checkbox { display: flex; gap: 8px; }
.contacts-form-solo .wpcf7-checkbox .wpcf7-list-item-label {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; box-sizing: border-box;
  padding: 11px 14px; border: 1.5px solid var(--border-hi); border-radius: var(--r);
  background: var(--bg-white);
  font-size: 13px; color: var(--text-sec); cursor: pointer; transition: all 0.14s;
  text-align: center;
}
@media (max-width: 640px) {
  .contacts-form-solo .wpcf7-checkbox { flex-wrap: wrap; }
  .contacts-form-solo .wpcf7-list-item { flex: 1 1 auto; }
}
.contacts-form-solo .wpcf7-checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.contacts-form-solo .wpcf7-checkbox label:has(input:checked) .wpcf7-list-item-label {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.contacts-form-solo .wpcf7-submit {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  background: var(--accent); color: #fff; padding: 12px 28px;
  border: none; border-radius: var(--r); cursor: pointer; transition: all 0.16s;
}
.contacts-form-solo .wpcf7-submit:hover { background: var(--accent-dk); }
.contacts-form-solo .wpcf7-spinner { margin-left: 8px; }
.contacts-form-solo .wpcf7-not-valid-tip { color: #b91c1c; font-size: 12px; margin-top: 4px; }
.contacts-form-solo .wpcf7-response-output {
  padding: 14px 18px; border-radius: var(--r); font-size: 14px; margin-top: 16px;
}
/* Поле-ловушка для ботов: убрано с экрана, но не display:none — некоторые боты такие поля пропускают */
.lktp-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* CF7 показывает пустую рамку, как только форма выходит из состояния init (например, при выборе тарифа) */
.contacts-form-solo .wpcf7-response-output:empty { display: none; }
.contacts-form-solo form.sent .wpcf7-response-output { background: rgba(34,197,94,0.1); color: #15803d; border-color: rgba(34,197,94,0.3) !important; }
.contacts-form-solo form.failed .wpcf7-response-output,
.contacts-form-solo form.aborted .wpcf7-response-output,
.contacts-form-solo form.spam .wpcf7-response-output { background: rgba(239,68,68,0.1); color: #b91c1c; border-color: rgba(239,68,68,0.3) !important; }
.contacts-form-solo form.invalid .wpcf7-response-output { background: rgba(239,68,68,0.1); color: #b91c1c; border-color: rgba(239,68,68,0.3) !important; }
@media (max-width: 600px) {
  .contacts-form-solo { padding: 24px; }
}

/* ═══════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 999;
  max-width: 300px;
  background: var(--text); color: #fff;
  border-radius: var(--r); box-shadow: var(--shadow-md);
  padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 10px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner:not([hidden]) { display: flex; }
.cookie-banner p { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); background: transparent; }
.cookie-banner .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}
/* Шапка: логотип не сжимается; по мере сужения убираем телефон/почту, уплотняем меню, затем — бургер */
@media (max-width: 1400px) {
  .nav-actions > .nav-contact { display: none; }
}
@media (max-width: 1180px) {
  .nav-menu a { padding: 8px 10px; }
}
@media (max-width: 1080px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav-quick-mobile { display: flex; }
}
@media (max-width: 768px) {
  :root { --px: 20px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; }
  .roles-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
