/* ── GDS Recovery Design Section ── */
.recovery {
  background-color: var(--color-bg);
  padding: var(--space-2xl) var(--space-md);
}

.recovery__inner {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  text-align: center;
}

.recovery__title {
  font-size: clamp(1.5rem, 5.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.recovery__description {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* ── Cards ── */
.recovery__cards {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.recovery__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  gap: 0;
  padding: 36px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    0 1px 6px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.recovery__card-media {
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: 18px;
}

.recovery__card-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease;
}

.recovery__card-title {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  width: 100%;
  min-height: 2.8em;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-align: left;
}

.recovery__card-text {
  flex: 1 1 auto;
  width: 100%;
  min-height: 4.8em;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
  text-align: left;
}

.recovery__note {
  margin-top: var(--space-xl);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #a1a1a6;
}

@media (hover: hover) {
  .recovery__card:hover {
    transform: translateY(-8px);
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.12),
      0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .recovery__card:hover .recovery__card-image {
    transform: scale(1.03);
  }
}

[data-animate-delay="4"] {
  transition-delay: 0.4s;
}

/* ── Tablet+ ── */
@media (min-width: 48rem) {
  .recovery {
    padding: calc(var(--space-2xl) + 1rem) var(--space-lg) var(--space-2xl);
  }

  .recovery__inner {
    max-width: 64.4rem;
  }

  .recovery__title {
    margin-bottom: var(--space-xl);
  }

  .recovery__description {
    font-size: 1.1875rem;
    max-width: 32rem;
    margin-inline: auto;
    margin-bottom: calc(var(--space-xl) + 0.5rem);
  }

  .recovery__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
  }

  .recovery__card {
    padding: 36px;
  }

  .recovery__card-title {
    font-size: 1.1875rem;
    min-height: 2.8em;
  }

  .recovery__card-text {
    min-height: 4.8em;
  }

  .recovery__note {
    margin-top: calc(var(--space-xl) + 0.5rem);
  }
}

@media (min-width: 64rem) {
  .recovery__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recovery__card,
  .recovery__card-image {
    transition: none;
  }
}
