:root {
  --navy: #0b1f4a;
  --navy-2: #12306e;
  --blue: #1d4ed8;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f6f8fc;
  --white: #fff;
  --ok: #0f766e;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(11, 31, 74, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; letter-spacing: .04em;
}
.brand strong { display: block; font-size: 15px; letter-spacing: .04em; }
.brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 10px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-dark { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 22px; }

/* Hero */
.hero { padding: 56px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.kicker { color: var(--blue); font-weight: 700; letter-spacing: .04em; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.12; margin: 8px 0 16px; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h1 em { font-style: italic; color: var(--blue); }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 10px; }
.phone-line { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: 28px; }
.stat span { color: var(--muted); font-size: 14px; }
.hero-art {
  background: linear-gradient(180deg, #eef3fb, #fff);
  border: 1px solid var(--line); border-radius: 24px;
  min-height: 340px; display: grid; place-items: center; padding: 24px;
  box-shadow: var(--shadow);
}
.hero-art .placeholder {
  width: 100%; min-height: 280px; border-radius: 16px;
  background:
    linear-gradient(135deg, #0b1f4a 0%, #1d4ed8 55%, #93c5fd 100%);
  color: #fff; display: grid; place-items: center; text-align: center; padding: 24px;
}
.hero-art small { opacity: .85; }

/* Bands + cards */
.band { padding: 64px 0; }
.band-navy { background: var(--navy); color: #fff; }
.band-paper { background: var(--paper); }
.grid-4, .grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 1px 0 rgba(15,23,42,.03);
}
.card h3 { margin-top: 8px; font-size: 22px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: #eff4ff; padding: 4px 8px; border-radius: 999px; }
.feature { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.num { font-size: 28px; font-weight: 800; color: var(--blue); }

.map-box {
  background: #070b16; color: #dbeafe; border-radius: 18px; padding: 28px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px;
}
.map-box ul { columns: 2; padding-left: 18px; }
.map-visual {
  border: 1px dashed #334155; border-radius: 12px; min-height: 260px;
  display: grid; place-items: center; text-align: center; color: #93c5fd;
}

form { display: grid; gap: 12px; }
label { font-weight: 600; font-size: 14px; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit;
}
input[type="checkbox"], input[type="radio"] { width: auto; flex: none; }
textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; }
.fine { font-size: 13px; color: var(--muted); }

footer { background: var(--ink); color: #cbd5e1; padding: 36px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
footer a { color: #fff; }
.legal { margin-top: 24px; border-top: 1px solid #334155; padding-top: 14px; font-size: 13px; }

.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30;
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 12px 16px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow);
}

.btn-lg { padding: 14px 22px; font-size: 17px; }
.checks { display: grid; grid-template-columns: 1fr; gap: 8px; }
.checks label,
label.checks {
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  white-space: normal;
}
.checks input { margin: 0; }
.quote-result { display: none; }
.quote-result.show { display: block; }
.total {
  font-size: 42px; font-weight: 800; color: var(--navy); margin: 0;
}
.breakdown { list-style: none; padding: 0; margin: 16px 0; }
.breakdown li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.warn { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; padding: 12px 14px; border-radius: 10px; }
.okbox { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; padding: 12px 14px; border-radius: 10px; }
.err { color: #b91c1c; font-weight: 600; }
.section-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 18px 0 8px; }
.admin-bar { background: #111827; color: #e5e7eb; padding: 10px 0; font-size: 13px; }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }

@media (max-width: 860px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px; background: #fff; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .contact-grid, .map-box, .foot-grid, .row-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .call-fab { display: inline-flex; }
}
