:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-hover: #334155;
  --accent: #38bdf8;
  --accent-hover: #0284c7;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }

/* Навигация */
header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--accent); text-decoration: none; }
nav a { color: var(--text-muted); text-decoration: none; margin-left: 1.5rem; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--accent); }

/* Макет */
.container { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.hero { text-align: center; padding: 4rem 1rem; }
.hero h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem; }

/* Сеть карточек */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.price { font-size: 2rem; font-weight: 700; color: var(--accent); margin: 1rem 0; }

/* Списки характеристик */
.specs { list-style: none; margin-bottom: 1.5rem; color: var(--text-muted); }
.specs li { margin-bottom: 0.5rem; padding-left: 1.2rem; position: relative; }
.specs li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; }

/* Кнопки */
.btn { display: inline-block; background: var(--accent); color: #000; padding: 0.75rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; width: 100%; text-align: center; }
.btn:hover { background: var(--accent-hover); color: #fff; }

/* Формы */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; color: var(--text); }

/* Подвал */
footer { background: var(--surface); border-top: 1px solid var(--border); text-align: center; padding: 2rem; margin-top: 4rem; color: var(--text-muted); }

/* --- Калькулятор тарифов --- */
.calculator-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 850px) {
  .calculator-box { grid-template-columns: 1fr; }
}

.calc-option {
  margin-bottom: 1.8rem;
}

.calc-option label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.val-badge {
  color: var(--accent);
  font-weight: 700;
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg);
  outline: none;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary h3 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.summary-list {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.summary-list span:last-child {
  color: var(--text);
  font-weight: 500;
}

.total-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.price-hourly {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

