/* ==========================================================================
   FUNNELVALLEY — Partner With Us Page
   ========================================================================== */

/* ── Why Partner Section ──────────────────────────────────────────────── */
.why-partner {
  background: var(--white);
}

.why-partner__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4xl);
  align-items: start;
}

.why-partner__editorial p {
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.why-partner__editorial p:last-child {
  margin-bottom: 0;
}

.why-partner__benefits {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
}

.why-partner__benefits-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

/* Benefits List */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.benefits-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.benefits-list__marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border-radius: 50%;
  margin-top: -2px;
}

.benefits-list__marker svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Capabilities Section ─────────────────────────────────────────────── */
.capabilities {
  background: var(--bg);
}

/* ── Process Section ──────────────────────────────────────────────────── */
.process {
  background: var(--white);
}

.process__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process__step {
  position: relative;
  padding: 0 var(--space-xl);
  text-align: center;
}

.process__step:first-child {
  padding-left: 0;
}

.process__step:last-child {
  padding-right: 0;
}

.process__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 2px solid var(--gold-primary);
}

/* Connector line between steps */
.process__connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 1px;
  background: var(--border);
}

.process__connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold-primary);
  border-bottom: 1.5px solid var(--gold-primary);
  transform: rotate(-45deg);
}

.process__step:last-child .process__connector {
  display: none;
}

.process__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.process__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 240px;
  margin: 0 auto;
}

/* ── Engagement Models ────────────────────────────────────────────────── */
.models {
  background: var(--bg);
}

.model-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-primary);
}

.model-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.model-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.model-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.model-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.model-card__features {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.model-card__features li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-left: var(--space-lg);
  position: relative;
  line-height: var(--leading-normal);
}

.model-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
  padding: 0;
}

.cta-block {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: var(--space-5xl) var(--space-4xl);
  text-align: center;
  margin-bottom: var(--section-padding);
}

.cta-block .section-label {
  color: var(--gold-accent);
}

.cta-block__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, var(--text-4xl));
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-tight);
}

.cta-block__text {
  font-size: var(--text-md);
  color: #aaa;
  line-height: var(--leading-relaxed);
  max-width: 580px;
  margin: 0 auto var(--space-2xl);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .why-partner__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .process__track {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .process__step {
    padding: 0;
  }

  .process__connector {
    display: none;
  }

  .process__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .process__track {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .process__step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--space-lg);
    row-gap: var(--space-xs);
    align-items: start;
  }

  .process__number {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .process__title {
    align-self: end;
    margin-bottom: 0;
  }

  .process__text {
    align-self: start;
    margin: 0;
  }

  .process__connector {
    display: none;
  }

  .cta-block {
    padding: var(--space-3xl) var(--space-xl);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .model-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .cta-block {
    padding: var(--space-2xl) var(--space-lg);
  }

  .model-card {
    padding: var(--space-md);
  }
}
