:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #d97706;
  --brand-dark: #b45309;
  --ok: #047857;
  --danger: #b91c1c;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  --radius: 20px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.topbar {
  background: var(--surface-2);
  color: #fff;
  font-size: 14px;
}
.topbar .inner, .navbar .inner, .footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar .inner { min-height: 44px; }
.topbar a { color: #fff; opacity: .92; }
.navbar {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px);
  background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(229,231,235,.8);
}
.navbar .inner { min-height: 78px; }
.brand { font-weight: 800; letter-spacing: .2px; font-size: 22px; }
.brand span { color: var(--brand); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: 14px; font-weight: 700; border: 1px solid transparent;
  transition: .2s ease; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--text); }
.btn-secondary:hover { border-color: #d1d5db; transform: translateY(-1px); }
.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 85% 10%, rgba(217,119,6,.14), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
}
.hero-grid, .grid-2, .grid-3, .grid-4, .stats, .cards, .case-grid, .pricing-grid, .blog-grid {
  display: grid; gap: 24px;
}
.hero-grid, .grid-2 { grid-template-columns: 1.15fr .85fr; }
.grid-3, .cards, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.grid-4, .stats { grid-template-columns: repeat(4, 1fr); }
.case-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
.eyebrow {
  display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #fff3e6;
  color: var(--brand-dark); font-weight: 700; font-size: 14px; margin-bottom: 18px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 24px; }
p.lead { font-size: 20px; color: var(--muted); margin-bottom: 24px; }
.muted { color: var(--muted); }
.hero-card, .card, .service-card, .stat, .checklist, .case, .price-card, .faq-item, .article-card, .contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { padding: 26px; }
.card, .service-card, .case, .price-card, .article-card, .contact-card { padding: 26px; color: var(--text); }
.stat { padding: 22px; text-align: center; }
.stat strong { display: block; font-size: 34px; margin-bottom: 4px; }
.section { padding: 76px 0; }
.section-sm { padding: 40px 0; }
.section-dark { background: var(--surface-2); color: #fff; }
.section-dark .muted, .section-dark p { color: #c7d2fe; }
.list, .checklist ul, .bullet-list { padding: 0; margin: 0; list-style: none; }
.list li, .checklist li, .bullet-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
}
.list li::before, .checklist li::before, .bullet-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--ok);
}
.warning-list li::before { content: "⚠"; color: var(--danger); }
.service-card h3, .article-card h3 { margin-bottom: 12px; }
.kpi { font-size: 15px; font-weight: 700; color: var(--brand-dark); }
.cta-box {
  padding: 32px; border-radius: 28px; background: linear-gradient(135deg, #111827, #1f2937 60%, #374151);
  color: #fff; box-shadow: var(--shadow);
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  padding: 9px 12px; border-radius: 999px; background: #f3f4f6; color: #374151; font-weight: 700; font-size: 14px;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f9fafb; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item button {
  width: 100%; padding: 18px 20px; text-align: left; font: inherit; font-weight: 700;
  border: 0; background: transparent; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-item .answer { padding: 0 20px 20px; color: var(--muted); display: none; }
.faq-item.open .answer { display: block; }
.footer { background: #0f172a; color: #fff; margin-top: 40px; }
.footer-top { padding: 48px 0 20px; align-items: flex-start; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; width: 100%; }
.footer h3, .footer h4 { margin-bottom: 14px; }
.footer a { color: #e5e7eb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 32px; color: #cbd5e1; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea, select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid #d1d5db; background: #fff; font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.note { font-size: 14px; color: var(--muted); }
.cover {
  min-height: 100%; border-radius: 28px;
  background: linear-gradient(135deg, rgba(17,24,39,.95), rgba(55,65,81,.86)), url('../img/roof-pattern.svg') center/cover no-repeat;
  padding: 32px; color: #fff;
}
.cover .mini-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px; margin-top: 16px; }
.page-hero { padding: 54px 0 24px; background: linear-gradient(180deg, #fff, #f3f4f6); }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.quote {
  border-left: 4px solid var(--brand); padding: 16px 18px; background: #fff7ed; border-radius: 0 14px 14px 0;
}
.notice {
  border: 1px dashed #f59e0b; background: #fffbeb; color: #92400e; padding: 16px 18px; border-radius: 16px;
}
.section-dark .card,
.section-dark .service-card,
.section-dark .case,
.section-dark .price-card,
.section-dark .article-card,
.section-dark .contact-card,
.section-dark .faq-item {
  color: var(--text);
}

.quote { color: var(--text); }

.section-dark .card p,
.section-dark .card li,
.section-dark .card .muted,
.section-dark .faq-item .answer,
.section-dark .quote {
  color: var(--text);
}
@media (max-width: 960px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .cards, .case-grid, .pricing-grid, .blog-grid, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    position: absolute; left: 16px; right: 16px; top: 78px; background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}

.article-meta{font-size:14px;color:var(--muted);margin-bottom:10px}
.hero p, .page-hero p, .section p, .card p, .service-card p, .article-card p, .case p {font-size:17px}
.cards.tight{grid-template-columns:repeat(2,1fr)}
@media (max-width:960px){.cards.tight{grid-template-columns:1fr}}
