@charset "UTF-8";

.partners {
  padding: clamp(3.5rem, 6vw, 5rem) 1.25rem clamp(4rem, 7vw, 6rem);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.partners-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.partners-header {
  display: grid;
  gap: 1rem;
}

.partners-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(4, 120, 243, 0.08);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  width: fit-content;
}

.partners h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

.partners .accent {
  color: var(--brand);
}

.partners-lead {
  margin: 0;
  color: var(--fg-soft);
  font-size: 1.05rem;
  max-width: 72ch;
}

.partner-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.partner-highlight {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 0.15rem;
}

.partner-highlight .value {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
}

.partner-highlight .label {
  color: var(--fg-softer);
  font-size: 0.95rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.partner-card {
  position: relative;
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.8rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.partner-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(228, 0, 124, 0.14));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  font-weight: 700;
  font-size: 0.9rem;
}

.partner-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.partner-card p {
  margin: 0;
  color: var(--fg-soft);
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-tags li {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--fg-softer);
  font-weight: 600;
  font-size: 0.9rem;
}

.partner-note {
  margin-top: 0.5rem;
  color: var(--fg-softer);
  font-size: 0.95rem;
}

.partner-providers {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(14, 165, 233, 0.06));
  display: grid;
  gap: 1rem;
}

.partner-providers h3 {
  margin: 0.15rem 0 0;
  font-size: 1.4rem;
}

.providers-lead {
  max-width: 70ch;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.provider-logo {
  height: 72px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0 0.75rem;
}

.provider-logo span {
  display: inline-block;
}

@media (min-width: 960px) {
  .partners-header {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .partners-lead {
    max-width: 38ch;
  }
}
