/* ============================================
   INDEX PAGE - Home Specific Styles
   ============================================ */

/* Hero */
.hero {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-3xl) + 2.5rem) var(--space-xl) 8rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #164942 0%, #1e5c54 35%, #2a6b5e 55%, #4b774e 75%, #6b9068 90%, #9dc48b 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(157, 196, 139, 0.12), transparent 50%),
              radial-gradient(ellipse 60% 40% at 100% 60%, rgba(75, 119, 78, 0.15), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.hero-content {
  position: relative;
  text-align: left;
  max-width: 540px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero text panels: one visible at a time, synced with slideshow – slide up + fade */
.hero-content-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-content-panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

/* Staggered reveal for text inside active panel (optional polish) */
.hero-content-panel.is-active .hero-label,
.hero-content-panel.is-active .hero-title,
.hero-content-panel.is-active .hero-tagline,
.hero-content-panel.is-active .hero-desc,
.hero-content-panel.is-active .hero-buttons {
  animation: hero-text-reveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-content-panel.is-active .hero-label  { animation-delay: 0.05s; opacity: 0; }
.hero-content-panel.is-active .hero-title  { animation-delay: 0.12s; opacity: 0; }
.hero-content-panel.is-active .hero-tagline { animation-delay: 0.19s; opacity: 0; }
.hero-content-panel.is-active .hero-desc   { animation-delay: 0.26s; opacity: 0; }
.hero-content-panel.is-active .hero-buttons { animation-delay: 0.35s; opacity: 0; }

@keyframes hero-text-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero slideshow – circle, cycles heroimg1 → 2 → 3 → 4 with smooth crossfade */
.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-left: auto;
  /* Layered shadows: soft green glow, depth, and subtle inner highlight */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 4px rgba(157, 196, 139, 0.25),
    0 0 80px rgba(75, 119, 78, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Optional soft gradient overlay at bottom edge for depth (doesn’t cover image) */
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hero slideshow: JS adds .is-active. Scale + fade for a smoother transition */
.hero-slideshow-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slideshow-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Hero fireflies: 3D emerge-from-depth effect around image (like particle burst from center) */
.hero .fireflies--hero {
  z-index: 1;
  perspective: 800px;
  perspective-origin: 72% 50%;
  transform-style: preserve-3d;
}

.hero .fireflies--hero .firefly {
  left: 72%;
  top: 50%;
  opacity: 0;
  transform: translate3d(0, 0, -400px) scale(0);
  animation: hero-firefly-emerge-1 10s linear infinite;
  will-change: transform;
}

/* Stagger delays so particles are spread across the 10s cycle (i * -10s/48) */
.hero .fireflies--hero .firefly:nth-child(1)  { animation-delay: 0s; }
.hero .fireflies--hero .firefly:nth-child(2)  { animation-delay: -0.21s; }
.hero .fireflies--hero .firefly:nth-child(3)  { animation-delay: -0.42s; }
.hero .fireflies--hero .firefly:nth-child(4)  { animation-delay: -0.63s; }
.hero .fireflies--hero .firefly:nth-child(5)  { animation-delay: -0.83s; }
.hero .fireflies--hero .firefly:nth-child(6)  { animation-delay: -1.04s; }
.hero .fireflies--hero .firefly:nth-child(7)  { animation-delay: -1.25s; }
.hero .fireflies--hero .firefly:nth-child(8)  { animation-delay: -1.46s; }
.hero .fireflies--hero .firefly:nth-child(9)  { animation-delay: -1.67s; }
.hero .fireflies--hero .firefly:nth-child(10) { animation-delay: -1.88s; }
.hero .fireflies--hero .firefly:nth-child(11) { animation-delay: -2.08s; }
.hero .fireflies--hero .firefly:nth-child(12) { animation-delay: -2.29s; }
.hero .fireflies--hero .firefly:nth-child(13) { animation-delay: -2.5s; }
.hero .fireflies--hero .firefly:nth-child(14) { animation-delay: -2.71s; }
.hero .fireflies--hero .firefly:nth-child(15) { animation-delay: -2.92s; }
.hero .fireflies--hero .firefly:nth-child(16) { animation-delay: -3.13s; }
.hero .fireflies--hero .firefly:nth-child(17) { animation-delay: -3.33s; }
.hero .fireflies--hero .firefly:nth-child(18) { animation-delay: -3.54s; }
.hero .fireflies--hero .firefly:nth-child(19) { animation-delay: -3.75s; }
.hero .fireflies--hero .firefly:nth-child(20) { animation-delay: -3.96s; }
.hero .fireflies--hero .firefly:nth-child(21) { animation-delay: -4.17s; }
.hero .fireflies--hero .firefly:nth-child(22) { animation-delay: -4.38s; }
.hero .fireflies--hero .firefly:nth-child(23) { animation-delay: -4.58s; }
.hero .fireflies--hero .firefly:nth-child(24) { animation-delay: -4.79s; }
.hero .fireflies--hero .firefly:nth-child(25) { animation-delay: -5s; }
.hero .fireflies--hero .firefly:nth-child(26) { animation-delay: -5.21s; }
.hero .fireflies--hero .firefly:nth-child(27) { animation-delay: -5.42s; }
.hero .fireflies--hero .firefly:nth-child(28) { animation-delay: -5.63s; }
.hero .fireflies--hero .firefly:nth-child(29) { animation-delay: -5.83s; }
.hero .fireflies--hero .firefly:nth-child(30) { animation-delay: -6.04s; }
.hero .fireflies--hero .firefly:nth-child(31) { animation-delay: -6.25s; }
.hero .fireflies--hero .firefly:nth-child(32) { animation-delay: -6.46s; }
.hero .fireflies--hero .firefly:nth-child(33) { animation-delay: -6.67s; }
.hero .fireflies--hero .firefly:nth-child(34) { animation-delay: -6.88s; }
.hero .fireflies--hero .firefly:nth-child(35) { animation-delay: -7.08s; }
.hero .fireflies--hero .firefly:nth-child(36) { animation-delay: -7.29s; }
.hero .fireflies--hero .firefly:nth-child(37) { animation-delay: -7.5s; }
.hero .fireflies--hero .firefly:nth-child(38) { animation-delay: -7.71s; }
.hero .fireflies--hero .firefly:nth-child(39) { animation-delay: -7.92s; }
.hero .fireflies--hero .firefly:nth-child(40) { animation-delay: -8.13s; }
.hero .fireflies--hero .firefly:nth-child(41) { animation-delay: -8.33s; }
.hero .fireflies--hero .firefly:nth-child(42) { animation-delay: -8.54s; }
.hero .fireflies--hero .firefly:nth-child(43) { animation-delay: -8.75s; }
.hero .fireflies--hero .firefly:nth-child(44) { animation-delay: -8.96s; }
.hero .fireflies--hero .firefly:nth-child(45) { animation-delay: -9.17s; }
.hero .fireflies--hero .firefly:nth-child(46) { animation-delay: -9.38s; }
.hero .fireflies--hero .firefly:nth-child(47) { animation-delay: -9.58s; }
.hero .fireflies--hero .firefly:nth-child(48) { animation-delay: -9.79s; }

/* Varied emerge positions (spread around image) – assign different keyframes to nth-child */
.hero .fireflies--hero .firefly:nth-child(6n+1) { animation-name: hero-firefly-emerge-1; }
.hero .fireflies--hero .firefly:nth-child(6n+2) { animation-name: hero-firefly-emerge-2; }
.hero .fireflies--hero .firefly:nth-child(6n+3) { animation-name: hero-firefly-emerge-3; }
.hero .fireflies--hero .firefly:nth-child(6n+4) { animation-name: hero-firefly-emerge-4; }
.hero .fireflies--hero .firefly:nth-child(6n+5) { animation-name: hero-firefly-emerge-5; }
.hero .fireflies--hero .firefly:nth-child(6n+6) { animation-name: hero-firefly-emerge-6; }

/* 0% = emerge to front with xy spread; 100% = back to depth (element’s from state) */
@keyframes hero-firefly-emerge-1 {
  0%   { opacity: 1; transform: translate3d(28vw, -20vh, 80px) scale(1.2); }
  100% { opacity: 0; transform: translate3d(0, 0, -400px) scale(0); }
}
@keyframes hero-firefly-emerge-2 {
  0%   { opacity: 1; transform: translate3d(-26vw, 24vh, 80px) scale(1.15); }
  100% { opacity: 0; transform: translate3d(0, 0, -400px) scale(0); }
}
@keyframes hero-firefly-emerge-3 {
  0%   { opacity: 1; transform: translate3d(22vw, 26vh, 80px) scale(1.2); }
  100% { opacity: 0; transform: translate3d(0, 0, -400px) scale(0); }
}
@keyframes hero-firefly-emerge-4 {
  0%   { opacity: 1; transform: translate3d(-32vw, -18vh, 80px) scale(1.1); }
  100% { opacity: 0; transform: translate3d(0, 0, -400px) scale(0); }
}
@keyframes hero-firefly-emerge-5 {
  0%   { opacity: 1; transform: translate3d(18vw, -26vh, 80px) scale(1.15); }
  100% { opacity: 0; transform: translate3d(0, 0, -400px) scale(0); }
}
@keyframes hero-firefly-emerge-6 {
  0%   { opacity: 1; transform: translate3d(-20vw, -24vh, 80px) scale(1.2); }
  100% { opacity: 0; transform: translate3d(0, 0, -400px) scale(0); }
}

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9dc48b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(75, 119, 78, 0.4);
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-highlight {
  background: linear-gradient(90deg, #4b774e, #9dc48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  letter-spacing: 0.02em;
  margin: calc(-1 * var(--space-sm)) 0 var(--space-md);
  line-height: 1.3;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
}

.hero-benefits li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  padding-left: 1.35em;
  position: relative;
}

.hero-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.4em;
  height: 0.4em;
  background: var(--color-secondary);
  border-radius: 50%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: flex-start;
  align-items: center;
}

.hero-cta-wrap {
  position: relative;
  display: inline-block;
}

.hero-cta-wrap .hero-cta-btn {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(75, 119, 78, 0.5);
  animation: hero-cta-pulse 2s ease infinite;
}

.hero-trust {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

.hero-cta-wrap .hero-cta-btn:hover {
  animation: none;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

@keyframes hero-cta-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(75, 119, 78, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 25px rgba(75, 119, 78, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(75, 119, 78, 0);
  }
}

.hero-panel {
  background: rgba(15, 23, 42, 0.55);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-lg);
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-self: start;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  contain: layout style paint;
}

.hero-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-panel-intro {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}

.hero-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.3;
}

.hero-benefits li:last-of-type {
  border-bottom: none;
}

.hero-benefits li::before {
  content: '✓';
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(75, 119, 78, 0.6);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  margin-top: 1px;
}

.hero-benefit-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1px;
}

.hero-benefit-desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.hero-panel-trust {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-md);
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-panel-cta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.hero-panel-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-panel-cta-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-panel {
    order: 2;
  }

  .hero-slideshow {
    order: 2;
    margin-left: auto;
    margin-right: auto;
    max-width: min(420px, 100%);
  }

  .hero .fireflies--hero {
    perspective-origin: 50% 55%;
  }
  .hero .fireflies--hero .firefly {
    left: 50%;
    top: 55%;
  }
}

@media (max-width: 640px) {
  .hero-panel {
    padding: var(--space-xl);
  }

  .hero-stats {
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    justify-content: center;
    gap: var(--space-lg);
  }
  
  .hero-stat-divider {
    display: none;
  }
  
  .hero-stat {
    text-align: center;
  }
  
  .hero-stat-num {
    font-size: 1.5rem;
  }
}

/* Claims Types Section */
.claims-types-section {
  background: linear-gradient(0deg, #164942 100%);
  padding: var(--space-3xl) var(--space-xl);
}

.claims-types-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: white;
  text-align: center;
  margin: 0 0 var(--space-2xl) 0;
  letter-spacing: 0.07rem;
  line-height: 1.2;
}

.claims-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl) var(--space-2xl);
  max-width: auto;
  margin: 0 auto;
}

.claims-type-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.claims-type-icon {
  width: 110px;
  height: 110px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.claims-type-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.claims-type-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .claims-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .claims-types-grid {
    grid-template-columns: 1fr;
  }
}

/* Claim Form */
.claim-section {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, white 100%);
  overflow: hidden;
}

/* Fireflies decoration (replaces bubbles) – performance: contain, will-change, opacity-only flash */
.fireflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: layout style paint;
}

.firefly {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  pointer-events: none;
  will-change: transform;
}

.firefly::before,
.firefly::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform-origin: -100px center;
}

.firefly::before {
  background: rgba(22, 73, 66, 0.35);
  animation: firefly-drift ease alternate infinite;
}

.firefly::after {
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  box-shadow: 0 0 8px 2px rgba(255, 235, 150, 0.6);
  animation: firefly-drift ease alternate infinite, firefly-flash ease infinite;
}

/* Spread fireflies across full section (left/top %) */
.firefly:nth-child(1)  { left: 8%;  top: 12%;  animation-name: firefly-move1;  animation-duration: 180s; }
.firefly:nth-child(2)  { left: 25%; top: 88%; animation-name: firefly-move2;  animation-duration: 200s; }
.firefly:nth-child(3)  { left: 92%; top: 18%; animation-name: firefly-move3;  animation-duration: 160s; }
.firefly:nth-child(4)  { left: 14%; top: 72%; animation-name: firefly-move4;  animation-duration: 220s; }
.firefly:nth-child(5)  { left: 76%; top: 6%;  animation-name: firefly-move5;  animation-duration: 190s; }
.firefly:nth-child(6)  { left: 52%; top: 48%; animation-name: firefly-move6;  animation-duration: 210s; }
.firefly:nth-child(7)  { left: 5%;  top: 38%; animation-name: firefly-move7;  animation-duration: 170s; }
.firefly:nth-child(8)  { left: 62%; top: 92%; animation-name: firefly-move8;  animation-duration: 195s; }
.firefly:nth-child(9)  { left: 96%; top: 54%; animation-name: firefly-move9;  animation-duration: 185s; }
.firefly:nth-child(10) { left: 34%; top: 4%;  animation-name: firefly-move10; animation-duration: 175s; }
.firefly:nth-child(11) { left: 84%; top: 76%; animation-name: firefly-move11; animation-duration: 205s; }
.firefly:nth-child(12) { left: 44%; top: 34%; animation-name: firefly-move12; animation-duration: 165s; }
.firefly:nth-child(13) { left: 18%; top: 96%; animation-name: firefly-move13; animation-duration: 215s; }
.firefly:nth-child(14) { left: 68%; top: 44%; animation-name: firefly-move14; animation-duration: 180s; }
.firefly:nth-child(15) { left: 88%; top: 26%; animation-name: firefly-move15; animation-duration: 198s; }

/* Fireflies 16–50: spread across section, reuse move1–15 */
.firefly:nth-child(16) { left: 3%;  top: 22%; animation-name: firefly-move1;  animation-duration: 172s; }
.firefly:nth-child(17) { left: 28%; top: 78%; animation-name: firefly-move2;  animation-duration: 196s; }
.firefly:nth-child(18) { left: 72%; top: 14%; animation-name: firefly-move3;  animation-duration: 164s; }
.firefly:nth-child(19) { left: 56%; top: 62%; animation-name: firefly-move4;  animation-duration: 218s; }
.firefly:nth-child(20) { left: 12%; top: 42%; animation-name: firefly-move5;  animation-duration: 188s; }
.firefly:nth-child(21) { left: 88%; top: 52%; animation-name: firefly-move6;  animation-duration: 208s; }
.firefly:nth-child(22) { left: 38%; top: 8%;  animation-name: firefly-move7;  animation-duration: 168s; }
.firefly:nth-child(23) { left: 94%; top: 86%; animation-name: firefly-move8;  animation-duration: 192s; }
.firefly:nth-child(24) { left: 22%; top: 58%; animation-name: firefly-move9;  animation-duration: 182s; }
.firefly:nth-child(25) { left: 66%; top: 32%; animation-name: firefly-move10; animation-duration: 174s; }
.firefly:nth-child(26) { left: 8%;  top: 82%; animation-name: firefly-move11; animation-duration: 202s; }
.firefly:nth-child(27) { left: 78%; top: 68%; animation-name: firefly-move12; animation-duration: 162s; }
.firefly:nth-child(28) { left: 46%; top: 18%; animation-name: firefly-move13; animation-duration: 212s; }
.firefly:nth-child(29) { left: 18%; top: 38%; animation-name: firefly-move14; animation-duration: 178s; }
.firefly:nth-child(30) { left: 82%; top: 42%; animation-name: firefly-move15; animation-duration: 194s; }
.firefly:nth-child(31) { left: 52%; top: 72%; animation-name: firefly-move1;  animation-duration: 186s; }
.firefly:nth-child(32) { left: 32%; top: 92%; animation-name: firefly-move2;  animation-duration: 198s; }
.firefly:nth-child(33) { left: 92%; top: 24%; animation-name: firefly-move3;  animation-duration: 166s; }
.firefly:nth-child(34) { left: 6%;  top: 52%; animation-name: firefly-move4;  animation-duration: 216s; }
.firefly:nth-child(35) { left: 58%; top: 88%; animation-name: firefly-move5;  animation-duration: 176s; }
.firefly:nth-child(36) { left: 42%; top: 48%; animation-name: firefly-move6;  animation-duration: 206s; }
.firefly:nth-child(37) { left: 24%; top: 12%; animation-name: firefly-move7;  animation-duration: 170s; }
.firefly:nth-child(38) { left: 86%; top: 76%; animation-name: firefly-move8;  animation-duration: 190s; }
.firefly:nth-child(39) { left: 14%; top: 68%; animation-name: firefly-move9;  animation-duration: 184s; }
.firefly:nth-child(40) { left: 74%; top: 36%; animation-name: firefly-move10; animation-duration: 172s; }
.firefly:nth-child(41) { left: 48%; top: 94%; animation-name: firefly-move11; animation-duration: 204s; }
.firefly:nth-child(42) { left: 36%; top: 28%; animation-name: firefly-move12; animation-duration: 164s; }
.firefly:nth-child(43) { left: 96%; top: 44%; animation-name: firefly-move13; animation-duration: 214s; }
.firefly:nth-child(44) { left: 62%; top: 6%;  animation-name: firefly-move14; animation-duration: 180s; }
.firefly:nth-child(45) { left: 16%; top: 88%; animation-name: firefly-move15; animation-duration: 196s; }
.firefly:nth-child(46) { left: 68%; top: 56%; animation-name: firefly-move1;  animation-duration: 174s; }
.firefly:nth-child(47) { left: 44%; top: 4%;  animation-name: firefly-move2;  animation-duration: 208s; }
.firefly:nth-child(48) { left: 26%; top: 62%; animation-name: firefly-move3;  animation-duration: 158s; }
.firefly:nth-child(49) { left: 84%; top: 18%; animation-name: firefly-move4;  animation-duration: 220s; }
.firefly:nth-child(50) { left: 54%; top: 78%; animation-name: firefly-move5;  animation-duration: 188s; }

.firefly:nth-child(1)::before  { animation-duration: 18s; }
.firefly:nth-child(1)::after   { animation-duration: 18s, 7200ms; animation-delay: 0ms, 3200ms; }
.firefly:nth-child(2)::before  { animation-duration: 12s; }
.firefly:nth-child(2)::after   { animation-duration: 12s, 5800ms; animation-delay: 0ms, 5100ms; }
.firefly:nth-child(3)::before  { animation-duration: 22s; }
.firefly:nth-child(3)::after   { animation-duration: 22s, 9100ms; animation-delay: 0ms, 1200ms; }
.firefly:nth-child(4)::before  { animation-duration: 10s; }
.firefly:nth-child(4)::after   { animation-duration: 10s, 6200ms; animation-delay: 0ms, 6800ms; }
.firefly:nth-child(5)::before  { animation-duration: 15s; }
.firefly:nth-child(5)::after   { animation-duration: 15s, 5400ms; animation-delay: 0ms, 2400ms; }
.firefly:nth-child(6)::before  { animation-duration: 20s; }
.firefly:nth-child(6)::after   { animation-duration: 20s, 7800ms; animation-delay: 0ms, 4500ms; }
.firefly:nth-child(7)::before  { animation-duration: 14s; }
.firefly:nth-child(7)::after   { animation-duration: 14s, 6500ms; animation-delay: 0ms, 5900ms; }
.firefly:nth-child(8)::before  { animation-duration: 16s; }
.firefly:nth-child(8)::after   { animation-duration: 16s, 8300ms; animation-delay: 0ms, 1100ms; }
.firefly:nth-child(9)::before  { animation-duration: 11s; }
.firefly:nth-child(9)::after   { animation-duration: 11s, 5600ms; animation-delay: 0ms, 7600ms; }
.firefly:nth-child(10)::before { animation-duration: 19s; }
.firefly:nth-child(10)::after  { animation-duration: 19s, 8900ms; animation-delay: 0ms, 3300ms; }
.firefly:nth-child(11)::before { animation-duration: 13s; }
.firefly:nth-child(11)::after  { animation-duration: 13s, 7100ms; animation-delay: 0ms, 5700ms; }
.firefly:nth-child(12)::before { animation-duration: 21s; }
.firefly:nth-child(12)::after  { animation-duration: 21s, 6000ms; animation-delay: 0ms, 1900ms; }
.firefly:nth-child(13)::before { animation-duration: 9s; }
.firefly:nth-child(13)::after  { animation-duration: 9s, 8400ms; animation-delay: 0ms, 4200ms; }
.firefly:nth-child(14)::before { animation-duration: 17s; }
.firefly:nth-child(14)::after  { animation-duration: 17s, 6700ms; animation-delay: 0ms, 6400ms; }
.firefly:nth-child(15)::before { animation-duration: 8s; }
.firefly:nth-child(15)::after  { animation-duration: 8s, 9500ms; animation-delay: 0ms, 2800ms; }

.firefly:nth-child(16)::before { animation-duration: 17s; }
.firefly:nth-child(16)::after  { animation-duration: 17s, 6100ms; animation-delay: 0ms, 800ms; }
.firefly:nth-child(17)::before { animation-duration: 11s; }
.firefly:nth-child(17)::after  { animation-duration: 11s, 7200ms; animation-delay: 0ms, 4100ms; }
.firefly:nth-child(18)::before { animation-duration: 21s; }
.firefly:nth-child(18)::after  { animation-duration: 21s, 5300ms; animation-delay: 0ms, 6500ms; }
.firefly:nth-child(19)::before { animation-duration: 9s; }
.firefly:nth-child(19)::after  { animation-duration: 9s, 8400ms; animation-delay: 0ms, 1200ms; }
.firefly:nth-child(20)::before { animation-duration: 14s; }
.firefly:nth-child(20)::after  { animation-duration: 14s, 6600ms; animation-delay: 0ms, 3900ms; }
.firefly:nth-child(21)::before { animation-duration: 19s; }
.firefly:nth-child(21)::after  { animation-duration: 19s, 7700ms; animation-delay: 0ms, 5200ms; }
.firefly:nth-child(22)::before { animation-duration: 13s; }
.firefly:nth-child(22)::after  { animation-duration: 13s, 5800ms; animation-delay: 0ms, 2100ms; }
.firefly:nth-child(23)::before { animation-duration: 15s; }
.firefly:nth-child(23)::after  { animation-duration: 15s, 8900ms; animation-delay: 0ms, 7400ms; }
.firefly:nth-child(24)::before { animation-duration: 20s; }
.firefly:nth-child(24)::after  { animation-duration: 20s, 6200ms; animation-delay: 0ms, 1600ms; }
.firefly:nth-child(25)::before { animation-duration: 10s; }
.firefly:nth-child(25)::after  { animation-duration: 10s, 7500ms; animation-delay: 0ms, 4300ms; }
.firefly:nth-child(26)::before { animation-duration: 18s; }
.firefly:nth-child(26)::after  { animation-duration: 18s, 5400ms; animation-delay: 0ms, 5800ms; }
.firefly:nth-child(27)::before { animation-duration: 12s; }
.firefly:nth-child(27)::after  { animation-duration: 12s, 8100ms; animation-delay: 0ms, 2700ms; }
.firefly:nth-child(28)::before { animation-duration: 22s; }
.firefly:nth-child(28)::after  { animation-duration: 22s, 6800ms; animation-delay: 0ms, 4900ms; }
.firefly:nth-child(29)::before { animation-duration: 8s; }
.firefly:nth-child(29)::after  { animation-duration: 8s, 9200ms; animation-delay: 0ms, 3500ms; }
.firefly:nth-child(30)::before { animation-duration: 16s; }
.firefly:nth-child(30)::after  { animation-duration: 16s, 5900ms; animation-delay: 0ms, 6100ms; }
.firefly:nth-child(31)::before { animation-duration: 14s; }
.firefly:nth-child(31)::after  { animation-duration: 14s, 7300ms; animation-delay: 0ms, 1400ms; }
.firefly:nth-child(32)::before { animation-duration: 21s; }
.firefly:nth-child(32)::after  { animation-duration: 21s, 6400ms; animation-delay: 0ms, 4600ms; }
.firefly:nth-child(33)::before { animation-duration: 9s; }
.firefly:nth-child(33)::after  { animation-duration: 9s, 8600ms; animation-delay: 0ms, 7200ms; }
.firefly:nth-child(34)::before { animation-duration: 17s; }
.firefly:nth-child(34)::after  { animation-duration: 17s, 5700ms; animation-delay: 0ms, 2300ms; }
.firefly:nth-child(35)::before { animation-duration: 11s; }
.firefly:nth-child(35)::after  { animation-duration: 11s, 7900ms; animation-delay: 0ms, 5500ms; }
.firefly:nth-child(36)::before { animation-duration: 20s; }
.firefly:nth-child(36)::after  { animation-duration: 20s, 6300ms; animation-delay: 0ms, 3800ms; }
.firefly:nth-child(37)::before { animation-duration: 13s; }
.firefly:nth-child(37)::after  { animation-duration: 13s, 8800ms; animation-delay: 0ms, 6700ms; }
.firefly:nth-child(38)::before { animation-duration: 15s; }
.firefly:nth-child(38)::after  { animation-duration: 15s, 5500ms; animation-delay: 0ms, 1900ms; }
.firefly:nth-child(39)::before { animation-duration: 19s; }
.firefly:nth-child(39)::after  { animation-duration: 19s, 7000ms; animation-delay: 0ms, 4400ms; }
.firefly:nth-child(40)::before { animation-duration: 10s; }
.firefly:nth-child(40)::after  { animation-duration: 10s, 8200ms; animation-delay: 0ms, 5600ms; }
.firefly:nth-child(41)::before { animation-duration: 18s; }
.firefly:nth-child(41)::after  { animation-duration: 18s, 6000ms; animation-delay: 0ms, 3000ms; }
.firefly:nth-child(42)::before { animation-duration: 12s; }
.firefly:nth-child(42)::after  { animation-duration: 12s, 7400ms; animation-delay: 0ms, 4800ms; }
.firefly:nth-child(43)::before { animation-duration: 22s; }
.firefly:nth-child(43)::after  { animation-duration: 22s, 6700ms; animation-delay: 0ms, 1500ms; }
.firefly:nth-child(44)::before { animation-duration: 8s; }
.firefly:nth-child(44)::after  { animation-duration: 8s, 9100ms; animation-delay: 0ms, 6200ms; }
.firefly:nth-child(45)::before { animation-duration: 16s; }
.firefly:nth-child(45)::after  { animation-duration: 16s, 5600ms; animation-delay: 0ms, 3400ms; }
.firefly:nth-child(46)::before { animation-duration: 14s; }
.firefly:nth-child(46)::after  { animation-duration: 14s, 7800ms; animation-delay: 0ms, 5100ms; }
.firefly:nth-child(47)::before { animation-duration: 21s; }
.firefly:nth-child(47)::after  { animation-duration: 21s, 6500ms; animation-delay: 0ms, 2600ms; }
.firefly:nth-child(48)::before { animation-duration: 9s; }
.firefly:nth-child(48)::after  { animation-duration: 9s, 8700ms; animation-delay: 0ms, 5900ms; }
.firefly:nth-child(49)::before { animation-duration: 17s; }
.firefly:nth-child(49)::after  { animation-duration: 17s, 5800ms; animation-delay: 0ms, 1700ms; }
.firefly:nth-child(50)::before { animation-duration: 11s; }
.firefly:nth-child(50)::after  { animation-duration: 11s, 8000ms; animation-delay: 0ms, 4200ms; }

@keyframes firefly-drift {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes firefly-flash {
  0%, 30%, 100% { opacity: 0; }
  5%            { opacity: 1; }
}

/* Firefly movement keyframes – varied paths (vw/vh for visible drift) */
@keyframes firefly-move1  { 0% { transform: translate(0, 0) scale(0.6); } 25% { transform: translate(12vw, -8vh) scale(0.9); } 50% { transform: translate(-15vw, 6vh) scale(0.5); } 75% { transform: translate(-8vw, -12vh) scale(0.75); } 100% { transform: translate(10vw, 10vh) scale(0.65); } }
@keyframes firefly-move2  { 0% { transform: translate(0, 0) scale(0.5); } 25% { transform: translate(-18vw, -6vh) scale(0.8); } 50% { transform: translate(14vw, 12vh) scale(0.55); } 75% { transform: translate(-6vw, -14vh) scale(0.7); } 100% { transform: translate(-12vw, 8vh) scale(0.6); } }
@keyframes firefly-move3  { 0% { transform: translate(0, 0) scale(0.75); } 25% { transform: translate(16vw, 10vh) scale(0.5); } 50% { transform: translate(-10vw, -16vh) scale(0.9); } 75% { transform: translate(8vw, 6vh) scale(0.65); } 100% { transform: translate(20vw, -10vh) scale(0.55); } }
@keyframes firefly-move4  { 0% { transform: translate(0, 0) scale(0.55); } 25% { transform: translate(-14vw, 18vh) scale(0.7); } 50% { transform: translate(6vw, -8vh) scale(0.8); } 75% { transform: translate(-20vw, -4vh) scale(0.5); } 100% { transform: translate(10vw, 14vh) scale(0.65); } }
@keyframes firefly-move5  { 0% { transform: translate(0, 0) scale(0.7); } 25% { transform: translate(10vw, -20vh) scale(0.55); } 50% { transform: translate(-6vw, 12vh) scale(0.85); } 75% { transform: translate(14vw, 4vh) scale(0.6); } 100% { transform: translate(-10vw, -12vh) scale(0.75); } }
@keyframes firefly-move6  { 0% { transform: translate(0, 0) scale(0.65); } 25% { transform: translate(-22vw, 4vh) scale(0.8); } 50% { transform: translate(12vw, 16vh) scale(0.5); } 75% { transform: translate(-8vw, -10vh) scale(0.7); } 100% { transform: translate(18vw, -6vh) scale(0.6); } }
@keyframes firefly-move7  { 0% { transform: translate(0, 0) scale(0.8); } 25% { transform: translate(14vw, -8vh) scale(0.55); } 50% { transform: translate(-20vw, -14vh) scale(0.7); } 75% { transform: translate(4vw, 12vh) scale(0.6); } 100% { transform: translate(18vw, 6vh) scale(0.5); } }
@keyframes firefly-move8  { 0% { transform: translate(0, 0) scale(0.5); } 25% { transform: translate(-10vw, -16vh) scale(0.75); } 50% { transform: translate(18vw, 8vh) scale(0.65); } 75% { transform: translate(-14vw, 20vh) scale(0.9); } 100% { transform: translate(-4vw, -8vh) scale(0.55); } }
@keyframes firefly-move9  { 0% { transform: translate(0, 0) scale(0.7); } 25% { transform: translate(22vw, 12vh) scale(0.5); } 50% { transform: translate(-16vw, 8vh) scale(0.8); } 75% { transform: translate(8vw, -12vh) scale(0.6); } 100% { transform: translate(-12vw, -4vh) scale(0.65); } }
@keyframes firefly-move10 { 0% { transform: translate(0, 0) scale(0.6); } 25% { transform: translate(-18vw, 12vh) scale(0.85); } 50% { transform: translate(4vw, -20vh) scale(0.55); } 75% { transform: translate(-12vw, -12vh) scale(0.7); } 100% { transform: translate(16vw, 16vh) scale(0.5); } }
@keyframes firefly-move11 { 0% { transform: translate(0, 0) scale(0.55); } 25% { transform: translate(8vw, 20vh) scale(0.7); } 50% { transform: translate(-22vw, -4vh) scale(0.6); } 75% { transform: translate(18vw, -16vh) scale(0.8); } 100% { transform: translate(-8vw, 10vh) scale(0.65); } }
@keyframes firefly-move12 { 0% { transform: translate(0, 0) scale(0.85); } 25% { transform: translate(-4vw, 16vh) scale(0.5); } 50% { transform: translate(18vw, -22vh) scale(0.7); } 75% { transform: translate(-18vw, 4vh) scale(0.6); } 100% { transform: translate(12vw, 12vh) scale(0.55); } }
@keyframes firefly-move13 { 0% { transform: translate(0, 0) scale(0.6); } 25% { transform: translate(18vw, -4vh) scale(0.75); } 50% { transform: translate(-8vw, 22vh) scale(0.5); } 75% { transform: translate(12vw, 8vh) scale(0.65); } 100% { transform: translate(-18vw, -8vh) scale(0.8); } }
@keyframes firefly-move14 { 0% { transform: translate(0, 0) scale(0.5); } 25% { transform: translate(-12vw, -12vh) scale(0.65); } 50% { transform: translate(-4vw, -8vh) scale(0.9); } 75% { transform: translate(22vw, 16vh) scale(0.55); } 100% { transform: translate(-16vw, 4vh) scale(0.7); } }
@keyframes firefly-move15 { 0% { transform: translate(0, 0) scale(0.75); } 25% { transform: translate(12vw, 8vh) scale(0.5); } 50% { transform: translate(8vw, -18vh) scale(0.65); } 75% { transform: translate(-24vw, 12vh) scale(0.8); } 100% { transform: translate(4vw, -12vh) scale(0.6); } }

.claim-section .container {
  position: relative;
  z-index: 1;
}

.claim-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.claim-section-image-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(75, 119, 78, 0.2);
  justify-self: center;
}

.claim-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.claim-section-content {
  min-width: 0;
}

.claim-intro {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.claim-intro .section-desc {
  text-align: justify;
  line-height: 1.65;
  hyphens: auto;
}

.claim-form {
  background: var(--color-card-bg);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.claim-form .form-group {
  text-align: left;
}

.claim-form .form-label {
  text-align: left;
  display: block;
}

.claim-form .form-input,
.claim-form .form-select {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.claim-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: end;
}

.claim-form .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  text-align: justify;
}

.claim-form .form-checkbox label {
  text-align: justify;
  line-height: 1.6;
  hyphens: auto;
  flex: 1;
  min-width: 0;
}

.claim-form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.claim-form-message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.claim-form-message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Claim submit button: unclickable until form is valid */
#claim-submit-btn.claim-submit-btn[disabled],
#claim-submit-btn.claim-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background: #94a3b8;
  color: #cbd5e1;
}
#claim-submit-btn.claim-submit-btn[disabled]:hover,
#claim-submit-btn.claim-submit-btn:disabled:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background: #94a3b8;
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .claim-section-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .claim-section-image-wrap {
    max-width: 320px;
    justify-self: center;
  }

  .claim-intro {
    text-align: center;
  }

  .claim-intro .section-desc {
    text-align: justify;
  }

  .claim-form .form-row {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* Overlap Cards Section - half on hero, half on white */
.overlap-cards-section {
  margin-top: -120px;
  position: relative;
  z-index: 10;  
}

.overlap-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  max-width: 11000px;
  margin: 0 auto;
}

.overlap-card {
  background: var(--color-card-bg);
  padding: 2rem 1.5rem 0.5rem 1.5rem;
  border-radius: 20px 20px 20px 20px;
  text-align: center;
  box-shadow: 0 2px 2px rgba(15, 23, 42, 0.06), 0 2px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  min-height: 300px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.overlap-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
} 

.overlap-card-title span {
  color: var(--color-secondary);
  display: block;
}

.overlap-card-desc {
  font-size: 1.1rem;
  color: var(--color-primary-light);
  line-height: 1.55;
  margin: 0;
}

/* Read more card - description specific styles */
.overlap-card-desc--readmore {
  padding-top: 0.5rem;
}

/* Law Society Accredited badge - image */
.overlap-card-badge.overlap-card-accredited {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  margin-top: -0.5rem;
}

/* Read more button */
.overlap-card-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #bdbdbd;
  margin-top: 1.5rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.overlap-card-btn:hover {
  background: var(--color-secondary);
  border-color: #999;
}

/* Success rate badge - pink circular */
.overlap-card-badge.overlap-card-success {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ec4899 0%, #db2777 50%, #be185d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.overlap-card-success .success-top {
  font-size: 0.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.15rem;
}

.overlap-card-success .success-rate {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.overlap-card-success .success-bottom {
  font-size: 0.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .overlap-cards-grid {
    grid-template-columns: 1fr;
  }

  .overlap-cards-section {
    margin-top: -100px;
    background: linear-gradient(to bottom, transparent 0, transparent 100px, white 100px, white 100%);
  }
}

/* Why Choose Us + Benefit Cards Section */
.why-and-cards-section {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  overflow: hidden;
}

.why-and-cards-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f8faf9 0%, #ffffff 25%, rgba(157, 196, 139, 0.06) 50%, #ffffff 100%);
  z-index: 0;
}

.why-and-cards-container {
  position: relative;
  z-index: 1;
}

.why-and-cards-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.why-and-cards-title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}

.why-and-cards-intro {
  font-size: 1.0625rem;
  color: var(--color-primary-light);
  line-height: 1.6;
  margin: 0;
}

.why-and-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.why-choose-card {
  width: 100%;
  min-width: 0;
}

/* Horizontal "What we offer" card - same width as row below */
.why-choose-card--horizontal {
  width: 100%;
}

.why-choose-card--horizontal .why-choose-card-inner {
  width: 100%;
  padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) calc(var(--space-2xl) + 4px);
  box-sizing: border-box;
}

.why-choose-card-inner {
  background: var(--color-card-bg);
  border-radius: 20px;
  padding: var(--space-xl);
  box-shadow: 0 8px 8px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Accent strip on left for "What we offer" card */
.why-choose-card--horizontal .why-choose-card-inner {
  border-left: 4px solid var(--color-secondary);
}

/* No whole-card overlay – hover effect only on footer */

.why-choose-card--horizontal .why-choose-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 8px rgba(15, 23, 42, 0.08);
}

.why-choose-card--horizontal .why-choose-card-heading,
.why-choose-card--horizontal .why-choose-benefits,
.why-choose-card--horizontal .why-choose-footer {
  position: relative;
  z-index: 1;
}

.why-choose-card-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color 0.3s ease, transform 0.4s ease;
  transform-origin: left center;
}

.why-choose-card--horizontal .why-choose-card-heading {
  margin-bottom: var(--space-xl);
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-card-heading {
  transform: scale(1.02);
}

.why-choose-card-heading::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), transparent);
  border-radius: 2px;
  opacity: 0.6;
}

.why-choose-benefits {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

/* Horizontal layout: 4 benefits in a row, equal width */
.why-choose-benefits--horizontal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--space-xl);
  row-gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  padding: 0;
  align-items: start;
}

.why-choose-benefits--horizontal li {
  padding: var(--space-lg) var(--space-md) var(--space-lg);
  border-bottom: none;
  border-right: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.why-choose-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.why-choose-benefits li:last-of-type {
  border-bottom: none;
}

/* Override: horizontal benefits – no bottom border, centered content */
.why-choose-benefits.why-choose-benefits--horizontal li {
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: none;
}

.why-choose-benefit-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--color-secondary);
  margin-top: 2px;
  transition: color 0.5s ease, transform 0.5s ease-in-out;
}

/* Horizontal layout: center the icon */
.why-choose-benefits--horizontal .why-choose-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: var(--space-xs);
}

.why-choose-benefit-icon svg {
  width: 100%;
  height: 100%;
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-benefit-icon {
  color: #164942;
  transform: scale(1.2);
}

.why-choose-benefits li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.why-choose-benefits--horizontal li div {
  text-align: center;
  align-items: center;
  max-width: 100%;
}

.why-choose-benefits--horizontal strong {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 4px;
}

.why-choose-benefits--horizontal li span {
  text-align: center;
  line-height: 1.55;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
}

.why-choose-benefits strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 2px;
  transition: color 0.5s ease, transform 0.5s ease;
  transform-origin: left center;
}

.why-choose-benefits span {
  font-size: 0.875rem;
  color: var(--color-primary-light);
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
  transition: color 0.5s ease, transform 0.5s ease;
  transform-origin: left center;
}


.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-card-heading,
.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-benefits strong {
  color: #4b774e;
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-benefits strong {
  transform: scale(1.1);
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-benefits span {
  color: #164942;
  transform: scale(1.1);
}

.why-choose-benefits--horizontal .why-choose-benefit-icon,
.why-choose-benefits--horizontal strong,
.why-choose-benefits--horizontal span {
  transform-origin: center center;
}

/* Footer bar: no obligation + stats at very end of card */
.why-choose-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: 0;
  margin-left: calc(-1 * var(--space-2xl));
  margin-right: calc(-1 * var(--space-2xl));
  margin-bottom: calc(-1 * var(--space-2xl));
  padding: var(--space-xl) var(--space-2xl);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(22, 73, 66, 0.04);
  border-radius: 0 0 20px 20px;
}

/* Left-to-right background color change on card hover (footer only) */
.why-choose-footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(75, 119, 78, 0.12);
  z-index: 0;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-footer::before {
  transform: scaleX(1);
}

.why-choose-trust,
.why-choose-stats {
  position: relative;
  z-index: 1;
}

.why-choose-trust {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin: 0;
  transition: transform 0.5s ease;
  transform-origin: left center;
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-trust {
  transform: scale(1.1);
}

.why-choose-trust::before {
  content: '✓ ';
  color: #9dc48b;
  margin-right: 0.25em;
}

.why-choose-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
}

.why-choose-stat {
  text-align: center;
  flex: 0 0 auto;
  min-width: 80px;
  padding: 0 var(--space-md);
  transition: transform 0.4s ease;
  transform-origin: center center;
}

.why-choose-card--horizontal .why-choose-card-inner:hover .why-choose-stat {
  transform: scale(1.02);
}

.why-choose-stat-num {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.why-choose-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.why-choose-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(75, 119, 78, 0.25);
  flex-shrink: 0;
}

.benefit-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  width: 100%;
  min-width: 0;
}

.benefit-card {
  position: relative;
  background: var(--color-card-bg);
  border-radius: 20px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  min-height: 300px;
  min-width: 0;
  box-sizing: border-box;
  box-shadow: 0 8px 8px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

.benefit-card::before,
.benefit-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(75, 119, 78, 0.12);
  z-index: 0;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.benefit-card::before {
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform-origin: top;
  transform: scale(0);
}

.benefit-card::after {
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
  transform-origin: bottom;
  transform: scale(0);
}

.benefit-card:hover::before,
.benefit-card:hover::after {
  transform: scale(1);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 8px rgba(15, 23, 42, 0.08);
}

.benefit-card .benefit-card-icon-wrap,
.benefit-card .benefit-card-title,
.benefit-card .benefit-card-desc,
.benefit-card .benefit-card-btn {
  position: relative;
  z-index: 1;
}

.benefit-card-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s ease-in-out;
}

.benefit-card:hover .benefit-card-icon-wrap {
  transform: scale(1.2);
}

.benefit-card-icon-wrap svg {
  width: 36px;
  height: 36px;
  color: var(--color-secondary);
  transition: color 0.5s ease;
}

.benefit-card:hover .benefit-card-icon-wrap svg {
  color: #164942;
}

.benefit-card-badge {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.benefit-card-icon-wrap--accent {
  background: linear-gradient(145deg, rgba(75, 119, 78, 0.15) 0%, rgba(157, 196, 139, 0.2) 100%);
  border-radius: 50%;
  color: var(--color-secondary);
}

.benefit-card-icon-wrap--success {
  align-items: center;
  justify-content: center;
}

.benefit-card-success-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ec4899 0%, #db2777 50%, #be185d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3);
}

.benefit-card-success-top,
.benefit-card-success-bottom {
  font-size: 0.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.benefit-card-success-rate {
  font-size: 1.35rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.benefit-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

.benefit-card-title span {
  color: var(--color-secondary);
  display: block;
  transition: color 0.3s ease;
}

.benefit-card:hover .benefit-card-title,
.benefit-card:hover .benefit-card-title span {
  color: #4b774e;
}

.benefit-card-desc {
  font-size: 0.9375rem;
  color: var(--color-primary-light);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.benefit-card:hover .benefit-card-desc {
  color: #164942;
}

.benefit-card-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--color-secondary);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: var(--space-sm);
}

.benefit-card-btn:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .benefit-cards-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .why-choose-benefits--horizontal {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-xl);
  }

  .why-choose-benefits--horizontal li {
    padding-bottom: var(--space-md);
  }
}

@media (max-width: 640px) {
  .why-and-cards-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .why-choose-card--horizontal .why-choose-card-inner {
    padding: var(--space-xl) var(--space-lg);
  }

  .why-choose-benefits--horizontal {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .why-choose-benefits--horizontal li {
    padding-bottom: var(--space-md);
  }

  .why-choose-footer {
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    margin-bottom: calc(-1 * var(--space-xl));
    padding: var(--space-lg) var(--space-lg);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
  }

  .why-choose-stats {
    justify-content: center;
  }

  .why-choose-stat-divider {
    display: none;
  }
}

/* How it Works Section */
.how-it-works-section {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  background: linear-gradient(315deg, rgba(75, 119, 78, 0.08) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(157, 196, 139, 0.12) 100%);
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(315deg,
    rgba(75, 119, 78, 0.1) 0%,
    rgba(255, 255, 255, 0.5) 15%,
    rgba(75, 119, 78, 0.14) 30%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(75, 119, 78, 0.1) 60%,
    rgba(255, 255, 255, 0.45) 75%,
    rgba(157, 196, 139, 0.12) 90%,
    rgba(255, 255, 255, 0.35) 100%);
  background-size: 300% 300%;
  animation: how-it-works-gradient-flow 15s linear infinite;
  pointer-events: none;
}

.how-it-works-section .container {
  position: relative;
  z-index: 1;
}

@keyframes how-it-works-gradient-flow {
  0% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.how-it-works-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.how-it-works-header .section-title {
  color: var(--color-primary);
}

.how-it-works-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}

.how-it-works-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  text-align: left;
}

.how-it-works-step-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(75, 119, 78, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.4);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.how-it-works-step:hover .how-it-works-step-icon {
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 6px 20px rgba(75, 119, 78, 0.45);
}

.how-it-works-step-icon svg {
  width: 48px;
  height: 48px;
}

.how-it-works-step-card {
  flex: 1;
  background: white;
  padding: var(--space-lg) var(--space-xl);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-base);
}

.how-it-works-step-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.how-it-works-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.3;
}

.how-it-works-step-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .how-it-works-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .how-it-works-step-card {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-full {
  width: 100%;
  margin-top: var(--space-md);
  padding: var(--space-lg);
}

/* Features */
.features-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f1f5f9 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2xl);
}

.feature-card {
  position: relative;
  background: var(--color-card-bg);
  padding: 2rem 1.75rem;
  border-radius: 20px;
  box-shadow: 0 8px 8px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  overflow: hidden;
}

.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(75, 119, 78, 0.12);
  z-index: 0;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.feature-card::before {
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform-origin: top;
  transform: scale(0);
}

.feature-card::after {
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
  transform-origin: bottom;
  transform: scale(0);
}

.feature-card:hover::before,
.feature-card:hover::after {
  transform: scale(1);
}

.feature-card .feature-icon,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 8px rgba(15, 23, 42, 0.08);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: transparent;
  border-color: transparent;
  color: #164942;
  scale: 1.2;
  transition: scale 0.5s ease-in-out;
}

.feature-card:hover h3 {
  color: #4b774e;
}

.feature-card:hover p {
  color: #164942;
}

.feature-icon svg {
  width: 38px;
  height: 38px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: var(--space-lg) var(--space-xl);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-secondary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  background: var(--color-bg);
}

.faq-item p {
  padding: 0 var(--space-xl) var(--space-xl);
  padding-top: 0.25rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 65ch;
  animation: faq-answer-in 0.35s ease-out;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  max-width: 1300px;
  margin: var(--space-2xl) auto;
  padding: var(--space-2xl) var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #0f172a 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.2);
}

.cta-section-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(75, 119, 78, 0.2) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 0% 50%, rgba(157, 196, 139, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 100% 50%, rgba(157, 196, 139, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

.cta-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.cta-text {
  text-align: left;
}

.cta-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9dc48b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 var(--space-md) 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.6;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.cta-contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  width: 100%;
  max-width: 520px;
}

.cta-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-lg);
  min-width: 0;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-contact-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(157, 196, 139, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 119, 78, 0.45);
  border-radius: 50%;
  color: #9dc48b;
  flex-shrink: 0;
}

.cta-contact-icon svg {
  width: 24px;
  height: 24px;
}

.cta-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-contact-value {
  font-size: 0.835rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  word-break: break-word;
  line-height: 1.35;
}

.cta-btn {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  color: white;
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .cta-text {
    text-align: center;
  }

  .cta-actions {
    align-items: center;
  }

  .cta-contact-cards {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-contact-card {
    max-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: var(--space-md);
  }

  .cta-contact-card .cta-contact-value {
    text-align: left;
  }
}

/* ============================================
   Scroll-triggered section animations
   ============================================ */
main > section:not(.hero) {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

main > section.hero {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

main > section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for sections with grids/cards */
.overlap-cards-section.is-visible .overlap-card,
.why-and-cards-section.is-visible .why-and-cards-header .section-label,
.why-and-cards-section.is-visible .why-and-cards-header .why-and-cards-title,
.why-and-cards-section.is-visible .why-and-cards-header .why-and-cards-intro,
.why-and-cards-section.is-visible .why-choose-card,
.why-and-cards-section.is-visible .benefit-card,
.overlap-cards-section.is-visible .overlap-card,
.features-section.is-visible .feature-card,
.claims-types-section.is-visible .claims-type-item,
.how-it-works-section.is-visible .how-it-works-step,
.faq-section.is-visible .faq-item {
  animation: scroll-fade-up 0.6s ease-out forwards;
}

.overlap-cards-section .overlap-card { opacity: 0; }
.overlap-cards-section.is-visible .overlap-card:nth-child(1) { animation-delay: 0.1s; }
.overlap-cards-section.is-visible .overlap-card:nth-child(2) { animation-delay: 0.2s; }
.overlap-cards-section.is-visible .overlap-card:nth-child(3) { animation-delay: 0.3s; }

/* Why-and-cards section: full section scroll animation (header → What we offer → benefit cards) */
.why-and-cards-section .why-and-cards-header .section-label,
.why-and-cards-section .why-and-cards-header .why-and-cards-title,
.why-and-cards-section .why-and-cards-header .why-and-cards-intro,
.why-and-cards-section .why-choose-card,
.why-and-cards-section .benefit-card {
  opacity: 0;
}

.why-and-cards-section.is-visible .why-and-cards-header .section-label { animation-delay: 0.05s; }
.why-and-cards-section.is-visible .why-and-cards-header .why-and-cards-title { animation-delay: 0.12s; }
.why-and-cards-section.is-visible .why-and-cards-header .why-and-cards-intro { animation-delay: 0.2s; }
.why-and-cards-section.is-visible .why-choose-card { animation-delay: 0.28s; }
.why-and-cards-section.is-visible .benefit-card:nth-child(1) { animation-delay: 0.38s; }
.why-and-cards-section.is-visible .benefit-card:nth-child(2) { animation-delay: 0.46s; }
.why-and-cards-section.is-visible .benefit-card:nth-child(3) { animation-delay: 0.54s; }

.features-section .feature-card { opacity: 0; }
.features-section.is-visible .feature-card:nth-child(1) { animation-delay: 0.05s; }
.features-section.is-visible .feature-card:nth-child(2) { animation-delay: 0.15s; }
.features-section.is-visible .feature-card:nth-child(3) { animation-delay: 0.25s; }
.features-section.is-visible .feature-card:nth-child(4) { animation-delay: 0.35s; }

.claims-types-section .claims-type-item { opacity: 0; }
.claims-types-section.is-visible .claims-type-item:nth-child(1) { animation-delay: 0.05s; }
.claims-types-section.is-visible .claims-type-item:nth-child(2) { animation-delay: 0.1s; }
.claims-types-section.is-visible .claims-type-item:nth-child(3) { animation-delay: 0.15s; }
.claims-types-section.is-visible .claims-type-item:nth-child(4) { animation-delay: 0.2s; }
.claims-types-section.is-visible .claims-type-item:nth-child(5) { animation-delay: 0.25s; }
.claims-types-section.is-visible .claims-type-item:nth-child(6) { animation-delay: 0.3s; }
.claims-types-section.is-visible .claims-type-item:nth-child(7) { animation-delay: 0.35s; }
.claims-types-section.is-visible .claims-type-item:nth-child(8) { animation-delay: 0.4s; }

.how-it-works-section .how-it-works-step { opacity: 0; }
.how-it-works-section.is-visible .how-it-works-step:nth-child(1) { animation-delay: 0.1s; }
.how-it-works-section.is-visible .how-it-works-step:nth-child(2) { animation-delay: 0.25s; }
.how-it-works-section.is-visible .how-it-works-step:nth-child(3) { animation-delay: 0.4s; }

.faq-section .faq-item { opacity: 0; }
.faq-section.is-visible .faq-item { animation-delay: 0.05s; }
.faq-section.is-visible .faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-section.is-visible .faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-section.is-visible .faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-section.is-visible .faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-section.is-visible .faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-section.is-visible .faq-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes scroll-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
