/* ══════════════════════════════════════════════════════════════
   zlgoon clone — pages-sub.css
   서브페이지 공통(서브헤더·필 pill·섹션 타이틀) + about/service/news/recruit/faq/404
   ══════════════════════════════════════════════════════════════ */

/* ── 서브페이지 헤더: 항상 흰 배경 + 진색 ── */
#hd.subpage-header { background-color: #FFFFFF; }
#hd.subpage-header .logo-white { display: none; }
#hd.subpage-header .logo-dark { display: block; }
#hd.subpage-header #gnb .nav-item > a { color: #111111; }

/* ── 서브페이지 공통 래퍼 ── */
.sub-wrap { padding-top: 5.2rem; }

/* 상단 pill 내비 (탭) */
.sub-pills { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.sub-pills a {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 1.15rem 2.6rem;
  border: 1px solid var(--color-grey-2);
  border-radius: 10rem;
  color: #111111;
  background: #FFFFFF;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.sub-pills a:hover { border-color: #111111; }
.sub-pills a.active { background: #111111; color: #FFFFFF; border-color: #111111; }

/* 섹션 공통 타이틀 패턴 */
.sub-sec-title { font-size: 3.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; color: #111111; }
.sub-sec-desc { margin-top: 1.4rem; font-size: 1.35rem; color: #4B4B4B; }

/* ── about: 인트로 ── */
.sub-hero { padding-top: 5.5rem; }
.sub-hero .sub-sec-title { margin-top: 4.6rem; }
.sub-hero .sub-sec-desc { font-weight: 700; color: #111111; font-size: 1.5rem; margin-top: 1.6rem; }
.sub-hero-img { margin-top: 3rem; border-radius: 0; width: 100%; display: block; }

/* 카운터 4열 */
.sub-counters { display: grid; grid-template-columns: repeat(4, 1fr); padding: 5.2rem 0 6.4rem; }
.sub-counter { text-align: center; padding: 0 1rem; position: relative; }
.sub-counter + .sub-counter::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--color-grey-3);
}
.sub-counter .num {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}
.sub-counter .num small { font-size: 2.4rem; }
.sub-counter .lbl { margin-top: 1rem; font-size: 1.3rem; line-height: 1.6; color: #4B4B4B; }

/* ── about: 벤 다이어그램 ── */
.venn-section { padding-top: 7rem; padding-bottom: 9rem; }
.venn-flex { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.venn-list { max-width: 42rem; }
.venn-item + .venn-item { margin-top: 3.4rem; }
.venn-item h3 { font-size: 2.2rem; font-weight: 700; letter-spacing: 0.01em; }
.venn-item p { margin-top: 1rem; font-size: 1.3rem; line-height: 1.7; color: #4B4B4B; }
.venn-diagram { position: relative; width: 44rem; height: 41.5rem; flex: 0 0 auto; }
.venn-circle {
  position: absolute;
  width: 24.5rem;
  height: 24.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 700;
}
.venn-circle.c1 { top: 0; left: 9.75rem; background: rgba(23, 23, 23, 0.96); }
.venn-circle.c2 { bottom: 0; left: 0; background: rgba(90, 90, 90, 0.9); }
.venn-circle.c3 { bottom: 0; right: 0; background: rgba(200, 32, 20, 0.88); }

/* ── about: 히스토리 타임라인 ── */
.history-section { padding-top: 9rem; padding-bottom: 9rem; }
.sec-head-flex { display: flex; align-items: flex-end; justify-content: space-between; }
.history-arrows { display: flex; gap: 2.4rem; }
.history-arrows button {
  width: 4.4rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}
.history-arrows button:disabled { color: #CCCCCC; }
.history-scroll {
  margin-top: 3.2rem;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.history-scroll::-webkit-scrollbar { display: none; }
.history-col { flex: 0 0 38rem; margin-right: 5.5rem; position: relative; padding-top: 2.6rem; }
.history-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: -5.5rem;
  height: 1px;
  background: var(--color-primary);
}
.history-col::after {
  content: '';
  position: absolute;
  top: -0.45rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--color-primary);
}
.history-col:last-child::before { right: 0; }
.history-col .yr { font-size: 3rem; font-weight: 700; color: var(--color-primary); }
.history-col ul { margin-top: 1.6rem; }
.history-col li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 1.3rem;
  line-height: 1.55;
  color: #4B4B4B;
}
.history-col li + li { margin-top: 0.7rem; }
.history-col li::before { content: '·'; position: absolute; left: 0; color: #919191; }

/* ── about: CI 다운로드 ── */
.ci-section { padding-top: 9rem; padding-bottom: 9rem; }
.ci-box {
  margin-top: 3.2rem;
  border-radius: 0.6rem;
  background:
    linear-gradient(var(--color-grey-5) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grey-5) 1px, transparent 1px),
    #FCFCFC;
  background-size: 3.2rem 3.2rem;
  height: 26.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-box svg { width: 12rem; height: auto; }
.ci-btns { margin-top: 3.2rem; display: flex; justify-content: center; gap: 1.6rem; }
.ci-btns a {
  display: inline-block;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  padding: 1.5rem 3.4rem;
  border-radius: 0.5rem;
}
.ci-btns a:hover { background: #A81B11; }

/* ── about: 기술 플랫폼 (아이콘 카드 3×2) ── */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.4rem 3.2rem; margin-top: 4.2rem; }
.icon-card .ic { width: 5.6rem; height: 5.6rem; }
.icon-card .ic img { width: 100%; height: 100%; }
.icon-card h3 { margin-top: 1.8rem; font-size: 1.7rem; font-weight: 700; line-height: 1.4; }
.icon-card p { margin-top: 1rem; font-size: 1.3rem; line-height: 1.65; color: #4B4B4B; }

/* ── about: TOTAL CS (바우하우스 아이콘 4열) ── */
.cs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.2rem; margin-top: 4.6rem; }
.cs-grid .cs-ic { width: 17rem; height: 16rem; }
.cs-grid .cs-ic img { width: 100%; height: 100%; }
.cs-grid h3 { margin-top: 2rem; font-size: 1.9rem; font-weight: 700; line-height: 1.35; }
.cs-grid p { margin-top: 1.2rem; font-size: 1.3rem; line-height: 1.65; color: #4B4B4B; }

/* ── about: 마케팅 슬라이더 ── */
.mkt-section { padding-top: 9rem; padding-bottom: 9rem; }
.mkt-slider { margin-top: 3.4rem; display: flex; gap: 2.4rem; overflow-x: auto; scrollbar-width: none; }
.mkt-slider::-webkit-scrollbar { display: none; }
.mkt-card { flex: 0 0 38.5rem; }
.mkt-card img { width: 100%; height: 22rem; border-radius: 1rem; object-fit: cover; display: block; }
.mkt-card h3 { margin-top: 2rem; font-size: 1.8rem; font-weight: 700; }
.mkt-card p { margin-top: 1rem; font-size: 1.3rem; line-height: 1.65; color: #4B4B4B; }

/* ── about: 수상·인증 그리드 ── */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.4rem 3rem; margin-top: 4.2rem; }
.award-card .box {
  border: 1px solid var(--color-grey-3);
  border-radius: 0.8rem;
  height: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.award-card .box .org-ic {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  background: var(--color-grey-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #4B4B4B;
}
.award-card .box .org-name { font-size: 1.4rem; font-weight: 700; color: #111111; }
.award-card .box .org-en { font-size: 1.05rem; color: #919191; }
.award-card h3 { margin-top: 2rem; font-size: 1.7rem; font-weight: 700; line-height: 1.4; }
.award-card .org { margin-top: 1rem; font-size: 1.25rem; color: #4B4B4B; }
.award-card .period { margin-top: 0.6rem; font-size: 1.25rem; color: #919191; }

/* ── about: 주요 파트너 ── */
.partners-section { padding-top: 9rem; padding-bottom: 11rem; }
.partner-tabs { margin-top: 3.2rem; display: flex; gap: 1.2rem; }
.partner-tabs button {
  font-size: 1.35rem;
  font-weight: 600;
  padding: 1.15rem 2.6rem;
  border-radius: 10rem;
  border: 1px solid var(--color-grey-2);
  background: #FFFFFF;
  color: #111111;
}
.partner-tabs button.active { background: #111111; color: #FFFFFF; border-color: #111111; }
.partner-grid {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem 1.2rem;
}
.partner-chip {
  border: 1px solid var(--color-grey-3);
  border-radius: 0.6rem;
  height: 8.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #696969;
  background: #FFFFFF;
  padding: 0 1rem;
  line-height: 1.4;
}
.partner-grid.buys .partner-chip { background: var(--color-grey-5); border-color: transparent; }

/* ══════════ 서비스 페이지 (스마일콘/오피스콘/…) ══════════ */
.svc-pills { padding-top: 4.6rem; padding-bottom: 1rem; }
.svc-section { padding-top: 8rem; padding-bottom: 8rem; }
.svc-section + .svc-section { border-top: 1px solid var(--color-grey-3); }
.svc-flex { display: flex; align-items: center; justify-content: space-between; gap: 5rem; }
.svc-flex.rev { flex-direction: row-reverse; }
.svc-txt { flex: 0 1 47rem; }
.svc-txt .sub-sec-title { font-size: 3.1rem; }
.svc-txt .svc-desc { margin-top: 1.8rem; font-size: 1.35rem; line-height: 1.75; color: #4B4B4B; }
.svc-links { margin-top: 2.2rem; display: flex; gap: 2.6rem; }
.svc-links a { font-size: 1.3rem; font-weight: 700; color: #111111; }
.svc-links a::after { content: ' ↗'; color: var(--color-primary); }
.svc-points { margin-top: 3.4rem; }
.svc-point { position: relative; padding-left: 1.6rem; }
.svc-point + .svc-point { margin-top: 2.2rem; }
.svc-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #111111;
}
.svc-point h4 { font-size: 1.5rem; font-weight: 700; line-height: 1.45; }
.svc-point p { margin-top: 0.7rem; font-size: 1.3rem; line-height: 1.65; color: #4B4B4B; }
.svc-img { flex: 0 0 58.5rem; }
.svc-img img { width: 100%; border-radius: 1.6rem; display: block; }

/* ══════════ 뉴스 페이지 ══════════ */
.news-page-title { padding: 5.5rem 0 3.2rem; }
.news-select { position: relative; display: inline-block; }
.news-select select {
  appearance: none;
  font-family: inherit;
  font-size: 1.3rem;
  color: #111111;
  border: 1px solid var(--color-grey-2);
  border-radius: 0.6rem;
  background: #FFFFFF;
  padding: 1rem 4.4rem 1rem 1.6rem;
  cursor: pointer;
}
.news-select::after {
  content: '⌄';
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-55%);
  color: #696969;
  pointer-events: none;
}
.news-list { margin-top: 1rem; }
.news-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-grey-3);
  cursor: pointer;
}
.news-row .t { font-size: 1.7rem; font-weight: 700; line-height: 1.5; }
.news-row .d { margin-top: 1rem; font-size: 1.25rem; color: #919191; }
.news-row .thumb { flex: 0 0 25.6rem; }
.news-row .thumb img, .news-row .thumb .ph {
  width: 25.6rem;
  height: 16rem;
  border-radius: 1rem;
  object-fit: cover;
  background: var(--color-grey-5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-row:hover .t { color: var(--color-primary); }
.pagination { margin: 4.6rem 0 2rem; display: flex; justify-content: center; align-items: center; gap: 0.6rem; }
.pagination a {
  min-width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #919191;
  border-radius: 0.4rem;
}
.pagination a.active { color: var(--color-primary); font-weight: 700; }
.pagination a:hover { color: #111111; }
.pagination .next { color: #919191; }

/* ══════════ 인재채용 페이지 ══════════ */
.recruit-hero-title { padding: 3rem 0 4.2rem; }
.recruit-hero-title .sub-sec-title { font-size: 3.5rem; line-height: 1.4; }
.recruit-hero-img { width: 100%; display: block; }
.culture-section { padding-top: 9rem; padding-bottom: 4rem; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; margin-top: 4.6rem; }
.culture-card { text-align: center; }
.culture-card .ic { width: 8.4rem; height: 8.4rem; margin: 0 auto; }
.culture-card .ic img { width: 100%; height: 100%; }
.culture-card h3 { margin-top: 2.2rem; font-size: 1.8rem; font-weight: 700; }
.culture-card p { margin-top: 1.2rem; font-size: 1.3rem; line-height: 1.7; color: #4B4B4B; }
.env-section { padding-top: 6rem; padding-bottom: 6rem; }
.env-slider { margin-top: 3.4rem; display: flex; gap: 2.4rem; overflow-x: auto; scrollbar-width: none; }
.env-slider::-webkit-scrollbar { display: none; }
.env-slider img { flex: 0 0 58rem; width: 58rem; height: 38.6rem; object-fit: cover; border-radius: 0; display: block; }
.welfare-section { padding-top: 7rem; padding-bottom: 4rem; }
.welfare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 4.2rem; }
.welfare-card { background: var(--color-grey-5); border-radius: 1.6rem; padding: 3.6rem 3.2rem; }
.welfare-card h3 { font-size: 2.1rem; font-weight: 700; line-height: 1.35; }
.welfare-card ul { margin-top: 2.2rem; }
.welfare-card li { position: relative; padding-left: 1.4rem; font-size: 1.3rem; line-height: 1.6; color: #4B4B4B; }
.welfare-card li + li { margin-top: 0.9rem; }
.welfare-card li::before { content: '·'; position: absolute; left: 0.2rem; color: #111111; font-weight: 700; }
.hiring-section { padding-top: 7rem; padding-bottom: 10rem; }
.hiring-empty { margin-top: 3rem; padding: 3rem 0 1rem; border-top: 1px solid var(--color-grey-3); font-size: 1.4rem; color: #4B4B4B; }

/* ══════════ 고객센터(FAQ) ══════════ */
.faq-search-band { background: var(--color-grey-5); padding: 7rem 0; text-align: center; }
.faq-search-band h2 { font-size: 3rem; font-weight: 700; }
.faq-search {
  margin: 3.2rem auto 0;
  max-width: 52rem;
  display: flex;
  align-items: center;
  border: 2px solid var(--color-primary);
  border-radius: 10rem;
  background: #FFFFFF;
  padding: 0.6rem 0.6rem 0.6rem 2.8rem;
}
.faq-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 1.35rem;
  color: #111111;
  background: transparent;
}
.faq-search input::placeholder { color: #BBBBBB; }
.faq-search button { width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center; }
.faq-filters { padding-top: 4.6rem; padding-bottom: 0.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.faq-filters button {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: 10rem;
  border: 1px solid var(--color-grey-2);
  background: #FFFFFF;
  color: #4B4B4B;
}
.faq-filters button.active { background: var(--color-primary); border-color: var(--color-primary); color: #FFFFFF; }
.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; padding: 2.4rem 0 4rem; }
.faq-card {
  background: var(--color-grey-5);
  border-radius: 1.2rem;
  padding: 2.4rem 2.2rem 2.8rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.faq-card:hover { transform: translateY(-0.4rem); }
.faq-card .q {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.faq-card .qq { margin-top: 1.6rem; font-size: 1.4rem; font-weight: 700; line-height: 1.55; }
.faq-more { background: var(--color-grey-5); border-radius: 1.6rem; text-align: center; padding: 7rem 2rem; margin-bottom: 10rem; }
.faq-more h2 { font-size: 2.6rem; font-weight: 700; }
.faq-more p { margin-top: 1.4rem; font-size: 1.3rem; color: #4B4B4B; }
.faq-more a {
  display: inline-block;
  margin-top: 3rem;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1.6rem 5.4rem;
  border-radius: 0.6rem;
}
.faq-more a:hover { background: #A81B11; }

/* ══════════ 404 에러 페이지 ══════════ */
.error_section { min-height: calc(100vh - 5.2rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; }
.error_section img { width: 30rem; max-width: 70%; height: auto; }
.error_section .msg { margin-top: 3rem; font-size: 1.5rem; line-height: 1.8; color: #4B4B4B; }
.error_section a { display: inline-block; margin-top: 2.8rem; background: #111111; color: #FFFFFF; font-size: 1.35rem; font-weight: 600; padding: 1.4rem 4.4rem; border-radius: 0.5rem; }

/* ══════════ 반응형 (≤1024) ══════════ */
@media (max-width: 1024px) {
  .sub-counters { grid-template-columns: repeat(2, 1fr); gap: 3.6rem 0; }
  .sub-counter:nth-child(3)::before { display: none; }
  .venn-flex { flex-direction: column; align-items: flex-start; }
  .venn-diagram { width: 100%; max-width: 44rem; }
  .history-col { flex: 0 0 30rem; }
  .icon-cards { grid-template-columns: repeat(2, 1fr); }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-flex, .svc-flex.rev { flex-direction: column; align-items: flex-start; gap: 3rem; }
  .svc-img { width: 100%; flex: none; }
  .svc-img img { width: 100%; }
  .news-row .thumb { flex: 0 0 18rem; }
  .news-row .thumb img, .news-row .thumb .ph { width: 18rem; height: 11.4rem; }
  .culture-grid { grid-template-columns: 1fr; gap: 4rem; }
  .env-slider img { flex: 0 0 80%; width: 80%; height: auto; }
  .welfare-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sub-counters { grid-template-columns: 1fr 1fr; }
  .news-row .thumb { flex: 0 0 12.4rem; }
  .news-row .thumb img, .news-row .thumb .ph { width: 12.4rem; height: 8rem; }
  .icon-cards { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr 1fr; gap: 3rem 1.6rem; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-search-band h2 { font-size: 2.3rem; }
}

/* ══════════ 오시는길 ══════════ */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.loc-card { background: var(--color-grey-5); border-radius: 1.2rem; padding: 3.2rem 2.8rem; }
.loc-card h3 { font-size: 1.7rem; font-weight: 700; color: var(--color-primary); }
.loc-card p { margin-top: 1.2rem; font-size: 1.4rem; line-height: 1.75; color: #4B4B4B; }
@media (max-width: 1024px) {
  .loc-grid { grid-template-columns: 1fr; }
}
