/* Night Shift: navy night sky, electric-blue lightbar accent, bold italic condensed headings like the flyer */
:root {
  --bg: #060c18;
  --band: #0a1428;
  --panel: #0e1a31;
  --line: #1d2f50;
  --fg: #e8eef8;
  --muted: #a9b8d0;
  --blue: #2f8cff;
  --blue-hi: #7cc0ff;
  --on-blue: #03101f;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-hi); }
a:hover { color: #b9ddff; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(6, 12, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  border-radius: 6px;
  padding: 10px 14px;
  font: 600 15px var(--body);
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 6px; font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-family: var(--body);
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hi); color: var(--on-blue); }
.btn-ghost { border-color: #3a5a8c; color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--blue-hi); color: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- type ---------- */
.eyebrow { font-size: 14px; letter-spacing: 0.22em; color: var(--blue-hi); font-weight: 600; text-transform: uppercase; margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; margin: 0; text-wrap: balance; line-height: 1; }
h1 { font-style: italic; font-size: clamp(44px, 7vw, 80px); line-height: 0.95; }
h2 { font-size: clamp(32px, 4.4vw, 46px); }
h3 { font-size: 26px; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: 64px; }
.section-band { background: var(--band); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }

.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px 64px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-art { flex: 1 1 400px; min-width: 0; }

.page-head .wrap { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }

/* lightbar strip under page headers */
.lightbar { height: 4px; background: linear-gradient(90deg, var(--blue) 0 25%, transparent 25% 30%, var(--blue-hi) 30% 55%, transparent 55% 60%, var(--blue) 60% 100%); opacity: 0.85; }

/* ---------- price tiles ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.price {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
}
.price-label { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.price-num { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: 15px; }

/* ---------- service detail cards ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.service .price-num { font-size: 52px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg);
}

/* ---------- three-up reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--blue-hi); line-height: 1; }
.steps strong { font-size: 19px; }

/* ---------- photo placeholder ---------- */
.photo {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 10px;
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(47, 140, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0c1a33, #070e1d);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 20px; color: var(--muted); font-size: 14px;
}

/* ---------- contact card ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.card {
  flex: 1 1 360px; min-width: 0;
  background: linear-gradient(160deg, #11254a, #0b1730 60%);
  border: 1px solid #2f5fa6; border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.card-head { display: flex; align-items: center; gap: 14px; }
.card-name { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.card-tag { color: var(--muted); font-size: 15px; }
.card-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(124, 192, 255, 0.18); padding-top: 14px; }
.card-row .k { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.card-row .v { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.copy { background: none; border: 1px solid #3a5a8c; color: var(--fg); border-radius: 6px; padding: 8px 12px; font: 600 14px var(--body); cursor: pointer; min-height: 40px; }
.copy:hover { border-color: var(--blue-hi); }

form.quote { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  font: 16px var(--body); color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; color: var(--blue-hi); }

/* ---------- call strip ---------- */
.callout {
  background: #0f2142; border: 1px solid #2f5fa6; border-radius: 12px; padding: 32px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.big-phone { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1; color: var(--fg); text-decoration: none; font-variant-numeric: tabular-nums; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-hi); font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--band); }
.foot .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot small { color: var(--muted); }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--blue-hi); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .section { padding-block: 48px; }
  .hero .wrap { padding-block: 48px; }
}

/* sticky call button on phones */
.call-fab { display: none; }
@media (max-width: 640px) {
  .call-fab {
    display: flex; position: fixed; z-index: 30;
    left: max(14px, env(safe-area-inset-left, 0px)); right: max(14px, env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
  body { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
