@charset "UTF-8";
/* =========================================================
   법무사 김진만 사무소 — Theme: Ink Meridian
   Font: Pretendard Variable
   ========================================================= */

:root {
  --ink: #0d1520;
  --navy: #16273f;
  --navy-soft: #24405f;
  --gold: #c8a15a;
  --gold-deep: #a9843f;
  --gold-lite: #e8d3a4;
  --bone: #f7f5f1;
  --sand: #ece7de;
  --text: #1b1f26;
  --muted: #6f6a63;
  --white: #fff;
  --line: #e3ded4;

  --sh-sm: 0 1px 2px rgba(13,21,32,.06), 0 2px 8px rgba(13,21,32,.04);
  --sh-md: 0 4px 12px rgba(13,21,32,.07), 0 12px 32px rgba(13,21,32,.07);
  --sh-lg: 0 8px 24px rgba(13,21,32,.10), 0 28px 64px rgba(13,21,32,.14);
  --sh-gold: 0 8px 24px rgba(200,161,90,.32);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", system-ui, "Malgun Gothic", sans-serif;
  background: var(--bone);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.pc-only { display: inline; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { letter-spacing: -0.038em; line-height: 1.28; font-weight: 800; }
h2 { font-size: clamp(36px, 5vw, 48px); color: var(--ink); }
h2.light { color: var(--white); }
h3 { font-size: clamp(25px, 3vw, 27px); }

.eyebrow {
  font-size: 15.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--gold-deep); margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }
.sec-desc { color: var(--muted); font-size: clamp(19px, 2vw, 19px); }
.sec-desc.light { color: rgba(255,255,255,.68); }
.section { padding: clamp(70px, 8.5vw, 122px) 0; }
.section > .container > h2.center { margin-bottom: 16px; }
.section > .container > .sec-desc.center { margin-bottom: 54px; }
.section > .container > h2.center:last-of-type { margin-bottom: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 100px;
  font-size: 19px; font-weight: 700; letter-spacing: -0.025em;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--sh-gold); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Crest ---------- */
.crest { width: 26px; height: 26px; display: block; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-stuck {
  background: rgba(247,245,241,.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(13,21,32,.06);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 82px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--navy-soft), var(--ink));
  color: var(--gold);
  display: grid; place-items: center;
  box-shadow: var(--sh-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text strong { font-size: 19px; font-weight: 800; letter-spacing: -0.045em; color: var(--white); transition: color .3s var(--ease); }
.logo-text small { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; color: rgba(255,255,255,.55); transition: color .3s var(--ease); }
.header.is-stuck .logo-text strong { color: var(--ink); }
.header.is-stuck .logo-text small { color: var(--muted); }

.gnb { display: flex; gap: 26px; margin-left: auto; }
.gnb a {
  position: relative; font-size: 17.5px; font-weight: 600;
  color: rgba(255,255,255,.82); padding: 4px 0; white-space: nowrap;
  transition: color .25s var(--ease);
}
.gnb a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold); transition: width .28s var(--ease);
}
.gnb a:hover::after { width: 100%; }
.gnb a:hover { color: var(--gold); }
.header.is-stuck .gnb a { color: var(--text); }
.header.is-stuck .gnb a:hover { color: var(--gold-deep); }

.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 17.5px; letter-spacing: -0.02em;
  padding: 11px 20px; border-radius: 100px; white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.header-call:hover { background: var(--white); transform: translateY(-1px); }
.header-call .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #23a25a;
  box-shadow: 0 0 0 0 rgba(35,162,90,.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(35,162,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(35,162,90,0); }
}

.menu-toggle { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), background .3s var(--ease); }
.header.is-stuck .menu-toggle span { background: var(--ink); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink); color: var(--white);
  overflow: hidden; padding: 130px 0 100px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 55% at 80% 16%, rgba(200,161,90,.3), transparent 62%),
    radial-gradient(55% 50% at 10% 84%, rgba(36,64,95,.85), transparent 66%),
    radial-gradient(85% 70% at 50% 0%, rgba(36,64,95,.5), transparent 70%),
    linear-gradient(160deg, #0d1520 0%, #14213b 55%, #0d1520 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; }
.hero-slides { position: relative; min-height: 330px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero h1 {
  font-size: clamp(44px, 7.5vw, 72px);
  font-weight: 800; letter-spacing: -0.048em; line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 20%, var(--gold-lite) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc { font-size: clamp(20px, 2vw, 20px); color: rgba(255,255,255,.68); max-width: 660px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-note { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.45); }
.hero-dots { display: flex; gap: 9px; margin-top: 38px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 100px; background: rgba(255,255,255,.28);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.hero-dots button.is-active { width: 30px; background: var(--gold); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.26);
  border-radius: 100px; display: grid; place-items: start center; padding-top: 7px; z-index: 2;
}
.hero-scroll span { width: 3px; height: 7px; border-radius: 3px; background: var(--gold); animation: scrolldot 1.9s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }

/* ---------- 해결 효과 ---------- */
.effects { background: var(--ink); padding: 0 0 clamp(56px, 7vw, 90px); }
.effect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.effect-grid li {
  display: grid; place-items: center; gap: 10px;
  padding: 30px 16px;
  border: 1px solid rgba(200,161,90,.32);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  text-align: center;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.effect-grid li:hover { border-color: var(--gold); background: rgba(200,161,90,.09); transform: translateY(-4px); }
.ef-ico {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(200,161,90,.5);
  display: grid; place-items: center; font-size: 24.5px;
}
.effect-grid strong { font-size: 18.5px; font-weight: 700; color: var(--white); line-height: 1.45; letter-spacing: -0.03em; }

/* ---------- 이런 고민 ---------- */
.worry { background: var(--bone); }
.bubbles { display: grid; gap: 14px; max-width: 620px; margin: 48px auto 0; }
.bubbles li {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 18px 30px;
  font-size: clamp(19.5px, 2vw, 19.5px); font-weight: 700; color: var(--ink);
  letter-spacing: -0.035em;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.bubbles li:nth-child(2) { margin-left: clamp(0px, 5vw, 56px); }
.bubbles li:nth-child(3) { margin-left: clamp(0px, 10vw, 110px); }
.bubbles li:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(200,161,90,.5); }
.bb-ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--navy); display: grid; place-items: center; font-size: 19px;
}
.worry-close {
  text-align: center; margin-top: 54px;
  font-size: clamp(21.5px, 2.5vw, 21.5px); color: var(--muted); line-height: 1.9;
}
.worry-close strong {
  display: block; margin-top: 4px;
  font-size: clamp(26px, 3.5vw, 29.5px); font-weight: 800; color: var(--ink); letter-spacing: -0.04em;
}
.worry-sign {
  text-align: center; margin-top: 22px; padding-top: 22px;
  font-size: clamp(19px, 2vw, 19px); font-weight: 600; color: var(--gold-deep);
  position: relative;
}
.worry-sign::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* ---------- 회생 vs 파산 ---------- */
.compare { background: var(--sand); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cmp-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cmp-card header { padding: 22px 24px; text-align: center; }
.cmp-card header h3 { color: var(--white); font-size: clamp(26px, 3vw, 28px); }
.cmp-card.navy header { background: var(--navy); }
.cmp-card.gold header { background: var(--gold-deep); }
.cmp-card ul { padding: 30px 30px 34px; display: grid; gap: 16px; }
.cmp-card li {
  position: relative; padding-left: 30px;
  font-size: clamp(19px, 2vw, 19px); font-weight: 600; color: var(--text); letter-spacing: -0.03em;
}
.cmp-card li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  font-weight: 800; font-size: 18px;
}
.cmp-card.navy li::before { color: var(--navy); }
.cmp-card.gold li::before { color: var(--gold-deep); }

.compare-note {
  display: flex; align-items: center; gap: 16px;
  margin-top: 22px; padding: 24px 30px;
  background: linear-gradient(100deg, #ded7cb, #efeae1);
  border-radius: var(--r-lg);
  font-size: clamp(19px, 2vw, 19px); color: var(--text); line-height: 1.7;
}
.compare-note strong { color: var(--gold-deep); font-weight: 800; }
.cn-ico {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: var(--navy); display: grid; place-items: center; font-size: 21.5px;
}

/* ---------- Diagnosis ---------- */
.diagnosis { background: var(--ink); position: relative; overflow: hidden; }
.diagnosis::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(36,64,95,.6), transparent 65%);
}
.diagnosis > .container { position: relative; z-index: 2; }
.quiz {
  max-width: 720px; margin: 0 auto;
  background: var(--white); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--sh-lg);
}
.quiz-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.quiz-head span { font-size: 16px; font-weight: 700; color: var(--gold-deep); letter-spacing: .06em; white-space: nowrap; }
.quiz-progress { flex: 1; height: 5px; background: var(--sand); border-radius: 100px; overflow: hidden; }
.quiz-bar { height: 100%; width: 25%; border-radius: 100px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .45s var(--ease); }

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fadeUp .4s var(--ease); }
.quiz-step h3 { color: var(--ink); margin-bottom: 22px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.quiz-options button {
  padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); text-align: left;
  font-size: 18.5px; font-weight: 600; color: var(--text); letter-spacing: -0.03em;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.quiz-options button:hover { border-color: var(--gold); background: #fdfaf3; color: var(--gold-deep); transform: translateY(-2px); }

.quiz-gate { display: none; }
.quiz-gate.is-active { display: block; animation: fadeUp .4s var(--ease); }
.quiz-gate h3 { color: var(--ink); margin-bottom: 10px; text-align: center; }
.quiz-gate-desc { color: var(--muted); font-size: 18px; text-align: center; margin-bottom: 24px; }
.quiz-gate-form { display: grid; gap: 16px; max-width: 440px; margin: 0 auto; }
.quiz-gate-error { color: #c0392b; font-size: 15.5px; }

.quiz-result { display: none; text-align: center; }
.quiz-result.is-active { display: block; animation: fadeUp .4s var(--ease); }
.quiz-result h3 { color: var(--ink); margin-bottom: 14px; }
.quiz-result > p { color: var(--muted); font-size: 18.5px; margin-bottom: 16px; }
.quiz-note { font-size: 15.5px !important; color: #9a938a !important; }
.quiz-cta { margin-top: 26px; }
.quiz-retry { display: block; margin: 16px auto 0; font-size: 17px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 돌려막기 사이클 ---------- */
.cycle { background: var(--bone); }
.cycle-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cycle-flow li {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 22px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cycle-flow li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(200,161,90,.5); }
.cycle-flow li:not(:last-child)::after {
  content: "▶"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: var(--gold); z-index: 2;
}
.cy-step {
  display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .14em;
  color: var(--gold-deep); margin-bottom: 10px;
}
.cycle-flow strong { display: block; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.035em; line-height: 1.45; margin-bottom: 8px; }
.cycle-flow p { font-size: 17px; color: var(--muted); }

.cycle-box {
  margin-top: 24px; padding: clamp(28px, 3.6vw, 40px);
  background: linear-gradient(150deg, var(--navy-soft), var(--ink));
  border-radius: var(--r-lg); color: var(--white); box-shadow: var(--sh-lg);
}
.cycle-box h3 { color: var(--gold); margin-bottom: 20px; }
.cycle-box ul { display: grid; gap: 12px; }
.cycle-box li {
  position: relative; padding-left: 28px;
  font-size: 18px; color: rgba(255,255,255,.75);
}
.cycle-box li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 800;
}
.cycle-punch {
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: clamp(22px, 2.5vw, 26px); font-weight: 800;
  color: var(--white); letter-spacing: -0.04em; line-height: 1.5;
}

/* ---------- 진행절차 ---------- */
.process { background: var(--ink); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 50% at 78% 12%, rgba(200,161,90,.16), transparent 62%);
}
.process > .container { position: relative; z-index: 2; }
.steps { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.steps li {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 22px 26px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.steps li:hover { background: rgba(255,255,255,.09); border-color: rgba(200,161,90,.45); transform: translateX(5px); }
.st-num {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(200,161,90,.55);
  display: grid; place-items: center;
  font-size: 17px; font-weight: 800; color: var(--gold);
}
.st-ico { flex: 0 0 auto; font-size: 25px; }
.steps strong { display: block; font-size: clamp(21.5px, 2vw, 21.5px); font-weight: 700; color: var(--white); letter-spacing: -0.035em; margin-bottom: 3px; }
.steps p { font-size: 17px; color: rgba(255,255,255,.6); }

/* ---------- 사무소 강점 ---------- */
.why { background: var(--bone); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why-grid li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 22px 28px;
  text-align: center; box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.why-grid li:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(200,161,90,.55); }
.wy-ico {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  background: linear-gradient(145deg, var(--navy-soft), var(--ink));
  color: var(--gold);
}
.wy-ico svg { width: 27px; height: 27px; }
.why-grid strong { display: block; font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -0.035em; margin-bottom: 7px; }
.why-grid p { font-size: 18.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.acc { display: grid; gap: 12px; }
.acc details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.acc details[open] { border-color: rgba(200,161,90,.5); box-shadow: var(--sh-md); }
.acc summary {
  list-style: none; cursor: pointer;
  padding: 22px 58px 22px 26px;
  font-size: clamp(20px, 2vw, 20px); font-weight: 700; color: var(--ink);
  letter-spacing: -0.035em; position: relative;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before {
  content: "Q."; color: var(--gold-deep); font-weight: 800; margin-right: 7px;
}
.acc summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 24.5px; font-weight: 400; color: var(--gold-deep); transition: transform .3s var(--ease);
}
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p {
  padding: 0 26px 24px 26px; font-size: 18px; color: var(--muted); position: relative;
}
.acc details p::before {
  content: "A."; color: var(--navy); font-weight: 800; margin-right: 7px;
}

/* ---------- 상담신청 ---------- */
.consult { background: var(--ink); position: relative; overflow: hidden; }
.consult::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 85% 20%, rgba(200,161,90,.2), transparent 62%);
}
.consult > .container { position: relative; z-index: 2; }
.consult-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.consult-intro h2 { margin-bottom: 18px; }

.tel-card {
  display: block; margin-top: 32px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 28px 30px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.tel-card:hover { background: rgba(255,255,255,.09); border-color: rgba(200,161,90,.5); transform: translateY(-3px); }
.tel-card small { display: block; font-size: 16px; font-weight: 700; letter-spacing: .1em; color: var(--gold); margin-bottom: 5px; }
.tel-card strong { display: block; font-size: clamp(42px, 6vw, 58px); font-weight: 800; letter-spacing: -0.04em; color: var(--white); line-height: 1.2; }
.tel-card span { display: block; margin-top: 6px; font-size: 16px; color: rgba(255,255,255,.5); }

.consult-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.consult-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md); padding: 16px 20px;
  color: var(--white); font-size: 17.5px; font-weight: 600;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.consult-links a:hover { background: rgba(255,255,255,.1); border-color: rgba(200,161,90,.45); }
.consult-links .arr { color: var(--gold); transition: transform .25s var(--ease); }
.consult-links a:hover .arr { transform: translateX(4px); }

.consult-form {
  background: var(--white); border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--sh-lg);
  display: grid; gap: 15px;
}
.consult-form h3 { color: var(--ink); margin-bottom: 2px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.field input, .field select, .field textarea {
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fbfaf7; font-size: 18px; color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(200,161,90,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #b3ada3; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-error { color: #c0392b; font-size: 16px; }
.form-done { text-align: center; padding: 46px 20px; }
.form-done strong { display: block; font-size: 25px; font-weight: 800; color: var(--ink); letter-spacing: -0.035em; margin-bottom: 14px; }
.form-done p { font-size: 18.5px; color: var(--muted); }
.agree { display: flex; align-items: flex-start; gap: 9px; font-size: 16px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.agree input { margin-top: 3px; accent-color: var(--gold-deep); width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------- 오시는길 ---------- */
.location { background: var(--bone); }
.location-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.map-card { display: block; }
.map-inner {
  height: 100%; min-height: 330px; border-radius: var(--r-lg);
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(200,161,90,.16), transparent 60%),
    linear-gradient(160deg, #eaedf1, #dee3ea);
  border: 1.5px dashed #c3ccd7;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; padding: 40px 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.map-card:hover .map-inner { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--sh-md); }
.map-pin { font-size: 42px; }
.map-inner strong { font-size: 22.5px; font-weight: 800; color: var(--ink); letter-spacing: -0.035em; }
.map-inner p { font-size: 17.5px; color: var(--muted); }
.map-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--gold-deep); }
.map-go .arr { transition: transform .25s var(--ease); }
.map-card:hover .map-go .arr { transform: translateX(4px); }

.location-info {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 38px); box-shadow: var(--sh-sm);
}
.location-info dl { display: grid; gap: 22px; }
.location-info dt { font-size: 14.5px; font-weight: 800; letter-spacing: .16em; color: var(--gold-deep); margin-bottom: 5px; }
.location-info dd { font-size: 18.5px; color: var(--text); }
.location-info dd small { color: var(--muted); font-size: 17px; }
.location-info dd .big { font-size: 27.5px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; }
.location-info dd .big:hover { color: var(--gold-deep); }

/* ---------- 푸터 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.58); padding: 54px 0 32px; font-size: 17px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; color: var(--white); font-size: 19px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 4px; }
.footer-brand p { font-size: 16px; line-height: 1.7; }
.footer-meta { text-align: right; }
.footer-meta a { font-size: 24.5px; font-weight: 800; color: var(--gold); letter-spacing: -0.035em; }
.footer-meta p { font-size: 16px; }
.footer-copy {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 15.5px; color: rgba(255,255,255,.33);
}

/* ---------- 플로팅 ---------- */
.floating { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: grid; gap: 10px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 1px;
  color: var(--white); box-shadow: var(--sh-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--sh-lg); }
.fab .ico { font-size: 19px; font-weight: 800; line-height: 1; }
.fab em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: -0.02em; }
.fab-tel { background: linear-gradient(145deg, var(--navy-soft), var(--ink)); }
.fab-blog { background: #03c75a; }
.fab-map { background: var(--gold); color: var(--ink); }
.fab-top { background: #4a5361; opacity: 0; visibility: hidden; }
.fab-top.is-show { opacity: 1; visibility: visible; }

/* ---------- 모바일 하단 CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .gnb { gap: 18px; }
  .gnb a { font-size: 17px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .cycle-flow { grid-template-columns: 1fr 1fr; }
  .cycle-flow li:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .pc-only { display: none; }

  .gnb {
    position: fixed; inset: 82px 0 auto;
    display: none; flex-direction: column; gap: 0;
    background: rgba(247,245,241,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    padding: 8px 0 14px;
    max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .gnb.is-open { display: flex; animation: fadeUp .28s var(--ease); }
  .gnb a { color: var(--text) !important; padding: 15px 24px; font-size: 18.5px; border-top: 1px solid rgba(227,222,212,.7); }
  .gnb a::after { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-call { display: none; }

  .hero { min-height: auto; padding: 116px 0 88px; }
  .hero-slides { min-height: 286px; }
  .hero-actions { margin-top: 30px; }

  .effect-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .consult-grid, .location-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .compare-note { display: block; text-align: center; }
  .cn-ico { margin: 0 auto 12px; }

  .footer-inner { display: block; }
  .footer-meta { text-align: left; margin-top: 22px; }

  .floating { right: 14px; bottom: 84px; }
  .floating .fab-tel { display: none; }
  .fab { width: 48px; height: 48px; }
  .fab .ico { font-size: 18px; }
  .fab em { display: none; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px;
    position: fixed; inset: auto 0 0; z-index: 95;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247,245,241,.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta a {
    display: grid; place-items: center; height: 50px; border-radius: 100px;
    font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
  }
  .mc-tel { background: var(--white); border: 1.5px solid var(--line); color: var(--ink); }
  .mc-form { background: var(--gold); color: var(--ink); box-shadow: var(--sh-gold); }
  body { padding-bottom: 72px; }
}

@media (max-width: 600px) {
  .hero-slides { min-height: 250px; }
  .hero-actions { width: 100%; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; padding: 15px 24px; }
  .hero-dots { margin-top: 30px; }

  .header-inner { height: 74px; gap: 14px; }
  .gnb { inset: 74px 0 auto; }
  .logo-mark { width: 40px; height: 40px; flex: 0 0 40px; }
  .crest { width: 23px; height: 23px; }

  .why-grid { grid-template-columns: 1fr; }
  .cycle-flow { grid-template-columns: 1fr; }
  .cycle-flow li::after { display: none !important; }
  .bubbles li { padding: 16px 22px; border-radius: var(--r-lg); }
  .bubbles li:nth-child(2), .bubbles li:nth-child(3) { margin-left: 0; }

  .steps li { flex-wrap: wrap; gap: 12px; padding: 20px; }
  .steps li > div { flex: 1 1 100%; }
  .st-ico { font-size: 22.5px; }
  .consult-links { grid-template-columns: 1fr; }
  .effect-grid { gap: 10px; }
  .effect-grid li { padding: 24px 10px; }
}
