/* ============================================
   INSURANCE / TRYGGHET COMPONENT
   ============================================ */

.insurance-section {
  background: var(--white);
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.insurance-card {
  background: var(--light-grey);
  border: none;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: 
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.insurance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.insurance-card:hover {
  transform: translateY(-4px);
}

.insurance-card:hover::before {
  transform: scaleX(1);
}

.insurance-card .insurance-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: block;
  color: var(--yellow);
  transition: transform 0.3s ease;
}

.insurance-card:hover .insurance-icon {
  transform: scale(1.1);
}

.insurance-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.insurance-card p {
  color: var(--dark-grey);
  font-size: 15px;
  line-height: 1.5;
}

.insurance-note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--dark-grey);
  font-weight: 600;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .insurance-card {
    transition: none;
  }
  
  .insurance-card:hover {
    transform: none;
  }
  
  .insurance-card::before,
  .insurance-card:hover .insurance-icon {
    transition: none;
    transform: none;
  }
}

@media (max-width: 768px) {
  .insurance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .insurance-card {
    padding: 24px 20px;
  }
  
  .insurance-card .insurance-icon {
    font-size: 40px;
  }
}


