:root {
  --primary: #131a2b;
  --primary-2: #1f2a44;
  --accent: #b84a26;
  --accent-dim: #ffe0d1;
  --bg: #f6f3ec;
  --surface: #ffffff;
  --border: #e6e0d3;
  --text-on-light: #1a1a1a;
  --text-on-dark: #f6f3ec;
  --muted: #6b6558;
  --radius: 0;
  --font-head: 'Fraunces', '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;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #fff; }
::-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-light);
  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(246,243,236,.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(19,26,43,.06); }
.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(--primary); }
.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-light); }
@media (hover: hover) and (pointer: fine) { .hdr-nav a:hover { color: var(--accent); } }
.hdr-cta { background: var(--primary); color: var(--text-on-dark); padding: 10px 20px; border-radius: 0; font-weight: 600; 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(--primary); }
#mob-nav { display: none; }

/* ===== Hero (기본 — 상세/가이드/상담 등 이미지 없는 인트로 섹션) ===== */
.hero { position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); color: var(--primary); }
.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: #fff; 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: #9c3f20; } }
.phone-cta:active { transform: scale(.98); }
.phone-cta--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
@media (hover: hover) and (pointer: fine) { .phone-cta--outline:hover { background: var(--primary); color: #fff; } }
@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; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #9c3f20; }
  .btn-outline:hover { background: var(--primary); color: #fff; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(19,26,43,.12); }
  .link-card:hover img { transform: scale(1.05); }
}
.btn-primary:active { transform: scale(.97); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(246,243,236,.5); }
@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: 19vw; 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: 680px; }
.hero-full h1 { font-size: clamp(48px, 7vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.02em; color: #fff; margin-bottom: 22px; }
.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; 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(--primary); padding: 14px 4px; }
.link-arrow span { transition: transform .25s ease; }
.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; }
.hero-dot-btn { width: 26px; height: 3px; background: rgba(246,243,236,.32); border: none; padding: 0; cursor: pointer; transition: background .2s ease; }
.hero-dot-btn.active { 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 .6s ease; }
@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 .2s ease; }
@media (hover: hover) and (pointer: fine) { .bento-card:hover .bento-card__cta { gap: 12px; } }

/* ===== Section rhythm ===== */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--primary); }
.section-head p { color: var(--muted); }
.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; }

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


/* ===== Cards ===== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card-body { padding: 20px; }
.card h3 { font-size: 18px; color: var(--primary); }
.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: #b6431a; padding: 4px 10px; border-radius: 0; }

/* ===== 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(--primary); 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);
}
.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); }

/* ===== 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;
}
.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(--primary); color: var(--text-on-dark); font-family: var(--font-mono); font-weight: 600;
}
.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: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ===== Authority block (신뢰 근거 — 브랜드 사실만, 허구 수치 없음) ===== */
.authority-block { max-width: 720px; margin: 48px auto 0; padding-top: 40px; 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(--primary); 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; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 4px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; color: var(--text-on-light); font-family: var(--font-body); }
.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 .3s ease; 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); }

/* ===== 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; }
@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(--primary); color: #fff; border: none; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; cursor: pointer; }
#back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ===== 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: #fff; 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: #fff; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(255,107,53,.4); z-index: 90; }
  #float-cta svg { width: 24px; height: 24px; }
}

/* ===== Mobile nav slide ===== */
@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); }
}

/* ===== 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; }

/* ===== Responsive breakpoints ===== */
@media (max-width: 1024px) {
  .hdr-nav { gap: 16px; margin-left: 20px; }
}
@media (max-width: 768px) {
  section { padding: 52px 0; }
  .hero:not(.hero-full) { min-height: 460px; }
  .hero-textbox { margin: 24px 16px; padding: 24px; }
}
@media (max-width: 480px) {
  .dp-stat3 { grid-template-columns: 1fr; }
  .hdr-logo__name { font-size: 16px; }
  .hdr-logo__sub { display: none; }
}

/* ===== 모션 감소 설정 존중 (필수) — 모든 애니메이션/트랜지션을 사실상 즉시 전환으로 축소 ===== */
@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; }
}
