:root {
  --navy: #0B1F3A;
  --navy-light: #1B3560;
  --gold: #D4A017;
  --gold-light: #F3C94F;
  --white: #FFFFFF;
  --off-white: #F6F7FA;
  --text: #1F2937;
  --muted: #5B6575;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-light); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.08);
}
.nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand img { height: 88px; width: auto; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.85rem;
  flex-wrap: nowrap;
  align-items: center;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--navy-light); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-cta .phone { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy) url("videos/hero-poster.jpg") center/cover no-repeat;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.72) 55%, rgba(11, 31, 58, 0.40) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--gold-light); }
.hero p.lead { font-size: 1.15rem; color: #dbe3f0; margin-bottom: 1.75rem; max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.quote-box {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}
.quote-box h2 { color: var(--navy); font-size: 1.4rem; margin-bottom: 0.25rem; }
.quote-box p.sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ---------- Forms ---------- */
form .field { margin-bottom: 0.9rem; }
form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
form input,
form select,
form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #C9D1DE;
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.25);
}
form textarea { min-height: 110px; resize: vertical; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
form .consent { font-size: 0.8rem; color: var(--muted); margin: 0.75rem 0 1rem; }
form .consent a { color: var(--navy-light); }
form button.btn { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 0.5rem; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-sub { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 2.75rem; }
.bg-light { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-title { color: var(--white); }
.bg-navy .section-sub { color: #c9d4e6; }
.accent-line {
  width: 70px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 10px rgba(11, 31, 58, 0.08);
  border-bottom: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card a.more { display: inline-block; margin-top: 0.75rem; color: var(--navy-light); font-weight: 600; text-decoration: none; }
.card a.more:hover { color: var(--gold); }

/* ---------- Why us / trust ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  margin-top: 2.5rem;
}
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--gold-light); }
.stat .label { color: #c9d4e6; font-size: 0.95rem; }

.check-list { list-style: none; }
.check-list li { padding: 0.5rem 0 0.5rem 1.9rem; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-weight: 800;
  font-size: 0.8rem;
}

/* ---------- Service page ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 4rem 1.5rem 3.5rem;
  border-bottom: 4px solid var(--gold);
}
.page-hero .container { max-width: 1000px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.page-hero p { color: #dbe3f0; font-size: 1.1rem; max-width: 720px; }
.breadcrumb { font-size: 0.85rem; color: #aebbd2; margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }

.content { max-width: 1000px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.content h2 { color: var(--navy); margin: 2rem 0 0.75rem; font-size: 1.6rem; }
.content h3 { color: var(--navy-light); margin: 1.25rem 0 0.5rem; font-size: 1.15rem; }
.content p { margin-bottom: 1rem; color: var(--text); }
.content ul { margin: 0 0 1rem 1.25rem; }
.content li { margin-bottom: 0.4rem; }
.callout {
  background: var(--off-white);
  border-left: 5px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.callout strong { color: var(--navy); }
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
  border-top: 4px solid var(--gold);
}
.cta-band h2 { color: var(--white); margin: 0 0 0.5rem; }
.cta-band p { color: #c9d4e6; margin-bottom: 1.25rem; }

/* ---------- Quote page ---------- */
.quote-page { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.quote-page .panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}
.notice { padding: 1rem 1.25rem; border-radius: 6px; margin-bottom: 1.5rem; }
.notice.success { background: #E8F5EC; color: #1E5B33; border-left: 5px solid #2E8B57; }
.notice.error { background: #FCEAEA; color: #7A1F1F; border-left: 5px solid #C0392B; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c9d4e6;
  border-top: 4px solid var(--gold);
  padding: 3.5rem 1.5rem 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h4 { color: var(--gold-light); margin-bottom: 0.75rem; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #c9d4e6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer img { height: 70px; width: auto; margin-bottom: 0.75rem; background: var(--white); border-radius: 8px; padding: 6px; }
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #95a5c2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Reduced motion: keep the poster, stop the video ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .header-cta .phone { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-video { display: none; }  /* phones keep the poster image, saves mobile data */
  .quote-page .panel { padding: 1.5rem; }
}

/* ---------- Footer: Orr knockout logo sits directly on navy ---------- */
.site-footer img.footer-logo { height: 64px; width: auto; background: none; padding: 0; border-radius: 0; }
.site-footer .footer-agent { font-size: 0.8rem; color: #95a5c2; margin: -0.25rem 0 0.75rem; }
