/* =====================================================================
   EUNYEON — site stylesheet
   Navy / Charcoal / White + muted brass accent
   ===================================================================== */
:root {
  --navy-950: #08111e;
  --navy-900: #0d1a2b;
  --navy-800: #13243a;
  --navy-700: #1d3350;
  --charcoal: #2a2e35;
  --ink: #16191e;
  --text: #2f343c;
  --muted: #646b77;
  --subtle: #8d94a0;
  --line: #e2e5ea;
  --line-strong: #cfd4db;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --accent: #9c7c4e;
  --accent-dark: #7f6440;
  --header-h: 84px;
  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #e9ecf0; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Typography blocks ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow.light { color: #c9b28c; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.35; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-head { margin-bottom: 48px; }
.section-head.is-center { text-align: center; }
.section-head.on-dark .section-title { color: #fff; }
.section-head.on-dark .section-desc { color: #aab3c0; }
.section-head.on-dark .eyebrow { color: #c9b28c; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

.section { padding: 120px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: #d5dbe3; }

/* =====================================================================
   Header + Mega menu
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
body { padding-top: var(--header-h); }
body:has(.site-header.is-transparent) { padding-top: 0; }
.site-header.is-transparent:not(.is-scrolled):not(.is-open) { background: transparent; color: #fff; border-color: rgba(255,255,255,.18); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

.header-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; font-weight: 700; letter-spacing: .2em; }
.brand-text span { font-size: 9px; font-weight: 600; letter-spacing: .1em; opacity: .7; margin-top: 4px; white-space: nowrap; }
.brand-text.dark { color: var(--ink); }
.brand-text.light { color: #fff; }

.gnb { margin-left: auto; margin-right: -44px; height: 100%; }
.gnb-list { display: flex; height: 100%; }
.gnb-item { position: relative; width: 168px; height: 100%; }
.gnb-link {
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; position: relative;
}
.gnb-link::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 0; height: 2px;
  background: var(--accent); transition: width .3s var(--ease), left .3s var(--ease);
}
.gnb-item:hover .gnb-link::after, .gnb-item.is-active .gnb-link::after { width: 40px; left: calc(50% - 20px); }

.gnb-sub {
  position: absolute; top: var(--header-h); left: 0; width: 100%;
  margin-top: 30px; height: 170px; padding: 0; text-align: center; border-left: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.gnb-sub li + li { margin-top: 4px; }
.gnb-sub a { display: inline-block; padding: 6px 4px; font-size: 15px; color: var(--muted); transition: color .2s; }
.gnb-sub a:hover, .gnb-sub a[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.gnb-item:hover .gnb-sub a { color: var(--text); }

.mega-panel {
  position: absolute; z-index: 1; left: 0; right: 0; top: var(--header-h);
  height: 0; overflow: hidden;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height .38s var(--ease), border-color .3s;
}
.mega-inner { height: 230px; display: flex; align-items: flex-start; padding-top: 30px; }
.mega-intro { width: 280px; padding-right: 32px; height: 170px; }
.mega-title { font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; }
.mega-desc { margin-top: 12px; font-size: 13.5px; color: var(--subtle); }

.site-header.is-open .mega-panel { height: 230px; border-color: var(--line); box-shadow: 0 18px 30px -24px rgba(13,26,43,.35); }
.site-header.is-open .gnb-sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .35s var(--ease) .06s, transform .35s var(--ease) .06s, visibility 0s;
}

.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; }

/* Mobile drawer */
.m-drawer { position: fixed; inset: 0; z-index: 80; }
.m-drawer-backdrop { position: absolute; inset: 0; background: rgba(8,17,30,.5); opacity: 0; transition: opacity .3s; }
.m-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease);
}
.m-drawer.is-visible .m-drawer-backdrop { opacity: 1; }
.m-drawer.is-visible .m-drawer-panel { transform: none; }
.m-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 20px 0 24px; border-bottom: 1px solid var(--line); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.m-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; cursor: pointer; padding: 18px 24px; font-size: 17px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--subtle); border-bottom: 1.5px solid var(--subtle); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.m-group[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.m-group ul { padding: 0 24px 16px; background: var(--bg-soft); }
.m-group li a { display: block; padding: 11px 0 11px 12px; color: var(--muted); font-size: 15px; }
.m-group ul { padding-top: 6px; }
.m-drawer-foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; color: var(--text); }
.m-drawer-foot a { display: flex; align-items: center; gap: 10px; }

/* =====================================================================
   Hero carousel
   ===================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1080px; overflow: hidden; background: var(--navy-950); color: #fff; }
.hero-track { display: flex; height: 100%; transition: transform .9s var(--ease); will-change: transform; }
.hero-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero-slide.is-active .hero-img { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,17,30,.78) 0%, rgba(8,17,30,.5) 55%, rgba(8,17,30,.28) 100%); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hero-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .18em; color: #d6c3a1; margin-bottom: 22px; }
.hero-title { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.22; font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.hero-desc { margin-top: 24px; max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.82); }
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-content > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .1s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .2s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .3s; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 56px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 56px; height: 24px; display: flex; align-items: center; }
.hero-dot span { position: relative; display: block; width: 100%; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dot-progress var(--hero-delay, 6s) linear forwards; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dot-progress { to { transform: scaleX(1); } }
.hero-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 56px; height: 88px; display: flex; align-items: center; justify-content: center; color: #fff; opacity: .6; filter: drop-shadow(0 1px 3px rgba(8,17,30,.35)); transition: opacity .25s; }
.hero-arrow:hover, .hero-arrow:focus-visible { opacity: 1; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
@media (max-width: 1400px) { .hero-content { padding-left: 96px; padding-right: 96px; } }

/* =====================================================================
   Home sections
   ===================================================================== */
/* Main: service shortcut cards */
.home-service { padding: 80px 0 72px; }
.home-service-head { text-align: center; margin-bottom: 40px; }
.home-service-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: .08em; color: var(--navy-900); }
.home-service-desc { margin-top: 10px; font-size: 16px; color: var(--muted); }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sc-card { position: relative; display: block; height: 260px; overflow: hidden; background: var(--navy-900); }
.sc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sc-overlay { position: absolute; inset: 0; background: rgba(13,26,43,.52); transition: background-color .35s var(--ease); }
.sc-card:hover img { transform: scale(1.04); }
.sc-card:hover .sc-overlay { background: rgba(13,26,43,.38); }
.sc-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; }
.sc-ko { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.sc-en { font-size: 12px; font-weight: 500; letter-spacing: .22em; color: rgba(255,255,255,.78); }

/* Main: quick menu bar */
.quick-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.quick-bar ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.quick-bar li + li { border-left: 1px solid var(--line); }
.quick-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 80px; font-size: 15px; font-weight: 500; color: var(--text); transition: color .2s, background-color .2s; }
.quick-bar a svg { color: var(--navy-700); flex-shrink: 0; }
.quick-bar a:hover { color: var(--navy-900); background: var(--bg-soft); }

.intro-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.intro-text p { font-size: 18px; line-height: 1.85; color: var(--text); }
.intro-text p + p { margin-top: 18px; }
.intro-text .text-link { margin-top: 32px; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.svc-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 40px -28px rgba(13,26,43,.45); }
.svc-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-thumb img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 30px; }
.svc-en { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); font-weight: 600; }
.svc-title { margin-top: 8px; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.svc-summary { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.65; flex: 1; }
.svc-more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy-900); }

.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy-900); }
.strength { padding: 36px 28px 8px 0; }
.strength + .strength { padding-left: 28px; border-left: 1px solid var(--line); }
.strength-no { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.strength h3 { margin-top: 18px; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.strength p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process li { position: relative; padding: 32px 28px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.process li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: #c9b28c; }
.process-no { font-size: 14px; color: #c9b28c; font-weight: 600; letter-spacing: .06em; }
.process h3 { margin-top: 14px; font-size: 20px; color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.process p { margin-top: 8px; font-size: 15px; color: #aab3c0; }

.cta-band { background: var(--charcoal); color: #fff; padding: 88px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.4; }
.cta-desc { margin-top: 10px; color: rgba(255,255,255,.7); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================================================================
   Sub pages
   ===================================================================== */
.sub-hero {
  position: relative; padding: 110px 0 72px; color: #fff;
  background: linear-gradient(rgba(8,17,30,.72), rgba(8,17,30,.72)), var(--hero-bg) center / cover no-repeat;
  background-color: var(--navy-900);
}
.sub-hero-eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #d6c3a1; font-weight: 600; }
.sub-hero-title { margin-top: 12px; font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; letter-spacing: -0.03em; }
.breadcrumb { margin-top: 28px; display: flex; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.65); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }

.lnb { border-bottom: 1px solid var(--line); background: #fff; }
.lnb ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.lnb ul::-webkit-scrollbar { display: none; }
.lnb a { display: block; padding: 20px 26px; font-size: 15.5px; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.lnb a:hover { color: var(--ink); }
.lnb a.is-current { color: var(--navy-900); font-weight: 700; border-bottom-color: var(--navy-900); }

/* About */
.greeting { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.greeting-body p { font-size: 18px; line-height: 1.95; color: var(--text); }
.greeting-body p + p { margin-top: 20px; }
.greeting-body .lead { font-size: 22px; font-weight: 600; color: var(--ink); }
.greeting-body .signature { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); text-align: right; font-size: 16px; color: var(--muted); }
.signature strong { margin-left: 10px; font-size: 20px; color: var(--ink); letter-spacing: .1em; }

.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy-900); background: #fff; }
.info-table th, .info-table td { padding: 20px 28px; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; vertical-align: top; }
.info-table th { width: 220px; background: #fafbfc; font-weight: 600; color: var(--ink); }

.biz-list { border-top: 1px solid var(--line); }
.biz-list a { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.biz-list a:hover { background: var(--bg-soft); }
.biz-list-title { font-size: 20px; font-weight: 700; color: var(--ink); }
.biz-list-desc { color: var(--muted); }

/* Location */
.map-wrap { position: relative; aspect-ratio: 21 / 9; background: var(--bg-soft); border: 1px solid var(--line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.location-item { display: flex; gap: 16px; padding: 36px 24px 36px 0; color: var(--navy-900); }
.location-item + .location-item { padding-left: 24px; border-left: 1px solid var(--line); }
.location-item svg { flex-shrink: 0; margin-top: 3px; }
.location-item h3 { font-size: 14px; font-weight: 600; color: var(--subtle); margin-bottom: 6px; }
.location-item p { font-size: 16px; color: var(--ink); font-weight: 500; }
.map-links { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Business */
.biz-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.biz-intro-text p:not(.eyebrow) { margin-top: 20px; font-size: 17px; line-height: 1.9; }
.biz-intro-text .section-title { margin-bottom: 8px; }
.biz-intro-img { aspect-ratio: 4 / 3; overflow: hidden; }
.biz-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: #fff; padding: 36px 36px 38px; border: 1px solid var(--line); }
.feature-no { font-size: 14px; font-weight: 700; color: var(--accent); }
.feature h3 { margin-top: 14px; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.feature p { margin-top: 10px; color: var(--muted); }
.field-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.field-list li { padding: 26px 24px; border: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); border-left: 3px solid var(--navy-900); }

/* =====================================================================
   Gallery + Lightbox
   ===================================================================== */
.g-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.g-filter { height: 40px; padding: 0 18px; border: 1px solid var(--line-strong); font-size: 14.5px; color: var(--muted); border-radius: 2px; transition: all .2s; }
.g-filter:hover { color: var(--ink); border-color: var(--ink); }
.g-filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.g-total { font-size: 14.5px; color: var(--muted); }
.g-total strong { color: var(--ink); }
.notice { margin-bottom: 32px; padding: 14px 18px; background: var(--bg-soft); border-left: 3px solid var(--accent); font-size: 14px; color: var(--muted); }

.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.g-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.g-card { display: block; width: 100%; text-align: left; }
.g-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.g-card:hover .g-thumb img { transform: scale(1.04); }
.g-meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: 16px; }
.g-cat { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--accent); }
.g-title { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.g-date { font-size: 13.5px; color: var(--subtle); align-self: center; }
.g-empty { padding: 80px 0; text-align: center; color: var(--subtle); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,12,18,.94); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; }
.lightbox.is-visible { opacity: 1; }
.lb-figure { max-width: min(1200px, 86vw); display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-height: 78vh; max-width: 100%; object-fit: contain; }
.lb-figure figcaption { margin-top: 18px; display: flex; gap: 14px; align-items: baseline; color: #fff; font-size: 16px; }
.lb-cat { color: #d6c3a1; font-size: 13.5px; font-weight: 600; }
.lb-count { color: rgba(255,255,255,.5); font-size: 13.5px; }
.lb-close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,.3); transition: background-color .2s; }
.lb-nav:hover { background: rgba(255,255,255,.1); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
body.no-scroll { overflow: hidden; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
.contact-aside .section-title { margin-bottom: 16px; }
.contact-info { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-info li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--navy-900); }
.contact-info svg { flex-shrink: 0; margin-top: 2px; }
.contact-info span { display: block; font-size: 13.5px; color: var(--subtle); margin-bottom: 4px; }
.contact-info a, .contact-info p { font-size: 16px; font-weight: 500; color: var(--ink); }

.contact-form { padding: 48px; border: 1px solid var(--line); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field em, .check em { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 2px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23646b77' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(13,26,43,.08); }
.field input::placeholder, .field textarea::placeholder { color: #a4aab4; }
.field.has-error input { border-color: #b4423a; }
.consent { margin: 6px 0 24px; padding: 18px 20px; background: var(--bg-soft); }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy-900); }
.consent-desc { margin-top: 8px; font-size: 13px; color: var(--subtle); padding-left: 28px; }
.form-msg { min-height: 24px; margin-bottom: 12px; font-size: 14.5px; font-weight: 500; }
.form-msg.is-error { color: #b4423a; }
.form-msg.is-success { color: #2f6b45; }

/* 404 */
.notfound { padding: 200px 0 160px; text-align: center; }
.notfound .muted { margin: 16px 0 36px; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy-950); color: #8f98a6; padding: 64px 0 48px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: #c4cad3; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-info { padding-top: 28px; line-height: 2; }
.footer-info span { display: inline-block; margin-right: 22px; }
.footer-info a:hover { color: #fff; }
.copyright { margin-top: 20px; font-size: 13px; color: #5f6876; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1200px) {
  .gnb { margin-right: -32px; }
  .gnb-item { width: 132px; }
  .mega-intro { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .sc-card { height: 200px; }
  .gnb, .mega-panel { display: none; }
  .menu-btn { display: inline-flex; }
  .section { padding: 88px 0; }
  .svc-grid, .strength-grid, .process, .g-grid-4, .field-list, .location-grid { grid-template-columns: repeat(2, 1fr); }
  .strength:nth-child(3) { padding-left: 0; border-left: 0; }
  .process { gap: 40px 0; }
  .location-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .location-item { border-top: 1px solid var(--line); }
  .intro-grid, .greeting, .biz-intro, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .home-service { padding: 56px 0 48px; }
  .home-service-head { margin-bottom: 28px; }
  .home-service-desc { font-size: 14.5px; }
  .sc-grid { gap: 10px; }
  .sc-card { height: 140px; }
  .sc-ko { font-size: 16px; }
  .sc-en { font-size: 10px; letter-spacing: .16em; }
  .quick-bar .container { padding: 0; }
  .quick-bar a { flex-direction: column; gap: 6px; height: 84px; font-size: 12px; text-align: center; padding: 0 4px; line-height: 1.3; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { min-height: 560px; }
  .hero-controls { bottom: 32px; }
  .hero-content { padding-left: 52px; padding-right: 52px; }
  .hero-arrow { width: 40px; height: 64px; }
  .hero-arrow svg { width: 16px; height: 32px; }
  .hero-prev { left: 4px; }
  .hero-next { right: 4px; }
  .hero-dot { width: 36px; }
  .hero-actions .btn { height: 48px; padding: 0 20px; }
  .svc-grid, .strength-grid, .process, .field-list, .location-grid, .feature-grid, .field-row { grid-template-columns: 1fr; }
  .g-grid, .g-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .g-title { font-size: 15px; }
  .g-date { grid-column: 1 / -1; }
  .strength, .strength + .strength { padding: 28px 0 4px; border-left: 0; }
  .strength + .strength { border-top: 1px solid var(--line); }
  .location-item, .location-item + .location-item { padding: 24px 0; border-left: 0; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .sub-hero { padding: 72px 0 48px; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 14px 16px; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .biz-list a { grid-template-columns: 1fr auto; }
  .biz-list-desc { grid-column: 1; font-size: 14.5px; }
  .biz-list a svg { grid-row: 1 / 3; grid-column: 2; }
  .contact-form { padding: 28px 20px; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .lb-nav { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .cta-band { padding: 64px 0; }
  .footer-info span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-img { transform: none !important; }
}
