/* ==========================================================
   BISHOP ROOFING & EXTERIORS — shared stylesheet
   Used by all pages (index, services, projects, reviews, about, contact)
   ========================================================== */

:root {
  --navy: #16264A;
  --navy-dark: #0D1A30;
  --navy-deep: #091324;
  --brick: #B33A2E;
  --brick-dark: #962B22;
  --brick-light: #D96155;
  --cream: #F8F4ED;
  --cream-dark: #EFE9DC;
  --ink: #14171F;
  --body: #3D4555;
  --mist: #6B7280;
  --line: #E5E7EB;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(13,26,48,.08);
  --shadow: 0 8px 32px rgba(13,26,48,.10);
  --shadow-lg: 0 20px 60px rgba(13,26,48,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--brick); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brick-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px; margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px;
  color: var(--navy); letter-spacing: -0.015em;
}
.brand-mark {
  width: 34px; height: 34px;
  background: var(--brick);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(179,58,46,.3);
}
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--body); font-size: 14.5px; font-weight: 500;
  transition: color .15s;
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 0; right: 0;
  height: 3px;
  background: var(--brick);
  border-radius: 2px 2px 0 0;
}
.nav-phone {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 0;
  color: var(--ink) !important;
  line-height: 1.1;
}
.nav-phone-label {
  font-size: 10.5px; font-weight: 700;
  color: var(--mist); text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-phone-num {
  font-size: 15px; font-weight: 700;
  color: var(--navy);
}
.nav-cta {
  background: var(--brick); color: #fff !important;
  padding: 11px 20px; border-radius: 8px;
  font-weight: 700; font-size: 14.5px;
  box-shadow: 0 4px 14px rgba(179,58,46,.28);
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--brick-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(179,58,46,.35);
}
.nav-cta::after { display: none !important; }
@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-phone { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 700; font-size: 15px;
  font-family: inherit;
  cursor: pointer; border: none;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--brick); color: #fff;
  box-shadow: 0 8px 24px rgba(179,58,46,.32);
}
.btn-primary:hover { background: var(--brick-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-dark {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 14px rgba(13,26,48,.2);
}
.btn-dark:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- HOME HERO ---------- */
.hero {
  position: relative;
  min-height: 680px;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9,19,36,.92) 0%, rgba(22,38,74,.82) 60%, rgba(13,26,48,.88) 100%),
    url('./images/photo-1564013799919-ab600027ffc6.jpg?w=1800&h=1200&fit=crop&q=80&auto=format') center/cover no-repeat;
}
.hero-inner { width: 100%; padding: 100px 0 90px; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,.12); }
}
.hero h1 {
  font-size: clamp(38px, 5.8vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 880px;
}
.hero h1 .accent {
  color: var(--brick-light);
  font-style: normal;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 19px);
  color: rgba(255,255,255,.86);
  max-width: 660px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 36px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.hero-trust strong { color: #fff; font-weight: 700; }

/* ---------- SUBPAGE HERO ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,97,85,.14) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-crumb {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.page-crumb a { color: rgba(255,255,255,.55); }
.page-crumb a:hover { color: #fff; }
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 820px;
}
.page-hero-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 680px;
  line-height: 1.55;
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: var(--navy);
  color: #fff;
  padding: 38px 0;
  border-top: 4px solid var(--brick);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.stat-value {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-value .accent { color: var(--brick-light); }
.stat-label {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- SECTIONS ---------- */
section { padding: 88px 0; }
.sec-cream { background: var(--cream); }
.sec-label {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 740px;
}
.sec-lede {
  font-size: 17px;
  color: var(--mist);
  max-width: 640px;
  margin-bottom: 52px;
  line-height: 1.6;
}
.sec-head-flex {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 44px;
}
.sec-head-flex .sec-title, .sec-head-flex .sec-lede { margin-bottom: 0; }
.see-all-link {
  font-size: 14px; font-weight: 700;
  color: var(--brick);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.see-all-link:hover { color: var(--brick-dark); }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brick-light);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.service h3 {
  font-size: 17px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.service p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
}
.service-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 700;
  color: var(--brick);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- SERVICE DETAIL (subpage) ---------- */
.service-detail {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .service-detail-grid { grid-template-columns: 1fr; gap: 28px; } }
.service-detail-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brick) 0%, var(--brick-dark) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.service-detail h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.service-detail .sub {
  font-size: 14.5px;
  color: var(--brick);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.service-detail p {
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-feature-list {
  list-style: none;
  margin-top: 16px;
}
.service-feature-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14.5px;
  color: var(--body);
  border-bottom: 1px solid var(--line);
}
.service-feature-list li:last-child { border-bottom: none; }
.service-feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  background: var(--brick);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-box {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 18px;
}
.pricing-box .pricing-label {
  font-size: 11.5px;
  color: var(--mist);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.pricing-box .pricing-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 20px; }
.step-num {
  display: inline-block;
  font-size: 13px; font-weight: 800;
  color: var(--brick);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step-num::before {
  content: '';
  display: inline-block;
  width: 30px; height: 3px;
  background: var(--brick);
  margin-right: 10px;
  vertical-align: middle;
}
.step h3 {
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.step p { font-size: 14.5px; color: var(--body); line-height: 1.6; }

/* ---------- INSURANCE SECTION (dark) ---------- */
.insurance-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.insurance-section::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(179,58,46,.18) 0%, transparent 60%);
  pointer-events: none;
}
.insurance-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) { .insurance-grid { grid-template-columns: 1fr; gap: 36px; } }
.insurance-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 13px;
  background: rgba(217,97,85,.18);
  border: 1px solid rgba(217,97,85,.4);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--brick-light);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.insurance-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.insurance-section p {
  font-size: 16.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  margin-bottom: 20px;
}
.insurance-stat {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border-left: 3px solid var(--brick);
  border-radius: 4px;
  margin-bottom: 28px;
}
.insurance-stat strong { color: #fff; font-weight: 700; }

/* ---------- PROJECTS GRID ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .projects-grid { grid-template-columns: 1fr; } }
.projects-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .projects-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .projects-grid.cols-3 { grid-template-columns: 1fr; } }
.project {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-photo::after {
  content: 'COMPLETED';
  position: absolute;
  top: 10px; left: 10px;
  background: var(--brick);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 4px;
}
.project-body { padding: 16px 18px 20px; }
.project-loc {
  font-size: 14.5px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.project-type {
  font-size: 12.5px;
  color: var(--brick);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2px 0 8px;
}
.project-desc {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.5;
}
.project-meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex; gap: 14px;
  font-size: 11.5px;
  color: var(--mist);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- FILTER BAR ---------- */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 12px;
  background: var(--cream);
  border-radius: var(--radius);
}
.filter-bar-label {
  font-size: 11.5px; font-weight: 700;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px;
}
.filter-chip {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }
.why { text-align: center; padding: 28px 18px; }
.why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--brick);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border: 2px solid var(--cream-dark);
}
.why h3 {
  font-size: 15.5px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.why p {
  font-size: 13.5px;
  color: var(--mist);
  line-height: 1.5;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonials-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .testimonials-grid.cols-2 { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-stars {
  color: #F5A623;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.author-info { line-height: 1.3; }
.author-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.author-meta { font-size: 12.5px; color: var(--mist); margin-top: 2px; }

/* ---------- RATING BREAKDOWN ---------- */
.rating-summary {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 52px;
  padding: 36px 40px;
  background: var(--cream);
  border-radius: var(--radius);
}
@media (max-width: 720px) { .rating-summary { grid-template-columns: 1fr; gap: 24px; padding: 28px; } }
.rating-big {
  text-align: center;
  border-right: 1px solid var(--cream-dark);
  padding-right: 24px;
}
@media (max-width: 720px) { .rating-big { border-right: 0; border-bottom: 1px solid var(--cream-dark); padding-right: 0; padding-bottom: 20px; } }
.rating-big-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.rating-big-stars {
  color: #F5A623;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 8px 0 6px;
}
.rating-big-count {
  font-size: 13px;
  color: var(--mist);
  font-weight: 600;
}
.rating-breakdown { display: flex; flex-direction: column; gap: 8px; }
.rating-row { display: grid; grid-template-columns: 28px 1fr 56px; gap: 12px; align-items: center; }
.rating-row .star-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.rating-row .bar {
  height: 8px;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
}
.rating-row .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F5A623, #f7b84d);
  border-radius: 4px;
}
.rating-row .pct {
  font-size: 12.5px;
  color: var(--mist);
  text-align: right;
  font-weight: 600;
}

/* Source badges on reviews page */
.review-source-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review-source-row .src-label { font-size: 13px; color: var(--mist); font-weight: 600; }
.review-sources { display: flex; gap: 22px; flex-wrap: wrap; }
.review-source {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.review-source .src-stars { color: #F5A623; }
.review-source .src-count { color: var(--mist); font-weight: 500; }

/* ---------- TIMELINE (about) ---------- */
.timeline {
  position: relative;
  padding-left: 38px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--cream-dark);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  background: var(--brick);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--cream-dark);
}
.timeline-year {
  font-size: 13px;
  font-weight: 800;
  color: var(--brick);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.timeline-desc {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
}

/* ---------- CERTIFICATIONS ---------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }
.cert {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.cert-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.cert-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.cert-desc { font-size: 12.5px; color: var(--mist); line-height: 1.4; }

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
}
@media (max-width: 480px) { .team-card { grid-template-columns: 1fr; } }
.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.96);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.team-photo::after {
  content: '';
  position: absolute;
  top: -30%; right: -30%;
  width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(179,58,46,0.18) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 480px) { .team-photo { aspect-ratio: 16/10; font-size: 64px; } }

/* ---------- SVG ICONS ---------- */
.service-icon svg,
.why-icon svg,
.service-detail-icon svg,
.cert-icon svg,
.contact-meta-icon svg { display: block; }
.service-icon svg { width: 24px; height: 24px; color: #fff; }
.why-icon svg { width: 28px; height: 28px; color: var(--brick); }
.service-detail-icon svg { width: 32px; height: 32px; color: #fff; }
.cert-icon svg { width: 30px; height: 30px; color: var(--brick); margin: 0 auto; }
.contact-meta-icon svg { width: 18px; height: 18px; color: #fff; }
.insurance-tag svg { width: 13px; height: 13px; vertical-align: -1px; }
.callout-icon svg { width: 22px; height: 22px; color: var(--brick); }

/* ==========================================================
   MOBILE HAMBURGER MENU
   ========================================================== */
.nav-toggle { display: none; }
.nav-burger { display: none; }

@media (max-width: 980px) {
  .nav-inner { position: relative; gap: 12px; }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    padding: 2px 0;
    background: transparent;
    border: 0;
    z-index: 101;
    margin-left: auto;
  }
  .nav-burger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  /* Animate to X when checked */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile menu drops below nav */
  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding: 8px 24px 24px !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(13,26,48,0.10);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-toggle:checked ~ .nav-links { display: flex !important; }

  .nav-links a:not(.nav-cta) {
    display: block !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink) !important;
    text-align: left;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active {
    color: var(--brick) !important;
  }

  .nav-phone {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .nav-phone-label {
    color: var(--mist) !important;
  }
  .nav-phone-num {
    font-size: 16px !important;
  }

  .nav-cta {
    margin-top: 14px;
    text-align: center;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}

/* ==========================================================
   MOBILE FIXES (general)
   ========================================================== */
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero-inner { padding: 64px 0 56px; }
  .hero-trust { gap: 18px 24px; font-size: 12.5px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .page-hero { padding: 48px 0 40px; }
  .stats-band { padding: 32px 0; }
  .magnet-wrap { padding: 28px 22px !important; }
  .insurance-section { padding: 64px 0; }
  .rating-summary { padding: 22px; }
  .sec-head-flex .see-all-link { margin-top: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-trust { gap: 12px 18px; }
  .hero-trust span { flex-basis: 100%; }
  .filter-bar { padding: 10px; gap: 6px; }
  .filter-bar-label { padding: 6px 8px; font-size: 10.5px; }
  .filter-chip { padding: 7px 12px; font-size: 12.5px; }
  .stat-value { font-size: 26px; }
  .form-card { padding: 22px; }
  .nav-cta { padding: 10px 14px !important; font-size: 13.5px !important; }
}

/* Fix the about.html origin story 2-column grid on mobile */
.about-origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .about-origin-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Fix the service area list grid on contact.html — override the inline 4-col */
@media (max-width: 720px) {
  .service-area-list { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 380px) {
  .service-area-list { grid-template-columns: 1fr !important; }
}
.team-body { padding: 22px 24px; }
.team-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 13px;
  color: var(--brick);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 3px 0 10px;
}
.team-bio { font-size: 14px; color: var(--body); line-height: 1.55; }

/* ---------- LEAD MAGNET ---------- */
.magnet-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 20px;
  padding: 56px;
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.magnet-wrap::after {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,97,85,.22) 0%, transparent 60%);
  pointer-events: none;
}
.magnet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) {
  .magnet-grid { grid-template-columns: 1fr; gap: 32px; }
  .magnet-wrap { padding: 36px 28px; }
}
.magnet-tag {
  display: inline-block;
  padding: 5px 13px;
  background: var(--brick);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.magnet-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.magnet-desc {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}

/* ---------- FORMS ---------- */
.form-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.form-card .form-title {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brick-light);
  background: rgba(255,255,255,.09);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field option { color: var(--ink); }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(74,222,128,.15);
  border: 1px solid rgba(74,222,128,.35);
  color: #bbf7d0;
}

/* Light form variant */
.form-light .form-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-light .form-title { color: var(--ink); }
.form-light .field label { color: var(--mist); }
.form-light .field input,
.form-light .field textarea,
.form-light .field select {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
}
.form-light .field input::placeholder,
.form-light .field textarea::placeholder { color: var(--mist); }
.form-light .form-status.success {
  background: rgba(21, 128, 61, .10);
  border: 1px solid rgba(21, 128, 61, .35);
  color: #15803d;
}
.form-status.error {
  display: block;
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .35);
  color: #fca5a5;
}
.form-light .form-status.error {
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .35);
  color: #b91c1c;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info h3 {
  font-size: 22px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.contact-info p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 28px;
  line-height: 1.6;
}
.contact-meta { display: flex; flex-direction: column; gap: 12px; }
.contact-meta-item {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact-meta-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--brick); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-meta-label {
  font-size: 11.5px;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-meta-value { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.service-area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
@media (max-width: 480px) { .service-area-list { grid-template-columns: repeat(2, 1fr); } }
.service-area-list span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  padding: 6px 0;
}
.service-area-list span::before {
  content: '•';
  color: var(--brick);
  font-weight: 800;
  margin-right: 8px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 24px;
  font-size: 15.5px; font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px; font-weight: 300;
  color: var(--brick);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq[open] summary::after { content: '\2212'; }
.faq-body {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.65;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.foot-brand .brand-mark { width: 32px; height: 32px; }
.foot-brand .brand-mark svg { width: 18px; height: 18px; }
.foot-tag {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin-bottom: 18px;
}
.foot-license {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-family: ui-monospace, monospace;
}
.foot-col h4 {
  font-size: 12px; font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.foot-col a, .foot-col span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.42);
}
.foot-credit a { color: var(--brick-light); }
.foot-credit a:hover { color: #fff; }

/* ==========================================================
   HOW IT WORKS — Interactive demo page
   ========================================================== */

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .demo-grid { grid-template-columns: 1fr; gap: 28px; }
}

.demo-form-side .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.demo-form-side .form-title {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.demo-form-side .form-subtitle {
  font-size: 14px;
  color: var(--mist);
  margin-bottom: 22px;
  line-height: 1.5;
}
.demo-form-side .field label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.demo-form-side .field input,
.demo-form-side .field select {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* Right preview pane — styled to LOOK like a CRM dashboard */
.demo-preview-pane {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  position: relative;
  min-height: 540px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-preview-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.demo-preview-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.demo-preview-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.demo-preview-title-mark {
  width: 22px; height: 22px;
  background: var(--brick);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.demo-preview-title-mark svg { width: 12px; height: 12px; stroke: white; }
.demo-status-pill {
  font-size: 11px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-status-pill.idle {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.1);
}
.demo-status-pill.live {
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.4);
}
.demo-status-pill.live::before {
  content: '●';
  margin-right: 5px;
  animation: pulse 2s ease-in-out infinite;
}

.demo-empty-state {
  position: relative; z-index: 1;
  text-align: center;
  padding: 80px 24px;
}
.demo-empty-state .empty-icon {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
}
.demo-empty-state h4 {
  font-size: 17px; font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.demo-empty-state p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.demo-events { position: relative; z-index: 1; }

.demo-event {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  margin-bottom: 12px;
}
.demo-event.revealed { opacity: 1; transform: translateY(0); }

.demo-event-contact,
.demo-event-opportunity {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px 18px;
}
.demo-event-label {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick-light);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.demo-event-label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brick);
  border-radius: 50%;
}
.demo-event-contact .demo-event-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.demo-event-contact .demo-event-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}
.demo-event-contact .demo-event-meta span::before {
  content: '·';
  margin-right: 8px;
  color: rgba(255,255,255,0.3);
}

.demo-event-opportunity {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.demo-event-opp-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.demo-event-opp-stage {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}
.demo-event-opp-value {
  font-size: 17px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.demo-event-checks {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.demo-check {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.demo-check.revealed { opacity: 1; transform: translateX(0); }
.demo-check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74,222,128,0.18);
  border: 1px solid rgba(74,222,128,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.demo-check-icon svg { width: 10px; height: 10px; stroke: #4ade80; }
.demo-check-label strong { color: #fff; font-weight: 600; }
.demo-check-time {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-family: ui-monospace, monospace;
}

.demo-final-banner {
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(74,222,128,0.05));
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 8px;
  font-size: 13.5px;
  color: #bbf7d0;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.demo-final-banner.revealed { opacity: 1; transform: scale(1); }

.demo-final-banner strong { color: #4ade80; }

/* Demo intro section above the grid */
.demo-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.demo-intro h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.demo-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
