:root {
  --c1:#0e6b3a;
  --c2:#0f8057;
  --accent:#ffb300;
  --accent-text:#1b1b1b;
  --bg:#f8fafc;
  --text:#202124;
  --muted:#6b7280;
  --danger:#b91c1c;
}
*{box-sizing:border-box}
body{
  margin:0;
  font:16px/1.6 'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{color:var(--c2);text-decoration:none}
a:hover{text-decoration:underline}
header{
  position:sticky;
  top:0;
  z-index:10;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
}
.wrap{max-width:1160px;margin:0 auto;padding:16px}
.header-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.header-nav{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  font-size:14px;
}
.hero{
  padding:44px 0;
  background:linear-gradient(135deg,#fff,#f1faf4);
}
.grid{display:grid;gap:16px}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:0;
  border-radius:10px;
  padding:14px 18px;
  cursor:pointer;
  font-weight:700;
  letter-spacing:.2px;
  font-size:15px;
}
.btn.primary{
  background:var(--accent);
  color:var(--accent-text);
  box-shadow:0 6px 0 rgba(0,0,0,.12);
}
.btn.primary:hover{filter:brightness(0.98)}
.btn.secondary{
  background:#fff;
  color:var(--c2);
  border:2px solid var(--c2);
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e5e7eb;
  font-size:13px;
}
h1{
  font-size:40px;
  line-height:1.15;
  margin:12px 0 8px;
  letter-spacing:-.02em;
}
h2{font-size:28px;margin:0 0 12px}
h3{margin:0 0 8px}
.note{color:var(--muted);font-size:14px}
.card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:22px;
}
.panel{
  background:#0b1f16;
  color:#e2e8f0;
  border-radius:12px;
  padding:10px 14px;
  font-size:14px;
}
.trust-line{
  margin-top:8px;
  font-size:13px;
  color:var(--muted);
}
.social-proof{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
}
.social-proof span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  background:#ecfdf3;
  border:1px solid #bbf7d0;
  color:#166534;
}
table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
}
th,td{
  padding:12px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  vertical-align:top;
  font-size:14px;
}
th{background:#f6f7f9;font-weight:600}
.price{
  font-weight:800;
  font-size:18px;
  white-space:nowrap;
}
.badge{
  display:inline-block;
  background:#e8fff3;
  border:1px solid #a7f3d0;
  color:#065f46;
  border-radius:8px;
  padding:4px 8px;
  font-size:12px;
}
.badge-recommend{
  display:inline-block;
  background:#fef9c3;
  color:#854d0e;
  border-radius:999px;
  padding:3px 8px;
  font-size:11px;
  font-weight:600;
  margin-left:6px;
}
footer{
  background:#0b1f16;
  color:#cbd5e1;
  padding:24px 0 32px;
  margin-top:32px;
}
footer a{color:#cbd5e1}
.illu{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:16px;
  box-shadow:inset 0 0 0 1px #e5e7eb;
  min-height:260px;
}
.hero-grid{display:grid;gap:24px}
@media(min-width:980px){
  .hero-grid{grid-template-columns:1.2fr .8fr;}
}

/* Тарифы: мобильная версия */
.desktop-table{display:table}
.mobile-cards{display:none}
@media (max-width: 720px){
  .wrap{padding:12px}
  h1{font-size:30px}
  .header-wrap{flex-wrap:nowrap}
  .header-nav{
    flex:1;
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .header-nav::-webkit-scrollbar{display:none}
  .desktop-table{display:none}
  .mobile-cards{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:8px;
  }
  .mobile-cards .price{
    font-size:clamp(16px,5vw,18px);
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
}

/* Форма */
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
.form-grid label{
  font-size:14px;
  font-weight:500;
}
.form-input{
  width:100%;
  padding:12px;
  margin-top:4px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  font:inherit;
}
.form-input:focus{
  outline:2px solid #0f8057;
  outline-offset:1px;
  border-color:#0f8057;
}
.form-hint{font-size:13px;color:var(--muted);margin-top:6px}
.form-error{font-size:13px;color:var(--danger);margin-top:6px}
.calc-type{
  display:inline-flex;
  border-radius:999px;
  background:#e5e7eb;
  padding:3px;
  margin:10px 0 6px;
}
.ctab{
  border:0;
  background:transparent;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
  color:#4b5563;
}
.ctab-active{
  background:#fff;
  color:#111827;
  font-weight:600;
  box-shadow:0 0 0 1px #d1d5db;
}
.calc-hint{font-size:13px;color:var(--muted);margin-bottom:6px}

/* FAQ аккордеон */
.faq-item{
  border-bottom:1px solid #e5e7eb;
  padding:10px 0;
  cursor:pointer;
}
.faq-question{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:8px;
}
.faq-question span{font-weight:600}
.faq-sign{font-size:18px;color:#9ca3af;}
.faq-answer{
  display:none;
  margin-top:6px;
  color:#4b5563;
}
.faq-item.active .faq-answer{display:block}
.faq-item.active .faq-sign{transform:rotate(45deg);}

/* Модалка статуса формы */
.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:60;
}
.modal-window{
  max-width:420px;
  width:100%;
  background:#fff;
  border-radius:14px;
  padding:20px 22px;
  box-shadow:0 18px 40px rgba(15,23,42,.25);
}
.modal-window h3{margin-top:0;margin-bottom:6px}
.modal-window p{margin:6px 0 14px}
.modal-window .btn{padding:10px 16px;font-size:14px}

/* Мобильная липкая панель */
.mobile-sticky{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:#ffffff;
  border-top:1px solid #e5e7eb;
  display:flex;
  justify-content:space-around;
  padding:8px;
  gap:6px;
  z-index:80;
}
.mobile-sticky a{
  flex:1;
  text-align:center;
  padding:10px 8px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}
.mobile-sticky a.ms-primary{
  background:#0f8057;
  color:#fff;
}
.mobile-sticky a.ms-secondary{
  background:#0b1f16;
  color:#e5e7eb;
}
.mobile-sticky a.ms-outline{
  border:1px solid #0f8057;
  color:#0f8057;
  background:#fff;
}
@media(min-width:720px){
  .mobile-sticky{display:none}
}

.small-note{font-size:12px;color:var(--muted);}
