:root {
  --bg: #0b0e14;
  --bg-card: #131822;
  --bg-soft: #1a2130;
  --text: #f3f5f8;
  --muted: #9aa5b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #252e40;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.5px; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 20px; font-size: 0.95rem; color: var(--muted); }
.nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone { font-weight: 700; font-size: 0.98rem; white-space: nowrap; }
.burger { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 1.4rem; padding: 4px 10px; border-radius: 8px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: 0.96rem;
  transition: 0.2s; cursor: pointer; border: none;
}
.btn-sm { padding: 9px 16px; font-size: 0.88rem; background: var(--accent); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); }
.btn-full { width: 100%; }

/* Hero */
.hero, .page-hero { padding: 64px 0; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(59, 130, 246, 0.15); color: #60a5fa;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 16px;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.18; margin-bottom: 18px; }
.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.hero-stats strong { display: block; font-size: 1.35rem; color: #60a5fa; }
.hero-stats span { font-size: 0.85rem; color: var(--muted); }
.breadcrumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: #60a5fa; }

/* Sections & Cards */
.section { padding: 72px 0; }
.section-dark { background: #080a0f; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-accent { background: linear-gradient(135deg, #111827 0%, #1e293b 100%); border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; height: 210px; object-fit: cover; border-radius: 0; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.specs { list-style: none; margin-bottom: 20px; font-size: 0.88rem; color: #cbd5e1; }
.specs li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.specs li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }
.card-footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.price { font-weight: 700; color: #60a5fa; }
.link-arrow { font-weight: 600; font-size: 0.94rem; }
.link-arrow:hover { color: #60a5fa; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.portfolio-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.portfolio-item img { width: 100%; height: 190px; object-fit: cover; border-radius: 0; }
.portfolio-info { padding: 20px; }
.tag { display: inline-block; font-size: 0.78rem; color: #60a5fa; background: rgba(59,130,246,0.14); padding: 4px 10px; border-radius: 6px; margin-bottom: 8px; }
.portfolio-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.portfolio-info p { font-size: 0.9rem; color: var(--muted); }

/* Price Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.price-table { width: 100%; border-collapse: collapse; background: var(--bg-card); min-width: 600px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--bg-soft); font-size: 0.92rem; color: #cbd5e1; }
.price-table td { font-size: 0.95rem; }

/* SEO & Form */
.seo-block h2 { font-size: 1.65rem; margin-bottom: 16px; }
.seo-block p { color: var(--muted); margin-bottom: 14px; max-width: 920px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; padding-left: 24px; position: relative; }
.check-list li::before { content: "✓"; color: #34d399; position: absolute; left: 0; font-weight: bold; }
.lead-form { background: var(--bg-card); padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.lead-form h3 { margin-bottom: 4px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.88rem; }
.checkbox-group label { background: var(--bg-soft); padding: 6px 10px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.lead-form input[type="text"], .lead-form input[type="tel"] {
  width: 100%; padding: 13px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 0.96rem;
}
.form-note { font-size: 0.8rem; color: var(--muted); }

/* Footer */
.footer { padding: 52px 0; border-top: 1px solid var(--border); background: #07090d; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer h4 { margin-bottom: 12px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li, .footer p { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.footer a:hover { color: var(--text); }

/* Mobile Responsive */
@media (max-width: 960px) {
  .hero-grid, .calc-grid, .footer-grid { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav {
    display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-card); padding: 20px; border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .header-cta .phone { display: none; }
}
