/* === INSPECTION COMPANY REVIEWS — STYLESHEET ===
   Design: Option C — Forest Green + White, Shield Authority
   Site: inspectioncompanyreviews.com | Focus: Miami, FL
======================================================= */

:root {
  --green:       #1E6E42;
  --green-dark:  #145530;
  --green-light: #F2F8F4;
  --green-mid:   #D8EDE0;
  --gold:        #D4890A;
  --gold-bg:     #FEF6E4;
  --text-dark:   #1A2B22;
  --text-mid:    #4B5563;
  --text-light:  #6B7280;
  --border:      #C8E0D0;
  --white:       #FFFFFF;
  --red:         #DC2626;
  --shadow-sm:   0 1px 4px rgba(30,110,66,0.08);
  --shadow-md:   0 4px 16px rgba(30,110,66,0.12);
  --shadow-lg:   0 8px 32px rgba(30,110,66,0.16);
  --radius:      10px;
  --radius-lg:   16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container        { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ───────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1120px; margin: 0 auto;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-dark);
}
.site-logo__text  { font-size: 17px; font-weight: 800; color: var(--green-dark); line-height: 1.2; }
.site-logo__sub   { font-size: 11px; font-weight: 400; color: var(--text-light); display: block; }
.site-nav         { display: flex; align-items: center; gap: 28px; }
.site-nav a       { font-size: 14px; font-weight: 500; color: var(--text-mid); transition: color .2s; }
.site-nav a:hover { color: var(--green); text-decoration: none; }
.nav-location {
  font-size: 12px; background: var(--green-light); color: var(--green-dark);
  padding: 4px 10px; border-radius: 20px; font-weight: 600; border: 1px solid var(--border);
}
.hamburger {
  display: none; cursor: pointer; background: none; border: none; padding: 4px;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white); padding: 76px 24px 120px; text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.92); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; padding: 5px 16px;
  border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 50px); font-weight: 800; line-height: 1.14;
  margin: 0 auto 18px; max-width: 800px;
}
.hero__sub {
  font-size: 18px; opacity: .88; max-width: 620px; margin: 0 auto 32px; line-height: 1.55;
}
.trust-bar {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 36px;
}
.trust-bar__item  { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: .85; }
.hero__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white); font-size: 16px; font-weight: 700;
  padding: 14px 34px; border-radius: 50px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(212,137,10,.4);
}
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,137,10,.5); text-decoration: none; }

/* ── SECTION SHELL ────────────────────────────────── */
.section       { padding: 64px 0; }
.section--gray { background: var(--green-light); }
.section__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--green); margin-bottom: 8px; }
.section__title { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; color: var(--text-dark); margin-bottom: 8px; line-height: 1.22; }
.section__sub   { font-size: 16px; color: var(--text-mid); max-width: 620px; }
.section__header { margin-bottom: 40px; }

/* ── WINNER CARD ──────────────────────────────────── */
.winner-wrap { padding: 0 24px; margin-top: -56px; }
.winner-card {
  background: var(--white); border: 2px solid var(--green); border-radius: var(--radius-lg);
  padding: 36px; position: relative; box-shadow: var(--shadow-lg);
  max-width: 1120px; margin: 0 auto;
}
.winner-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--white); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.winner-card__layout { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.winner-card__name   { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.winner-card__tagline { font-size: 15px; color: var(--text-mid); margin-bottom: 20px; line-height: 1.5; }
.winner-card__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px;
}
.feature-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dark); }
.winner-card__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  background: var(--green); color: var(--white); padding: 12px 26px; border-radius: 50px;
  font-weight: 700; font-size: 14px; transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--green-dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--green); padding: 12px 26px; border-radius: 50px;
  font-weight: 700; font-size: 14px; border: 2px solid var(--green); transition: all .2s;
}
.btn-outline:hover { background: var(--green); color: var(--white); text-decoration: none; }
.btn-full { width: 100%; text-align: center; display: block; padding: 14px 20px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: all .2s; }
.btn-full-green   { background: var(--green); color: var(--white); }
.btn-full-green:hover { background: var(--green-dark); text-decoration: none; }
.btn-full-outline { border: 2px solid var(--green); color: var(--green); }
.btn-full-outline:hover { background: var(--green); color: var(--white); text-decoration: none; }

/* ── SCORE CIRCLE ─────────────────────────────────── */
.score-circle {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
}
.score-circle__num   { font-size: 30px; font-weight: 800; line-height: 1; }
.score-circle__denom { font-size: 12px; opacity: .8; font-weight: 500; }

/* ── STARS ────────────────────────────────────────── */
.stars { display: flex; gap: 2px; margin-bottom: 10px; }
.star  { color: var(--gold); font-size: 20px; line-height: 1; }

/* ── COMPARISON TABLE ─────────────────────────────── */
.table-wrap   { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.ranking-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 780px; }
.ranking-table th {
  background: var(--green); color: var(--white); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; padding: 14px 16px; text-align: left;
}
.ranking-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.ranking-table tr:last-child td { border-bottom: none; }
.ranking-table tr:hover td { background: var(--green-light); }
.rank-num   { font-weight: 800; font-size: 18px; color: var(--green); width: 36px; }
.rank-num--1 { color: var(--gold); }
.company-name-cell { font-weight: 700; font-size: 15px; }
.company-name-cell a { color: var(--text-dark); }
.company-name-cell a:hover { color: var(--green); text-decoration: none; }
.badge-editor {
  display: inline-block; background: var(--gold-bg); color: var(--gold);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
  padding: 2px 8px; border-radius: 10px; border: 1px solid var(--gold); margin-left: 8px;
}
.score-pill {
  display: inline-block; background: var(--green); color: var(--white);
  font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 20px; min-width: 52px; text-align: center;
}
.sp-2  { background: #2E7D4F; }
.sp-3  { background: #3D8B62; }
.sp-4  { background: #5A9E7A; }
.sp-5  { background: #78B090; }
.sp-6  { background: #97C3A6; color: var(--text-dark); }
.sp-7  { background: #B5D6BC; color: var(--text-dark); }
.sp-8  { background: #C8E0CC; color: var(--text-dark); }
.sp-9  { background: #DAE9DC; color: var(--text-dark); }
.sp-10 { background: #E8F2EA; color: var(--text-dark); }
.chk  { color: var(--green); font-weight: 700; }
.ex   { color: var(--red); }
.part { color: var(--gold); font-weight: 600; font-size: 12px; }

/* ── CRITERIA GRID ────────────────────────────────── */
.criteria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.criteria-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.criteria-card__icon {
  width: 48px; height: 48px; background: var(--green-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--green);
}
.criteria-card__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.criteria-card__pts {
  font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-light);
  display: inline-block; padding: 2px 8px; border-radius: 10px; margin-bottom: 10px;
}
.criteria-card p { font-size: 14px; color: var(--text-mid); line-height: 1.55; }

/* ── COMPANY CARDS ────────────────────────────────── */
.companies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.company-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.company-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.company-card--top  { border-color: var(--green); border-width: 2px; }
.company-card__header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.company-card__rank    { font-size: 12px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }
.company-card__rank--1 { color: var(--gold); }
.company-card__logo    { display: block; height: 36px; width: auto; max-width: 220px; margin-bottom: 12px; }
.company-card__name    { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.company-card__verdict { font-size: 13px; color: var(--text-mid); margin-bottom: 14px; line-height: 1.45; }
.score-bar       { height: 6px; background: var(--border); border-radius: 3px; margin-bottom: 4px; overflow: hidden; }
.score-bar__fill { height: 100%; background: var(--green); border-radius: 3px; }
.score-label     { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.company-card__link { font-size: 14px; font-weight: 600; color: var(--green); }
.company-card__link:hover { text-decoration: underline; }

/* ── GUIDE CARDS ──────────────────────────────────── */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.guide-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: block; transition: box-shadow .2s, transform .2s;
}
.guide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.guide-card__icon {
  width: 40px; height: 40px; background: var(--green-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 14px;
}
.guide-card__title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.guide-card p      { font-size: 14px; color: var(--text-mid); line-height: 1.5; }

/* ── PAGE HERO (inner pages) ──────────────────────── */
.page-hero {
  background: var(--green-light); border-bottom: 1px solid var(--border); padding: 52px 24px;
}
.page-hero--center { text-align: center; }
.page-hero h1     { font-size: clamp(24px, 4vw, 42px); font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.page-hero p      { font-size: 17px; color: var(--text-mid); max-width: 580px; }
.page-hero--center p { margin: 0 auto; }
.updated-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green);
  background: var(--green-light); border: 1px solid var(--border); padding: 4px 12px;
  border-radius: 20px; margin-bottom: 14px; font-weight: 600;
}

/* ── BREADCRUMB ───────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
  color: var(--text-light); margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a   { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--border); }

/* ── REVIEW PAGE LAYOUT ───────────────────────────── */
.review-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding: 52px 0;
}
.review-sidebar { position: sticky; top: 90px; }
.review-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-md);
}
.review-card--top { border-color: var(--green); border-width: 2px; }
.review-card__logo { display: block; height: 44px; width: auto; max-width: 240px; margin: 0 auto 16px; }
.review-score-big { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.review-score-big__num   { font-size: 60px; font-weight: 800; color: var(--green); line-height: 1; }
.review-score-big__denom { font-size: 20px; color: var(--text-light); font-weight: 500; }
.review-score-big__label { font-size: 13px; color: var(--text-mid); margin-top: 6px; }

.category-scores { margin-bottom: 20px; }
.cat-score { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cat-score__name { font-size: 12px; color: var(--text-mid); flex: 0 0 130px; }
.cat-score__bar  { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.cat-score__fill { height: 100%; background: var(--green); border-radius: 3px; }
.cat-score__val  { font-size: 12px; font-weight: 700; color: var(--green); min-width: 36px; text-align: right; }
.review-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.review-phone { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 8px; }
.review-phone a { color: var(--green); font-weight: 600; }

/* ── PROS / CONS ──────────────────────────────────── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.pros, .cons { background: var(--white); border-radius: var(--radius); padding: 20px 24px; border: 1px solid var(--border); }
.pros { border-top: 3px solid #22C55E; }
.cons { border-top: 3px solid var(--red); }
.pros h3, .cons h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.pros h3 { color: #16A34A; }
.cons h3 { color: var(--red); }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li { padding: 5px 0 5px 22px; position: relative; font-size: 14px; color: var(--text-mid); line-height: 1.45; }
.pros li::before { content: '✓'; color: #16A34A; position: absolute; left: 0; font-weight: 700; }
.cons li::before { content: '✗'; color: var(--red); position: absolute; left: 0; font-weight: 700; }

/* ── REVIEW BODY ──────────────────────────────────── */
.review-body h2 { font-size: 22px; font-weight: 800; color: var(--text-dark); margin: 36px 0 12px; }
.review-body h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.review-body p  { font-size: 15px; color: var(--text-mid); line-height: 1.72; margin-bottom: 16px; }
.review-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.review-body li { font-size: 15px; color: var(--text-mid); line-height: 1.5; margin-bottom: 6px; }

.verdict-box {
  background: var(--green-light); border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 32px 0;
}
.verdict-box__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green); margin-bottom: 6px; }
.verdict-box p { font-size: 15px; color: var(--text-dark); line-height: 1.6; margin: 0; }

.callout {
  background: var(--gold-bg); border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0;
}
.callout p { font-size: 15px; color: var(--text-dark); margin: 0; line-height: 1.5; }

/* ── METHODOLOGY STEPS ────────────────────────────── */
.method-step {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  padding: 36px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.method-step:last-child { border-bottom: none; }
.method-step__num {
  width: 56px; height: 56px; background: var(--green); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; flex-shrink: 0;
}
.method-step__title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.method-step__pts {
  display: inline-block; background: var(--green-light); color: var(--green);
  font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.method-step p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* ── GUIDE BODY ───────────────────────────────────── */
.guide-body { padding: 52px 0; }
.guide-body h2 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin: 40px 0 12px; }
.guide-body h3 { font-size: 19px; font-weight: 700; color: var(--text-dark); margin: 28px 0 10px; }
.guide-body p  { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 18px; }
.guide-body ul, .guide-body ol { padding-left: 22px; margin-bottom: 18px; }
.guide-body li { font-size: 16px; color: var(--text-mid); line-height: 1.6; margin-bottom: 8px; }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 52px 24px 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1120px; margin: 0 auto; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand__name { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a  { font-size: 13px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: 1120px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; opacity: .55; }
.disclaimer {
  max-width: 1120px; margin: 20px auto 0; font-size: 11px; color: rgba(255,255,255,.4);
  line-height: 1.55; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .review-sidebar { position: static; }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 58px; left: 0; right: 0;
    background: var(--white); padding: 20px 24px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .hamburger { display: block; }
  .hero { padding: 56px 20px 100px; }
  .winner-card { padding: 24px; }
  .winner-card__layout { grid-template-columns: 1fr; }
  .winner-card__features { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 16px; }
  .method-step { grid-template-columns: 1fr; }
}
