:root {
  /* 08-11 5차 팀회의: 로고 실제 색상(네이비/오렌지) 기준. design_tokens_proposal.md 상단 정정 참고 */
  --ink: #1C2226;
  --surface: #F4F5F2;
  --navy: #163A7C;
  --navy-2: #0F2A5C;
  --orange: #FA971A;
  --steel: #6B7280;
  --steel-light: #DCDEDA;
  --white: #FFFFFF;
  --text-muted: #3A3F45;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 24, 28, 0.08);
  --max: 1200px;
  /* DESIGN.md 모션 토큰 (08-14) */
  --motion-instant: 100ms;
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-slow: 420ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main > section { scroll-margin-top: 88px; }
main > section:not(.trust-strip) {
  min-height: min(56.25vw, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
main > section:not(.trust-strip) > .wrap { min-width: 0; width: 100%; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--surface);
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: "SUIT Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
h3 { font-weight: 650; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (08-23 재정비: 절제된 글라스 내비, pill 형태 지양) ---------- */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--max);
  z-index: 40;
  padding: 0 20px;
  min-height: 64px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: background var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0; max-width: none; min-height: 64px; }
.site-logo-mark { display: flex; align-items: center; }
.site-logo-mark img { width: 36px; max-width: none; height: 36px; flex-shrink: 0; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease);
}
.nav-link:hover { color: var(--navy); }
.nav-caret { font-size: 11px; }
.nav-has-mega { position: relative; }
.mega-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 460px;
  z-index: 39;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--steel-light);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease), transform var(--motion-base) var(--ease);
}
.mega-panel.is-open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-title { font-size: 12px; font-weight: 700; color: var(--steel); margin: 0 0 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.mega-col { display: flex; flex-direction: column; }
.mega-col a { font-size: 14px; color: var(--ink); padding: 7px 0; transition: color var(--motion-fast) var(--ease); }
.mega-col a:hover { color: var(--navy); }
.mega-all-link { display: block; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--steel-light); font-size: 13px; font-weight: 700; color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}
.card-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-light);
  background: transparent;
  cursor: pointer;
}
.card-nav-toggle-icon { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 16px; height: 12px; }
.card-nav-toggle-line {
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform var(--motion-base) var(--ease), opacity var(--motion-base) var(--ease);
}
.card-nav-toggle[aria-expanded="true"] .card-nav-toggle-line:first-child { transform: translateY(3px) rotate(45deg); }
.card-nav-toggle[aria-expanded="true"] .card-nav-toggle-line:last-child { transform: translateY(-3px) rotate(-45deg); }

.card-nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 39;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--motion-base) var(--ease), transform var(--motion-base) var(--ease);
}
.card-nav-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.card-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px 24px 24px; }
.card-nav-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--steel-light);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}
.card-nav-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.card-nav-card a { font-size: 15px; font-weight: 600; color: var(--ink); transition: color var(--motion-fast) var(--ease); }
.card-nav-card a:hover { color: var(--navy); }

@media (max-width: 1023px) {
  .site-nav { display: none; }
  .card-nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .card-nav-grid { grid-template-columns: 1fr; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .card-nav-panel, .mega-panel, .card-nav-toggle-line { transition: none; }
}

/* ---------- Hero (08-14: 한샘·LX Z:IN 실측 참고 — 풀블리드 사진 히어로로 전면 재구성) ---------- */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-slide-fade 24s var(--ease) infinite;
  animation-fill-mode: backwards;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
@keyframes hero-slide-fade {
  0% { opacity: 0; }
  6% { opacity: 1; }
  25% { opacity: 1; }
  31% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  color: var(--white);
  transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.hero-scroll-cue:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.65); }
@media (max-width: 480px) {
  .hero-scroll-cue { display: none; }
}

.page-transition-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--navy-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}
.page-transition-veil.is-active { opacity: 0.35; }
@media (prefers-reduced-motion: reduce) {
  .page-transition-veil { display: none; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 24, 0.15) 0%, rgba(15, 20, 24, 0.1) 35%, rgba(15, 42, 92, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 32px 96px;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-headline strong {
  font-weight: 800;
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.hero-subcopy {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--motion-instant) var(--ease), background var(--motion-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: rgba(22, 58, 124, 0.06); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Trust strip (08-23: 규격/자재/시공기간 3줄 + 신뢰카드 4개를 한 줄로 통합) ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--steel-light);
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.trust-strip-inner span[aria-hidden] { color: var(--steel-light); font-weight: 400; }

/* ---------- Services (08-11 6차 팀회의: PM 우선순위 1, 디자이너 카피) ---------- */
.services-wrapper {
  padding: 72px 0 88px;
  background: var(--white);
  border-top: 1px solid var(--steel-light);
}
.services-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.services-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(22, 58, 124, 0.07);
  border: 1px solid rgba(22, 58, 124, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.services-title {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.services-scroll {
  display: flex;
  gap: 1px;
  background: var(--steel-light);
  border: 1px solid var(--steel-light);
  border-radius: var(--radius);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.services-scroll .service-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (max-width: 860px) {
  .services-scroll .service-card { flex-basis: 200px; }
}
@media (max-width: 480px) {
  .services-scroll .service-card { flex-basis: 78vw; }
}
.service-card {
  display: block;
  width: 100%;
  border: none;
  background: var(--white);
  padding: 28px 22px;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 2px 10px rgba(28, 34, 38, 0.06);
  transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease);
}
.service-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 58, 124, 0.15);
  }
}
.service-num {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Service modal (08-23: 시공 품목 카드 클릭 시 이미지+시공 방식 팝업) ---------- */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 24, 28, 0.56);
  opacity: 0;
  transition: opacity var(--motion-base) var(--ease);
}
.service-modal-overlay[hidden] { display: none; }
.service-modal-overlay.is-open { opacity: 1; }
.service-modal {
  display: flex;
  width: 100%;
  max-width: 880px;
  max-height: min(720px, 88vh);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform var(--motion-base) var(--ease), opacity var(--motion-base) var(--ease);
}
.service-modal-overlay.is-open .service-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.service-modal-media {
  position: relative;
  flex: 0 0 42%;
  background: var(--surface);
}
.service-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  min-width: 44px;
  min-height: 44px;
  margin: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(20, 24, 28, 0.45);
  color: var(--white);
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .service-modal-close:hover { background: rgba(20, 24, 28, 0.65); }
}
.service-modal-close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.service-modal-body {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 28px;
  overflow-y: auto;
}
.service-modal-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-modal-body h3 { font-size: 21px; margin: 0 0 18px; }
.service-modal-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.service-modal-item-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.service-modal-item-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.service-modal-cta { align-self: flex-start; margin-top: auto; }
@media (max-width: 640px) {
  .service-modal-overlay { padding: 0; align-items: flex-end; }
  .service-modal {
    max-width: none;
    max-height: 92vh;
    width: 100%;
    flex-direction: column;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }
  .service-modal-overlay.is-open .service-modal { transform: translateY(0); }
  .service-modal-media { flex: 0 0 200px; }
  .service-modal-body { padding: 24px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-modal-overlay, .service-modal { transition: none; }
}

/* ---------- Gallery (08-11 7차 팀회의: 실사진, jipsin-refined/assets/gallery-real 재사용) ---------- */
.gallery-wrapper {
  padding: 72px 0 88px;
  background: var(--surface);
}
.gallery-subcopy {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-card { border-radius: var(--radius); overflow: hidden; }
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--steel-light);
  transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-card:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(22, 58, 124, 0.15);
  }
}
.gallery-card p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--steel);
  text-align: center;
}
.gallery-pending-box {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed var(--steel-light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--steel);
}

/* ---------- Reviews (08-14, 후기 페이지: 실 데이터 0건, api/reviews.js에서 fetch) ---------- */
.reviews-wrapper {
  padding: 72px 0 88px;
  background: var(--surface);
}
.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .reviews-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .reviews-list { grid-template-columns: 1fr; }
}
.reviews-status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 24px 0;
  margin: 0;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--steel-light);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(28, 34, 38, 0.06);
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.review-stars {
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.review-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: break-word;
}
.review-service {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--navy);
  margin-bottom: 8px;
}
.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
  white-space: pre-wrap;
}
.review-date {
  font-size: 12px;
  color: var(--steel);
}

/* ---------- 이용방법 (08-14, PDF 11번) ---------- */
.steps-wrapper {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--steel-light);
}
.steps-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.step-item {
  position: relative;
  text-align: center;
  flex: 1 1 0;
  max-width: 160px;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.step-connector {
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background: var(--steel-light);
}
.step-item h3 { font-size: 15px; margin-bottom: 2px; }
.step-item p { margin: 0; font-size: 12px; color: var(--text-muted); }

.stepper { max-width: 640px; margin: 0 auto; }
.stepper-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.stepper-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.stepper-dot-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid var(--steel-light);
  color: var(--steel);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.stepper-dot-label { font-size: 12px; color: var(--steel); transition: color var(--motion-fast) var(--ease); }
.stepper-dot.is-active .stepper-dot-num { background: var(--navy); border-color: var(--navy); color: var(--white); transform: scale(1.08); }
.stepper-dot.is-active .stepper-dot-label { color: var(--ink); font-weight: 700; }
.stepper-dot.is-done .stepper-dot-num { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.stepper-check { width: 16px; height: 16px; display: none; }
.stepper-dot.is-done .stepper-check { display: block; }
.stepper-dot.is-done .stepper-dot-num-text { display: none; }
.stepper-check path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: stepperCheckDraw 320ms var(--ease) forwards;
}
@keyframes stepperCheckDraw { to { stroke-dashoffset: 0; } }
.stepper-line { flex: 1 1 32px; max-width: 56px; height: 2px; background: var(--steel-light); position: relative; margin: 0 2px 24px; }
.stepper-line-fill { position: absolute; inset: 0; background: var(--navy); width: 0%; transition: width 400ms var(--ease); }
.stepper-line.is-filled .stepper-line-fill { width: 100%; }

.stepper-panels { position: relative; min-height: 108px; margin-bottom: 24px; overflow: hidden; transition: height 400ms var(--ease); }
.stepper-panel {
  display: none;
  text-align: center;
  position: absolute;
  inset: 0;
}
.stepper-panel.is-active { display: block; position: relative; }
.stepper-panel.is-entering-forward { animation: stepperSlideInFromRight 400ms var(--ease); }
.stepper-panel.is-entering-back { animation: stepperSlideInFromLeft 400ms var(--ease); }
.stepper-panel-num {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.stepper-panel h3 { font-size: 22px; margin-bottom: 6px; }
.stepper-panel p { margin: 0; font-size: 15px; color: var(--text-muted); }
@keyframes stepperSlideInFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes stepperSlideInFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stepper-panel.is-entering-forward, .stepper-panel.is-entering-back { animation: none; }
  .stepper-check path { animation: none; stroke-dashoffset: 0; }
}

.stepper-nav { display: flex; align-items: center; justify-content: center; gap: 10px; }
.stepper-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--steel-light);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.stepper-btn:hover { border-color: var(--navy); }
.stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper-btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.stepper-btn-primary:hover { background: var(--navy-2); }

@media (max-width: 640px) {
  .stepper-dot-label { display: none; }
  .stepper-line { max-width: 32px; margin-bottom: 0; }
  .steps-timeline { flex-direction: column; align-items: stretch; gap: 20px; }
  .step-item { max-width: none; display: flex; align-items: center; gap: 14px; text-align: left; }
  .step-num { margin: 0; flex-shrink: 0; }
  .step-connector { display: none; }
}

/* ---------- GUIDE (P2: 어드민 featured 가이드 3개 프리뷰, 나머지는 /guide/ 아카이브) ---------- */
.guide-wrapper {
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--steel-light);
}
.guide-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 760px) {
  .guide-preview-grid { grid-template-columns: 1fr; }
}
.guide-preview-card {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--steel-light);
  border-radius: var(--radius);
  transition: border-color var(--motion-fast) var(--ease);
}
.guide-preview-card:hover { border-color: var(--navy); }
.guide-preview-card h3 { font-size: 15px; margin-bottom: 6px; }
.guide-preview-card p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.guide-empty-note { font-size: 14px; color: var(--steel); }
.guide-all-link { display: inline-block; font-size: 14px; font-weight: 700; color: var(--navy); }

/* ---------- FAQ (08-14, PDF 10번) ---------- */
.faq-wrapper {
  padding: 56px 0;
  background: var(--surface);
}
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--steel-light);
  padding: 18px 0;
}
.faq-item:first-child { border-top: 1px solid var(--steel-light); }
.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  transition: transform var(--motion-base) var(--ease);
  flex-shrink: 0;
  margin-left: 12px;
  display: inline-block;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-item[open] p {
  animation: faq-answer-in var(--motion-base) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] p { animation: none; }
}

/* ---------- CTA (08-12 8차 팀회의: 디자이너 카피, 오렌지 첫 실사용) ---------- */
.cta-wrapper {
  padding: 72px 0 88px;
  background: var(--navy) url("assets/decorative/cta-geometric-texture.webp") center / cover no-repeat;
}
.cta-box {
  text-align: center;
  max-width: 480px;
}
.cta-eyebrow {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--orange);
  margin-bottom: 10px;
}
.cta-title {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  text-wrap: balance;
  color: var(--white);
  margin-bottom: 28px;
}
.btn-cta {
  background: var(--orange);
  color: var(--navy-2);
  padding: 14px 28px;
  position: relative;
  overflow: hidden;
}
.btn-cta:hover { background: #E08A10; }
.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
}
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover::after {
    animation: btn-shine 700ms var(--ease);
  }
}
@keyframes btn-shine {
  from { left: -60%; }
  to { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta::after { display: none; }
}

/* ---------- Scroll reveal (08-12 13차 팀회의: 한샘몰 벤치마킹 제안 3번, script.js와 함께 동작) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--motion-slow) var(--ease), transform var(--motion-slow) var(--ease);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 카드 그룹 stagger reveal — 부모의 .reveal-visible이 켜지면 자식이 순서대로 따라 나타남.
   DESIGN.md 상한(항목당 최대 60ms, 전체 650ms 이내) 준수. */
.service-card,
.gallery-card,
.review-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-slow) var(--ease), transform var(--motion-slow) var(--ease);
}
.reveal-visible .service-card,
.reveal-visible .gallery-card,
.reveal-visible .review-card {
  opacity: 1;
  transform: translateY(0);
}
.service-card:nth-child(1), .gallery-card:nth-child(1), .review-card:nth-child(1) { transition-delay: 0ms; }
.service-card:nth-child(2), .gallery-card:nth-child(2), .review-card:nth-child(2) { transition-delay: 60ms; }
.service-card:nth-child(3), .gallery-card:nth-child(3), .review-card:nth-child(3) { transition-delay: 120ms; }
.service-card:nth-child(4), .gallery-card:nth-child(4), .review-card:nth-child(4) { transition-delay: 180ms; }
.service-card:nth-child(5), .gallery-card:nth-child(5), .review-card:nth-child(5) { transition-delay: 240ms; }
.service-card:nth-child(6), .gallery-card:nth-child(6), .review-card:nth-child(6) { transition-delay: 300ms; }
.gallery-card:nth-child(7) { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .service-card, .gallery-card, .review-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 히어로 진입 애니메이션 — 스크롤과 무관하게 페이지 로드 시 1회 실행 */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero-headline, .hero-subcopy, .hero-actions {
  opacity: 0;
  animation: hero-fade-up var(--motion-slow) var(--ease) forwards;
}
.hero-eyebrow { animation-delay: 60ms; }
.hero-headline { animation-delay: 120ms; }
.hero-subcopy { animation-delay: 180ms; }
.hero-actions { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-headline, .hero-subcopy, .hero-actions {
    opacity: 1;
    animation: none;
  }
}

/* ---------- 플로팅 상담 CTA (08-14, DESIGN.md 규칙: 데스크톱/모바일 중 한 세트만, 푸터 정박) ---------- */
.floating-cta {
  position: fixed;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--motion-base) var(--ease), transform var(--motion-base) var(--ease), visibility var(--motion-base);
}
.floating-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-cta.is-visible.is-footer-near {
  opacity: 0;
  visibility: hidden;
  transition-duration: var(--motion-fast);
}

/* 데스크톱: 우측 하단, hero를 벗어난 뒤 노출 */
.floating-cta-desktop {
  right: 24px;
  bottom: 24px;
  max-width: 280px;
}
.floating-cta-desktop .btn {
  height: 54px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(28, 34, 38, 0.2);
  transition: transform var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.floating-cta-desktop .btn:active { transform: scale(0.97); }
@media (max-width: 760px) {
  .floating-cta-desktop { display: none; }
}

/* 모바일: 하단 고정 바, 전화(보조) + 카카오톡(주) 2버튼 */
.floating-cta-mobile {
  display: none;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--steel-light);
  gap: 10px;
}
.floating-cta-mobile a {
  flex: 1;
  height: 48px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: transform var(--motion-instant) var(--ease);
}
.floating-cta-mobile a:active { transform: scale(0.97); }
.floating-cta-mobile .btn-outline { flex: 0 0 48px; padding: 0; }
.floating-cta-mobile .btn-cta { flex: 1; }
@media (max-width: 760px) {
  .floating-cta-mobile.is-ready { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0 24px;
  border-top: 1px solid var(--steel-light);
  background: var(--white);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer-channels a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--motion-fast) var(--ease);
}
.footer-channels a:hover { color: var(--navy); }
.footer-channels a:last-child { color: var(--navy); font-weight: 700; }
.site-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--steel);
  text-align: center;
}

/* ---------- Service detail (P1: /service/*.html 공통 템플릿) ---------- */
.service-detail { padding: 128px 0 96px; }
.service-detail-wrap { max-width: 720px; }
.service-breadcrumb { font-size: 13px; color: var(--steel); margin: 0 0 16px; }
.service-breadcrumb a { color: var(--steel); text-decoration: underline; }
.service-detail-title { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 12px; }
.service-detail-lead { font-size: 17px; color: var(--text-muted); margin: 0 0 40px; }
.service-example-photo { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.service-example-photo img { display: block; width: 100%; height: 280px; object-fit: cover; }
.service-example-photo figcaption { padding: 10px 14px; font-size: 12px; color: var(--text-muted); background: var(--white); }
.service-section { margin-bottom: 32px; }
.service-section h2 { font-size: 18px; margin-bottom: 8px; }
.service-section p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin: 0; }
.service-related { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--steel-light); border-bottom: 1px solid var(--steel-light); }
.service-related a { font-size: 14px; font-weight: 700; color: var(--navy); }
.service-cta { text-align: center; padding: 32px; background: var(--surface); border-radius: var(--radius); }
.service-cta p { margin: 0 0 16px; font-size: 15px; color: var(--text-muted); }

/* ---------- Photo banner (드래그/스와이프 가로 슬라이드) ---------- */
.photo-banner { margin: 0 0 40px; }
.photo-banner-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  border-radius: var(--radius);
  touch-action: pan-y;
  user-select: none;
}
.photo-banner-track::-webkit-scrollbar { display: none; }
.photo-banner-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.photo-banner-slide {
  flex: 0 0 auto;
  width: min(78%, 420px);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.photo-banner-slide img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  pointer-events: none;
}
.photo-banner-slide figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Mobile (<=480px) ---------- */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-wrapper { min-height: 58vh; }
  .hero-content { padding: 100px 16px 40px; }
  .hero-headline { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
