:root {
  --bg-dark: #111827;
  --bg-card: #1f2937;
  --accent: #3b82f6; /* Яркий синий */
  --accent-hover: #2563eb;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: #374151;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg-dark); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Header */
.header { background: rgba(17, 24, 39, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); padding: 15px 0; }
.header__flex { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.4rem; font-weight: 800; letter-spacing: -1px; }
.brand span { color: var(--accent); }
.desk-nav { display: flex; gap: 25px; align-items: center; }
.desk-nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.desk-nav a:hover { color: var(--accent); }
.btn-sm { border: 1px solid var(--border); padding: 8px 16px; border-radius: 6px; color: var(--text-main); }
.btn-sm:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero-dark { padding: 100px 0 80px; text-align: center; background: radial-gradient(circle at center, #1e3a8a 0%, var(--bg-dark) 70%); }
.hero-dark h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.highlight { color: var(--accent); }
.hero-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px; }
.btn-glow { background: var(--accent); color: white; padding: 16px 32px; border-radius: 8px; font-weight: 600; box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); border: none; cursor: pointer; display: inline-block; }
.btn-glow:hover { background: var(--accent-hover); transform: translateY(-2px); }
.link-arrow { margin-left: 20px; color: var(--text-muted); font-weight: 500; display: inline-block; }
.link-arrow:hover { color: white; }

/* Sections General */
.dark-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.light-section { padding: 80px 0; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 50px; }
h2 { font-size: 2rem; margin-bottom: 10px; color: white; }
.section-header p { color: var(--text-muted); }

/* Problems Grid */
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.prob-item { background: var(--bg-card); padding: 20px; border-radius: 8px; border: 1px solid var(--border); font-weight: 500; transition: 0.2s; }
.prob-item:hover { border-color: var(--accent); color: var(--accent); }

/* Masonry Grid for Works */
.masonry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.m-item { position: relative; height: 250px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.m-item .cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, black, transparent); padding: 20px; font-weight: 600; }

/* Guarantees */
.guarantee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.g-card { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border); text-align: center; }
.g-icon { font-size: 2.5rem; margin-bottom: 15px; }
.g-card h3 { margin-bottom: 10px; color: white; }
.g-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Price List Modern */
.price-list-modern { max-width: 700px; margin: 0 auto; }
.pl-row { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.pl-row b { color: var(--text-main); font-weight: 600; }
.pl-row span { color: var(--accent); font-weight: 700; }

/* FAQ */
.narrow { max-width: 800px; }
.faq-box { margin-top: 40px; }
.faq-q { background: var(--bg-card); padding: 20px; border-radius: 8px; margin-bottom: 10px; font-weight: 600; border: 1px solid var(--border); cursor: default; }
.faq-a { padding: 0 20px 20px; color: var(--text-muted); font-size: 0.95rem; border-bottom: 1px solid var(--border); margin-bottom: 20px; }

/* Form Section */
.form-section { padding: 100px 0; background: var(--bg-dark); }
.form-wrapper { max-width: 500px; margin: 0 auto; text-align: center; }
.modern-form { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.modern-form input, .modern-form textarea { background: var(--bg-card); border: 1px solid var(--border); padding: 16px; border-radius: 8px; color: white; font-size: 1rem; }
.modern-form input:focus, .modern-form textarea:focus { outline: none; border-color: var(--accent); }
.full-w { width: 100%; }
.form-status { margin-top: 10px; color: var(--text-muted); font-size: 0.9rem; }

/* Footer */
.footer-minimal { padding: 40px 0; text-align: center; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
  .desk-nav { display: none; }
  .hero-dark h1 { font-size: 2.2rem; }
  .link-arrow { display: block; margin: 20px 0 0; }
  .guarantee-grid, .problems-grid { grid-template-columns: 1fr; }
}