:root {
  /* 그린톤 다크 컨셉 — 베이지 라이트 배경을 폐기하고 다크 그린을 기본 배경으로 삼는다 */
  --primary: #1b2317;
  --primary-2: #26311f;
  --accent: #b8f24a;
  --accent-2: #96d631;
  --accent-dim: #24301f;
  --bg: #10140d;
  --surface: #1a2116;
  --border: rgba(243,237,226,.12);
  --text-on-dark: #f3ede2;
  --muted: #a39d8c;
  --radius: 2px;
  --font-head: 'Newsreader', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  /* 인터랙션 종류별 커스텀 이징 — 전부 기본 ease에 기대지 않는다 */
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --ease-glide: cubic-bezier(.19,1,.22,1);
  --ease-sharp: cubic-bezier(.77,0,.175,1);
  --ease-snap: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #10140d; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-2); border-radius: 0; border: 2px solid var(--bg); }
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-on-dark);
  line-height: 1.65;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.3; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; position: relative; padding-left: 18px; display: inline-block; }
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 11px; height: 2px; background: var(--accent); }
.section-head h2, .hero h1 { position: relative; }
.section-head h2::after { content: ''; display: block; width: 46px; height: 3px; background: var(--accent); margin: 14px auto 0; }
.dark-section .section-head h2::after { background: var(--accent); }

/* ===== Header ===== */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 200; transition: width .1s linear; }
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(16,20,13,.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth); }
.hdr.scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.hdr-inner { max-width: 1120px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; }
.hdr-logo { display: flex; align-items: center; gap: 8px; color: var(--text-on-dark); }
.hdr-logo img { width: 28px; height: 28px; flex: none; }
.hdr-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.hdr-logo__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.hdr-logo__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.hdr-nav { display: flex; gap: 22px; margin-right: auto; margin-left: 32px; }
.hdr-nav a { font-size: 15px; font-weight: 500; color: var(--text-on-dark); }
@media (hover: hover) and (pointer: fine) { .hdr-nav a:hover { color: var(--accent); } }
.hdr-cta { background: var(--accent); color: #10140d; padding: 10px 20px; border-radius: 0; font-weight: 700; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text-on-dark); }
#mob-nav { display: none; }

/* ===== Hero (기본 — 상세/가이드/상담 등 이미지 없는 인트로 섹션) ===== */
.hero { position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); color: var(--text-on-dark); }
.hero-sub { font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== 전화 상담 CTA (상담신청 페이지 — 항상 크고 눈에 띄게, 최상단) ===== */
.phone-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.phone-cta { display: inline-flex; flex-direction: column; gap: 2px; background: var(--accent); color: #10140d; padding: 18px 28px; }
.phone-cta__label { font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .88; }
.phone-cta__number { font-family: var(--font-mono); font-size: clamp(26px, 5vw, 38px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
@media (hover: hover) and (pointer: fine) { .phone-cta:hover { background: var(--accent-2); } }
.phone-cta:active { transform: scale(.98); }
.phone-cta--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
@media (hover: hover) and (pointer: fine) { .phone-cta--outline:hover { background: var(--accent); color: #10140d; } }
@media (max-width: 480px) { .phone-cta { width: 100%; } }
.btn { display: inline-block; padding: 14px 26px; border-radius: 0; font-weight: 600; font-size: 15px; border: none; cursor: pointer; transition: background .3s var(--ease-snap), color .3s var(--ease-snap), transform .18s var(--ease-snap); }
.btn-primary { background: var(--accent); color: #10140d; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-2); }
  .btn-outline:hover { background: var(--accent); color: #10140d; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.35); }
  .link-card:hover img { transform: scale(1.05); }
}
.btn-primary:active, .btn-outline:active { transform: scale(.97); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(246,243,236,.5); transition: background .3s var(--ease-snap), color .3s var(--ease-snap); }
@media (hover: hover) and (pointer: fine) { .btn-outline-light:hover { background: #fff; color: var(--primary); } }

/* ===== Hero — full-bleed(사진이 히어로 전체를 채움, 홈 전용) ===== */
/* 균일한 단색 오버레이 대신 텍스트 쪽(좌하단)으로만 짙어지는 방향성 스크림 사용 */
.hero-full { position: relative; overflow: hidden; min-height: 90vh; min-height: 90dvh; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-media .hero-slide.active { opacity: 1; }
.hero-media .hero-slide img { width: 100%; height: 100%; object-fit: cover; animation: hero-drift 16s ease-in-out infinite; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(19,26,43,.97) 0%, rgba(19,26,43,.9) 26%, rgba(19,26,43,.62) 48%, rgba(19,26,43,.28) 64%, rgba(19,26,43,.08) 76%, transparent 88%),
    linear-gradient(100deg, rgba(19,26,43,.82) 0%, rgba(19,26,43,.6) 32%, rgba(19,26,43,.22) 52%, transparent 70%),
    rgba(19,26,43,.18);
}
/* 배경 레이어드 타이포(고스트 워터마크) — 스크림 위, 전경 텍스트 아래에서 깊이감 부여 */
.hero-ghost-text {
  position: absolute; z-index: 1; left: -.02em; bottom: -.1em;
  font-family: var(--font-mono); font-weight: 700; font-size: 21vw; line-height: .78;
  color: rgba(246,243,236,.05); letter-spacing: -.02em; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.hero-index-label {
  position: absolute; top: 40px; right: 0; z-index: 2;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(246,243,236,.55);
}
.hero-full-inner { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: 64px; }
.hero-full .hero-inner { max-width: 720px; }
.hero-full h1 { font-size: clamp(52px, 8vw, 116px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; margin-bottom: 22px; padding-top: .12em; margin-top: -.12em; }
.hero-tagline { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: rgba(246,243,236,.92); margin-bottom: 24px; line-height: 1.45; }
.hero-tagline .hl { color: var(--accent); display: block; }
.hero-full .hero-sub { color: rgba(246,243,236,.68); }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 36px); margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(246,243,236,.18); }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num { font-family: var(--font-mono); font-size: clamp(19px, 2.4vw, 28px); font-weight: 700; color: var(--accent); line-height: 1; }
.hero-stat-cap { font-size: 11.5px; color: rgba(246,243,236,.55); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-on-dark); padding: 14px 4px; transition: color .3s var(--ease-sharp); }
.link-arrow span { transition: transform .3s var(--ease-sharp); }
.hero-full .link-arrow { color: #fff; }
.dark-section .link-arrow { color: var(--text-on-dark); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover span { transform: translateX(4px); } .link-arrow:hover { color: var(--accent); } }
.hero-caption {
  position: absolute; right: 24px; bottom: 24px; z-index: 2;
  background: rgba(19,26,43,.72); color: rgba(246,243,236,.9);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em;
  padding: 8px 14px;
}
.hero-dots { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 8px; }
/* 시각적으로는 26x3px 바 형태를 유지하되, 실제 탭 영역은 26x24px로 넓힌다(::after가 시각 바, 버튼 자체가 히트박스) */
.hero-dot-btn { position: relative; width: 26px; height: 24px; background: none; border: none; padding: 0; cursor: pointer; }
.hero-dot-btn::after {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: 3px; background: rgba(246,243,236,.32); transition: background .25s var(--ease-smooth);
}
.hero-dot-btn.active::after { background: var(--accent); }
@media (max-width: 900px) {
  .hero-full { min-height: 86vh; min-height: 86dvh; }
  .hero-ghost-text { font-size: 26vw; }
  .hero-index-label { display: none; }
  .hero-full-inner { padding-top: 120px; padding-bottom: 48px; }
  .hero-full .hero-inner { max-width: none; }
  .hero-caption { right: auto; left: 20px; }
  .hero-dots { left: auto; right: 20px; }
}

/* ===== Marquee 티커 (실제 서비스 사실만, 가격/건수 없음) ===== */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 18px 0; }
.marquee-track { display: inline-flex; gap: 0; white-space: nowrap; animation: marquee-scroll 30s linear infinite; will-change: transform; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; padding: 0 28px; font-size: clamp(14px, 1.6vw, 18px); font-weight: 600; color: var(--muted); border-right: 1px solid var(--border); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== 번호 매긴 섹션 eyebrow (01 — LABEL) ===== */
.eyebrow-num { display: flex; align-items: baseline; gap: 12px; justify-content: center; margin-bottom: 4px; }
.eyebrow-num .num { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--accent); }
.eyebrow-num .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dark-section .eyebrow-num .label { color: rgba(246,243,236,.5); }

/* ===== Bento 카테고리 카드 — 포스터형(사진 풀블리드 + 하단 스크림에 텍스트 오버레이) ===== */
.bento-card { position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-glide); }
@media (hover: hover) and (pointer: fine) { .bento-card:hover img { transform: scale(1.07); } }
.bento-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,26,43,.92) 0%, rgba(19,26,43,.45) 42%, rgba(19,26,43,0) 68%);
}
.bento-card__tag {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,243,236,.8);
}
.bento-card__body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.bento-card__body h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.bento-card__body p { color: rgba(246,243,236,.7); font-size: 13.5px; margin: 0 0 14px; }
.bento-card__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 14px; transition: gap .3s var(--ease-snap); }
@media (hover: hover) and (pointer: fine) { .bento-card:hover .bento-card__cta { gap: 12px; } }

/* ===== Section rhythm — 여백을 넉넉히 둔 미니멀 톤 ===== */
section { padding: 104px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--text-on-dark); }
.section-head p { color: var(--muted); }
/* 비대칭 변형 — 전 섹션 중앙정렬 획일화를 깨는 좌측정렬 헤더 (PROCESS/FAQ 등 일부 섹션 전용) */
.section-head--left { text-align: left; margin: 0 0 56px; }
.section-head--left h2::after { margin: 14px 0 0; }
.section-head--left .eyebrow-num { justify-content: flex-start; }
@media (max-width: 768px) { .section-head--left { text-align: center; } .section-head--left h2::after { margin: 14px auto 0; } }
.dark-section {
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,.09) 1.5px, transparent 0) 0 0/26px 26px,
    var(--primary);
  color: var(--text-on-dark);
  position: relative;
}
.dark-section h2, .dark-section .section-head p { color: var(--text-on-dark); }
.dark-section .section-head p { opacity: .75; }

/* ===== 분위기 레이어 — 전역 노이즈 텍스처 + 선택 섹션 앰비언트 글로우 ===== */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.glow-section { position: relative; overflow: hidden; }
.glow-section::before {
  content: ''; position: absolute; z-index: -1; top: -18%; right: -10%;
  width: 480px; height: 480px; max-width: 60%; border-radius: 50%;
  background: var(--accent); opacity: .1; filter: blur(100px);
  pointer-events: none;
}
.glow-section::after {
  content: ''; position: absolute; z-index: -1; bottom: -20%; left: -8%;
  width: 360px; height: 360px; max-width: 50%; border-radius: 50%;
  background: var(--accent-2); opacity: .07; filter: blur(90px);
  pointer-events: none;
}

/* ===== Grid utilities (no inline styles) ===== */
.grid-split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* 3개 항목 전용 — 균등 3분할 대신 첫 항목을 넓혀 "3개 동일 카드" 클리셰를 피한다 */
.grid-featured-3 { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 20px; }
.grid-featured-3 > *:first-child { grid-column: 1; grid-row: 1 / 3; }
.grid-featured-3 > *:nth-child(2) { grid-column: 2; grid-row: 1; }
.grid-featured-3 > *:nth-child(3) { grid-column: 2; grid-row: 2; }
.grid-featured-3 .card:first-child { border-top: 3px solid var(--accent); display: flex; flex-direction: column; }
.grid-featured-3 .card:first-child img { flex: 1; object-fit: cover; }
.grid-featured-3 .card:first-child .card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.stat-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; align-items: center; }
@media (max-width: 768px) {
  .grid-split-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-featured-3 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .grid-featured-3 > *:first-child, .grid-featured-3 > *:nth-child(2), .grid-featured-3 > *:nth-child(3) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 600px) { .stat-grid-3 { grid-template-columns: 1fr; gap: 16px; } }


/* ===== Cards ===== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease-glide), box-shadow .4s var(--ease-glide), border-color .3s var(--ease-smooth); }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--accent); } }
.card-body { padding: 28px; }
.card h3 { font-size: 18px; color: var(--text-on-dark); }
.card p { color: var(--muted); font-size: 14.5px; }
.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }
.badge { font-family: var(--font-body); font-size: 12px; background: var(--accent-dim); color: var(--accent); padding: 4px 10px; border-radius: 0; transition: background .25s var(--ease-smooth), color .25s var(--ease-smooth); }
@media (hover: hover) and (pointer: fine) { .badge:hover { background: var(--accent); color: #10140d; } }

/* ===== Spec items — 카드 박스 없이 상단 라인+여백으로만 구분 (Anti-Card Overuse) ===== */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.spec-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.spec-grid-featured { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px 28px; }
.spec-item { border-top: 2px solid var(--border); padding-top: 18px; }
.spec-item h3 { font-family: var(--font-head); font-size: 17px; color: var(--text-on-dark); margin: 0 0 6px; }
.spec-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.spec-grid-featured > .spec-item:first-child { border-top-color: var(--accent); border-top-width: 3px; }
.spec-grid-featured > .spec-item:first-child h3 { font-size: 21px; }
@media (max-width: 768px) {
  .spec-grid, .spec-grid-4, .spec-grid-featured { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Link card (내부링크, 실사진 썸네일) ===== */
.link-card { display: block; }
.link-card img { aspect-ratio: 16/11; object-fit: cover; overflow: hidden; }
.link-card .card-body { display: flex; align-items: center; justify-content: space-between; }

/* ===== 관련 안내 그리드의 상담 CTA 카드 (5개 링크 + 1개 상담 카드 고정) ===== */
.related-cta-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; height: 100%; min-height: 180px; padding: 32px 20px; text-align: center;
  background: var(--primary); border-color: var(--primary);
  transition: background .3s var(--ease-smooth);
}
.related-cta-card h3 { color: #fff; margin: 0; }
.related-cta-card span { color: var(--accent); font-weight: 700; font-size: 18px; }
@media (hover: hover) and (pointer: fine) { .related-cta-card:hover { background: var(--primary-2); } }

/* ===== Stat ===== */
.stat-num { font-family: var(--font-mono); font-size: 40px; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); }
.stat-counter { text-align: center; }
.stat-counter .stat-num { font-size: clamp(30px, 4vw, 44px); display: block; }
.dark-section .stat-counter .stat-num { color: var(--accent); }
.dark-section .stat-counter .stat-label { color: rgba(246,243,236,.6); }

/* ===== 실차 이미지 마퀴 (텍스트 티커 .marquee-wrap과 별개 — 이미지 무한 스크롤) ===== */
.img-marquee-wrap { overflow: hidden; padding: 8px 0; }
.img-marquee-track { display: inline-flex; gap: 16px; animation: marquee-scroll 42s linear infinite; will-change: transform; }
.img-marquee-track img { width: 300px; height: 200px; object-fit: cover; flex: none; border: 1px solid var(--border); }
@media (max-width: 768px) { .img-marquee-track img { width: 220px; height: 148px; } }
@media (prefers-reduced-motion: reduce) { .img-marquee-track { animation: none; } }

/* ===== 히어로 CTA 안심 마이크로카피 ===== */
.hero-privacy-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 12.5px; color: rgba(246,243,236,.6); max-width: 360px; }
.hero-privacy-note svg { flex: none; margin-top: 1px; }

/* ===== Process / timeline (연결선은 .proc-step 자체 기준, gap 금지) ===== */
.proc-list { display: flex; list-style: none; margin: 0; padding: 0; }
.proc-step { flex: 1; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px;
  background: var(--border); z-index: 0;
}
/* 연결선 '드로우' 오버레이 — 트랙(::after) 위에 accent색으로 scaleX(0→1) 애니메이션 */
.proc-step .proc-line {
  position: absolute; top: 24px; left: 50%; width: 100%; height: 2px;
  background: var(--accent); z-index: 0; transform: scaleX(0); transform-origin: left center;
}
.proc-step:last-child .proc-line { display: none; }
.proc-num {
  position: relative; z-index: 1; margin: 0 auto 12px; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--accent); border: 2px solid var(--accent);
  font-family: var(--font-mono); font-weight: 700;
}
.proc-step p { font-size: 14px; font-weight: 600; }
.proc-desc { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.dark-section .proc-desc { color: rgba(246,243,236,.55); }
@media (max-width: 768px) {
  .proc-list { flex-direction: column; gap: 10px; }
  .proc-step { padding: 24px 0; }
  .proc-step::after { display: none; }
}

/* ===== Checklist / timeline card (가이드 페이지) ===== */
.chk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.chk-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); padding: 16px 18px; }
.chk-list li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #10140d; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ===== Authority block (신뢰 근거 — 브랜드 사실만, 허구 수치 없음) ===== */
.authority-block { max-width: 720px; margin: 72px auto 0; padding-top: 56px; border-top: 1px solid var(--border); text-align: center; }
.authority-block .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: block; }
.authority-block blockquote { font-size: clamp(18px,2.2vw,22px); font-weight: 600; color: var(--text-on-dark); line-height: 1.5; margin: 0 0 24px; }
.authority-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 0; margin: 0; }
.authority-list li { font-size: 13.5px; color: var(--muted); position: relative; padding-left: 14px; }
.authority-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.tl-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.tl-list li { position: relative; padding: 0 0 28px 24px; }
.tl-list li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tl-list h4 { font-size: 15px; margin-bottom: 4px; }
.tl-list p { color: var(--muted); font-size: 14px; margin: 0; }

.cmp-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.cmp-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14.5px; }
table.cmp-table th, table.cmp-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.cmp-table th { background: var(--bg); font-family: var(--font-body); font-size: 13px; }
table.cmp-table tbody tr { transition: background .25s var(--ease-smooth); }
@media (hover: hover) and (pointer: fine) { table.cmp-table tbody tr:hover { background: var(--accent-dim); } }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 4px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; color: var(--text-on-dark); font-family: var(--font-body); transition: color .25s var(--ease-smooth); }
@media (hover: hover) and (pointer: fine) { .faq-q:hover { color: var(--accent); } }
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-smooth); color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 4px 18px; }
.dark-section .faq-item { border-bottom-color: rgba(246,243,236,.14); }
.dark-section .faq-q { color: var(--text-on-dark); }
.dark-section .faq-a { color: rgba(246,243,236,.65); }

/* ===== CTA band ===== */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--text-on-dark); }

/* ===== Ready section (final persuasion — copy+CTA left, trust checklist right) ===== */
.ready-section { padding: 88px 0 40px; }
.ready-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ready-copy h2 { color: var(--text-on-dark); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 10px 0 18px; }
.ready-lead { color: var(--text-on-dark); font-size: 18px; font-weight: 600; line-height: 1.5; margin: 0 0 10px; }
.ready-sub { color: rgba(246,243,236,.65); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.ready-copy .hero-privacy-note { color: rgba(246,243,236,.55); max-width: 320px; }
.ready-list { list-style: none; margin: 0; padding-top: 4px; border-top: 1px solid rgba(246,243,236,.16); }
.ready-list li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid rgba(246,243,236,.14); }
.ready-list__num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 3px; flex: none; width: 24px; }
.ready-list h3 { color: var(--text-on-dark); font-size: 16px; margin: 0 0 4px; }
.ready-list p { color: rgba(246,243,236,.6); font-size: 13.5px; line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .ready-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Footer ===== */
.ftr { background: var(--primary); color: var(--text-on-dark); padding: 56px 0 100px; }
.ftr-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr h4 { font-size: 14px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 14px; }
.ftr-biz p:first-child { color: #fff; font-weight: 600; }
.ftr p { margin: 0 0 6px; font-size: 14px; opacity: .85; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { font-size: 14px; opacity: .85; transition: opacity .25s var(--ease-smooth), color .25s var(--ease-smooth); }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { opacity: 1; color: var(--accent); } }
@media (max-width: 768px) { .ftr-cols { grid-template-columns: 1fr; gap: 28px; } }

#back-to-top { position: fixed; right: 20px; bottom: 84px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #10140d; border: none; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-smooth), transform .25s var(--ease-snap); z-index: 90; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { #back-to-top:hover { transform: translateY(-3px); } }
#back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ===== Photo CTA (푸터 바로 위, 스플릿 이미지+카피 — 히어로/본토카드와 다른 3번째 레이아웃 문법) ===== */
.photo-cta { padding: 112px 0; }
.photo-cta-inner { display: grid; grid-template-columns: .95fr 1.05fr; background: var(--surface); border: 1px solid var(--border); }
.photo-cta-media { position: relative; min-height: 360px; overflow: hidden; }
.photo-cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-cta-copy { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.photo-cta-copy .eyebrow { margin-bottom: 14px; }
.photo-cta-copy h2 { color: var(--text-on-dark); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.22; margin: 0 0 18px; }
.photo-cta-sub { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 32px; max-width: 380px; }
@media (max-width: 768px) {
  .photo-cta { padding: 72px 0; }
  .photo-cta-inner { grid-template-columns: 1fr; }
  .photo-cta-media { min-height: 220px; }
  .photo-cta-copy { padding: 36px 24px; }
}

/* ===== Mobile sticky bar / floating CTA ===== */
#mob-bar { display: none; }
#float-cta { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  #mob-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--accent); }
  #mob-bar a { display: block; text-align: center; padding: 16px; color: #10140d; font-weight: 700; }
  .hdr-nav, .hdr-phone { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 769px) {
  #float-cta { display: flex; position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #10140d; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(184,242,74,.35); z-index: 90; }
  #float-cta svg { width: 24px; height: 24px; }
}

/* ===== Mobile nav slide ===== */
#mob-nav-backdrop { display: none; }
@media (max-width: 768px) {
  #mob-nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: var(--surface); z-index: 150; transition: right .25s ease; box-shadow: -8px 0 24px rgba(0,0,0,.15); padding: 80px 24px 24px; }
  #mob-nav.open { right: 0; }
  #mob-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  #mob-nav a { display: block; padding: 12px 4px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--border); }
  /* 메뉴 열림 시 뒤 콘텐츠를 덮는 딤 배경 — 탭하면 닫힘 */
  #mob-nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 140;
    background: rgba(0,0,0,.5); opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
  }
  #mob-nav-backdrop.open { opacity: 1; pointer-events: auto; }
}

/* ===== Reveal animation ===== */
.reveal, .stagger { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in, .stagger.in { opacity: 1; transform: translateY(0); }
.stagger.in:nth-child(2) { transition-delay: .08s; }
.stagger.in:nth-child(3) { transition-delay: .16s; }
.stagger.in:nth-child(4) { transition-delay: .24s; }
/* 카드/갤러리 등장 모션 변주 — reveal(translateY)과 구분되는 pop(scale) 계열, transform+opacity만 사용. .reveal 뒤에 와야 우선 적용됨 */
.reveal-pop.reveal, .reveal-pop.stagger { transform: translateY(10px) scale(.97); transition: opacity .5s cubic-bezier(.34,1.2,.64,1), transform .5s cubic-bezier(.34,1.2,.64,1); }
.reveal-pop.reveal.in, .reveal-pop.stagger.in { transform: translateY(0) scale(1); }
@keyframes hero-drift { 0%,100% { transform: scale(1.02) translateY(0); } 50% { transform: scale(1.06) translateY(-6px); } }

/* ===== Table overflow guard ===== */
table { overflow-wrap: anywhere; }

body { overflow-x: hidden; }

/* ===== Focus (키보드 접근성 — 전 인터랙티브 요소 공통 1규칙) ===== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== Responsive breakpoints ===== */
@media (max-width: 1024px) {
  .hdr-nav { gap: 16px; margin-left: 20px; }
}
/* 태블릿 중간 구간 — 데스크톱(104px)과 모바일(68px) 사이 단계 */
@media (max-width: 1024px) and (min-width: 769px) {
  section { padding: 84px 0; }
  .ready-grid { gap: 40px; }
  .photo-cta-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 68px 0; }
  .hero:not(.hero-full) { min-height: 460px; }
  .hero-textbox { margin: 24px 16px; padding: 24px; }
}
@media (max-width: 480px) {
  .stat-grid-3 { grid-template-columns: 1fr; }
  .hdr-logo__name { font-size: 16px; }
  .hdr-logo__sub { display: none; }
}

/* ===== 커스텀 커서 (데스크톱 전용) ===== */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor * { cursor: none !important; }
  .cursor-dot {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); pointer-events: none; z-index: 999;
    transform: translate(-50%, -50%);
    transition: width .2s var(--ease-snap), height .2s var(--ease-snap), background .2s var(--ease-smooth);
    will-change: transform;
  }
  .cursor-dot.is-hover { width: 40px; height: 40px; background: rgba(184,242,74,.18); border: 1px solid var(--accent); }
}

/* ===== 모션 감소 설정 존중 (필수) — 모든 애니메이션/트랜지션을 사실상 즉시 전환으로 축소 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide img { animation: none !important; }
}
