/* =========================================================
   (주)인증자동차 — Premium Certified Pre-Owned 스타일
   색상/폰트 변경은 아래 :root 변수만 수정하면 됩니다.
   ========================================================= */

:root {
  /* 브랜드 컬러: 미드나이트 네이비 + 샴페인 골드 + 아이보리 */
  --ink-900: #070B12;
  --navy: #0B1220;
  --navy-2: #111C31;
  --navy-3: #1A2B4A;
  --gold: #C9A961;
  --gold-2: #E6CF8F;
  --gold-3: #F3E6BF;
  --gold-soft: rgba(201, 169, 97, 0.14);

  --ink: #151B26;
  --text: #2E3643;
  --muted: #6B7382;
  --line: #E6E3DC;
  --line-dark: rgba(255, 255, 255, 0.10);
  --bg: #F7F5F0;      /* 웜 아이보리 */
  --bg-2: #EFECE4;
  --white: #FFFFFF;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --font-en: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;

  --container: 1240px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 14px 40px rgba(7, 11, 18, 0.10);
  --shadow-lg: 0 30px 70px rgba(7, 11, 18, 0.22);
  --header-h: 84px;
  --topbar-h: 38px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: inline; } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cueSlide { 0% { left: -30%; } 100% { left: 100%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes plOut { to { opacity: 0; visibility: hidden; } }

/* ---------- 타이포 유틸 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 14px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.eyebrow.light { color: var(--gold-2); }
.eyebrow.light::before { background: var(--gold-2); }

.section-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink);
}
.section-title.light { color: var(--white); }
.section-desc { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section-desc.light { color: rgba(255,255,255,.72); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  color: var(--navy); padding-bottom: 4px; border-bottom: 1px solid var(--gold); transition: color .25s, gap .25s;
}
.text-link::after { content: "→"; color: var(--gold); }
.text-link:hover { color: var(--gold); gap: 12px; }

/* ---------- 버튼 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 3px; border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; letter-spacing: .03em; line-height: 1; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }
.btn-lg { padding: 17px 34px; font-size: 15.5px; }
.btn-gold { background: var(--gold); color: var(--ink-900); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 14px 32px rgba(201,169,97,.35); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink-900); border-color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-kakao { background: #FEE500; color: #191919; }
.btn-kakao:hover { background: #F7DC00; }

/* ---------- 인트로 로더 ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  animation: plOut .7s ease forwards 2.1s;
}
.preloader.done { animation: plOut .6s ease forwards; }
.preloader.skip { display: none; }
.preloader-mark { width: 72px; height: 72px; }
.pl-shield { fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s ease forwards .15s; }
.pl-check { fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s ease forwards 1s; }
.preloader-text { font-family: var(--font-en); font-size: 13px; letter-spacing: .45em; color: var(--gold-2); opacity: 0; animation: fadeIn .7s ease forwards 1.2s; padding-left: .45em; }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--white);
  transition: transform .45s var(--ease), background .35s, box-shadow .35s;
}
.site-header.hide { transform: translateY(-100%); }
.topbar {
  height: var(--topbar-h); font-size: 12.5px; letter-spacing: .02em;
  background: rgba(7,11,18,.55); border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden; transition: height .35s var(--ease), opacity .3s;
}
.site-header.scrolled .topbar { height: 0; opacity: 0; border: 0; }
.topbar-inner { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.72); }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); font-weight: 600; transition: color .2s; }
.topbar-right a:hover { color: var(--gold-2); }
.topbar-right svg { width: 13px; height: 13px; fill: var(--gold-2); }
.topbar-right a.is-hidden { display: none; }
@media (max-width: 1024px) { .topbar { display: none; } }

/* 배경/블러는 가상요소에 적용 (backdrop-filter 가 모바일 메뉴의 fixed 기준을 바꾸지 않도록) */
.header-main { position: relative; height: var(--header-h); }
.header-main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: transparent;
  transition: background .35s, box-shadow .35s;
}
.site-header.scrolled .header-main::before {
  background: rgba(7,11,18,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--white); position: relative; z-index: 101; }
.brand-mark { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 21px; letter-spacing: 0.04em; }
.brand-sub { font-family: var(--font-en); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold-2); font-weight: 600; margin-top: 3px; }

.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); position: relative; white-space: nowrap;
  transition: color .25s;
}
.nav-list > li > a small { font-family: var(--font-en); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; line-height: 1; }
.nav-list > li > a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: left .3s var(--ease), right .3s var(--ease); }
.nav-list > li > a:hover, .nav-list > li.open > a, .nav-list > li > a.active { color: var(--white); }
.nav-list > li > a:hover::after, .nav-list > li.open > a::after, .nav-list > li > a.active::after { left: 0; right: 0; }

.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 210px; padding: 10px 0; border-radius: 3px;
  background: rgba(7,11,18,.96); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; left: 50%; top: -1px; width: 34px; height: 2px; transform: translateX(-50%); background: var(--gold); }
.has-sub:hover > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: 10px 24px; font-size: 14px; color: rgba(255,255,255,.78); white-space: nowrap; transition: color .2s, padding-left .2s; }
.sub a:hover { color: var(--gold-2); padding-left: 30px; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; position: relative; z-index: 101; }
.nav-toggle { display: none; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 1180px) { .nav-list { gap: 24px; } .nav-list > li > a { font-size: 14px; } }
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .site-header .header-main::before { background: rgba(7,11,18,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .site-nav {
    position: fixed; inset: 0; z-index: 99; padding: calc(var(--header-h) + 28px) 28px 40px;
    background: radial-gradient(900px 500px at 100% 0%, rgba(201,169,97,.12), transparent 60%), linear-gradient(170deg, var(--navy) 0%, var(--ink-900) 100%);
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s, transform .4s var(--ease), visibility .35s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
  .nav-list > li > a { flex-direction: row; align-items: baseline; gap: 14px; font-family: var(--font-serif); font-size: 24px; font-weight: 600; padding: 0; }
  .nav-list > li > a small { font-size: 11px; min-width: 70px; }
  .nav-list > li > a::after { display: none; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; padding: 10px 0 0 84px; background: none; border: 0; box-shadow: none; backdrop-filter: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .sub::before { display: none; }
  .sub a { padding: 4px 0; font-size: 14px; color: rgba(255,255,255,.62); }
  .sub a:hover { padding-left: 0; }
  .nav-mobile-extra { display: block; margin-top: 30px; color: rgba(255,255,255,.65); font-size: 14px; }
  .nav-mobile-extra .btn { width: 100%; margin-bottom: 18px; }
  .nav-mobile-extra p { margin-top: 4px; }
}
@media (max-width: 520px) {
  .nav-list > li > a { font-size: 21px; }
  .sub { padding-left: 0; }
  .brand-sub { display: none; }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + var(--topbar-h) + 60px) 0 190px;
  color: var(--white); background: var(--ink-900);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-img {
  position: absolute; inset: 0;
  /* assets/hero.jpg 가 있으면 그것이 먼저 보이고, 없으면 아래 고급차 이미지가 표시됩니다. */
  background:
    url("../assets/hero.jpg") center 55% / cover no-repeat,
    url("https://images.unsplash.com/photo-1485291571150-772bcfc10da5?auto=format&fit=crop&w=2000&q=75") center 55% / cover no-repeat,
    var(--ink-900);
  animation: kenburns 26s ease-in-out infinite alternate;
  transform-origin: 60% 50%;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,18,.94) 0%, rgba(7,11,18,.78) 38%, rgba(7,11,18,.30) 75%, rgba(7,11,18,.45) 100%),
    linear-gradient(180deg, rgba(7,11,18,.65) 0%, rgba(7,11,18,0) 28%, rgba(7,11,18,0) 55%, rgba(7,11,18,.92) 100%);
}
.hero-inner { position: relative; max-width: 860px; }
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 5.4vw, 68px); line-height: 1.2; letter-spacing: -0.012em;
  margin: 6px 0 28px; text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.9; color: rgba(255,255,255,.8); max-width: 700px; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge {
  position: absolute; right: 6%; bottom: 230px; width: 160px; height: 160px; z-index: 1;
  display: grid; place-items: center; pointer-events: none;
}
.badge-ring { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.badge-ring text { font-family: var(--font-en); font-size: 14.5px; font-weight: 600; letter-spacing: .22em; fill: var(--gold-2); text-transform: uppercase; }
.badge-mark { width: 58px; height: 58px; filter: drop-shadow(0 0 18px rgba(201,169,97,.35)); }
.hero-badge::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgba(201,169,97,.35); }

.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(to top, rgba(7,11,18,.55), rgba(7,11,18,.1));
  backdrop-filter: blur(2px);
}
.hero-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 26px 0; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0 56px; }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { font-family: var(--font-en); font-weight: 600; font-size: clamp(28px, 2.6vw, 40px); color: var(--gold-2); line-height: 1; letter-spacing: .01em; }
.hero-stats strong em { font-style: normal; font-family: var(--font-serif); font-size: .5em; margin-left: 3px; color: var(--gold-2); vertical-align: 2px; }
.hero-stats li > span { font-size: 13px; color: rgba(255,255,255,.66); letter-spacing: .04em; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 12.5px; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.7); flex-shrink: 0; }
.scroll-cue i { position: relative; width: 70px; height: 1px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; top: 0; width: 30%; height: 100%; background: var(--gold-2); animation: cueSlide 2s ease-in-out infinite; }

@media (max-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + 70px); padding-bottom: 210px; }
  .hero-badge { right: 4%; bottom: 240px; width: 130px; height: 130px; }
  .badge-mark { width: 46px; height: 46px; }
  .hero-badge::before { inset: 24px; }
}
@media (max-width: 768px) {
  .hero { padding-bottom: 230px; }
  .hero-badge { display: none; }
  .hero-bottom-inner { padding: 20px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 20px; width: 100%; }
  .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .scroll-cue { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- 브랜드 마퀴 ---------- */
.brands { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0 28px; }
.brands-label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; font-family: var(--font-en); font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brands-label .ko { font-family: var(--font-sans); letter-spacing: .02em; font-size: 12.5px; text-transform: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-en); font-size: 25px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: .78; transition: opacity .3s, color .3s; }
.marquee-track span:hover { opacity: 1; color: var(--gold); }
.marquee-track i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ---------- 아이콘 + 회전 링 (공통) ---------- */
.icon-wrap { position: relative; width: 66px; height: 66px; display: grid; place-items: center; flex-shrink: 0; }
.icon-wrap::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--gold-soft); transition: background .3s, transform .5s var(--ease); }
.icon-wrap svg { position: relative; z-index: 1; width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease), stroke .3s; }
.icon-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(201,169,97,.55); animation: spin 20s linear infinite; transition: border-color .3s; }
.icon-wrap.sm { width: 56px; height: 56px; }
.icon-wrap.sm svg { width: 22px; height: 22px; }
.icon-wrap.sm::before { inset: 7px; }
.value-card:hover .icon-wrap svg, .service-card:hover .icon-wrap svg, .inspect-grid li:hover .icon-wrap svg { transform: rotate(360deg) scale(1.1); }
.value-card:hover .icon-ring, .service-card:hover .icon-ring, .inspect-grid li:hover .icon-ring { animation-duration: 5s; border-style: solid; border-color: var(--gold); }
.value-card:hover .icon-wrap::before, .service-card:hover .icon-wrap::before { background: rgba(201,169,97,.22); transform: scale(1.08); }

/* ---------- 섹션 공통 ---------- */
.section { padding: clamp(80px, 9.5vw, 130px) 0; }

/* ---------- 브랜드 스토리 ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.about-text p { font-size: 17px; margin-top: 20px; }
.about-text em { font-style: normal; color: var(--gold); font-weight: 700; }
.about-links { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.about-values { display: grid; gap: 16px; }
.value-card {
  display: grid; grid-template-columns: 66px 1fr; column-gap: 22px; align-items: center;
  padding: 26px 30px; background: var(--bg); border: 1px solid transparent; border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, border-color .35s;
}
.value-card:hover { transform: translateY(-4px); background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.value-card small { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 2px; }
.value-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.value-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- 대표 인사말 ---------- */
.ceo { background: var(--bg); position: relative; overflow: hidden; }
.ceo::before { content: "“"; position: absolute; right: 3%; top: -60px; font-family: var(--font-en); font-size: 420px; line-height: 1; color: var(--gold); opacity: .10; pointer-events: none; }
.ceo-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.ceo-photo { position: relative; }
.ceo-photo img, .ceo-photo-placeholder { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ceo-photo-placeholder { flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(160deg, var(--navy-2), var(--ink-900)); color: rgba(255,255,255,.7); font-size: 15px; letter-spacing: .04em; }
.ceo-photo-placeholder svg { width: 72px; height: 72px; fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linecap: round; }
.ceo-photo::after { content: ""; position: absolute; inset: 20px -20px -20px 20px; z-index: -1; border: 1px solid var(--gold); border-radius: var(--radius-lg); opacity: .7; }
.ceo-photo figcaption {
  position: absolute; left: 22px; bottom: 22px; padding: 12px 18px; border-radius: 3px;
  background: rgba(7,11,18,.86); backdrop-filter: blur(6px); color: var(--white); display: flex; flex-direction: column; line-height: 1.3;
  border-left: 2px solid var(--gold);
}
.ceo-photo figcaption strong { font-family: var(--font-serif); font-size: 19px; }
.ceo-photo figcaption span { font-size: 12.5px; color: var(--gold-2); letter-spacing: .04em; }
.ceo-body p { font-size: 17px; margin-top: 18px; }
.ceo-body p:first-child { margin-top: 28px; font-weight: 700; color: var(--ink); }
.ceo-body strong { color: var(--navy); background: linear-gradient(transparent 60%, var(--gold-soft) 60%); }
.ceo-sign { margin-top: 36px; font-family: var(--font-serif); font-size: 17px; color: var(--muted); }
.ceo-sign strong { color: var(--ink); font-size: 23px; margin-left: 6px; }
@media (max-width: 900px) { .ceo-grid { grid-template-columns: 1fr; } .ceo-photo { max-width: 380px; } }

/* ---------- 인증 프로그램 (다크) ---------- */
.certified { position: relative; overflow: hidden; background: var(--ink-900); color: rgba(255,255,255,.85); isolation: isolate; }
.certified-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .22;
  background: url("https://images.unsplash.com/photo-1708226633190-d5b9fe523b24?auto=format&fit=crop&w=1800&q=70") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.certified::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,11,18,.55) 0%, rgba(7,11,18,.15) 50%, rgba(7,11,18,.45) 100%), radial-gradient(900px 500px at 85% 10%, rgba(201,169,97,.14), transparent 60%); }
.promise-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-bottom: 70px; }
.promise-list li { padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.16); transition: border-color .35s, transform .35s var(--ease); }
.promise-list li:hover { border-color: var(--gold); transform: translateY(-4px); }
.roman { display: block; font-family: var(--font-en); font-size: 40px; font-weight: 500; color: var(--gold-2); line-height: 1; margin-bottom: 16px; letter-spacing: .06em; }
.promise-list h3 { font-size: 17.5px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.promise-list p { font-size: 14.5px; color: rgba(255,255,255,.66); line-height: 1.7; }
.inspect { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.inspect-head small { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 10px; }
.inspect-head h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.inspect-head p { font-size: 15px; color: rgba(255,255,255,.66); }
.inspect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inspect-grid li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s; }
.inspect-grid li:hover { background: rgba(255,255,255,.07); border-color: rgba(201,169,97,.5); }
.inspect-grid .icon-wrap::before { background: rgba(255,255,255,.06); }
.inspect-grid span { font-size: 15px; font-weight: 600; color: var(--white); }
@media (max-width: 1100px) { .promise-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .inspect { grid-template-columns: 1fr; } .inspect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .promise-list { grid-template-columns: 1fr 1fr; gap: 18px; } .roman { font-size: 32px; } .inspect-grid { grid-template-columns: 1fr; } }

/* ---------- 서비스 ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 36px 32px 32px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg); border: 1px solid transparent; scroll-margin-top: 120px;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, border-color .35s;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-no { position: absolute; right: 26px; top: 20px; font-family: var(--font-en); font-size: 46px; font-weight: 500; color: var(--gold); opacity: .28; line-height: 1; }
.service-card .icon-wrap { margin-bottom: 22px; }
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- 인용 밴드 ---------- */
.quote-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 11vw, 150px) 0; color: var(--white); text-align: center; background: var(--navy); }
.quote-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("https://images.unsplash.com/photo-1532268116505-8c59cc37d2e6?auto=format&fit=crop&w=1800&q=70") center / cover no-repeat;
  background-attachment: fixed;
}
.quote-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.82), rgba(11,18,32,.7)); }
.quote-band blockquote { max-width: 860px; margin: 0 auto; }
.quote-band p { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 40px); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.quote-band footer { margin-top: 26px; font-family: var(--font-en); font-size: 15px; letter-spacing: .22em; color: var(--gold-2); }
@media (max-width: 1024px) { .quote-bg { background-attachment: scroll; } }

/* ---------- 거래 절차 ---------- */
.process { background: var(--bg); }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.process-steps::before { content: ""; position: absolute; left: 5%; right: 5%; top: 36px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .55; }
.process-steps li { position: relative; text-align: center; padding: 0 6px; }
.step-no {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--gold); color: var(--navy); box-shadow: 0 0 0 10px var(--bg);
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 600; font-size: 22px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.step-no i { position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(201,169,97,.5); animation: spin 22s linear infinite; }
.process-steps li:hover .step-no { background: var(--navy); color: var(--gold-2); transform: scale(1.06); }
.process-steps li:hover .step-no i { animation-duration: 5s; border-style: solid; border-color: var(--gold); }
.process-steps h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.process-steps p { font-size: 14px; color: var(--muted); line-height: 1.65; }
@media (max-width: 1000px) { .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; } .process-steps::before { display: none; } }
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; row-gap: 0; }
  .process-steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; padding: 0 0 30px; align-items: start; }
  .process-steps li::before { content: ""; position: absolute; left: 35px; top: 72px; bottom: 0; width: 1px; background: var(--line); }
  .process-steps li:last-child::before { display: none; }
  .step-no { margin: 0; grid-row: span 2; }
}

/* ---------- 연혁 ---------- */
.history { background: var(--white); }
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 128px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), var(--line)); }
.timeline li { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 50px; padding: 0 0 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 122px; top: 12px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--white); transition: background .3s; }
.timeline li:hover::before, .timeline li:last-child::before { background: var(--gold); }
.timeline time { font-family: var(--font-en); font-size: 34px; font-weight: 600; color: var(--navy); text-align: right; line-height: 1; letter-spacing: .01em; }
.timeline h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.timeline p { font-size: 15px; color: var(--muted); }
@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline li::before { left: 1px; top: 8px; }
  .timeline time { text-align: left; font-size: 28px; color: var(--gold); }
}

/* ---------- 고객 후기 ---------- */
.reviews { background: var(--bg); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { position: relative; padding: 40px 32px 30px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card::before { content: "“"; position: absolute; left: 26px; top: 6px; font-family: var(--font-en); font-size: 80px; line-height: 1; color: var(--gold); opacity: .55; }
.review-card::after { content: "★★★★★"; display: block; position: absolute; right: 28px; top: 28px; font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.review-card p { font-size: 16px; color: var(--text); margin-top: 22px; line-height: 1.8; }
.review-card footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.review-card footer strong { font-size: 15px; color: var(--ink); }
.review-card footer span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; max-width: 660px; margin-inline: auto; } }

/* ---------- 오시는 길 / 상담 예약 (다크) ---------- */
.contact { background: radial-gradient(900px 500px at 0% 100%, rgba(201,169,97,.12), transparent 60%), linear-gradient(170deg, var(--navy) 0%, var(--ink-900) 100%); color: rgba(255,255,255,.85); }
.contact .section-title { color: var(--white); }
.contact .section-desc { color: rgba(255,255,255,.66); }
.contact .eyebrow { color: var(--gold-2); } .contact .eyebrow::before { background: var(--gold-2); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.consult-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); scroll-margin-top: 120px; }
.consult-label { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 8px; }
.consult-card h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.consult-desc { font-size: 14.5px; color: rgba(255,255,255,.62); margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field span { font-size: 12.5px; letter-spacing: .06em; color: rgba(255,255,255,.6); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 3px; color: var(--white);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: border-color .25s, background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.09); }
.field textarea { resize: vertical; min-height: 90px; }
.field input.invalid { border-color: #E07A6B; }
.consult-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.consult-actions .btn { flex: 1 1 200px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.form-note.ok { color: var(--gold-2); }
.contact-info { display: grid; gap: 16px; }
.contact-info > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-info dt { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; padding-top: 4px; }
.contact-info dd { font-size: 16px; color: var(--white); font-weight: 600; }
.contact-info dd small { display: block; font-size: 13.5px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 2px; }
.contact-info dd a:hover { color: var(--gold-2); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-actions .btn { flex: 1 1 150px; }
.contact-map { margin-top: 22px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: var(--navy-2); }
.contact-map iframe { width: 100%; height: 300px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.map-links { display: flex; gap: 20px; margin-top: 14px; font-size: 13.5px; }
.map-links a { color: rgba(255,255,255,.6); font-weight: 600; transition: color .2s; }
.map-links a:hover { color: var(--gold-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.66); padding: 70px 0 110px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand strong { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--white); margin-top: 16px; }
.footer-en { display: block; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .24em; color: var(--gold-2); margin: 4px 0 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); }
.footer-col h4 { font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: rgba(255,255,255,.7); margin-bottom: 9px; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--gold-2); padding-left: 4px; }
.footer-col a.is-hidden { display: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; padding-top: 26px; }
.footer-biz { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13px; }
.footer-biz div { display: flex; gap: 8px; }
.footer-biz dt { color: rgba(255,255,255,.4); }
.footer-biz dd { color: rgba(255,255,255,.75); }
.copyright { font-size: 13px; color: rgba(255,255,255,.38); }
@media (min-width: 821px) { .site-footer { padding-bottom: 60px; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 맨 위로 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(7,11,18,.85); border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink-900); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .to-top { bottom: 86px; right: 16px; } }

/* ---------- 모바일 하단 바 ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: repeat(4, 1fr);
  background: rgba(7,11,18,.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; color: rgba(255,255,255,.85); font-size: 11.5px; font-weight: 600; }
.mobile-bar a svg { width: 22px; height: 22px; fill: var(--gold-2); }
.mobile-bar a:last-child svg { fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bar a:active { background: rgba(255,255,255,.08); }
.mobile-bar a.is-hidden { display: none; }
.mobile-bar.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .mobile-bar { display: grid; } }

/* ---------- 스크롤 등장 애니메이션 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .08s; }
.js .reveal:nth-child(3) { transition-delay: .16s; }
.js .reveal:nth-child(4) { transition-delay: .24s; }
.js .reveal:nth-child(5) { transition-delay: .32s; }
.js .reveal:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .preloader { display: none; }
}

/* ---------- 인쇄 ---------- */
@media print {
  .site-header, .mobile-bar, .to-top, .preloader, .hero-badge, .scroll-cue, .brands { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 30px 0; }
  .js .reveal { opacity: 1; transform: none; }
}
