:root {
  --bg: #0d1722;
  --bg-soft: #101f2e;
  --panel: #ffffff;
  --panel-soft: #eef3f8;
  --text: #0f1720;
  --muted: #5f7084;
  --line: #d8e2ea;
  --primary: #0f6cbd;
  --primary-dark: #0a5494;
  --accent: #ffb449;
  --white: #ffffff;
  --footer: #0a121b;
  --shadow: 0 18px 40px rgba(8, 21, 35, 0.14);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #f6f8fb;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--bg);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.topbar-wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
}
.topbar a { color: var(--white); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(15, 23, 32, 0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #4ba3ea);
  color: white; font-weight: 800;
  box-shadow: var(--shadow);
}
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { font-weight: 600; color: #22313f; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 14px 22px; font-weight: 700;
  transition: .2s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: rgba(15,108,189,.2); color: var(--primary); background: rgba(15,108,189,.06); }
.btn-light { background: white; color: var(--text); border-color: rgba(15,23,32,.08); }
.btn-block { width: 100%; }

.hero {
  background:
    radial-gradient(circle at top right, rgba(255,180,73,.18), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, #14263a 58%, #12273d 100%);
  color: white;
  padding: 72px 0 56px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05; margin: 0 0 18px;
  max-width: 760px;
}
.hero p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 650px; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0; flex-wrap: wrap; }
.hero-points {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 10px;
}
.hero-points li::before {
  content: '•'; color: var(--accent); font-size: 20px; margin-right: 10px;
}
.hero-card { display: flex; justify-content: flex-end; }
.panel-card {
  background: rgba(255,255,255,.96);
  color: var(--text);
  border-radius: 28px; padding: 28px; width: 100%; max-width: 460px;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.mini-badge {
  display: inline-flex; padding: 8px 12px; border-radius: 999px;
  background: rgba(15,108,189,.08); color: var(--primary); font-weight: 800; font-size: 12px;
}
.panel-card h2 { margin: 14px 0 18px; font-size: 28px; line-height: 1.15; }
.quote-form { display: grid; gap: 14px; }
.quote-form label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: #27394a; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px;
  font: inherit; color: var(--text); background: white;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,108,189,.12);
}
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-note a { color: var(--primary); }
.form-message { margin: 0; font-weight: 700; color: var(--primary); min-height: 20px; }

.stats { margin-top: -22px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.stats-grid article {
  background: white; border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow); border: 1px solid rgba(15,23,32,.05);
}
.stats-grid strong { display: block; font-size: 28px; margin-bottom: 6px; }
.stats-grid span { color: var(--muted); }

.section { padding: 82px 0; }
.section-alt { background: var(--panel-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-head.left { text-align: left; margin-left: 0; }
.section h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; line-height: 1.12; }
.section p { color: var(--muted); }

.cards.three-up,
.pricing-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.service-card,
.price-card,
.why-box,
.contact-box {
  background: white; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(15,23,32,.05);
}
.service-card h3,
.price-card h3 { margin-top: 0; margin-bottom: 8px; font-size: 22px; }
.price-card .price { font-size: 30px; font-weight: 800; color: var(--primary); margin: 8px 0 10px; }
.price-card ul,
.why-box ul { margin: 0; padding-left: 18px; color: var(--muted); }
.price-card.featured {
  background: linear-gradient(180deg, #13304a 0%, #0f2032 100%);
  color: white; border: none;
}
.price-card.featured .price,
.price-card.featured ul,
.price-card.featured h3 { color: white; }
.price-tag {
  display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 800; color: var(--accent); margin-bottom: 12px;
}

.diag-grid {
  display: grid; grid-template-columns: 1fr .9fr; gap: 24px; align-items: start;
}
.estimator {
  margin-top: 20px; background: white; border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
}
.estimator label { display: grid; gap: 10px; font-weight: 700; }
.estimator select {
  padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; font: inherit;
}
.estimate-output {
  margin-top: 18px; background: var(--panel-soft); border-radius: 18px; padding: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.estimate-output span { color: var(--muted); font-weight: 600; }
.estimate-output strong { font-size: 32px; }

.areas-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.areas-grid span {
  background: white; border: 1px solid rgba(15,23,32,.06); border-radius: 16px;
  padding: 18px 16px; font-weight: 700; text-align: center; box-shadow: var(--shadow);
}

.faq-list { display: grid; gap: 14px; }
details {
  background: white; border: 1px solid rgba(15,23,32,.06); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow);
}
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; }

.cta-band {
  background: linear-gradient(135deg, #0f2032 0%, #15385b 100%);
  color: white;
}
.cta-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center;
}
.contact-box p,
.cta-band p { color: rgba(255,255,255,.85); }
.contact-box a { color: white; font-weight: 700; }

.site-footer {
  background: var(--footer); color: rgba(255,255,255,.8); padding: 56px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px;
}
.site-footer h3,
.site-footer h4 { color: white; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 24px; padding-top: 18px; font-size: 14px;
}

.policy-page {
  background: #f6f8fb;
}
.policy-header {
  background: linear-gradient(135deg, var(--bg) 0%, #18344d 100%);
  color: white; padding: 56px 0;
}
.policy-header .brand-link {
  display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 800; margin-bottom: 20px;
}
.policy-content {
  width: min(900px, calc(100% - 32px)); margin: 0 auto; background: white; margin-top: -28px;
  padding: 34px; border-radius: 24px; box-shadow: var(--shadow); margin-bottom: 56px;
}
.policy-content h2, .policy-content h3 { color: var(--text); }
.policy-content p, .policy-content li { color: #425363; }
.policy-content ul { padding-left: 18px; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero-grid,
  .diag-grid,
  .cta-grid,
  .footer-grid,
  .cards.three-up,
  .pricing-grid,
  .stats-grid,
  .areas-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { padding-top: 48px; }
  .hero-grid,
  .diag-grid,
  .cta-grid,
  .footer-grid,
  .cards.three-up,
  .pricing-grid,
  .stats-grid,
  .areas-grid { grid-template-columns: 1fr; }
  .topbar-wrap { flex-direction: column; gap: 6px; }
  .hero h1 { font-size: 38px; }
  .panel-card { padding: 22px; }
  .policy-content { padding: 24px; }
}
