/* ==========================================================
   골드모바일 — 중후하고 세련된 고급형 (아이보리 · 샴페인 + 로즈골드(고객 로고 색에 맞춤, 11/19))
   제목: 함렛(Hahmlet) / 본문: 프리텐다드 / 영문 라벨: 코모란트 가라몬드
   ========================================================== */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #fbf5f5;
  --bg2: #f5e8e8;
  --champagne: #efd9d7;
  --surface: #ffffff;
  --line: rgba(166, 92, 92, .2);
  --line2: rgba(166, 92, 92, .45);
  --gold: #b86362;
  --gold-l: #e39f99;
  --gold-xl: #f8d8d4;
  --gold-d: #7a4041;
  --ink: #2a1315;
  --text: #2a1f1f;
  --muted: #6f5f61;
  --gold-t: #8a494a; /* 밝은 바탕 위 금색 글자 (대비 4.5 이상) */
  --warn: #a8431d;
  --warn-bg: #fdf1ea;
  --serif: 'Hahmlet', 'Pretendard Variable', Pretendard, serif;
  --en: 'Cormorant Garamond', 'Hahmlet', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --wrap: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --gold-grad: linear-gradient(135deg, #f1bcb4, #c97674 48%, #b06464); /* 끝 색만 살짝 밝혀 버튼 글자 대비 유지 */
  /* 빛이 지나가는 가장 밝은 구간도 배경 대비 3:1 이상 유지 */
  --gold-text: linear-gradient(110deg, #6e3739 0%, #8a494a 26%, #a85655 44%, #b05d5c 50%, #a85655 56%, #8a494a 72%, #6e3739 100%);
  --shadow: 0 24px 50px -30px rgba(122, 64, 65, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.7; letter-spacing: -.01em;
  word-break: keep-all; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap {
  width: min(var(--wrap), 100% - 40px); margin-inline: auto;
  /* 아이폰 가로 화면에서 노치에 글자가 가리지 않게 */
  padding-left: max(0px, calc(env(safe-area-inset-left) - 20px));
  padding-right: max(0px, calc(env(safe-area-inset-right) - 20px));
}
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; border-radius: 6px; }

/* ---------- 스크롤 등장 ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 인트로 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(60% 60% at 50% 45%, #f6e0de, var(--bg) 70%);
  display: grid; place-items: center; align-content: center; gap: 20px;
  transition: opacity .3s var(--ease), visibility .3s;
  animation: introOut .3s var(--ease) 1s forwards;
}
.no-intro .intro { display: none; }
.intro-mark { width: min(170px, 40vw); animation: introMark .5s var(--ease) both; }
.intro-line {
  width: min(240px, 56vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: introLine .4s var(--ease) .05s both;
}
.intro-text {
  font-family: var(--en); font-weight: 600; letter-spacing: .5em; font-size: 15px; color: var(--gold-d);
  padding-left: .5em; animation: introText .4s var(--ease) .1s both;
}
body.is-ready .intro { opacity: 0; visibility: hidden; }
@keyframes introMark {
  from { opacity: 0; transform: scale(.8) rotate(-10deg); filter: blur(10px) drop-shadow(0 0 0 rgba(184, 99, 98, 0)); }
  to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 18px 30px rgba(184, 99, 98, .35)); }
}
@keyframes introLine { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes introText { from { opacity: 0; letter-spacing: 1.2em; } to { opacity: 1; letter-spacing: .5em; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
/* 첫 화면은 기다림 없이 바로 표시 (광고로 들어온 손님이 버튼을 바로 보도록) */
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, height .4s var(--ease), box-shadow .4s;
}
.site-header.is-scrolled {
  height: 64px; background: rgba(251, 245, 245, .86); border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(122, 64, 65, .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; gap: 32px; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a { position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--gold-d); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 16px;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn-gold {
  color: var(--ink); background: var(--gold-grad);
  box-shadow: 0 12px 28px -12px rgba(143, 76, 77, .65), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold::after {
  content: ''; position: absolute; z-index: -1; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: translateX(-160%) skewX(-20deg); animation: btnShine 3.4s ease-in-out infinite;
}
/* left 대신 transform 으로 움직여 레이아웃 재계산 없음 */
@keyframes btnShine { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
.btn:hover { transform: translateY(-2px); }
.btn-gold:hover { box-shadow: 0 18px 40px -14px rgba(143, 76, 77, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-line { color: var(--gold-d); border: 1px solid var(--line2); background: rgba(255, 255, 255, .7); }
.btn-line:hover { background: #ffffff; border-color: var(--gold); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- 카카오톡 상담 (카카오 노란색 + 검정 글자) ---------- */
.btn-kakao { color: #191919; background: #fee500; box-shadow: 0 12px 26px -14px rgba(110, 92, 0, .55); }
.btn-kakao:hover { background: #ffeb33; }
.btn-kakao svg, .mbar-kakao svg { flex: none; }
.consult-card .btn + .btn { margin-top: 12px; }
.consult-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.fab.fab-kakao { color: #191919; background: #fee500; }
.mbar a.mbar-kakao { color: #191919; background: #fee500; box-shadow: 0 10px 20px -12px rgba(110, 92, 0, .6); }
.fab.fab-kakao::before, .fab.fab-kakao::after { border-color: #f2d500; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(52% 62% at 74% 46%, #f3d3cf 0%, rgba(243, 211, 207, 0) 70%),
    radial-gradient(40% 50% at 6% 96%, #f1dddc 0%, rgba(241, 221, 220, 0) 70%),
    linear-gradient(180deg, #fdfaf8, var(--bg));
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(166, 92, 92, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 92, 92, .08) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(70% 65% at 55% 45%, #000000 25%, transparent 80%);
  mask-image: radial-gradient(70% 65% at 55% 45%, #000000 25%, transparent 80%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift { to { background-position: 84px 84px, 84px 84px; } }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .12em; color: var(--gold-d);
}
.eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--serif); font-weight: 800; font-size: clamp(58px, 8.4vw, 124px);
  line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px;
}
.shine {
  background: var(--gold-text); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { from { background-position: 120% 0; } to { background-position: -140% 0; } }
.hero-amount { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; margin: 0 0 12px; color: var(--text); }
.hero-amount strong { color: var(--gold-d); font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-sub { color: var(--muted); font-size: clamp(16px, 1.35vw, 18px); max-width: 520px; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-badges li {
  position: relative; padding: 8px 16px 8px 34px; font-size: 14px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .75);
  box-shadow: 0 6px 16px -12px rgba(122, 64, 65, .5);
}
.hero-badges li::before {
  content: ''; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px;
  transform: translateY(-50%) rotate(45deg); background: var(--gold-grad);
}

.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; perspective: 1000px; }
.hero-halo {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 179, 172, .55), rgba(241, 179, 172, 0) 65%);
  filter: blur(24px); animation: halo 5s ease-in-out infinite;
}
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
.hero-mark {
  position: relative; z-index: 2; width: 80%;
  filter: drop-shadow(0 30px 40px rgba(143, 76, 77, .35));
  animation: float 6.5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }
.orbit { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(184, 99, 98, .45); }
.orbit-1 { animation: orbit1 16s linear infinite; }
.orbit-2 { inset: 13%; border-color: rgba(184, 99, 98, .28); animation: orbit2 24s linear infinite; }
@keyframes orbit1 {
  from { transform: rotateX(72deg) rotateY(-14deg) rotateZ(0); }
  to { transform: rotateX(72deg) rotateY(-14deg) rotateZ(360deg); }
}
@keyframes orbit2 {
  from { transform: rotateX(64deg) rotateY(26deg) rotateZ(360deg); }
  to { transform: rotateX(64deg) rotateY(26deg) rotateZ(0); }
}
.orbit span {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--gold-grad); box-shadow: 0 0 14px 4px rgba(227, 159, 153, .8);
}
.orbit-2 span { top: auto; bottom: -4px; width: 7px; height: 7px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line2); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 키워드 띠 (금색 띠) ---------- */
.ticker {
  overflow: hidden; padding: 18px 0;
  background: linear-gradient(90deg, #c67673, #ecbab4 30%, #f7d5cf 50%, #ecbab4 70%, #c67673);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 40px -26px rgba(122, 64, 65, .7);
}
.ticker-track {
  display: flex; align-items: center; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--ink);
  animation: marquee 34s linear infinite;
}
.ticker-track > * { margin-right: 34px; }
.ticker-track i { font-style: normal; font-size: .6em; color: #8f4c4d; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 섹션 공통 ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 140px) 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 6vw, 68px); }
.sec-label { font-family: var(--en); font-size: 16px; font-weight: 600; letter-spacing: .38em; color: var(--gold-t); margin: 0 0 10px; }
.sec-title {
  font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.22; letter-spacing: -.03em; margin: 0 0 16px; color: var(--text);
}
.sec-head .sec-title::after {
  content: ''; display: block; width: 56px; height: 2px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sec-desc { color: var(--muted); margin: 0; font-size: clamp(16px, 1.35vw, 18px); }

/* ---------- 카드 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-wrap { perspective: 900px; }
.card {
  position: relative; height: 100%; padding: 38px 28px 34px; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(227, 159, 153, .22), transparent 60%),
    var(--surface);
  border: 1px solid var(--line); box-shadow: 0 14px 34px -26px rgba(122, 64, 65, .55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, border-color .4s, box-shadow .4s;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, var(--gold-l) 78%, var(--gold) 84%, transparent 94%);
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; animation: spinA 4s linear infinite paused;
}
@keyframes spinA { to { --a: 360deg; } }
.card:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; animation-play-state: running; }
.card-no {
  position: absolute; top: 14px; right: 22px; font-family: var(--en); font-weight: 600;
  font-size: 50px; line-height: 1; color: rgba(184, 99, 98, .2); font-variant-numeric: lining-nums;
}
.card-ico {
  width: 56px; height: 56px; padding: 14px; margin-bottom: 24px; border-radius: 16px;
  color: var(--ink); background: var(--gold-grad);
  box-shadow: 0 10px 20px -12px rgba(143, 76, 77, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .5s var(--ease);
}
.card:hover .card-ico { transform: translateY(-4px) rotate(-6deg); }
.card h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; margin: 0 0 10px; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- 금액 띠 ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(84px, 10vw, 130px) 0; border-block: 1px solid var(--line);
}
.band-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 50% 50%, #f7dbd7, transparent 70%), linear-gradient(180deg, #f6e9e9, #efd9d7, #f6e9e9);
}
.band-bg::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000000 15%, transparent 58%);
  mask-image: radial-gradient(circle, #000000 15%, transparent 58%);
  animation: spin 70s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.band-label { margin: 0 0 8px; font-family: var(--en); font-weight: 600; font-size: 17px; letter-spacing: .42em; color: var(--gold-d); padding-left: .42em; }
.band-num {
  margin: 0 0 12px; font-family: var(--serif); font-weight: 800; line-height: 1.1;
  font-size: clamp(52px, 9vw, 124px); font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.band-num small { font-size: .36em; margin-left: 6px; }
.band-text { margin: 0 0 32px; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; }

/* ---------- 진행 절차 ---------- */
.timeline { position: relative; }
.timeline-line { position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 2px; background: var(--line); }
.timeline-fill {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l));
  box-shadow: 0 0 12px rgba(227, 159, 153, .8);
}
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 6px; }
.step-dot {
  position: relative; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--en); font-weight: 600; font-size: 24px; font-variant-numeric: lining-nums;
  color: var(--gold); background: var(--surface); border: 1px solid var(--line2);
  transition: color .5s, background .5s, box-shadow .5s, transform .5s var(--ease);
}
.step.is-on .step-dot {
  color: var(--ink); background: var(--gold-grad); border-color: transparent; transform: scale(1.06);
  box-shadow: 0 0 0 8px rgba(227, 159, 153, .22), 0 14px 30px -10px rgba(143, 76, 77, .7);
}
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; margin: 0 0 8px; transition: color .5s; }
.step.is-on h3 { color: var(--gold-d); }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- 보험사기 주의 안내 ---------- */
.notice-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(28px, 4vw, 60px); padding: clamp(32px, 5vw, 60px); border-radius: 28px;
  border: 1px solid rgba(194, 86, 43, .3); background: linear-gradient(135deg, #fde5e2, #fffafb 60%);
  box-shadow: 0 24px 50px -34px rgba(194, 86, 43, .5);
}
.notice-box::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(194, 86, 43, .06) 0 14px, transparent 14px 28px);
  -webkit-mask-image: linear-gradient(90deg, #000000, transparent 40%);
  mask-image: linear-gradient(90deg, #000000, transparent 40%);
}
.notice-icon {
  position: relative; width: clamp(112px, 13vw, 156px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: #ffffff;
  background: radial-gradient(circle at 35% 30%, #ec8a5c, var(--warn));
  box-shadow: 0 18px 34px -16px rgba(194, 86, 43, .7);
}
.notice-icon svg { width: 46%; height: 46%; animation: shake 3.6s ease-in-out infinite; }
.notice-icon::before, .notice-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(194, 86, 43, .5); animation: ping 2.6s var(--ease) infinite;
}
.notice-icon::after { animation-delay: 1.3s; }
@keyframes ping { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
@keyframes shake {
  0%, 84%, 100% { transform: rotate(0); }
  87% { transform: rotate(-9deg); } 90% { transform: rotate(9deg); }
  93% { transform: rotate(-6deg); } 96% { transform: rotate(6deg); }
}
.notice-body { position: relative; z-index: 1; }
.notice .sec-label { color: var(--warn); }
.notice .sec-title { margin-bottom: 12px; }
.notice-lead { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; margin: 0 0 18px; }
.notice-lead strong { color: var(--warn); }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notice-list li { position: relative; padding-left: 30px; font-size: 16px; }
.notice-list li::before {
  content: '!'; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center; background: var(--warn); color: #ffffff; font-weight: 900; font-size: 12px; line-height: 1;
}
.notice-list strong { color: #a8431c; }

/* ---------- 상담 신청 ---------- */
.consult { background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 84px); }
.consult-tel {
  display: inline-flex; align-items: center; gap: 14px; margin: 28px 0;
  font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); color: var(--gold-d);
  font-variant-numeric: tabular-nums;
}
.consult-tel svg {
  width: 50px; height: 50px; padding: 13px; border-radius: 50%; color: var(--ink); background: var(--gold-grad);
  box-shadow: 0 0 0 6px rgba(227, 159, 153, .25); animation: ring 2.6s ease-in-out infinite;
}
@keyframes ring {
  0%, 68%, 100% { transform: rotate(0); }
  72% { transform: rotate(-14deg); } 76% { transform: rotate(14deg); }
  80% { transform: rotate(-10deg); } 84% { transform: rotate(10deg); } 88% { transform: rotate(0); }
}
.consult-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consult-points li {
  position: relative; padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; font-weight: 600; background: rgba(255, 255, 255, .8);
}
.consult-points li::before {
  content: ''; position: absolute; left: 17px; top: 50%; width: 12px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(-45deg);
}
.consult-form {
  position: relative; padding: clamp(28px, 4vw, 46px); border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line2);
  box-shadow: 0 40px 80px -46px rgba(122, 64, 65, .6);
}
.consult-form::before {
  content: ''; position: absolute; top: -1px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-title { font-family: var(--serif); font-weight: 700; font-size: 24px; margin: 0 0 22px; color: var(--text); }

/* 상담 신청서 (텔레그램 접수) */
.lead-form { display: grid; gap: 14px; }
.lf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.lf-field { display: grid; gap: 6px; }
.lf-label { font-size: 14px; font-weight: 700; color: var(--gold-d); }
.lead-form input[type="text"], .lead-form input[type="tel"] {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line2); background: var(--bg); color: var(--text);
  font: inherit; font-size: 16px; /* 16px 이상이어야 아이폰에서 입력할 때 화면이 확대되지 않음 */
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.lead-form input::placeholder { color: #8f7a7b; }
.lead-form input:focus { outline: none; border-color: var(--gold); background: #ffffff; box-shadow: 0 0 0 4px rgba(184, 99, 98, .16); }
.lead-form input[aria-invalid="true"] { border-color: var(--warn); }
.lf-agree { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: 14.5px; }
.lf-agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.lf-agree input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--gold-d); }
.lf-agree em { font-style: normal; color: var(--gold-t); }
.lf-view { padding: 4px 2px; border: 0; background: none; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf-msg { margin: 0; font-size: 14px; text-align: center; color: var(--muted); }
.lf-msg:empty { display: none; }
.lf-msg.is-bad { color: var(--warn); font-weight: 600; }
.lead-form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.lf-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; font-size: 13.5px; color: var(--muted); }
.lf-or::before, .lf-or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
@media (max-width: 560px) { .lf-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--champagne); color: var(--muted); font-size: 14px; padding: 52px 0 44px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 22px; }
.biz { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 14px; }
.biz div { display: flex; gap: 8px; }
.biz dt { color: var(--muted); font-weight: 600; }
.biz dd { margin: 0; color: var(--text); }
.copy { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 떠 있는 버튼 ---------- */
.fab {
  position: fixed; right: calc(28px + env(safe-area-inset-right)); bottom: calc(28px + env(safe-area-inset-bottom)); z-index: 40; width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 14.5px; line-height: 1.3;
  color: var(--ink); background: var(--gold-grad); box-shadow: 0 16px 36px -12px rgba(143, 76, 77, .8);
  transition: transform .3s var(--ease);
}
.fab::before, .fab::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  border: 2px solid var(--gold); animation: ping 2.4s ease-out infinite;
}
.fab::after { animation-delay: 1.2s; }
.fab:hover { transform: scale(1.07); }
.mbar { display: none; }

/* ---------- 팝업 ---------- */
.dialog {
  width: min(440px, calc(100% - 32px)); padding: 0; border-radius: 24px;
  border: 1px solid var(--line2); background: var(--surface); color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(122, 64, 65, .6);
}
/* iOS 15.3 이하처럼 dialog 를 모르는 브라우저에서도 평소엔 숨기고, 열면 가운데 표시 */
dialog:not([open]) { display: none; }
dialog[open] { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200; height: fit-content; margin: auto; }
html:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
.dialog::backdrop { background: rgba(42, 31, 31, .45); backdrop-filter: blur(4px); }
.dialog[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.dialog-body { padding: 40px 30px 30px; text-align: center; }
.dialog h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; margin: 0 0 12px; color: var(--text); }
.dialog p { color: var(--muted); margin: 0 0 14px; font-size: 15.5px; }
.dialog-body > .btn { margin-top: 12px; }
.dialog-text { text-align: left; }
.dialog-text h3 { text-align: center; }
.dialog-text p { font-size: 14px; }
.privacy-list { margin: 0 0 14px; display: grid; gap: 8px; font-size: 14.5px; }
.privacy-list div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.privacy-list dt { font-weight: 700; color: var(--gold-d); }
.privacy-list dd { margin: 0; color: var(--text); }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .site-header { height: 64px; }
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .brand img, .is-scrolled .brand img { height: 36px; }
  .hero { padding: calc(var(--header-h) + 32px) 0 72px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; z-index: 0; right: -30%; bottom: -4%; width: 82vw; opacity: .16; pointer-events: none; }
  /* 저가형 폰 부담 줄이기: 흐리게 깔린 배경 장식만 멈춤 (글자 반짝임·띠·금가루·카운트는 유지) */
  .hero::after, .band-bg::before { animation: none; }
  .hero-halo, .orbit { display: none; }
  .hero-mark { filter: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
  .timeline-line { left: 33px; right: auto; top: 34px; bottom: 60px; width: 2px; height: auto; }
  .timeline-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 20px; text-align: left; align-items: center; padding: 0; }
  .step-dot { margin: 0; }
  .consult-grid { grid-template-columns: minmax(0, 1fr); }
  .notice-box { grid-template-columns: 1fr; }
  .notice-icon { width: 100px; }
  .fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(251, 245, 245, .94); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -20px rgba(122, 64, 65, .5);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; font-weight: 800; font-size: 16px; }
  .mbar-tel { border: 1px solid var(--line2); color: var(--gold-d); background: #ffffff; }
  .mbar-cta { color: var(--ink); background: var(--gold-grad); }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .consult-tel { font-size: 26px; white-space: nowrap; gap: 10px; }
  .consult-tel svg { width: 44px; height: 44px; padding: 11px; }
  .wrap { width: calc(100% - 32px); }
  .cards { grid-template-columns: 1fr; }
  .consult-points { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* 금액 띠가 어떤 폰에서도 한 줄로 보이게 */
@media (max-width: 430px) {
  .band-num { font-size: min(52px, 13vw); white-space: nowrap; }
}

/* 폭이 좁은 폰 (접은 폴더블 등) */
@media (max-width: 400px) {
  .header-inner { gap: 12px; }
  .consult-form { padding: 24px 18px; }
  .consult-form .btn-lg { padding-inline: 14px; font-size: 16px; gap: 8px; }
}

/* ---------- 움직임 줄이기 설정 존중 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .intro { display: none; }
}
