/* =====================================================================
   HT ENG — 회사 소개 (theme.css 토큰 사용)
   ===================================================================== */
body { padding-top: var(--header-h, 76px); background: var(--page); line-height: 1.6; }

.container { max-width: var(--container, 1200px); margin: 0 auto; padding: 0 24px; }

.company-page { padding: 0 0 40px; }

/* ===================== 페이지 히어로 ===================== */
.page-hero {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(31, 157, 87, .12) 0%, rgba(31, 157, 87, 0) 55%),
    linear-gradient(180deg, var(--green-50) 0%, var(--page) 100%);
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 88px);
  margin-bottom: clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero .ht-eyebrow { margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
  margin: 0 0 18px; color: var(--ink);
}
.page-hero p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 620px; margin: 0; }

/* ===================== 섹션 공통 ===================== */
.company-section { margin-bottom: clamp(40px, 6vw, 72px); padding: 0; border: none; }

.company-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ink); font-weight: 800; letter-spacing: -.025em;
  margin: 0 0 28px; padding-bottom: 0; border: none;
  display: flex; align-items: center; gap: 14px;
}
.company-section h2::before {
  content: ""; width: 28px; height: 4px; border-radius: 4px;
  background: var(--brand); flex-shrink: 0;
}

/* 카드 공통 */
.ceo-section .ceo-introduction,
.ceo-section .ceo-vision,
.company-overview .greeting-content,
.members-section .member-card,
.company-history .history-item,
.company-business .business-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}

/* CEO 섹션 */
.ceo-section .ceo-content { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.ceo-section .ceo-text-section { flex: 1; min-width: 300px; max-width: 900px; }
.ceo-section .ceo-header h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.ceo-section .ceo-position { font-size: 1.1rem; color: var(--brand-strong); margin-bottom: 28px; font-weight: 700; }
.ceo-section .ceo-message { display: flex; flex-direction: column; gap: 20px; }
.ceo-section .ceo-introduction,
.ceo-section .ceo-vision { padding: 28px; }
.ceo-section .ceo-introduction h4,
.ceo-section .ceo-vision h4 { font-size: 1.2rem; color: var(--brand-strong); font-weight: 700; margin-bottom: 12px; }
.ceo-section .ceo-introduction p,
.ceo-section .ceo-vision p { font-size: 1.05rem; line-height: 1.8; color: var(--ink-2); }

/* 회사 개요 */
.company-overview .overview-content h3 { font-size: 1.6rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.company-overview .greeting-content { padding: 32px; }
.company-overview .greeting-content p { font-size: 1.05rem; line-height: 1.85; color: var(--ink-2); margin-bottom: 14px; }
.company-overview .greeting-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.company-overview .greeting-sign { margin-top: 26px; text-align: right; font-weight: 700; color: var(--brand-strong); }

/* 구성원 */
.members-section .members-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.members-section .member-card { padding: 32px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.members-section .member-card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--green-100); }
.members-section .member-info h3 { font-size: 1.6rem; color: var(--ink); font-weight: 800; margin-bottom: 6px; }
.members-section .member-position { font-size: 1.05rem; color: var(--brand-strong); font-weight: 700; margin-bottom: 20px; }
.members-section .member-details { margin-bottom: 20px; }
.members-section .member-details p { font-size: 1rem; color: var(--ink-2); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.members-section .member-details i { color: var(--brand); width: 18px; }
.members-section .member-experience h4 { font-size: 1.1rem; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.members-section .member-experience ul { list-style: none; padding: 0; }
.members-section .member-experience li { font-size: 1rem; color: var(--muted); padding: 5px 0 5px 18px; position: relative; }
.members-section .member-experience li::before { content: "•"; color: var(--brand); font-weight: bold; position: absolute; left: 0; }

/* 연혁 */
.company-history .history-timeline { display: flex; flex-direction: column; gap: 14px; }
.company-history .history-item { display: flex; align-items: center; gap: 24px; padding: 22px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.company-history .history-item:hover { transform: translateX(4px); box-shadow: var(--sh-sm); }
.company-history .history-year { font-size: 1.2rem; font-weight: 800; color: var(--brand-strong); min-width: 84px; }
.company-history .history-event { font-size: 1.08rem; color: var(--ink); font-weight: 500; }

/* 사업 분야 */
.company-business .business-overview { font-size: 1.1rem; line-height: 1.8; color: var(--ink-2); margin-bottom: 30px; }
.company-business .business-items h4 { font-size: 1.3rem; color: var(--ink); font-weight: 800; margin-bottom: 20px; }
.company-business .business-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.company-business .business-item { padding: 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.company-business .business-item:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--green-100); }
.company-business .business-item h5 { font-size: 1.25rem; color: var(--brand-strong); font-weight: 800; margin-bottom: 14px; }
.company-business .business-item p { font-size: 1rem; line-height: 1.7; color: var(--muted); }

/* 오시는 길 */
.company-location .address h4 { font-size: 1.3rem; color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.company-location .address h4 i { color: var(--brand); margin-right: 6px; }
.company-location .address p { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 22px; }
.map-container { margin-top: 18px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line); }
#map { width: 100%; height: 400px; }

/* Leaflet */
.leaflet-popup-content { margin: 8px; line-height: 1.4; }
.leaflet-popup-content h4 { margin: 0 0 8px; color: var(--ink); font-size: 16px; }
.leaflet-popup-content p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.leaflet-popup-content a { color: var(--brand-strong); text-decoration: none; font-weight: 600; }
.leaflet-popup-content a:hover { text-decoration: underline; }

/* 반응형 */
@media (max-width: 768px) {
  .ceo-section .ceo-content { flex-direction: column; gap: 24px; }
  .members-section .members-content { grid-template-columns: 1fr; }
  .company-history .history-item { flex-direction: column; text-align: center; gap: 10px; }
  .company-business .business-grid { grid-template-columns: 1fr; }
}
