/* ㈜에어피엔씨 EcoAir 랜딩 (2026-11-27 초안)
   요청서 '색상 톤' 지정값만 사용한다.
     Technology Blue #1C9EC6 / Eco Green #1A976B
     그라데이션 #1A976B → #169A95 → #1C9EC6 (요청서에서 '적극 활용'을 지시 — 버튼·강조·배경에 쓴다)
   모바일 전용 한 장(최대 480px). 밝은 바탕 + 두 색의 그라데이션 하나로 포인트를 모은다. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --card: #ffffff;
  --card-2: #f7fafa;
  --line: #e2eae9;
  --line-2: #d2dedd;
  --text: #11211f;
  --muted: #65767a;
  --green: #1a976b;
  --teal: #169a95;
  --blue: #1c9ec6;
  --grad: linear-gradient(100deg, #1a976b 0%, #169a95 52%, #1c9ec6 100%);
  --point: #148a7f;        /* 글자·테두리용: 두 색 사이 값(흰 바탕에서 대비 확보) */
  --point-weak: rgba(26, 151, 107, 0.10);
  --radius: 14px;
  --bar: 76px;             /* 하단 고정 바 높이 */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0 auto;
  max-width: 480px;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); }
.logo-text { font-size: 15px; letter-spacing: 0.08em; color: #51636a; }
.logo-text b { color: var(--text); font-weight: 800; }
.header-cta {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--point);
}

/* ---------- 첫 화면 ---------- */
/* 공기기둥을 연상시키는 옅은 세로 줄무늬 — 사진 자산이 없어 배경은 색으로만 만든다. */
.hero {
  position: relative;
  padding: 24px 0 26px;
  background:
    repeating-linear-gradient(90deg, rgba(26, 151, 107, 0.05) 0 10px, rgba(255, 255, 255, 0) 10px 24px),
    linear-gradient(180deg, rgba(28, 158, 198, 0.09) 0%, rgba(26, 151, 107, 0.05) 46%, var(--bg) 100%);
}
.hero-eyebrow {
  justify-content: center;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--point);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-eyebrow i { width: 3px; height: 3px; border-radius: 50%; background: #9fb6b4; display: inline-block; }
.hero h1 { text-align: center; margin: 0 0 12px; font-size: 32px; line-height: 1.28; font-weight: 800; letter-spacing: -0.03em; }
.hero-sub { text-align: center; margin: 0 0 18px; font-size: 14.5px; color: #51636a; }
.hero-sub b { color: var(--text); }

.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.hero-points li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
.hero-points b { display: block; color: var(--point); font-size: 15px; letter-spacing: -0.02em; }

/* ---------- 견적폼 ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  box-shadow: 0 10px 28px rgba(16, 70, 68, 0.08);
}
/* 폼 위쪽에 브랜드 그라데이션 띠 하나 — 신청 영역임을 한눈에 */
.form-card { position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.form-title { text-align: center; margin: 4px 0 6px; font-size: 20px; font-weight: 800; line-height: 1.35; }
.form-desc { text-align: center; margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }

.field { margin-bottom: 11px; }
.field label, .field legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #42555a; }
.field input, .field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  background: var(--card-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px; /* 16px 미만이면 iOS 가 화면을 확대한다 */
  font-family: inherit;
  appearance: none;
}
.field input::placeholder { color: #9aa9ac; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--point-weak); background: #fff; }
.field.is-error input, .field.is-error select { border-color: #e35d5d; }

.consent { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 12px; }
.consent-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #42555a; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; accent-color: var(--green); }
.consent-check.is-error span { color: #cc4a4a; }
.consent-more { background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; font-family: inherit; cursor: pointer; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.btn-point { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(22, 154, 149, 0.26); }
.btn-point:disabled { opacity: 0.6; }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--point);
  min-height: 50px;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover, .btn-ghost:active, .btn-ghost:focus-visible {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 154, 149, 0.24);
}
.btn-ghost:active { transform: translateY(1px); }

.form-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.form-warn { text-align: center; margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: #8b999c; }
.form-msg { margin: 10px 0 0; font-size: 13px; color: #cc4a4a; text-align: center; min-height: 1px; }
.form-msg:empty { margin: 0; }

.form-done { text-align: center; padding: 18px 4px; }
.form-done:focus { outline: none; }
.done-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--point-weak); color: var(--green); margin-bottom: 10px; }
.done-ico svg { width: 26px; height: 26px; }
.done-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.done-desc { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 폼 도착 강조 */
@keyframes formFlash { 0% { box-shadow: 0 0 0 0 var(--point-weak); } 50% { box-shadow: 0 0 0 8px var(--point-weak); } 100% { box-shadow: 0 0 0 0 rgba(26, 151, 107, 0); } }
.lead-form.is-flash { animation: formFlash 0.9s ease-out; border-radius: 12px; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 32px 0; border-top: 1px solid var(--line); }
.sec-title { text-align: center; margin: 0 0 18px; font-size: 23px; font-weight: 800; line-height: 1.34; letter-spacing: -0.03em; }
.sec-note { text-align: center; margin: 12px 0 0; font-size: 11.5px; color: #8b999c; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 핵심 정보 요약 ---------- */
/* 카드 반복 대신 '작은 회색 라벨 + 굵은 한 줄' 목록(docs/design-refs 참조) */
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.summary-list li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.summary-list li:first-child { border-top: 0; }
.summary-list span { font-size: 12px; color: var(--muted); }
.summary-list b { font-size: 15px; letter-spacing: -0.02em; word-break: keep-all; }

/* ---------- 상황 공감 ---------- */
.pain-list { list-style: none; margin: 0 0 14px; padding: 16px 16px 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.pain-list li { position: relative; padding: 0 0 10px 24px; font-size: 14.5px; color: #35484c; word-break: keep-all; }
.pain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- 강점 ---------- */
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why-list li { position: relative; padding: 16px 0 16px 50px; border-top: 1px solid var(--line); }
.why-list li:first-child { border-top: 0; padding-top: 2px; }
.why-list li::before {
  counter-increment: why;
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-list li:first-child::before { top: 2px; }
.why-list b { display: block; font-size: 17px; margin-bottom: 4px; }
.why-list p { margin: 0; font-size: 14px; color: var(--muted); word-break: keep-all; }

/* ---------- 비용·부피 비교 ---------- */
.table-wrap { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp-table caption { caption-side: top; padding: 11px 12px; font-size: 12px; color: var(--muted); background: var(--bg-soft); text-align: left; }
.cmp-table th, .cmp-table td { padding: 11px 10px; border-top: 1px solid var(--line); text-align: right; }
.cmp-table thead th { background: var(--bg-soft); font-size: 12px; font-weight: 600; color: var(--muted); }
.cmp-table th[scope="row"] { text-align: left; font-weight: 600; }
.cmp-table thead th:first-child { text-align: left; }
.cmp-table tr.is-base th, .cmp-table tr.is-base td { color: var(--point); font-weight: 800; background: var(--point-weak); }
.cmp-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); word-break: keep-all; }

/* ---------- 적용 분야 ---------- */
.apply-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.apply-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.apply-list b { font-size: 15px; }
.apply-list p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 기술·설비 ---------- */
.tech-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.tech-list li { border-left: 3px solid transparent; border-image: var(--grad) 1; padding: 2px 0 2px 14px; }
.tech-list b { font-size: 15.5px; }
.tech-list p { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); word-break: keep-all; }
.cert-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.cert-list li { font-size: 12.5px; color: var(--point); border: 1px solid rgba(22, 154, 149, 0.35); border-radius: 999px; padding: 5px 11px; }

/* ---------- 진행 절차 ---------- */
.process-list { list-style: none; margin: 0 auto; padding: 0; width: fit-content; max-width: 100%; }
.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 0 0 20px;
}
.process-list li:last-child { padding-bottom: 0; }
.process-list li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line-2); }
.process-list li:last-child::before { display: none; }
.process-list span {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  background: #fff;
  color: var(--point);
  font-size: 13px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.process-list b { font-size: 16px; padding-top: 5px; }
.process-list p { margin: 2px 0 0; font-size: 14px; color: var(--muted); word-break: keep-all; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 14px 24px 14px 0; font-size: 14.5px; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 23px; }
.faq-list p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); word-break: keep-all; }

/* ---------- 마지막 폼 ---------- */
.sec-final { background: var(--bg-soft); }

/* ---------- 푸터 ---------- */
.site-footer { text-align: center; padding: 22px 0 26px; border-top: 1px solid var(--line); color: #8b999c; font-size: 11.5px; line-height: 1.7; }
.site-footer p { margin: 0; }
.foot-name { color: #42555a; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.site-footer i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #b9c7c6; margin: 0 6px 3px; }
.foot-copy { margin-top: 10px; }

/* ---------- 하단 고정 바 ---------- */
.sticky-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 40;
  width: 100%;
  max-width: 480px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.sticky-bar.is-pre { transform: translate(-50%, 110%); }
.sticky-bar.is-hidden { transform: translate(-50%, 110%); }
.sticky-form {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 16.5px;
  font-weight: 800;
}

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(12, 32, 30, 0.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 420px; max-height: 80vh; overflow-y: auto; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 18px; }
.modal-box h2 { margin: 0 0 14px; font-size: 17px; }
.privacy-list { margin: 0 0 16px; }
.privacy-list div { margin-bottom: 10px; }
.privacy-list dt { font-size: 12.5px; font-weight: 700; color: #42555a; }
.privacy-list dd { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
