@charset "utf-8";

/* =========================================================
   HYEONAM LAW — Bright White & Deep Green
   1. Tokens        2. Reset        3. Base / Utility
   4. Components    5. Sections     6. Responsive

   [톤 전환 방식]
   기본(:root)은 화이트 톤입니다. 섹션 태그에 아래 클래스를 붙이면
   그 섹션 내부 토큰이 통째로 재정의됩니다. 개별 요소 수정 불필요.
     .section--soft   → 연한 그린그레이 배경
     .section--forest → 딥그린(포레스트) 배경 + 흰 글씨
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* --- 브랜드 고정색 (톤과 무관) --- */
  --forest:        #14392C;  /* 포레스트그린: 다크 섹션·푸터 베이스 */

  /* 포인트 그라데이션 (그린 → 블루)
     bright = 참고 이미지 원색. 큰 면적/장식용. 흰 글씨는 스크림 필수(대비 3.3:1)
     grad   = 같은 색상의 진한 버전. 버튼 등 작은 글씨용(흰 글씨 4.9~5.6:1) */
  --grad-bright-a: #3C9E70;
  --grad-bright-b: #2A5C99;
  --grad-a:        #2E7F58;
  --grad-b:        #1D4A7D;
  --grad:          linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%);

  --accent:        #1E4C82;  /* 솔리드 포인트(네이비): 채움·보더 */
  --accent-lt:     #3467A6;  /* 밝은 네이비: 라인·도트 */

  /* --- 화이트 톤 (기본값) --- */
  --bg:            #FFFFFF;
  --surface:       #FFFFFF;
  --surface-2:     #F2F6F4;

  --text:          #101413;  /* 제목 */
  --text-1:        #232926;  /* 본문 강조 */
  --text-2:        #4A524D;  /* 본문 */
  --text-3:        #5E665F;  /* 보조 */
  --text-4:        #6B746E;  /* 캡션 */

  --line:          rgba(16,30,22,.10);
  --line-strong:   rgba(16,30,22,.18);

  --accent-txt:    #1B4A82;  /* 배경 위 포인트 텍스트/아이콘 (8.9:1) */
  --accent-veil:   rgba(27,74,130,.08);
  --accent-line:   rgba(27,74,130,.24);

  --input-bg:      #F7F9F7;
  --pill-bg:       rgba(255,255,255,.90);
  --stamp-bg:      rgba(255,255,255,.80);
  --ph-stripe:     rgba(16,30,22,.04);
  --map-land:      #E4EDE8;
  --map-stroke:    rgba(27,74,130,.34);
  --pin-glow:      rgba(27,74,130,.30);
  --card-shadow:   0 22px 44px -20px rgba(16,40,28,.22);
  --ghost:         rgba(16,30,22,.05);

  /* --- 타이포 --- */
  --ff-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
           "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --ff-en: "Playfair Display", "Cormorant Garamond", Georgia, serif;

  /* --- 레이아웃 --- */
  --wrap: 1440px;
  --wrap-narrow: 860px;
  --gutter: 24px;
  --sec-pad: clamp(88px, 11vw, 168px);
  --radius: 6px;
  --radius-lg: 12px;

  /* --- 모션 --- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --- 연한 그린그레이 섹션 --- */
.section--soft {
  --bg:            #F2F6F4;
  --text-4:        #68706A;
  --surface:       #FFFFFF;
  --surface-2:     #FFFFFF;
  --input-bg:      #FFFFFF;
  --ph-stripe:     rgba(16,30,22,.05);
}

/* --- 딥블랙 섹션 --- */
.section--dark {
  --bg:            #0F0F0F;
  --surface:       #161716;
  --surface-2:     #1C1E1C;

  --text:          #FFFFFF;
  --text-1:        #EDEEEC;
  --text-2:        #B9BCB8;
  --text-3:        #858984;
  --text-4:        #767D76;

  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --accent-txt:    #a6c4b6;
  --accent-veil:   rgba(166,196,182,.10);
  --accent-line:   rgba(166,196,182,.30);

  --input-bg:      #0A0A0A;
  --pill-bg:       rgba(15,15,15,.72);
  --stamp-bg:      rgba(15,15,15,.70);
  --ph-stripe:     rgba(255,255,255,.02);
  --map-land:      #182420;
  --map-stroke:    rgba(166,196,182,.26);
  --pin-glow:      rgba(166,196,182,.80);
  --card-shadow:   0 28px 56px -22px rgba(0,0,0,.95);
  --ghost:         rgba(53,149,154,.12);
}

/* --- 딥그린(포레스트) 섹션 --- */
.section--forest {
  --bg:            #133A2C;
  --surface:       #17452F;
  --surface-2:     #1B5140;

  --text:          #FFFFFF;
  --text-1:        #EAF2EE;
  --text-2:        #BBCDC5;
  --text-3:        #96ADA3;
  --text-4:        #86A199;

  --line:          rgba(255,255,255,.12);
  --line-strong:   rgba(255,255,255,.22);

  --accent-txt:    #a6c4b6;
  --accent-veil:   rgba(166,196,182,.10);
  --accent-line:   rgba(166,196,182,.28);

  --input-bg:      rgba(0,0,0,.18);
  --pill-bg:       rgba(8,28,20,.58);
  --stamp-bg:      rgba(8,25,18,.66);
  --ph-stripe:     rgba(255,255,255,.045);
  --map-land:      #1B5140;
  --map-stroke:    rgba(166,196,182,.32);
  --pin-glow:      rgba(166,196,182,.70);
  --card-shadow:   0 24px 48px -20px rgba(0,0,0,.5);
  --ghost:         rgba(255,255,255,.05);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--ff-ko);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.015em;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }

/* ── 모든 해상도 가로 오버플로우/잘림 방지 ── */
video, iframe, table { max-width: 100%; }
/* flex·grid 자식이 콘텐츠 최소폭 때문에 넘치지 않도록 (좁은 폰 대비) */
*, *::before, *::after { min-width: 0; }
/* 이메일·URL 등 공백 없는 긴 문자열도 줄바꿈 */
body { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
summary::-webkit-details-marker { display: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- 3. Base / Utility ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--wrap-narrow); }

.section {
  padding-block: var(--sec-pad);
  position: relative;
  background: var(--bg);
  color: var(--text-1);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 20px; background: var(--accent); color: #fff;
}
.skip-link:focus { left: 12px; top: 12px; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Section heading */
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--center { text-align: center; }
.sec-label {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent-txt);
  margin-bottom: 18px;
}
.sec-label::before {
  content: ""; display: inline-block;
  width: 26px; height: 1px; margin-right: 12px; vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--accent-txt));
}
/* 장식선 없는 라벨 */
.sec-label--plain {
  font-family: var(--ff-ko);
  font-size: 20px; font-weight: 700;
  letter-spacing: -.01em; text-transform: none;
}
.sec-label--plain::before { display: none; }

.sec-title {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--text);
}
.sec-title--md { font-size: clamp(26px, 3.2vw, 40px); }
.sec-title em { font-style: normal; color: var(--accent-txt); }
.sec-desc {
  margin-top: 18px;
  color: var(--text);
  font-size: 25px;   /* 모든 섹션 서브 텍스트 공통 크기 */
  line-height: 1.7;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 4. Components ---------- */
/* Button */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h);
  padding-inline: 30px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  white-space: nowrap;
  position: relative;
  isolation: isolate; /* ::after 오버레이(z-index:-1)가 버튼 내부에만 적용되도록 */
  overflow: hidden;
  transition: transform .4s var(--ease), color .35s var(--ease),
              background-color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--grad);
  color: #fff;
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; /* 글자 뒤에 깔리도록(텍스트 가림 방지) */
  background: linear-gradient(135deg, #256A49 0%, #185B7E 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(31,110,150,.6); }
.btn--primary:hover::after { opacity: 1; }
.btn--primary > * { position: relative; z-index: 1; }

/* 진한 배경 위에서는 그린 버튼이 묻히므로 화이트로 반전 */
.section--forest .btn--primary,
.feed .btn--primary { background: #fff; color: var(--forest); }
.section--forest .btn--primary::after,
.feed .btn--primary::after { display: none; }   /* 텍스트 가림 버그 방지 */
.section--forest .btn--primary:hover,
.feed .btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.feed .btn--primary { color: #14547A; }

.btn--line {
  border: 1px solid var(--line-strong);
  color: var(--text-1);
  background: var(--surface);
}
.btn--line:hover { border-color: var(--accent); color: var(--accent-txt); }

.btn--ghost { color: var(--text-2); padding-inline: 18px; height: 40px; font-size: 14px; }
.btn--ghost:hover { color: var(--accent-txt); }

.btn--lg { --btn-h: 60px; padding-inline: 38px; font-size: 16px; }
.btn--sm { --btn-h: 44px; padding-inline: 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* Pulse dot */
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-txt); display: inline-block; flex: none;
  position: relative;
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent-txt);
  animation: pulseRing 2s var(--ease-out) infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Header — 메인에서 숨김 (스크롤해도 표시 안 함) */
.header { display: none !important; }
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 92px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;   /* 첫 화면: 숨김 */
  transition: transform .45s var(--ease), opacity .45s var(--ease),
              background-color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  transform: translateY(0); opacity: 1; pointer-events: auto;        /* 스크롤: 나타남 */
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16,40,28,.5);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__img { height: 34px; width: auto; display: block; }
.logo--footer .logo__img {   /* 어두운 푸터: 흰 배경 뱃지 위 원본 로고 */
  height: 34px;
  background: #fff; padding: 9px 14px; border-radius: 8px;
}
.logo__mark {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--ff-en);
  font-size: 17px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.logo:hover .logo__mark { background: var(--accent); color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.logo__text em {
  font-family: var(--ff-en); font-style: normal;
  font-size: 9px; letter-spacing: .26em; color: var(--text-4);
}

.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 34px; }
.gnb a {
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  position: relative; padding-block: 6px;
  transition: color .35s var(--ease);
}
.gnb a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.gnb a:hover { color: var(--text); }
.gnb a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header__cta .btn--ghost { height: 72px; padding-inline: 18px; font-size: 40px; font-weight: 700; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--text-1);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* hidden 속성이 붙어 있어도 아래 display:flex 가 브라우저 기본값(display:none)을 덮어써
   화면 전체를 덮는 투명 오버레이가 남는다 → 아무 데나 클릭해도 메뉴 링크가 눌림.
   반드시 [hidden] 을 명시적으로 숨길 것. */
.mobile-nav[hidden] { display: none; }
.mobile-nav {
  position: fixed; inset: 68px 0 0 0; z-index: 99;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 40px var(--gutter) 60px;
  display: flex; flex-direction: column; gap: 30px;
  opacity: 0; transition: opacity .4s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 18px 4px; font-size: 18px; font-weight: 600; color: var(--text-1); }
.mobile-nav a:active { color: var(--accent-txt); }

/* ---------- 5. Sections ---------- */
/* ① HERO — 라운드 인셋 프레임 + 문구 슬라이더 + 하단 빠른상담 바 */
.hero {
  --hero-inset: clamp(10px, 1.3vw, 22px);  /* 프레임을 화면 가장자리에서 띄우는 여백 */
  /* 여백을 프레임 margin 이 아니라 섹션 padding 으로 준다.
     margin 이면 마진 상쇄로 섹션 밖으로 빠져나가 100vh 가 어긋남 */
  padding: var(--hero-inset);
  height: 100svh;                         /* 섹션 전체 = 정확히 한 화면 */
  min-height: 648px;                      /* 아주 낮은 화면에서 콘텐츠가 잘리지 않게 */
  background: var(--bg);
}
.hero__frame {
  position: relative;
  height: 100%;
  border-radius: clamp(18px, 1.8vw, 28px);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 80px) 0;   /* 상하 대칭 → 세로 중앙 */
}

.hero__bg { position: absolute; inset: 0; z-index: -1; background: #F2F6F4; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% center;
  display: block;
}
.hero__bg.is-empty .hero__img { display: none; }
.hero__wash { position: absolute; inset: 0; }
/* 이미지가 있을 때: 좌측 텍스트 가독성용 워시 */
.hero__wash {
  background: linear-gradient(180deg, rgba(8,16,13,.52) 0%, rgba(8,16,13,.4) 42%, rgba(8,16,13,.62) 100%);
}
/* 이미지가 없을 때: 그린 → 블루 워시로 대체 */
.hero__bg.is-empty .hero__wash {
  background:
    radial-gradient(circle at 16% 14%, rgba(60,158,112,.20), transparent 50%),
    radial-gradient(circle at 88% 74%, rgba(46,140,190,.18), transparent 56%),
    linear-gradient(160deg, #FFFFFF 30%, #EDF3F1 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.hero__bg:not(.is-empty) .hero__glow { display: none; }
.hero__glow--a {
  width: 52vw; height: 52vw; max-width: 680px; max-height: 680px;
  top: -18%; left: -8%;
  background: radial-gradient(circle, rgba(60,158,112,.30), transparent 68%);
  animation: float 18s ease-in-out infinite;
}
.hero__glow--b {
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px;
  bottom: -14%; right: -4%;
  background: radial-gradient(circle, rgba(46,140,190,.26), transparent 70%);
  animation: float 22s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(3%, 5%, 0) scale(1.08); }
}

.hero__inner { position: relative; text-align: center; }
/* --- 문구 슬라이더 --- */
.hero__slider { display: grid; justify-items: center; margin-bottom: 40px; }
.hero__slide {
  grid-area: 1 / 1;             /* 4장을 같은 칸에 겹쳐 높이는 가장 큰 것에 맞춤 */
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__logo {
  display: block; width: clamp(72px, 7vw, 104px); height: auto;
  margin: 0 auto clamp(16px, 2vw, 26px);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.28));
}
.hero__title {
  font-size: clamp(28px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.045em;
  color: #fff;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: normal;
  color: #fff;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__in {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1s var(--ease-out);
}
.hero__slide.is-active .line:nth-child(1) .line__in { transform: none; transition-delay: .05s; }
.hero__slide.is-active .line:nth-child(2) .line__in { transform: none; transition-delay: .16s; }

.hero__sub {
  font-size: clamp(18px, 1.9vw, 24px);
  color: #fff;
  max-width: 46ch; margin-left: auto; margin-right: auto;
}

.hero__badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px;
  max-width: max-content; margin: 0 auto;
  padding: 16px 30px;
  background: var(--grad);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__badges li { display: flex; align-items: center; gap: 8px; font-size: 19px; color: #fff; }
.hero__badges span { color: #fff; font-size: 14px; }

/* --- Scroll to explore --- */
.hero__scroll {
  position: absolute; left: 50%; bottom: 132px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 1;
}
.hero__mouse {
  width: 17px; height: 26px;
  border: 1.5px solid var(--text-4);
  border-radius: 10px;
  position: relative;
}
.hero__mouse::after {
  content: ""; position: absolute; left: 50%; top: 5px;
  width: 2px; height: 5px; margin-left: -1px;
  border-radius: 2px;
  background: var(--accent);
  animation: mouseDot 2s var(--ease-out) infinite;
}
@keyframes mouseDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.hero__scroll-text {
  font-family: var(--ff-en); font-size: 11px; letter-spacing: .12em;
  color: var(--text-4);
  transition: color .35s var(--ease);
}
.hero__scroll:hover .hero__scroll-text { color: var(--accent-txt); }

/* --- 하단 빠른상담 바 --- */
.hero__bar-wrap {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
}
.quickbar {
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px);
  padding: 14px 14px 14px clamp(22px, 2vw, 32px);
  border-radius: 100px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -22px rgba(16,40,28,.35);
}
.quickbar__title {
  flex: none;
  font-size: 15px; font-weight: 700; color: var(--text);
  letter-spacing: -.02em;
}
.quickbar__fields {
  flex: 1 1 auto;
  display: grid; grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: clamp(10px, 1.2vw, 20px);
  min-width: 0;
}
.quickbar__field {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  padding-left: clamp(10px, 1.2vw, 18px);
  border-left: 1px solid var(--line);
}
.quickbar__label {
  flex: none;
  font-size: 12.5px; font-weight: 500; color: var(--text-3);
  white-space: nowrap;
}
.quickbar__label i { font-style: normal; color: var(--accent-txt); }
.quickbar input, .quickbar select {
  width: 100%; min-width: 0;
  padding: 6px 2px;
  border: 0; border-bottom: 1px solid transparent;
  background: transparent;
  font-size: 16px; color: var(--text-1); /* iOS 자동확대 방지 */
  transition: border-color .3s var(--ease);
}
.quickbar select {
  appearance: none; cursor: pointer;
  padding-right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E665F' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center;
}
.quickbar input::placeholder { color: var(--text-4); }
.quickbar input:focus, .quickbar select:focus {
  outline: none; border-bottom-color: var(--accent);
}
.quickbar__field.is-error { border-left-color: #C2564A; }
.quickbar__field.is-error input, .quickbar__field.is-error select { border-bottom-color: #C2564A; }

.quickbar__submit {
  flex: none;
  height: 48px; padding-inline: 30px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff; font-size: 14.5px; font-weight: 600;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s var(--ease);
}
.quickbar__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(31,110,150,.7); }
.quickbar__result {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%);
  padding: 8px 16px; border-radius: 100px;
  background: var(--text); color: #fff;
  font-size: 12.5px; white-space: nowrap;
}
.quickbar__result:empty { display: none; }

/* --- 우측 퀵메뉴 — 다크 알약 + 파란 CTA --- */
.quick-rail {
  position: fixed; right: 32px; top: 50%; z-index: 89;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.quick-rail__box {
  display: flex; flex-direction: column; align-items: center;
  background: #0E1013;
  border-radius: 46px;
  padding: 0 8px 12px;                /* 하단: 파란 원 아래 여백 */
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
}
.quick-rail__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%; padding: 22px 6px;
  color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 500; line-height: 1.22;
  transition: background-color .3s var(--ease);
}
.quick-rail__item + .quick-rail__item { border-top: 1px solid rgba(255,255,255,.1); }
.quick-rail__item:hover { background: rgba(255,255,255,.07); }
.quick-rail__ico svg { width: 26px; height: 26px; display: block; }

.quick-rail__cta {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 12px;
  background: linear-gradient(150deg, var(--grad-a), var(--grad-b));
  color: #fff; font-size: 15px; font-weight: 700; line-height: 1.15; text-align: center;
  box-shadow: 0 10px 24px -8px rgba(30,76,130,.7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quick-rail__cta:hover { transform: scale(1.06); }

/* ② 고민 체크리스트 — 화면 전체 폭 카드 밴드 */
/* 카드 밴드가 섹션의 마지막 요소이므로, 하단 여백 없이 다음 섹션에 바로 붙임 */
.worries { padding-bottom: 0; }

.worry-row {
  /* 컨테이너 밖으로 나가 화면 좌우를 가득 채움 (body에 overflow-x:hidden 있음) */
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* 참고 이미지의 그린 → 블루 그라데이션이 밴드 전체를 관통 */
  background: linear-gradient(100deg, var(--grad-bright-a) 0%, var(--grad-bright-b) 100%);
}
.worry-card__link {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;   /* 상하좌우 가운데 정렬 */
  gap: 12px;
  height: clamp(230px, 21vw, 320px);
  padding: clamp(18px, 1.6vw, 26px);
  border-right: 1px solid rgba(255,255,255,.20);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  transition: background-color .5s var(--ease);
}
.worry-card:last-child .worry-card__link { border-right: 0; }
.worry-card__link::before {
  /* 스크림 — 밝은 그라데이션 위 흰 글씨 대비 확보 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,26,34,.10) 0%, rgba(6,26,34,.52) 100%);
}

.worry-card__num {
  font-family: var(--ff-en);
  font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1;
  color: rgba(255,255,255,.55);
  transition: color .5s var(--ease);
}

.worry-card__label { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.worry-card__en {
  font-style: normal;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255,255,255,.82);
}
.worry-card__title {
  font-size: clamp(20px, 4.2vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.035em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(6,26,34,.35);
}

/* ③ ABOUT — 웹드라마 썸네일 카드 (참고 이미지 레이아웃) */
.about {
  padding: var(--sec-pad) var(--gutter);
  background: var(--bg);
}
.about__card {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  aspect-ratio: 2 / 1;
  min-height: 480px;
  background: #F8F8F8;
  border-radius: 22px;
  overflow: hidden;
}
/* 데스크톱: 우측 고정 퀵메뉴와 겹치지 않도록 좌우 여백을 동일하게 넉넉히 확보 */
@media (min-width: 1241px) {
  .about__card { max-width: min(var(--wrap), calc(100vw - 280px)); }
}

/* 상단 바 */
.about__topbar {
  position: absolute; z-index: 6;
  top: clamp(20px, 2.6vw, 34px);
  left: clamp(24px, 3.2vw, 46px);
  right: clamp(24px, 3.2vw, 46px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.about__pills { display: flex; gap: 8px; }
.about__pill {
  font-family: var(--ff-en); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; padding: 6px 14px; border-radius: 8px; line-height: 1;
}
.about__pill--accent { background: var(--grad); color: #fff; }
.about__pill--dark { background: var(--forest); color: #fff; }
.about__brand { display: flex; align-items: center; gap: 8px; }
.about__brand-name {
  font-family: var(--ff-en); font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600; letter-spacing: .18em; color: var(--text);
}
.about__brand-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--line-strong); }
.about__brand-dot:nth-of-type(3) { background: var(--grad); }

/* 배경 워터마크 */
.about__watermark {
  position: absolute; z-index: 1; pointer-events: none; user-select: none;
  right: clamp(90px, 12vw, 220px); top: 50%; transform: translateY(-50%);
  font-family: var(--ff-ko); font-weight: 900;
  font-size: clamp(96px, 15vw, 240px); line-height: .82; letter-spacing: -.05em;
  color: rgba(46,127,88,.13);
}

/* 좌: 타이틀 */
.about__text {
  position: absolute; z-index: 4;
  left: clamp(40px, 6vw, 100px);
  top: 50%; transform: translateY(-50%);
  max-width: min(52%, 660px);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(24px, 3vw, 40px);
}
/* 하단 대형 세리프 워드마크 (연하게, 인물 뒤) */
.about__wordmark {
  position: absolute; z-index: 2; pointer-events: none; user-select: none;
  left: clamp(20px, 3vw, 48px); bottom: clamp(6px, 1.4vw, 24px);
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-style: italic;
  font-size: clamp(72px, 14vw, 220px); line-height: .9; letter-spacing: 0;
  white-space: nowrap; color: rgba(46,127,88,.09);
}
.about__eyebrow {
  font-family: var(--ff-en); font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600; letter-spacing: .22em; color: var(--accent-txt);
}
.about__headline {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700; line-height: 1.45; letter-spacing: -.03em; color: var(--text);
}
.about__headline em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 특징 3종 */
.about__features {
  display: flex; gap: clamp(18px, 2.6vw, 42px);
}
.about__feat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  max-width: 140px; position: relative;
}
.about__feat + .about__feat { padding-left: clamp(18px, 2.6vw, 42px); }
.about__feat + .about__feat::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 8px;
  width: 1px; background: var(--line);
  margin-left: calc(-1 * clamp(9px, 1.3vw, 21px));
}
.about__feat-ico {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--accent-line); color: var(--accent-txt);
  background: var(--accent-veil);
}
.about__feat-ico svg { width: 23px; height: 23px; }
.about__feat-label { font-size: clamp(12px, 1vw, 14px); font-weight: 600; color: var(--text-2); line-height: 1.35; }

/* 서명 */
.about__sign {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(15px, 1.4vw, 19px); color: var(--text-3); letter-spacing: .01em;
}
.about__sign-role { position: relative; padding-right: 14px; }
.about__sign-role::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px; background: var(--line-strong);
}
.about__sign strong { font-size: 1.4em; font-weight: 700; color: var(--text); letter-spacing: .04em; }
.about__sign-mark {
  font-family: "Nanum Pen Script", cursive; font-size: 2.1em; line-height: 1;
  color: var(--text-4); opacity: .7; transform: rotate(-4deg); margin-left: 4px;
}

/* 도트 그리드 장식 */
.about__dots {
  position: absolute; z-index: 2; pointer-events: none;
  top: clamp(40px, 9%, 84px); left: min(52%, 620px);
  width: 96px; height: 60px;
  color: var(--accent-txt);
  background-image: radial-gradient(currentColor 1.5px, transparent 1.6px);
  background-size: 15px 15px; opacity: .22;
}
.about__ep {
  display: inline-block; margin-top: clamp(20px, 2.6vw, 32px);
  background: var(--forest); color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 8px; letter-spacing: .02em;
}

/* 우: 인물 (중앙 배치, 하단 자연스러운 크롭) */
.about__figure {
  position: absolute; z-index: 3;
  right: clamp(40px, 6vw, 100px);
  top: clamp(50px, 10%, 120px); bottom: 0;
  display: flex; align-items: flex-start; justify-content: flex-end;
}
/* 배경 — 우상단 겹친 원형 블롭 (그린→네이비 + 옅은 세이지) */
.about__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  border-radius: inherit; pointer-events: none;
}
.about__bg svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; }
/* 좌하단 삼각형 */
.about__tri {
  position: absolute; z-index: 0;
  left: clamp(28%, 30vw, 38%); bottom: 0;
  width: clamp(240px, 29vw, 400px); height: clamp(150px, 19vw, 250px);
  background: linear-gradient(150deg, #DBE8E1 0%, #C3D8CC 100%);
  clip-path: polygon(0 100%, 100% 22%, 100% 100%);
}
/* 우측 둥근 사각형 (가장자리에 붙지 않게 여백) */
.about__rrect {
  position: absolute; z-index: 0;
  right: clamp(30px, 3.5vw, 70px);
  top: clamp(150px, 24%, 260px);
  bottom: 0;
  width: clamp(180px, 22vw, 320px);
  background: linear-gradient(150deg, #2E7F58 0%, #173E56 100%);
  border-radius: 44px 44px 0 0;
}
.about__blob { position: absolute; border-radius: 50%; }
.about__blob--dark {
  width: clamp(440px, 52vw, 720px); aspect-ratio: 1;
  top: clamp(-260px, -25vw, -160px); right: clamp(-150px, -11vw, -70px);
  background: linear-gradient(142deg, #3C9E70 0%, #2E7F58 42%, #173E56 100%);
}
.about__blob--light {
  width: clamp(500px, 58vw, 800px); aspect-ratio: 1;
  top: clamp(-260px, -25vw, -150px); right: clamp(-210px, -15vw, -110px);
  background: #D6E5DD; opacity: .8;
}
.about__rect {
  position: absolute; z-index: 0;
  right: clamp(-40px, -3vw, -18px); bottom: clamp(-44px, -4vw, -24px);
  width: clamp(220px, 28vw, 380px); height: clamp(170px, 22vw, 300px);
  background: linear-gradient(140deg, #2E7F58 0%, #173E56 100%);
  border-radius: 30px;
  opacity: .92;
}
/* 좌하단 옅은 대각선 웨지 */
.about__diag {
  position: absolute; inset: auto 0 0 0; height: 48%; z-index: 0;
  background: linear-gradient(112deg, #E6EEE9 0%, #D3E1DB 100%);
  clip-path: polygon(0 60%, 100% 6%, 100% 100%, 0 100%);
  opacity: .9;
}
.about__figure img {
  position: relative;
  width: clamp(300px, 35vw, 470px); height: auto;
  object-fit: contain; object-position: top center;
  filter: drop-shadow(0 22px 44px rgba(16,40,28,.24));
}

/* 우측 세로 태그 */
.about__sidetags {
  position: absolute; z-index: 6;
  right: clamp(18px, 2.4vw, 40px); top: 50%; transform: translateY(-25%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.about__sidetag {
  background: var(--forest); color: #fff;
  font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 8px; letter-spacing: .01em;
}
.about__sidetag--accent { background: var(--grad); }

/* 이미지 없을 때 자리표시자 */
.ph {
  position: absolute; inset: 0;
  display: none; place-items: center;
  font-size: 13px; color: var(--text-4); letter-spacing: .1em;
  background:
    repeating-linear-gradient(45deg, var(--ph-stripe) 0 8px, transparent 8px 16px),
    var(--surface-2);
}
.is-empty img { display: none; }
.is-empty .ph { display: grid; }

.about__seal {
  position: absolute; right: -4%; top: 4%;
  font-family: var(--ff-en);
  font-size: clamp(56px, 7vw, 92px);
  line-height: .9;
  color: var(--ghost);
  writing-mode: vertical-rl;
  letter-spacing: .06em;
  pointer-events: none;
  user-select: none;
}
.about__seal em { font-style: normal; }

/* ④ MEMBERS — White */
.member-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.member {
  background: var(--bg);
  padding: clamp(30px, 3vw, 46px) clamp(24px, 2.4vw, 38px);
  transition: background-color .55s var(--ease);
}
.member.is-in { transition: background-color .55s var(--ease),
                            opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.member:hover { background: var(--surface-2); }
/* 직함을 이름 위가 아니라 왼쪽에 나란히 */
.member__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 22px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.member__head::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 46px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.member:hover .member__head::after { transform: scaleX(1); }
.member__role {
  flex: none;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--grad);              /* 포인트 그라데이션(그린→블루) */
  border: 1px solid transparent;
  font-size: 12px; font-weight: 600; letter-spacing: -.01em;
  color: #fff;
  white-space: nowrap;
}
.member__name {
  font-size: clamp(25px, 2.4vw, 31px); font-weight: 700; letter-spacing: -.03em;
  color: var(--text);
}
/* 경력 목록 — 본문 색·크기를 올려 가독성 확보 (8.1:1) */
.member__list li {
  position: relative; padding-left: 16px;
  font-size: 15.5px; line-height: 1.95; color: var(--text-2);
}
.member__list li + li { margin-top: 4px; }
.member__list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent-lt);
  transition: background-color .4s var(--ease);
}
.member:hover .member__list li::before { background: var(--accent); }

/* ⑤ GOLDEN TIME — Soft / 세로 구성 */
/* 배경: 위 아주 연한 연두 → 아래로 갈수록 포인트색(그린→블루) */
#timing {
  background: linear-gradient(236deg, #041e2d 30%, #0b5a5a 100%);
}

.timing__head { text-align: center; margin-bottom: clamp(28px, 3vw, 44px); }
/* 부제 아래 여백 + 세로선 */
.timing__head::after {
  content: ""; display: block;
  width: 2px; height: clamp(32px, 3.4vw, 48px);
  margin: clamp(28px, 3vw, 44px) auto 0;
  background: linear-gradient(180deg, transparent, #a6c4b6);
  border-radius: 2px;
}
/* 다크 틸 배경 위 텍스트 */
#timing .sec-label { color: #a6c4b6; }
#timing .sec-title { color: #fff; }
#timing .sec-title em { color: #a6c4b6; }
#timing .sec-desc { color: rgba(255,255,255,.82); }
#timing .timing__label--warn { color: #fff; }
.timing__body {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(16px, 2vw, 28px);
}
.timing__warn { width: 100%; text-align: center; }
.timing__label { font-size: clamp(24px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.timing__label--warn { color: var(--text-1); margin-bottom: clamp(40px, 5vw, 72px); }
.timing__label--good {
  color: #EAF4F0; margin-bottom: clamp(20px, 2.2vw, 34px);
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.03em;
}

/* 4개 경고 카드 — 세로 긴 이미지 카드 (검정) */
.timing__cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 22px);
  align-items: start;
}
/* 2·4번째 카드를 아래로 내려 지그재그 */
.timing__cards li:nth-child(even) { margin-top: clamp(26px, 3.4vw, 52px); }

.timing__card {
  position: relative;
  aspect-ratio: 3 / 4.4;                 /* 세로로 길게 */
  border-radius: 14px;
  overflow: hidden;
  background: #0F0F0F;                    /* 카드 검정 */
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.timing__card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(0,0,0,.5); }

/* 위쪽 이미지 */
.timing__card-media { position: absolute; inset: 0; }
.timing__card-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
}
.timing__card-media.is-empty {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #2A2C2B 0%, #141514 100%);
}
.timing__card-media.is-empty img { display: none; }
/* 아래로 갈수록 검정 그라데이션 — 사진과 하단 텍스트 영역을 자연스럽게 연결 */
.timing__card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 0%, rgba(15,15,15,.12) 26%, rgba(15,15,15,.45) 48%,
    rgba(15,15,15,.82) 66%, #0F0F0F 88%);
}

/* 하단 아이콘 + 글자 */
.timing__card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0 16px clamp(28px, 2.8vw, 40px);
}
.timing__card-ico {
  width: clamp(72px, 6vw, 88px); height: clamp(72px, 6vw, 88px);
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(194,86,74,.16);
  border: 1px solid rgba(224,120,105,.45);
  color: #E68577;
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.timing__card-ico svg { width: clamp(38px, 3.2vw, 46px); height: clamp(38px, 3.2vw, 46px); }
.timing__card:hover .timing__card-ico { background: rgba(194,86,74,.3); transform: scale(1.08); }
.timing__card-label {
  font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: #fff;
  letter-spacing: -.03em;
}

/* 하지만 → 화살표 (연결선) */
.timing__arrow {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: clamp(24px, 3.5vw, 56px);
}

.timing__but {
  font-size: clamp(24px, 2.8vw, 38px); font-weight: 800;
  letter-spacing: .1em; color: #fff;
}
/* 세로선 제거 */

/* 개인회생 진행 시 — 박스 없이 중앙 정렬 */
.timing__good { text-align: center; max-width: 1100px; }
.timing__result {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700; letter-spacing: -.03em;
  line-height: 1.4; color: #fff;
  white-space: nowrap;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.timing__result strong { color: #fff; font-weight: 800; }

/* ⑥ 전국 비대면 상담 + 실시간 신청현황 — Forest */
/* 좌: 제목 + 신청현황 / 우: 지도 */
/* 100vw 는 스크롤바 폭을 포함하므로 지도 bleed 가 몇 px 넘칠 수 있음 → 섹션에서 잘라냄 */
.consult { overflow: hidden; }
.consult__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.consult__head { margin-bottom: clamp(48px, 6vw, 60px); }
/* 지도는 우측 컬럼 중앙에 크게 배치 */
.consult__mapwrap {
  display: flex; justify-content: center;
}
.korea__img { width: 100%; height: auto; display: block; border-radius: 14px; }
.korea {
  position: relative;
  width: 100%; max-width: 540px;
  aspect-ratio: 837 / 1017;
}

/* --- 지도 중앙 허브 + 방사형 화살표 --- */
.korea__hub {
  position: absolute; left: 51%; top: 43%;   /* 지도 본토 중앙 (우측으로 살짝) */
  width: 0; height: 0; z-index: 2;
}
.korea__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(74px, 15vw, 108px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 38%, #6FB08D 0%, #3C8A63 70%);
  color: #fff; font-size: clamp(11px, 1.5vw, 15px); font-weight: 700; line-height: 1.25;
  letter-spacing: -.01em; z-index: 3;
  animation: hubGlow 2.6s ease-in-out infinite;
}
@keyframes hubGlow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(96,168,124,.16), 0 0 20px 3px rgba(96,168,124,.30); }
  50%      { box-shadow: 0 0 0 13px rgba(96,168,124,.06), 0 0 40px 12px rgba(96,168,124,.55); }
}
.korea__rays {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(230px, 44vw, 372px); height: clamp(230px, 44vw, 372px);
  max-width: none; overflow: visible; pointer-events: none; z-index: 2;
}
.korea__ray-path {
  fill: none; stroke: #5FA07C; stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 0.5 7;
  transform-box: view-box; transform-origin: 0 0;
  animation: rayEmit 2.4s cubic-bezier(.22,.61,.36,1) infinite;
  animation-delay: calc(var(--i) * .14s);
}
@keyframes rayEmit {
  0%   { transform: scale(.12); opacity: 0; }
  22%  { opacity: 1; }
  70%  { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1);   opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .korea__badge, .korea__ray-path { animation: none; }
  .korea__ray-path { transform: scale(1); opacity: .85; }
}
.korea__svg { width: 100%; height: 100%; overflow: visible; }
.korea__land {
  fill: var(--map-land);
  stroke: var(--map-stroke);
  stroke-width: 1.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 18px 34px rgba(16,40,28,.18));
}
.korea__jeju { stroke-width: 1; }

.korea__pins { position: absolute; inset: 0; }
.korea__pin {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
/* 섬·해안처럼 라벨을 아래에 둘 수 없는 위치는 옆으로 */
.korea__pin--side { flex-direction: row; gap: 7px; }
.korea__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--text-4);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.korea__pin.is-active .korea__dot {
  background: var(--accent-txt);
  box-shadow: 0 0 0 5px var(--accent-veil), 0 0 16px var(--pin-glow);
  animation: dotPulse 2.8s var(--ease-out) infinite;
  animation-delay: var(--d, 0s);
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-veil), 0 0 10px var(--pin-glow); }
  50%      { box-shadow: 0 0 0 9px transparent,        0 0 20px var(--pin-glow); }
}
.korea__label {
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--pill-bg);
  border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 600; letter-spacing: -.02em;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.korea__pin.is-active .korea__label { color: var(--text); border-color: var(--accent-line); }

/* 카드 자체를 포인트색으로 채움 — 배경이 진해지므로 내부 토큰을 밝은 톤으로 재정의.
   참고색 원본(#2E7F58→#1F6E96)은 본문 대비가 3.8:1 뿐이라 한 단계 진한 값을 사용 */
.feed {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1D5F44 0%, #14547A 100%);
  box-shadow: var(--card-shadow);
  padding: clamp(24px, 2.6vw, 34px);

  --text:        #FFFFFF;
  --text-1:      #EAF4F0;
  --text-2:      #DCEAE6;
  --text-3:      #CFE3DD;   /* 본문 5.7:1 */
  --text-4:      #BCD5CF;   /* 캡션 4.7:1 */
  --line:        rgba(255,255,255,.16);
  --line-strong: rgba(255,255,255,.30);
  --accent-txt:  #a6c4b6;   /* 강조 통일 */
  --accent-veil: rgba(255,255,255,.14);
  --accent-line: rgba(255,255,255,.28);
}
.feed__head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.feed__title {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; color: var(--text);
}

/* 3줄만 노출 — 높이는 JS가 앞 3개 항목을 실측해 지정 (텍스트 줄바꿈 대응) */
.feed__viewport {
  overflow: hidden;
  height: var(--feed-h, auto);
}
.feed__list {
  will-change: transform;
}
/* 모션 최소화 설정이면 티커 대신 직접 스크롤 */
@media (prefers-reduced-motion: reduce) {
  .feed__viewport { overflow-y: auto; }
}

.feed__item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}
.feed__item:hover { background: var(--accent-veil); }
.feed__badge {
  flex: none;
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 11.5px; font-weight: 600; color: #fff;
  white-space: nowrap;
}
.feed__text {
  flex: 1 1 auto; min-width: 0;
  font-size: 14px; line-height: 1.55; color: var(--text-3);
}
.feed__text strong { color: var(--text-1); font-weight: 600; }
.feed__text em { font-style: normal; color: var(--accent-txt); }
.feed__time {
  flex: none;
  font-size: 12.5px; color: var(--text-4);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.feed__foot { margin-top: 20px; }

/* ⑦ 성공사례 — 가로 캐러셀 */
.cases { overflow: hidden; }
.cases__head {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.cases__head .sec-head { margin-bottom: 0; text-align: left; }
.cases__head .sec-head--center { text-align: left; }

/* 트랙 — 다른 섹션과 동일한 컨테이너 폭/여백에 정렬, 4장이 인덱스 폭에 딱 맞음 */
.case-track {
  --case-gap: clamp(16px, 1.6vw, 24px);
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  gap: var(--case-gap);
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.case-track::-webkit-scrollbar { display: none; }

.case {
  flex: 0 0 calc((100% - var(--case-gap) * 3) / 4);   /* 4장이 컨테이너 폭에 정확히 */
  scroll-snap-align: start;
}
.case__inner {
  position: relative;
  display: flex; flex-direction: column;
  height: clamp(400px, 42vw, 520px);
  padding: clamp(22px, 2vw, 30px);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(165deg, #1D5F44 0%, #123A2C 55%, #0C2A20 100%);
  color: #fff;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease);
}
.case:nth-child(2) .case__inner { background: linear-gradient(165deg, #1D4A7D 0%, #143A52 55%, #0C2536 100%); }
.case:nth-child(3) .case__inner { background: linear-gradient(165deg, #2E7F58 0%, #1B4E5A 55%, #123A45 100%); }
.case:nth-child(4) .case__inner { background: linear-gradient(165deg, #3A6E7E 0%, #1E4A54 55%, #12333A 100%); }
.case:hover .case__inner { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }

.case__num {
  font-family: var(--ff-en);
  font-size: 22px; font-weight: 500;
  color: rgba(255,255,255,.7);
}
.case__media {
  position: relative;
  flex: 1 1 auto;
  margin: 18px 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
}
.case__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.case__media.is-empty img { display: none; }
.case__media.is-empty::before {
  content: "결정문";
  font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.35);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px);
  position: absolute; inset: 0; display: grid; place-items: center;
}
.case__stamp {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 11px 20px;
  border: 2.5px solid #B23A2E;
  border-radius: 6px;
  background: #B23A2E;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: rotate(-6deg);
  transition: transform .5s var(--ease-out);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.35);
}
/* 화면 진입 시 도장 찍히는 효과 (땅땅땅땅) */
.case.is-in .case__stamp {
  animation: stampDown .48s cubic-bezier(.18, .74, .3, 1.5) forwards;
}
.case:nth-child(1).is-in .case__stamp { animation-delay: .25s; }
.case:nth-child(2).is-in .case__stamp { animation-delay: .43s; }
.case:nth-child(3).is-in .case__stamp { animation-delay: .61s; }
.case:nth-child(4).is-in .case__stamp { animation-delay: .79s; }
@keyframes stampDown {
  0%   { opacity: 0; transform: rotate(-15deg) scale(2.1); }
  45%  { opacity: 1; transform: rotate(-6deg) scale(.84); }   /* 쾅! 임팩트 */
  65%  { transform: rotate(-6deg) scale(1.09); }
  82%  { transform: rotate(-6deg) scale(.96); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}
.case:hover .case__stamp { transform: rotate(-6deg) scale(1.05) !important; }
@media (prefers-reduced-motion: reduce) {
  .case__stamp { opacity: 1; }
  .case.is-in .case__stamp { animation: none; }
}
.case__stamp i { font-style: normal; font-size: 12px; font-weight: 700; opacity: 1; }
.case__stamp b { font-size: 21px; font-weight: 900; letter-spacing: -.02em; }

.case__foot { flex: none; }
.case__type {
  display: inline-block;
  padding: 5px 12px; margin-bottom: 13px;
  border-radius: 100px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 12.5px; font-weight: 600; color: #fff;
}
.case__result {
  font-size: clamp(23px, 2.1vw, 30px); font-weight: 800; line-height: 1.35;
  letter-spacing: -.03em; color: #fff;
}
.case__result em { font-style: normal; color: #fff; }
.case__desc {
  margin-top: 11px;
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,.78);
}

/* ⑧ 왜 변호사여야 할까요 — White */
.diff { padding-block: 0; background: linear-gradient(236deg, #041e2d 30%, #0b5a5a 100%); }

/* --- 상단 리드 블록 --- */
.diff__intro {
  position: relative;
  background: transparent;
  padding: var(--sec-pad) 0 clamp(10px, 1.2vw, 18px);  /* 상단: 타 섹션과 통일 */
  overflow: hidden;
}
.diff__intro::before {
  /* 워터마크 (assets/img/diff-bg.png 이 있으면 표시, 없으면 아무것도 안 보임) */
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/diff-bg.png") no-repeat center center / contain;
  opacity: .06;
  pointer-events: none;
}
.diff__intro-inner {
  position: relative;
  text-align: center;   /* 우측 포인트 카드가 빠져 1단 구성 */
}
.diff__eyebrow {
  font-size: 35px; font-weight: 500; color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}
.diff__desc {
  margin-top: 20px;
  font-size: 25px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}

/* --- 하단 3카드 --- */
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
  padding: clamp(20px, 2.2vw, 32px) 0 var(--sec-pad);  /* 하단: 타 섹션과 통일 */
}
.diff-card {
  padding: clamp(30px, 3vw, 44px) clamp(22px, 2.2vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 34px -16px rgba(16,40,28,.28);
  text-align: center;
  transition: transform .6s var(--ease-out), border-color .5s var(--ease),
              box-shadow .5s var(--ease);
}
.diff-card.is-in { transition: transform .6s var(--ease-out), border-color .5s var(--ease),
                               box-shadow .5s var(--ease), opacity .9s var(--ease-out); }
.diff-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: 0 22px 48px -18px rgba(16,40,28,.34);
}
.diff-card__ico {
  width: 62px; height: 62px; margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-veil);
  color: var(--accent-txt);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-out);
}
.diff-card__ico svg { width: 26px; height: 26px; }

/* 블랙 배경 유지 + 카드만 흰색 (내부 텍스트는 라이트 톤 토큰으로 재정의) */
.section--dark .diff-card {
  background: #FFFFFF;
  border-color: rgba(0,0,0,.06);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,.6);

  --text:        #101413;
  --text-2:      #4A524D;
  --text-3:      #5E665F;
  --line:        rgba(16,30,22,.10);
  --accent-txt:  #146B4C;
  --accent-lt:   #3467A6;
  --accent-veil: rgba(31,122,92,.07);
  --surface-2:   #F2F6F4;
}
.section--dark .diff-card__ico {
  background: var(--accent-veil);
  color: var(--accent-txt);
}
.section--dark .diff-card:hover { border-color: var(--accent-line); box-shadow: 0 26px 54px -20px rgba(0,0,0,.7); }

.diff-card:hover .diff-card__ico { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.06); }
/* 카드별 아이콘 색 */
.diff-card:nth-child(1) .diff-card__ico { color: #2E7F58; background: rgba(46,127,88,.12); }
.diff-card:nth-child(2) .diff-card__ico { color: #158A8F; background: rgba(21,138,143,.12); }
.diff-card:nth-child(3) .diff-card__ico { color: #1D4A7D; background: rgba(29,74,125,.12); }
.diff-card:nth-child(1):hover .diff-card__ico { background: #2E7F58; color: #fff; }
.diff-card:nth-child(2):hover .diff-card__ico { background: #158A8F; color: #fff; }
.diff-card:nth-child(3):hover .diff-card__ico { background: #1D4A7D; color: #fff; }
.diff-card__title { font-size: clamp(22px, 2vw, 27px); font-weight: 700; color: var(--text); letter-spacing: -.03em; }
.diff-card__sub { margin-top: 10px; font-size: clamp(14.5px, 1.3vw, 16px); color: var(--text-3); }
.diff-card__rule {
  display: block; width: 40px; height: 2px;
  margin: 22px auto;
  border-radius: 2px;
  background: var(--accent-lt);
  transition: width .5s var(--ease-out);
}
.diff-card:hover .diff-card__rule { width: 68px; }
.diff-card__tags { display: grid; gap: 8px; }
.diff-card__tags li {
  display: flex; align-items: center; gap: 11px;
  padding: 17px 20px;
  border-radius: 8px;
  /* 세 카드에 걸쳐 그라데이션이 이어지도록: 각 카드가 전체 구간의 1/3씩 차지 */
  background: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 300%);
  border: 1px solid transparent;
  font-size: clamp(15.5px, 1.45vw, 18px); line-height: 1.5; font-weight: 600;
  color: #fff;
  text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* 카드2: 그라데이션의 가운데 구간 (그린+블루) */
.diff-card:nth-child(2) .diff-card__tags li {
  background: linear-gradient(90deg, var(--grad-a) -100%, var(--grad-b) 200%);
}
/* 카드3: 그라데이션의 오른쪽 구간 (블루) */
.diff-card:nth-child(3) .diff-card__tags li {
  background: linear-gradient(90deg, var(--grad-a) -200%, var(--grad-b) 100%);
}
.diff-card__tags li i { font-style: normal; flex: none; font-size: 13px; color: rgba(255,255,255,.95); }
.diff-card__tags li:hover { transform: translateX(3px); box-shadow: 0 8px 20px -10px rgba(31,122,92,.6); }

.faq .container--narrow { max-width: 1120px; }

/* ⑨ FAQ — 아주 연한 회색 (그린 기운 없이 중립 그레이) */
#faq { --bg: #F5F5F6; }
.faq-list {
  counter-reset: faq;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: clamp(20px, 2.2vw, 32px);
  padding: clamp(16px, 2vw, 34px) clamp(22px, 3vw, 54px);
  box-shadow: 0 34px 80px -46px rgba(0,0,0,.28);
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: transparent;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  display: flex; align-items: center; gap: 12px;
  padding: 26px 8px;
  cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; color: var(--text-1);
  letter-spacing: -.02em;
  transition: color .35s var(--ease);
}
.faq-item summary::before {
  counter-increment: faq;
  content: counter(faq) ".";
  flex: none; color: var(--text-1); font-weight: 700;
}
.faq-item summary:hover { color: #000; }
.faq-item__ico {
  margin-left: auto; flex: none;
  width: 24px; height: 24px;
  position: relative;
  transition: transform .45s var(--ease);
}
.faq-item__ico::before, .faq-item__ico::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--text-2);
  transition: opacity .35s var(--ease), background-color .35s var(--ease);
}
.faq-item__ico::before { width: 15px; height: 1.6px; margin: -.8px 0 0 -7.5px; }
.faq-item__ico::after  { width: 1.6px; height: 15px; margin: -7.5px 0 0 -.8px; }
.faq-item[open] .faq-item__ico::after { opacity: 0; }
.faq-item__a {
  padding: 0 8px 28px 30px;
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.85; color: var(--text-3);
}
.faq-item[open] .faq-item__a { animation: faqIn .5s var(--ease-out); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ⑩ CONTACT — 좌 타이틀 / 우 폼 (배경 사진 + 검정 오버레이) */
.contact {
  position: relative;
  background: url(../assets/img/contact-bg.jpg) center / cover no-repeat;
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(0, 0, 0, .68);
  pointer-events: none;
}
.contact > .container { position: relative; z-index: 1; }
.contact__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 88px); align-items: center;
}
.contact__intro { text-align: left; }
.contact__eyebrow {
  font-family: var(--ff-en); font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600; letter-spacing: .04em; color: #fff;
}
.contact__title {
  font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin: 12px 0 clamp(16px, 2vw, 24px); line-height: 1.15;
}
.contact__desc { font-size: clamp(17px, 1.9vw, 25px); line-height: 1.6; color: #fff; }
/* 폼 박스: 흰색 + 밝은 톤 스코프 */
.contact .form {
  --surface: #FFFFFF;
  --input-bg: #F5F7F6;
  --text-1: #232926;
  --text-2: #4A524D;
  --text-3: #5E665F;
  --text-4: #7A827C;
  --line: rgba(16,30,22,.12);
  --accent: #1E4C82;
  --accent-txt: #1B4A82;
  --accent-veil: rgba(27,74,130,.08);
}
.contact .form .btn--primary { background: var(--grad); color: #fff; }
.contact .form .btn--primary::after { display: none; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}
.form {
  display: grid; gap: 20px;
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.req { color: var(--accent-txt); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px; /* iOS 포커스 시 자동 확대 방지 (16px 미만이면 확대됨) */
  color: var(--text-1);
  transition: border-color .35s var(--ease), background-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-veil);
  outline: none;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E665F' stroke-width='1.4' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text-1); }
.field.is-error input, .field.is-error select { border-color: #C2564A; }
.field__err { font-size: 12.5px; color: #B33F31; }
.field__err:empty { display: none; }

/* ===== 커스텀 드롭다운 (iOS 네이티브 select 대체 — 칸에 맞게 아래로 펼침) ===== */
.cselect { position: relative; width: 100%; }
.cselect__native { position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; border: 0; clip: rect(0 0 0 0); overflow: hidden; opacity: 0; pointer-events: none; }
.cselect__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; text-align: left;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 16px; color: var(--text-1); cursor: pointer;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.cselect__trigger:focus-visible, .cselect__trigger.is-open {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-veil); outline: none;
}
.cselect__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__trigger.is-placeholder .cselect__label { color: var(--text-4); }
.cselect__arrow { flex: none; width: 12px; height: 8px;
  background: no-repeat center/12px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E665F' stroke-width='1.4' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease); }
.cselect__trigger.is-open .cselect__arrow { transform: rotate(180deg); }

.cselect__panel {
  position: fixed; z-index: 400;
  background: var(--surface, #fff); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 44px -12px rgba(0,0,0,.38);
  padding: 6px; max-height: 264px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .16s var(--ease-out), transform .16s var(--ease-out);
}
.cselect__panel.is-in { opacity: 1; transform: none; }
.cselect__opt {
  width: 100%; text-align: left; padding: 13px 14px; border-radius: 8px;
  background: transparent; border: 0; font-size: 15px; color: var(--text-1); cursor: pointer;
  transition: background-color .15s var(--ease);
}
.cselect__opt:hover { background: var(--surface-2); }
.cselect__opt.is-sel { background: var(--accent-veil); color: var(--accent-txt); font-weight: 600; }
.cselect__opt.is-placeholder { color: var(--text-4); }

.field--check { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.field--check input {
  width: 18px; height: 18px; flex: none; padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.field--check label { font-size: 13.5px; color: var(--text-3); cursor: pointer; }
.field--check a { color: var(--accent-txt); text-decoration: underline; text-underline-offset: 3px; }
.field--check .field__err { flex-basis: 100%; }

.form__note { font-size: 12.5px; color: var(--text-4); text-align: center; }
.form__result { text-align: center; font-size: 14px; color: var(--accent-txt); font-weight: 500; }
.form__result:empty { display: none; }

/* ⑪ 오시는 길 + FOOTER (통합) — Forest */
.footer {
  position: relative;
  /* 우측 퀵메뉴와 동일한 차콜 배경 */
  --bg:            #0E1013;
  --surface-2:     rgba(255,255,255,.05);
  --text:          #EEF2F7;
  --text-1:        #DBE2EA;
  --text-2:        #AEB9C6;
  --text-3:        #8A96A5;
  --text-4:        #828E9D;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);
  --accent:        #158A8F;
  --accent-txt:    #a6c4b6;
  --accent-veil:   rgba(166,196,182,.12);
  --accent-line:   rgba(166,196,182,.30);
  background: var(--bg);
  color: var(--text-2);
  padding-top: clamp(60px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
/* 우측 동심원 장식 */
.footer__deco {
  position: absolute; z-index: -1;
  right: -6%; top: 50%;
  width: 560px; height: 560px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle,
    transparent 0 44px, rgba(255,255,255,.045) 44px 45px);
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 78%);
          mask-image: radial-gradient(circle, #000 55%, transparent 78%);
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
  padding-bottom: clamp(32px, 3.4vw, 52px);
}
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__logo { width: clamp(104px, 10vw, 138px); height: auto; }
.footer__social { display: flex; gap: 10px; }
.footer__social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  transition: background-color .3s var(--ease);
}
.footer__social-btn:hover { background: rgba(255,255,255,.18); }
.footer__social-btn svg { width: 18px; height: 18px; }
.footer__social-n { font-family: var(--ff-en); font-weight: 700; font-size: 15px; }
.footer__contact { text-align: right; }
.footer__contact-label { font-size: clamp(13px, 1.1vw, 15px); color: var(--text-2); margin-bottom: 8px; }
.footer__contact-num {
  font-family: var(--ff-en); font-size: clamp(28px, 3vw, 42px); font-weight: 700;
  color: #fff; letter-spacing: .01em; transition: color .3s var(--ease);
}
.footer__contact-num:hover { color: var(--accent-txt); }
@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__contact { text-align: left; }
}

/* ⑪ 오시는 길 섹션 */
.location { position: relative; overflow: hidden; padding-top: clamp(150px, 17vw, 280px); }
.location__marquee {
  position: absolute; top: clamp(30px, 4vw, 72px); left: 0; width: 100%;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.location__marquee-track {
  display: flex; width: max-content; gap: clamp(28px, 4vw, 70px);
  animation: locMarquee 34s linear infinite;
}
.location__marquee-track span {
  font-family: var(--ff-en); font-size: clamp(38px, 6vw, 92px); font-weight: 500;
  color: rgba(16,30,22,.05); white-space: nowrap; letter-spacing: .01em; line-height: 1;
}
@keyframes locMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .location__marquee-track { animation: none; }
}
.location__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 4vw, 72px); align-items: center;
}
/* 좌: 정보 */
.location__eyebrow {
  font-family: var(--ff-en); font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600; letter-spacing: .06em; color: var(--accent-txt);
}
.location__title {
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em;
  color: var(--text); margin: 10px 0 clamp(24px, 3vw, 36px);
}
.location__addr { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: var(--text-1); font-weight: 500; }
.location__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 clamp(28px, 3.4vw, 44px); }
.location__links .btn-mini { height: 44px; gap: 8px; }
.location__pin-ico {
  width: 13px; height: 13px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: inline-block;
}
.location__pin-ico--naver { background: #03C75A; }
.location__pin-ico--kakao { background: #FEE500; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.location__phone {
  display: flex; align-items: baseline; gap: 16px;
  padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line);
}
.location__phone-label { font-size: 14px; color: var(--text-3); font-weight: 600; }
.location__phone-num {
  font-family: var(--ff-en); font-size: clamp(28px, 3vw, 40px); font-weight: 600;
  color: var(--text); letter-spacing: .01em; transition: color .35s var(--ease);
}
.location__phone-num:hover { color: var(--accent-txt); }
.location__hours-wrap { display: flex; gap: 16px; margin-top: clamp(22px, 2.6vw, 30px); }
.location__hours-label { flex: none; font-size: 14px; color: var(--text-3); font-weight: 600; padding-top: 2px; }
.location__hours { display: grid; gap: 8px; }
.location__hours > div { display: flex; gap: 16px; font-size: 14.5px; }
.location__hours dt { flex: none; width: 72px; color: var(--text-2); font-weight: 600; }
.location__hours dd { color: var(--text-1); font-variant-numeric: tabular-nums; }
.location__note { margin-top: 14px; font-size: 12.5px; color: var(--text-4); }
/* 우: 지도 */
.location__map {
  position: relative; display: block; aspect-ratio: 4 / 3;
  border-radius: clamp(16px, 1.8vw, 26px); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  box-shadow: var(--card-shadow); transition: border-color .4s var(--ease);
}
.location__map:hover { border-color: var(--accent-line); }
.location__map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.location__badge {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 22px -6px rgba(16,40,60,.5); white-space: nowrap;
}
.location__badge-ico { display: grid; place-items: center; }
.location__badge-ico svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .location__grid { grid-template-columns: 1fr; }
  .location__watermark { font-size: clamp(30px, 9vw, 60px); }
}
.footer__col { min-width: 0; }

/* 섹션 라벨 (아이콘 + 제목) */
.footer__label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--text);
  margin-bottom: 16px;
}
.footer__label--sub { margin-top: 40px; }
.footer__ico { display: grid; place-items: center; color: var(--accent-txt); }
.footer__ico svg { width: 17px; height: 17px; }

/* 대표전화 */
.footer__tel {
  display: block;
  font-family: var(--ff-en);
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--text);
  transition: color .35s var(--ease);
}
.footer__tel:hover { color: var(--accent-txt); }

/* 작은 라인 버튼 */
.btn-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding-inline: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 12.5px; font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: border-color .35s var(--ease), color .35s var(--ease),
              background-color .35s var(--ease);
}
.btn-mini:hover { border-color: var(--accent-txt); color: var(--accent-txt); }
.btn-mini--solid { margin-top: 18px; }

/* 상담운영시간 */
.footer__hours { display: grid; gap: 9px; }
.footer__hours > div { display: flex; gap: 18px; font-size: 14px; }
.footer__hours dt { flex: none; width: 62px; color: var(--text-3); letter-spacing: .04em; }
.footer__hours dd { color: var(--text-1); font-variant-numeric: tabular-nums; }
.footer__note { margin-top: 14px; font-size: 12px; color: var(--text-4); }

/* 오시는 길 */
.footer__addr { font-size: 14.5px; line-height: 1.7; color: var(--text-1); }
.footer__maplinks { display: flex; gap: 8px; margin: 16px 0 18px; }

.footer__map {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color .4s var(--ease);
}
.footer__map:hover { border-color: var(--accent-line); }
/* 임베드 지도는 미리보기용 — 마우스 휠 스크롤을 가로채지 않도록 조작 비활성 */
.footer__map-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;
}
.footer__map-hint {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(16,24,38,.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--accent-line);
  font-size: 12px; font-weight: 500; color: #fff;
  transition: background-color .4s var(--ease);
}
.footer__map:hover .footer__map-hint { background: var(--accent); }
.footer__pin {
  width: 11px; height: 11px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--accent-txt);
  animation: pinDrop 2.6s var(--ease-out) infinite;
}
@keyframes pinDrop {
  0%, 60%, 100% { transform: rotate(-45deg) translateY(0); }
  30%           { transform: rotate(-45deg) translateY(-6px); }
}
.footer__subway {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  font-size: 12.5px; color: var(--text-3);
}
.footer__subway b {
  padding: 4px 8px; border-radius: 4px;
  background: var(--accent-veil);
  border: 1px solid var(--accent-line);
  font-size: 11px; font-weight: 600; color: var(--accent-txt);
  white-space: nowrap;
}

/* 법인 정보 */
.footer__col--info { display: flex; flex-direction: column; align-items: flex-start; }
.logo--footer .logo__mark {
  width: 40px; height: 40px; font-size: 18px;
  border-color: var(--accent-line); color: var(--accent-txt);
}
.footer .logo:hover .logo__mark { background: var(--accent-txt); color: var(--forest); }
.footer .logo__text strong { color: var(--text); }
.footer .logo__text em { color: var(--text-3); }
.footer__slogan {
  margin-top: 20px;
  font-size: 14.5px; line-height: 1.8; color: var(--text-3);
}
.footer__slogan em { font-style: normal; color: var(--accent-txt); }

.footer__biz { display: grid; gap: 9px; align-content: start; }
.footer__biz > div { display: flex; gap: 14px; font-size: 13px; line-height: 1.5; }
.footer__biz dt { flex: none; min-width: 92px; color: #fff; font-weight: 600; }
.footer__biz dd { color: var(--text-2); }

/* 하단 저작권 바 */
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.footer__copy { font-family: var(--ff-en); font-size: 12px; letter-spacing: .08em; color: var(--text-4); }
.footer__policy { display: flex; gap: 20px; }
.footer__policy a { font-size: 12.5px; color: var(--text-4); transition: color .3s var(--ease); }
.footer__policy a:hover { color: var(--text-1); }

/* FAB (mobile only) */
.fab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 0;                 /* 버튼 사이 틈 제거 */
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 30px -16px rgba(16,40,28,.4);
}
.fab.is-show { transform: none; }
.fab__item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; font-size: 16.5px; font-weight: 600; }
.fab__item--tel { background: #fff; color: var(--text-1); }
/* 무료 자격진단 신청 — 시선 끄는 효과 (은은한 밝기 펄스 + 광택 스윕) */
.fab__item--form {
  background: linear-gradient(135deg, #EE3B2E 0%, #CC1B12 100%); color: #fff; flex: 1.4;
  position: relative; overflow: hidden;
  animation: fabPulse 2.2s ease-in-out infinite;
}
.fab__item--form > * { position: relative; z-index: 1; }
.fab__item--form::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%;
  width: 55%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: fabShine 3s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.16); }
}
@keyframes fabShine {
  0%        { left: -70%; }
  60%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .fab__item--form { animation: none; }
  .fab__item--form::after { display: none; }
}

/* ===== 빠른 상담신청 팝업 ===== */
.cmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.cmodal[hidden] { display: none; }
.cmodal__overlay {
  position: absolute; inset: 0; background: rgba(8,20,16,.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: cmodalFade .25s var(--ease-out);
}
.cmodal__card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: #fff; border-radius: var(--radius-lg);
  padding: clamp(26px, 6vw, 38px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55);
  max-height: 88vh; overflow-y: auto;
  animation: cmodalIn .32s var(--ease-out);
}
@keyframes cmodalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmodalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.cmodal__close {
  position: absolute; top: 12px; right: 14px; width: 38px; height: 38px;
  border: 0; background: transparent; font-size: 28px; line-height: 1;
  color: var(--text-3); cursor: pointer; border-radius: 50%;
  transition: background-color .3s var(--ease);
}
.cmodal__close:hover { background: var(--surface-2); color: var(--text); }
.cmodal__eyebrow { font-family: var(--ff-en); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--accent-txt); }
.cmodal__title { font-size: clamp(22px, 6vw, 27px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 8px 0 8px; }
.cmodal__desc { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 22px; }
.cmodal__form { display: grid; gap: 16px; }
body.cmodal-open { overflow: hidden; }

/* ===== 접수 완료 팝업 ===== */
.spop { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .26s var(--ease-out), visibility .26s var(--ease-out); }
.spop.is-open { opacity: 1; visibility: visible; }
.spop__overlay { position: absolute; inset: 0; background: rgba(8,20,16,.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.spop__card { position: relative; z-index: 1; width: 100%; max-width: 360px;
  background: #fff; border-radius: var(--radius-lg); padding: 40px 30px 30px; text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55);
  transform: translateY(16px) scale(.97); transition: transform .32s var(--ease-out); }
.spop.is-open .spop__card { transform: none; }
.spop__icon { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; }
.spop__icon svg { width: 34px; height: 34px; }
.spop__check { stroke-dasharray: 34; stroke-dashoffset: 34; }
.spop.is-open .spop__check { animation: spopCheck .5s .18s var(--ease-out) forwards; }
@keyframes spopCheck { to { stroke-dashoffset: 0; } }
.spop__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0 0 8px; }
.spop__desc { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0 0 26px; }
.spop__btn { width: 100%; padding: 15px; border: 0; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: opacity .2s var(--ease); }
.spop__btn:hover { opacity: .92; }

/* To top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 88;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-2);
  box-shadow: 0 10px 26px -14px rgba(16,40,28,.5);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
              visibility .4s, border-color .4s var(--ease), color .4s var(--ease),
              background-color .4s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
@media (min-width: 1241px) { .to-top { display: none; } }  /* 데스크톱은 퀵메뉴 맨위로 사용 */

/* ---------- 6. Responsive ---------- */
/* 세로가 짧은 데스크톱(노트북 등): 여백을 줄여 100vh 를 유지하면서 콘텐츠가 잘리지 않게 */
@media (min-width: 721px) and (max-height: 720px) {
  .hero { min-height: 0; }
  .hero__frame { padding: 96px 0 150px; }
  .hero__slider { margin-bottom: 26px; }
  .hero__scroll { display: none; }
}

@media (max-width: 1100px) {
  .worry-row { grid-template-columns: repeat(3, 1fr); }
  .case { flex-basis: calc((100% - var(--case-gap)) / 2); }   /* 태블릿 2장 */
  .worry-card:nth-child(3n) .worry-card__link { border-right: 0; }
  .worry-card:nth-child(-n+3) .worry-card__link { border-bottom: 1px solid rgba(255,255,255,.20); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col--info { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line); }
  .footer__biz { margin-top: 24px; padding-top: 0; }
}

@media (max-width: 1240px) {
  .quick-rail { display: none; }
  .to-top { display: grid; }   /* 퀵메뉴 숨는 폭부터 우하단 맨위로 노출 */
  .quickbar { flex-wrap: wrap; border-radius: var(--radius-lg); }
  .quickbar__fields { flex-basis: 100%; order: 2; }
  .quickbar__submit { order: 3; margin-left: auto; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 76px; }
  .gnb { display: none; }
  .nav-toggle { display: flex; }
  .header, .header.is-stuck { height: 68px; }

  /* 섹션 서브 문구: 모바일에선 제목보다 작게 (diff 설명도 동일하게) */
  .sec-desc, .diff__desc { font-size: 17px; line-height: 1.7; margin-top: 14px; }

  /* 소개(about) — 내용/인물 가운데 정렬, 도형 정리 */
  .about__card {
    aspect-ratio: auto; min-height: 0;
    display: flex; flex-direction: column; align-items: center;
  }
  .about__bg, .about__tri, .about__rrect { display: none; }
  .about__text {
    position: static; transform: none; max-width: none; width: 100%;
    padding: clamp(56px, 13vw, 84px) 24px 8px;
    text-align: center; align-items: center;
    gap: clamp(12px, 2.6vw, 16px);
  }
  .about__sign { justify-content: center; }
  .about__figure {
    position: relative; left: auto; right: auto; top: auto; transform: none;
    align-self: center; width: 100%; height: clamp(340px, 78vw, 460px);
    display: flex; align-items: flex-end; justify-content: center;
  }
  .about__figure::before {
    content: ""; position: absolute; z-index: 0;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: min(78%, 300px); height: 86%;
    background: linear-gradient(160deg, #3C9E70 0%, #2E7F58 55%, #173E56 100%);
    border-radius: 26px 26px 0 0;
  }
  .about__figure img { position: relative; z-index: 1; width: auto; height: 100%; }

  .timing__cards { grid-template-columns: repeat(2, 1fr); }
  .timing__cards li:nth-child(even) { margin-top: 0; }   /* 2열에선 지그재그 해제 */

  .consult__body { grid-template-columns: 1fr; }
  .consult__mapwrap {
    order: -1;                 /* 좁은 화면에선 지도를 위로 */
    margin-right: 0;           /* bleed 해제 */
    justify-content: center;
  }
  .korea { max-width: 340px; }

  .diff-grid { grid-template-columns: 1fr; }
  .footer__map { max-width: 420px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --sec-pad: clamp(44px, 9vw, 76px); }   /* 모바일 섹션 상하 여백 절반 */
  body { font-size: 15px; }

  /* ── 모바일 타이포 위계: 상단 영어 라벨(작게) · 메인 제목(크게) · 서브(중간) ── */
  .sec-label, .sec-label--plain,
  .about__eyebrow, .contact__eyebrow, .location__eyebrow, .diff__eyebrow {
    font-size: 13px; letter-spacing: .04em;
  }
  /* 섹션 제목: 모바일에서 오시는길(location__title)과 크기·두께 동일 */
  .sec-title { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.28; font-weight: 800; }
  .contact__title, .location__title, .cmodal__title { font-size: clamp(27px, 7.6vw, 34px); }
  .sec-desc, .contact__desc, .consult__head .sec-desc { font-size: 17px; line-height: 1.7; }
  #timing .sec-desc { font-size: 19.5px; }   /* "왜 지금 상담해야 하나요?" 조금 키움 */
  /* 제목·설명 ↔ 아래 내용 간격 축소 */
  .sec-head { margin-bottom: clamp(24px, 5vw, 32px); }
  .consult__head { margin-bottom: clamp(24px, 5vw, 32px); }
  /* "왜 현암이어야 할까요?" 섹션은 위아래 여백 더 확보 */
  .diff__intro { padding-top: clamp(64px, 15vw, 92px); }
  .diff-grid { padding-bottom: clamp(64px, 15vw, 92px); }
  /* FAQ 제목 주변 여백 축소 */
  .faq .sec-label { margin-bottom: 8px; }
  .faq .sec-head { margin-bottom: clamp(20px, 4vw, 30px); }

  .hero { height: auto; min-height: 0; }
  /* 위아래 여백 대칭 (콘텐츠는 가운데라 하단 FAB와 겹치지 않음) */
  .hero__frame { height: auto; min-height: auto; padding: clamp(40px, 9vw, 58px) 0; border-radius: 16px; }
  .hero__slider { margin-bottom: 14px; }
  .hero__logo { margin-bottom: clamp(18px, 3vw, 26px); }
  /* 영상 위 어두운 오버레이 강화 — 글자 가독성 */
  .hero__wash { background: linear-gradient(180deg, rgba(8,16,13,.68) 0%, rgba(8,16,13,.56) 42%, rgba(8,16,13,.74) 100%); }
  /* 메인 콘텐츠 (로고 제외 전체 확대) */
  .hero__logo { width: clamp(88px, 10vw, 120px); }
  .hero__title { font-size: clamp(30px, 8vw, 42px); margin-bottom: 12px; }
  /* 커진 제목이 잘리지 않도록 줄바꿈 허용(클리핑·슬라이드 해제) */
  .hero__title .line { overflow: visible; }
  .hero__title .line__in { transform: none; transition: none; }
  .hero__sub { font-size: clamp(19px, 5.3vw, 24px); }
  .hero__badges {
    flex-direction: column; align-items: stretch; gap: 0;
    max-width: none; width: fit-content; margin: 0 auto; padding: 4px 28px;
  }
  .hero__badges li { font-size: 17px; padding: 15px 0; }
  .hero__badges li + li { border-top: 1px solid rgba(255,255,255,.22); }
  .hero__scroll { display: none; }
  .header__cta .btn--ghost { display: none; }

  /* 빠른상담 바: 알약 → 세로 카드 */
  .hero__bar-wrap { position: static; transform: none; margin-top: 40px; }
  .quickbar {
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 22px;
    border-radius: var(--radius-lg);
  }
  .quickbar__fields { grid-template-columns: 1fr; gap: 0; }
  .quickbar__field {
    padding: 12px 0; border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .quickbar__submit { width: 100%; }
  .quickbar__result { position: static; transform: none; text-align: center; }

  .worry-row { grid-template-columns: repeat(2, 1fr); }

  /* 성공사례: 가로 스크롤 → 2×2 그리드 */
  .case-track {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 3vw, 18px);
    overflow: visible; scroll-snap-type: none;
  }
  /* 카드 높이 전부 동일(가장 긴 카드 기준) */
  .case-track { align-items: stretch; }
  .case { flex: none; display: flex; }
  .case__inner { height: auto; flex: 1; padding: 22px 22px 26px; text-align: left; }
  .case__foot, .case__type, .case__result, .case__desc { text-align: left; }
  /* 인물 이미지 세로 확대(전 카드 동일) + 도장 크기 통일 */
  .case__media { flex: none; aspect-ratio: 4 / 4.2; margin: 14px 0 16px; }
  .case__stamp { padding: 7px 14px; border-width: 2px; }
  .case__stamp b { font-size: 16px; }

  .worry-card:nth-child(3n) .worry-card__link { border-right: 1px solid rgba(255,255,255,.20); }
  .worry-card:nth-child(2n) .worry-card__link { border-right: 0; }
  .worry-card:nth-child(-n+4) .worry-card__link { border-bottom: 1px solid rgba(255,255,255,.20); }
  .member-grid { grid-template-columns: 1fr; }

  .korea { max-width: 260px; }
  .feed__item { flex-wrap: wrap; gap: 8px 12px; }
  .feed__text { flex-basis: 100%; order: 3; }
  .feed__time { margin-left: auto; }

  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }

  .fab { display: flex; }
  .to-top { display: none !important; }   /* 하단 FAB와 겹쳐서 모바일에선 숨김 */
  .footer { padding-bottom: 60px; }
}

/* ---------- 작은 폰 (≤480px) — 큰 글씨/고정 줄바꿈 방지 ---------- */
@media (max-width: 480px) {
  /* 고민 체크리스트 카드 높이 축소 */
  .worry-card__link { height: clamp(190px, 46vw, 240px); }

  /* 소개 헤드라인: 모바일에서 크게 (가운데 정렬·도형 숨김이라 겹침 없음) */
  .about__headline { font-size: clamp(20px, 5.4vw, 25px); line-height: 1.5; }
  .about__text { padding-left: 16px; padding-right: 16px; }

  /* 골든타임 라벨 */
  .timing__label { font-size: clamp(20px, 5.4vw, 26px); }
  .timing__label--good { font-size: clamp(21px, 5.8vw, 30px); }

  /* 섹션 제목/상담 제목 소폭 축소 */
  .contact__title { font-size: clamp(26px, 8vw, 34px); }
  .contact__desc br { display: none; }
  .sec-title, .location__title { font-size: clamp(26px, 8vw, 36px); }

  /* 오시는 길 대표전화·마퀴 */
  .location__phone-num { font-size: 30px; }
  .location__marquee-track span { font-size: 44px; }

  /* 성공사례 헤드: 컨테이너 기본 좌우 여백 유지(왼쪽 붙음 방지) */
  .cases__head { padding-inline: var(--gutter); }
}

/* ---------- 터치 기기: 스크롤 중 호버로 '선택된 것처럼' 보이는 효과 제거 ---------- */
@media (hover: none) {
  .case:hover .case__inner { transform: none; box-shadow: none; }
  .case:hover .case__stamp { transform: rotate(-6deg) scale(1) !important; }
  .timing__card:hover { transform: none; box-shadow: none; }
  .worry-card:hover .worry-card__link,
  .diff-card:hover { transform: none; }
  .footer__map:hover, .location__map:hover { border-color: var(--line); }
  .feed__item:hover { background: transparent; }
}

/* ---------- 모바일: 상담 팝업 한 화면에 담기(콤팩트) ---------- */
@media (max-width: 720px) {
  .cmodal { padding: 10px; }
  .cmodal__card { padding: 20px 18px; max-height: 94vh; border-radius: 16px; }
  .cmodal__eyebrow { font-size: 12px; }
  .cmodal__title { font-size: 23px; margin: 5px 0 6px; }
  .cmodal__desc { font-size: 13px; line-height: 1.45; margin-bottom: 13px; }
  .cmodal__form { gap: 10px; }
  .cmodal__form .field { gap: 5px; }
  .cmodal__form .field label { font-size: 12.5px; }
  .cmodal__form .field input,
  .cmodal__form .field select,
  .cmodal__form .field .cselect__trigger { padding: 10px 12px; font-size: 16px; } /* iOS 자동확대 방지 */
  .cmodal__form .field--check label { font-size: 12px; }
  .cmodal__form .btn--lg { padding-block: 13px; font-size: 15px; }
  .cmodal__form .form__result { font-size: 12.5px; }
}

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

/* ---------- Print ---------- */
@media print {
  .header, .mobile-nav, .fab, .to-top, .hero__bg { display: none !important; }
  body { background: #fff; color: #111; }
}
