:root {
  --navy:     #0d2240;
  --navy-mid: #173562;
  --amber:    #e8a020;
  --amber-dk: #c47f0e;
  --light:    #f5f7fa;
  --white:    #ffffff;
  --text:     #2d3748;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --font-d:   'DM Serif Display', Georgia, serif;
  --font-b:   'DM Sans', system-ui, sans-serif;
  --r:        6px;
  --sh:       0 2px 16px rgba(13,34,64,.10);
  --sh-lg:    0 8px 40px rgba(13,34,64,.16);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-d); line-height: 1.2; color: var(--navy); }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.82); }
.section-light { background: var(--light); }

/* BUTTONS */
.btn-primary {
  display: inline-block; background: var(--amber); color: var(--navy);
  font-family: var(--font-b); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r);
  transition: background .2s, transform .15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--amber-dk); transform: translateY(-1px); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--white);
  font-family: var(--font-b); font-weight: 600; font-size: 1rem;
  padding: 13px 28px; border-radius: var(--r);
  border: 2px solid rgba(255,255,255,.65);
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: var(--font-b); font-weight: 600; font-size: 1rem;
  padding: 13px 28px; border-radius: var(--r);
  border: 2px solid rgba(255,255,255,.5);
  transition: border-color .2s, background .2s;
}
.btn-phone:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy {
  display: inline-block; background: var(--navy); color: var(--white);
  font-family: var(--font-b); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r);
  transition: background .2s, transform .15s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* LABELS */
.eyebrow {
  display: block; font-family: var(--font-b); font-size: .75rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 10px;
}
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-heading p { color: var(--muted); max-width: 580px; margin: 0 auto; }
.section-dark .section-heading p { color: rgba(255,255,255,.7); }

/* HEADER */
.site-header { background: #f0f2f5; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(13,34,64,.10); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: 1100px; margin: 0 auto; height: 72px; }
.header-logo img { height: 50px; width: auto; }
.header-logo-fallback { color: var(--navy); font-family: var(--font-d); font-size: 1.15rem; line-height: 1.25; display: none; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { color: var(--navy); font-weight: 600; font-size: .9375rem; display: flex; align-items: center; gap: 6px; }

/* NAV */
.site-nav { background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,.1); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; gap: 0; }
.nav-inner a {
  color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500;
  padding: 12px 16px; display: block;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-inner a:hover, .nav-inner a.active { color: var(--white); border-bottom-color: var(--amber); }

/* PAGE HERO (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 0 72px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 60px; background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 680px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }
.page-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* MAIN HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative; padding: 80px 0 130px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: url('https://suretyinspector.com/wp-content/uploads/2025/02/Surety-Home-Inspections-House-image-2100-x-1080-px.jpg') center/cover no-repeat; opacity: .1; }
.hero-cut { position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 18px; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* TRUST BAR */
.trust-bar { background: var(--light); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--navy); }
.icon-amber { color: var(--amber); flex-shrink: 0; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px; box-shadow: var(--sh); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; background: rgba(13,34,64,.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--navy); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: .9375rem; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 5px; color: var(--amber); font-weight: 600; font-size: .875rem; margin-top: 14px; transition: gap .15s; }
.card-link:hover { gap: 8px; }

/* SERVICES GRID (dark section) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.svc { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 18px; display: flex; align-items: flex-start; gap: 12px; }
.svc strong { color: var(--white); display: block; font-size: .9375rem; margin-bottom: 2px; }
.svc span { color: rgba(255,255,255,.6); font-size: .8125rem; }

/* SERVICE DETAIL (light) */
.svc-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; box-shadow: var(--sh); margin-bottom: 20px; }
.svc-detail h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-detail p { color: var(--muted); font-size: .9375rem; }
.svc-detail a { color: var(--amber); font-weight: 600; }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-img { border-radius: var(--r); overflow: hidden; }
.col-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.col-img.tall { aspect-ratio: 4/5; }
.col-img.wide { aspect-ratio: 3/2; }

/* ABOUT */
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--muted); font-size: .9375rem; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.badge { background: var(--light); border: 1px solid var(--border); border-radius: var(--r); padding: 8px 14px; font-size: .8125rem; font-weight: 500; color: var(--navy); display: flex; align-items: center; gap: 6px; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--sh); }
.stars { color: var(--amber); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: .9375rem; color: var(--muted); margin-bottom: 16px; font-style: italic; line-height: 1.65; }
.reviewer { font-weight: 600; color: var(--navy); font-size: .875rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 0; font-family: var(--font-d); font-size: 1.05rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .15s; }
.faq-q:hover { color: var(--amber); }
.chevron { flex-shrink: 0; transition: transform .25s; color: var(--amber); }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 20px; color: var(--muted); line-height: 1.7; font-size: .9375rem; }
.faq-item.open .faq-a { display: block; }

/* AREA TAGS */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-tag { background: var(--white); border: 1px solid var(--border); border-radius: 100px; padding: 8px 18px; font-size: .875rem; font-weight: 500; color: var(--navy); }

/* CALLOUT BOX */
.callout { background: rgba(232,160,32,.1); border-left: 4px solid var(--amber); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin: 24px 0; }
.callout p { color: var(--text); font-size: .9375rem; margin: 0; }
.callout strong { color: var(--navy); }

/* STAT ROW */
.stat-row { display: flex; gap: 32px; flex-wrap: wrap; margin: 28px 0; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-d); font-size: 2.5rem; color: var(--amber); display: block; line-height: 1; }
.stat-label { font-size: .8125rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 80px 0; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BREADCRUMB */
.breadcrumb { padding: 12px 0; font-size: .8125rem; color: var(--muted); }
.breadcrumb a { color: var(--amber); }
.breadcrumb span { margin: 0 6px; }

/* FOOTER */
.site-footer { background: #07172b; color: rgba(255,255,255,.65); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand img { height: 50px; margin-bottom: 16px; background: #f0f2f5; padding: 10px 14px; border-radius: 8px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-b); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .875rem; transition: color .15s; }
.footer-col ul li a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8125rem; }
.footer-bottom a { color: var(--amber); }

/* MOBILE STICKY */
.mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--navy); padding: 12px 16px; gap: 10px; box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
.mobile-sticky a { flex: 1; text-align: center; padding: 13px 8px; font-size: .9375rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .col-img.tall { aspect-ratio: 3/2; }
}
@media (max-width: 768px) {
  .header-phone { display: none; }
  .nav-inner { overflow-x: auto; gap: 0; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-sticky { display: flex; }
  body { padding-bottom: 68px; }
  .hero { padding: 60px 0 110px; }
  section { padding: 56px 0; }
  .stat-row { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
