/* =============================================================
   biz-page.css  — 사업영역 공통 스타일
   /CNP/biz/biz01_*.asp ~ biz07_*.asp
   ============================================================= */

/* ────────────────────────────────
   HERO
──────────────────────────────── */
.biz-hero {
  background: linear-gradient(135deg, #1a1f2e 0%, #2d3348 100%);
  padding: 164px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.biz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/CNP/images/biz-hero-bg.jpg') center/cover no-repeat;
  opacity: .28;
}
.biz-hero-inner {
  position: relative;
  z-index: 1;
}
.biz-breadcrumb {
  font-size: .92rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.biz-breadcrumb strong {
  color: var(--orange);
}
.biz-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.biz-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 960px;
  margin: 0 auto;
  white-space: nowrap;
}

/* ────────────────────────────────
   HERO — 사업영역별 배경 이미지
──────────────────────────────── */
.biz-hero--01::before { background-image: url('/CNP/images/hero-biz01.jpg'); }
.biz-hero--02::before { background-image: url('/CNP/images/hero-biz02.jpg'); }
.biz-hero--03::before { background-image: url('/CNP/images/hero-biz03.jpg'); }
.biz-hero--04::before { background-image: url('/CNP/images/hero-biz04.jpg'); }
.biz-hero--05::before { background-image: url('/CNP/images/hero-biz05.jpg'); }
.biz-hero--06::before { background-image: url('/CNP/images/hero-biz06.jpg'); }
.biz-hero--07::before { background-image: url('/CNP/images/hero-biz07.jpg'); }
.biz-hero--08 { background: linear-gradient(135deg, #0b2e1c 0%, #18502e 100%); }
.biz-hero--08::before { background-image: url('/CNP/images/div07-esg.jpg'); }
.biz-hero--08 .biz-hero-sub { white-space: normal; max-width: 680px; margin-left: auto; margin-right: auto; }
.biz-hero--09 { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); }
.biz-hero--09::before { background-image: url('/CNP/images/div03-workplace.jpg'); }

/* ────────────────────────────────
  CATEGORY NAV (sticky)
──────────────────────────────── */
.biz-cat-nav {
  background: #1a1f2e;
  position: sticky;
  top: var(--header-h, 120px);
  z-index: 900;
  border-bottom: 2px solid rgba(255,255,255,.06);
}
.biz-cat-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.biz-cat-nav .container::-webkit-scrollbar { display: none; }
.biz-cat-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  letter-spacing: .02em;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.biz-cat-item:hover { color: #fff; }
.biz-cat-item.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ────────────────────────────────
   SUB-TAB NAV
──────────────────────────────── */
.biz-tab-nav {
  background: #f8f9fb;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: calc(var(--header-h, 120px) + 47px);
  z-index: 899;
}
.biz-tab-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.biz-tab-nav .container::-webkit-scrollbar { display: none; }
.biz-tab-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.biz-tab-item:hover { color: var(--orange); background: rgba(224,123,26,.04); }
.biz-tab-item.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  background: #fff;
}

/* ────────────────────────────────
   MAIN CONTENT
──────────────────────────────── */
.biz-main {
  padding: 60px 0 100px;
  background: #fff;
}
.biz-content-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f3f7;
}
.biz-content-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #1a1f2e;
  margin-bottom: 12px;
}
.biz-lead {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.75;
  max-width: 760px;
}

/* ────────────────────────────────
   SECTION BLOCKS
──────────────────────────────── */
.biz-section {
  margin-bottom: 52px;
}
.biz-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}
.biz-section-title i { color: var(--orange); font-size: .9rem; }

/* LIST */
.biz-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.biz-list li {
  padding: 10px 16px;
  background: #f8f9fb;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  position: relative;
  padding-left: 32px;
}
.biz-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* OUTPUT TAGS */
.biz-output-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.biz-output-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #e0e6ef;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: .96rem;
  font-weight: 600;
  color: #1a1f2e;
  transition: border-color .2s, color .2s;
}
.biz-output-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.biz-output-tag:hover { border-color: var(--orange); color: var(--orange); }

/* PROCESS GRID */
.biz-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.process-step {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 22px 20px;
  border: 1.5px solid #e8ecf1;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
  text-align: left;
}
.process-step:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(224,123,26,.1);
}
.process-step-num {
  font-size: 1rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.process-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1f2e;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #e0e6ef;
}
.process-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.process-step ul li {
  font-size: .94rem;
  color: #555;
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
  text-align: left;
}
.process-step ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* CARD GRID (for multiple service cards) */
.biz-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.biz-card {
  background: #fff;
  border: 1.5px solid #e8ecf1;
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.biz-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(224,123,26,.12);
  transform: translateY(-3px);
}
.biz-card-icon {
  width: 48px; height: 48px;
  background: var(--orange-pale, #fff3e6);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 1.2rem;
}
.biz-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 8px;
}
.biz-card-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.65;
}

/* CATEGORY TITLE BAND (서브타이틀 강조) */
.biz-cat-title-band {
  background: linear-gradient(90deg, #fff3e6 0%, #fff 100%);
  border-left: 5px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 16px 24px;
  margin-bottom: 32px;
}
.biz-cat-title-band h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* IMAGE SHOWCASE */
.biz-showcase {
  margin: 0 0 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6ebf1;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.biz-showcase img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* ESG DETAIL LAYOUT */
/* ─────────────────────────────────────────
   ESG DETAIL PAGES  (biz08_*.asp)
───────────────────────────────────────── */
.esg-page {
  padding: 56px 0 104px;
  background: #fff;
}

/* SECTION HEADER */
.esg-head {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f3f7;
}
.esg-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: #1a2030;
  margin-bottom: 16px;
  line-height: 1.25;
}
.esg-desc {
  max-width: 860px;
  margin: 0 auto;
  font-size: .97rem;
  line-height: 1.88;
  color: #5a5e67;
}

/* IMAGE SHOWCASE CARD */
.biz-showcase {
  margin-bottom: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,.12);
  border: 1px solid #e4eaf0;
}
.biz-showcase img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .55s;
}
.biz-showcase:hover img { transform: scale(1.025); }

/* PROJECT INTRO BUTTON */
.esg-intro-wrap {
  text-align: center;
  margin: 30px 0 28px;
}
.esg-intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 42px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(90deg, #174e8c 0%, #1d6bba 100%);
  color: #fff;
  font-size: .97rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .05em;
  box-shadow: 0 4px 20px rgba(23,78,140,.3);
  transition: box-shadow .25s, transform .2s;
}
.esg-intro-btn::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(255,255,255,.7);
  border-right: 2px solid rgba(255,255,255,.7);
  transform: rotate(45deg);
  margin-right: -4px;
}
.esg-intro-btn:hover {
  box-shadow: 0 8px 28px rgba(23,78,140,.44);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

/* INFO TABLE */
.esg-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
  border: 1.5px solid #d2d8e2;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  border-radius: 12px;
  overflow: hidden;
}
.esg-table th,
.esg-table td {
  border: 1px solid #d2d8e2;
  padding: 15px 22px;
  font-size: .96rem;
  color: #3a3f4a;
  vertical-align: middle;
  line-height: 1.72;
}
.esg-table th {
  width: 120px;
  background: linear-gradient(135deg, #f3f5f9 0%, #eaecf2 100%);
  font-weight: 700;
  color: #1a2030;
  text-align: center;
  white-space: nowrap;
}
.esg-table tr:nth-child(even) td { background: #fafbfd; }
.esg-table .em {
  color: #1560ad;
  font-weight: 700;
}
.esg-goals {
  margin: 0;
  padding-left: 20px;
}
.esg-goals li { margin-bottom: 5px; }
.esg-goals li:last-child { margin-bottom: 0; }

/* BADGE GRID */
.esg-badge-section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #2d8f5c;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}
.esg-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.esg-badge {
  background: #fff;
  border: 1.5px solid #dde4ee;
  border-radius: 18px;
  padding: 28px 18px 24px;
  text-align: center;
  transition: border-color .25s, box-shadow .28s, transform .28s;
}
.esg-badge:hover {
  border-color: #2d8f5c;
  box-shadow: 0 12px 32px rgba(45,143,92,.14);
  transform: translateY(-5px);
}
.esg-badge-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4f4ec 0%, #c4e8d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #1e7a4a;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(30,122,74,.16);
  transition: background .25s, color .25s, box-shadow .25s;
}
.esg-badge:hover .esg-badge-icon {
  background: linear-gradient(135deg, #2d8f5c 0%, #1b6440 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30,122,74,.32);
}
.esg-badge h4 {
  font-size: .98rem;
  font-weight: 800;
  color: #1a2030;
  margin: 0 0 10px;
  line-height: 1.4;
  word-break: keep-all;
}
.esg-badge p {
  font-size: .84rem;
  color: #606570;
  line-height: 1.62;
  margin: 0;
  word-break: keep-all;
}

/* ─────────────────────────────────────────
   OD DETAIL PAGES  (biz09_*.asp)
───────────────────────────────────────── */
.od-page {
  padding: 56px 0 104px;
  background: #fff;
}

/* SECTION HEADER */
.od-intro {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f3f7;
}
.od-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1d2432;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.od-intro-text {
  max-width: 960px;
  margin: 0 auto;
  font-size: .97rem;
  line-height: 1.88;
  color: #5a5e67;
}
.od-intro-wrap {
  text-align: center;
  margin: -8px 0 28px;
}
.od-intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 42px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(90deg, #b5443a 0%, #c65a4b 100%);
  color: #fff;
  font-size: .97rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .05em;
  box-shadow: 0 4px 20px rgba(198,90,75,.28);
  transition: box-shadow .25s, transform .2s;
}
.od-intro-btn::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(255,255,255,.75);
  border-right: 2px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
  margin-right: -4px;
}
.od-intro-btn:hover {
  box-shadow: 0 8px 28px rgba(198,90,75,.44);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

/* INFO TABLE */
.od-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 36px;
  border: 1.5px solid #d2d8e2;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  border-radius: 12px;
  overflow: hidden;
}
.od-table th,
.od-table td {
  border: 1px solid #d2d8e2;
  padding: 15px 22px;
  font-size: .96rem;
  color: #3a3f4a;
  vertical-align: middle;
  line-height: 1.72;
}
.od-table th {
  width: 120px;
  background: linear-gradient(135deg, #f3f5f9 0%, #eaecf2 100%);
  font-weight: 700;
  color: #1a2030;
  text-align: center;
  white-space: nowrap;
}
.od-table tr:nth-child(even) td { background: #fafbfd; }
.od-table .em {
  color: #2c3e50;
  font-weight: 700;
}
.od-goals {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}
.od-goals li { margin-bottom: 5px; list-style: decimal; }
.od-goals li:last-child { margin-bottom: 0; }

/* CARD GRID */
.od-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.od-card {
  background: #fff;
  border: 1.5px solid #e4eaf0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.od-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(44,62,80,.15);
  border-color: #2c3e50;
}

.od-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f1f8 0%, #d5e5f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #2c3e50;
  transition: background .3s;
}
.od-card:hover .od-card-icon {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
}

.od-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a2030;
  margin: 0 0 10px;
  line-height: 1.4;
  word-break: keep-all;
}
.od-card p {
  font-size: .84rem;
  color: #606570;
  line-height: 1.62;
  margin: 0;
  word-break: keep-all;
}

/* PLACEHOLDER */
.biz-placeholder {
  text-align: center;
  padding: 80px 40px;
  color: #999;
}
.biz-placeholder i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 16px;
  display: block;
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 768px) {
  .biz-hero { padding: 130px 0 52px; }
  .biz-hero-sub { white-space: normal; font-size: .95rem; }
  .biz-main  { padding: 40px 0 70px; }
  .biz-cat-item { padding: 12px 14px; font-size: .78rem; }
  .biz-tab-item { padding: 11px 16px; font-size: .8rem; }
  .biz-process-grid { grid-template-columns: 1fr 1fr; }
  .biz-showcase img { height: 220px; }
  .esg-page { padding: 38px 0 78px; }
  .esg-badge-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .esg-table th { width: 84px; }
  .esg-table th, .esg-table td { padding: 10px 13px; font-size: .9rem; }
  .esg-intro-btn { padding: 0 28px; height: 43px; }
  .od-page { padding: 38px 0 78px; }
  .od-card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .od-table th { width: 84px; }
  .od-table th, .od-table td { padding: 10px 13px; font-size: .9rem; }
}
@media (max-width: 480px) {
  .biz-process-grid { grid-template-columns: 1fr; }
  .biz-card-grid { grid-template-columns: 1fr; }
  .biz-showcase img { height: 185px; }
  .esg-badge-grid { grid-template-columns: 1fr; }
  .od-card-grid { grid-template-columns: 1fr; }
}
