/* ============================================================
   친절한부동산중개법인(주) — 상담 유입 랜딩
   본 파일은 친절한부동산중개법인(주) 전용 자료입니다.
   Palette: warm sand / ink / deep green accent
   ============================================================ */

:root {
  --bg:        #F6F4EF;
  --bg-soft:   #EDEAE1;
  --surface:   #FFFFFF;
  --ink:       #14161A;
  --ink-2:     #3B4048;
  --muted:     #6A6F78; /* #767C86에서 조정 — 라이트 모드 본문 텍스트 크기 기준 WCAG AA(4.5:1) 미달이었음 */
  --line:      rgba(20, 22, 26, 0.10);
  --line-soft: rgba(20, 22, 26, 0.06);
  --accent:    #0E5A50;
  --accent-2:  #A35E31; /* #C2703A에서 조정 — 폼 오류 메시지 색상이라 WCAG AA 미달이면 특히 문제였음 */
  --on-accent: #FFFFFF;
  --ok:        #1E9E6A;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;

  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-en: "Space Grotesk", var(--font);

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg:        #0D0F11;
  --bg-soft:   #14181B;
  --surface:   #171B1E;
  --ink:       #EFEEE9;
  --ink-2:     #C5C8C4;
  --muted:     #868C92;
  --line:      rgba(239, 238, 233, 0.14);
  --line-soft: rgba(239, 238, 233, 0.07);
  --accent:    #4FBFA8;
  --accent-2:  #E29055;
  --on-accent: #0D0F11;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.14; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- ambient ---------- */

.grain {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: 0.03; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: 0.045; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9999; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0%; background: var(--accent); transition: width 0.1s linear; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.btn--ghost { border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15.5px; }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.is-stuck {
  padding: 10px var(--pad);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line-soft);
}

.nav__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  background: var(--accent); color: var(--on-accent);
  transition: transform 0.5s var(--ease);
}
.nav__mark svg { width: 19px; height: 19px; }
.nav__brand:hover .nav__mark { transform: translateY(-2px); }
.nav__name { font-size: 15px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }

.nav__links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.nav__links a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; white-space: nowrap; }
.nav__ext { width: 10px; height: 10px; opacity: 0.6; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 10px; }

.themetoggle {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%; border: 1px solid var(--line);
  background: transparent; display: grid; place-items: center; cursor: pointer;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.themetoggle:hover { border-color: var(--ink); transform: rotate(20deg); }
.themetoggle__dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink); box-shadow: inset -4px -3px 0 0 var(--bg);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
html[data-theme="dark"] .themetoggle__dot { box-shadow: inset 0 0 0 0 var(--bg); }

@media (max-width: 980px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav__name { font-size: 13.5px; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  /* 장식용 glow가 뷰포트 밖으로 삐져나가 가로 스크롤을 만들지 않도록 클립 */
  overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(130px, 20vh, 200px) var(--pad) clamp(56px, 9vw, 100px);
}
.hero__eyebrow, .hero__title, .hero__meta { position: relative; z-index: 1; }

.hero__glow {
  position: absolute; top: -14%; right: -8%;
  width: min(680px, 76vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    color-mix(in srgb, var(--accent) 30%, transparent) 0%,
    color-mix(in srgb, var(--accent-2) 16%, transparent) 44%,
    transparent 68%);
  filter: blur(60px); opacity: 0.6; pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-5%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(4%, -3%, 0) scale(0.96); }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px; margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-size: 13px; color: var(--ink-2);
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ok); animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }

.hero__title {
  font-size: clamp(38px, 7.6vw, 104px);
  line-height: 1.02; letter-spacing: -0.05em; font-weight: 600;
  margin-bottom: clamp(32px, 5vw, 58px);
}
.hero__title em { font-style: normal; color: var(--accent); }

.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line__in { display: block; }
html[data-js] .line__in { transform: translateY(105%); opacity: 0; }
.is-ready .line__in { animation: lineUp 1.05s var(--ease) forwards; }
.is-ready .line:nth-child(1) .line__in { animation-delay: 0.06s; }
.is-ready .line:nth-child(2) .line__in { animation-delay: 0.17s; }
.is-ready .line:nth-child(3) .line__in { animation-delay: 0.28s; }
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }

.hero__meta {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding-top: 26px; border-top: 1px solid var(--line);
}
.hero__desc { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 48ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; align-content: start; }
.hero__hours { width: 100%; font-size: 13px; color: var(--muted); margin-top: 2px; }

@media (max-width: 820px) { .hero__meta { grid-template-columns: 1fr; } }

/* ---------- trust strip ---------- */

.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: clamp(26px, 4vw, 44px) var(--pad);
}
.trust__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.trust__item dt { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.trust__item dd {
  font-family: var(--font-en);
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 500;
  letter-spacing: -0.025em; color: var(--ink);
  word-break: keep-all;
}
.trust__note {
  max-width: var(--maxw); margin: 18px auto 0;
  font-size: 12px; color: var(--muted); opacity: 0.85;
}
@media (max-width: 720px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }

/* ---------- section shell ---------- */

.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(76px, 11vw, 148px) var(--pad); }
.section__head { margin-bottom: clamp(36px, 5vw, 66px); }
.tag {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--font-en); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.section__title { font-size: clamp(28px, 4.8vw, 56px); letter-spacing: -0.045em; }
.section__foot { margin-top: 28px; font-size: 14px; color: var(--muted); }
.section__foot strong { color: var(--ink); font-weight: 500; }

.listings-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 12px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}
.listings-link svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.listings-link:hover { border-color: var(--accent); background: var(--surface); transform: translateY(-2px); }
.listings-link:hover svg { transform: translateX(3px); }

/* ---------- pains ---------- */

.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.pain {
  padding: clamp(24px, 2.8vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.pain:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--surface);
}
.pain__q {
  display: block; margin-bottom: 12px;
  font-size: clamp(17px, 1.9vw, 21px); font-weight: 600;
  letter-spacing: -0.035em; color: var(--ink);
}
.pain p { font-size: 15px; color: var(--muted); max-width: 46ch; }
@media (max-width: 820px) { .pains { grid-template-columns: 1fr; } }

/* ---------- services ---------- */

.caps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.cap { position: relative; padding: clamp(26px, 3.2vw, 44px); background: var(--bg); overflow: hidden; transition: background 0.5s var(--ease); }
.cap::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.cap:hover { background: var(--surface); }
.cap:hover::after { transform: scaleX(1); }
.cap__no { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 18px; }
.cap h3 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 12px; }
.cap p { font-size: 15px; color: var(--muted); max-width: 42ch; margin-bottom: 20px; }
.cap__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.cap__tags span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink-2); }
@media (max-width: 780px) { .caps { grid-template-columns: 1fr; } }

/* ---------- process ---------- */

.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 96px 1fr; gap: clamp(14px, 3vw, 40px);
  padding: clamp(24px, 3.2vw, 40px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.55s var(--ease);
}
.step:hover { padding-left: 16px; }
.step__no { font-family: var(--font-en); font-size: clamp(26px, 3.6vw, 42px); line-height: 1; color: var(--line); transition: color 0.55s var(--ease); }
.step:hover .step__no { color: var(--accent); }
.step h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 10px; }
.step h3 span { font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em; color: var(--muted); }
.step p { font-size: 15.5px; color: var(--muted); max-width: 58ch; }
@media (max-width: 620px) { .step { grid-template-columns: 52px 1fr; } }

/* ---------- why ---------- */

/* ---------- 대표 소개 ---------- */

.profile {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 44px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.profile__photo {
  width: 100%; height: auto;
  aspect-ratio: 900 / 1062;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--bg-soft);
}
.profile__name {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.profile__name span { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.profile__bio { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 60ch; }

@media (max-width: 620px) {
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 240px; margin: 0 auto; }
}

.whys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.why {
  position: relative; padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.why:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--surface); }
.why__no {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-bottom: 18px;
  border-radius: 50%; border: 1px solid var(--accent);
  font-family: var(--font-en); font-size: 12px; color: var(--accent);
}
.why h3 { font-size: clamp(18px, 1.9vw, 21px); margin-bottom: 10px; }
.why p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 880px) { .whys { grid-template-columns: 1fr; } }

/* ---------- 미디어 출연 ---------- */

.media {
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.media__label { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.media__list { display: flex; flex-wrap: wrap; gap: 10px; }
.media__list li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 11px 17px;
  border: 1px solid var(--line); border-radius: 999px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.media__list li:hover { transform: translateY(-3px); border-color: var(--accent); }
.media__list b {
  font-family: var(--font-en); font-size: 13.5px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink); white-space: nowrap;
}
.media__list span { font-size: 13px; color: var(--muted); }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  font-size: clamp(16px, 1.8vw, 19px); font-weight: 500; letter-spacing: -0.03em;
  cursor: pointer; list-style: none;
  transition: color 0.35s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.4s var(--ease);
  color: var(--muted);
}
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__body { padding-bottom: clamp(20px, 2.4vw, 28px); }
.faq__body p { font-size: 15px; color: var(--muted); max-width: 66ch; }
.faq__body strong { color: var(--ink); font-weight: 500; }

/* ---------- contact + form ---------- */

.contact__inner {
  position: relative;
  padding: clamp(40px, 6vw, 80px) clamp(22px, 4vw, 60px);
  border: 1px solid var(--line);
  border-radius: clamp(22px, 3.5vw, 40px);
  background:
    radial-gradient(120% 130% at 50% 0%, color-mix(in srgb, var(--accent) 11%, transparent) 0%, transparent 60%),
    var(--surface);
  text-align: center;
}
.contact__title { font-size: clamp(25px, 4.2vw, 50px); letter-spacing: -0.045em; margin-bottom: 18px; }
.contact__desc { font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); max-width: 46ch; margin: 0 auto 40px; }

.form { max-width: 620px; margin: 0 auto; text-align: left; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 15px; line-height: 1.5;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: var(--surface); outline: none;
  /* outline 대신 box-shadow 링 사용 — 얇은 border-color 변화만으로는
     저시력 키보드 사용자에게 포커스 위치가 잘 안 보여 WCAG 2.4.7 미달이었음 */
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.field input.is-bad, .field textarea.is-bad { border-color: var(--accent-2); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.consent.is-bad { color: var(--accent-2); }

.form__submit { justify-content: center; width: 100%; margin-top: 4px; }
.form__submit:hover svg { transform: translateX(3px); }
.form__status { min-height: 20px; font-size: 13.5px; color: var(--muted); }
.form__status.is-bad { color: var(--accent-2); }
.form__status.is-ok { color: var(--accent); }

.contact__or { margin-top: 30px; font-size: 14px; color: var(--muted); }
.contact__or a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact__or a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 오시는 길 ---------- */

.access {
  max-width: 720px; margin: 34px auto 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg);
  overflow: hidden;
  text-align: left;
}
.access__photo {
  display: block;
  width: 100%;
  height: auto; /* 없으면 img width/height 속성이 aspect-ratio보다 우선 적용돼 찌그러짐 */
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 32%;
  background: var(--bg-soft);
}
.access__body { padding: 22px 24px; }
.access__addr { font-size: 14.5px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.access__list { display: grid; gap: 7px; }
.access__list li { font-size: 13.5px; color: var(--muted); }
.access__list b { font-weight: 500; color: var(--ink-2); }
.access__note {
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--muted);
}

/* ---------- footer ---------- */

.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--pad) 56px; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.footer__brand { font-size: 17px; font-weight: 600; letter-spacing: -0.035em; }
.footer__cta { font-family: var(--font-en); font-size: 17px; font-weight: 500; color: var(--accent); }

.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.legal > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.legal dt { color: var(--muted); }
.legal dd { color: var(--ink-2); word-break: break-all; }
@media (max-width: 780px) { .legal { grid-template-columns: 1fr; } .legal > div { grid-template-columns: 120px 1fr; } }

.footer__note {
  margin-top: 26px; padding: 14px 16px;
  border: 1px dashed color-mix(in srgb, var(--accent-2) 55%, transparent);
  border-radius: var(--r-sm);
  font-size: 12.5px; line-height: 1.7; color: var(--ink-2);
  background: color-mix(in srgb, var(--accent-2) 7%, transparent);
}
.footer__copy { margin-top: 22px; font-size: 12.5px; color: var(--muted); }

/* ---------- AI 상담 도우미 ---------- */

.chatbot { position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: 500; }

.chatbot__toggle {
  position: relative;
  width: 56px; height: 56px; flex: none;
  border-radius: 50%; border: none;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 22%, transparent);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.chatbot__toggle:hover { transform: translateY(-2px); }

.chatbot__icon { width: 23px; height: 23px; position: absolute; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.chatbot__icon--close { opacity: 0; transform: rotate(-45deg) scale(0.6); }
.chatbot.is-open .chatbot__icon--chat { opacity: 0; transform: rotate(45deg) scale(0.6); }
.chatbot.is-open .chatbot__icon--close { opacity: 1; transform: none; }

.chatbot__panel {
  position: absolute; right: 0; bottom: calc(100% + 16px);
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 160px));
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 20%, transparent);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.chatbot.is-open .chatbot__panel { opacity: 1; transform: none; pointer-events: auto; }

.chatbot__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chatbot__title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; }
.chatbot__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.chatbot__close {
  width: 28px; height: 28px; flex: none;
  border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chatbot__close:hover { border-color: var(--ink); color: var(--ink); }

.chatbot__body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.chatbot__msg { max-width: 86%; padding: 10px 14px; border-radius: var(--r-md); font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.chatbot__msg--bot { align-self: flex-start; background: var(--bg-soft); color: var(--ink); border-bottom-left-radius: 6px; }
.chatbot__msg--user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }

.chatbot__msg--typing { display: inline-flex; gap: 4px; align-items: center; padding: 13px 14px; }
.chatbot__msg--typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: chatDot 1.1s infinite ease-in-out; }
.chatbot__msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot__msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

.chatbot__notice { padding: 0 18px 10px; font-size: 11px; color: var(--muted); }

.chatbot__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chatbot__form textarea {
  flex: 1; resize: none; max-height: 90px;
  padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 14px; line-height: 1.5;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.chatbot__form textarea:focus {
  border-color: var(--accent); background: var(--surface); outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.chatbot__send {
  width: 40px; flex: none;
  border-radius: var(--r-sm); border: none;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.3s var(--ease);
}
.chatbot__send:hover { background: var(--ink); }
.chatbot__send:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 460px) {
  .chatbot__panel { right: -8px; width: calc(100vw - 16px); }
}

/* ---------- reveal ---------- */

html[data-js] .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
html[data-js] .reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */

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