@charset "utf-8";

/* ============================================================
   EHS 섹션 — 삼성 EHS 브랜드 청록 계열
   ============================================================ */

:root {
  --ehs-900: #0d4f45;
  --ehs-700: #12766a;
  --ehs-600: #169584;
  --ehs-500: #1fa896;
  --ehs-300: #7fcec2;
  --ehs-100: #e4f5f2;
}

/* ---------- GNB 강조 ---------- */
.gnb__link--accent {
  color: var(--ehs-700);
  position: relative;
}
.gnb__link--accent::after {
  content: "";
  position: absolute; left: 20px; right: 20px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ehs-500), var(--ehs-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnb__link--accent:hover { color: var(--ehs-700); background: var(--ehs-100); }
.gnb__link--accent:hover::after,
.gnb__link--accent[aria-current="page"]::after { transform: scaleX(1); }
.gnb__link--accent[aria-current="page"] { color: var(--ehs-700); background: var(--ehs-100); }

/* ---------- 공통 요소 ---------- */
.eyebrow--ehs { color: var(--ehs-700); }
.eyebrow--ehs-on { color: var(--ehs-300); }

.btn--ehs { background: var(--ehs-600); color: #fff; }
.btn--ehs:hover { background: var(--ehs-700); box-shadow: 0 8px 24px rgba(18,118,106,.25); }

.feat--ehs .feat__ico { background: var(--ehs-100); color: var(--ehs-700); }
.hub-card--ehs:hover { box-shadow: 0 20px 48px rgba(13,79,69,.16); }

/* ---------- 비교 표 ---------- */
.ehs-compare {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  align-items: stretch;
  border: 1px solid var(--ink-100); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.ehs-compare__col { padding: 36px 32px; }
.ehs-compare__col h3 {
  font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px;
}
.ehs-compare__col ul { display: grid; gap: 12px; }
.ehs-compare__col li {
  position: relative; padding-left: 18px;
  font-size: 15px; line-height: 1.7; color: var(--ink-700);
}
.ehs-compare__col li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-500);
}
.ehs-compare__col--old { background: var(--ink-50); }
.ehs-compare__col--old h3 { color: var(--ink-500); }
.ehs-compare__col--new { background: var(--ehs-100); }
.ehs-compare__col--new h3 { color: var(--ehs-900); }
.ehs-compare__col--new li::before { background: var(--ehs-500); }
.ehs-compare__col--new strong { color: var(--ehs-700); font-weight: 800; }
.ehs-compare__vs {
  display: flex; align-items: center; justify-content: center;
  padding-inline: 4px; background: var(--white);
}
.ehs-compare__vs::before {
  content: "VS";
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ehs-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(18,118,106,.3);
}

/* ---------- CTA 밴드 ---------- */
.section--ehs-cta {
  background: linear-gradient(135deg, var(--ehs-900) 0%, var(--ehs-700) 100%);
  color: #fff;
}
.section--ehs-cta .section-title { color: #fff; }
.section--ehs-cta .section-lead { color: rgba(255,255,255,.78); }
.section--ehs-cta .btn--ehs { background: #fff; color: var(--ehs-900); }
.section--ehs-cta .btn--ehs:hover { background: var(--ehs-100); }
.section--ehs-cta .btn--ghost {
  background: transparent; border-color: rgba(255,255,255,.5); color: #fff;
}
.section--ehs-cta .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ---------- 타임라인 ---------- */
.ehs-timeline {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ehs-tl {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--ink-100);
  border-top: 3px solid var(--ehs-500);
}
.ehs-tl__year {
  display: block; font-size: 30px; font-weight: 800;
  color: var(--ehs-700); letter-spacing: -.02em;
}
.ehs-tl__txt {
  display: block; margin-top: 8px; font-size: 15px;
  color: var(--ink-700); line-height: 1.6; font-weight: 700;
}
.ehs-tl__txt small {
  display: block; margin-top: 4px;
  font-size: 13px; color: var(--ink-500); font-weight: 500;
}

/* ---------- 진행 절차 ---------- */
.ehs-steps {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: step;
}
.ehs-step {
  position: relative; padding: 30px 22px 28px;
  background: var(--white); border: 1px solid var(--ink-100);
  border-radius: var(--radius);
}
.ehs-step__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ehs-100); color: var(--ehs-700);
  font-size: 14px; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.ehs-step h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.ehs-step p { margin-top: 9px; font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* 특징 카드 EHS 변형 보강 (부제·불릿·사진) */
.feat--ehs h3 small { color: var(--ehs-700); }
.feat--ehs .feat__list li::before { background: var(--ehs-500); }
.feat--ehs .feat__fig { background: var(--ehs-100); }

/* ---------- 가정용 EHS 시스템 구성 ---------- */
.ehs-config { margin-top: clamp(56px, 7vw, 88px); }
.ehs-parts {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.ehs-part {
  padding: 22px 18px 24px; text-align: center;
  background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius);
}
/* 부품 렌더는 캡처에서 잘라낸 36~118px 원본이라 확대하지 않고 실제 크기로 둔다 */
.ehs-part__fig { height: 128px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.ehs-part__fig img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 4px; }
.ehs-part__no {
  display: block; margin-bottom: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--ehs-600);
}
.ehs-part h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.ehs-part p { margin-top: 8px; font-size: 14px; color: var(--ink-500); line-height: 1.7; }

@media (max-width: 1080px) {
  .ehs-parts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ehs-parts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .ehs-parts { grid-template-columns: 1fr; }
}

/* ---------- 메인 EHS 배너 ---------- */
.ehs-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ehs-900) 0%, var(--ehs-700) 55%, var(--ehs-600) 100%);
  color: #fff;
}
.ehs-band__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.ehs-band__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.ehs-band__title {
  margin-top: 20px;
  font-size: clamp(28px, 3.8vw, 44px); font-weight: 800;
  line-height: 1.28; letter-spacing: -.03em;
}
.ehs-band__text {
  margin-top: 18px; font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,.8); line-height: 1.8;
}
/* 지표 칸은 2×2 로 고정한다. 폭이 제각각이라 flex-wrap 으로 두면 한 칸만 다음 줄로 떨어진다. */
.ehs-band__stats {
  margin-top: 30px; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.ehs-band__stat {
  padding: 14px 20px; border-radius: var(--radius);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
}
.ehs-band__stat b {
  display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em;
}
.ehs-band__stat span { display: block; margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.7); }
.ehs-band__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.ehs-band__media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .ehs-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ehs-band__inner { grid-template-columns: 1fr; }
  .ehs-band__media { order: -1; max-width: 420px; }
  .ehs-compare { grid-template-columns: 1fr; }
  .ehs-compare__vs { padding-block: 14px; background: var(--ink-50); }
  .ehs-timeline { grid-template-columns: 1fr; }
  .ehs-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .ehs-steps { grid-template-columns: 1fr; }
  .ehs-band__stat { padding: 12px 16px; }
  .ehs-band__stat b { font-size: 19px; }
}

/* ============================================================
   보조사업 상담 신청 — 진행 단계
   ============================================================ */
.applyflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.applyflow__step {
  position: relative; padding: 22px 18px;
  background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius);
}
.applyflow__step b {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--ehs-600);
}
.applyflow__step span {
  display: block; margin-top: 8px; font-size: 15px; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink-900); line-height: 1.45;
}
/* 단계 사이 방향 표시 — 마지막 칸에는 붙이지 않는다 */
.applyflow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -10px; width: 8px; height: 8px;
  border-top: 2px solid var(--ink-200); border-right: 2px solid var(--ink-200);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 900px) {
  .applyflow { grid-template-columns: repeat(2, 1fr); }
  .applyflow__step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
  .applyflow { grid-template-columns: 1fr; }
}

/* ---------- 접수 완료 패널 (#apply-status.is-ok 안에 page.js 가 채운다) ----------
   색은 .form__status.is-ok 의 초록 계열과 EHS 틸만 쓴다. */
.applydone__title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.5; }
.applydone__title b { font-variant-numeric: tabular-nums; }
.applydone__lead { margin-top: 6px; font-size: 14.5px; line-height: 1.7; }
.applydone__steps { margin-top: 16px; display: grid; gap: 8px; }
.applydone__steps li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--white); border: 1px solid #bfe0c9;
}
.applydone__steps li b {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ehs-600); color: #fff; font-size: 13px; font-weight: 800;
}
.applydone__steps li span { font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.5; }
.applydone__steps li small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ink-500); line-height: 1.6; }
.applydone__kakao { margin-top: 16px; }
.applydone__docs { margin-top: 14px; font-size: 13.5px; line-height: 1.75; color: var(--ink-700); }
.applydone__docs b { display: block; margin-bottom: 2px; color: var(--ink-900); font-weight: 800; }

/* ---------- 신청 히어로 제품 컷 ----------
   실외기가 짙은 차콜이라 어두운 밴드 위에 그대로 얹으면 형태가 묻힌다.
   밝은 패널을 깔아 대비를 준다. */
.ehs-band__cut {
  padding: 26px 26px 16px;
  background: linear-gradient(160deg, #ffffff 0%, #e9eef2 100%);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.ehs-band__cut img {
  display: block; width: 100%; height: auto;
  border-radius: 0; box-shadow: none;
}
.ehs-band__cutcap {
  margin-top: 8px; text-align: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-500);
}

/* ---------- 라디오 선택 ---------- */
.field__legend {
  display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--ink-700);
}
.field__legend .req { color: #d64545; margin-left: 3px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
/* `.field label` 이 display:block · margin-bottom 을 걸어 두므로 두 클래스로 눌러 준다 */
.field .radios--pair .radio { flex: 1 1 170px; }
.field .radio {
  display: flex; align-items: center; gap: 9px;
  margin: 0; padding: 13px 18px;
  background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; color: var(--ink-700); cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.field .radio input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--ehs-600); }
.field .radio:hover { border-color: var(--ehs-300); }
/* :has 미지원 브라우저에서는 네이티브 라디오 표시만 남는다 — 기능에는 지장이 없다 */
.field .radio:has(input:checked) {
  border-color: var(--ehs-600); color: var(--ehs-900);
  box-shadow: 0 0 0 3px rgba(22,149,132,.12);
}
.field .radio:has(input:focus-visible) { outline: 2px solid var(--ehs-600); outline-offset: 2px; }

/* ---------- 주소 검색 ---------- */
.addr { display: flex; gap: 10px; align-items: flex-start; }
.addr__zip { max-width: 190px; }
.addr__btn { flex: none; height: 52px; padding-inline: 22px; font-size: 15px; }

/* ---------- 개인정보 수집 표 ---------- */
.ptable-wrap { overflow-x: auto; }
.ptable {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: var(--white); border-top: 2px solid var(--ehs-700);
}
.ptable th, .ptable td {
  padding: 14px 16px; border-bottom: 1px solid var(--ink-100);
  font-size: 13.5px; line-height: 1.7; text-align: left; vertical-align: top;
}
.ptable th { background: var(--ehs-100); font-weight: 800; color: var(--ehs-900); white-space: nowrap; }
.ptable td { color: var(--ink-700); }
.ptable td b {
  display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 4px;
  background: var(--ink-100); color: var(--ink-500); font-size: 11.5px; font-weight: 800;
}
.ptable-note { margin-top: 14px; font-size: 13px; color: var(--ink-500); line-height: 1.8; }
.ptable-note b { color: var(--ink-900); font-weight: 800; }

@media (max-width: 620px) {
  .addr { flex-wrap: wrap; }
  .addr__zip { max-width: none; flex: 1 1 150px; }
  .field .radios .radio { flex: 1 1 calc(50% - 5px); }
}

/* ============================================================
   상업용 EHS 35kW 페이지 (ehs-commercial.html) — 카탈로그 캡처 → HTML 전환분
   .ehs-tl(타임라인 카드)·.ptable 의 토큰을 그대로 가져왔다. 새 색 없음.
   ============================================================ */

/* ---------- 핵심 수치 카드 (KSCOP · 운전 범위 · 출수 온도) ---------- */
.ehs-figs {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ehs-fig {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--ink-100);
  border-top: 3px solid var(--ehs-500);
}
.ehs-fig__num {
  display: block; font-size: 30px; font-weight: 800;
  color: var(--ehs-700); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.ehs-fig__txt {
  display: block; margin-top: 8px; font-size: 15px;
  color: var(--ink-700); line-height: 1.6; font-weight: 700;
}
.ehs-fig__txt small {
  display: block; margin-top: 4px;
  font-size: 13px; color: var(--ink-500); font-weight: 500;
}

/* ---------- 사양표 (EHS 문맥) ----------
   .dtable 2열 문법 그대로. 그룹 행(colspan=2)만 EHS 틴트로 구분한다. */
.dtable--ehs { border-top-color: var(--ehs-700); }
.dtable--ehs .dtable__group th {
  width: auto; background: var(--ehs-100); color: var(--ehs-900); font-weight: 800;
}
/* 하이드로 유닛 · 실외기 표를 나란히 */
.ehs-spec {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start;
}

@media (max-width: 900px) {
  .ehs-figs { grid-template-columns: 1fr; }
  .ehs-spec { grid-template-columns: 1fr; }
}
