/* ==========================================================================
   /about 페이지 전용 CSS
   ----------------------------------------------------------------------------
   - 회사 소개 페이지 (.page-about, .ab-*)
   - about/index.php 에서 style.css 다음에 로드 → 동일 클래스 충돌 시 이쪽이 우선.
   ========================================================================== */

/* 회사소개(/about) 페이지에서는 도입문의 플로팅 UI 비노출 */
.page-about .floating-contact,
.page-about .floating-popup { display: none !important; }

/* ==========================================================================
   /about · 회사 소개 페이지 — 회사개요 · 연혁 · 투자사 3섹션 (라이트·정적)
   ========================================================================== */
.page-about main { background: #fff; }

/* 페이지 타이틀 배너 — 전체 폭 배경 + 위아래 균형 여백 */
.ab-pagehead {
  padding: clamp(72px, 9vw, 128px) 0;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(38, 153, 251, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #F4F8FF 0%, #FAFBFD 100%);
  border-bottom: 1px solid #E6E9F0;
}
.ab-pagehead__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: #0F172A;
  margin: 0;
  word-break: keep-all;
  text-align: center;
}

.ab-page {
  padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
}

/* 공통 블록 — 좌측 거대 타이틀 / 우측 콘텐츠 그리드 (Allganize 톤) */
.ab-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(64px, 8vw, 120px);
}
.ab-block:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .ab-block {
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: clamp(48px, 6vw, 120px);
  }
}
@media (min-width: 1100px) {
  .ab-block {
    grid-template-columns: minmax(280px, 1fr) 2.2fr;
  }
}
.ab-block__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #0F172A;
  margin: 0;
  align-self: start;
}
@media (min-width: 768px) {
  .ab-block__title {
    /* 스크롤할 때 콘텐츠와 함께 보이도록 sticky */
    position: sticky;
    top: calc(var(--header-height, 80px) + 32px);
  }
  /* 우측 콘텐츠(lead + timeline + overview)는 항상 컬럼 2 로 흘러가도록 강제.
     title 은 컬럼 1 row 1 (sticky), 나머지는 컬럼 2 의 row 1,2,... 로 자동 배치. */
  .ab-block > *:not(.ab-block__title) {
    grid-column: 2;
  }
}
.ab-block__lead {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 28px;
  letter-spacing: -0.012em;
  word-break: keep-all;
}
/* 섹션 본문 끝의 마무리 텍스트 (overview/history/investors 각 블록 최하단) */
.ab-block__outro {
  margin: clamp(32px, 4vw, 56px) 0 0;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.8;
  color: #334155;
  font-weight: 500;
  letter-spacing: -0.015em;
  word-break: keep-all;
  padding-top: clamp(24px, 2.8vw, 36px);
  border-top: 1px solid #E6E9F0;
}
.ab-block__outro--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(36px, 4.5vw, 60px);
  font-size: clamp(16px, 1.6vw, 19px);
  color: #1F2937;
  border-top: 0;
  padding-top: 0;
}

/* ─── 센터 변형 — 투자사 등 별도 섹션 ─── */
.ab-block--center {
  display: block;          /* 좌우 그리드 해제 */
  text-align: center;
  padding-top: clamp(40px, 5vw, 80px);
  border-top: 1px solid #E6E9F0;
}
.ab-block--center .ab-block__title {
  position: static;        /* sticky 해제 */
  text-align: center;
  margin-bottom: 20px;
}
.ab-block--center .ab-block__lead {
  margin: 0 auto clamp(36px, 4vw, 56px);
  max-width: 720px;
  text-align: center;
}

/* ───── 회사 개요 — dl 형식 (라벨/값, 행마다 얇은 라인) ───── */
.ab-overview {
  margin: 0;
  display: flex; flex-direction: column;
}
.ab-overview__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid #E6E9F0;
}
.ab-overview__row:first-child { border-top: 0; padding-top: 8px; }
.ab-overview__label {
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.012em;
  margin: 0;
}
.ab-overview__value {
  font-size: 15px;
  font-weight: 500;
  color: #1F2937;
  letter-spacing: -0.012em;
  margin: 0;
  word-break: keep-all;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .ab-overview__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .ab-overview__row:first-child { padding-top: 4px; }
  .ab-overview__label { font-size: 14px; }
}

/* ───── 연혁 타임라인 ───── */
.ab-timeline {
  list-style: none;
  padding: 0; margin: 0;
  position: relative;
}
.ab-timeline::before {
  content: '';
  position: absolute;
  left: 130px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #E6E9F0 0%, #C7E2FB 100%);
}
.ab-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: baseline;
  padding-block: 18px;
}
.ab-timeline__item::before {
  content: '';
  position: absolute;
  left: 124px;
  top: 26px;
  width: 14px; height: 14px;
  background: #fff;
  border: 3px solid #2699FB;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(38, 153, 251, 0.10);
}
.ab-timeline__date {
  font-size: 14px;
  font-weight: 800;
  color: #2699FB;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.ab-timeline__content { padding-left: 18px; }
.ab-timeline__title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.ab-timeline__desc {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
  letter-spacing: -0.012em;
}
@media (max-width: 640px) {
  .ab-timeline::before { left: 8px; }
  .ab-timeline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .ab-timeline__item::before { left: 2px; top: 22px; }
  .ab-timeline__content { padding-left: 0; }
}

/* ───── 투자사 ───── */
.ab-investors {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px)  { .ab-investors { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 960px)  { .ab-investors { grid-template-columns: repeat(4, 1fr); } }
.ab-investors__item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #E5E9EF;
  border-radius: 12px;
  min-height: 108px;
  transition: transform 0.22s var(--ease-out, ease-out),
              border-color 0.22s var(--ease-out, ease-out),
              box-shadow 0.22s var(--ease-out, ease-out);
}
.ab-investors__item:hover {
  transform: translateY(-2px);
  border-color: #BFD9F6;
  box-shadow: 0 14px 28px -14px rgba(38, 153, 251, 0.18);
}

/* 로고 — 실 이미지 파일 (/assets/img/logos/*.png).
   가로 비율이 투자사마다 달라서 폭/높이는 자유, object-fit: contain 으로 자연 비율 유지. */
.ab-investors__logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ab-investors__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.ab-investors__name {
  font-size: 12.5px;
  font-weight: 600;
  color: #0F172A;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.35;
  word-break: keep-all;
}
.ab-investors__note {
  margin: 18px 0 0;
  font-size: 12px;
  color: #9CA3AF;
  text-align: center;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   /about · INTRO (메인 카피)
   ========================================================================== */
.ab-intro {
  padding: clamp(60px, 8vw, 120px) 0 clamp(48px, 6vw, 88px);
  background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid #EEF1F6;
}
.ab-intro__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.ab-intro__tag {
  display: inline-block;
  padding: 6px 14px;
  background: #EFF6FF;
  color: #1664A9;
  border: 1px solid #BFD9F6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}
.ab-intro__headline {
  margin: 0 0 24px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.028em;
  line-height: 1.3;
  word-break: keep-all;
}
.ab-intro__hl {
  background: linear-gradient(160deg, #2699FB 0%, #5BB6FF 60%, #A553E5 130%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-intro__body {
  margin: 0 auto;
  font-size: clamp(15.5px, 1.7vw, 18px);
  line-height: 1.7;
  color: #4B5563;
  letter-spacing: -0.012em;
}
