:root {
  --navy: #0e2744;
  --navy-dark: #091a2e;
  --flame: #e85d04;
  --flame-dark: #c44e03;
  --cream: #f6f1e8;
  --ink: #1c2834;
  --muted: #5c6b7a;
  --line: #d9d3c8;
  --white: #fffcf8;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 68px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, .font-display {
  font-family: Oswald, "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 26, 46, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--flame);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--cream);
}

.brand-name {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 1.15rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  color: #c9d4e0;
  margin-top: 2px;
}

.site-nav {
  display: none;
  margin-left: auto;
}

.site-nav a {
  color: #e8eef4;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.55rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; }

.nav-toggle {
  margin-left: auto;
  background: transparent;
  border: 1px solid #3a516b;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.btn.header-call {
  display: none;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .btn.header-call { display: inline-flex; }
}

@media (max-width: 899px) {
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--navy-dark);
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.4rem;
    border-bottom: 3px solid var(--flame);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.7rem 1.05rem;
  line-height: 1.1;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-flame {
  background: var(--flame);
  color: #fff;
}
.btn-flame:hover { background: var(--flame-dark); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: #16365c; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-call {
  background: var(--flame);
  color: #fff;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: end;
  color: #fff;
  background: #0b1c30 center/cover no-repeat;
}

@media (min-width: 768px) {
  .hero { min-height: 72vh; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,26,46,0.25) 0%, rgba(9,26,46,0.82) 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 2.2rem 0 2rem;
}
.hero h1 { font-size: 1.65rem; line-height: 1.1; }
@media (min-width: 768px) {
  .hero-inner { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 3.75rem; }
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f3b183;
  margin-bottom: 0.5rem;
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}

.trust div {
  padding: 1.1rem 0.5rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.trust strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
}
@media (min-width: 768px) {
  .trust strong { font-size: 1.35rem; }
}

.section { padding: 3.5rem 0; }

.section-cream { background: var(--cream); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.card img { width: 100%; height: 180px; object-fit: cover; }

.card-body { padding: 1.15rem 1.2rem 1.35rem; }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 1rem; color: #314050; }
.prose ul { margin: 0 0 1rem 1.15rem; color: #314050; }
.prose li { margin-bottom: 0.35rem; }

.form-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #cfc8bc;
  border-radius: 6px;
  padding: 0.65rem 0.7rem;
  font: inherit;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--flame);
  border-color: var(--flame);
}

.hidden-field { position: absolute; left: -9999px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.faq p { margin: 0.55rem 0 0.2rem; color: #314050; }

.ba {
  position: relative;
  overflow: hidden;
  user-select: none;
  aspect-ratio: 4/3;
  background: #ccc;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}

.ba-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--navy);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.ba-tag {
  position: absolute;
  top: 0.6rem;
  z-index: 2;
  background: rgba(9,26,46,0.78);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}
.ba-tag.before { left: 0.6rem; }
.ba-tag.after { right: 0.6rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.filter-bar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

.site-footer {
  background: var(--navy-dark);
  color: #d5dee8;
  padding: 2.5rem 0 5.5rem;
}

@media (min-width: 768px) {
  .site-footer { padding-bottom: 2.5rem; }
}

.site-footer a { color: #fff; }
.site-footer h3 {
  color: #fff;
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 60px;
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  padding: 0 0.5rem;
}

.sticky-cta .call { background: var(--navy); }
.sticky-cta .quote { background: var(--flame); }

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

.crumbs {
  font-size: 0.88rem;
  color: #c9d4e0;
  margin: 0;
  padding: 0.55rem 0;
  background: var(--navy-dark);
}
.crumbs a { color: #f3b183; }
.crumbs span { color: #fff; }

.page-hero {
  background: var(--navy) url("../images/og-share.jpg") center/cover;
  color: #fff;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9,26,46,0.78);
}
.page-hero .wrap { position: relative; z-index: 1; padding: 2rem 0 1.8rem; }
.page-hero h1 { font-size: 1.75rem; line-height: 1.15; }
@media (min-width: 768px) {
  .page-hero .wrap { padding: 3rem 0 2.4rem; }
  .page-hero h1 { font-size: 3rem; }
}

.compare {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .compare { grid-template-columns: 1fr 1fr; }
}

.compare article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.3rem;
}

.map-embed {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 10px;
}
