:root {
  --stone: #EDE9E2;
  --stone-mid: #E3DDD2;
  --stone-dark: #D3CCC0;
  --panel: #FFFFFF;
  --ink: #23262B;
  --ink-soft: #565B63;
  --pine: #2F4B44;
  --pine-deep: #1F332E;
  --pine-pale: #E4EAE7;
  --brass: #B08B57;
  --line: #D3CCC0;

  --f-sans: 'Pretendard', 'Noto Sans KR', sans-serif;
  --f-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --fs-display: clamp(2.6rem, 5.4vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 4.2vw, 3.2rem);
  --fs-h2: clamp(1.6rem, 2.6vw, 2.3rem);
  --fs-h3: clamp(1.05rem, 1.5vw, 1.25rem);
  --fs-body: clamp(0.92rem, 1.1vw, 1rem);
  --fs-small: 0.82rem;
  --fs-label: 0.72rem;

  --sp: clamp(64px, 8vw, 112px);
  --sp-sm: clamp(40px, 5vw, 72px);
  --max-w: 1180px;
  --col: clamp(16px, 4vw, 44px);

  --t: 0.25s cubic-bezier(.4,0,.2,1);
  --t-slow: 0.55s cubic-bezier(.16,1,.3,1);
  --radius: 3px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: 0; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--col); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--pine); z-index: 9999; }

/* ── 라벨/치수 태그 ───────────────────────── */
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--pine);
  margin-bottom: 10px;
}
.label-tag::before { content: ''; width: 14px; height: 1px; background: var(--pine); }
.label-tag--light { color: var(--pine-pale); }
.label-tag--light::before { background: var(--pine-pale); }

.dim-tag { display: inline-flex; align-items: center; gap: 8px; }
.dim-tag-line { width: 32px; height: 1px; background: var(--brass); position: relative; }
.dim-tag-line::before, .dim-tag-line::after { content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--brass); }
.dim-tag-line::before { left: 0; }
.dim-tag-line::after { right: 0; }
.dim-tag-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--brass); white-space: nowrap; }

/* ── 패널심 그리드(시그니처) ──────────────────
   gap 색상으로 이중선 이음새를 표현 — FINERO의 단일 헤어라인 보더그리드와 다른 메커니즘 */
.grid-panel { display: grid; gap: 3px; background: var(--line); border: 1px solid var(--line); }
.grid-panel > * { background: var(--panel); }
.grid-panel--dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.08); }
.grid-panel--dark > * { background: var(--ink); }

/* ── 헤더/내비 ───────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--stone); border-bottom: 1px solid var(--line); transition: border-color var(--t), background var(--t); }
.site-header.scrolled { background: var(--panel); border-bottom-color: var(--ink); }
.nav-inner { display: flex; align-items: center; padding: 16px var(--col); max-width: calc(var(--max-w) + var(--col) * 2); margin: 0 auto; gap: 32px; }
.site-logo { display: flex; flex-direction: column; }
.logo-text { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.logo-sub { font-size: 0.68rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.02em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); padding: 8px 12px; transition: color var(--t); }
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-cta { margin-left: 8px; background: var(--pine); color: var(--stone); padding: 10px 20px; font-weight: 700; font-size: 0.85rem; border-radius: var(--radius); transition: background var(--t); }
.main-nav .nav-cta:hover { background: var(--pine-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 32px; height: 32px; align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: 0; right: -100%; width: min(280px, 85vw); height: 100dvh; background: var(--panel); flex-direction: column; align-items: flex-start; padding: 84px 24px 32px; border-left: 1px solid var(--line); transition: right 0.35s cubic-bezier(.22,1,.36,1); z-index: 1002; gap: 4px; }
  .main-nav.open { right: 0; }
  .main-nav a { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--stone-mid); }
  .main-nav .nav-cta { margin-left: 0; width: 100%; text-align: center; margin-top: 12px; }
}

/* ── 히어로: 메인(스플릿) ───────────────────── */
.hero { min-height: 100dvh; display: grid; grid-template-columns: 3fr 2fr; padding-top: 56px; background: var(--stone); }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px,6vw,80px) var(--col); padding-left: max(var(--col), calc((100vw - var(--max-w)) / 2 + var(--col))); }
.hero h1 { font-size: var(--fs-display); line-height: 1.08; margin: 24px 0 20px; color: var(--ink); }
.hero-desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.85; max-width: 440px; margin-bottom: 36px; }
.hero-cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta-num { font-family: var(--f-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine); margin-bottom: 4px; }
.hero-meta-val { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.hero-right { position: relative; overflow: hidden; background: var(--stone-dark); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; }
.hero-right .dim-tag { position: absolute; left: 20px; bottom: 20px; background: rgba(35,38,43,0.72); padding: 8px 14px; border-radius: var(--radius); }
.hero-right .dim-tag-label { color: var(--stone); }
.hero-right .dim-tag-line { background: var(--stone); }
.hero-right .dim-tag-line::before, .hero-right .dim-tag-line::after { background: var(--stone); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { order: -1; height: 56vw; max-height: 480px; }
  .hero-left { padding-left: var(--col); }
}
@media (max-width: 600px) { .hero-right { height: 60vw; } }

/* ── 히어로: 서브페이지(오버레이) ───────────────── */
.sub-hero { min-height: 58vh; position: relative; display: flex; align-items: flex-end; padding-bottom: 52px; padding-top: 56px; background: var(--ink); }
.sub-hero-img { position: absolute; inset: 0; }
.sub-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(35,38,43,0.94) 0%, rgba(35,38,43,0.55) 48%, rgba(35,38,43,0.18) 100%); }
.sub-hero-content { position: relative; z-index: 2; max-width: calc(var(--max-w) + var(--col) * 2); margin: 0 auto; padding: 0 var(--col); width: 100%; }
.sub-hero h1 { color: var(--stone); font-size: var(--fs-h1); margin: 14px 0 10px; }
.sub-hero p { color: rgba(237,233,226,0.72); font-size: 0.98rem; max-width: 520px; font-weight: 400; }
.sub-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 760px) { .sub-hero { min-height: 46vh; } }

/* ── 줄자 티커(마퀴) ───────────────────────── */
.tape-strip { background: var(--ink); overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.tape-strip-inner { display: inline-flex; animation: tape-scroll 26s linear infinite; }
.tape-strip:hover .tape-strip-inner { animation-play-state: paused; }
@keyframes tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape-item { display: inline-flex; align-items: center; gap: 14px; padding: 13px 28px; font-family: var(--f-mono); font-size: 0.76rem; font-weight: 500; color: rgba(237,233,226,0.55); letter-spacing: 0.04em; border-right: 1px dashed rgba(255,255,255,0.14); }
.tape-item-tick { width: 1px; height: 10px; background: var(--brass); }

/* ── 버튼 ───────────────────────── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--pine); color: var(--stone); padding: 14px 26px; font-size: 0.9rem; font-weight: 700; border-radius: var(--radius); transition: background var(--t); }
.btn-primary:hover { background: var(--pine-deep); }
.btn-ghost { color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color var(--t), border-color var(--t); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-outline-light { border: 1.5px solid var(--stone); color: var(--stone); padding: 12px 22px; font-size: 0.86rem; font-weight: 600; border-radius: var(--radius); transition: background var(--t), color var(--t); }
.btn-outline-light:hover { background: var(--stone); color: var(--ink); }
.btn-brass { background: var(--brass); color: var(--ink); padding: 14px 26px; font-size: 0.9rem; font-weight: 700; border-radius: var(--radius); transition: filter var(--t); }
.btn-brass:hover { filter: brightness(0.92); }

/* ── 카테고리 쇼케이스 / 서비스 그리드(패널심) ─────── */
.showcase-section, .content-section { padding: var(--sp) 0; }
.content-section h2 { margin-bottom: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.section-head h2 { color: var(--ink); }
.showcase-grid { grid-template-columns: repeat(4, 1fr); }
.showcase-card { display: block; overflow: hidden; }
.showcase-card-img { aspect-ratio: 4/3; overflow: hidden; }
.showcase-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.showcase-card:hover .showcase-card-img img { transform: scale(1.04); }
.showcase-card-body { padding: 14px 16px; }
.showcase-card-cat { font-size: 0.72rem; font-weight: 700; color: var(--pine); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.showcase-card h3 { font-size: 1.05rem; color: var(--ink); line-height: 1.3; }
.showcase-card-more { background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100%; padding: 20px; transition: background var(--t); }
.showcase-card-more:hover { background: var(--pine-deep); }
.showcase-card-more-icon { width: 44px; height: 44px; border: 1px solid rgba(237,233,226,0.28); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--stone); }
.showcase-card-more .txt { color: var(--stone); font-size: 0.95rem; font-weight: 700; }
@media (max-width: 980px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .showcase-grid { grid-template-columns: 1fr; }
  /* 카테고리 카드는 5개까지만, 상담하기 카드(마지막)는 항상 노출 → 모바일 총 6개 고정 */
  .showcase-grid > .showcase-card:nth-child(n+6):not(:last-child) { display: none; }
}

/* ── 다크 서비스 밴드 ───────────────────────── */
.dark-band { background: var(--ink); padding: var(--sp) 0; }
.dark-band h2 { color: var(--stone); }
.dark-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.dark-item { padding: 36px 26px; transition: background var(--t); }
.dark-item:hover { background: rgba(255,255,255,0.03); }
.dark-item-num { font-family: var(--f-mono); font-size: 0.7rem; color: var(--brass); display: block; margin-bottom: 20px; }
.dark-item h3 { color: var(--stone); font-size: 1rem; margin-bottom: 10px; }
.dark-item p { color: rgba(237,233,226,0.55); font-size: 0.85rem; line-height: 1.7; }
@media (max-width: 700px) { .dark-grid { grid-template-columns: 1fr; } }

/* ── 프로세스 스텝 ───────────────────────── */
.process-steps { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.process-step { padding: 28px 24px; }
.process-step-num { font-family: var(--f-mono); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--stone-dark); display: block; margin-bottom: 16px; }
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--ink); }
.process-step p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 700px) { .process-steps { grid-template-columns: 1fr; } }

/* ── 비교표 / 체크리스트 ───────────────────── */
.compare-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.compare-table th { background: var(--stone-mid); font-weight: 700; }
.compare-table td.hl { color: var(--pine); font-weight: 700; }
.checklist { display: flex; flex-direction: column; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.checklist li { background: var(--panel); padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; }
.checklist li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 6px; background: var(--pine); border-radius: 50%; }

/* ── 인트로(텍스트+사진 2단) ───────────────── */
.intro-split { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.intro-split > * { min-width: 0; }
.intro-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.intro-text h2 { margin-bottom: 16px; }
.intro-text p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.85; }
.intro-text p + p, .intro-text p + ul { margin-top: 14px; }
.intro-img { overflow: hidden; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } .intro-img { order: -1; aspect-ratio: 4/3; } }

/* ── FAQ ───────────────────────── */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--f-mono); font-size: 1.1rem; color: var(--pine); flex-shrink: 0; transition: transform var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 20px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.75; }
@media (max-width: 760px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }

/* ── CTA 섹션 ───────────────────────── */
.cta-section { background: var(--pine-deep); padding: var(--sp) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.cta-section h2 { color: var(--stone); font-size: clamp(1.8rem,3.6vw,2.8rem); margin: 12px 0 14px; }
.cta-desc { color: rgba(237,233,226,0.62); font-size: 0.92rem; max-width: 460px; line-height: 1.8; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; text-align: left; } }

/* ── CTA(사진 배경, 홈페이지 최종 CTA) ───────────────── */
.cta-photo { position: relative; padding: var(--sp) 0; overflow: hidden; }
.cta-photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-photo-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(31,51,46,0.94) 0%, rgba(31,51,46,0.78) 55%, rgba(31,51,46,0.55) 100%); }
.cta-photo .cta-inner { position: relative; z-index: 2; }
.cta-photo h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin: 14px 0 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.cta-photo .cta-desc { color: rgba(255,255,255,0.82); }

/* ── 내부링크 카드(NSEO) ───────────────────── */
.nseo-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.nseo-card { display: block; overflow: hidden; transition: background var(--t); }
.nseo-card:hover { background: var(--stone); }
.nseo-card-img { aspect-ratio: 16/9; overflow: hidden; }
.nseo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.nseo-card:hover .nseo-card-img img { transform: scale(1.04); }
.nseo-card-body { padding: 18px 20px; }
.nseo-badge { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.nseo-badge.cur { color: var(--pine); }
.nseo-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.nseo-card p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nseo-card-more { background: var(--ink); display: flex !important; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 20px; min-height: 100%; }
.nseo-card-more:hover { background: var(--pine-deep); }
.nseo-card-more-icon { width: 44px; height: 44px; border: 1px solid rgba(237,233,226,0.24); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--stone); }
.nseo-card-more span.txt { color: var(--stone); font-size: 0.85rem; font-weight: 700; }
@media (max-width: 980px) { .nseo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nseo-grid { grid-template-columns: 1fr; } }

/* ── 신뢰 밴드(플랫, 가이드 페이지 "핵심 요약" 등에서 사용) ───── */
.trust-band { background: var(--brass); }
.trust-band-inner { grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; }
.trust-label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(35,38,43,0.6); }
.trust-value { font-size: 1rem; font-weight: 800; color: var(--ink); }
@media (max-width: 860px) { .trust-band-inner { grid-template-columns: repeat(2, 1fr); } }

/* ── 신뢰 밴드(패럴랙스, 홈페이지 신뢰지표) ───────────────────────── */
.parallax-trust { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden; }
.parallax-trust-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.parallax-trust-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,38,43,0.55) 0%, rgba(35,38,43,0.72) 100%); }
.parallax-trust-badges { position: relative; z-index: 2; display: flex; gap: 16px; flex-wrap: wrap; padding: 48px var(--col); }
.trust-badge { background: rgba(250,250,247,0.94); backdrop-filter: blur(6px); padding: 18px 24px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); flex: 1 1 220px; }
.trust-badge-label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine); }
.trust-badge-val { font-size: 1rem; font-weight: 800; color: var(--ink); }
@media (max-width: 700px) {
  .parallax-trust { min-height: 300px; }
  .parallax-trust-bg { background-attachment: scroll; }
  .parallax-trust-badges { flex-direction: column; padding: 32px var(--col); }
}

/* ── 단일 플로우(항목 적은 나열) ───────────────── */
.flow-line { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-top: 32px; }
.flow-step { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.flow-step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine); flex-shrink: 0; }
.flow-step span.txt { font-size: 0.88rem; font-weight: 600; }
.flow-connector { width: 32px; height: 1px; background: var(--line); margin: 0 12px; }
/* 연결선을 각 step에 내장(::before)해 줄바꿈 시 step과 함께 묶여서 넘어가게 함 —
   별도 .flow-connector div로 두면 flex-wrap이 줄 끝에서 연결선만 혼자 떼어놓을 수 있음 */
.flow-step:not(:first-child)::before { content: ''; width: 32px; height: 1px; background: var(--line); flex-shrink: 0; }
@media (max-width: 700px) { .flow-connector { width: 16px; margin: 0 6px; } .flow-step:not(:first-child)::before { width: 16px; } }

/* ── Footer ───────────────────────── */
.site-footer { background: var(--ink); color: rgba(237,233,226,0.55); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 36px; margin-bottom: 44px; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.footer-biz p { font-size: 0.82rem; line-height: 1.9; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.84rem; }
.footer-col a:hover { color: var(--stone); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; font-size: 0.74rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Floating / Sticky CTA ───────────────────────── */
.floating-btns { position: fixed; bottom: 28px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; transition: bottom 0.25s ease; }
.floating-consult { display: flex; align-items: center; gap: 10px; background: var(--pine); color: var(--stone); padding: 12px 18px; font-size: 0.85rem; font-weight: 700; border-radius: var(--radius); box-shadow: 0 4px 18px rgba(47,75,68,0.32); }
.floating-consult:hover { background: var(--pine-deep); }
.floating-top { display: none; width: 40px; height: 40px; background: var(--ink); color: var(--stone); align-items: center; justify-content: center; border-radius: var(--radius); }
.floating-top.visible { display: flex; }
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001; box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
.sticky-tel, .sticky-sms { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; min-height: 54px; font-size: 0.86rem; font-weight: 700; }
.sticky-tel { background: var(--ink); color: var(--stone); }
.sticky-sms { background: var(--pine); color: var(--stone); }
.sticky-active .floating-btns { bottom: 70px; }
@media (min-width: 761px) { .sticky-cta { display: none !important; } }

/* ── Breadcrumb ───────────────────────── */
.breadcrumb { background: var(--stone-mid); border-bottom: 1px solid var(--line); padding: 10px 0; margin-top: 82px; }
.breadcrumb ol { display: flex; gap: 8px; font-size: 0.78rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--pine); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--line); }

/* ── 인라인 grid-template-columns 반응형 보정 ─────────
   페이지별로 컬럼 수가 다른 .grid-panel은 인라인 style로 지정하는데,
   인라인 스타일은 일반 클래스 규칙보다 우선하므로 좁은 화면에서 별도로 강제 조정한다. */
@media (max-width: 700px) {
  .grid-panel[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .grid-panel[style*="repeat(3"], .grid-panel[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Reveal 스크롤 애니메이션 ───────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s var(--t-slow), transform 0.65s var(--t-slow); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tape-strip-inner { animation: none; }
}

/* ── 상담 페이지 ───────────────────────── */
.consult-hero { background: var(--ink); padding: 120px 0 56px; }
.consult-hero h1 { color: var(--stone); }
.consult-hero p { color: rgba(237,233,226,0.6); margin-top: 12px; }
.big-phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: clamp(2.4rem, 8vw, 3.8rem); font-weight: 700; color: var(--stone); letter-spacing: 0.01em; margin: 26px 0 4px; transition: color var(--t); }
.big-phone:hover { color: var(--brass); }
@media (max-width: 500px) { .big-phone { font-size: clamp(1.9rem, 10vw, 2.6rem); } }
.consult-cards { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 44px auto 0; }
.consult-card { padding: 34px 28px; text-align: center; transition: background var(--t); }
.consult-card:hover { background: var(--stone); }
.consult-card-icon { width: 44px; height: 44px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; color: var(--pine); }
.consult-card h3 { font-size: 1rem; margin-bottom: 6px; }
.consult-card p { font-size: 0.82rem; color: var(--ink-soft); }
.consult-info-box { background: var(--stone-mid); border: 1px solid var(--line); padding: 26px 30px; margin-top: 28px; }
@media (max-width: 600px) { .consult-cards { grid-template-columns: 1fr; } }

/* ── 404 ───────────────────────── */
.error-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px var(--col) 60px; background: var(--stone); }
.error-page .code { font-family: var(--f-mono); font-size: 3rem; color: var(--stone-dark); }
.error-page h1 { margin: 12px 0 16px; }
.error-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
