/* =============================================================================
   Hotforming — Excellence Section  (Figma node 659:4158)
   Beige background · centred header · 3-column card row with red border
   ============================================================================= */

/* ── Section shell ─────────────────────────────────────────────────────────── */
.hf-excellence {
  background-color: var(--color-white);
  padding: 100px 120px;
}

.hf-excellence__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.hf-excellence__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  max-width: 896px;
  width: 100%;
}

.hf-excellence__title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-dark, #252525);
  margin: 0;
}

.hf-excellence__sub {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-dark, #252525);
  margin: 0;
}

/* ── Cards row ─────────────────────────────────────────────────────────────── */
.hf-excellence__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

/* ── Single card ────────────────────────────────────────────────────────────── */
.hf-excellence__card {
  flex: 1 0 0;
  min-width: 236px;
  max-width: 400px;
  min-height: 266px;
  background-color: var(--color-beige, #f0f0e3);
  border: 1px solid var(--color-primary, #cd261d);
  border-radius: 16px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

/* ── Card header row (icon + title) ─────────────────────────────────────────── */
.hf-excellence__card-header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.hf-excellence__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.hf-excellence__card-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hf-excellence__card-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-dark, #252525);
  margin: 0;
  white-space: nowrap;
}

/* ── Card body ──────────────────────────────────────────────────────────────── */
.hf-excellence__card-body {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark, #252525);
  margin: 0;
}

/* ── Responsive — tablet (≤ 900px) ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hf-excellence {
    padding: 80px 48px;
  }

  .hf-excellence__title {
    font-size: 30px;
  }

  .hf-excellence__sub {
    font-size: 18px;
  }

  .hf-excellence__card {
    min-width: 280px;
  }
}

/* ── Responsive — mobile (≤ 600px) ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .hf-excellence {
    padding: 60px 24px;
  }

  .hf-excellence__header {
    gap: 20px;
  }

  .hf-excellence__title {
    font-size: 26px;
  }

  .hf-excellence__sub {
    font-size: 16px;
    line-height: 1.6;
  }

  .hf-excellence__cards {
    flex-direction: column;
    gap: 16px;
  }

  .hf-excellence__card {
    min-width: unset;
    max-width: 100%;
    min-height: unset;
    flex: none;
    width: 100%;
  }

  .hf-excellence__card-title {
    font-size: 20px;
    white-space: normal;
  }
}