:root {
  --navy: #0f2d4a;
  --navy-dark: #081f35;
  --cream: #f7f4ee;
  --white: #ffffff;
  --muted: #5e6b78;
  --line: #dfe6ec;
  --shadow: 0 20px 60px rgba(8, 31, 53, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy-dark);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(15, 45, 74, 0.08);
}
.brand img { width: 190px; display: block; }
nav { display: flex; align-items: center; gap: 26px; font-weight: 700; color: var(--navy); }
.nav-cta { padding: 10px 18px; border-radius: 999px; color: var(--white); background: var(--navy); }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
}
h1, h2, h3 { line-height: 1.1; color: var(--navy-dark); margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.8rem); letter-spacing: -0.06em; max-width: 980px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.04em; }
h3 { font-size: 1.45rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 760px; color: var(--muted); margin: 24px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid var(--navy);
}
.primary { background: var(--navy); color: var(--white); }
.secondary { background: transparent; color: var(--navy); }
.full { width: 100%; }

.hero-card {
  background: var(--white);
  border-radius: 32px;
  padding: clamp(24px, 5vw, 46px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 45, 74, 0.08);
}
.hero-card img { width: 100%; max-width: 390px; display: block; margin: 0 auto 26px; }
.hero-card h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.hero-card p { color: var(--muted); margin-bottom: 0; }

.section { padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px); }
.section-heading { max-width: 820px; margin-bottom: 32px; }
.section-heading p:not(.eyebrow), .coverage p, .contact p, .bio-box p { color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; gap: 22px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .bio-box, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 14px 36px rgba(8, 31, 53, 0.06);
}
.card.accent { background: var(--navy); color: var(--white); }
.card.accent h3, .card.accent p, .card.accent li { color: var(--white); }
ul { padding-left: 20px; margin-bottom: 0; }
li + li { margin-top: 8px; }
.split, .contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 70px); align-items: start; }
.coverage { background: var(--navy); color: var(--white); }
.coverage h2, .coverage .eyebrow, .coverage p { color: var(--white); }
.contact { background: var(--white); }
.small { font-size: 0.92rem !important; margin: 14px 0 0; }
footer { padding: 26px clamp(20px, 5vw, 72px); color: var(--muted); background: var(--cream); }

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .hero, .cards.two, .split, .contact { grid-template-columns: 1fr; }
  .brand img { width: 160px; }
}

.diagnosis-visual{display:block;width:100%;height:auto;border-radius:18px;margin:24px 0 30px;box-shadow:0 12px 35px rgba(12,35,60,.12)}
.diagnosis .cards{margin:20px 0 24px}
.review-placeholder{padding:24px;border:1px solid #d9e2eb;border-radius:14px;background:#f6f9fc}
.standards{background:#f2f6fa}

.survey-house{width:100%;height:230px;object-fit:cover;display:block;border-radius:12px;margin-bottom:20px}

/* Verified screenshot-supplied customer reviews */
.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.review-card{background:#fff;border:1px solid #dbe4ec;border-radius:16px;padding:24px;box-shadow:0 6px 22px rgba(15,38,62,.06)}.review-stars{color:#e5a300;font-size:1.45rem;letter-spacing:.13em;margin-bottom:14px}.review-card blockquote{margin:0 0 20px;line-height:1.65;font-style:normal;color:#22344b}.review-author{font-weight:700;margin:0}.review-source{color:#63748a;font-size:.85rem;margin:4px 0 0}@media(max-width:720px){.review-grid{grid-template-columns:1fr}}

/* October 2026 design updates */
.hero-photo{min-height:360px;border-radius:22px;background:linear-gradient(90deg,rgba(9,34,63,.1),rgba(9,34,63,0)),url("assets/level-3-house.jpg") center/cover no-repeat;box-shadow:0 20px 40px rgba(8,31,59,.16)}
.google-wordmark{font-family:Arial,sans-serif;font-weight:700;letter-spacing:-.06em;white-space:nowrap}.google-wordmark span:nth-child(1),.google-wordmark span:nth-child(4){color:#4285f4}.google-wordmark span:nth-child(2),.google-wordmark span:nth-child(6){color:#ea4335}.google-wordmark span:nth-child(3){color:#fbbc05}.google-wordmark span:nth-child(5){color:#34a853}
#building-survey{scroll-margin-top:100px}#homebuyers,#defect-diagnosis{scroll-margin-top:100px}
.site-header .brand img{max-height:85px;width:auto;object-fit:contain}
@media(max-width:750px){.hero-photo{min-height:250px}.site-header .brand img{max-height:64px}}

.hero-photo{background-image:url("assets/level-3-house.jpg")!important;background-size:cover;background-position:center}
.defect-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.defect-gallery figure{margin:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}
.defect-gallery img{width:100%;height:135px;object-fit:cover;display:block}
.defect-gallery figcaption{padding:10px 12px;font-weight:700;font-size:14px;color:#102c49}
@media(max-width:650px){.defect-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.defect-gallery img{height:100px}}
