/* ===== Partner Pages Styles ===== */

/* Page background */
.partners-page {
  background: var(--bg);
}

/* Hero */
.partners-hero {
  padding: calc(var(--nav) + 72px) 0 56px;
  background: var(--bg);
  position: relative;
}
.partners-hero-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Badge */
.partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .2);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}
.partners-badge svg {
  flex-shrink: 0;
}

.partners-hero-title {
  font-family: var(--font);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.047em;
  margin-bottom: 16px;
  color: var(--text);
}
.partners-hero-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text3);
  max-width: 620px;
  margin: 0 auto 0;
}

/* Stats bar under hero */
.partners-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.partners-stat {
  text-align: center;
}
.partners-stat-num {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.partners-stat-label {
  font-size: 13px;
  color: var(--text4);
  margin-top: 4px;
}

/* ===== Matchmaking CTA Banner ===== */
.partners-matchmaking {
  padding: 0 0 8px;
  background: var(--bg);
}
.partners-matchmaking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: rgba(103, 103, 103, 0.08) 0px 0px 0px 1px, rgba(103, 103, 103, 0.08) 0px 2px 4px 0px;
}
.partners-matchmaking-title {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.partners-matchmaking-desc {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.5;
}
.partners-matchmaking-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  white-space: nowrap;
  transition: all .3s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
}
.partners-matchmaking-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

/* ===== Sticky Filter Nav ===== */
.partners-filter-nav {
  position: sticky;
  top: var(--nav);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s cubic-bezier(.27, 0, .51, 1);
}
.partners-filter-nav.shadow {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.partners-filter-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 52px;
  gap: 0;
}
.partners-filter-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.partners-filter-links::-webkit-scrollbar {
  display: none;
}
.partners-filter-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  white-space: nowrap;
  cursor: pointer;
  transition: all .25s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
  border: none;
  background: none;
  font-family: var(--font);
}
.partners-filter-link:hover {
  color: var(--text);
  background: var(--bg);
}
.partners-filter-link.active {
  color: var(--text);
  font-weight: 600;
}

/* Count badge on filter */
.partners-filter-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text4);
  background: var(--bg);
  border-radius: 10px;
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}
.partners-filter-link.active .partners-filter-count {
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
}

/* Service focus filter */
.partners-service-filter {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px 10px;
  background: var(--white);
}
.partners-service-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.partners-service-pills::-webkit-scrollbar {
  display: none;
}
.partners-service-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  background: var(--bg);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s cubic-bezier(.27, 0, .51, 1);
  font-family: var(--font);
}
.partners-service-pill:hover {
  color: var(--text);
  border-color: var(--border);
}
.partners-service-pill.active {
  color: var(--blue);
  background: rgba(37, 99, 235, .06);
  border-color: rgba(37, 99, 235, .2);
  font-weight: 600;
}

/* Search toggle */
.partners-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--text3);
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
}
.partners-search-toggle:hover {
  background: var(--bg);
  color: var(--text);
}

/* Search overlay (hidden by default) */
.partners-search-bar {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: var(--white);
  z-index: 2;
  padding: 0 24px;
  align-items: center;
  gap: 12px;
}
.partners-search-bar.open {
  display: flex;
}
.partners-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  max-width: var(--max);
}
.partners-search-bar input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.partners-search-bar input::placeholder {
  color: var(--text4);
}
.partners-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: var(--bg);
  color: var(--text3);
  cursor: pointer;
  font-size: 18px;
  transition: all .2s;
}
.partners-search-close:hover {
  background: var(--border);
  color: var(--text);
}

/* ===== Partner Sections ===== */
.partners-sections {
  padding: 40px 0 60px;
  background: var(--bg);
}
.partners-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--nav) + 64px);
}
.partners-section:last-child {
  margin-bottom: 0;
}
.partners-section-title {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -.01em;
}

/* Cards Grid */
.partners-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual Partner Card — centered layout matching tech partners */
.partners-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: none;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: rgba(103, 103, 103, 0.08) 0px 0px 0px 1px, rgba(103, 103, 103, 0.08) 0px 2px 4px 0px;
  transition: all .35s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
  color: inherit;
}
.partners-card:hover {
  box-shadow: rgba(103, 103, 103, 0.12) 0px 0px 0px 1px, rgba(103, 103, 103, 0.12) 0px 8px 24px 0px;
  transform: translateY(-4px);
}

/* Card logo — prominent centered logo */
.partners-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: 16px;
}
.partners-card-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}
.partners-card-logo-initials {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  font-family: var(--font);
  border: none;
}

/* Card header — stacked vertically */
.partners-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 10px;
}
.partners-card-name {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.partners-card-arrow {
  display: none;
}

/* Card description */
.partners-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text3);
  margin-bottom: 14px;
  flex: 1;
}

/* Card meta row (location + specialties) */
.partners-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.partners-card-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text4);
  font-weight: 500;
}
.partners-card-location svg {
  flex-shrink: 0;
}
.partners-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text4);
  background: var(--bg);
}

/* No results */
.partners-no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
  display: none;
}
.partners-no-results p:first-child {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.partners-no-results p:last-child {
  font-size: 14px;
}
.partners-no-results a {
  color: var(--blue);
}

/* ===== CTA Section ===== */
.partners-cta {
  background: var(--dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.partners-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, .08), transparent 65%);
  pointer-events: none;
}
.partners-cta::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .06), transparent 60%);
  pointer-events: none;
}
.partners-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.partners-cta-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.partners-cta-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.partners-cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.partners-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
}
.partners-cta-btn:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.partners-cta-btn svg {
  flex-shrink: 0;
  transition: transform .2s;
}
.partners-cta-btn:hover svg {
  transform: translateX(2px);
}
.partners-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .3s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
}
.partners-cta-btn-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

/* ===== Become a Partner Page ===== */
.bap-hero {
  padding: calc(var(--nav) + 72px) 0 60px;
  background: var(--bg);
}
.bap-hero-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.bap-hero-title {
  font-family: var(--font);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.047em;
  margin-bottom: 16px;
  color: var(--text);
}
.bap-hero-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text3);
  max-width: 620px;
  margin: 0 auto 28px;
}
.bap-hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Section headers */
.bap-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.bap-section-title {
  font-family: var(--font);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.bap-section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text3);
}

/* Partner Types Section */
.bap-types {
  padding: 80px 0;
  background: var(--white);
}
.bap-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bap-types-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.bap-type-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all .35s cubic-bezier(.27, 0, .51, 1);
}
.bap-type-card:hover {
  border-color: rgba(37, 99, 235, .2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .04);
}
.bap-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bap-type-name {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.bap-type-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text3);
  margin-bottom: 20px;
}
.bap-type-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bap-type-perks li {
  font-size: 13px;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.bap-type-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: .6;
}
.bap-type-ideal {
  font-size: 12px;
  color: var(--text4);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex: 1;
}
.bap-type-ideal strong {
  color: var(--text3);
}
.bap-type-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  transition: all .3s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
  margin-top: auto;
}
.bap-type-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.bap-type-btn-blue {
  background: var(--blue);
}
.bap-type-btn-blue:hover {
  background: #1d4ed8;
}
.bap-type-btn-purple {
  background: var(--purple);
}
.bap-type-btn-purple:hover {
  background: #7c2dcc;
}

/* Why Partner Section */
.bap-why {
  padding: 80px 0;
  background: var(--bg);
}
.bap-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bap-why-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: rgba(103, 103, 103, 0.08) 0px 0px 0px 1px, rgba(103, 103, 103, 0.08) 0px 2px 4px 0px;
}
.bap-why-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text4);
  margin-bottom: 14px;
}
.bap-why-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.bap-why-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text3);
}

/* How It Works Section */
.bap-how {
  padding: 80px 0;
  background: var(--white);
}
.bap-how-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.bap-how-step {
  text-align: center;
  max-width: 280px;
  padding: 0 20px;
}
.bap-how-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 16px;
  font-family: var(--font);
}
.bap-how-step-name {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.bap-how-step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text3);
}
.bap-how-connector {
  display: flex;
  align-items: center;
  padding-top: 22px;
  flex-shrink: 0;
}

/* ===== Tech Partners Page ===== */
.tp-directory {
  padding: 24px 0 60px;
  background: var(--bg);
}

/* Matchmaking box with photo */
.tp-matchmaking-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: rgba(103, 103, 103, 0.08) 0px 0px 0px 1px, rgba(103, 103, 103, 0.08) 0px 2px 4px 0px;
}
.tp-matchmaking-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.tp-matchmaking-text {
  flex: 1;
  min-width: 0;
}

/* Large card grid — Klaviyo/TW style */
.tp-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Large partner card — centered layout with prominent logo */
.tp-card-lg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: rgba(103, 103, 103, 0.08) 0px 0px 0px 1px, rgba(103, 103, 103, 0.08) 0px 2px 4px 0px;
  transition: all .35s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
  color: inherit;
}
.tp-card-lg:hover {
  box-shadow: rgba(103, 103, 103, 0.12) 0px 0px 0px 1px, rgba(103, 103, 103, 0.12) 0px 8px 24px 0px;
  transform: translateY(-4px);
}
.tp-card-lg-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.tp-card-lg-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}
.tp-card-lg-name {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.tp-card-lg-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text3);
  margin-bottom: 14px;
  flex: 1;
}
.tp-card-lg-cat {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text4);
  background: var(--bg);
}
.tp-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: rgba(103, 103, 103, 0.08) 0px 0px 0px 1px, rgba(103, 103, 103, 0.08) 0px 2px 4px 0px;
  transition: all .35s cubic-bezier(.27, 0, .51, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.tp-card:hover {
  box-shadow: rgba(103, 103, 103, 0.12) 0px 0px 0px 1px, rgba(103, 103, 103, 0.12) 0px 8px 24px 0px;
  transform: translateY(-4px);
}
.tp-card-logo {
  flex-shrink: 0;
}
.tp-card-logo-text {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font);
  letter-spacing: 0.02em;
}
.tp-card-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.tp-card-logo-img-actual {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: var(--white);
}
.tp-card-body {
  flex: 1;
  min-width: 0;
}
.tp-card-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.tp-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text3);
  margin-bottom: 10px;
}
.tp-card-cat {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text4);
  background: var(--bg);
}
.tp-card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--text4);
  transition: all .25s cubic-bezier(.27, 0, .51, 1);
}
.tp-card:hover .tp-card-arrow {
  color: var(--blue);
  transform: translate(2px, -2px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .partners-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bap-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bap-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-hero {
    padding: calc(var(--nav) + 48px) 0 40px;
  }
  .partners-hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .partners-stats {
    gap: 32px;
  }
  .partners-stat-num {
    font-size: 24px;
  }
  .partners-filter-inner {
    height: 48px;
  }
  .partners-filter-link {
    padding: 6px 12px;
    font-size: 13px;
  }
  .partners-section-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .partners-card {
    padding: 28px 20px;
  }
  .partners-sections {
    padding: 28px 0 48px;
  }
  .partners-section {
    margin-bottom: 40px;
  }
  .partners-cta {
    padding: 72px 0 60px;
  }
  .partners-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .partners-matchmaking-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .partners-service-pills {
    padding-bottom: 4px;
  }
  /* Become a Partner responsive */
  .bap-hero {
    padding: calc(var(--nav) + 48px) 0 40px;
  }
  .bap-hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }
  .bap-hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .bap-types, .bap-why, .bap-how {
    padding: 56px 0;
  }
  .bap-types-grid {
    grid-template-columns: 1fr;
  }
  .bap-why-grid {
    grid-template-columns: 1fr;
  }
  .bap-how-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .bap-how-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .bap-section-header {
    margin-bottom: 32px;
  }
  /* Tech partners responsive */
  .tp-grid {
    grid-template-columns: 1fr;
  }
  .tp-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  .tp-matchmaking-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .tp-grid-large {
    grid-template-columns: 1fr;
  }
  .partners-hero-subtitle {
    font-size: 13px;
  }
  .partners-filter-link {
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
  }
  .partners-stats {
    gap: 24px;
  }
  .partners-stat-num {
    font-size: 22px;
  }
  .bap-type-card {
    padding: 24px;
  }
}

/* ===== Hover Polish ===== */
@media (prefers-reduced-motion: no-preference) {
  .partners-card {
    transition: all .35s cubic-bezier(.27, 0, .51, 1);
  }
  .partners-card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(103, 103, 103, 0.12) 0px 0px 0px 1px, rgba(103, 103, 103, 0.06) 0px 8px 24px 0px;
  }

  /* Filter link active underline */
  .partners-filter-link.active {
    position: relative;
  }
  .partners-filter-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
  }
}
