/* ==================================================
   BENEFIT
================================================== */

/* ==================================================
   BENEFIT SECTION
================================================== */

.benefit {
  background: #f7f8fa;

  padding-block: 5rem;
}

/* ==================================================
   SECTION HEADER
================================================== */

.benefit .section-header {
  max-width: 680px;

  margin-inline: auto;
  margin-bottom: 3.5rem;

  text-align: center;
}

/* ==================================================
   BENEFIT GRID
================================================== */

.benefit__grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1.5rem;
}

/* ==================================================
   BENEFIT CARD
================================================== */

.benefit-card {
  position: relative;

  padding: 1.5rem;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 0.75rem;

  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);

  border-color: #d9dde3;

  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

/* ==================================================
   BENEFIT ICON
================================================== */

.benefit-card__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 2.75rem;
  height: 2.75rem;

  margin-bottom: 1.25rem;

  background: #fff7ed;

  border: 1px solid #fed7aa;

  border-radius: 0.7rem;

  color: #d97706;

  font-size: 1rem;
}

/* ==================================================
   BENEFIT TITLE
================================================== */

.benefit-card__title {
  margin-bottom: 0.6rem;

  color: #181a1f;

  font-size: 0.95rem;
  font-weight: 700;

  line-height: 1.4;
}

/* ==================================================
   BENEFIT DESCRIPTION
================================================== */

.benefit-card__description {
  color: #6b7280;

  font-size: 0.82rem;

  line-height: 1.65;
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .benefit {
    padding-block: 4.5rem;
  }

  .benefit .section-header {
    margin-bottom: 3rem;
  }

  .benefit__grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.25rem;
  }

  .benefit-card {
    padding: 1.4rem;
  }

  .benefit-card__title {
    font-size: 0.9rem;
  }

  .benefit-card__description {
    font-size: 0.8rem;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .benefit {
    padding-block: 4rem;
  }

  .benefit__grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 1rem;
  }

  .benefit-card {
    padding: 1.25rem;
  }

  .benefit-card__icon {
    width: 2.5rem;
    height: 2.5rem;

    margin-bottom: 1rem;

    font-size: 0.9rem;
  }

  .benefit-card__title {
    margin-bottom: 0.5rem;

    font-size: 0.88rem;
  }

  .benefit-card__description {
    font-size: 0.78rem;

    line-height: 1.6;
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .benefit {
    padding-block: 3.5rem;
  }

  .benefit .section-header {
    margin-bottom: 2rem;
  }

  .benefit__grid {
    grid-template-columns: 1fr;

    gap: 0.9rem;
  }

  .benefit-card {
    display: grid;

    grid-template-columns: auto 1fr;

    column-gap: 0.9rem;

    padding: 1rem;
  }

  .benefit-card__icon {
    grid-row: 1 / span 2;

    width: 2.5rem;
    height: 2.5rem;

    margin: 0;

    align-self: start;
  }

  .benefit-card__title {
    margin-bottom: 0.25rem;

    font-size: 0.85rem;
  }

  .benefit-card__description {
    font-size: 0.75rem;
  }
}
