.home-care {
  position: relative;
  padding: 64px 0 96px;
  background: #213e4c;
  color: #fdfcfb;
  font-family: "Figtree", "Segoe UI", Arial, sans-serif;
}

.home-care-heading {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 36px;
  text-align: center;
}

.home-care-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 14px;
  color: #fdfcfb;
  font-size: 16px;
  line-height: 1.5;
}

.home-care-stars {
  display: inline-flex;
  gap: 6px;
}

.home-care-stars svg {
  width: 20px;
  height: 20px;
}

.home-care-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.home-care-window:focus-visible {
  outline: 2px solid #fdfcfb;
  outline-offset: 4px;
}

.home-care-window {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #91a8b2 #213e4c;
}

.home-care-track {
  display: flex;
  width: max-content;
}

.home-care-list {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  margin: 0;
  padding: 0 16px 0 0;
  list-style: none;
}

.home-care-card {
  box-sizing: border-box;
  width: clamp(280px, 85vw, 400px);
  min-height: 316px;
  padding: 20px;
  border-radius: 10px;
  background: #365665;
}

.home-care-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.home-care-icon {
  box-sizing: border-box;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 7px;
  border-radius: 50%;
  background: #dce5e8;
  color: #213e4c;
}

.home-care-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.home-care-card p {
  margin: 0;
  color: #e1e8eb;
  font-size: 16px;
  line-height: 1.5;
}

.home-care.is-animated .home-care-window {
  overflow: hidden;
}

.home-care.is-animated .home-care-track {
  animation: home-care-slide 45s linear infinite;
}

.home-care-track:has(.home-care-card:hover) {
  animation-play-state: paused;
}

@keyframes home-care-slide {
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .home-care {
    padding: 64px 0 72px;
  }

  .home-care-heading {
    width: min(380px, calc(100% - 32px));
    margin-bottom: 36px;
  }

  .home-care-eyebrow {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .home-care-stars {
    flex-shrink: 0;
    gap: 3px;
  }

  .home-care-stars svg {
    width: 12px;
    height: 12px;
  }

  .home-care-heading h2 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .home-care-card {
    width: min(340px, calc(100vw - 48px));
  }

  .home-care-card header {
    gap: 10px;
  }

  .home-care-card header > div {
    min-width: 0;
  }

  .home-care-card h3 {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .home-care-card p {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-care.is-animated .home-care-track { animation: none; }
  .home-care.is-animated .home-care-window { overflow-x: auto; }
  .home-care-list[aria-hidden="true"] { display: none; }
}
