/* ==========================================================================
   PEARWOOD ROOFING - ULTRA-PREMIUM STYLESHEET
   Aesthetics: Apple/Stripe-level, high whitespace, clean typography
   ========================================================================== */

:root {
  /* Brand Colors */
  --teal: #0F766E; /* Deep trustworthy teal */
  --teal-light: #2DD4BF; /* Glowing vibrant accent */
  --teal-subtle: rgba(20, 184, 166, 0.1);
  --red: #DC2626; /* Premium vivid red */
  --red-hover: #B91C1C;
  --black: #0A0A0B;
  --gray-800: #1F2937;
  --gray-500: #6B7280;
  --gray-200: #F3F4F6;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  
  /* Animation Easing */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Gradients & Shadows */
  --shadow-premium: 0 20px 40px -10px rgba(15, 118, 110, 0.06), 0 10px 20px -5px rgba(15, 118, 110, 0.03);
  --shadow-float: 0 30px 60px -15px rgba(15, 118, 110, 0.12), 0 15px 30px -10px rgba(15, 118, 110, 0.05);
  --shadow-glow: 0 0 24px rgba(45, 212, 191, 0.4);
  --shadow-red-glow: 0 12px 28px -6px rgba(220, 38, 38, 0.35);
}

/* =========================================
   RESET & FOUNDATION
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(45, 212, 191, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(220, 38, 38, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(45, 212, 191, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em; /* Modern tight tracking */
  color: var(--black);
}

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

/* =========================================
   LAYOUT & CONTAINERS
========================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 160px 0; /* Massive whitespace */
}

/* =========================================
   TYPOGRAPHY UTILITIES
========================================= */
.title-xl {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.title-lg {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--gray-500);
  font-weight: 400;
  max-width: 680px;
  line-height: 1.5;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================
   BUTTONS (PREMIUM CTAs)
========================================= */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 100px; /* Pill shape */
  font-family: var(--font-body);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth), opacity 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

/* Action Driven Primary - Red */
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  color: var(--white);
  box-shadow: var(--shadow-red-glow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px -8px rgba(220, 38, 38, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::after {
  left: 150%;
}

/* Trust Secondary - Teal */
.btn-secondary {
  background: var(--gray-200);
  color: var(--black);
  transition: all 0.3s var(--ease-smooth);
}

.btn-secondary:hover {
  background: var(--teal-subtle);
  color: var(--teal);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border: 1px solid var(--gray-500);
}

.btn-outline:hover {
  border-color: var(--black);
  color: var(--black);
}

/* =========================================
   GLASSMORPHISM HEADER
========================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease;
  padding: 4px 0; /* Reduced padding to fit bigger logo */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 72px; /* Much bigger logo */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--black);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  position: relative;
  padding-top: 180px; /* Offset for fixed header plus massive space */
  padding-bottom: 120px;
  overflow: hidden;
  background-color: transparent;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent;
  z-index: 0;
}

/* Premium Abstract Glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
  animation: float-glow 15s ease-in-out infinite alternate;
}

.shape-teal {
  background: var(--teal-light);
  width: 600px; height: 600px;
  top: -200px; left: -200px;
}

.shape-red {
  background: var(--red);
  width: 500px; height: 500px;
  bottom: -150px; right: -100px;
  animation-delay: -5s;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Background image with refined fade overlay instead of heavy dark */
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
  z-index: 0;
}

/* Gradient fade to ensure text readability without looking dirty */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(245, 245, 247, 0.95) 0%, rgba(245, 245, 247, 0.8) 50%, rgba(245, 245, 247, 0) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* =========================================
   TRUST BAR
========================================= */
.trust-bar {
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: var(--white);
  padding: 40px 0;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* High-end Checkmark */
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.trust-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* =========================================
   SERVICES GRID (Stripe Card Style)
========================================= */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: var(--shadow-premium), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  border-color: rgba(45, 212, 191, 0.4);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.25);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* =========================================
   FREE INSPECTION CALLOUT
========================================= */
.inspection-cta {
  background-color: var(--teal);
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  margin: 0 40px; /* Suspended look */
  padding: 80px 40px;
}

.inspection-cta .title-lg, .inspection-cta .subtitle {
  color: var(--white);
}

.inspection-cta .subtitle {
  color: rgba(255,255,255,0.9);
}

/* Abstract Premium Shapes inside CTA */
.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
}

.shape-1 {
  width: 400px; height: 400px;
  top: -100px; right: -100px;
}

.shape-2 {
  width: 200px; height: 200px;
  bottom: -50px; left: 10%;
}

/* =========================================
   BEFORE & AFTER (Sleek Apple Setup)
========================================= */
.before-after {
  background: var(--gray-200);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.ba-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4/3;
  transform: scale(1);
  transition: transform 0.6s var(--ease-spring);
}

.ba-card:hover {
  transform: scale(1.02);
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.ba-card:hover .ba-img {
  transform: scale(1.05);
}

.ba-label {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ba-label.red { color: var(--red); }
.ba-label.teal { color: var(--teal); }

/* =========================================
   REVIEWS & WHY US
========================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.review-card {
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-premium);
}

.stars {
  color: #f59e0b;
  font-size: 1.4rem;
  margin-bottom: 24px;
  display: flex;
  gap: 2px;
  letter-spacing: 0;
}

.stars svg { width: 22px; height: 22px; }

.review-text {
  font-size: 1.15rem;
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 24px;
}

.reviewer {
  font-weight: 600;
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  list-style: none;
  margin-top: 40px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.why-list li:last-child {
  border-bottom: none;
}

.why-img-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   FOOTER
========================================= */
footer {
  background: var(--white);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-logo {
  height: 40px;
  opacity: 0.5;
  margin-bottom: 20px;
  filter: grayscale(100%);
}

footer p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
/* =========================================
   HERO — DRIBBBLE LAYERED LAYOUT
========================================= */
.hero {
  background-color: transparent;
  padding-top: 200px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 25vw, 30rem);
  font-weight: 800;
  color: rgba(15, 118, 110, 0.04);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.hero-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, var(--red-hover), #EF4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  white-space: nowrap;
}

.hero-content { 
  max-width: 700px; 
  position: relative;
  z-index: 3;
}

/* Ticker styles */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--black);
  padding: 16px 0;
  position: relative;
  z-index: 10;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  gap: 40px;
}

.ticker-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  background: var(--teal-subtle);
  padding: 6px 16px;
  border-radius: 100px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}

.checkmark {
  color: var(--teal);
  font-size: 1rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 118, 110, 0.25), 0 0 0 8px rgba(255,255,255,0.6);
  aspect-ratio: 4/3;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-spring);
}

.hero-image-wrap:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-image-wrap:active {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(0.95);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   SERVICE CARD — LEARN MORE LINK
========================================= */
.service-card p {
  font-family: var(--font-body);
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.learn-more {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.learn-more:hover { gap: 8px; }

/* =========================================
   WHY US — ICON
========================================= */
.why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-subtle);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   CONTACT FORM
========================================= */
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: var(--shadow-premium);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--gray-200);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  background: var(--white);
  border-color: var(--teal);
}

.form-group input::placeholder { color: var(--gray-500); }

/* =========================================
   MOBILE MENU
========================================= */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-800);
  padding: 4px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  max-height: 400px;
  padding: 16px 0 20px;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: 12px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.2s;
}

.mobile-nav a:hover { background: var(--gray-200); }

.mobile-nav .btn {
  margin: 16px 40px 0;
  text-align: center;
  border-radius: 100px;
}

/* =========================================
   FOOTER GRID
========================================= */
footer {
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-family: var(--font-body);
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 12px 0 16px;
}

.footer-phone {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li,
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 24px;
  text-align: center;
}

/* =========================================
   INSURANCE TIMELINE
========================================= */
.insurance-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.insurance-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--red), transparent);
  z-index: 0;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.timeline-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(15,118,110,0.15), inset 0 0 0 4px var(--gray-50);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  transition: transform 0.3s ease;
}

.timeline-step:hover .timeline-number {
  transform: translateY(-5px) scale(1.05);
}

.timeline-step:nth-child(4) .timeline-number {
  background: linear-gradient(135deg, var(--teal), var(--red));
  color: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 16px 32px rgba(220,38,38,0.2);
}

.timeline-step h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.timeline-step p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .insurance-timeline::before { display: none; }
  .insurance-timeline { flex-direction: column; gap: 40px; }
  .timeline-step { display: flex; text-align: left; align-items: flex-start; gap: 24px; padding: 0; }
  .timeline-number { margin: 0; flex-shrink: 0; width: 60px; height: 60px; font-size: 1.8rem; }
}

@media (max-width: 992px) {
  .inspection-cta { margin: 0 20px; padding: 60px 20px; }
  .why-us-grid { grid-template-columns: 1fr; gap: 40px; }
  .ba-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
}

@media (max-width: 768px) {
  .title-xl { font-size: clamp(2.8rem, 10vw, 4rem); padding-top: 10px; }
  .title-lg { font-size: 2.2rem; }
  section { padding: 60px 0; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-group { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
  .btn-group .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-eyebrow { font-size: 0.8rem; padding: 6px 12px; }
}
