/* ═══════════════════════════════════════════════════════════════════
   About — Engineering Edge (Figma node 654:1056)
   ═══════════════════════════════════════════════════════════════════ */

.about-edge {
  background-color: var(--color-bg);
}

/* ── Header ──────────────────────────────────────────────────────── */

.about-edge__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.about-edge__title {
  font-size: var(--font-size-h2);
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
  line-height: normal;
}

.about-edge__sub {
  font-size: var(--font-size-h4);
  font-weight: 400;
  color: var(--color-darker);
  margin: 0;
  line-height: normal;
}

/* ── Cards ───────────────────────────────────────────────────────── */

.about-edge__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.about-edge__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 300px;
  min-width: 300px;
  padding: 32px;
  background-color: var(--color-white);
  border: 1px solid var(--color-bg);
  border-radius: 10px;
  transition: background-color 0.25s ease, background-image 0.25s ease, border-color 0.25s ease;
}

.about-edge__card:hover {
  background-image: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  border-color: var(--color-bg);
}

.about-edge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--color-primary);
  transition: background-color 0.25s ease;
}

.about-edge__card:hover .about-edge__icon {
  background-color: var(--color-white);
}

.about-edge__icon img {
  width: 24px;
  height: 24px;
  /* Default: white icon on the red badge — flattens the native red
     stroke to a white silhouette. Removed on hover so the icon's
     native red shows through the (now white) badge. */
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}

.about-edge__card:hover .about-edge__icon img {
  filter: none;
}

.about-edge__card-title {
  font-size: var(--font-size-h4);
  font-weight: 700;
  color: var(--color-dark);
  min-height: 48px;
  margin: 0;
  line-height: normal;
  transition: color 0.25s ease;
}

.about-edge__card-body {
  font-size: var(--font-size-body-md);
  font-weight: 300;
  color: var(--color-darker);
  min-height: 180px;
  margin: 0;
  line-height: normal;
  transition: color 0.25s ease;
}

.about-edge__card:hover .about-edge__card-title,
.about-edge__card:hover .about-edge__card-body {
  color: var(--color-white);
}

.about-edge__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-edge__list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--font-size-body-md);
  font-weight: 400;
  color: var(--color-darker);
  line-height: normal;
  transition: color 0.25s ease;
}

.about-edge__list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 14px;
  transition: color 0.25s ease;
}

.about-edge__card:hover .about-edge__list li,
.about-edge__card:hover .about-edge__list li::before {
  color: var(--color-white);
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .about-edge__card-body {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .about-edge__title {
    font-size: 32px;
  }

  .about-edge__sub {
    font-weight: 300;
  }

  .about-edge__card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 24px;
  }
}
