/* Find a Distributor — professional channel page */

.dist-paths {
  padding: clamp(72px, 7vw, 104px) 0;
  background: #f4f6fa;
}
.dist-paths-heading {
  max-width: 36rem;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}
.dist-paths-heading h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.dist-paths-lede {
  max-width: 42ch;
  margin: 0;
  color: #526781;
  font-size: 17px;
  line-height: 1.55;
}
.dist-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.dist-path {
  position: relative;
  display: flex;
  min-height: clamp(420px, 42vw, 520px);
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.dist-path-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dist-path-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(11, 25, 57, .18) 0%, rgba(11, 25, 57, .42) 42%, rgba(11, 25, 57, .88) 100%),
    linear-gradient(115deg, rgba(16, 35, 79, .35) 0%, transparent 55%);
}
.dist-path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s var(--ease);
}
.dist-path:hover .dist-path-media img {
  transform: scale(1.08);
}
.dist-path-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.2vw, 40px);
}
.dist-path-kicker {
  margin: 0;
  color: rgba(175, 197, 237, .95);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dist-path h3 {
  margin: 0;
  max-width: 14ch;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
}
.dist-path-content > p {
  max-width: 38ch;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.6;
}
.dist-path-cta {
  align-self: flex-start;
  margin-top: 8px;
  gap: 10px;
}
.dist-path-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .22s var(--ease);
}
.dist-path-cta:hover svg {
  transform: translateX(3px);
}

.dist-partner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(88px, 9vw, 132px) 0 clamp(72px, 7vw, 104px);
  color: var(--white);
  background: #0b1939;
}
.dist-partner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dist-partner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.dist-partner-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(11, 25, 57, .72) 0%, rgba(11, 25, 57, .78) 45%, rgba(11, 25, 57, .88) 100%),
    linear-gradient(90deg, rgba(11, 25, 57, .55) 0%, rgba(11, 25, 57, .28) 55%, rgba(11, 25, 57, .45) 100%);
}
.dist-partner-shell {
  position: relative;
  z-index: 1;
}
.dist-partner-intro {
  max-width: 36rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.dist-partner-intro h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(42px, 4.6vw, 68px);
  letter-spacing: -.045em;
  line-height: 1.02;
}
.dist-partner-intro p {
  max-width: 42ch;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
}
.dist-qual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}
.dist-qual-card {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: clamp(260px, 28vw, 320px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 2.5vw, 36px) clamp(16px, 1.6vw, 22px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 48px;
  background: #13284f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  text-align: center;
  transition: transform .28s var(--ease), border-color .22s ease, background-color .22s ease;
}
.dist-qual-card:nth-child(odd) { margin-top: 0; }
.dist-qual-card:nth-child(even) { margin-top: clamp(36px, 4vw, 64px); }
.dist-qual-card:hover {
  border-color: rgba(255, 255, 255, .4);
  background: #17325f;
  transform: translateY(-4px);
}
.dist-qual-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
}
.dist-qual-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dist-qual-card strong {
  max-width: 12ch;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.dist-qual-card > span:last-child {
  max-width: 18ch;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.45;
}
.dist-partner-note {
  max-width: 58ch;
  margin: clamp(48px, 5vw, 72px) auto 0;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}
.dist-form-section {
  padding: clamp(96px, 8vw, 140px) 0;
  background: #fff;
}
.dist-form-layout {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr);
  align-items: start;
  gap: clamp(48px, 6vw, 96px);
}
.dist-form-copy {
  max-width: 420px;
  padding-top: 9px;
}
.dist-form-copy .eyebrow {
  margin-bottom: 24px;
  color: var(--blue);
}
.dist-form-copy h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(36px, 3.4vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.08;
}
.dist-form-copy > p {
  max-width: 40ch;
  margin: 0;
  color: #52677c;
  font-size: 17px;
  line-height: 1.65;
}
.dist-form-copy .text-link {
  margin-top: 28px;
  color: var(--blue);
}
.dist-form-section .contact-form-panel {
  scroll-margin-top: 110px;
}

@media (max-width: 1080px) {
  .dist-paths-grid,
  .dist-form-layout {
    grid-template-columns: 1fr;
  }
  .dist-qual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .dist-qual-card,
  .dist-qual-card:nth-child(even) {
    min-height: 220px;
    margin-top: 0;
    border-radius: 36px;
  }
  .dist-partner-intro p { max-width: 48ch; }
  .dist-path {
    min-height: 380px;
  }
  .dist-path:hover .dist-path-media img {
    transform: scale(1.02);
  }
}

@media (max-width: 820px) {
  .dist-form-copy { max-width: 680px; }
  .dist-form-copy h2 { font-size: clamp(36px, 8vw, 48px); }
}

@media (max-width: 560px) {
  .dist-qual { grid-template-columns: 1fr; }
  .dist-qual-card { min-height: 200px; border-radius: 32px; }
  body[data-page="distributors"] .inner-form .field-row {
    grid-template-columns: 1fr;
  }
  body[data-page="distributors"] .inner-form .form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }
  body[data-page="distributors"] .inner-form .form-footer .button {
    width: 100%;
  }
}
