/* =========================================================================
   FARM4GLASS — PARTNERSHIPS SECTION
   Landing page only. Kept in its own file so style.css doesn't have to be
   touched — index.html loads it after style.css and units.css.
   Same palette, fonts, and stroke-icon language as the rest of the site.
   ========================================================================= */

.partners-section {
  padding: 96px 6vw;
  background: #ffffff;
}

.partners-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.partners-lede {
  max-width: 640px;
  margin: 18px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4a6c8c;
}

/* ---- how it works: a real three-step sequence, so it's numbered ---- */

.partner-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.partner-step {
  padding: 28px 26px;
  border: 1px solid rgba(22, 125, 181, .18);
  border-radius: 16px;
  background: #ffffff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.partner-step:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 125, 181, .38);
  box-shadow: 0 14px 34px rgba(10, 26, 43, .09);
}

.partner-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: rgba(22, 125, 181, .12);
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #167db5;
}

.partner-step h3 {
  margin: 0 0 8px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: #0a1a2b;
}

.partner-step p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #4a6c8c;
}

/* ---- what partners get ---- */

.partner-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid rgba(22, 125, 181, .16);
}

.partner-perk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.partner-perk-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(22, 125, 181, .12);
  color: #167db5;
}

.partner-perk-icon svg {
  width: 22px;
  height: 22px;
}

.partner-perk h3 {
  margin: 0 0 6px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #0a1a2b;
}

.partner-perk p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4a6c8c;
}

/* ---- closing call to action ---- */

.partner-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 34px 36px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a1a2b 0%, #167db5 100%);
}

.partner-cta h3 {
  margin: 0 0 8px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: #ffffff;
  line-height: 1.15;
}

.partner-cta p {
  margin: 0;
  max-width: 520px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
}

.partner-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a1a2b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.partner-cta-btn svg {
  width: 18px;
  height: 18px;
}

.partner-cta-btn.ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}

.partner-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.partner-cta-btn.ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #ffffff;
}

.partner-cta-btn:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

/* ---- phones ---- */

@media (max-width: 768px) {
  .partners-section { padding: 64px 5vw; }
  .partner-steps { gap: 16px; margin-top: 32px; }
  .partner-perks { margin-top: 44px; padding-top: 34px; gap: 22px; }
  .partner-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
    margin-top: 44px;
  }
  .partner-cta h3 { font-size: 22px; }
  .partner-cta-btns { flex-direction: column; }
  .partner-cta-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-step,
  .partner-cta-btn { transition: none; }
  .partner-step:hover,
  .partner-cta-btn:hover { transform: none; }
}

/* ========================= OUR PARTNERS ========================= */
.op-section {
  padding: 92px 24px;
  background: #fff;
}
.op-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.op-lede {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted, #4a6c8c);
  font-size: 16px;
  line-height: 1.65;
}
.op-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.op-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 34px 24px;
  border: 1px solid rgba(22, 125, 181, .18);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(22, 125, 181, .05) 0%, rgba(56, 189, 248, .03) 100%);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.op-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 125, 181, .38);
  box-shadow: 0 14px 34px rgba(10, 26, 43, .10);
}
.op-card-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(22, 125, 181, .12);
  color: #167db5;
}
.op-card-mark svg { width: 28px; height: 28px; }
.op-card-name {
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .01em;
  color: #0a1a2b;
  line-height: 1.25;
}
.op-card-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #4a6c8c);
}
.op-cta-line {
  margin-top: 36px;
  text-align: center;
  font-size: 15px;
  color: var(--muted, #4a6c8c);
}
.op-cta-line a {
  color: #167db5;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 125, 181, .35);
}
.op-cta-line a:hover { border-bottom-color: #167db5; }

/* ========================= THANK YOU, TESTERS ========================= */
.tt-section {
  padding: 92px 24px;
  background: linear-gradient(180deg, #f6fafd 0%, #fff 100%);
  border-top: 1px solid rgba(22, 125, 181, .10);
}
.tt-inner {
  max-width: 900px;
  margin: 0 auto;
}
.tt-lede {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted, #4a6c8c);
  font-size: 16px;
  line-height: 1.65;
}
.tt-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.tt-name {
  padding: 10px 18px;
  border: 1px solid rgba(22, 125, 181, .20);
  border-radius: 999px;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0a1a2b;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.tt-name:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 125, 181, .45);
  background: rgba(22, 125, 181, .06);
}
.tt-note {
  margin-top: 34px;
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  color: #167db5;
}

@media (max-width: 640px) {
  .op-section, .tt-section { padding: 64px 18px; }
  .tt-name { font-size: 13px; padding: 8px 15px; }
}
