/* company 영역 — 회사소개 (기업개요 · 비전 및 미션 · 파트너 · 오시는 길) */

/* ---------- 공통 ---------- */
/* 페이지 제목 (비전/파트너/오시는 길) */
.cp-page-title {
  margin: 0 0 40px; font-family: var(--font-display);
  font-size: 40px; font-weight: 800; letter-spacing: -0.035em;
  color: #0a1317; line-height: 1.25; text-align: center;
}

/* 파란 버튼 (hover 시 진하게 + 살짝 떠오름) */
.cp-btn {
  display: inline-flex; align-items: center;
  border-radius: 10px; background: #0F78C4; color: #fff; text-decoration: none;
  font-weight: 700; letter-spacing: -0.02em; white-space: nowrap;
  transition: background-color 200ms ease-out, transform 200ms cubic-bezier(0.2,0,0,1);
}
.cp-btn:hover { background-color: #0a1317; transform: translateY(-2px); }
.cp-btn--lg {
  margin-top: 18px; gap: 16px; padding: 17px 30px; font-size: 17px;
  transition: background-color 200ms ease-out, box-shadow 200ms ease-out, transform 200ms cubic-bezier(0.2,0,0,1);
}
.cp-btn--lg:hover { box-shadow: rgba(10,19,23,0.26) 0px 12px 26px -12px; }

/* ---------- 기업개요 ---------- */
.cp-about-intro { padding: 72px 0 64px; }
.sec-title.cp-about-intro__title { text-align: center; margin-bottom: 56px; }
.container.cp-about-intro__grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: stretch;
}
.cp-about-intro__photo {
  border-radius: 16px; overflow: hidden; min-height: 320px;
  background: #eef1f5; position: relative;
}
.cp-about-intro__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  display: block; position: absolute; inset: 0;
}
.cp-about-intro__copy { display: flex; flex-direction: column; gap: 26px; }
/* 모바일: 사진을 본문 위에 가로형으로 (두 칸 그대로면 사진이 본문 높이만큼 길어짐) */
@media (max-width: 768px) {
  .cp-about-intro { padding: 48px 0 44px; }
  .sec-title.cp-about-intro__title { margin-bottom: 28px; }
  .container.cp-about-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cp-about-intro__photo { min-height: 0; aspect-ratio: 4 / 5; }   /* 원본 2:3 — 위아래 끝만 살짝 잘림 */
  .cp-about-intro__copy { gap: 18px; }
}
p.body-copy.cp-strong { font-weight: 700; color: #0a1317; font-size: 18.5px; }

.cp-about-facts { padding: 44px 0 52px; background: #f6f8fa; }
.cp-tag { margin-bottom: 32px; display: flex; align-items: center; gap: 20px; }
.cp-tag__ko {
  background: #0a1317; color: #fff; font-family: var(--font-display);
  font-size: 19px; font-weight: 800; letter-spacing: -0.02em;
  padding: 11px 22px; border-radius: 8px; white-space: nowrap;
}
.cp-tag__en { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: #B5680B; white-space: nowrap; }
.cp-tag__rule { flex: 1; height: 1px; background: #dee3e9; }

.cp-facts { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto auto; }
.cp-fact {
  display: grid; grid-template-rows: subgrid; grid-row: span 3;
  justify-items: center; align-content: start;
  text-align: center; gap: 16px; padding: 8px 14px;
  border-left: 1px solid #e1e6ec; word-break: keep-all;
}
.cp-fact:first-child { border-left: none; }
.cp-fact__icon { color: #0F78C4; display: inline-flex; }
.cp-fact__label {
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  letter-spacing: -0.025em; color: #0a1317;
}
.cp-fact__lines { display: flex; flex-direction: column; gap: 3px; }
.cp-fact__lines > span {
  font-size: 17px; line-height: 1.45; color: #2b3138;
  letter-spacing: -0.02em; word-break: keep-all;
}
/* 모바일: 한 줄에 하나씩 카드 — 왼쪽 아이콘, 오른쪽 항목명·내용 */
@media (max-width: 620px) {
  .company-facts.cp-facts { grid-template-rows: none; row-gap: 14px; }
  .cp-fact {
    grid-row: auto; grid-template-rows: auto auto; grid-template-columns: 64px minmax(0, 1fr);
    justify-items: start; align-items: center; text-align: left; column-gap: 18px; row-gap: 8px;
    padding: 22px 20px; border-left: none; border-radius: 12px; background: #fff;
    border: 1px solid #e6eaef;
  }
  .cp-fact__icon { grid-column: 1; grid-row: 1 / 3; align-self: center; justify-self: center; }
  .cp-fact__icon svg { width: 56px; height: 56px; }
  .cp-fact__label { grid-column: 2; grid-row: 1; align-self: end; }
  .cp-fact__lines { grid-column: 2; grid-row: 2; align-self: start; gap: 2px; }
  .cp-fact__lines > span { color: #4a525b; }
}

/* ---------- 비전 및 미션 ---------- */
.cp-vision { padding: 56px 0 48px; }
.cp-vision__body {
  margin-top: 32px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 22px; word-break: keep-all;
}
.cp-vision__headline {
  margin: 0; font-family: var(--font-display);
  font-size: 34px; font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.35; color: #0F78C4; max-width: 900px;
}
.cp-vision__text {
  margin: 0; font-size: 19.5px; line-height: 1.75; letter-spacing: -0.02em;
  color: #0a1317; max-width: 880px;
}

.cp-mission { padding: 44px 0 56px; background: #f6f8fa; }
.vision-label.cp-mission__label { margin-bottom: 30px; }
.cp-mission-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: 20px; align-items: stretch;
}
.cp-pillar {
  display: grid; grid-template-rows: subgrid; grid-row: span 5;
  justify-items: center; align-content: start;
  text-align: center; gap: 14px; padding: 26px 22px 28px;
  background: #fff; border-radius: 18px;
  border: 1px solid #e1e6ec;
  transform: translateY(0);
  box-shadow: rgba(10,19,23,0.05) 0px 2px 10px -6px;
  transition: transform 280ms cubic-bezier(0.2,0,0,1), box-shadow 280ms cubic-bezier(0.2,0,0,1), border-color 200ms ease-out;
  cursor: default; word-break: keep-all;
}
.cp-pillar:hover {
  border-color: #0F78C4; transform: translateY(-8px);
  box-shadow: rgba(15,120,196,0.20) 0px 22px 44px -18px;
}
.cp-pillar__circle {
  width: 90px; height: 90px; border-radius: 9999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background-color: #eef1f5; color: #0A5488; transform: scale(1);
  transition: background-color 260ms ease-out, color 260ms ease-out, transform 280ms cubic-bezier(0.2,0,0,1);
}
.cp-pillar:hover .cp-pillar__circle { background-color: #0F78C4; color: #ffffff; transform: scale(1.06); }
.cp-pillar__en {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #55657a;
  transition: color 200ms ease-out;
}
.cp-pillar:hover .cp-pillar__en { color: #0F78C4; }
.cp-pillar__ko {
  margin: 0; font-family: var(--font-display);
  font-size: 21px; font-weight: 800; letter-spacing: 0.01em;
  line-height: 1.35; color: #0A5488;
  display: flex; align-items: center; justify-content: center;
}
.cp-pillar__rule { height: 2px; width: 0; background: #0F78C4; transition: width 360ms cubic-bezier(0.2,0,0,1); }
.cp-pillar:hover .cp-pillar__rule { width: 40px; }
.cp-pillar__desc {
  margin: 0; font-size: 17px; line-height: 1.7; letter-spacing: -0.02em;
  color: #3a4450; transition: color 220ms ease-out;
}
.cp-pillar:hover .cp-pillar__desc { color: #161b21; }

/* ---------- 파트너 ---------- */
.cp-partner-intro { padding: 76px 0 8px; }
.cp-page-title.cp-partner-intro__title { margin-bottom: 56px; }
.cp-partner-intro__body {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 18px; word-break: keep-all;
}
.cp-partner-intro__headline {
  margin: 0; font-family: var(--font-display);
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.35; color: #0a1317; max-width: 940px;
}
.cp-partner-intro__headline .cp-hl { color: #0F78C4; }
.cp-partner-intro__lead {
  margin: 0; font-size: 18.5px; line-height: 1.7;
  letter-spacing: -0.02em; color: #0a1317; max-width: 820px;
}

.cp-partner-support { padding: 44px 0 48px; }
.eyebrow-rule.cp-eyebrow { margin-bottom: 32px; }
.eyebrow-rule > .num.cp-eyebrow__num--light { color: #e4e9ef; }

/* 지원 항목 원 (사진 위 문구, hover 시 떠오르며 사진 확대) */
.cp-orb {
  position: relative; overflow: hidden;
  width: 196px; height: 196px; flex-shrink: 0; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  padding: 22px; box-sizing: border-box; text-align: center;
  background-color: #0a2d50;
  border: 1px solid rgba(10,19,23,0.10);
  box-shadow: rgba(10,19,23,0.06) 0px 3px 12px -6px;
  transform: translateY(0);
  transition: background-color 240ms ease-out, transform 260ms cubic-bezier(0.2,0,0,1), box-shadow 260ms cubic-bezier(0.2,0,0,1), border-color 200ms ease-out;
  cursor: default;
}
.cp-orb:hover { box-shadow: rgba(15,120,196,0.28) 0px 16px 34px -14px; transform: translateY(-6px); }
.cp-orb__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transform: scale(1);
  transition: transform 620ms cubic-bezier(0.2,0,0,1);
}
.cp-orb:hover .cp-orb__photo { transform: scale(1.09); }
.cp-orb__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,26,48,0.34) 0%, rgba(6,26,48,0.52) 100%);
  transition: background 260ms ease-out;
}
.cp-orb:hover .cp-orb__shade { background: linear-gradient(180deg, rgba(6,26,48,0.22) 0%, rgba(6,26,48,0.42) 100%); }
.cp-orb__text {
  position: relative;
  font-size: 17.5px; font-weight: 700; line-height: 1.45;
  letter-spacing: -0.02em; white-space: pre-line; word-break: keep-all;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(6,26,48,0.85), 0 0 3px rgba(6,26,48,0.6);
  transition: color 240ms ease-out;
}

.cp-partner-process { padding: 48px 0 56px; background: #f6f8fa; }
.cp-steps { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cp-steps__arrow {
  flex-shrink: 0; display: inline-flex; align-items: center;
  justify-content: center; width: 38px; height: 38px; border-radius: 9999px;
  background: #0F78C4; color: #fff;
}
.cp-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 4px 26px; cursor: default; min-width: 210px;
}
.cp-step__icon {
  color: #33414f; transform: translateY(0); display: inline-flex;
  transition: color 220ms ease-out, transform 240ms cubic-bezier(0.2,0,0,1);
}
.cp-step:hover .cp-step__icon { color: #0F78C4; transform: translateY(-5px); }
.cp-step__no {
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  letter-spacing: 0.12em; color: #8F4F06;
}
.cp-step__label {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: #0a1317; white-space: nowrap; transition: color 220ms ease-out;
}
.cp-step:hover .cp-step__label { color: #0F78C4; }
/* 한 줄에 다 안 들어가는 폭: 단계를 세로로 쌓고 화살표를 아래 방향으로 */
@media (max-width: 900px) {
  .cp-steps { flex-direction: column; flex-wrap: nowrap; gap: 14px; }
  .cp-steps__arrow { transform: rotate(90deg); width: 34px; height: 34px; }
  .cp-step { min-width: 0; padding: 4px 0; gap: 10px; }
}

.cp-partner-cta {
  margin-top: 44px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 14px; word-break: keep-all;
}
.cp-partner-cta__title {
  margin: 0; font-size: 19.5px; font-weight: 700; letter-spacing: -0.025em;
  color: #0a1317; line-height: 1.6;
}
.cp-partner-cta__body {
  margin: 0; font-size: 17px; line-height: 1.7;
  letter-spacing: -0.02em; color: #0a1317; max-width: 860px;
}
.cp-partner-cta__body .cp-mail { color: #0A5488; font-weight: 700; }

/* ---------- 오시는 길 ---------- */
.cp-directions { padding: 56px 0 72px; }
.cp-dir-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px;
  align-items: baseline; padding: 18px 0;
  border-bottom: 1px solid #e6eaef;
}
.cp-dir-row--last { border-bottom: none; }
.cp-dir-row--subway { padding: 22px 0 0; margin-top: 6px; border-bottom: none; border-top: 1px solid #e6eaef; }
.cp-dir-row__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: #0F78C4;
  white-space: nowrap;
}
.cp-dir-row__value {
  font-size: 17.5px; color: #0a1317;
  letter-spacing: -0.02em; line-height: 1.6; word-break: keep-all;
}
.cp-dir-row__value--link { text-decoration: none; word-break: normal; }
.cp-subway {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 17.5px; color: #0a1317; letter-spacing: -0.02em; line-height: 1.6;
}
.cp-subway__line {
  width: 25px; height: 25px; border-radius: 9999px; background: #E6186C;
  color: #fff; font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* 좁은 화면(한 칸 배치): 노선 번호(8)가 혼자 한 줄을 차지하지 않도록 "⑧호선 문정역 …" 처럼 글과 한 줄로 */
@media (max-width: 880px) {
  .cp-subway { display: block; }
  .cp-subway__line { width: 20px; height: 20px; font-size: 12px; margin-right: 4px; vertical-align: 1px; }
}

.cp-map { margin-top: 48px; }
.cp-map__frame {
  position: relative; overflow: hidden;
  height: 420px; border-radius: 14px; background: #e9edf2;
  border: 1px solid #dee3e9;
}
.cp-map__ground { position: absolute; inset: 0; display: block; }
.cp-map__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; cursor: pointer; }
/* 카카오맵 퍼가기: 지도 아래 자체 테두리·하단 막대는 숨기고 칸에 꽉 채움 (OWLens 사이트와 동일) */
.cp-map__embed.root_daum_roughmap { width: 100% !important; padding: 0 !important; background: transparent; }
.cp-map__embed.root_daum_roughmap .wrap_map { height: 100% !important; }
.cp-map__embed.root_daum_roughmap .map_border { border: 0; height: 0; }
.cp-map__embed.root_daum_roughmap .wrap_controllers { display: none; }
.cp-map__embed.root_daum_roughmap .wrap_btn_zoom { z-index: 1; }
