/* ============================================================
   Partner Logo Carousel — S2 "Our Partners" style.
   Replaces the static kd-hero__partners-list with a rotating carousel.
   ============================================================ */

/* Override the default partners row to make space for the carousel */
.kd-hero__partners {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}

/* Carousel container: flex row with centered track + arrow buttons on sides */
.kd-partner-carousel {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  max-width: 520px;
}

/* Track: fixed-width container, clips overflow, shows 3 cards */
.kd-partner-carousel__track {
  display: flex;
  gap: var(--s-3);
  flex: 1;
  overflow: hidden;
  /* Each card is roughly 1/3 of track width */
}

/* Individual logo card: white rounded card, consistent height */
.kd-partner-card {
  flex: 0 0 calc(33.333% - var(--s-2));
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-3) var(--s-4);
  height: 72px;
  min-width: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kd-partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Circular arrow nav buttons — ink/navy brand color */
.kd-partner-carousel__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--brand-navy);
  background: transparent;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  padding: 0;
}

.kd-partner-carousel__arrow:hover {
  background: var(--brand-navy);
  color: var(--white);
  transform: scale(1.07);
}

.kd-partner-carousel__arrow:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Responsive: on very narrow viewports reduce card size */
@media (max-width: 480px) {
  .kd-partner-carousel {
    max-width: 100%;
  }

  .kd-partner-card {
    flex: 0 0 calc(33.333% - 6px);
    padding: var(--s-2) var(--s-3);
    height: 60px;
  }

  .kd-partner-carousel__arrow {
    width: 30px;
    height: 30px;
  }
}

/* ============================================================
   Layout tightening — trim the design's large-viewport whitespace.
   The design was tuned for the narrow Claude Design preview; at a
   full-width browser the 96px section padding and the left-aligned
   720px quote card read as too sparse.
   ============================================================ */
.kd-section { padding-top: var(--s-7); padding-bottom: var(--s-7); }   /* 96px -> 48px */
.kd-section--quotes { padding-top: var(--s-6); }                        /* trim quotes top */
.kd-hero { padding-top: var(--s-7); padding-bottom: var(--s-7); }       /* trim hero */

/* Center the testimonial card so it isn't stranded on the left edge
   with dead space to its right (the contact section already centers). */
.kd-quote { margin-left: auto; margin-right: auto; }
.kd-quote__controls { justify-content: center; }
