/* ==============================================
   Contact Cards Section — PC
   ============================================== */
.cards-section {
  background: #f3f7ff;
}

.cards-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 120px 160px;
}

/* Flex wrap: 2 cards per row, 3rd card alone on row 2 */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

/* Individual contact card */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* right-aligns the arrow button */
  justify-content: center;
  gap: 10px;
  width: calc(50% - 40px);
  min-height: 280px;
  padding: 32px 24px 24px;
  border: 1px solid rgba(20, 38, 63, 0.4);
  border-radius: 8px;
  color: #14263f;
  text-decoration: none;
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: rgba(20, 38, 63, 0.7);
}

/* Title and description span full width (overrides items-end) */
.contact-card__title {
  width: 100%;
  font-weight: bold;
  font-size: 32px;
  line-height: 1.8;
  letter-spacing: 3.2px;
  color: #14263f;
}

.contact-card__desc {
  width: 100%;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 1.5px;
  color: #14263f;
}

/* Arrow button — right-aligned by parent's items-end */
.contact-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #14263f;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-card__btn .material-icons-outlined {
  font-size: 18px;
  color: #ffffff;
  line-height: 1;
}

@media (max-width:1080px) {
  .cards-section__inner {
    width: 100%;
    padding: 64px 20px 120px;
  }

  .cards-grid {
    gap: 40px;
  }

  .contact-card {
    width: calc(50% - 20px);
    min-height: 200px;
  }

  .contact-card__title {
    font-size: 2.4vw;
  }

  .contact-card__desc {
    font-size: 14px;
  }
}

/* ==============================================
   SP Styles — max-width: 767px
   ============================================== */
@media (max-width: 767px) {


  /* Cards section */
  .cards-section__inner {
    padding: 80px 11px;
  }

  /* Single-column card grid */
  .cards-grid {
    flex-direction: column;
    gap: 24px;
  }

  /* Full-width cards */
  .contact-card {
    width: 100%;
    min-height: auto;
    padding: 24px 16px 16px;
    gap: 8px;
  }

  .contact-card__title {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .contact-card__desc {
    font-size: 13px;
    letter-spacing: 1.3px;
  }
}