/* =========================================================================
   올바른 경영솔루션 — 공통 디자인 시스템 (site.css) · v3
   - 순수 CSS. 빌드 도구 없음.
   - 브레이크포인트: sm 640 / md 768 / lg 1024 / xl 1280 (min-width)
   - 색: 네이비(brand) + 샴페인 골드(accent). 섹션 톤은 흰색 / 아이보리 / 네이비 3가지
   - 서브페이지도 이 파일을 링크해서 씀 (../css/site.css)
   ========================================================================= */

/* ---------- 1. 토큰 ---------- */
:root {
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", system-ui, Roboto, "Helvetica Neue", sans-serif;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;

  /* 브랜드(로고 네이비) */
  --brand-50: #eef2f8;
  --brand-100: #d6e0ef;
  --brand-200: #adc0de;
  --brand-300: #7896c4;
  --brand-400: #4a6da6;
  --brand-500: #2a4d86;
  --brand-600: #12305f;
  --brand-700: #16386c;
  --brand-800: #0e2852;
  --brand-900: #0a1e42;
  --navy-900: #050e22;

  /* 포인트(샴페인 골드) — 밝은 배경 위 글자는 600, 다크 배경 위 글자는 300 */
  --accent-50: #faf6ec;
  --accent-100: #f3e9d0;
  --accent-200: #e8d5a8;
  --accent-300: #dcc083;
  --accent-400: #c9a55c;
  --accent-500: #b08a3e;
  --accent-600: #8f6d2c;
  --accent-700: #6e5320;

  /* 경고(폼 오류) */
  --danger-50: #fdecec;
  --danger-100: #fad7d8;
  --danger-400: #d93a40;
  --danger-600: #b22f34;

  --ivory: #f7f5f0;
  --fg: #161f2e;
  --muted: #5c6677;
  --white: #fff;

  /* 모서리 */
  --r-md: 6px;
  --r-btn: 10px;
  --r-xl: 10px;
  --r-2xl: 12px;
  --r-3xl: 14px;

  /* 그림자 (약하게) */
  --sh-card: 0 6px 24px rgba(10, 30, 66, .06);
  --sh-soft: 0 10px 30px rgba(10, 30, 66, .08);
  --sh-lift-hover: 0 12px 32px rgba(10, 30, 66, .1);
  --sh-float: 0 18px 48px rgba(5, 14, 34, .18);

  /* 컨테이너 */
  --container: 72rem;      /* 1152 */
  --container-wide: 77.5rem; /* 1240 */
  --container-5xl: 64rem;  /* 1024 */
  --container-4xl: 56rem;  /* 896 */
  --container-3xl: 48rem;  /* 768 */

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
}

/* ---------- 2. 베이스 ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; line-height: 1.5; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--fg);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; cursor: pointer; }
ol, ul { list-style: none; }
blockquote, figure { margin: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
[hidden] { display: none !important; }
.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;
}
.block { display: block; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.br-sm-hide { display: inline; }
@media (min-width: 640px) { .br-sm-hide { display: none; } }
.br-sm-only { display: none; }
@media (min-width: 640px) { .br-sm-only { display: inline; } }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- 3. 레이아웃 ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
.wrap--wide { max-width: var(--container-wide); }
.wrap--5xl { max-width: var(--container-5xl); }
.wrap--4xl { max-width: var(--container-4xl); }
.wrap--3xl { max-width: var(--container-3xl); }
.wrap--1248 { max-width: 1248px; }

.sec { padding-block: 72px; }
@media (min-width: 640px) { .sec { padding-block: 104px; } }

/* 섹션 3톤: 흰색 / 아이보리 / 네이비 */
.tone-white { background: #fff; }
.tone-ivory { background: var(--ivory); }
.tone-brand { background: var(--brand-800); color: #fff; }

/* ---------- 4. 타이포 ---------- */
/* eyebrow: 골드 + 앞 28px 가는 선 */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; flex-shrink: 0; background: currentColor; }
@media (min-width: 640px) { .eyebrow { font-size: 14px; } }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.tone-brand .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .contact-card__aside .eyebrow { color: var(--accent-300); }

.title {
  margin-top: 14px;
  font-size: 27px; line-height: 1.38; font-weight: 700; letter-spacing: -.025em;
  color: var(--brand-800); text-wrap: balance;
}
@media (min-width: 640px) { .title { font-size: 34px; } }
@media (min-width: 1024px) { .title { font-size: 36px; } }
.title--40 { line-height: 1.3; }
@media (min-width: 1024px) { .title--40 { font-size: 40px; } }
.title--30 { font-size: 24px; }
@media (min-width: 640px) { .title--30 { font-size: 30px; } }
.tone-brand .title { color: #fff; }

.lead { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--brand-500); }
@media (min-width: 640px) { .lead { font-size: 17px; } }
.lead--muted { color: var(--muted); }
.tone-brand .lead { color: rgba(255, 255, 255, .75); }
.max-xl { max-width: 36rem; } .max-2xl { max-width: 42rem; } .max-3xl { max-width: 48rem; }

/* 섹션 머리 (좌측 정렬 기본, --split = 제목 좌 · 설명 우) */
.sec-head { max-width: 46rem; margin-bottom: 40px; }
@media (min-width: 640px) { .sec-head { margin-bottom: 52px; } }
.sec-head .lead { max-width: 40rem; }
@media (min-width: 1024px) {
  .sec-head--split { display: grid; max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 56px; }
  .sec-head--split .lead { margin-top: 0; padding-bottom: 6px; }
}
.sub-h { margin: 56px 0 20px; font-size: 18px; font-weight: 700; color: var(--brand-800); }
@media (min-width: 640px) { .sub-h { font-size: 20px; } }

.text-accent { color: var(--accent-600); }
/* 아이보리 바탕에서는 accent-600 대비가 4.4:1 이라 한 단계 진한 골드로 대체 (AA 4.5:1 확보) */
.tone-ivory, .visit__info, .tone-white .cmp-card { --accent-600: var(--accent-700); }
.text-gold { color: var(--accent-300); }

.fine { font-size: 12.5px; line-height: 1.6; color: var(--brand-400); }
.tone-brand .fine { color: rgba(255, 255, 255, .6); }

/* ---------- 5. 버튼 (라운드 사각 10px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-weight: 700; line-height: 1.4; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.btn .btn__arrow { transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
/* 크기 */
.btn--md, .btn--base { min-height: 48px; padding: 12px 24px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
@media (min-width: 640px) { .btn--lg { min-height: 56px; padding-inline: 30px; font-size: 17px; } }
/* 색: primary = 밝은 배경 네이비 / 다크 배경 안에서는 자동으로 골드 */
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-800); }
.btn--gold,
.tone-brand .btn--primary, .hero .btn--primary, .page-hero .btn--primary,
.quote-band .btn--primary, .calc__result .btn--primary, .contact-card__aside .btn--primary {
  background: var(--accent-400); color: var(--navy-900);
}
.btn--gold:hover,
.tone-brand .btn--primary:hover, .hero .btn--primary:hover, .page-hero .btn--primary:hover,
.quote-band .btn--primary:hover, .calc__result .btn--primary:hover, .contact-card__aside .btn--primary:hover {
  background: var(--accent-300);
}
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--outline { border-color: var(--brand-200); background: #fff; color: var(--brand-700); }
.btn--outline:hover { border-color: var(--brand-600); }

/* 텍스트 링크 */
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand-600); transition: gap .25s; }
a:hover .link-more, .link-more:hover { gap: 10px; }

/* ---------- 6. 헤더 (히어로 위 투명 → 스크롤 시 흰색) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff; background: transparent;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.no-js .site-header { position: absolute; }
.site-header.is-solid { background: #fff; color: var(--brand-800); box-shadow: 0 1px 0 var(--brand-100), 0 4px 18px rgba(10, 30, 66, .06); }
.site-header__inner { display: flex; height: var(--header-h); max-width: var(--container-wide); align-items: center; gap: 12px; }
.site-logo { display: inline-flex; min-height: 44px; align-items: center; flex-shrink: 0; }
.site-logo img { height: 32px; width: auto; }
@media (min-width: 640px) { .site-logo img { height: 34px; } }
@media (max-width: 359px) { .site-logo img { height: 26px; } }

.site-nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav__link {
  position: relative; white-space: nowrap; padding: 10px 12px; font-size: 15px; font-weight: 500;
  color: rgba(255, 255, 255, .86); transition: color .2s;
}
@media (min-width: 1280px) { .site-nav__link { padding-inline: 16px; } }
.site-nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent-400); transform: scaleX(0); transform-origin: left; transition: transform .3s ease-out;
}
@media (min-width: 1280px) { .site-nav__link::after { left: 16px; right: 16px; } }
.site-nav__link:hover { color: #fff; }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: #fff; font-weight: 700; }
.is-solid .site-nav__link { color: var(--brand-700); }
.is-solid .site-nav__link:hover, .is-solid .site-nav__link[aria-current="page"] { color: var(--brand-800); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
@media (min-width: 1024px) { .site-header__actions { margin-left: 20px; gap: 14px; } }
.header-tel { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding-inline: 4px; font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-tel svg { width: 16px; height: 16px; color: var(--accent-300); }
.is-solid .header-tel svg { color: var(--accent-600); }
@media (max-width: 359px) { .header-tel { font-size: 13px; } .header-tel svg { width: 14px; height: 14px; } }
.header-cta {
  display: none; min-height: 40px; align-items: center; border-radius: var(--r-btn);
  background: var(--accent-400); padding: 8px 18px; font-size: 14px; font-weight: 700; color: var(--navy-900); white-space: nowrap;
  transition: background-color .2s;
}
.header-cta:hover { background: var(--accent-300); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.menu-toggle { display: inline-flex; height: 44px; width: 44px; align-items: center; justify-content: center; border-radius: var(--r-md); flex-shrink: 0; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  border-bottom: 1px solid var(--brand-100); background: #fff; color: var(--brand-700);
  box-shadow: 0 18px 40px -20px rgba(10, 30, 66, .35);
  animation: menuDrop .25s var(--ease);
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu__list { padding: 8px 0; }
.mobile-menu__link {
  display: flex; min-height: 52px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--brand-50); font-size: 16px; font-weight: 600; color: var(--brand-700);
}
.mobile-menu__link::after { content: "›"; font-size: 20px; color: var(--brand-300); }
.mobile-menu__link[aria-current="page"] { color: var(--accent-600); }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0 20px; }
.mobile-menu__actions .btn { padding-inline: 8px; font-size: 15px; }

/* ---------- 7. 홈 히어로 (좌 카피 · 우 간편 상담 카드) ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-900); color: #fff; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(5, 14, 34, .55), rgba(5, 14, 34, 0) 180px),
    linear-gradient(90deg, rgba(5, 14, 34, .95) 0%, rgba(10, 30, 66, .88) 45%, rgba(10, 30, 66, .6) 100%),
    url("../images/scene-hero.jpg") center / cover no-repeat;
}
@media (max-width: 1023px) {
  .hero__bg { background: linear-gradient(rgba(5, 14, 34, .9), rgba(10, 30, 66, .86)), url("../images/scene-hero.jpg") center / cover no-repeat; }
}
.hero__inner {
  position: relative; display: grid; gap: 40px;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: 104px;
}
@media (min-width: 1024px) {
  .hero__inner { min-height: 720px; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 48px; padding-top: calc(var(--header-h) + 32px); padding-bottom: 140px; }
}
@media (min-width: 1280px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } }
.hero__title {
  margin-top: 22px; font-family: var(--font-serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.28;
  font-size: clamp(21px, 6.4vw, 40px);
}
.hero__title > span { display: block; white-space: nowrap; }
.hero__title em { font-style: normal; color: var(--accent-300); }
@media (min-width: 768px) { .hero__title { font-size: 48px; } }
@media (min-width: 1024px) { .hero__title { font-size: 40px; } }
@media (min-width: 1280px) { .hero__title { font-size: 56px; } }
.hero__sub { margin-top: 22px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
@media (min-width: 640px) { .hero__sub { font-size: 18px; } }
.hero__actions { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .hero__actions { flex-direction: row; flex-wrap: wrap; } }
.hero__tel { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero__tel a { display: inline-flex; min-height: 44px; align-items: center; margin-left: 4px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hero__tel a:hover { color: var(--accent-300); }
.hero-stage { opacity: 0; animation: heroIn .8s var(--ease) forwards; }

/* 간편 상담 카드 */
.quick-form { border-radius: var(--r-3xl); background: #fff; padding: 24px 20px; color: var(--fg); box-shadow: var(--sh-float); }
@media (min-width: 640px) { .quick-form { padding: 28px; } }
.quick-form__title { font-size: 20px; font-weight: 700; color: var(--brand-800); }
.quick-form__desc { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.quick-form__fields { margin-top: 18px; display: grid; gap: 12px; }
.quick-form__row { display: grid; gap: 12px; }
@media (min-width: 400px) { .quick-form__row { grid-template-columns: 1fr 1fr; gap: 10px; } }
.quick-form__agree { margin-top: 14px; }
.quick-form .form-submit { margin-top: 16px; }
.quick-form .form-input { padding-block: .62rem; }

/* ---------- 8. 서브페이지 공통 히어로 (좌측 정렬) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--brand-900); color: #fff; border-bottom: 1px solid var(--accent-400); }
.page-hero__media { position: absolute; inset: 0; pointer-events: none; background: url("../images/scene-hero.jpg") center / cover no-repeat; }
.page-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10, 30, 66, .9), rgba(10, 30, 66, .84)); }
@media (min-width: 768px) {
  .page-hero__media { left: auto; width: 45%; }
  .page-hero__media::before { background: linear-gradient(90deg, var(--brand-900) 0%, rgba(10, 30, 66, .78) 35%, rgba(10, 30, 66, .45) 100%); }
}
.page-hero__inner {
  position: relative; display: flex; min-height: 340px; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 36px); padding-bottom: 48px;
}
@media (min-width: 1024px) { .page-hero__inner { min-height: 380px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 52px; } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { display: inline-flex; min-height: 24px; align-items: center; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb__sep { color: var(--accent-300); }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.page-hero__title { margin-top: 14px; max-width: 46rem; font-size: 30px; font-weight: 700; line-height: 1.32; letter-spacing: -.025em; text-wrap: balance; }
@media (min-width: 640px) { .page-hero__title { font-size: 38px; } }
@media (min-width: 1024px) { .page-hero__title { font-size: 44px; } }
@media (max-width: 359px) { .page-hero__title { font-size: 26px; } }
.page-hero__desc { margin-top: 14px; max-width: 38rem; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
@media (min-width: 640px) { .page-hero__desc { font-size: 17px; } }
.page-hero__note { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.page-hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 9. 홈 서비스 3카드 (히어로에 반쯤 겹침) ---------- */
.svc-lift { position: relative; z-index: 2; background: #fff; padding-bottom: 64px; }
@media (min-width: 640px) { .svc-lift { padding-bottom: 88px; } }
.svc-lift__grid { margin-top: -64px; display: grid; gap: 16px; }
@media (min-width: 768px) { .svc-lift__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .svc-lift__grid { margin-top: -104px; } }
.svc-lift__note { margin-top: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: #fff; padding: 28px 24px;
  box-shadow: 0 16px 40px rgba(10, 30, 66, .1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
@media (min-width: 1024px) { .svc-card { padding: 32px 30px; } }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent-400); opacity: 0; transition: opacity .3s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(10, 30, 66, .14); }
.svc-card:hover::before { opacity: 1; }
.svc-card__no { font-family: var(--font-serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent-600); }
.svc-card__title { margin-top: 18px; font-size: 21px; font-weight: 700; color: var(--brand-800); }
.svc-card__text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--brand-500); }
.svc-card__note { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.svc-card__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card__tags li { border-radius: var(--r-md); background: var(--ivory); padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--brand-600); }
.svc-card .link-more { margin-top: auto; padding-top: 22px; }

/* ---------- 10. 카드 ---------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: #fff; box-shadow: var(--sh-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent-400); opacity: 0; transition: opacity .3s; }
.card--lift:hover, a.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift-hover); }
.card:hover::before { opacity: 1; }
.card--pad { padding: 24px; }
.card__title { margin-top: 16px; font-size: 17px; font-weight: 700; color: var(--brand-800); }
.card__text { margin-top: 6px; flex: 1; font-size: 14px; line-height: 1.6; color: var(--brand-500); }

.icon-tile {
  display: flex; width: 52px; height: 52px; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: var(--r-2xl); border: 1px solid var(--brand-100); background: #fff; color: var(--brand-600);
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--soft { border-color: transparent; background: var(--brand-50); }

/* 홈 진행 방식: 분석 5카드 */
.analysis { display: grid; gap: 12px; }
@media (min-width: 640px) { .analysis { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .analysis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.analysis > .reveal { min-width: 0; }
.an-card { height: 100%; }

/* ---------- 11. 칩 / 배지 ---------- */
.chip { display: inline-flex; width: fit-content; align-items: center; gap: 6px; border-radius: var(--r-md); background: var(--brand-50); padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--brand-600); }
.chip--accent { background: var(--accent-50); color: var(--accent-700); box-shadow: inset 0 0 0 1px var(--accent-200); }
.badge-sample {
  display: inline-flex; align-items: center; gap: 4px; border-radius: var(--r-md);
  border: 1px solid #f0cf86; background: #fff5dc; padding: 2px 8px;
  font-size: 11px; font-weight: 800; line-height: 1.6; letter-spacing: 0; color: #7f5300; white-space: nowrap; vertical-align: middle;
}
.badge-sample::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- 12. 단계 흐름 (번호 원 + 가로 연결선) ---------- */
.flow-steps { display: grid; gap: 28px; counter-reset: none; }
.flow-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.flow-step__no {
  grid-row: span 2; display: flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--accent-400); background: #fff;
  font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--accent-600);
}
.tone-ivory .flow-step__no { background: #fff; }
.flow-step__title { padding-top: 6px; font-size: 17px; font-weight: 700; color: var(--brand-800); }
.flow-step__desc { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--brand-500); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 64px; bottom: -22px; width: 1px; background: var(--accent-300); }
@media (min-width: 640px) {
  .flow-steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
  .flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .flow-step__title { margin-top: 16px; padding-top: 0; }
  .flow-step:not(:last-child)::after { left: calc(50% + 40px); right: calc(-50% + 32px); top: 28px; bottom: auto; width: auto; height: 1px; }
}
@media (min-width: 640px) and (max-width: 1023px) { .flow-steps--4 .flow-step__title { font-size: 15px; } .flow-steps--4 .flow-step__desc { font-size: 13px; } }

/* ---------- 13. 체크리스트 토글 ---------- */
.checklist { display: grid; gap: 12px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.check-item {
  display: flex; width: 100%; align-items: center; gap: 12px; border-radius: var(--r-2xl);
  border: 1px solid var(--brand-100); background: #fff; padding: 16px; text-align: left; color: var(--brand-700);
  transition: border-color .15s, background-color .15s;
}
.check-item:hover { border-color: var(--brand-300); }
.check-item__mark { display: flex; width: 24px; height: 24px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-50); font-size: 14px; font-weight: 900; color: var(--brand-400); transition: all .15s; }
.check-item__text { font-size: 14px; font-weight: 700; }
@media (min-width: 640px) { .check-item__text { font-size: 16px; } }
.check-item[aria-pressed="true"] { border-color: var(--brand-600); background: var(--brand-50); }
.check-item[aria-pressed="true"] .check-item__mark { background: var(--accent-400); color: var(--navy-900); }
.check-result { margin-top: 32px; border-radius: var(--r-3xl); border: 1px dashed var(--brand-200); background: #fff; padding: 36px 24px; text-align: center; }
.check-result__main { font-size: 16px; font-weight: 600; color: var(--brand-500); }
.check-result__count { font-weight: 800; color: var(--accent-600); }

/* ---------- 14. 탭 필터 ---------- */
.tabs { margin-inline: -16px; display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .tabs { margin-inline: 0; flex-wrap: wrap; justify-content: center; padding: 0; } }
.tab-btn {
  display: inline-flex; min-height: 44px; flex-shrink: 0; scroll-snap-align: start; align-items: center; justify-content: center;
  white-space: nowrap; border-radius: var(--r-btn); border: 1px solid var(--brand-100); background: #fff;
  padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--brand-600); transition: all .15s;
}
.tab-btn:hover { border-color: var(--brand-300); }
.tab-btn[aria-pressed="true"] { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }
[data-filter-item].is-filtered-out { display: none !important; }

/* ---------- 15. 금리 비교 (좌 설명 3포인트 · 우 비교 카드) ---------- */
.compare { display: grid; gap: 40px; }
@media (min-width: 1024px) { .compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; } }
.check-points { margin-top: 28px; display: grid; gap: 18px; }
.check-points__item { display: flex; align-items: flex-start; gap: 14px; }
.check-points__icon { display: flex; width: 30px; height: 30px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); box-shadow: inset 0 0 0 1px var(--accent-200); }
.check-points__icon svg { width: 16px; height: 16px; }
.check-points__title { font-size: 17px; font-weight: 700; color: var(--brand-800); }
.check-points__text { margin-top: 4px; font-size: 14.5px; line-height: 1.65; color: var(--brand-500); }
.cmp-card { border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: #fff; padding: 28px 22px; box-shadow: var(--sh-card); }
@media (min-width: 640px) { .cmp-card { padding: 36px 32px; } }
.tone-white .cmp-card { background: var(--ivory); border-color: transparent; box-shadow: none; }
.cmp-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cmp-card__title { font-size: 18px; font-weight: 700; color: var(--brand-800); }
.cmp-bar { margin-top: 26px; }
.cmp-bar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cmp-bar__label { font-size: 14.5px; font-weight: 600; color: var(--brand-600); }
.cmp-bar__label small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.cmp-bar__value { flex-shrink: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-500); font-variant-numeric: tabular-nums; }
.cmp-bar__value--gold { color: var(--accent-600); }
.cmp-bar__track { margin-top: 10px; height: 16px; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--brand-100); }
.cmp-bar__fill { height: 100%; width: 0; border-radius: 4px; transition: width 1.1s var(--ease) .2s; }
.cmp-bar__fill--muted { background: #b7c1d1; }
.cmp-bar__fill--gold { background: linear-gradient(90deg, var(--accent-500), var(--accent-400)); }
.is-visible .cmp-bar__fill, .no-js .cmp-bar__fill { width: var(--w, 100%); }
.cmp-card__note { margin-top: 22px; font-size: 12.5px; line-height: 1.6; color: var(--brand-400); }
.cmp-card__btn { margin-top: 22px; }

/* ---------- 16. 사진 자리 ---------- */
.photo-slot {
  position: relative; display: flex; width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  overflow: hidden; border-radius: var(--r-2xl); border: 1px dashed var(--brand-200);
  background: repeating-linear-gradient(135deg, var(--brand-50) 0 12px, #f6f8fb 12px 24px);
  padding: 16px; text-align: center; color: var(--brand-400);
}
.photo-slot::before {
  content: ""; width: 36px; height: 36px; opacity: .7;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-2.5h6L17 7h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-2.5h6L17 7h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.photo-slot__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brand-400); }
.photo-slot__desc { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--brand-500); }
.photo-slot--portrait { aspect-ratio: 4 / 5; }
.photo-slot--wide { aspect-ratio: 3 / 2; }
.photo-slot--fill { height: 100%; }
.photo-slot--flat { border-radius: 0; border-width: 0; }

/* 사진 + 본문 카드 (대표 소개) */
.frame { overflow: hidden; border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: #fff; box-shadow: var(--sh-card); }
.frame__inner { position: relative; height: 100%; overflow: hidden; }
.frame__inner > .photo-slot { height: 100%; border-radius: 0; border-width: 0; }

/* ---------- 17. 스크롤 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. 폼 ---------- */
.form-stack > * + * { margin-top: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); }
.form-label .req { margin-left: 2px; color: var(--accent-600); }
.form-input {
  width: 100%; border: 1px solid var(--brand-100); border-radius: var(--r-btn); background: var(--ivory);
  padding: .7rem .9rem; font-size: .95rem; color: var(--fg); transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder { color: #8b93a1; }
.form-input:focus { border-color: var(--accent-500); outline: none; box-shadow: 0 0 0 3px rgba(176, 138, 62, .22); }
select.form-input {
  -webkit-appearance: none; appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232a4d86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px;
}
textarea.form-input { resize: none; }
.form-input.is-invalid, .chip-group.is-invalid .radio-chip { border-color: var(--danger-400); }
.form-agree:has(input.is-invalid) { color: var(--danger-600); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chip {
  position: relative; display: inline-flex; cursor: pointer; align-items: center; gap: .4rem;
  border: 1px solid var(--brand-100); border-radius: var(--r-btn); background: var(--ivory);
  padding: .55rem .9rem; font-size: .9rem; font-weight: 600; color: var(--brand-500); transition: all .15s;
}
.radio-chip input { position: absolute; width: 0; height: 0; opacity: 0; }
.radio-chip:has(input:checked), .radio-chip.is-checked { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }
.radio-chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(176, 138, 62, .35); }
.form-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--brand-500); }
.form-agree input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brand-600); }
.form-agree b { font-weight: 600; color: var(--brand-600); }
.form-details { margin-top: 8px; border-radius: var(--r-xl); border: 1px solid var(--brand-100); background: var(--ivory); padding: 10px 14px; font-size: 12px; line-height: 1.625; color: var(--brand-500); }
.form-details summary { cursor: pointer; font-weight: 600; color: var(--brand-600); }
.form-details summary::after { content: "⌄"; margin-left: 4px; display: inline-block; transition: transform .2s; }
.form-details[open] summary::after { transform: rotate(180deg); }
.form-details ul { margin-top: 10px; display: grid; gap: 6px; }
.form-details b { font-weight: 600; color: var(--brand-600); }
.form-submit {
  width: 100%; min-height: 52px; border-radius: var(--r-btn); background: var(--brand-600); padding: 14px; font-size: 16px; font-weight: 700;
  letter-spacing: .01em; color: #fff; transition: background-color .15s;
}
.form-submit:hover { background: var(--brand-800); }
.form-submit:disabled { cursor: not-allowed; opacity: .5; }
.form-status { margin-top: 12px; border-radius: var(--r-xl); padding: 12px 14px; font-size: 14px; font-weight: 600; line-height: 1.55; }
.form-status--info { border: 1px solid #f0cf86; background: #fff8e6; color: #6f4b00; }
.form-status--ok { border: 1px solid var(--accent-200); background: var(--accent-50); color: var(--accent-700); }
.form-status--error { border: 1px solid var(--danger-100); background: var(--danger-50); color: var(--danger-600); }
.form-status a { text-decoration: underline; font-weight: 800; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 19. 공통 하단 상담 폼 블록 ---------- */
.contact-card { overflow: hidden; border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: #fff; box-shadow: var(--sh-soft); }
.contact-card__grid { display: grid; }
@media (min-width: 1024px) { .contact-card__grid { grid-template-columns: .85fr 1.15fr; } }
.contact-card__aside { position: relative; background: var(--brand-800); padding: 32px; color: #fff; }
@media (min-width: 640px) { .contact-card__aside { padding: 44px 40px; } }
.contact-card__title { margin-top: 16px; font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
@media (min-width: 640px) { .contact-card__title { font-size: 30px; } }
.contact-card__desc { margin-top: 16px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .75); }
.contact-card__list { margin-top: 32px; display: grid; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; font-size: 14px; }
.contact-card__item { display: flex; min-height: 44px; align-items: center; gap: 12px; font-weight: 600; color: #fff; }
.contact-card__item--muted { color: rgba(255, 255, 255, .8); font-weight: 400; }
.contact-card__item--accent { color: var(--accent-300); }
a.contact-card__item:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card__icon { display: flex; width: 36px; height: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--r-xl); border: 1px solid rgba(255, 255, 255, .16); }
.contact-card__icon svg { width: 18px; height: 18px; }
.contact-card__form { background: #fff; padding: 32px; }
@media (min-width: 640px) { .contact-card__form { padding: 40px; } }
@media (max-width: 359px) { .contact-card__form, .contact-card__aside { padding: 24px 18px; } }

/* ---------- 20. 홈 전용 ---------- */
/* 대표 소개 */
.ceo__grid { display: grid; }
@media (min-width: 768px) { .ceo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; } }
.ceo__text { padding: 28px 22px 30px; }
@media (min-width: 768px) { .ceo__text { align-self: center; padding: 44px 48px; } }
.ceo__quote { font-family: var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; color: var(--brand-800); }
@media (min-width: 640px) { .ceo__quote { font-size: 26px; } }
.ceo__body { margin-top: 20px; display: grid; gap: 12px; font-size: 15px; line-height: 1.75; color: var(--muted); }
@media (min-width: 640px) { .ceo__body { font-size: 16px; } }
.ceo__sign { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; border-top: 1px solid var(--brand-100); padding-top: 20px; }
.ceo__sign-org { font-size: 14px; font-weight: 600; color: var(--muted); }
.ceo__sign-name { font-size: 20px; font-weight: 700; letter-spacing: .04em; color: var(--brand-800); }

/* 인용 띠 */
.quote-band { position: relative; overflow: hidden; padding-block: 72px; color: #fff; text-align: center; }
@media (min-width: 640px) { .quote-band { padding-block: 96px; } }
.quote-band__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(10, 30, 66, .8), rgba(10, 30, 66, .8)), url("../images/scene-expert.jpg") center / cover no-repeat;
}
.quote-band__inner { position: relative; }
.quote-band__text { font-family: var(--font-serif); font-size: clamp(20px, 5.4vw, 38px); font-weight: 700; line-height: 1.55; letter-spacing: -.02em; }
.quote-band__sign { margin-top: 22px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--accent-300); }

/* 지원 기관 칩 그리드 */
.org-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .org-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.org-grid li {
  display: flex; min-height: 60px; align-items: center; justify-content: center;
  border-radius: var(--r-btn); border: 1px solid var(--brand-100); background: #fff; padding: 10px 12px;
  text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--brand-700);
}
@media (min-width: 640px) { .org-grid li { min-height: 68px; font-size: 15px; } }

/* 계산기 */
.calc__grid { margin-top: 44px; display: grid; gap: 24px; }
@media (min-width: 1024px) { .calc__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.calc__panel { height: 100%; border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: #fff; padding: 26px 22px; box-shadow: var(--sh-card); }
@media (min-width: 640px) { .calc__panel { padding: 32px; } }
.calc__label { font-size: 14px; font-weight: 700; color: var(--brand-700); }
.calc__field { margin-top: 8px; display: flex; align-items: center; gap: 8px; border-radius: var(--r-btn); border: 1px solid var(--brand-100); background: var(--ivory); padding: 6px 16px; transition: border-color .15s, box-shadow .15s; }
.calc__field:focus-within { border-color: var(--accent-500); box-shadow: 0 0 0 3px rgba(176, 138, 62, .22); }
.calc__field input { width: 100%; min-width: 0; background: transparent; padding: 12px 0; text-align: right; font-size: 20px; font-weight: 800; color: var(--brand-700); outline: none; -moz-appearance: textfield; appearance: textfield; }
.calc__field input::-webkit-inner-spin-button, .calc__field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc__field span { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--brand-500); }
.calc__amount-text { margin-top: 8px; text-align: right; font-size: 14px; font-weight: 600; color: var(--brand-500); }
.calc__presets { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { min-height: 44px; border-radius: var(--r-btn); border: 1px solid var(--brand-200); background: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--brand-600); transition: all .15s; }
.chip-btn:hover { border-color: var(--brand-400); }
.chip-btn[aria-pressed="true"] { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }
.calc__years { margin-top: 28px; }
.calc__years-head { display: flex; align-items: baseline; justify-content: space-between; }
.calc__years-value { font-size: 20px; font-weight: 800; color: var(--brand-700); }
.calc__range { margin-top: 8px; height: 44px; width: 100%; cursor: pointer; accent-color: var(--brand-600); }
.calc__scale { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--brand-400); }
.calc__rates { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rate-box { border-radius: var(--r-2xl); border: 1px solid var(--brand-100); background: var(--brand-50); padding: 16px 12px; text-align: center; }
.rate-box__name { font-size: 13px; font-weight: 700; color: var(--brand-500); }
.rate-box__rate { margin-top: 6px; font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: var(--brand-700); }
.rate-box__int { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--brand-500); }
.rate-box--policy { border-color: var(--accent-400); background: var(--accent-50); }
.rate-box--policy .rate-box__name, .rate-box--policy .rate-box__int { color: var(--accent-700); font-weight: 700; }
.calc__result { display: flex; height: 100%; flex-direction: column; justify-content: center; border-radius: var(--r-3xl); background: var(--brand-800); padding: 28px 22px; text-align: center; color: #fff; box-shadow: var(--sh-soft); }
@media (min-width: 640px) { .calc__result { padding: 40px; } }
.calc__totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.total-box { border-radius: var(--r-2xl); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); padding: 16px 10px; }
.total-box__t { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.total-box__v { margin-top: 6px; font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
@media (min-width: 640px) { .total-box__v { font-size: 20px; } }
.total-box__s { margin-top: 4px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.total-box--policy { border-color: rgba(201, 165, 92, .55); background: rgba(201, 165, 92, .1); }
.total-box--policy .total-box__t { color: var(--accent-200); }
.calc__save-label { margin-top: 30px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.calc__save { margin-top: 6px; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .calc__save { font-size: 56px; } }
.calc__save.is-pop { animation: savingPop .45s var(--ease) both; }
.calc__save-tail { margin-top: 12px; font-size: 18px; font-weight: 700; color: rgba(255, 255, 255, .88); }
@media (min-width: 640px) { .calc__save-tail { font-size: 20px; } }
.calc__note { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.calc__cta { margin-top: 28px; }

/* 캐러셀 */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--r-3xl); border: 1px solid var(--brand-100); }
.carousel__track { display: flex; transition: transform .36s cubic-bezier(.33, 1, .68, 1); }
.carousel__slide { width: 100%; flex-shrink: 0; }
.carousel__slide .photo-slot { border-radius: 0; border: 0; }
.carousel__btn {
  position: absolute; top: 50%; z-index: 2; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  transform: translateY(-50%); border-radius: 50%; background: rgba(10, 30, 66, .72); color: #fff;
  transition: background-color .15s, color .15s; font-size: 24px; line-height: 1;
}
.carousel__btn:hover { background: var(--accent-400); color: var(--navy-900); }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }
@media (min-width: 640px) { .carousel__btn { width: 48px; height: 48px; } .carousel__btn--prev { left: 16px; } .carousel__btn--next { right: 16px; } }
.carousel__caption { margin-top: 22px; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--brand-800); }
@media (min-width: 640px) { .carousel__caption { font-size: 26px; } }
.carousel__caption .badge-sample { margin-left: 6px; position: relative; top: -3px; }
.carousel__dots { margin-top: 10px; display: flex; justify-content: center; }
.carousel__dot { display: flex; height: 44px; width: 26px; align-items: center; justify-content: center; }
.carousel__dot span { display: block; height: 4px; width: 14px; border-radius: 2px; background: var(--brand-200); transition: all .2s; }
.carousel__dot:hover span { background: var(--brand-300); }
.carousel__dot[aria-current="true"] span { width: 22px; background: var(--accent-500); }

/* 사업장 · 오시는 길 */
.visit { display: grid; gap: 20px; }
@media (min-width: 1024px) { .visit { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; gap: 28px; } }
.visit__media { display: grid; gap: 12px; align-content: start; }
.visit__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visit__thumbs .photo-slot { padding: 10px; }
.visit__thumbs .photo-slot__desc { font-size: 12.5px; }
.visit__info { display: flex; flex-direction: column; border-radius: var(--r-3xl); border: 1px solid var(--brand-100); background: var(--ivory); padding: 28px 22px; }
@media (min-width: 640px) { .visit__info { padding: 36px 32px; } }
.visit__name { font-size: 20px; font-weight: 700; color: var(--brand-800); }
.visit__list { margin-top: 20px; display: grid; gap: 16px; border-top: 1px solid var(--brand-100); padding-top: 20px; }
.visit__list dt { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent-600); }
.visit__list dd { margin-top: 4px; font-size: 15.5px; font-weight: 600; line-height: 1.55; color: var(--brand-700); }
.visit__tel { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-800); }
.visit__tel:hover { color: var(--accent-600); }
.visit__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.visit__note { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--brand-400); }

/* ---------- 21. 시안 고지 띠 / 푸터 ---------- */
.draft-notice { background: #fff6df; border-top: 1px solid #f0dca8; padding: 10px 0; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.55; color: #6f4b00; }
.site-footer { background: var(--brand-900); color: var(--brand-100); }
.site-footer__inner { padding-block: 52px 40px; }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr; } }
.site-footer__logo { display: inline-flex; }
.site-footer__logo img { height: 32px; width: auto; }
.site-footer__info { margin-top: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.625; color: var(--brand-200); }
.site-footer__info b { font-weight: 600; color: #fff; }
.site-footer__info .sep { margin: 0 6px; opacity: .5; }
.site-footer__privacy { margin-top: 12px; display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--brand-200); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__privacy:hover { color: var(--accent-300); }
.site-footer__h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-300); }
.site-footer__h::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.site-footer__links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer__links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 600; color: #fff; transition: color .15s; }
.site-footer__links a:hover { color: var(--accent-300); }
.site-footer__bottom { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: 12px; color: var(--brand-300); }
.site-footer__credit { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--brand-300); }

/* ---------- 22. 간격 유틸 (최소) ---------- */
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }

/* ---------- 23. 키프레임 ---------- */
@keyframes heroIn { 0% { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes savingPop { 0% { opacity: .5; transform: scale(.9); } 60% { opacity: 1; transform: scale(1.03); } to { transform: scale(1); } }
@keyframes menuDrop { 0% { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 24. 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-stage { opacity: 1; animation: none; }
  .calc__save.is-pop, .mobile-menu { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cmp-bar__fill { transition: none; }
  .carousel__track { transition: none; }
}
