@charset "utf-8";
/* ══════════════════════════════════════════════════════════════════════
   햇살루프 에너지 — 태양광 · ESS 시공 템플릿
   색·활자·컴포넌트는 00-디자인보드.png, 각 면의 구성은 02-페이지시안.png,
   홈은 01-home.png, 모바일 우선순위는 06-mobile.png 를 따른다.
   조형 축: 솔라 옐로 + 딥 블루 + 알루미늄, 광학 그리드(모듈 셀 눈금).
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── 색 (디자인보드 COLOR) */
  --sun: #ffc700;
  --sun-d: #e3af00;
  --sun-l: #ffe27a;
  --navy: #0b3d91;
  --navy-d: #082c69;
  --navy-l: #1a5ec4;
  --mist: #edf2f7;
  --alu: #a7b0bc;
  --ink: #1a1f28;

  /* ── 파생 */
  --night: #061525;
  --night-2: #0a2138;
  --paper: #ffffff;
  --paper-2: #f7fafc;
  --ink-2: #3b4550;
  --muted: #5b6572;
  --line: #dde4ec;
  --line-2: #eef2f7;
  --line-on: rgba(237, 242, 247, 0.16);
  --mute-on: #a9bcd0;
  --ok: #12784a;
  --ok-bg: #e8f6ef;
  --warn: #a6600a;
  --warn-bg: #fdf4e5;
  --err: #c0392b;
  --err-bg: #fdf0ee;

  /* ── 활자 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  /* ── 치수 */
  --wrap: 1280px;
  --gut: 40px;
  --sec: 104px;
  --r1: 4px;
  --r2: 10px;
  --r3: 18px;
  --pill: 999px;
  --sh1: 0 1px 2px rgba(10, 33, 56, 0.06);
  --sh2: 0 10px 30px rgba(10, 33, 56, 0.09);
  --sh3: 0 24px 60px rgba(4, 16, 28, 0.28);
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
  --grid-o: rgba(167, 176, 188, 0.075);
}

/* ── 기본 ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.008em;
  /* 한국어는 어절 단위로 끊는다 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.34; letter-spacing: -0.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--navy-l); outline-offset: 2px; border-radius: 3px; }
.sec-dark :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible {
  outline-color: var(--sun);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: 14px 22px; font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-xs { width: 15px; height: 15px; stroke-width: 1.8; }
.ico-sm { width: 18px; height: 18px; stroke-width: 1.6; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.3; }

.num, .tnum { font-variant-numeric: tabular-nums; }

/* ── 활자 계층 ──────────────────────────────────────────────────── */
.h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.2; letter-spacing: -0.032em; }
.h2 { font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -0.028em; }
.h3 { font-size: clamp(19px, 1.5vw, 23px); }
.h4 { font-size: 17px; }
.h2-on, .h3-on, .h4-on { color: var(--mist); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--navy); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow-on { color: var(--sun); }
.e-num {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 20px; padding: 0 6px;
  background: var(--sun); color: var(--ink);
  border-radius: var(--r1); font-size: 11.5px; letter-spacing: 0.04em;
}
.eyebrow-on .e-num { background: var(--sun); color: var(--ink); }

.lede { margin-top: 16px; font-size: clamp(15px, 1.1vw, 17px); color: var(--muted); max-width: 62ch; }
.lede-on { color: var(--mute-on); }

/* ── 단추 ───────────────────────────────────────────────────────── */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: var(--r2);
  font-size: 15px; font-weight: 700; letter-spacing: -0.015em;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.16s var(--ease), box-shadow 0.24s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn-sun { --bg: var(--sun); --fg: var(--ink); --bd: var(--sun); box-shadow: 0 6px 18px rgba(255, 199, 0, 0.28); }
.btn-sun:hover { --bg: var(--sun-d); --bd: var(--sun-d); }
.btn-navy { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn-navy:hover { --bg: var(--navy-d); --bd: var(--navy-d); }
.btn-line { --bg: var(--paper); --fg: var(--ink); --bd: var(--line); }
.btn-line:hover { --bd: var(--navy); --fg: var(--navy); }
.btn-line-d { --bg: transparent; --fg: var(--mist); --bd: rgba(237, 242, 247, 0.45); }
.btn-line-d:hover { --bg: rgba(237, 242, 247, 0.1); --bd: var(--mist); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 16px; }
.btn-block { width: 100%; }

.link-a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); font-size: 14.5px; font-weight: 700;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: gap 0.24s var(--ease), border-color 0.24s var(--ease);
}
.link-a:hover { gap: 11px; border-bottom-color: var(--sun); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px;
  background: var(--paper); color: var(--ink-2);
  border: 1.5px solid var(--line); border-radius: var(--pill);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-n { font-size: 12px; font-variant-numeric: tabular-nums; opacity: 0.75; }
.chip-sm { min-height: 44px; padding: 0 13px; font-size: 13px; }

.tag {
  display: inline-block; padding: 3px 10px;
  background: var(--mist); color: var(--navy);
  border-radius: var(--r1); font-size: 12px; font-weight: 700;
}
.tag-sm { padding: 2px 8px; font-size: 11.5px; }

/* ── 헤더 ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 18px rgba(10, 33, 56, 0.08); }
.head { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; }
.brand-name { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.brand-name b { font-weight: 800; }
.brand-lg .brand-name { font-size: 21px; color: var(--mist); }
.brand-lg .brand-mark { width: 30px; height: 30px; }

.navlinks { display: flex; gap: 26px; margin-left: auto; }
.navlinks a {
  position: relative; font-size: 15px; font-weight: 600; color: var(--ink-2);
  padding: 6px 0; transition: color 0.22s var(--ease);
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--sun); transform: scaleX(0); transform-origin: left;
  transition: transform 0.26s var(--ease);
}
.navlinks a:hover { color: var(--ink); }
.navlinks a:hover::after, .navlinks a[aria-current="page"]::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { color: var(--navy); }

.head-act { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.head-tel {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.head-tel .ico { color: var(--navy); }
.menu-btn {
  display: none; width: 48px; height: 48px;
  background: none; border: 1.5px solid var(--line); border-radius: var(--r2);
  place-items: center; cursor: pointer;
}

/* ── 모바일 서랍 ────────────────────────────────────────────────── */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 90;
  background: var(--paper); border-left: 1px solid var(--line);
  padding: 20px 24px 40px; transform: translateX(101%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 12px; }
.drawer-close {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: none; border: 1.5px solid var(--line); border-radius: var(--r2); cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  font-size: 18px; font-weight: 700; padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}
.drawer-nav a[aria-current="page"] { color: var(--navy); }
.drawer-act { margin-top: 24px; display: grid; gap: 10px; }
.drawer-note { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(6, 21, 37, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.open { opacity: 1; visibility: visible; }

/* ── 히어로 ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--mist);
  background:
    radial-gradient(120% 70% at 50% 6%, rgba(255, 199, 0, 0.16), transparent 62%),
    linear-gradient(180deg, #04101d 0%, #071c31 36%, #0a2c56 72%, #0b3d91 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-o) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-o) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.sunpath { position: absolute; top: 0; left: 0; width: 100%; height: auto; z-index: 0; }
.sunpath .arc { fill: none; stroke: rgba(255, 199, 0, 0.3); stroke-width: 1.4; stroke-dasharray: 5 9; }
.sun-halo { fill: rgba(255, 199, 0, 0.14); }
.sun-core { fill: var(--sun); }
.sun-g {
  offset-path: path("M40,300 C260,52 940,52 1160,300");
  offset-distance: 50%;
  offset-rotate: 0deg;
  filter: drop-shadow(0 0 26px rgba(255, 199, 0, 0.55));
}
/* 궤적의 왼쪽 끝은 제목 글자 자리와 겹친다 — 해는 오전(32%)에서 일몰(90%) 구간만 지난다 */
@keyframes sunmove { from { offset-distance: 38%; } to { offset-distance: 90%; } }
@keyframes sunonce { from { offset-distance: 38%; } to { offset-distance: 50%; } }
.sun-g.sun-once { animation: sunonce 2.2s var(--ease) both; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .sun-g { animation: sunmove linear both; animation-timeline: scroll(root block); animation-range: 0 760px; }
  }
}

.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: clamp(200px, 40vw, 560px);
  z-index: 1; overflow: hidden;
  /* 사진 왼쪽 끝을 배경으로 녹인다 — 색 스크림을 얹으면 세로 이음매가 생긴다 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 30%, #000 74%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 30%, #000 74%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(4, 16, 29, 0.55) 0%, rgba(6, 30, 58, 0.18) 46%, rgba(11, 61, 145, 0.42) 100%);
}
/* 태양 위치에 따른 패널 반사 — 지원 브라우저에서만, 모션 끄면 사라진다 */
.hero-photo::after {
  content: ""; position: absolute; inset: -40% -10%; z-index: 3; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 226, 122, 0.42) 48%, transparent 100%);
  transform: translateY(-30%);
}
@keyframes sheen {
  0% { transform: translateY(-40%); opacity: 0; }
  45% { opacity: 0.55; }
  100% { transform: translateY(70%); opacity: 0; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-photo::after { animation: sheen linear both; animation-timeline: scroll(root block); animation-range: 0 760px; }
  }
}

.hero-in {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1fr) 396px; gap: 44px;
  align-items: start; padding-top: 92px; padding-bottom: 92px;
}
.hero-txt { max-width: 620px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; margin-bottom: 26px;
  background: rgba(237, 242, 247, 0.12); border: 1px solid rgba(237, 242, 247, 0.24);
  border-radius: var(--pill); font-size: 13.5px; font-weight: 600; color: var(--mist);
}
.badge .ico { color: var(--sun); }
.hero-h1 { color: #fff; text-shadow: 0 2px 24px rgba(4, 16, 29, 0.45); }
.hero-sub { margin-top: 22px; font-size: clamp(15px, 1.2vw, 18px); color: var(--mute-on); line-height: 1.8; }
.hero-act { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 52px; color: var(--mute-on); font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em;
}
/* 시안 01-home 처럼 히어로 아래쪽 가운데에 둔다 */
@media (min-width: 1025px) {
  .scroll-cue { position: absolute; left: 42%; bottom: 26px; margin-top: 0; }
}
.scroll-cue .ico { width: 26px; height: 26px; color: var(--sun); }

/* 히어로 시뮬레이터 카드 (시안 우측 부유 카드) */
.simcard {
  container-type: inline-size;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r3); box-shadow: var(--sh3);
  overflow: hidden;
}
.simcard-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 18px 14px 14px 22px; border-bottom: 1px solid var(--line-2);
}
.simcard-t { font-size: 17px; font-weight: 700; }
.simcard-x {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--r2); color: var(--muted); cursor: pointer;
}
.simcard-x:hover { background: var(--mist); color: var(--ink); }
.simcard-body { padding: 20px 22px 22px; }
.simcard-open {
  justify-self: start; min-height: 50px; padding: 0 22px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r2);
  font-size: 15px; font-weight: 700; cursor: pointer;
}

.sim-fields { display: grid; gap: 14px; }
@container (min-width: 440px) { .sim-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 700px) { .sim-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.field { display: grid; gap: 7px; margin: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field .req { color: var(--err); }
.control {
  width: 100%; min-height: 50px; padding: 12px 15px;
  background: var(--paper-2); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r2);
  font: inherit; font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.control::placeholder { color: #98a3b1; }
.control:hover { border-color: #c3cedb; }
.control:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.14); }
textarea.control { min-height: 116px; resize: vertical; line-height: 1.7; }
select.control {
  appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6572' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field.invalid .control { border-color: var(--err); background: var(--err-bg); box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12); }
.err { display: none; font-size: 12.5px; font-weight: 600; color: var(--err); }
.field.invalid .err { display: block; }
.counter { text-align: right; font-size: 12px; color: var(--muted); }

.sim-out { margin-top: 18px; padding: 16px 18px; background: var(--mist); border-radius: var(--r2); }
.sim-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sim-row + .sim-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid #dbe3ec; }
.sim-k { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sim-v { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim-v b { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.sim-v-sm b { font-size: 22px; }
.sim-foot {
  position: relative; display: block; margin: 14px 0 16px; padding-left: 25px;
  font-size: 12px; line-height: 1.6; color: var(--muted);
}
.sim-foot .ico { position: absolute; left: 0; top: 2px; color: var(--navy); }

/* 히어로 하단 실시간 띠 */
.hero-live { position: relative; z-index: 4; border-top: 1px solid var(--line-on); background: rgba(4, 14, 26, 0.4); }
.live-in { padding: 20px var(--gut); display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.live-lead { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--mist); }
.live-lead .ico { color: var(--sun); }
.live-demo {
  padding: 3px 9px; background: rgba(237, 242, 247, 0.12); border-radius: var(--r1);
  font-size: 11.5px; font-weight: 600; color: var(--mute-on); letter-spacing: 0;
}
.live-tiles { display: flex; gap: 28px; flex-wrap: wrap; margin-left: auto; }
.live-t { display: flex; align-items: baseline; gap: 10px; }
.live-t dt { font-size: 12.5px; color: var(--mute-on); }
.live-t dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--mist); font-variant-numeric: tabular-nums; }
.live-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 14px !important; }
.live-ok .ico { color: #58d19c; }

/* ── 구획 ───────────────────────────────────────────────────────── */
.sec { padding: var(--sec) 0; }
.sec-mist { background: var(--mist); }
.sec-dark {
  background: var(--night); color: var(--mist);
  background-image: linear-gradient(var(--grid-o) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-o) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head-row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sec-head-on { max-width: 820px; }
.mt-l { margin-top: 44px; }

.note {
  position: relative; display: block; margin-top: 20px;
  padding: 14px 16px 14px 44px; background: var(--paper-2);
  border: 1px solid var(--line); border-left: 3px solid var(--navy);
  border-radius: var(--r1); font-size: 13.5px; line-height: 1.72; color: var(--ink-2);
}
.note .ico { position: absolute; left: 17px; top: 17px; color: var(--navy); }
.note-warn { background: var(--warn-bg); border-color: #efd9ac; border-left-color: var(--warn); }
.note-warn .ico { color: var(--warn); }
.note a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── 표 ─────────────────────────────────────────────────────────── */
/* 넘치는 표 상자는 반드시 position:relative — 아니면 좁은 화면에서 문서 전체가 가로로 밀린다 */
.tablewrap { position: relative; overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--paper); }
.tbl { width: 100%; min-width: 520px; font-size: 14px; }
.tbl-cap { padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.tbl th, .tbl td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tbl thead th { background: var(--mist); font-size: 12.5px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.tbl tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tbl td { color: var(--ink-2); }
.tbl td.num, .tbl th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tfoot th, .tbl tfoot td { background: var(--mist); font-weight: 700; color: var(--ink); border-top: 2px solid var(--line); border-bottom: 0; }
.tbl .tr-sum th, .tbl .tr-sum td { background: var(--paper-2); font-weight: 700; color: var(--ink); }
.tnum {
  display: inline-grid; place-items: center; min-width: 24px; height: 20px; margin-right: 6px;
  background: var(--navy); color: #fff; border-radius: 3px; font-size: 11px;
}

/* ── 에너지 흐름 ────────────────────────────────────────────────── */
.flow { position: relative; margin-bottom: 8px; }
.flow-line { position: absolute; left: 6%; right: 6%; top: 34px; width: 88%; height: 8px; }
.flow-line path { stroke: rgba(11, 61, 145, 0.22); stroke-width: 1.6; fill: none; }
.flow-dot { fill: var(--sun); offset-path: path("M0,4 H1000"); offset-distance: 0%; }
@keyframes flowdot { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .flow-dot { animation: flowdot 5.2s linear infinite; }
  .flow-dot-2 { animation-delay: -1.75s; }
  .flow-dot-3 { animation-delay: -3.5s; }
}
.flow-nodes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow-n { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.flow-ic {
  width: 68px; height: 68px; display: grid; place-items: center;
  background: var(--paper); color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 50%; box-shadow: var(--sh1);
}
.flow-nm { font-size: 14px; font-weight: 700; }

/* ── 지붕 진단 ──────────────────────────────────────────────────── */
.roof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 64px; align-items: center; }
.roof-steps { margin: 28px 0 30px; display: grid; gap: 14px; }
.roof-steps li { display: flex; gap: 14px; align-items: flex-start; }
.rs-n {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); border-radius: 50%; font-size: 13px; font-weight: 800;
}
.rs-b { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.rs-b b { display: block; font-size: 15.5px; color: var(--ink); }
.roof-fig { margin: 0; }
.roof-fig img {
  width: 100%; height: auto; border-radius: var(--r3);
  border: 1px solid var(--line); box-shadow: var(--sh2);
}
.roof-fig figcaption, .svc-fig figcaption, .map-fig figcaption {
  margin-top: 12px; font-size: 13px; color: var(--muted);
}

/* ── 시공 방식 카드 ─────────────────────────────────────────────── */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sol {
  display: flex; flex-direction: column; padding: 28px 24px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.sol:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: #c9d5e3; }
.sol-ic {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--mist); color: var(--navy); border-radius: var(--r2);
}
.sol .sol-d { margin: 10px 0 16px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.ticks { display: grid; gap: 7px; margin-bottom: 18px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.ticks .ico { flex: none; margin-top: 4px; color: var(--sun-d); }
.sol .link-a { margin-top: auto; }

/* ── 공정 횡스크롤 ──────────────────────────────────────────────── */
.rail-outer { position: relative; margin: 8px 0 56px; }
.rail {
  position: relative; display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px calc((100vw - min(var(--wrap), 100vw)) / 2 + var(--gut)) 22px;
  scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: rgba(237, 242, 247, 0.22); border-radius: var(--pill); }
.rail-c {
  scroll-snap-align: start; flex: 0 0 296px;
  padding: 26px 24px 28px;
  background: rgba(237, 242, 247, 0.05); border: 1px solid var(--line-on); border-radius: var(--r3);
}
.rail-n { font-size: 34px; font-weight: 800; color: var(--sun); letter-spacing: -0.04em; }
.rail-c .h3 { margin: 6px 0 10px; }
.rail-t {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px;
  padding: 4px 10px; background: rgba(255, 199, 0, 0.12); border-radius: var(--r1);
  font-size: 12.5px; font-weight: 700; color: var(--sun-l);
}
.rail-d { font-size: 14px; color: var(--mute-on); line-height: 1.75; }

.safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.safe { padding: 24px; border: 1px solid var(--line-on); border-radius: var(--r2); }
.safe .ico { color: var(--sun); margin-bottom: 12px; }
.safe p { margin-top: 8px; font-size: 14px; color: var(--mute-on); line-height: 1.75; }

/* ── 사례 카드 ──────────────────────────────────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
/* 액자는 반드시 블록이어야 aspect-ratio 가 먹는다 */
.case-fr, .proj-fr {
  display: block; overflow: hidden; border-radius: var(--r2);
  background: var(--mist); aspect-ratio: 16 / 9;
}
.case-fr img, .proj-fr img { width: 100%; height: 100%; object-fit: cover; }
.case-tag { margin: 16px 0 6px; font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; }
.case-num { margin: 10px 0 6px; display: flex; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.case-num b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.case-num span { font-size: 14px; color: var(--muted); }
.case-d { font-size: 13.5px; color: var(--muted); }

/* ── 보증 요약 ──────────────────────────────────────────────────── */
.war-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.war {
  display: grid; gap: 6px; padding: 24px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2);
  border-top: 4px solid var(--sun);
}
.war-k { font-size: 13px; font-weight: 700; color: var(--muted); }
.war-v { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.war-d { font-size: 13.5px; color: var(--ink-2); }
.after-links { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; }

/* ── 전환 배너 ──────────────────────────────────────────────────── */
.cta-band {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy-d) 0%, var(--navy) 52%, #1150b8 100%);
  color: var(--mist);
}
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px var(--gut); flex-wrap: wrap; }
.cta-txt { max-width: 640px; }
.cta-txt p { margin-top: 12px; font-size: 15px; color: #cfe0f7; }
.cta-act { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 푸터 ───────────────────────────────────────────────────────── */
.site-footer { background: var(--night); color: var(--mist); padding: 72px 0 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr); gap: 56px; }
.foot-claim { margin: 18px 0 22px; font-size: 14px; color: var(--mute-on); line-height: 1.8; }
.foot-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-h { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--sun); margin-bottom: 6px; text-transform: uppercase; }
.foot-col a, .foot-col p { font-size: 14px; color: var(--mute-on); }
.foot-col a:hover { color: var(--mist); }
.foot-strong { font-size: 20px !important; font-weight: 800; color: var(--mist) !important; font-variant-numeric: tabular-nums; }
.foot-notice { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-on); }
.foot-notice ul { display: grid; gap: 9px; margin-top: 10px; }
.foot-notice li { position: relative; padding-left: 15px; font-size: 12.5px; line-height: 1.8; color: var(--mute-on); }
.foot-notice li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background: var(--sun); border-radius: 50%; }
.foot-notice b { color: var(--mist); }
.foot-bot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-on); display: grid; gap: 8px; }
.foot-biz, .foot-copy { font-size: 12.5px; color: #8296ab; }
.foot-copy a { margin-left: 14px; text-decoration: underline; text-underline-offset: 3px; }
.foot-copy a:hover { color: var(--mist); }

/* ── 맨 위로 · 토스트 ───────────────────────────────────────────── */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--sun); color: var(--ink); border: 0; border-radius: 50%;
  box-shadow: 0 10px 26px rgba(255, 199, 0, 0.36); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 130;
  transform: translate(-50%, 18px);
  display: flex; align-items: center; gap: 11px;
  min-width: 280px; max-width: calc(100vw - 36px);
  padding: 15px 22px; background: var(--ink); color: #fff;
  border-radius: var(--r2); font-size: 14px; line-height: 1.6;
  box-shadow: 0 16px 40px rgba(4, 16, 28, 0.34);
  opacity: 0; visibility: hidden;
  /* 알림일 뿐이므로 아래 제출 버튼을 가로막지 않는다 */
  pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast-ico { color: var(--sun); flex: none; }

.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(26, 31, 40, 0.3);
  border-top-color: var(--ink); border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 등장 효과 ──────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ══════════════════════════ 내부 면 머리 밴드 ══════════════════════ */
.phero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #d9e6f4 0%, var(--mist) 44%, var(--paper) 100%);
  padding: 44px 0 56px;
}
/* 새벽 하늘 띠 — 장식이라 배경으로 깐다(대체 텍스트가 필요 없는 그림) */
.phero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 0; padding-top: 7.66%; opacity: 0.9;
  background: url("assets/hero-sky.webp") center top / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 4%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 4%, transparent 100%);
}
.phero-in { position: relative; padding-top: 56px; }
.phero .eyebrow-on { color: var(--navy); }
.phero .eyebrow-on .e-num { background: var(--navy); color: #fff; }
.phero-lede { margin-top: 18px; max-width: 66ch; font-size: clamp(15px, 1.1vw, 17px); color: var(--ink-2); line-height: 1.85; }
.phero-facts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.phero-facts li {
  display: grid; gap: 2px; padding: 12px 20px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); border-radius: var(--r2);
}
.pf-k { font-size: 12px; font-weight: 600; color: var(--muted); }
.pf-v { font-size: 16px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ══════════════════════════ 서비스 안내 ═════════════════════════ */
.svc-wrap { padding-top: 72px; }
.svc-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px; align-items: start; }
.svc-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.svc-nav-h { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; }
.svc-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: var(--r2); font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.svc-nav a:hover { background: var(--mist); color: var(--ink); }
.svc-nav a.is-active { background: var(--navy); color: #fff; }
.svc-nav a.is-active .ico { color: var(--sun); }

.svc-sec { padding-bottom: 72px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); scroll-margin-top: 96px; }
.svc-sec:last-child { border-bottom: 0; }
.svc-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); gap: 40px; align-items: start; margin-top: 20px; }
.svc-lead > p { font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.svc-p { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); line-height: 1.85; max-width: 68ch; }
.svc-fig { margin: 0; }
.svc-fig img { width: 100%; height: auto; border-radius: var(--r2); border: 1px solid var(--line); }

/* 아코디언 */
.accordion { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; background: var(--paper); }
.acc-item + .acc-item { border-top: 1px solid var(--line-2); }
.acc-h { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-trigger {
  width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.acc-trigger:hover { background: var(--paper-2); }
.acc-chev { color: var(--navy); transition: transform 0.3s var(--ease); }
.acc-item.open .acc-chev { transform: rotate(180deg); }
/* 접힘 상태의 높이가 정확히 0 이어야 한다.
   grid-template-rows:0fr 는 자식 min-content 에 걸려 20~50px 이 남았다(실측) — max-height 로 확실히 눌러 둔다. */
.acc-panel { display: block; overflow: hidden; max-height: 0; transition: max-height 0.36s var(--ease); }
.acc-item.open .acc-panel { max-height: 900px; }
.acc-panel p { padding: 0 20px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.spec-dl { padding: 0 20px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.spec-dl > div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.spec-dl dt { flex: none; width: 96px; font-size: 13px; font-weight: 700; color: var(--muted); }
.spec-dl dd { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ESS 이점 */
.ess-ben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.ess-ben li { padding: 22px 20px; background: var(--mist); border-radius: var(--r2); }
.ess-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; background: var(--paper); color: var(--navy); border-radius: var(--r1); }
.ess-ben p { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.72; }

/* 포함 / 제외 */
.io-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.io { padding: 24px; border-radius: var(--r2); border: 1px solid var(--line); }
.io h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.io ul { display: grid; gap: 9px; }
.io li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.io li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; }
.io-in { background: var(--ok-bg); border-color: #c6e5d6; }
.io-in h3 .ico, .io-in li::before { color: var(--ok); background: var(--ok); }
.io-in h3 .ico { background: none; }
.io-out { background: var(--warn-bg); border-color: #efd9ac; }
.io-out h3 .ico { color: var(--warn); }
.io-out li::before { background: var(--warn); }

/* 판매 대행 단계 */
.trade-steps, .as-steps { display: grid; gap: 14px; margin-top: 26px; }
.trade-steps li, .as-steps li {
  display: flex; gap: 18px; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2);
}
.ts-n, .as-n { flex: none; font-size: 22px; font-weight: 800; color: var(--sun-d); letter-spacing: -0.03em; }
.trade-steps p, .as-steps p { margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.72; }
.as-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 폐모듈 */
.recycle { display: flex; gap: 24px; margin-top: 24px; padding: 28px; background: var(--mist); border-radius: var(--r3); }
.rec-ic { flex: none; width: 60px; height: 60px; display: grid; place-items: center; background: var(--paper); color: var(--ok); border-radius: 50%; }
.rec-list { display: grid; gap: 12px; counter-reset: rec; }
.rec-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; counter-increment: rec; }
.rec-list li::before {
  content: counter(rec); position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; display: grid; place-items: center;
  background: var(--navy); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700;
}

/* ══════════════════════════ 시뮬레이터 ══════════════════════════ */
.sim-sec { padding-top: 72px; }
.sim-layout { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 44px; align-items: start; }
.sim-main { container-type: inline-size; display: grid; gap: 40px; }
.sim-block .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sim-block .h3 .e-num { height: 24px; min-width: 30px; font-size: 12.5px; }
.sim-p { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; max-width: 66ch; }

.addr { display: flex; gap: 10px; flex-wrap: wrap; }
.addr-field { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.addr-field .ico { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.addr-field .control { padding-left: 42px; }
.addr-hint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--muted); }

.simstate {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 18px; border-radius: var(--r2);
  border: 1px solid var(--line); background: var(--paper-2);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.simstate .st-ic { flex: none; }
.st-bar { flex: 1 1 120px; height: 6px; min-width: 90px; background: #dde4ec; border-radius: var(--pill); overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--navy); border-radius: var(--pill); }
.simstate[data-state="loading"] { border-color: #cfdaea; }
.simstate[data-state="loading"] .st-ic { color: var(--navy); }
.simstate[data-state="loading"] .st-bar i { width: 60%; animation: load 1.4s var(--ease) infinite; }
@keyframes load { 0% { width: 8%; } 60% { width: 78%; } 100% { width: 96%; } }
.simstate[data-state="ok"], .simstate[data-state="done"] { background: var(--ok-bg); border-color: #c6e5d6; color: #0d5c39; }
.simstate[data-state="ok"] .st-ic, .simstate[data-state="done"] .st-ic { color: var(--ok); }
.simstate[data-state="ok"] .st-bar, .simstate[data-state="done"] .st-bar { display: none; }
.simstate[data-state="unclear"] { background: var(--err-bg); border-color: #f0cdc7; color: #96281b; }
.simstate[data-state="unclear"] .st-ic { color: var(--err); }
.simstate[data-state="unclear"] .st-bar { display: none; }
.simstate[data-state="nodata"] { background: var(--warn-bg); border-color: #efd9ac; color: #7d4906; }
.simstate[data-state="nodata"] .st-ic { color: var(--warn); }
.simstate[data-state="nodata"] .st-bar { display: none; }
.st-extra { margin-top: 10px; }

/* 지붕 면 고르기 */
.roofpick {
  position: relative; max-width: 520px; border-radius: var(--r3); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh2);
}
.roofpick > img {
  width: 100%; height: auto;
  /* 이미지 기본 끌기가 포인터를 가로채면 단추가 간헐적으로 죽는다 */
  pointer-events: none; -webkit-user-drag: none; user-select: none;
}
.hot {
  position: absolute; width: 48px; height: 48px; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  background: rgba(6, 21, 37, 0.55); color: #fff;
  border: 2px solid var(--sun); border-radius: 50%; cursor: pointer;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(4, 16, 28, 0.4);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.hot:hover { background: rgba(11, 61, 145, 0.85); }
.hot[aria-pressed="true"] { background: var(--sun); color: var(--ink); transform: translate(-50%, -50%) scale(1.08); }
.hot-pop {
  position: absolute; transform: translate(-50%, calc(-100% - 34px));
  display: grid; gap: 2px; padding: 9px 14px; white-space: nowrap;
  background: var(--ink); color: #fff; border-radius: var(--r2);
  font-size: 12.5px; box-shadow: 0 8px 22px rgba(4, 16, 28, 0.4);
  /* 팝오버가 다른 단추를 덮어 클릭을 삼키지 않게 */
  pointer-events: none;
}
.hot-pop b { font-size: 13px; }
.hot-pop span { color: var(--alu); }
.hot-pop::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px;
  background: var(--ink); transform: translateX(-50%) rotate(45deg);
}
.face-legend { display: grid; gap: 6px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.face-legend b { color: var(--navy); }
.field-reset { align-self: end; }

/* 결과 카드 */
.sim-side { position: sticky; top: 100px; }
.rescard {
  container-type: inline-size;
  padding: 26px 24px 24px; background: var(--paper);
  border: 1px solid var(--line); border-top: 5px solid var(--sun);
  border-radius: var(--r3); box-shadow: var(--sh2);
}
.res-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.res-h .ico { color: var(--navy); }
.res-tag { margin-left: auto; padding: 3px 9px; background: var(--warn-bg); color: var(--warn); border-radius: var(--r1); font-size: 11.5px; }
.res-lead { display: grid; gap: 4px; margin: 18px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.res-k { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.res-big { font-size: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-big b { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.035em; }
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.res-grid dt { font-size: 12.5px; color: var(--muted); }
.res-grid dd { margin: 2px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-grid dd b { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.res-pay { display: grid; gap: 4px; margin-top: 20px; padding: 16px 18px; background: var(--mist); border-radius: var(--r2); }
.res-pv { font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-pv b { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.res-pv-na b { font-size: 18px; color: var(--muted); }
.res-sub { font-size: 12px; color: var(--muted); line-height: 1.6; }
.res-warn {
  display: flex; gap: 8px; margin-top: 14px; padding: 12px 14px;
  background: var(--warn-bg); border: 1px solid #efd9ac; border-radius: var(--r1);
  font-size: 12.5px; line-height: 1.65; color: #7d4906;
}
.res-warn .ico { flex: none; margin-top: 2px; color: var(--warn); }
.res-foot { margin: 16px 0 16px; font-size: 12px; color: var(--muted); line-height: 1.65; }
.res-foot a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 월별 막대 표 */
.tbl-bar .cell-bar { width: 42%; min-width: 140px; vertical-align: middle; }
.bar { display: block; height: 12px; background: var(--line-2); border-radius: var(--pill); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sun) 0%, var(--sun-d) 100%); border-radius: var(--pill); transition: width 0.4s var(--ease); }
.season-wrap { margin-top: 20px; }

.assume-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.assume-grid + .assume-grid { margin-top: 4px; }
.disclaim {
  margin-top: 34px; padding: 30px 32px;
  background: var(--night); color: var(--mist); border-radius: var(--r3);
}
.disclaim h3 { display: flex; align-items: center; gap: 9px; color: var(--sun); }
.disclaim ul { display: grid; gap: 12px; margin-top: 18px; }
.disclaim li { position: relative; padding-left: 17px; font-size: 14px; line-height: 1.85; color: var(--mute-on); }
.disclaim li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--sun); border-radius: 50%; }
.disclaim b { color: var(--mist); }

/* ══════════════════════════ 시공 사례 ═══════════════════════════ */
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 60px; align-items: center; }
.region-chips, .type-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.type-chips { margin: 0 0 28px; }
.map-fig { margin: 0; text-align: center; }
.korea { width: 100%; max-width: 320px; height: auto; }
.korea-land { fill: #dfe7f0; stroke: #c3cedb; stroke-width: 1.4; stroke-linejoin: round; }
.korea-lbl { fill: var(--muted); font-size: 12px; font-family: var(--sans); }
.pin-halo { fill: rgba(255, 199, 0, 0.32); transition: fill 0.25s var(--ease); }
.pin-dot { fill: var(--navy); }
.pin-lbl { fill: var(--ink); font-size: 11.5px; font-weight: 700; font-family: var(--sans); }
.pin.is-on .pin-halo { fill: rgba(255, 199, 0, 0.85); }
.pin.is-on .pin-dot { fill: var(--sun-d); }

.filter-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-count b { color: var(--navy); font-size: 18px; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proj { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; }
.proj-fr { border-radius: 0; }
.proj-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.proj-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.proj-loc { font-size: 13px; color: var(--muted); }
.proj-num { display: flex; gap: 18px; margin: 14px 0 10px; flex-wrap: wrap; }
.proj-num dt { font-size: 11.5px; color: var(--muted); }
.proj-num dd { margin: 1px 0 0; font-size: 15px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.proj-d { margin-top: auto; font-size: 13px; color: var(--muted); }
.empty { display: flex; gap: 9px; padding: 26px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r2); font-size: 14.5px; color: var(--muted); }
.empty .ico { flex: none; margin-top: 3px; color: var(--navy); }
.tbl-rec { min-width: 780px; }

/* ══════════════════════════ 고객 지원 ═══════════════════════════ */
.help-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.9fr); gap: 32px; align-items: start; }
.help-h { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.help-h .ico { color: var(--navy); }
.dl-list { display: grid; gap: 8px; margin-top: 18px; }
.dl-list a {
  display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 12px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dl-list a:hover { border-color: var(--navy); background: var(--paper-2); }
.dl-list .ico { color: var(--navy); flex: none; }
.dl-n { display: grid; font-size: 14.5px; font-weight: 700; }
.dl-n small { font-size: 12px; font-weight: 500; color: var(--muted); }
.dl-ar { margin-left: auto; color: var(--muted); }

.help-contact { padding: 26px 24px; background: var(--mist); border-radius: var(--r3); }
.ct-lead { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.72; }
.ct-tel {
  display: grid; gap: 2px; margin: 18px 0 16px; padding: 16px 18px;
  background: var(--paper); border-radius: var(--r2); border-left: 4px solid var(--sun);
}
.ct-tel span { font-size: 12px; font-weight: 600; color: var(--muted); }
.ct-tel b { font-size: 27px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ct-list { display: grid; gap: 10px; margin-bottom: 18px; }
.ct-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.ct-list .ico { flex: none; margin-top: 2px; color: var(--navy); }
.ct-list a { text-decoration: underline; text-underline-offset: 3px; }
.ct-act { display: grid; gap: 9px; }
.ct-em {
  position: relative; display: block; margin-top: 18px; padding: 13px 15px 13px 42px;
  background: var(--err-bg); border-radius: var(--r1);
  font-size: 12.5px; line-height: 1.65; color: #8f2c1f;
}
.ct-em .ico { position: absolute; left: 15px; top: 16px; color: var(--err); }

/* 실사 신청 */
.survey-wrap { max-width: 940px; }
.done-panel {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; padding: 22px 24px;
  background: var(--ok-bg); border: 1px solid #c6e5d6; border-left: 5px solid var(--ok); border-radius: var(--r2);
}
.done-panel > .ico { flex: none; color: var(--ok); }
.done-panel p { margin-top: 5px; font-size: 14px; color: #0d5c39; line-height: 1.7; }

.stepper { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.step {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--pill);
}
.step-n { font-size: 13px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-t { font-size: 14px; font-weight: 700; color: var(--muted); }
.step.is-on { border-color: var(--navy); }
.step.is-on .step-n, .step.is-on .step-t { color: var(--navy); }
.step.is-done { background: var(--navy); border-color: var(--navy); }
.step.is-done .step-n, .step.is-done .step-t { color: #fff; }
.step.is-done .step-n::after { content: " ✓"; color: var(--sun); }

.survey { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r3); padding: 8px 30px 30px; }
.fs { border: 0; margin: 0; padding: 24px 0; }
.fs + .fs { border-top: 1px solid var(--line-2); }
.fs legend { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 17px; font-weight: 700; }
.fs-n {
  display: inline-grid; place-items: center; min-width: 30px; height: 24px;
  background: var(--navy); color: #fff; border-radius: var(--r1); font-size: 12.5px; font-weight: 700;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }

.upload { margin-top: 20px; padding: 20px; background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--r2); }
.up-head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.up-head > .ico { color: var(--navy); flex: none; margin-top: 2px; }
.up-head > div { flex: 1 1 280px; }
.up-t { font-size: 15px; font-weight: 700; }
.up-opt { margin-left: 6px; padding: 2px 8px; background: var(--mist); border-radius: var(--r1); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.up-d { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.up-state { margin-top: 14px; display: grid; gap: 8px; }
.up-msg { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.up-state[data-up="busy"] .up-msg { color: var(--navy); }
.up-state[data-up="ok"] .up-msg { color: var(--ok); }
.up-state[data-up="err"] .up-msg { color: var(--err); }
.up-bar { display: block; height: 8px; background: #dde4ec; border-radius: var(--pill); overflow: hidden; }
.up-bar i { display: block; height: 100%; width: 0; background: var(--navy); border-radius: var(--pill); transition: width 0.15s linear; }
.up-note { display: flex; gap: 7px; margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.up-note .ico { flex: none; margin-top: 3px; }

.agree { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0 4px; }
.agree input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.agree label { font-size: 14px; color: var(--ink-2); line-height: 1.65; cursor: pointer; }
.agree.invalid label { color: var(--err); font-weight: 600; }
.agree-note { margin: 6px 0 22px; padding-left: 33px; font-size: 12.5px; color: var(--muted); }
.form-foot { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════ 반응형 ══════════════════════════════ */
@media (max-width: 1180px) {
  :root { --wrap: 1024px; --sec: 88px; }
  .navlinks { gap: 18px; }
  .navlinks a { font-size: 14px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .sim-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
  .svc-layout { grid-template-columns: 196px minmax(0, 1fr); gap: 36px; }
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-contact { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --gut: 28px; --sec: 76px; }
  .navlinks, .head-tel { display: none; }
  .menu-btn { display: grid; }
  .head-act { margin-left: auto; }
  .hero-photo { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 64px; }
  .hero-txt { max-width: none; }
  .simcard { max-width: 520px; }
  .live-tiles { margin-left: 0; gap: 20px; }
  .roof-grid, .map-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sim-layout { grid-template-columns: minmax(0, 1fr); }
  .sim-side { position: static; }
  .rescard { max-width: 560px; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
  .svc-nav-h { width: 100%; margin-bottom: 4px; }
  .svc-nav a { border: 1px solid var(--line); }
  .svc-lead { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .proj-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .war-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 860px) {
  .flow-nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .flow-line { display: none; }
  .safe-grid, .ess-ben { grid-template-columns: minmax(0, 1fr); }
  .io-grid, .assume-grid, .as-steps { grid-template-columns: minmax(0, 1fr); }
  .spec-dl { grid-template-columns: minmax(0, 1fr); }
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-in { padding: 48px var(--gut); }
}

@media (max-width: 720px) {
  :root { --gut: 20px; --sec: 60px; }
  .head { height: 66px; gap: 12px; }
  .brand-name { font-size: 17px; }
  /* 모바일은 축소판이 아니다 — 시안 06 대로 히어로는 문안·버튼, 계산기는 그 아래 */
  .hero-in { padding-top: 44px; padding-bottom: 52px; gap: 28px; }
  .hero-act { display: grid; gap: 10px; }
  .hero-act .btn { width: 100%; }
  .scroll-cue { display: none; }
  .simcard { max-width: none; }
  .live-in { padding: 16px var(--gut); gap: 14px; }
  .live-tiles { gap: 8px 18px; }
  .live-t { flex-direction: column; gap: 0; align-items: flex-start; }
  .sec-head { margin-bottom: 30px; }
  .sol-grid, .case-grid, .proj-grid, .war-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-c { flex-basis: 250px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .survey { padding: 6px 20px 24px; }
  .recycle { flex-direction: column; gap: 16px; padding: 22px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .stepper { gap: 8px; }
  .step { padding: 10px 14px; }
  .cta-in { padding: 42px var(--gut); gap: 24px; }
  .cta-act { display: grid; width: 100%; }
  .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .assume-grid { gap: 16px; }
  .disclaim { padding: 24px 20px; }
}

@media (max-width: 560px) {
  /* 좁은 화면에서는 말풍선이 다른 면 표식을 가리므로 도면 좌상단에 고정한다 */
  .hot-pop { left: 12px !important; top: 12px !important; transform: none; white-space: normal; max-width: calc(100% - 24px); }
  .hot-pop::after { display: none; }
}

@media (max-width: 520px) {
  .phero-in { padding-top: 36px; }
  .phero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .phero-facts li { padding: 10px 14px; }
  .flow-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .flow-ic { width: 56px; height: 56px; }
  .res-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-template-columns: minmax(0, 1fr); }
  .sim-v b { font-size: 26px; }
  .res-big b { font-size: 34px; }
  .ct-tel b { font-size: 24px; }
}

@media (max-width: 400px) {
  /* 320px 에서 헤더 CTA 가 두 줄로 접히던 것 — 글자를 줄여 한 줄에 앉힌다 */
  .btn { white-space: nowrap; }
  .head { gap: 8px; }
  .head-act { gap: 8px; }
  .brand-name { font-size: 15px; }
  .head-act .btn-sm { padding: 0 12px; font-size: 13px; }
  .menu-btn { width: 44px; height: 44px; }
}

@media (max-width: 380px) {
  :root { --gut: 14px; }
  .simcard-body { padding: 16px 16px 18px; }
  .rescard { padding: 20px 18px; }
  .rail-c { flex-basis: 224px; padding: 20px 18px 22px; }
}

/* 모션을 끄면 진행 애니메이션 없이 최종 상태를 즉시 보여 준다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .sun-g { offset-distance: 50%; }         /* 정오 고정 프레임 */
  .hero-photo::after { display: none; }
  .simstate[data-state="loading"] .st-bar i { width: 60%; }
}

@media print {
  .site-header, .drawer, .scrim, .to-top, .toast, .hero-photo, .sunpath, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .sec { padding: 24px 0; }
  .tablewrap { overflow: visible; }
}
