/* =========================
   ABOUT PAGE
========================= */

/* 상단 비주얼 */
.sub-hero {
  background: linear-gradient(135deg, #0b5cab, #1d70c9);
  color: #ffffff;
  padding: 88px 0 76px;
}

.about-hero-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sub-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sub-hero p {
  margin: 0;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

/* 서브네브 */
.about-subnav-wrap {
  padding-bottom: 12px;
  background: #ffffff;
}

.about-subnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.about-subnav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  border-right: 1px solid #dbe3ec;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-subnav-item:last-child {
  border-right: 0;
}

.about-subnav-item:hover {
  background: #f8fbff;
  color: #0b5cab;
  transform: none;
}

.about-subnav-item.active {
  background: #0b5cab;
  color: #ffffff;
}

/* 전체 영역 */
.about-overview-section {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* 카드 공통 */
.about-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e4ebf3;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.about-card-head {
  margin-bottom: 22px;
}

.about-card-title {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.about-card-body {
  flex: 1;
}

/* 인사말 */
.greeting-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.95;
  color: #1e293b;
  word-break: keep-all;
}

/* 약력 */
.profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.profile-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0b5cab;
}

/* 연혁 */
.history-list {
  display: grid;
  gap: 16px;
}

.history-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #e8eef5;
}

.history-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.history-year {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  color: #0b5cab;
}

.history-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.history-text p + p {
  margin-top: 4px;
}

/* 회사인증 */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f8ff;
  border: 1px solid #d9e7f7;
  color: #0b5cab;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
/*
.cert-chip {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f3f8ff;
  border: 1px solid #d9e7f7;
  color: #0b5cab;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}
*/

/* 반응형 */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 24px;
  }

  .about-card-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .sub-hero {
    padding: 72px 0 62px;
  }

  .history-row {
    grid-template-columns: 62px 1fr;
    gap: 14px;
  }

  .greeting-text {
    font-size: 16px;
    line-height: 1.85;
  }
}

@media (max-width: 560px) {
  .about-subnav {
    grid-template-columns: 1fr;
  }

  .about-subnav-item {
    border-right: 0;
    border-bottom: 1px solid #dbe3ec;
  }

  .about-subnav-item:last-child {
    border-bottom: 0;
  }
}