/* ===================================================================
   InspectMore — Design tokens
   =================================================================== */
:root {
  /* Brand Brief v1.0 palette — exact hex values */
  --navy-900: #12202F;   /* derived darker shade of Navy, for deep hero bg only */
  --navy-800: #1A2E44;   /* Navy — primary. Backgrounds, headers, text. */
  --navy-700: #24405C;   /* derived lighter navy, for hover/borders */
  --teal-600: #2E7D5E;   /* Teal — secondary. Subheadings, icons, links, accents. */
  --teal-100: #E1EEE7;   /* light teal tint, for icon chips on light bg */
  --amber-500: #C8862A;  /* Amber — accent ONLY. CTA buttons, logo highlight, badges. */
  --amber-400: #D9A257;  /* amber hover state */
  --amber-100: #F5E7D3;
  --cream-50: #F5F5F0;   /* Off-white — main background */
  --cream-100: #E8E0D4;  /* Warm Gray — cards, section dividers */
  --ink-700: #24303B;
  --slate-600: #55616B;
  --slate-400: #8A968E;
  --line: #DCD3C2;
  --white: #FFFFFF;

  /* Inter = primary: headings, navigation, buttons, key UI text
     DM Sans = secondary: body text, long-form content */
  --font-display: 'Inter', sans-serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 32px -12px rgba(20, 41, 63, 0.18);
  --shadow-tag: 0 4px 14px -4px rgba(212, 136, 43, 0.45);

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--amber-500);
  color: var(--white);
  box-shadow: var(--shadow-tag);
}
.btn-primary:hover { background: var(--amber-400); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }

/* ===================================================================
   Header / Nav
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }
.nav-phone {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 15px;
  white-space: nowrap;
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(46,125,94,0.14), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(36,64,92,0.55), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, black 40%, transparent 90%);
}
.hero-roofline {
  position: absolute;
  right: -6%;
  top: -8%;
  width: 62%;
  max-width: 640px;
  opacity: 0.85;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7FBBA0; /* light teal tint for readability on navy hero */
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: var(--shadow-tag);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 700;
  max-width: 640px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-400);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -6px;
  height: 5px;
  background: var(--amber-500);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  animation: draw-underline 0.9s 1.1s cubic-bezier(0.65,0,0.35,1) forwards;
}
@keyframes draw-underline {
  to { transform: scaleX(1); }
}
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Hero visual card — the "inspection tag" signature element */
.hero-card {
  position: relative;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  color: var(--white);
}
.hero-card-photo {
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    var(--navy-900);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  position: relative;
  overflow: hidden;
}
.blueprint-house { width: 100%; height: 100%; }
.blueprint-house path,
.blueprint-house line,
.blueprint-house rect {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.blueprint-house .stroke-structure {
  stroke: rgba(255,255,255,0.85);
  stroke-width: 2.5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-house 2.1s 0.15s cubic-bezier(0.65,0,0.35,1) forwards;
}
.blueprint-house .stroke-accent {
  stroke: var(--amber-400);
  stroke-width: 3;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: draw-house 1s 0.9s cubic-bezier(0.65,0,0.35,1) forwards;
}
.blueprint-house .stroke-dim {
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}
@keyframes draw-house {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .blueprint-house .stroke-structure,
  .blueprint-house .stroke-accent {
    stroke-dashoffset: 0;
    animation: none;
  }
  .hero h1 em::after { transform: scaleX(1); animation: none; }
}
.report-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  animation: tag-appear 0.5s ease forwards;
}
.report-tag-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-tag);
  flex-shrink: 0;
}
.report-tag-label {
  background: rgba(20, 32, 47, 0.92);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.12);
}
.report-tag.tag-reverse { flex-direction: row-reverse; }
.report-tag.t1 { top: 13%; left: 28%; animation-delay: 1.3s; }
.report-tag.t2 { top: 48%; right: 18%; animation-delay: 1.45s; }
.report-tag.t3 { bottom: 6%; left: 40%; animation-delay: 1.6s; }
.report-tag.t4 { bottom: 15%; left: 21%; animation-delay: 1.75s; }
.report-tag.t5 { bottom: 9%; left: 4%; animation-delay: 1.9s; }
.report-tag.t6 { bottom: 11%; right: 5%; animation-delay: 2.05s; }
@keyframes tag-appear {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .report-tag { opacity: 1; transform: none; animation: none; }
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.16);
}
.hero-card-footer-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.hero-card-footer-value { font-size: 15px; font-weight: 700; color: var(--white); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-roofline { display: none; }
  .hero-card { max-width: 440px; }
}

/* ===================================================================
   Section shell
   =================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-cream { background: var(--cream-100); }

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section-head p {
  margin-top: 14px;
  color: var(--slate-600);
  font-size: 17px;
}
.section-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ===================================================================
   Trust strip (annotation tags)
   =================================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-tag {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-100);
  border: 2px solid var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600);
  font-weight: 700;
}
.trust-item h4 { font-size: 16px; margin-bottom: 4px; }
.trust-item p { font-size: 14.5px; color: var(--slate-600); }

@media (max-width: 780px) {
  .trust-strip { grid-template-columns: 1fr; }
}

/* ===================================================================
   Services grid
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-800);
  color: #7FBBA0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--slate-600); }
.service-card.featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.service-card.featured .service-icon { background: var(--amber-500); color: var(--navy-900); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.72); }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Process / how it works
   =================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.process-step { position: relative; padding: 0 16px; }
.process-num {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-50);
  border: 2px solid var(--teal-600);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  z-index: 1;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 14px; color: var(--slate-600); }

@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process::before { display: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ===================================================================
   Areas served
   =================================================================== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.area-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-800);
}

/* ===================================================================
   Team placeholder
   =================================================================== */
.team-notice {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.team-avatar-placeholder {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 2px dashed var(--slate-400);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-400);
}
.team-notice h4 { font-size: 16px; margin-bottom: 4px; }
.team-notice p { font-size: 14.5px; color: var(--slate-600); }

/* ===================================================================
   CTA band
   =================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,136,43,0.28), transparent 70%);
}
.cta-band h3 { color: var(--white); font-size: 26px; max-width: 420px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 10px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
}

/* ===================================================================
   Contact section
   =================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { color: var(--white); font-size: 20px; margin-bottom: 18px; }
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-info-row:first-of-type { border-top: none; }
.contact-info-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(46,125,94,0.22);
  color: #7FBBA0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-label { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.contact-info-value { font-size: 15px; font-weight: 600; margin-top: 2px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-700);
  background: var(--cream-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(212,136,43,0.16);
}
.form-note {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo img { height: 30px; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; max-width: 280px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14.5px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #7FBBA0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
}

/* ===================================================================
   Reveal-on-scroll (subtle, respects reduced motion)
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
