:root {
  --navy: #041d44;
  --navy-2: #031534;
  --navy-3: #0b2b5d;
  --red: #cd2130;
  --red-dark: #b11725;
  --white: #ffffff;
  --silver: #e1e2e6;
  --cream: #f6f7fb;
  --gray: #667085;
  --charcoal: #1f2937;
  --border: #dfe3eb;
  --shadow: 0 24px 70px rgba(4, 29, 68, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 29, 68, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(3, 21, 52, 0.24);
}
.nav-wrap {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.20));
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav a { color: rgba(255,255,255,.9); }
.nav a:hover { color: var(--silver); }
.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white) !important;
  box-shadow: 0 14px 30px rgba(205,33,48,.26);
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  background:
    linear-gradient(115deg, rgba(4, 29, 68, 0.96), rgba(4, 29, 68, 0.88)),
    radial-gradient(circle at 72% 22%, rgba(205, 33, 48, 0.24), transparent 30%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 58px 0 70px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 52px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  margin: 0 0 14px;
}
.hero .eyebrow { color: #ffb8c0; }
.hero-logo {
  align-self: flex-start;
  width: min(100%, 520px);
  margin: 0 0 12px;
  border-radius: 0;
  box-shadow: none;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; }
h1 {
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  color: var(--navy);
}
.section-dark h2, .hero h1 { color: var(--white); }
h3 { font-size: 1.35rem; color: var(--navy); }
p { margin: 0 0 16px; }
.hero-subtitle {
  max-width: 700px;
  font-size: 1.18rem;
  color: #e7edf7;
}
.hero-actions, .cta-panel {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(205,33,48,.28);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(255,255,255,.1);
}
.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-row span {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  padding: 8px 12px;
  border-radius: 999px;
  color: #edf3ff;
  font-weight: 700;
  font-size: .9rem;
}
.hero-card {
  background: var(--white);
  color: var(--charcoal);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 7px solid var(--red);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px -18px -18px 24px;
  background: rgba(205,33,48,.18);
  border-radius: 28px;
  z-index: -1;
}
.card-top {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.card-top p { color: var(--gray); margin: 0; }
.card-top strong {
  display: block;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.1;
}
.hero-card ul { padding-left: 20px; margin: 0 0 22px; }
.hero-card li { margin: 10px 0; }
.text-link { color: var(--red); font-weight: 800; }

.badges {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.badge-grid div {
  padding: 26px 22px;
  border-left: 1px solid var(--border);
}
.badge-grid div:last-child { border-right: 1px solid var(--border); }
.badge-grid strong, .badge-grid span { display: block; }
.badge-grid strong { color: var(--navy); margin-bottom: 6px; }
.badge-grid span { color: var(--gray); font-size: .92rem; }

.section { padding: 86px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { color: var(--gray); font-size: 1.05rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(4,29,68,.05);
  border-top: 5px solid var(--navy);
}
.service-card p { color: var(--gray); }
.service-card.muted {
  background: var(--cream);
  border-top-color: var(--red);
}
.section-dark {
  background: var(--navy-2);
  color: #d7e2f3;
}
.section-dark p { color: #d7e2f3; }
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checklist span {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-grid div {
  padding: 30px;
  border-radius: 24px;
  background: var(--cream);
  border-top: 5px solid var(--red);
}
.step {
  width: 46px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 16px;
  border-bottom: 4px solid var(--red);
}
.inspector-photo-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--white), #f7f8fc);
  border: 1px solid var(--border);
}

.inspector-photo {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 760px;
  object-fit: cover;
  object-position: center top;
}
.about p, .quote-card p, .disclosure p, .contact p { color: var(--gray); }
.section-light { background: var(--cream); }
.quote-card {
  background: var(--white);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow);
  border-left: 7px solid var(--red);
}
.cta-panel {
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.cta-panel h2 { color: var(--white); }
.cta-panel p { color: #d7e2f3; max-width: 680px; }
.service-area { background: var(--cream); }
.disclosure {
  padding: 54px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.disclosure h2 { font-size: 1.8rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(4,29,68,.08);
}
.contact-form label {
  font-weight: 800;
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  font: inherit;
  color: var(--charcoal);
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(205,33,48,.16);
  border-color: var(--red);
}
.contact-details {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--cream);
  border-left: 6px solid var(--red);
}
.site-footer {
  background: var(--navy-2);
  color: var(--white);
  padding: 32px 0;
}
.footer-grid {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 38px; width: auto; }
.footer-grid p { color: #c6d4e7; margin: 6px 0 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 62px;
    background: var(--navy-2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .badge-grid, .service-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 62px 0; }
  .brand-logo { height: 38px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .badge-grid, .service-grid, .process-grid, .checklist { grid-template-columns: 1fr; }
  .badge-grid div { border-right: 1px solid var(--border); }
  .section { padding: 62px 0; }
  .cta-panel, .hero-actions { align-items: stretch; }
  .btn { width: 100%; }
  .footer-grid, .footer-brand { flex-direction: column; align-items: flex-start; }
  .brand-logo { height: 36px; }
}


.license-line {
  display: inline-block;
  margin: 0 0 12px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(205,33,48,.09);
  color: var(--red);
  font-weight: 800;
  border: 1px solid rgba(205,33,48,.18);
}

.featured-service {
  border-top-color: var(--red);
  background: linear-gradient(180deg, #ffffff, #f8f9fd);
}


.brand-logo {
  max-width: 360px;
}

.hero-logo {
  align-self: flex-start;
  max-height: 170px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand-logo {
    max-width: 250px;
  }

  .hero-logo {
  align-self: flex-start;
    max-height: 130px;
  }
}


.hero-eyebrow {
  margin-bottom: 14px;
}

.nav {
  margin-left: auto;
}

@media (max-width: 900px) {
  .nav-wrap {
    justify-content: space-between;
  }
}

.hero-copy { display: flex; flex-direction: column; }


.hero-logo {
  align-self: center;
}

.hero-eyebrow {
  align-self: center;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin-bottom: 16px;
}


.schedule-heading {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.schedule-heading p {
  color: var(--gray);
}

.compact-contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  text-align: left;
  margin-top: 22px;
}

.compact-contact-details p {
  margin: 0;
}

.scheduler-widget {
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.scheduler-widget iframe {
  display: block;
  width: 100%;
  height: 1100px;
  border: 0;
}

@media (max-width: 640px) {
  .scheduler-widget iframe {
    height: 1150px;
  }

  .compact-contact-details {
    justify-content: flex-start;
  }
}
