/* ============================================================
   OndoAI 홈페이지 스타일
   메인 컬러 #4361ee · 흰 배경 · Pretendard
   ============================================================ */

:root {
  --primary: #4361ee;
  --primary-dark: #3550c8;
  --primary-light: #eef1fd;
  --navy: #12162b;
  --navy-2: #1a2040;
  --text: #0f1114;
  --text-sub: #4e5968;
  --text-light: #8b95a1;
  --line: #e5e8eb;
  --bg-soft: #f7f8fa;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(25, 31, 40, .10);
  --shadow-sm: 0 4px 16px rgba(25, 31, 40, .06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 메뉴 클릭 시 즉시 점프 (smooth 사용 시 히어로 스크럽 영상이 통과 재생되어 제거) */
html { scroll-behavior: auto; scroll-padding-top: 76px; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(67, 97, 238, .35); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-block { display: block; width: 100%; }

/* ---------- 헤더 ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(0, 0, 0, .04); }
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo { font-size: 25px; font-weight: 800; letter-spacing: -.5px; color: var(--text); }
.logo span { color: var(--primary); }
.gnb { display: flex; gap: 8px; flex: 1; }
.gnb a {
  padding: 8px 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.gnb a:hover { background: var(--bg-soft); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.menu-toggle { display: none; background: none; border: none; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 히어로 ---------- */
.hero {
  padding: 148px 0 0;
  background: linear-gradient(180deg, #fff 0%, #f0f3ff 100%);
  /* 주의: overflow: hidden 금지 — 하위 .hero-sticky의 position: sticky가 무력화됨 */
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -2px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: 17.5px; color: var(--text-sub); margin-bottom: 28px; }
.hero-sub strong { color: var(--text); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
/* 스크롤 스크럽 트랙: 여분 높이만큼 스크롤하는 동안 영상이 고정된 채 재생 */
.hero-scrub { height: 220vh; }
.hero-sticky {
  position: sticky;
  top: 68px; /* 고정 헤더 높이 */
  padding-bottom: 24px;
}
.hero-visual {
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 40px);
  background: linear-gradient(135deg, #c7d2ff 0%, #e4d6ff 45%, #ffd9ec 100%);
  box-shadow: var(--shadow);
}
/* 핀 상태에서 낮은 화면에서도 영상이 잘리지 않게 프레임 폭 제한 (16:9 기준) */
.hero-video-frame {
  max-width: min(100%, calc((100vh - 200px) * 16 / 9));
  margin: 0 auto;
}
.hero-visual video,
.hero-visual img {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(18, 22, 43, .18);
  width: 100%;
  display: block;
}

/* ---------- 공통 섹션 ---------- */
.section { padding: 110px 0; }
.section-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.section-eyebrow.light { color: #9aa3b8; }
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.section-title.light { color: #fff; }
.section-desc { font-size: 17.5px; color: var(--text-sub); margin-bottom: 8px; }

/* 페이드인 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  /* 진행바 자동 전환 비활성화 (클릭 전환만 동작) */
  .uc-bar-fill.run { animation: none; width: 100%; }
  .showcase-panel.active, .uc-image.active { animation: none; }
}

/* ---------- 카드 ---------- */
.card-grid { display: grid; gap: 20px; margin-top: 48px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.4px; }
.card p { font-size: 16px; color: var(--text-sub); }
.card p strong { color: var(--primary); font-weight: 700; }
.card-compact { padding: 30px 24px; }
.card-compact h3 { font-size: 18px; }
.card-compact p { font-size: 14.5px; }

/* 이미지형 카드 (왜 OndoAI인가) */
.card-with-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-img {
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.card-with-img .card-body { padding: 28px 30px 34px; }

/* ---------- 문제 제기 ---------- */
.problem { background: #fff; }
.problem .card { background: var(--bg-soft); }

/* ---------- 진단 항목 — 인터랙티브 단면도 ---------- */
.diagram {
  margin-top: 48px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(12px, 2.5vw, 32px);
}
.diagram svg { width: 100%; height: auto; display: block; }
.diagram text { font-family: inherit; }
.diagram .dg, .diagram .dg-base { transition: opacity .35s ease; }
/* 기본 상태: 강조 전용 그룹(외피 윤곽 등)은 은은하게 */
.diagram .dg { opacity: .45; }
/* 항목 선택 시: 대상만 선명하게, 나머지는 흐리게 */
.diagram[data-active] .dg { opacity: .12; }
.diagram[data-active] .dg.on { opacity: 1; }
.diagram[data-active] .dg-base { opacity: .35; }
/* 일사 취득: 평상시 옅게, '단열 성능' 강조 시 선명하게 */
.diagram #g-solar { opacity: .3; }
.diagram[data-active] #g-solar { opacity: .12; }
.diagram[data-active] #g-solar.on { opacity: 1; }
/* 노후화 강조: 외피가 바랜 톤으로 + 균열 표시 */
.diagram .env-out, .diagram .env-in { transition: fill .35s ease; }
.diagram[data-active="aging"] .env-out { fill: #d8dbde; }
.diagram[data-active="aging"] .env-in { fill: #eff0f1; }
.diagram .crack { opacity: 0; transition: opacity .35s ease; }
.diagram[data-active="aging"] .crack { opacity: 1; }
/* 화살표 흐름 애니메이션 (활성 그룹만) */
@keyframes dgflow { to { stroke-dashoffset: -28; } }
.diagram .dg.on .flow { animation: dgflow 1s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .diagram .dg.on .flow { animation: none; }
  /* 활용 분야: 애니메이션 없이 최종 상태 정적 표시 */
  .uc-badge { transform: translate(-50%, -50%) scale(1); animation: none !important; }
  .uc-minicard { opacity: 1; transform: none; animation: none !important; }
}

/* 진단 항목 카드 인터랙션 */
.feature-card { cursor: pointer; border: 2px solid transparent; user-select: none; }
.feature-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
}
.feature-card.active h3 { color: var(--primary); }
.feature-card:focus-visible { outline: 3px solid rgba(67, 97, 238, .4); outline-offset: 2px; }

/* ---------- 솔루션 — 탭 쇼케이스 ---------- */
.solution { background: var(--bg-soft); }
.showcase { margin-top: 56px; }
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-sm);
}
.showcase-tab {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-sub);
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.showcase-tab:hover { color: var(--text); }
.showcase-tab.active { background: var(--text); color: #fff; }

.showcase-panels { position: relative; }
.showcase-panel {
  display: none;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start; /* 모든 스텝에서 텍스트 시작 위치 동일 */
}
.showcase-panel.active { display: grid; animation: panelIn .8s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.showcase-text { padding-top: 24px; }
.step-num {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.showcase-text h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 14px; }
.showcase-text p { font-size: 17px; color: var(--text-sub); }
/* STEP 1 보조: 월패드 크롭 */
.step-aside {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  max-width: 420px;
}
.step-aside img { width: 88px; border-radius: 10px; display: block; }
.step-aside p { font-size: 13.5px !important; color: var(--text-sub); }
.showcase-img {
  border-radius: var(--radius);
  padding: clamp(18px, 2.5vw, 34px);
  box-shadow: var(--shadow-sm);
  height: clamp(400px, 42vw, 520px); /* 고정 높이 — 탭마다 텍스트 위치가 흔들리지 않도록 */
}

/* 미니 캐러셀 */
.shots { position: relative; width: 100%; height: 100%; }
.shot {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.shot.active { opacity: 1; visibility: visible; }
.shot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(18, 22, 43, .14);
}
.shot figcaption { display: none; } /* 캡션은 하단 pill(.shot-meta)로 표시 */
.shot-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .95);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(18, 22, 43, .18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  z-index: 2;
}
.shot-nav:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 18px rgba(18, 22, 43, .25); }
.shot-nav.prev { left: -6px; }
.shot-nav.next { right: -6px; }
.shot-meta {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 17, 20, .72);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
}
.shots.single .shot-nav, .shots.single .shot-meta { display: none; }
.frame-blue { background: linear-gradient(135deg, #dbe4ff 0%, #eef1fd 100%); }
.frame-mint { background: linear-gradient(135deg, #d5f5ec 0%, #e8fbf6 100%); }
.frame-violet { background: linear-gradient(135deg, #e6ddff 0%, #f3eeff 100%); }

/* ---------- 차별점 수치 ---------- */
.stats {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-size: 46px; font-weight: 800; color: var(--primary); letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.stat-num small { font-size: 22px; font-weight: 800; }
.stat-label { font-size: 14.5px; color: var(--text-sub); font-weight: 500; line-height: 1.9; }
.stat-label .mk-o { color: var(--primary); font-weight: 800; }
.stat-label .mk-x { color: #e5484d; font-weight: 800; }

/* ---------- AI 기술 (다크 섹션) ---------- */
.ai-tech { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ai-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.ai-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #9db1ff;
  background: rgba(67, 97, 238, .25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ai-card h3 { color: #fff; font-size: 19.5px; font-weight: 700; margin-bottom: 10px; }
.ai-card p { color: #aab3c5; font-size: 15px; }
.ai-visual {
  margin-top: 28px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 28px;
}
.ai-visual img { border-radius: var(--radius-sm); width: 100%; }
.ai-caption { text-align: center; color: #8b95a1; font-size: 14px; margin-top: 16px; }

/* 신뢰성 배지 */
.trust {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.trust-item { text-align: center; }
.trust-icon {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(67, 97, 238, .3);
  color: #9db1ff;
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.trust-item h4 { color: #fff; font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.trust-item p { color: #8b95a1; font-size: 13.5px; line-height: 1.55; }

/* ---------- 활용 분야 — 진행바 캐러셀 ---------- */
.usecases { background: #fff; }
.uc-carousel { margin-top: 56px; }
.uc-visual {
  position: relative;
  margin-bottom: 48px;
}
/* 3탭 공통 스테이지 높이 — 전환 시 높이 점프 제거 */
.uc-image { display: none; }
.uc-image.active {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(360px, 44vw, 540px);
  animation: panelIn .5s ease;
}
/* 좌표 오버레이 정합을 위해 object-fit: cover 금지 — 이미지는 원본 비율 그대로 */
.uc-image img {
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 36px rgba(18, 22, 43, .15);
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 탭① 공공기관: 체크 배지 순차 팝 ---- */
.uc-town { position: relative; height: 100%; width: auto; aspect-ratio: 1600 / 850; }
.uc-town img { width: 100%; height: 100%; }
.uc-badge {
  position: absolute;
  width: 5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5 L8.5 14.5 L15.5 6.5' fill='none' stroke='%234361ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/58% no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(18, 22, 43, .25);
}
.uc-town.play .uc-badge {
  animation: badgePop .45s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--i) * .1s);
}
@keyframes badgePop {
  from { transform: translate(-50%, -50%) scale(0); }
  to { transform: translate(-50%, -50%) scale(1); }
}
.uc-minicard {
  position: absolute;
  right: 3%;
  bottom: 5%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 22, 43, .2);
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
}
.uc-minicard strong { color: var(--primary); font-weight: 800; }
.uc-town.play .uc-minicard { animation: minicardIn .6s ease forwards; animation-delay: 1.8s; }
@keyframes minicardIn { to { opacity: 1; transform: none; } }

/* ---- 탭② 건설사: 실사(대형) + 검증 정보 패널 ---- */
.uc-scene {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.uc-scene-photo {
  position: relative;
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(18, 22, 43, .15);
}
.uc-scene-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.uc-scene-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 20, 0) 60%, rgba(15, 17, 20, .3) 100%);
}
.uc-scene-info { display: flex; flex-direction: column; justify-content: center; }
.uc-scene-headline {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.uc-scene-sub { font-size: 15px; color: var(--text-sub); margin-bottom: 22px; }
.uc-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.uc-checklist li {
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  padding-left: 32px;
  position: relative;
}
.uc-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5 L8.5 14.5 L15.5 6.5' fill='none' stroke='%234361ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/62% no-repeat;
}

/* ---- 탭③ 전문기관: 월패드(데이터 원천) → 진단 리포트 ---- */
.uc-split {
  position: relative;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.uc-photo, .uc-report { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius-sm); box-shadow: 0 12px 36px rgba(18, 22, 43, .15); }
.uc-photo img, .uc-report img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
  box-shadow: none;
}
/* 거실 사진: 왼쪽 벽의 월패드가 보이도록 좌측 기준 크롭 */
.uc-photo img { object-position: left center; }
/* 월패드 보조 인셋 (거실 사진 좌하단 오버레이) */
.uc-inset {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 40%;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(18, 22, 43, .3);
  border: 2px solid rgba(255, 255, 255, .9);
}
.uc-inset img { width: 100%; height: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
.uc-inset figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(15, 17, 20, .62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 3px 0;
}
/* 리포트는 세로형 — 상단 정렬 + 하단 페이드로 '이어지는 문서' 느낌 */
.uc-report { position: relative; background: #fff; }
.uc-report::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.uc-connector { position: relative; z-index: 2; }
.uc-connector-label {
  display: block;
  background: #fff;
  border: 1px dashed var(--primary);
  border-radius: 14px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.uc-connector-label::before {
  content: '↓';
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
@media (min-width: 769px) {
  .uc-connector-label::before { content: '→'; }
}
.uc-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.uc-item {
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.uc-bar {
  display: block;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  margin-bottom: 22px;
  overflow: hidden;
}
.uc-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--text);
  border-radius: 3px;
}
.uc-bar-fill.run { animation: ucProgress 6s linear forwards; }
@keyframes ucProgress { from { width: 0; } to { width: 100%; } }
.uc-item h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: var(--text-light);
  margin-bottom: 12px;
  transition: color .25s;
}
.uc-item p {
  font-size: 15.5px;
  color: var(--text-light);
  transition: color .25s;
}
.uc-item p strong { font-weight: 700; }
.uc-item.active h3 { color: var(--text); }
.uc-item.active p { color: var(--text-sub); }
.uc-item.active p strong { color: var(--primary); }
.uc-item:hover h3 { color: var(--text); }

/* ---------- 비용 ---------- */
.pricing { background: var(--bg-soft); }
.price-compare {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.price-col {
  border-radius: var(--radius);
  padding: 40px 36px;
}
.price-col h3 { font-size: 21px; font-weight: 800; margin-bottom: 26px; letter-spacing: -.4px; }
.price-col ul { list-style: none; }
.price-col li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  font-size: 15.5px;
}
.price-label { color: var(--text-light); font-weight: 600; flex-shrink: 0; }
.price-value { font-weight: 700; text-align: right; }
.price-old { background: #fff; border: 1px solid var(--line); }
.price-old h3 { color: var(--text-sub); }
.price-old li { border-bottom: 1px solid var(--line); }
.price-old .price-value { color: var(--text-sub); }
.price-new {
  background: var(--navy);
  color: #fff;
  position: relative;
  box-shadow: var(--shadow);
}
.price-new li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.price-new .price-label { color: #8b95a1; }
.price-new .price-value { color: #fff; }
.price-badge {
  position: absolute;
  top: -14px; right: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(67, 97, 238, .45);
}
.price-new .btn { margin-top: 28px; }

/* ---------- 회사 소개 ---------- */
.company { background: #fff; }
.company-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.company-desc { font-size: 17px; color: var(--text-sub); margin-bottom: 28px; }
.company-vision {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
}
.company-vision span { font-size: 12.5px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.company-vision p { font-size: 17px; font-weight: 700; margin-top: 6px; }
.company-logo { text-align: center; }
.company-logo img { max-width: 320px; margin: 0 auto 20px; }
.company-logo p { font-size: 14px; color: var(--text-light); }

/* ---------- 문의 CTA ---------- */
.cta-contact { background: var(--bg-soft); }
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #6a4cf0 100%);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 72px);
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 50px rgba(67, 97, 238, .35);
}
.cta-banner h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.8px;
  margin-bottom: 32px;
}
.cta-banner .hero-btns { justify-content: center; }

/* 문의 폼 */
.contact-form-wrap {
  max-width: 720px;
  margin: 72px auto 0;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-size: 25px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.5px; }
.contact-form-wrap > p { color: var(--text-sub); font-size: 15.5px; margin-bottom: 32px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.form-field label em { color: #e5484d; font-style: normal; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, .15);
}
.form-field textarea { resize: vertical; }
.hidden-field { display: none; }
.contact-form .btn { margin-top: 8px; }

/* ---------- 푸터 ---------- */
.footer { background: var(--navy); padding: 64px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logo-footer { color: #fff; margin-bottom: 18px; }
.footer p { color: #8b95a1; font-size: 14px; line-height: 1.8; }
.footer a:hover { color: #fff; }
.footer .copyright { margin-top: 18px; font-size: 13px; color: #5c6470; }
.footer-right { display: flex; flex-direction: column; gap: 12px; }
.footer-right a { color: #aab3c5; font-size: 14.5px; font-weight: 600; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* 헤더 */
  .gnb {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 16px 20px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
    border-top: 1px solid var(--line);
  }
  .gnb.open { display: flex; }
  .gnb a { padding: 14px 12px; font-size: 16px; }
  .menu-toggle { display: flex; }

  /* 히어로 */
  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .pc-only { display: none; }
  .hero-scrub { height: 160vh; } /* 모바일에서는 핀 구간 축소 */
  .hero-sticky { top: 80px; }

  /* 카드/쇼케이스 */
  .card-grid-3, .card-grid-5 { grid-template-columns: 1fr; }
  .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .showcase { margin-top: 40px; }
  .showcase-tabs { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; border-radius: 16px; -webkit-overflow-scrolling: touch; }
  .showcase-tab { padding: 10px 18px; font-size: 14.5px; }
  .showcase-panel { grid-template-columns: 1fr; gap: 24px; }
  .showcase-panel .showcase-text { order: 1; padding-top: 0; }
  .showcase-panel .showcase-img { order: 2; height: clamp(260px, 62vw, 420px); }
  .shot-nav { width: 34px; height: 34px; }
  .shot-nav.prev { left: 2px; }
  .shot-nav.next { right: 2px; }
  .stats { grid-template-columns: 1fr; margin-top: 64px; }

  /* 활용 분야 캐러셀 */
  .uc-carousel { margin-top: 40px; }
  .uc-visual { margin-bottom: 32px; }
  .uc-items { grid-template-columns: 1fr; gap: 24px; }
  .uc-item h3 { margin-bottom: 6px; }
  .uc-badge { width: 7%; }
  .uc-minicard { font-size: 13px; padding: 10px 14px; }
  /* 모바일: 고정 스테이지 높이 해제 (세로 스택 허용) */
  .uc-image.active { display: block; height: auto; }
  .uc-town { width: 100%; height: auto; margin: 0 auto; }
  /* 탭② 세로 스택: 사진 → 정보 패널 */
  .uc-scene { grid-template-columns: 1fr; gap: 18px; height: auto; }
  .uc-scene-photo { height: auto; aspect-ratio: 666 / 428; }
  /* 탭③ 세로 스택: 거실 사진 → 연결 라벨 → 리포트 */
  .uc-split { grid-template-columns: 1fr; gap: 18px; height: auto; }
  .uc-connector { justify-self: center; }
  .uc-report { height: auto; }
  .uc-photo { height: auto; aspect-ratio: 1200 / 750; }
  .uc-report img { height: auto; max-height: 400px; }
  .uc-report::after { display: none; }
  .step-aside img { width: 72px; }

  /* AI/신뢰성 */
  .ai-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }

  /* 비용/회사 */
  .price-compare { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .company-logo img { max-width: 240px; }

  /* 폼 */
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { flex-direction: column; }
  .footer-right { flex-direction: row; flex-wrap: wrap; gap: 18px; }
}

@media (max-width: 480px) {
  .card-grid-5 { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1; min-width: 140px; }
}
