/* ============================================================
   plusgood.co.kr 공통 스타일
   값의 근거: docs/design-direction.md (주색·보조색·배경·글자·구분선·너비·중단점)
   구성의 근거: 사용자가 전달한 Syntra 히어로 참고 컴포넌트를 정적 CSS로 옮김
   ============================================================ */

:root {
  /* 확정 값 */
  --navy: #14284b;
  --gold: #b8923a;
  --page: #f7f5f0;
  --ink: #1f2430;
  --line: #e3dfd6;

  /* 파생 값(팀장 결정) */
  --grey: #6b6a66;
  --gold-text: #9c7a2b; /* 작은 글자용 골드: 종이 배경 대비 4:1 이상 */
  --gold-soft: rgb(184 146 58 / 0.14);
  --glass: rgb(255 255 255 / 0.82);
  --glass-line: rgb(20 40 75 / 0.08);
  --shadow-card: 0 1px 2px rgb(60 50 40 / 0.04), 0 14px 34px -18px rgb(90 78 62 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.9);
  --shadow-card-lit: 0 1px 2px rgb(60 50 40 / 0.04), 0 18px 38px -18px rgb(184 146 58 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.9);

  --font: Pretendard, 'Pretendard Variable', system-ui, 'Malgun Gothic', sans-serif;
  --max: 1120px;
  --gutter: 20px;
  --nav-space: 72px; /* 실제 내비 높이로 JS가 갱신 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 48px; }
}

/* ---------- 리셋 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  word-break: keep-all;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, dl, dd, dt, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 틀: 내비와 히어로가 같은 정렬 체계를 쓴다 ---------- */
.frame {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-bg {
  background:
    radial-gradient(ellipse 60% 70% at 74% 40%, rgb(255 255 255 / 0.95) 0%, rgb(255 255 255 / 0) 70%),
    radial-gradient(ellipse 40% 45% at 78% 46%, rgb(184 146 58 / 0.08) 0%, rgb(184 146 58 / 0) 70%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgb(233 230 223 / 0.7) 0%, rgb(233 230 223 / 0) 70%),
    var(--page);
}

/* ---------- 글자 ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey);
}

.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.h1 {
  font-size: clamp(2.2rem, 1rem + 3vw, 3.75rem);
  line-height: 1.12;
  text-wrap: balance;
  word-break: keep-all;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--navy);
}

.h1 .accent { color: var(--gold); }

.h2 {
  font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--navy);
}

.h3 {
  font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; color: var(--navy);
}

.lead { font-size: 17px; line-height: 1.65; color: var(--grey); max-width: 30rem; }

@media (min-width: 1024px) {
  .lead { font-size: 19px; }
}

.muted { color: var(--grey); }

/* [확인 필요] 표식: 확정 전 값임이 눈에 띄게 */
.todo {
  display: inline-block;
  padding: 0 0.4em;
  border-radius: 0.4em;
  background: rgb(184 146 58 / 0.12);
  color: var(--gold-text);
  font-size: 0.92em;
  font-weight: 500;
}

/* ---------- 버튼: 라벨이 큐브처럼 뒤집히는 플립 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms var(--ease);
  perspective: 600px;
}

@media (min-width: 640px) {
  .btn { min-height: 54px; }
}

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #1a3460; }

.btn-ghost {
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.5); color: var(--navy);
}
.btn-ghost:hover { border-color: #cfcabf; background: rgb(255 255 255 / 0.8); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a8842f; }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

.flip-box {
  --d: 0.75em;
  display: inline-grid;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--d) * -1)) rotateX(0deg);
  transition: transform 550ms var(--ease);
}

.flip-face {
  grid-area: 1 / 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: 1.5em; line-height: 1.5em; white-space: nowrap;
  backface-visibility: hidden;
  transform: translateZ(var(--d));
}

.flip-back { transform: rotateX(-90deg) translateZ(var(--d)); }

.btn:hover .flip-box,
.btn:focus-visible .flip-box { transform: translateZ(calc(var(--d) * -1)) rotateX(90deg); }

.btn .icon { width: 1em; height: 1em; flex: none; }
.btn .play {
  display: grid; place-items: center; width: 1.25em; height: 1.25em;
  border: 1px solid currentColor; border-radius: 999px;
}
.btn .play svg { width: 0.55em; height: 0.55em; fill: currentColor; }

/* ---------- 내비 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }

.nav-bar {
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.nav-bar.is-scrolled,
.site-header:has(.nav-menu[open]) .nav-bar {
  background: rgb(247 245 240 / 0.82);
  border-bottom-color: rgb(20 40 75 / 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 72px;
}

@media (min-width: 1024px) {
  .nav { height: 88px; }
}

.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.brand-name .todo { font-size: 13px; font-weight: 500; letter-spacing: 0; }

.nav-links { display: none; align-items: center; gap: 34px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15.5px; color: var(--navy);
  transition: color 200ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] { color: var(--gold-text); }

.nav-links a[aria-current='page'] { font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* 모바일 메뉴: details/summary, JS 없음 */
.nav-menu { position: relative; }

@media (min-width: 1024px) {
  .nav-menu { display: none; }
}

.nav-menu summary {
  list-style: none;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: var(--navy);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 22px; height: 22px; }
.nav-menu[open] summary .ico-menu { display: none; }
.nav-menu:not([open]) summary .ico-close { display: none; }

.nav-menu-panel {
  position: fixed; left: 0; right: 0; top: var(--nav-space);
  /* 열린 상태의 내비 바에 backdrop-filter가 걸려 안쪽 흐림이 본문을 못 덮으므로 불투명 배경을 쓴다 */
  background: var(--page);
  box-shadow: 0 18px 30px -24px rgb(20 40 75 / 0.35);
  border-bottom: 1px solid rgb(20 40 75 / 0.08);
  padding: 8px var(--gutter) 20px;
  animation: drop 260ms var(--ease) backwards;
}

.nav-menu-panel a {
  display: flex; align-items: center; min-height: 48px;
  font-size: 16px; color: var(--navy);
  border-top: 1px solid rgb(20 40 75 / 0.06);
}
.nav-menu-panel a:first-child { border-top: 0; }
.nav-menu-panel a[aria-current='page'] { color: var(--gold-text); font-weight: 600; }

/* ---------- 인트로: CSS로 첫 페인트부터 등장 ---------- */
.rise { animation: rise 700ms var(--ease) backwards; }
.drop { animation: drop 600ms var(--ease) backwards; }
.enter { animation: enter 1100ms var(--ease) 250ms backwards; }

@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes drop { from { opacity: 0; translate: 0 -12px; } }
@keyframes enter { from { opacity: 0; scale: 0.97; } }

/* ---------- 바닥 격자: 히어로 전체 아래, 시각물 쪽과 아래쪽에서 가장 또렷 ---------- */
.hero {
  position: relative; isolation: isolate; overflow-x: clip;
}

@media (min-width: 1024px) {
  .hero { min-height: calc(100dvh - var(--nav-space)); }
}

.floor {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}

.floor-grid,
.floor-lit {
  --area: radial-gradient(ellipse 75% 80% at 72% 70%, #000 20%, transparent 100%);
  --edges: linear-gradient(to left, transparent 0%, #000 22%), linear-gradient(to top, transparent 0%, #000 28%);
  -webkit-mask-image: var(--area), var(--edges);
  mask-image: var(--area), var(--edges);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.floor-grid { position: absolute; inset: 0; opacity: 0.4; }

.floor-spot {
  position: absolute; top: 0; left: 0;
  width: 340px; height: 340px;
  opacity: 0;
  transition: opacity 400ms ease;
  will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, transparent 100%);
}

.floor-lit { position: absolute; top: 0; left: 0; will-change: transform; }

.floor[data-spot='on'] .floor-spot { opacity: 0.75; }

@media (max-width: 1023px) {
  .floor-grid,
  .floor-lit { --area: radial-gradient(ellipse 90% 60% at 50% 75%, #000 20%, transparent 100%); }
}

/* ---------- 히어로 격자 ---------- */
.hero-grid {
  display: grid; align-items: center; gap: 24px;
  padding-top: 24px; padding-bottom: 48px;
}

@media (min-width: 1024px) {
  .hero-grid {
    min-height: inherit;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    padding-top: 32px; padding-bottom: 40px;
  }
}

@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; }
}

.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy .h1 { margin-top: 26px; max-width: 14em; }
.hero-copy .lead { margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }

/* 안내 원칙 3가지(수치 없는 신뢰 표시) */
/* 기본(모바일·데스크톱 좁은 문구 칼럼): 세로 목록. 640~1023px만 가로 3열 */
.principles {
  display: flex; flex-direction: column;
  margin-top: 44px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

.principle {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
}

.principle + .principle { border-top: 1px solid var(--line); }

.principle > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }

@media (min-width: 640px) and (max-width: 1023px) {
  .principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principle { padding: 16px 16px 16px 0; }
  .principle + .principle { border-top: 0; border-left: 1px solid var(--line); padding-left: 16px; }
  .principle > div { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1024px) {
  .principles { margin-top: 56px; }
}

.principle svg { width: 28px; height: 28px; flex: none; color: var(--navy); }
.principle dd { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }
.principle dt { font-size: 13px; line-height: 20px; color: var(--grey); }

/* ---------- 코어 시각물 ---------- */
.core-visual {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1;
  width: 125%; max-width: none;
  margin: -6% 0 -6% -12.5%;
}

@media (min-width: 768px) {
  .core-visual { width: 100%; max-width: 840px; margin: 0 auto; }
}

@media (min-width: 1024px) {
  .core-visual { width: 106%; max-width: none; margin: 0 0 0 -3%; }
}

.core-stage { position: absolute; inset: 0; }

.core-layer { position: absolute; inset: 0; pointer-events: none; }
.core-layer > svg,
.core-float > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.core-halo {
  position: absolute; inset: 6%; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0));
}

/* 궤도와 보조선은 문구 쪽으로 사라진다 */
.core-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%);
  mask-image: linear-gradient(to right, transparent 0%, #000 14%);
}

@media (max-width: 1023px) {
  .core-fade { -webkit-mask-image: none; mask-image: none; }
}

/* 커서를 따라 층마다 다르게 미끄러진다(= 깊이) */
.core-parallax {
  transform: translate(calc(var(--px, 0) * var(--reach) * 1px), calc(var(--py, 0) * var(--reach) * 1px));
  transition: transform 900ms var(--ease);
}

.core-orbit { transition: transform 900ms var(--ease), opacity 700ms ease; }
.core-visual.is-open .core-orbit { opacity: 0.15; }

.core-shadow-layer { transition: opacity 900ms ease; }
.core-visual.is-open .core-shadow-layer { opacity: 0.55; }

/* 기울기 + 느린 부유 */
.core-tilt { perspective: 1400px; }

.core-float {
  position: absolute; inset: 0;
  transform: rotateX(calc(var(--py, 0) * -3.5deg + var(--open, 0) * 4deg)) rotateY(calc(var(--px, 0) * 3.5deg));
  transition: transform 900ms var(--ease);
  animation: float 6.5s ease-in-out infinite alternate;
}

.core-visual.is-open { --open: 1; }

@keyframes float {
  from { translate: 0 0; }
  to { translate: 0 -10px; }
}

@keyframes seam {
  from { opacity: 0.78; }
  to { opacity: 1; }
}

.core-seam-pulse { animation: seam 4.8s ease-in-out infinite alternate; }

/* 플레이트: 호버·탭 시 위로 펼쳐진다 */
.core-plate {
  transform-box: view-box;
  transition: transform 1000ms var(--ease) var(--d, 0s);
}

.core-visual.is-open .core-plate { transform: translateY(var(--ty)) scale(var(--s)); }

.core-cast,
.core-skirt,
.core-emph,
.core-strong-glow,
.core-links { opacity: 0; transition: opacity 700ms ease; }

.core-visual.is-open .core-cast { opacity: 0.16; }
.core-visual.is-open .core-skirt { opacity: 1; }
.core-visual.is-open .core-emph { opacity: 1; transition-delay: 250ms; }
.core-visual.is-open .core-strong-glow { opacity: 0.6; transition-delay: 150ms; }
.core-visual.is-open .core-links { opacity: 1; transition-delay: 350ms; }

.core-links { display: none; }

@media (min-width: 768px) {
  .core-links { display: block; }
}

.core-link-lit { opacity: 0; transition: opacity 250ms ease; }
.core-link.is-lit .core-link-lit { opacity: 0.9; }
.core-link-halo { transition: opacity 250ms ease; }
.core-link.is-lit .core-link-halo { opacity: 0.22; }

/* 코어 아래 짧은 안내 */
.core-hint {
  position: absolute; top: 84%; left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--grey); white-space: nowrap; pointer-events: none;
  transition: opacity 400ms ease;
}
.core-hint svg { width: 14px; height: 14px; color: var(--gold); }
.core-visual.is-open .core-hint { opacity: 0; }
.core-hint-tap { display: none; }

@media (hover: none) {
  .core-hint-hover { display: none; }
  .core-hint-tap { display: inline; }
}

/* 코어 위의 투명 버튼(호버·탭·키보드) */
.core-hit {
  position: absolute; top: 30%; left: 22%; width: 56%; height: 44%;
  border-radius: 3rem; cursor: default;
}
.core-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---------- 단계 카드 ---------- */
.stage-cards {
  position: absolute; inset: 0; display: none;
  font-size: clamp(10.5px, 2.1cqw, 15px);
}

@media (min-width: 768px) {
  .stage-cards { display: block; }
}

.stage-slot { position: absolute; translate: 0 -50%; }

.stage-card {
  border: 1px solid var(--glass-line);
  border-radius: 1.3em;
  background: var(--glass);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.85em 0.9em;
  transition: border-color 300ms ease, box-shadow 300ms ease, opacity 500ms ease, transform 900ms var(--ease);
}

.stage-slot .stage-card {
  opacity: 0; pointer-events: none;
  transform: translateX(calc(var(--dir) * -10px));
}

.core-visual.is-open .stage-slot .stage-card {
  opacity: 1; pointer-events: auto;
  transform: translateX(calc(var(--dir) * 2px));
  transition-delay: 200ms, 0ms;
}

.stage-card.is-lit { border-color: rgb(184 146 58 / 0.45); box-shadow: var(--shadow-card-lit); }

.stage-body {
  display: grid; grid-template-columns: 1.35em minmax(0, 1fr); column-gap: 0.5em; align-items: start;
}

.stage-num {
  grid-column: 1; grid-row: 1;
  display: flex; align-items: center; height: 1.64em;
  font-size: 0.8em; font-weight: 500; color: var(--grey); font-variant-numeric: tabular-nums;
}

.stage-title-row {
  grid-column: 2; grid-row: 1;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 0.6em;
}

.stage-title {
  font-size: 1.05em; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--navy);
}

.stage-tag {
  flex: none; font-size: 0.72em; font-weight: 600; letter-spacing: 0.12em; color: var(--gold-text);
}

.stage-icon {
  grid-column: 1; grid-row: 2; margin-top: 0.4em;
  display: flex; align-items: center; height: 1.276em; color: var(--gold);
}
.stage-icon svg { width: 1.25em; height: 1.25em; }

.stage-items { grid-column: 2; grid-row: 2; margin-top: 0.4em; font-size: 0.88em; line-height: 1.45; color: var(--grey); }

/* 전화 화면: 시각물 아래 격자 목록 */
.stage-list {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  font-size: 13px; margin-top: 8px;
  animation: rise 900ms var(--ease) 500ms backwards;
}

.stage-list .stage-card { padding: 0.95em 1.05em; }

@media (min-width: 640px) {
  .stage-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .stage-list { display: none; }
}

/* ---------- 섹션 공통 ---------- */
.section { padding: 56px 0; }

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

@media (min-width: 1024px) {
  .section { padding: 104px 0; }
}

.section-head { max-width: 42rem; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 16px; max-width: none; }

.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* 유리 카드 */
.card {
  position: relative;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: var(--shadow-card);
  padding: 26px;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 500ms var(--ease);
}

.card:hover { border-color: rgb(184 146 58 / 0.4); box-shadow: var(--shadow-card-lit); }

a.card:hover { transform: translateY(-3px); }

.card-navy {
  background: linear-gradient(135deg, #1a3460 0%, var(--navy) 60%, #0f1f3b 100%);
  color: #fff; border-color: rgb(255 255 255 / 0.08);
}
.card-navy .h3, .card-navy p { color: #fff; }
.card-navy .muted { color: rgb(255 255 255 / 0.72); }

/* 서비스 카드 3종 */
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px;
}

@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }

.service-art {
  aspect-ratio: 4 / 3; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 55% 55%, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0)),
    linear-gradient(180deg, #f4f1ea, #ece8df);
  border-bottom: 1px solid var(--glass-line);
}
.service-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.12); transition: transform 700ms var(--ease); }
a.service-card:hover .service-art img { transform: scale(1.17); }

.service-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.service-body .h3 { font-size: 1.25rem; }
.service-body p { color: var(--grey); font-size: 15px; }

.service-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 44px;
  font-size: 14.5px; font-weight: 600; color: var(--gold-text);
}
.service-link svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
a.service-card:hover .service-link svg { transform: translateX(4px); }

/* 협회 소개 요약: 2열 */
.split {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}

.split-art {
  position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%;
}
.split-art::before {
  content: ''; position: absolute; inset: 8%; border-radius: 999px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0));
}
.split-art img { position: relative; width: 100%; height: 100%; object-fit: contain; }

.split .lead { margin-top: 16px; }
.split .h2 { margin-top: 18px; }
.split .btn { margin-top: 28px; }

/* 이용 절차 요약(메인)·이용 절차(서비스 페이지) */
.steps { display: grid; gap: 14px; margin-top: 40px; counter-reset: step; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .steps.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .steps.steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.step { counter-increment: step; display: flex; flex-direction: column; gap: 12px; }

.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--gold-soft);
}
.step-num::before { content: counter(step, decimal-leading-zero); }

.step .h3 { font-size: 1.05rem; }
.step p { font-size: 15px; color: var(--grey); }

/* 준비물 체크리스트 */
.checklist { display: grid; gap: 10px; margin-top: 28px; }

@media (min-width: 768px) {
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: rgb(255 255 255 / 0.6); border: 1px solid var(--glass-line);
  font-size: 15px;
}

.checklist li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold); }

/* FAQ: details/summary */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0;
  font-size: 16.5px; font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .chev {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); color: var(--navy); transition: transform 300ms var(--ease), background-color 200ms ease;
}
.faq-item summary .chev svg { width: 14px; height: 14px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--gold-soft); }

.faq-item p { padding: 0 0 18px; color: var(--grey); font-size: 15.5px; max-width: 46rem; }

/* 안내 섹션(2열 카드) */
.info-grid { display: grid; gap: 16px; margin-top: 36px; }

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

.info-grid .card p { margin-top: 10px; font-size: 15.5px; color: var(--grey); }

/* 페이지 히어로(서비스·협회) */
.page-hero .hero-grid { padding-bottom: 24px; }

.page-art {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto;
}

@media (min-width: 1024px) {
  .page-art { max-width: none; width: 104%; }
}

.page-art::before {
  content: ''; position: absolute; inset: 10%; border-radius: 999px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0));
}
.page-art img { position: relative; width: 100%; height: 100%; object-fit: contain; }

.page-art { max-width: 420px; }

@media (min-width: 768px) {
  .page-art { max-width: 480px; }
}

/* 서브페이지 히어로는 메인처럼 화면 높이를 채우지 않는다 */
@media (min-width: 1024px) {
  .hero.page-hero { min-height: 0; }
  .page-hero .hero-grid { min-height: 0; padding-top: 48px; padding-bottom: 64px; }
  .page-art { max-width: 540px; width: 100%; }
}

.page-hero .hero-copy .h1 { max-width: 12em; }

/* 연한 띠 배경(이용 절차 등) */
.section-soft {
  background: linear-gradient(180deg, rgb(255 255 255 / 0), rgb(255 255 255 / 0.6) 18%, rgb(255 255 255 / 0.6) 82%, rgb(255 255 255 / 0));
}

/* 안내 카드 번호 */
.info-num {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--gold-text); font-variant-numeric: tabular-nums;
}
.info-card .h3 { margin-top: 10px; }
.card-navy .info-num { color: #e6c77a; }
.card-navy p { color: rgb(255 255 255 / 0.78); }
.info-grid .card-navy p { color: rgb(255 255 255 / 0.78); }

@media (min-width: 1024px) {
  .info-grid.info-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* FAQ: 넓은 화면에서 제목 왼쪽, 질문 오른쪽 */
.faq-layout { display: grid; gap: 8px; }

@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .faq-layout .faq { margin-top: 0; }
}

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 26px; padding: 14px 16px; border-radius: 14px;
  background: rgb(20 40 75 / 0.05); border: 1px solid rgb(20 40 75 / 0.08);
  font-size: 14px; color: var(--ink);
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--navy); }

/* 상담 안내(id=contact) */
.contact { position: relative; }

.contact-card {
  position: relative; overflow: hidden;
  display: grid; gap: 28px;
  padding: 36px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #1a3460 0%, var(--navy) 55%, #0f1f3b 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgb(20 40 75 / 0.5);
}

@media (min-width: 768px) {
  .contact-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 48px; align-items: center; }
}

@media (min-width: 1024px) {
  .contact-card { padding: 60px; }
}

.contact-card::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 60%; aspect-ratio: 1; border-radius: 999px;
  background: radial-gradient(closest-side, rgb(184 146 58 / 0.35), rgb(184 146 58 / 0));
  pointer-events: none;
}

.contact-card .eyebrow { color: rgb(255 255 255 / 0.7); }
.contact-card .h2 { color: #fff; margin-top: 16px; }
.contact-card .lead { color: rgb(255 255 255 / 0.78); margin-top: 14px; }

.contact-list { display: grid; gap: 12px; }

.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1);
}

.contact-item svg { width: 22px; height: 22px; flex: none; color: #e6c77a; }
.contact-item dt { font-size: 12.5px; letter-spacing: 0.08em; color: rgb(255 255 255 / 0.6); }
.contact-item dd { font-size: 16px; font-weight: 600; }
.contact-item .todo { background: rgb(230 199 122 / 0.18); color: #f1dca6; }
.contact-item dd a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: underline; text-decoration-color: rgb(230 199 122 / 0.5); text-underline-offset: 4px; word-break: break-all; }
.contact-item dd a:hover { text-decoration-color: #e6c77a; }

/* 작성·수정 정보 */
.page-meta { padding-bottom: 28px; }
.page-meta p { padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--grey); }

.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); }

.contact-card .btn-gold { justify-self: start; margin-top: 8px; }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 36px; font-size: 14px; color: var(--grey); }

.footer-grid { display: grid; gap: 28px; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
}

.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--navy); }
.footer-nav a:hover { color: var(--gold-text); }
.footer-note { margin-top: 18px; line-height: 1.7; }
.footer-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; }

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .drop, .enter, .stage-list, .nav-menu-panel { animation: none; }
  .core-float, .core-seam-pulse { animation: none; }
  .flip-box { transition: none; }
  .btn:hover .flip-box, .btn:focus-visible .flip-box { transform: translateZ(calc(var(--d) * -1)); }
  .core-plate, .core-parallax, .core-orbit, .core-float, .stage-card, .core-links { transition-duration: 1ms; }
}

/* ============================================================
   7단계 추가(2026-11-18): 실제 로고, 메뉴 8개(서비스 그룹), 사진 히어로,
   구입 가이드·이용 사례·고객센터 구성 요소
   ============================================================ */

:root {
  --coral: #ff3c5b; /* 플러스굿 워드마크 색. UI 포인트는 골드를 유지하고 로고 관련 요소에만 쓴다 */
}

/* ---------- 브랜드 워드마크(PNG) ---------- */
.brand-logo { height: 28px; width: auto; }
@media (min-width: 1024px) { .brand-logo { height: 32px; } }
.footer-brand .brand-logo { height: 24px; }

/* ---------- 내비 그룹: 서비스 안내 3개를 묶는다(JS 없이 hover·focus-within) ---------- */
.nav-links { gap: 28px; }
@media (min-width: 1280px) { .nav-links { gap: 34px; } }

.nav-group { position: relative; }

.nav-group-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15.5px; color: var(--navy); cursor: pointer; transition: color 200ms ease;
}
.nav-group-btn svg { width: 14px; height: 14px; transition: transform 250ms var(--ease); }

.nav-group:hover .nav-group-btn,
.nav-group:focus-within .nav-group-btn,
.nav-group:has(a[aria-current='page']) .nav-group-btn { color: var(--gold-text); }
.nav-group:has(a[aria-current='page']) .nav-group-btn { font-weight: 600; }
.nav-group:hover .nav-group-btn svg,
.nav-group:focus-within .nav-group-btn svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%; min-width: 236px; margin: 0; padding: 8px;
  border-radius: 16px; background: rgb(255 255 255 / 0.97); border: 1px solid var(--glass-line);
  box-shadow: 0 18px 40px -20px rgb(20 40 75 / 0.35);
  opacity: 0; visibility: hidden; translate: -50% 6px;
  transition: opacity 200ms ease, translate 250ms var(--ease), visibility 0s 200ms;
}
/* 버튼과 패널 사이 틈에서 호버가 끊기지 않게 보이지 않는 다리를 둔다 */
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }

.nav-dropdown a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  font-size: 15px; color: var(--navy);
}
.nav-dropdown a:hover { background: var(--gold-soft); color: var(--gold-text); }
.nav-dropdown a[aria-current='page'] { color: var(--gold-text); font-weight: 600; }

.nav-menu-label {
  display: block; padding: 14px 0 4px; font-size: 12px; letter-spacing: 0.12em; color: var(--grey); font-weight: 600;
}
.nav-menu-panel .nav-menu-label + a { border-top: 0; }

/* ---------- 사진 히어로·로고 히어로 ---------- */
.page-art.is-photo::before { display: none; }
.page-art.is-photo img {
  border-radius: 28px; object-fit: cover; box-shadow: 0 30px 60px -30px rgb(20 40 75 / 0.45);
}
.page-art.ratio-wide { aspect-ratio: 1000 / 542; max-width: 620px; }
@media (min-width: 1024px) { .page-art.ratio-wide { max-width: none; } }
.page-art.is-logo::before { display: none; }
.page-art.is-logo { aspect-ratio: 1200 / 849; }
.page-art.is-logo img {
  object-fit: contain; background: #fff; border-radius: 28px; padding: 6%;
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-card);
}

/* 메인 서비스 카드에 사진을 쓸 때 */
.service-art.is-photo { background: #fff; }
.service-art.is-photo img { transform: none; }
a.service-card:hover .service-art.is-photo img { transform: scale(1.04); }

/* ---------- 섹션 안 사진 + 카드 2열, 캡션 있는 그림 ---------- */
.section-split { display: grid; gap: 28px; align-items: start; margin-top: 36px; }
@media (min-width: 1024px) {
  .section-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; }
  .section-split .info-grid, .section-split .steps, .section-split .checklist, .section-split .types { margin-top: 0; }
}

.figure {
  margin: 0; border-radius: 22px; overflow: hidden; background: #fff;
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-card);
}
.figure img { width: 100%; height: auto; }
.figure figcaption { padding: 12px 16px; font-size: 13px; line-height: 1.55; color: var(--grey); border-top: 1px solid var(--line); }

.gallery { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery .figure img { aspect-ratio: 1; object-fit: cover; }

/* ---------- 함께 보기(내부 링크 3개) ---------- */
.related { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 768px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.related a.card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.related-kicker { font-size: 12px; letter-spacing: 0.12em; font-weight: 600; color: var(--gold-text); }
.related .h3 { font-size: 1.05rem; }
.related p { font-size: 14px; color: var(--grey); }
.related .service-link { margin-top: 2px; min-height: 32px; }

/* ---------- 구입 가이드: 상품권 종류(정의 목록) ---------- */
.types { display: grid; gap: 12px; margin-top: 28px; }
.types > div { padding: 18px 20px; border-radius: 16px; background: rgb(255 255 255 / 0.6); border: 1px solid var(--glass-line); }
.types dt { font-weight: 600; color: var(--navy); }
.types dd { margin-top: 6px; font-size: 15px; color: var(--grey); }

/* ---------- 이용 사례 ---------- */
.case-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.case-card { display: flex; flex-direction: column; gap: 12px; }
.case-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.1em; font-weight: 600; color: var(--gold-text); }
.case-card .h3 { font-size: 1.15rem; }
.case-flow { font-size: 15px; color: var(--grey); }
.case-checks { display: grid; gap: 6px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.case-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.case-checks svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }

.video-wrap {
  position: relative; margin-top: 28px; border-radius: 22px; overflow: hidden; background: #0f1f3b;
  aspect-ratio: 16 / 9; box-shadow: var(--shadow-card);
}
.video-wrap video { display: block; width: 100%; height: 100%; }

/* ---------- 고객센터 ---------- */
.channel-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 768px) { .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.channel-card { display: flex; flex-direction: column; gap: 8px; }
.channel-card .ico { width: 28px; height: 28px; color: var(--gold); }
.channel-card dt { font-size: 13px; letter-spacing: 0.08em; color: var(--grey); }
.channel-card dd { font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.channel-card dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); word-break: break-all; }
.channel-card dd a:hover { color: var(--gold-text); }
.channel-card p { font-size: 14px; color: var(--grey); }

.refusals { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 768px) { .refusals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.refusals li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: rgb(20 40 75 / 0.05); border: 1px solid rgb(20 40 75 / 0.08); font-size: 15px;
}
.refusals svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--navy); }

.principle-list { display: grid; gap: 12px; margin-top: 32px; counter-reset: pr; }
@media (min-width: 768px) { .principle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principle-list li { counter-increment: pr; display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgb(255 255 255 / 0.6); border: 1px solid var(--glass-line); }
.principle-list li::before {
  content: counter(pr, decimal-leading-zero); flex: none; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-text); padding-top: 2px;
}
.principle-list b { display: block; color: var(--navy); font-weight: 600; }
.principle-list span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--grey); }

/* 메인: 가이드·고객센터 2열 안내 */
.duo { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.duo .service-art { aspect-ratio: 16 / 7; }

/* 본문 안 내부 링크 */
.inline-link { color: var(--gold-text); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(184 146 58 / 0.45); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: var(--gold-text); }
.h3 .inline-link { font-size: 0.8em; font-weight: 500; margin-left: 8px; }

/* 사례 유형별 묶음: 사진 + 사례 목록 */
.case-group-title { margin-top: 44px; }
.case-group-title:first-of-type { margin-top: 32px; }
.case-split { margin-top: 14px; }
.case-grid-1 { grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 1024px) { .case-split { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }

/* 푸터 운영 법인 표시 */
.footer-org { display: flex; align-items: center; gap: 10px; margin-top: 2px; color: var(--navy); font-weight: 600; }
.footer-org img { width: auto; height: 26px; }

/* 사례 묶음마다 재구성 표시 */
.case-note { margin-top: 10px; font-size: 13.5px; color: var(--grey); }
.case-note::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 999px; background: var(--gold); vertical-align: 2px; }
.case-grid + .case-note, .section-head + .case-note { margin-top: 28px; }

/* ============================================================
   상담 CTA 강화(2026-11-18): 코랄 버튼, 하단 고정 상담 독, 섹션 사이 상담 띠
   채널톡 버튼은 koreagiftcard.channel.io 상담 페이지를 새 탭으로 연다(index.html 의 .cta-dock 와 build-pages.mjs ctaStrip, 2026-11-18 연결).
   ============================================================ */
.btn-cta {
  background: var(--coral); color: #fff;
  box-shadow: 0 10px 24px -10px rgb(255 60 91 / 0.55);
}
.btn-cta:hover { background: #e9304f; box-shadow: 0 14px 28px -10px rgb(255 60 91 / 0.65); }

.btn-outline-cta {
  border: 1.5px solid var(--coral); color: var(--coral); background: rgb(255 255 255 / 0.7);
}
.btn-outline-cta:hover { background: rgb(255 60 91 / 0.08); }

/* 섹션 사이 상담 띠 */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding: 22px 24px; border-radius: 22px;
  background: linear-gradient(135deg, rgb(255 60 91 / 0.1), rgb(255 255 255 / 0.7) 60%);
  border: 1px solid rgb(255 60 91 / 0.22);
}
.cta-strip-text { display: flex; flex-direction: column; gap: 4px; }
.cta-strip-text b { font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.cta-strip-text span { font-size: 14px; color: var(--grey); }
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-strip .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }

/* 하단 고정 상담 독: 데스크톱은 오른쪽 아래 알약, 모바일은 바닥 바 */
.cta-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; gap: 10px; align-items: center;
  animation: rise 700ms var(--ease) 900ms backwards;
}
.cta-dock .btn { min-height: 52px; padding: 0 20px; font-size: 15px; }
.cta-dock .btn-cta { animation: cta-pulse 2.8s ease-in-out 2s infinite; }
.cta-dock .icon { width: 18px; height: 18px; }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 24px -10px rgb(255 60 91 / 0.55), 0 0 0 0 rgb(255 60 91 / 0.35); }
  50% { box-shadow: 0 10px 24px -10px rgb(255 60 91 / 0.55), 0 0 0 10px rgb(255 60 91 / 0); }
}

@media (max-width: 767px) {
  body { padding-bottom: 76px; }
  .cta-dock {
    left: 0; right: 0; bottom: 0; gap: 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(247 245 240 / 0.92); border-top: 1px solid rgb(20 40 75 / 0.08);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .cta-dock .btn { flex: 1; min-height: 50px; padding: 0 12px; border-radius: 14px; }
  .cta-dock .btn + .btn { margin-left: 10px; }
  .cta-dock .flip-face { gap: 0.4em; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-dock, .cta-dock .btn-cta { animation: none; }
}


/* ============================================================
   GEO 점검(2026-11-18): h1 아래 직답형 요약(TL;DR)과 시맨틱 비교표
   본문 HTML 에 그대로 있어야 AI 크롤러가 읽으므로 JS 로 만들지 않는다.
   ============================================================ */
.tldr {
  margin-top: 22px; padding: 18px 20px; max-width: 34rem;
  border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-card);
}
.tldr-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-text); }
.tldr ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tldr li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.tldr li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.tldr .todo { font-size: 13.5px; }

.table-wrap {
  margin-top: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-card);
}
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; }
.compare caption { caption-side: top; text-align: left; padding: 16px 18px 6px; font-weight: 600; color: var(--navy); }
.compare th, .compare td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; color: var(--ink); }
.compare thead th { background: var(--page); font-size: 13px; letter-spacing: 0.02em; color: var(--grey); white-space: nowrap; }
.compare tbody th { font-weight: 600; color: var(--navy); min-width: 9em; }
.compare td { color: var(--grey); }
.compare .todo { font-size: 13px; }
.table-note { margin-top: 12px; font-size: 13.5px; color: var(--grey); max-width: 46rem; }

@media (max-width: 767px) {
  .tldr { padding: 16px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 10px 12px; }
}

/* 상담 안내 카드 안의 채널톡 버튼(2026-11-18): 링크 밑줄 규칙을 버튼에는 적용하지 않는다 */
.contact-item dd .btn { text-decoration: none; margin-top: 6px; }
.contact-item dd .btn:hover { text-decoration: none; }
