/* ============================================
   VIGEO Health - Home Page Styles
   Page-specific styles for the homepage
   ============================================ */

/* ========================================
   EDGE SCROLLBAR FIX
   Prevent Edge from showing scrollbar on hero
   ======================================== */
html:has(.hero--immersive),
body:has(.hero--immersive) {
  /* Prevent any scrollbar from appearing on initial viewport */
  overflow-x: hidden;
  /* Smooth scrolling for anchor links */
  scroll-behavior: smooth;
}

/* Hide scrollbar in Edge/IE while still allowing scroll */
@supports (-ms-overflow-style: none) {
  html:has(.hero--immersive) {
    -ms-overflow-style: none;
  }
}

/* Hide scrollbar in WebKit browsers (Chrome, Safari, Edge Chromium) */
html:has(.hero--immersive)::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* ========================================
   HERO SECTION - IMMERSIVE FULL-SCREEN VIDEO
   ======================================== */
.hero--immersive {
  position: relative;
  /* Use svh (Small Viewport Height) for mobile browser address bar compatibility */
  height: 100svh;
  height: 100vh; /* Fallback for browsers that don't support svh */
  min-height: 600px;
  max-height: 100svh; /* Strictly enforce no overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Kill the scrollbar */
  box-sizing: border-box;
  margin: 0; /* Remove any inherited margins */
  padding: 0; /* Remove any padding that could cause overflow */
}

/* Override for browsers that support svh */
@supports (height: 100svh) {
  .hero--immersive {
    height: 100svh;
    max-height: 100svh;
  }
}

/* Full-bleed background video container */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Semi-transparent overlay for text readability */
/* Dark cinematic scrim - makes white text and brand red pop */
/* Keeps family visible while creating premium, sentimental feel */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark gradient: 60% opacity for clear body text readability */
  /* Slightly lighter in center to preserve family connection */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 0.5) 65%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Centered content overlay */
.hero-content-centered {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 800px;
  text-align: center;
  /* Tighter padding to ensure content fits within 100svh */
  padding: 80px 20px 24px; /* Account for navbar at top */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  /* Ensure no content causes overflow */
  overflow: hidden;
  box-sizing: border-box;
}

/* Reset margins on all direct children to prevent scrollbar */
.hero-content-centered > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* Hero headline - white text on dark cinematic background */
.hero--immersive .hero-headline {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff; /* Pure white for dark background */
  margin: 0; /* Remove any default margins that could cause overflow */
  /* Subtle dark shadow to lift text off video */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 0, 0, 0.2);
}

.hero--immersive .headline-accent {
  color: var(--vigeo-red, #af2d2c); /* Brand color locked */
  display: block;
  margin-top: 8px;
  /* Subtle glow to make red pop on dark background */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(175, 45, 44, 0.3);
}

.hero--immersive .hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.35rem);
  color: rgba(255, 255, 255, 0.95); /* Soft off-white */
  font-style: italic;
  font-weight: 500;
  /* Subtle shadow for readability */
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero--immersive .hero-description {
  /* 16px minimum for accessibility (prevents iOS zoom on focus) */
  font-size: max(16px, clamp(1rem, 1vw + 0.5rem, 1.15rem));
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9); /* Light off-white for body text */
  max-width: 650px; /* ~65ch for optimal readability */
  margin: 0 auto; /* Center the constrained text block */
  /* Subtle shadow for body text readability */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Actions - Centered */
.hero--immersive .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.hero--immersive .hero-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--vigeo-red, #af2d2c);
  color: white !important;
  -webkit-text-fill-color: white !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(175, 45, 44, 0.3);
}

.hero--immersive .hero-actions .btn-primary:hover {
  background: #9a2625;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(175, 45, 44, 0.4);
}

.hero--immersive .hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.95); /* Slightly translucent for depth */
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow for dark bg */
}

.hero--immersive .hero-actions .btn-secondary:hover {
  background: #fff;
  border-color: var(--vigeo-red, #af2d2c);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.hero--immersive .hero-actions .btn-secondary svg {
  color: var(--vigeo-red, #af2d2c);
}

.phone-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.phone-label {
  font-size: 0.75rem;
  color: var(--vigeo-red, #af2d2c);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.phone-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vigeo-red, #af2d2c);
}

/* Trust Indicators - Centered */
.hero--immersive .trust-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
}

.trust-badge img {
  height: 50px;
  width: auto;
  opacity: 1;
  transition: all 0.2s ease;
  /* White glow effect to make badges visible on dark background */
  filter:
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3))
    brightness(1.05);
}

.trust-badge:hover img {
  transform: scale(1.05);
  filter:
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4))
    brightness(1.1);
}

/* ========================================
   HERO FADE-IN ANIMATIONS
   Gentle, human-feeling entrance animations
   ======================================== */
.hero-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s ease forwards;
}

.hero-fade-in--delay-1 {
  animation-delay: 0.2s;
}

.hero-fade-in--delay-2 {
  animation-delay: 0.4s;
}

.hero-fade-in--delay-3 {
  animation-delay: 0.6s;
}

.hero-fade-in--delay-4 {
  animation-delay: 0.8s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-fade-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
  .hero-content-centered {
    padding: 70px 16px 20px; /* Tighter to fit 100svh */
    gap: clamp(10px, 2vw, 16px);
  }

  .hero--immersive .hero-headline {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 2.5rem);
  }

  /* Ensure 16px minimum for accessibility */
  .hero--immersive .hero-description {
    font-size: 16px; /* Lock to 16px minimum on mobile */
    line-height: 1.6;
  }

  .hero--immersive .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  /* Ensure 44px minimum tap targets */
  .hero--immersive .hero-actions .btn-primary,
  .hero--immersive .hero-actions .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    min-height: 48px; /* 44px minimum + padding */
    padding: 14px 24px;
  }

  .hero--immersive .trust-indicators {
    gap: 10px;
    margin-top: 12px;
  }

  .trust-badge img {
    height: 36px;
  }

  /* Ensure trust badges are tappable */
  .trust-badge {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Very short screens - compact mode */
@media (max-height: 650px) {
  .hero-content-centered {
    padding: 60px 16px 16px;
    gap: 8px;
  }

  .hero--immersive .hero-description {
    display: none; /* Hide description on very short screens */
  }

  .hero--immersive .trust-indicators {
    display: none; /* Hide trust badges on very short screens */
  }

  .hero--immersive .hero-subtitle {
    font-size: 1rem;
  }
}


/* ========================================
   HERO CURVE DIVIDER
   Soft wave transition with subtle parallax
   ======================================== */
.hero-curve-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  /* Subtle parallax - wave stays fixed longer during scroll */
  transform: translateZ(0);
  will-change: transform;
}

.hero-curve-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  /* Slight scale for smooth edge coverage */
  transform: scaleX(1.02);
}

/* Adjust curve height on mobile */
@media (max-width: 768px) {
  .hero-curve-divider {
    height: 50px;
  }
}

/* ========================================
   SECTION WAVE TRANSITIONS
   Creates layered depth effect between sections
   ======================================== */

/* Services to Get Started transition wave */
.section--service-highlights {
  /* Creates layered effect - services section slides under get-started */
  position: relative;
  z-index: 1;
}

.section--get-started {
  /* Get Started appears to slide over services */
  position: relative;
  z-index: 2;
  /* Subtle top shadow for depth layering effect */
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.04);
}


/* ========================================
   HERO TRUST ICONS - INLINE BELOW CTAs
   Visible on tall screens (850px+) as visual anchor
   Part of the main flex flow, not absolute positioned

   CONDITIONAL VISIBILITY:
   - Hidden on screens shorter than 850px (prioritize CTAs)
   - Flows naturally below CTA buttons on large screens
   ======================================== */

/* Default: Hidden on small/medium screens to prioritize CTAs */
.hero-trust-icons {
  display: none;
}

/* Only show on screens tall enough (850px+) */
@media (min-height: 850px) {
  .hero-trust-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Generous gap for balanced, wide anchor appearance */
    gap: 4rem;
    /* Breathing room from CTAs above */
    margin-top: 3rem;
    /* Ensure icons are clickable */
    pointer-events: auto;
  }
}

.hero-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-trust-icon:hover {
  transform: scale(1.1);
}

.hero-trust-icon img {
  /* Large, prominent size for visual impact */
  height: 65px;
  width: auto;
  /* Strong white glow for crisp visibility against video */
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.7))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3))
    brightness(1.08);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-trust-icon:hover img {
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.9))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4))
    brightness(1.15);
}

/* Even larger icons on very tall screens */
@media (min-height: 950px) {
  .hero-trust-icons {
    gap: 5rem;
    margin-top: 3.5rem;
  }

  .hero-trust-icon img {
    height: 70px;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-trust-icon,
  .hero-trust-icon img {
    transition: none;
  }
}

/* Trust icons hidden on small screens - CTAs take priority */


/* ========================================
   SERVICE HIGHLIGHTS SECTION
   ======================================== */
.section--service-highlights {
  /* Increased bottom padding (8rem) for breathing room with next section */
  padding: clamp(50px, 6vw, 80px) 0 clamp(100px, 12vw, 8rem);
  /* Warm off-white background (eggshell) - not stark hospital white */
  background: var(--cozy-cream, #fefcfa);
  /* Overlap slightly with curve for seamless transition */
  margin-top: -1px;
  position: relative;
}

/* "Path of Care" Connector - Subtle vertical dashed line */
.section--service-highlights::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  /* Very light brand red at 10% opacity */
  background: repeating-linear-gradient(
    to bottom,
    rgba(175, 45, 44, 0.15) 0px,
    rgba(175, 45, 44, 0.15) 8px,
    transparent 8px,
    transparent 16px
  );
}

.services-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vigeo-red, #af2d2c);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 16px;
}

.text-accent {
  color: var(--vigeo-red, #af2d2c);
}

.section-lead {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.15rem);
  color: var(--text-secondary, #333);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

/* Service Card - Floating card elevation */
.service-card {
  background: white;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  /* Staggered entry animation */
  opacity: 0;
  transform: translateY(30px);
}

/* Trigger animation when parent section is revealed */
.reveal.active .service-card {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for narrative flow */
.reveal.active .service-card:nth-child(1) {
  transition-delay: 0.1s;
  animation: cardFadeIn 0.6s ease-out 0.1s forwards;
}

.reveal.active .service-card:nth-child(2) {
  transition-delay: 0.2s;
  animation: cardFadeIn 0.6s ease-out 0.2s forwards;
}

.reveal.active .service-card:nth-child(3) {
  transition-delay: 0.3s;
  animation: cardFadeIn 0.6s ease-out 0.3s forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium hover effect - deeper lift and shadow */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(175, 45, 44, 0.08);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .service-card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.3s ease;
  }

  .reveal.active .service-card,
  .reveal.active .service-card:nth-child(1),
  .reveal.active .service-card:nth-child(2),
  .reveal.active .service-card:nth-child(3) {
    animation: none;
    transition-delay: 0s;
  }
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), #c94544);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  color: white;
  stroke: white;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #333);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary, #333);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vigeo-red, #af2d2c);
  font-weight: bold;
}

/* Service CTA Link - Enhanced hover animation */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vigeo-red, #af2d2c);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: gap 0.3s ease, font-weight 0.2s ease, color 0.2s ease;
  padding: 8px 0;
  position: relative;
}

.service-cta::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vigeo-red, #af2d2c);
  transition: width 0.3s ease;
}

.service-cta:hover {
  gap: 12px;
  font-weight: 700;
}

.service-cta:hover::after {
  width: calc(100% - 24px); /* Exclude arrow icon */
}

.service-cta svg {
  transition: transform 0.3s ease;
}

.service-cta:hover svg {
  transform: translateX(4px);
}


/* ========================================
   GENERAL SECTION STYLES
   ======================================== */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section--alt {
  background: linear-gradient(135deg, var(--cozy-peach, #ffeee6) 0%, var(--white, #fff) 50%, var(--cozy-peach, #ffeee6) 100%);
}


/* ========================================
   PROCESS / GET STARTED SECTION
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.process-step {
  background: white;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--vigeo-red, #af2d2c);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 8px;
}

.step-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #333);
  line-height: 1.6;
}


/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), #c94544);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-name {
  font-weight: 600;
  color: var(--text-primary, #000);
}

.review-rating {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, #333);
  font-style: italic;
}


/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.why-choose-card {
  background: white;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 32px);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.why-choose-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), #c94544);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-choose-icon svg {
  color: white;
  stroke: white;
}

.why-choose-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 8px;
}

.why-choose-description {
  font-size: 0.95rem;
  color: var(--text-secondary, #333);
  line-height: 1.6;
}


/* ========================================
   SERVICE LINK (Fix missing class)
   ======================================== */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vigeo-red, #af2d2c);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 10px;
}

.service-link svg {
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}


/* ========================================
   GET STARTED SECTION - Process Timeline
   ======================================== */
.section--get-started {
  /* Increased top padding for breathing room from services section */
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, var(--white, #fff) 0%, var(--cozy-cream, #fefcfa) 100%);
  position: relative;
}

/* Continuation of "Path of Care" connector at top */
.section--get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  /* Very light brand red at 10% opacity - matches services section */
  background: repeating-linear-gradient(
    to bottom,
    rgba(175, 45, 44, 0.15) 0px,
    rgba(175, 45, 44, 0.15) 8px,
    transparent 8px,
    transparent 16px
  );
}

.get-started-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Staggered reveal for Get Started section header */
.section--get-started.reveal.active .section-eyebrow {
  animation: getStartedReveal 0.6s ease-out forwards;
}

.section--get-started.reveal.active .section-title {
  animation: getStartedReveal 0.6s ease-out 0.1s forwards;
  opacity: 0;
}

.section--get-started.reveal.active .section-lead {
  animation: getStartedReveal 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.section--get-started.reveal.active .process-timeline {
  animation: getStartedReveal 0.6s ease-out 0.35s forwards;
  opacity: 0;
}

@keyframes getStartedReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   JOURNEY PATH - Animated SVG "Path of Care"
   Draws itself as user scrolls into view
   ======================================== */

/* Hidden on mobile - show only on desktop */
.journey-path-container {
  display: none;
}

@media (min-width: 1024px) {
  .journey-path-container {
    display: block;
    position: relative;
    height: 30px;
    margin: 0 auto clamp(24px, 3vw, 40px);
    max-width: 1000px;
    width: 90%;
  }

  .journey-path-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  /* Animated line - draws via stroke-dashoffset */
  .journey-path-line {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  /* When section is revealed, draw the line */
  .section--get-started.reveal.active .journey-path-line {
    stroke-dashoffset: 0;
  }

  /* Journey markers - fade in sequentially */
  .journey-marker {
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform-origin: center;
    transform: scale(0);
  }

  .section--get-started.reveal.active .journey-marker:nth-child(3) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.4s;
  }

  .section--get-started.reveal.active .journey-marker:nth-child(4) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.7s;
  }

  .section--get-started.reveal.active .journey-marker:nth-child(5) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.0s;
  }

  .section--get-started.reveal.active .journey-marker:nth-child(6) {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.3s;
  }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .journey-path-line {
    stroke-dashoffset: 0 !important;
    transition: none;
  }

  .journey-marker {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: none;
  }
}

/* Process Timeline Grid */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Animated Connecting Path - Draws between step numbers on desktop */
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(24px + 16px); /* Align with first step number center */
    right: calc(24px + 16px); /* Align with last step number center */
    height: 2px;
    /* Brand red at 20% opacity */
    background: linear-gradient(
      90deg,
      rgba(175, 45, 44, 0.2) 0%,
      rgba(175, 45, 44, 0.2) 100%
    );
    z-index: 0;
    /* Animated "drawing" effect on scroll */
    transform-origin: left;
    transform: scaleX(0);
  }

  /* Draw the line when section is revealed */
  .section--get-started.reveal.active .process-timeline::before {
    animation: drawConnectingPath 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
  }
}

@keyframes drawConnectingPath {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Process Step Card - Glassmorphism Premium Effect */
.process-timeline .process-step {
  /* Glassmorphism: frosted glass effect */
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg, 20px);
  padding: clamp(24px, 3vw, 32px);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.3s ease;
  position: relative;
  /* Staggered reveal - hidden by default */
  opacity: 0;
  transform: translateY(30px);
}

/* Hover: Card lifts 8px with softer, wider shadow for depth */
.process-timeline .process-step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.10),
    0 12px 28px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(175, 45, 44, 0.08);
  background: rgba(255, 255, 255, 0.98);
  /* Subtle border glow on hover */
  border-color: rgba(175, 45, 44, 0.15);
}

/* Step Number Badge */
.process-timeline .step-number {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), var(--vigeo-dark, #8b2322));
  color: var(--white, #fff);
  border-radius: var(--radius-full, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(175, 45, 44, 0.3);
  margin-bottom: 0;
}

/* Staggered Reveal Animation - Cards fade in one by one */
.section--get-started.reveal.active .process-step {
  opacity: 1;
  transform: translateY(0);
}

.section--get-started.reveal.active .process-step:nth-child(1) {
  animation: processCardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.section--get-started.reveal.active .process-step:nth-child(2) {
  animation: processCardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.55s forwards;
}

.section--get-started.reveal.active .process-step:nth-child(3) {
  animation: processCardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.7s forwards;
}

.section--get-started.reveal.active .process-step:nth-child(4) {
  animation: processCardReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.85s forwards;
}

@keyframes processCardReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Icon - Interactive "Guided Step" hover */
.process-timeline .step-icon {
  width: 56px;
  height: 56px;
  background: var(--cozy-peach, #ffeee6);
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.process-timeline .step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
  stroke-width: 1.5;
  transition: color 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
}

/* Icon turns solid red on card hover - "Zero-friction" feedback */
.process-timeline .process-step:hover .step-icon {
  background: var(--vigeo-red, #af2d2c);
  box-shadow: 0 4px 16px rgba(175, 45, 44, 0.35);
  transform: scale(1.05);
}

.process-timeline .process-step:hover .step-icon svg {
  color: var(--white, #fff);
  stroke: var(--white, #fff);
}

/* Reduce motion preference for process timeline */
@media (prefers-reduced-motion: reduce) {
  .process-timeline .process-step {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.3s ease;
  }

  .process-timeline::before {
    transform: scaleX(1);
  }

  .section--get-started.reveal.active .process-step,
  .section--get-started.reveal.active .process-step:nth-child(1),
  .section--get-started.reveal.active .process-step:nth-child(2),
  .section--get-started.reveal.active .process-step:nth-child(3),
  .section--get-started.reveal.active .process-step:nth-child(4) {
    animation: none;
  }

  .section--get-started.reveal.active .process-timeline::before {
    animation: none;
  }

  .process-timeline .step-icon,
  .process-timeline .step-icon svg {
    transition: none;
  }
}

/* Step Content */
.process-timeline .step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-timeline .step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 4px;
}

.process-timeline .step-description {
  font-size: 0.9rem;
  color: var(--text-secondary, #333);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Step Details (Checkmark Items) */
.step-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary, #333);
}

.detail-item svg {
  width: 16px;
  height: 16px;
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
  stroke-width: 2;
  flex-shrink: 0;
}


/* ========================================
   GET STARTED CTA SECTION
   Cinematic "Final Destination" - The warm embrace
   ======================================== */
.get-started-cta {
  margin-top: clamp(40px, 5vw, 60px);
  /* Cinematic radial gradient - draws eye to center button */
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      #af2d2c 0%,
      #9a2726 40%,
      #8b2322 70%,
      #7a1f1e 100%
    );
  border-radius: var(--radius-xl, 24px);
  padding: clamp(32px, 5vw, 48px);
  padding-top: clamp(48px, 6vw, 64px); /* Extra top padding for wave */
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Hover lift effect for entire card */
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover: Card lifts slightly for premium feel */
.get-started-cta:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 60px rgba(139, 35, 34, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Inverted wave at top - mirrors hero curve for visual language */
.get-started-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  /* Inverted wave shape using gradient */
  background:
    radial-gradient(ellipse 50% 100% at 25% 0%, var(--white, #fff) 0%, transparent 50%),
    radial-gradient(ellipse 50% 100% at 75% 0%, var(--white, #fff) 0%, transparent 50%);
  opacity: 0.08;
  pointer-events: none;
}

/* Ambient glow effect - centered on primary button */
.get-started-cta::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 700;
  color: var(--white, #fff);
  margin-bottom: 12px;
}

.cta-description {
  font-size: clamp(0.95rem, 1vw + 0.5rem, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill, 50px);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Primary Button - High contrast, draws the eye */
.cta-buttons .primary-btn,
.cta-buttons .btn-large {
  background: var(--white, #fff);
  color: var(--vigeo-red, #af2d2c) !important;
  -webkit-text-fill-color: var(--vigeo-red, #af2d2c) !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 0 0 0 rgba(255, 255, 255, 0.4);
  /* Subtle pulse animation to draw the eye */
  animation: ctaPulse 3s ease-in-out infinite;
}

/* Pulse animation - gentle glow every 3 seconds */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.15),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.15),
      0 0 0 8px rgba(255, 255, 255, 0.15);
  }
}

.cta-buttons .primary-btn:hover,
.cta-buttons .btn-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 35px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(255, 255, 255, 0.2);
  /* Pause pulse on hover */
  animation: none;
}

.cta-buttons .primary-btn svg,
.cta-buttons .btn-large svg {
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
  transition: transform 0.3s ease;
}

.cta-buttons .primary-btn:hover svg,
.cta-buttons .btn-large:hover svg {
  transform: translateX(4px);
}

.cta-divider {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 0 8px;
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white, #fff) !important;
  -webkit-text-fill-color: var(--white, #fff) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill, 50px);
  transition: all 0.2s ease;
}

.phone-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.phone-cta svg {
  color: var(--white, #fff);
  fill: var(--white, #fff);
}

/* Resource Guide Link - Valuable gift, not an afterthought */
.resource-prompt {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.resource-prompt p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.resource-prompt a {
  color: var(--white, #fff);
  /* Dotted underline that becomes solid on hover */
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: text-decoration-style 0.2s ease;
  /* Inline display for icon alignment */
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-prompt a:hover {
  text-decoration-style: solid;
}

/* Book icon for resource guide link (added via ::after) */
.resource-prompt a::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  /* SVG book icon as background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.resource-prompt a:hover::after {
  transform: translateX(2px);
}

/* Reduce motion preference for CTA section */
@media (prefers-reduced-motion: reduce) {
  .get-started-cta {
    transition: none;
  }

  .get-started-cta:hover {
    transform: none;
  }

  .cta-buttons .primary-btn,
  .cta-buttons .btn-large {
    animation: none;
  }
}

/* ========================================
   CTA TO REVIEWS TRANSITION - "Reverse Wave Stitch"
   White concave wave at bottom of CTA for smooth flow
   ======================================== */
.get-started-cta-wrapper {
  position: relative;
  margin-top: clamp(40px, 5vw, 60px);
  z-index: 2;
  /* Move hover effect to wrapper so wave moves with CTA */
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: var(--radius-xl, 24px);
}

/* Hover on wrapper lifts both CTA and wave together */
.get-started-cta-wrapper:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 60px rgba(139, 35, 34, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Override margin-top on CTA when inside wrapper */
.get-started-cta-wrapper .get-started-cta {
  margin-top: 0;
  /* Flatten bottom border radius for wave overlap */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  /* Remove individual hover from CTA - wrapper handles it */
  transition: none;
}

.get-started-cta-wrapper .get-started-cta:hover {
  transform: none;
  box-shadow: none;
}

/* Reverse wave at bottom of CTA */
.cta-wave-bottom {
  position: relative;
  width: 100%;
  height: 40px;
  overflow: hidden;
  pointer-events: none;
  /* Match CTA background color */
  background: #7a1f1e; /* Darkest shade from CTA gradient */
  margin-top: -1px; /* Eliminate gap */
  /* Round bottom corners to match wrapper */
  border-bottom-left-radius: var(--radius-xl, 24px);
  border-bottom-right-radius: var(--radius-xl, 24px);
}

.cta-wave-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--cozy-cream, #fefcfa); /* Matches reviews section background */
}

/* Reduce motion preference for CTA wrapper */
@media (prefers-reduced-motion: reduce) {
  .get-started-cta-wrapper {
    transition: none;
  }

  .get-started-cta-wrapper:hover {
    transform: none;
  }
}


/* ========================================
   REVIEWS SECTION - Social Proof Surge
   ======================================== */
.section--reviews {
  padding: clamp(40px, 5vw, 60px) 0 clamp(80px, 10vw, 120px);
  background: var(--cozy-cream, #fefcfa);
  overflow: visible; /* Allow thread to extend beyond */
  position: relative;
  /* Negative margin to pull up and close gap with wave */
  margin-top: -1px;
}

/* "Thread of Care" - Vertical dashed line connecting to Knowledge Center */
.section--reviews::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 2px;
  height: 60px;
  /* Brand red at 20% opacity - subtle guide */
  background: repeating-linear-gradient(
    to bottom,
    rgba(175, 45, 44, 0.2) 0px,
    rgba(175, 45, 44, 0.2) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 10;
}

.reviews-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Trust Badges - "The Anchor" above testimonials header */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(24px, 3vw, 40px);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white, #fff);
  border-radius: var(--radius-pill, 50px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.trust-badge img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.trust-badge-label {
  font-size: 0.7rem;
  color: var(--text-muted, #666);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-badge-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary, #000);
}

/* Alternative: Shield-style badge for certifications */
.trust-badge--certified {
  background: linear-gradient(135deg, rgba(175, 45, 44, 0.05), rgba(175, 45, 44, 0.02));
  border: 1px solid rgba(175, 45, 44, 0.15);
}

.trust-badge--certified .trust-badge-value {
  color: var(--vigeo-red, #af2d2c);
}

.reviews-wrapper {
  margin-top: clamp(32px, 4vw, 48px);
  overflow: hidden;
  position: relative;
}

.reviews-wrapper::before,
.reviews-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.reviews-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--cozy-cream, #fefcfa), transparent);
}

.reviews-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--cozy-cream, #fefcfa), transparent);
}

.reviews-carousel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews-track {
  display: flex;
  gap: 20px;
  animation: scroll-reviews 40s linear infinite;
}

.reviews-track:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 35s;
}

@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reviews-track:hover {
  animation-play-state: paused;
}

/* Review Card (Dynamic) - "Voice of the Client" with hover-glow */
.reviews-track .review-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--white, #fff);
  border-radius: var(--radius-lg, 20px);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(175, 45, 44, 0.05);
  /* Staggered fade-in animation - hidden by default */
  opacity: 0;
  transform: scale(0.95);
  /* Hover transition */
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.3s ease;
}

/* Animate cards on reveal */
.section--reviews.reveal.active .review-card {
  animation: reviewCardPop 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Staggered delays for each card */
.section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(1) { animation-delay: 0.1s; }
.section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(2) { animation-delay: 0.2s; }
.section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(3) { animation-delay: 0.3s; }
.section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(4) { animation-delay: 0.4s; }
.section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(1) { animation-delay: 0.15s; }
.section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(2) { animation-delay: 0.25s; }
.section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(3) { animation-delay: 0.35s; }
.section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(4) { animation-delay: 0.45s; }

@keyframes reviewCardPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hover: Glow effect with brand red accent */
.reviews-track .review-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(175, 45, 44, 0.08),
    0 0 0 1px rgba(175, 45, 44, 0.1);
  border-color: rgba(175, 45, 44, 0.15);
}

.reviews-track .review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviews-track .reviewer-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), var(--vigeo-dark, #8b2322));
  border-radius: var(--radius-full, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white, #fff);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Avatar subtle scale on card hover */
.reviews-track .review-card:hover .reviewer-avatar {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(175, 45, 44, 0.3);
}

.reviews-track .reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviews-track .reviewer-name {
  font-weight: 600;
  color: var(--text-primary, #000);
  font-size: 0.95rem;
}

.reviews-track .review-date {
  font-size: 0.75rem;
  color: var(--text-muted, #666);
  transition: color 0.3s ease;
}

/* "Verified Review" turns brand red on hover */
.reviews-track .review-card:hover .review-date {
  color: var(--vigeo-red, #af2d2c);
}

/* Star ratings - Brand red #af2d2c */
.reviews-track .review-rating {
  color: var(--vigeo-red, #af2d2c);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.reviews-track .review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary, #333);
  font-style: italic;
  margin: 0;
}

/* Reduce motion preference for review cards */
@media (prefers-reduced-motion: reduce) {
  .reviews-track .review-card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.3s ease;
  }

  .section--reviews.reveal.active .review-card,
  .section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(1),
  .section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(2),
  .section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(3),
  .section--reviews.reveal.active .reviews-track:first-child .review-card:nth-child(4),
  .section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(1),
  .section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(2),
  .section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(3),
  .section--reviews.reveal.active .reviews-track:last-child .review-card:nth-child(4) {
    animation: none;
  }

  .reviews-track .review-card:hover {
    transform: none;
  }
}


/* ========================================
   RESOURCE HUB SECTION - "Knowledge Anchor"
   ======================================== */
.section--resource-hub {
  /* Extra top padding (6rem+) for breathing room from testimonials */
  /* Extra bottom padding for thread to Why Choose section */
  padding: clamp(80px, 10vw, 120px) 0 clamp(80px, 10vw, 120px);
  /* Gradient scrim: soft off-white to pure white for visual depth */
  background: linear-gradient(
    180deg,
    var(--cozy-cream, #fefcfa) 0%,
    rgba(254, 252, 250, 0.5) 15%,
    var(--white, #fff) 40%,
    var(--white, #fff) 100%
  );
  position: relative;
  overflow: visible; /* Allow thread to extend beyond */
}

/* "Thread of Care" continuation at top - receives the dashed line */
.section--resource-hub::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  /* Brand red at 20% opacity - matches reviews section */
  background: repeating-linear-gradient(
    to bottom,
    rgba(175, 45, 44, 0.2) 0px,
    rgba(175, 45, 44, 0.2) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 1;
}

/* Parallax background layer - moves slower than content */
.section--resource-hub::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  right: -10%;
  bottom: -50%;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(175, 45, 44, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 80% 70%, rgba(175, 45, 44, 0.025) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translateY(var(--parallax-offset, 0));
  transition: transform 0.1s linear;
}

.resource-hub-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* "Thread of Care" continuation at bottom - leads to Why Choose section */
.resource-hub-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 2px;
  height: 60px;
  /* Brand red at 20% opacity - continues the thread */
  background: repeating-linear-gradient(
    to bottom,
    rgba(175, 45, 44, 0.2) 0px,
    rgba(175, 45, 44, 0.2) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 10;
}

.resource-hub-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 48px);
}

@media (min-width: 992px) {
  .resource-hub-content {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

/* Slide-in animation keyframes */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered reveal for Resource Hub section header */
.section--resource-hub .section-header {
  position: relative;
  z-index: 2;
}

.section--resource-hub .section-eyebrow {
  opacity: 0;
  transform: translateY(20px);
}

.section--resource-hub .section-title {
  opacity: 0;
  transform: translateY(20px);
}

.section--resource-hub .section-lead {
  opacity: 0;
  transform: translateY(20px);
}

.section--resource-hub.reveal.active .section-eyebrow {
  animation: resourceReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.05s;
}

.section--resource-hub.reveal.active .section-title {
  animation: resourceReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.15s;
}

.section--resource-hub.reveal.active .section-lead {
  animation: resourceReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.25s;
}

@keyframes resourceReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Featured Resource Card - Slides in from left */
.resource-featured {
  width: 100%;
  opacity: 0;
  transform: translateX(-60px);
}

.section--resource-hub.reveal.active .resource-featured {
  animation: slideInFromLeft 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.35s; /* After header reveals */
}

/* Quick Links Sidebar - Slides in from right */
.section--resource-hub.reveal.active .resource-quick-links {
  animation: slideInFromRight 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.45s; /* After featured card starts */
}

.resource-card-main {
  background: var(--white, #fff);
  border-radius: var(--radius-xl, 24px);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(175, 45, 44, 0.1);
}

.resource-card-main .resource-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), var(--vigeo-dark, #8b2322));
  border-radius: var(--radius-lg, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.resource-card-main .resource-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white, #fff);
  stroke: var(--white, #fff);
}

.resource-card-main h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 12px;
}

.resource-card-main p {
  font-size: 1rem;
  color: var(--text-secondary, #333);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Local customization note */
.resource-local-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--vigeo-red, #af2d2c) !important;
  margin-bottom: 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-local-note::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--vigeo-red, #af2d2c);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Resource Topics Tags */
.resource-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.topic-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--cozy-peach, #ffeee6);
  color: var(--vigeo-red, #af2d2c);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill, 50px);
}

/* Resource CTA Button - Enhanced premium hover */
.resource-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--vigeo-red, #af2d2c);
  color: var(--white, #fff) !important;
  -webkit-text-fill-color: var(--white, #fff) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill, 50px);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 0.2s ease;
  box-shadow: 0 8px 32px rgba(175, 45, 44, 0.25);
}

.resource-cta-btn:hover {
  background: #9a2726; /* Deeper brand red */
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(175, 45, 44, 0.35),
    0 4px 16px rgba(175, 45, 44, 0.2);
}

.resource-cta-btn svg {
  width: 18px;
  height: 18px;
  color: var(--white, #fff);
  stroke: var(--white, #fff);
  transition: transform 0.3s ease;
}

.resource-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Quick Links Sidebar */
.resource-quick-links {
  background: var(--white, #fff);
  border-radius: var(--radius-lg, 20px);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.08));
  /* Initial hidden state for slide-in animation */
  opacity: 0;
  transform: translateX(60px);
}

.resource-quick-links h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cozy-cream, #fefcfa);
  border-radius: var(--radius-md, 12px);
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Hover background fill effect - brand red at 5% opacity */
.quick-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(175, 45, 44, 0.05);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.quick-link:hover::before {
  opacity: 1;
}

.quick-link:hover {
  background: var(--cozy-peach, #ffeee6);
  border-color: rgba(175, 45, 44, 0.15);
  box-shadow: 0 4px 12px rgba(175, 45, 44, 0.08);
}

.quick-link svg {
  width: 20px;
  height: 20px;
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
  flex-shrink: 0;
  /* Icon shift and glow animation on hover */
  transition:
    transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.25s ease;
}

/* Icon shifts 3px right + soft glow on hover */
.quick-link:hover svg {
  transform: translateX(3px);
  /* Soft glow effect - premium interactive signal */
  filter: drop-shadow(0 0 6px rgba(175, 45, 44, 0.4));
}

.quick-link span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #000);
  position: relative;
  z-index: 1;
}

/* Reduced motion preference for Resource Hub */
@media (prefers-reduced-motion: reduce) {
  .resource-featured,
  .resource-quick-links {
    opacity: 1;
    transform: none;
  }

  .section--resource-hub .section-eyebrow,
  .section--resource-hub .section-title,
  .section--resource-hub .section-lead {
    opacity: 1;
    transform: none;
  }

  .section--resource-hub.reveal.active .resource-featured,
  .section--resource-hub.reveal.active .resource-quick-links,
  .section--resource-hub.reveal.active .section-eyebrow,
  .section--resource-hub.reveal.active .section-title,
  .section--resource-hub.reveal.active .section-lead {
    animation: none;
  }

  .section--resource-hub::before {
    transform: none;
    transition: none;
  }

  .quick-link:hover svg {
    transform: none;
    filter: none;
  }

  .resource-cta-btn:hover {
    transform: translateY(-2px);
  }

  .resource-cta-btn:hover svg {
    transform: none;
  }
}


/* ========================================
   WHY CHOOSE US SECTION - Enhanced Premium
   ======================================== */
.section--why-choose-us {
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  background: var(--white, #fff);
  position: relative;
}

/* "Integrated" transition - branching line from Resource Hub */
.section--why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  /* Brand red at 20% opacity - continues the thread */
  background: repeating-linear-gradient(
    to bottom,
    rgba(175, 45, 44, 0.2) 0px,
    rgba(175, 45, 44, 0.2) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 1;
}

.why-choose-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section--why-choose-us .section-subtitle {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.15rem);
  color: var(--text-secondary, #333);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Northern Virginia emphasis styling */
.section--why-choose-us .northern-virginia-emphasis {
  font-weight: 700;
  color: var(--text-primary, #000);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section--why-choose-us .northern-virginia-emphasis .location-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  color: var(--vigeo-red, #af2d2c);
  vertical-align: middle;
}

/* Why Choose Hero Layout */
.why-choose-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-top: clamp(40px, 5vw, 60px);
  align-items: center;
}

@media (min-width: 992px) {
  .why-choose-hero {
    grid-template-columns: 1fr 1fr;
  }
}

/* Why Choose Content */
.why-choose-content {
  width: 100%;
}

.why-choose-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .why-choose-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Why Choose Item - Premium interactive cards */
.why-choose-item {
  background: var(--cozy-cream, #fefcfa);
  border-radius: var(--radius-lg, 20px);
  padding: clamp(20px, 3vw, 28px);
  border: 2px solid transparent;
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.3s ease;
  /* Staggered reveal - hidden by default */
  opacity: 0;
  transform: translateY(30px);
}

/* Hover: Scale 3%, lift, soft-red border */
.why-choose-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(175, 45, 44, 0.08);
  border-color: rgba(175, 45, 44, 0.25);
}

.why-choose-item .feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cozy-peach, #ffeee6);
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* Icon turns solid brand red on hover */
.why-choose-item:hover .feature-icon {
  background: var(--vigeo-red, #af2d2c);
  box-shadow: 0 6px 20px rgba(175, 45, 44, 0.35);
  transform: scale(1.05);
}

.why-choose-item .feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
  transition: color 0.3s ease, stroke 0.3s ease;
}

/* Icon turns white on hover */
.why-choose-item:hover .feature-icon svg {
  color: var(--white, #fff);
  stroke: var(--white, #fff);
}

/* Staggered reveal animations */
.section--why-choose-us.reveal.active .why-choose-item {
  opacity: 1;
  transform: translateY(0);
}

.section--why-choose-us.reveal.active .why-choose-item:nth-child(1) {
  animation: whyChooseReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s forwards;
}

.section--why-choose-us.reveal.active .why-choose-item:nth-child(2) {
  animation: whyChooseReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

.section--why-choose-us.reveal.active .why-choose-item:nth-child(3) {
  animation: whyChooseReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

.section--why-choose-us.reveal.active .why-choose-item:nth-child(4) {
  animation: whyChooseReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

@keyframes whyChooseReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-choose-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 8px;
}

.why-choose-item p {
  font-size: 0.9rem;
  color: var(--text-secondary, #333);
  line-height: 1.6;
  margin: 0;
}

/* Why Choose Visual - Premium Image Collage */
.why-choose-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Fixed row heights to ensure images fill the space */
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  position: relative;
  /* Set minimum height to ensure proper image display */
  min-height: 500px;
}

@media (max-width: 991px) {
  .why-choose-visual {
    max-width: 500px;
    margin: 0 auto;
    min-height: 400px;
  }
}

/* Hide image collage on small mobile to prevent gap */
@media (max-width: 767px) {
  .why-choose-visual {
    display: none;
  }

  /* Reduce CTA wrapper spacing since images are hidden */
  .why-choose-cta-wrapper {
    margin-top: clamp(32px, 4vw, 48px);
  }
}

@media (min-width: 992px) {
  .why-choose-visual {
    min-height: 600px;
  }
}

/* Premium photo styling - like high-end photographs on a desk */
.collage-image {
  border-radius: 8px; /* Subtle 5px+ border-radius */
  overflow: hidden;
  /* Soft drop-shadow for premium feel */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
  /* Staggered reveal - hidden by default */
  opacity: 0;
  transform: translateX(40px);
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s ease;
  /* Ensure images fill container */
  position: relative;
}

/* Hover: Subtle lift for interactivity */
.collage-image:hover {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.1);
}

.collage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
  /* Ensure image fills the container completely */
  position: absolute;
  top: 0;
  left: 0;
}

/* Subtle zoom on hover */
.collage-image:hover img {
  transform: scale(1.03);
}

/* First image - tall, spans 2 rows */
.collage-image:first-child {
  grid-row: span 2;
}

/* Second and third images stack on right - fill available space */
.collage-image:nth-child(2),
.collage-image:nth-child(3) {
  /* Remove aspect-ratio to allow grid to control sizing */
}

/* Staggered slide-and-fade reveal for images */
.section--why-choose-us.reveal.active .collage-image:nth-child(1) {
  animation: imageSlideIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

.section--why-choose-us.reveal.active .collage-image:nth-child(2) {
  animation: imageSlideIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.section--why-choose-us.reveal.active .collage-image:nth-child(3) {
  animation: imageSlideIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

@keyframes imageSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Why Choose CTA - Community Loop Container */
.why-choose-cta-wrapper {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
}

/* Community Loop - Curved path connecting images to CTA */
.community-loop-path {
  position: absolute;
  top: -80px;
  right: 15%;
  width: 200px;
  height: 120px;
  pointer-events: none;
  z-index: 0;
}

.community-loop-path svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.community-loop-path path {
  fill: none;
  stroke: rgba(175, 45, 44, 0.15);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  stroke-linecap: round;
}

/* Animate the dash for subtle flow effect */
@keyframes communityLoopFlow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -28;
  }
}

.community-loop-path path {
  animation: communityLoopFlow 2s linear infinite;
}

/* Hide on mobile - too complex for small screens */
@media (max-width: 991px) {
  .community-loop-path {
    display: none;
  }
}

/* Why Choose CTA - Soft Glow Card */
.why-choose-cta {
  position: relative;
  text-align: center;
  padding: clamp(32px, 4vw, 48px);
  /* Warm radial gradient background */
  background: radial-gradient(
    ellipse at center,
    rgba(255, 238, 230, 0.95) 0%,
    rgba(254, 252, 250, 0.9) 60%,
    rgba(255, 238, 230, 0.85) 100%
  );
  border-radius: var(--radius-xl, 24px);
  /* Soft, warm elevated shadow */
  box-shadow:
    0 8px 40px rgba(175, 45, 44, 0.08),
    0 16px 60px rgba(255, 200, 180, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 1;
  /* Subtle border for definition */
  border: 1px solid rgba(175, 45, 44, 0.06);
}

.why-choose-cta h3 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 12px;
}

.why-choose-cta p {
  font-size: 1rem;
  color: var(--text-secondary, #333);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Phone Button - Direct Connection with Ring Animation */
.why-choose-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--vigeo-red, #af2d2c);
  color: var(--white, #fff) !important;
  -webkit-text-fill-color: var(--white, #fff) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill, 50px);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              background 0.2s ease;
  box-shadow: 0 8px 32px rgba(175, 45, 44, 0.25);
  position: relative;
  overflow: visible;
}

.why-choose-cta .btn:hover {
  background: var(--vigeo-dark, #8b2322);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 44px rgba(175, 45, 44, 0.35);
}

.why-choose-cta .btn svg {
  width: 20px;
  height: 20px;
  color: var(--white, #fff);
  stroke: var(--white, #fff);
  transition: transform 0.3s ease;
}

/* Phone icon ring animation on hover */
@keyframes phoneRing {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50% {
    transform: rotate(-8deg);
  }
  20%, 40% {
    transform: rotate(8deg);
  }
  60% {
    transform: rotate(0deg);
  }
}

.why-choose-cta .btn:hover svg {
  animation: phoneRing 0.8s ease-in-out;
}

/* Northern Virginia Regional Service Areas */
.service-areas-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(175, 45, 44, 0.1);
}

.service-areas-text {
  font-size: 0.875rem;
  color: var(--text-secondary, #555);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.service-areas-text strong {
  color: var(--vigeo-red, #af2d2c);
  font-weight: 600;
}

/* Reduced motion preference for Why Choose section */
@media (prefers-reduced-motion: reduce) {
  .why-choose-item,
  .collage-image {
    opacity: 1;
    transform: none;
  }

  .section--why-choose-us.reveal.active .why-choose-item,
  .section--why-choose-us.reveal.active .why-choose-item:nth-child(1),
  .section--why-choose-us.reveal.active .why-choose-item:nth-child(2),
  .section--why-choose-us.reveal.active .why-choose-item:nth-child(3),
  .section--why-choose-us.reveal.active .why-choose-item:nth-child(4),
  .section--why-choose-us.reveal.active .collage-image:nth-child(1),
  .section--why-choose-us.reveal.active .collage-image:nth-child(2),
  .section--why-choose-us.reveal.active .collage-image:nth-child(3) {
    animation: none;
  }

  .why-choose-item:hover {
    transform: translateY(-4px);
  }

  .why-choose-item:hover .feature-icon {
    transform: none;
  }

  .collage-image:hover img {
    transform: none;
  }
}


/* ========================================
   PROVIDER PORTAL SECTION
   Clinical, efficient design for healthcare professionals
   ======================================== */

/* Logic-Flow Transition Separator */
.provider-transition {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--cozy-cream, #fefcfa) 0%, var(--cozy-cream, #fefcfa) 100%);
}

/* Horizontal line that thickens toward center */
.provider-transition::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(175, 45, 44, 0.1) 20%,
    rgba(175, 45, 44, 0.25) 50%,
    rgba(175, 45, 44, 0.1) 80%,
    transparent 100%
  );
}

/* Medical icon anchor in center */
.provider-transition-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  background: var(--white, #fff);
  border: 2px solid rgba(175, 45, 44, 0.2);
  border-radius: var(--radius-full, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(175, 45, 44, 0.1);
}

.provider-transition-icon svg {
  width: 24px;
  height: 24px;
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
}

.provider-portal-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, var(--cozy-cream, #fefcfa) 0%, var(--cozy-peach, #ffeee6) 100%);
  /* Prevent horizontal scrollbar from slide animations */
  overflow: hidden;
}

.provider-portal-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

@media (min-width: 992px) {
  .provider-portal-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Provider Portal Left */
.provider-portal-left {
  text-align: center;
}

@media (min-width: 992px) {
  .provider-portal-left {
    text-align: left;
  }
}

/* Northern Virginia Health Systems Tag */
.provider-region-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(175, 45, 44, 0.08);
  border: 1px solid rgba(175, 45, 44, 0.15);
  border-radius: var(--radius-pill, 50px);
  /* Responsive font size for legibility */
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  font-weight: 600;
  color: var(--vigeo-red, #af2d2c);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.provider-region-tag svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Mobile: ensure tag is readable */
@media (max-width: 576px) {
  .provider-region-tag {
    font-size: 0.65rem;
    padding: 6px 12px;
    letter-spacing: 0.3px;
  }
}

.provider-portal-left .section-title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  margin-bottom: 12px;
}

.provider-portal-left .section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary, #333);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: none;
}

/* Provider Benefits List */
.provider-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 576px) {
  .provider-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Slide-and-Lock Animation for Provider Benefits */
@keyframes slideAndLock {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  70% {
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.provider-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white, #fff);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.08));
  /* Initial state for animation */
  opacity: 0;
  transform: translateX(-40px);
}

/* Staggered reveal when section is active */
.provider-portal-section.reveal.active .provider-benefit:nth-child(1) {
  animation: slideAndLock 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.1s forwards;
}

.provider-portal-section.reveal.active .provider-benefit:nth-child(2) {
  animation: slideAndLock 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

.provider-portal-section.reveal.active .provider-benefit:nth-child(3) {
  animation: slideAndLock 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

.provider-portal-section.reveal.active .provider-benefit:nth-child(4) {
  animation: slideAndLock 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.provider-benefit svg {
  width: 24px;
  height: 24px;
  color: var(--vigeo-red, #af2d2c);
  stroke: var(--vigeo-red, #af2d2c);
  flex-shrink: 0;
}

.provider-benefit span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary, #000);
}

/* Provider Portal Right - Card */
.provider-portal-right {
  width: 100%;
}

/* Dashboard-style Card UI - Clinical, technical look */
.portal-card {
  background: var(--white, #fff);
  border-radius: var(--radius-lg, 20px);
  padding: clamp(28px, 4vw, 40px);
  /* Crisp technical border instead of soft shadow */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  text-align: center;
  /* Subtle inner glow for dashboard feel */
  position: relative;
}

/* Top accent bar for clinical dashboard look */
.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--vigeo-red, #af2d2c), var(--vigeo-dark, #8b2322));
  border-radius: 0 0 2px 2px;
}

.portal-card .portal-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--vigeo-red, #af2d2c), var(--vigeo-dark, #8b2322));
  border-radius: var(--radius-lg, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.portal-card .portal-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white, #fff);
  stroke: var(--white, #fff);
}

.portal-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #000);
  margin-bottom: 12px;
}

.portal-card p {
  font-size: 0.95rem;
  color: var(--text-secondary, #333);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Provider Portal Button with Professional Pulse */
@keyframes professionalPulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(175, 45, 44, 0.25);
  }
  50% {
    box-shadow: 0 8px 32px rgba(175, 45, 44, 0.4), 0 0 0 4px rgba(175, 45, 44, 0.1);
  }
}

.btn-provider-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--vigeo-red, #af2d2c);
  color: var(--white, #fff) !important;
  -webkit-text-fill-color: var(--white, #fff) !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill, 50px);
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 32px rgba(175, 45, 44, 0.25);
  /* Slow, professional pulse every 4 seconds */
  animation: professionalPulse 4s ease-in-out infinite;
}

.btn-provider-portal:hover {
  background: var(--vigeo-dark, #8b2322);
  transform: translateY(-2px);
  /* Enhanced hover-glow effect */
  box-shadow:
    0 12px 40px rgba(175, 45, 44, 0.35),
    0 0 20px rgba(175, 45, 44, 0.25),
    0 0 40px rgba(175, 45, 44, 0.15);
  /* Pause pulse on hover for cleaner interaction */
  animation: none;
}

.btn-provider-portal:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(175, 45, 44, 0.3);
}

.btn-provider-portal:active svg {
  color: rgba(255, 255, 255, 0.7);
  stroke: rgba(255, 255, 255, 0.7);
}

.btn-provider-portal svg {
  width: 20px;
  height: 20px;
  color: var(--white, #fff);
  stroke: var(--white, #fff);
  transition: color 0.15s ease, stroke 0.15s ease;
}

/* Portal Links */
.portal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.portal-link {
  font-size: 0.85rem;
  color: var(--vigeo-red, #af2d2c);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.portal-link:hover {
  color: var(--vigeo-dark, #8b2322);
  text-decoration: underline;
}

/* Reduced motion support for Provider Portal */
@media (prefers-reduced-motion: reduce) {
  .provider-benefit {
    opacity: 1;
    transform: none;
  }

  .provider-portal-section.reveal.active .provider-benefit,
  .provider-portal-section.reveal.active .provider-benefit:nth-child(1),
  .provider-portal-section.reveal.active .provider-benefit:nth-child(2),
  .provider-portal-section.reveal.active .provider-benefit:nth-child(3),
  .provider-portal-section.reveal.active .provider-benefit:nth-child(4) {
    animation: none;
  }

  .btn-provider-portal {
    animation: none;
  }
}


/* ========================================
   REVEAL ANIMATION (Scroll Triggered)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Staggered reveal for section children */
.reveal.active .section-eyebrow {
  animation: revealFadeUp 0.6s ease-out forwards;
}

.reveal.active .section-title {
  animation: revealFadeUp 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.reveal.active .section-lead {
  animation: revealFadeUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.reveal.active .services-grid,
.reveal.active .process-timeline,
.reveal.active .reviews-wrapper {
  animation: revealFadeUp 0.6s ease-out 0.45s forwards;
  opacity: 0;
}

@keyframes revealFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.active .section-eyebrow,
  .reveal.active .section-title,
  .reveal.active .section-lead,
  .reveal.active .services-grid,
  .reveal.active .process-timeline,
  .reveal.active .reviews-wrapper {
    animation: none;
    opacity: 1;
  }
}
