/* ============================================================
   BULGLASS — architectural glazing
   명함 아이덴티티 기반: 화이트 × 딥슬레이트블루(#204356) × 스틸블루(#416F89)
   포인트: FIRE 로고 불꽃 오렌지(#ED861D) — 최소한으로만 사용
   ============================================================ */

:root {
  --navy: #204356;         /* 명함 프레임 딥 슬레이트 블루 */
  --navy-deep: #16303f;    /* 더 어두운 톤 (히어로/푸터) */
  --steel: #416f89;        /* 명함 스틸 블루 */
  --steel-light: #7fa2b8;
  --steel-pale: #e9f0f4;
  --flame: #ed861d;        /* FIRE 로고 불꽃 */
  --flame-soft: #f7a94b;
  --navy-grad: linear-gradient(135deg, #204356 0%, #416f89 100%);
  --flame-grad: linear-gradient(135deg, #e06d10 0%, #f7a94b 100%);
  --bg-light: #f2f6f8;
  --bg-white: #fdfdfc;
  --text-dark: #1d2b33;
  --text-light: #f2f6f8;
  --muted: #9db2bf;
  --muted-dark: #5f7280;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(32, 67, 86, .14);
  --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Marcellus', serif;
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 30px 60px -20px rgba(22, 48, 63, .3);
  --shadow-md: 0 16px 40px -16px rgba(22, 48, 63, .22);
  --radius: 4px;
  --header-h: 82px;
  --space-section: clamp(5rem, 4rem + 6vw, 10rem);
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--steel); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ── 타이포 시스템 ─────────────────────────── */
.eyebrow {
  font-family: var(--font-serif);
  font-size: .8rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ''; width: 44px; height: 2px; background: linear-gradient(90deg, var(--flame), var(--steel)); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 44px; height: 2px; background: linear-gradient(90deg, var(--steel), var(--flame)); }

.sec-title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
  word-break: keep-all;
  color: var(--navy);
}
.section-dark .sec-title { color: #fff; }
.sec-desc { color: var(--muted-dark); margin-top: 1.1rem; font-size: 1.06rem; max-width: 660px; word-break: keep-all; }
.sec-head { margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.sec-head.center { text-align: center; }
.sec-head.center .sec-desc { margin-inline: auto; }

/* ── 버튼 ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 2.1rem;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  border-radius: 2px;
  transition: transform .45s var(--ease-expo), box-shadow .45s var(--ease-expo), background .3s, color .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.btn-accent { background: var(--navy-grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(32, 67, 86, .55); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(32, 67, 86, .6); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--steel); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-3px); }
.btn-ghost { border: 1px solid var(--line-light); color: var(--navy); }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); transform: translateY(-3px); }
.btn-flame { background: var(--flame-grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(224, 109, 16, .55); }
.btn-flame:hover { transform: translateY(-3px); }
.btn-sm { padding: .6rem 1.3rem; font-size: .87rem; }
.btn-lg { padding: 1.15rem 2.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ── 헤더 (명함처럼 화이트 기조) ───────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(253, 253, 252, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow .4s, background .4s;
}
.site-header.is-solid { box-shadow: 0 8px 30px -18px rgba(22, 48, 63, .25); background: rgba(253, 253, 252, .97); }
.header-inner {
  max-width: 1440px; margin: 0 auto; height: 100%;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: .8rem; }
.logo-img { height: 52px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.logo-text em { font-style: normal; font-size: .66rem; letter-spacing: .06em; color: var(--steel); font-weight: 600; }

.gnb { display: flex; gap: .2rem; }
.gnb-item { position: relative; }
.gnb-item > a {
  display: block; padding: 1.85rem 1.1rem;
  color: var(--text-dark); font-weight: 600; font-size: .99rem;
  transition: color .25s;
}
.gnb-item:hover > a, .gnb-item.is-active > a { color: var(--steel); }
.gnb-item > a::after {
  content: ''; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.35rem;
  height: 2px; background: var(--navy-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-expo);
}
.gnb-item:hover > a::after, .gnb-item.is-active > a::after { transform: scaleX(1); }
.gnb-sub {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  min-width: 216px; padding: .7rem 0;
  background: rgba(253, 253, 252, .98); backdrop-filter: blur(16px);
  border: 1px solid var(--line-light); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .35s var(--ease-expo), visibility .3s;
  box-shadow: var(--shadow-lg);
}
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.gnb-sub a {
  display: block; padding: .62rem 1.4rem;
  color: var(--muted-dark); font-size: .92rem;
  transition: color .2s, background .2s, padding-left .3s var(--ease-expo);
}
.gnb-sub a:hover { color: var(--navy); background: var(--steel-pale); padding-left: 1.7rem; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-tel { font-family: var(--font-serif); color: var(--navy); font-size: 1.02rem; letter-spacing: .05em; }
.header-tel:hover { color: var(--steel); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .35s var(--ease-expo), opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 내비 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(253, 253, 252, .98); backdrop-filter: blur(20px);
  padding: calc(var(--header-h) + 2rem) 1.8rem 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav-inner { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.6rem; }
.m-group { border-bottom: 1px solid var(--line-light); padding-bottom: 1.4rem; }
.m-group strong { display: block; color: var(--steel); font-size: .8rem; letter-spacing: .25em; margin-bottom: .7rem; font-family: var(--font-serif); text-transform: uppercase; }
.m-group a { display: block; color: var(--text-dark); padding: .45rem 0; font-size: 1.12rem; font-weight: 500; }

/* ── 히어로 ───────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--navy-deep);
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: -12% 0 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18, 38, 50, .94) 0%, rgba(22, 48, 63, .42) 45%, rgba(22, 48, 63, .5) 100%);
}
#embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .55; }
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  padding: 10rem clamp(1.25rem, 4vw, 2.5rem) clamp(5rem, 8vh, 8rem);
}
.hero-eyebrow {
  font-family: var(--font-serif); letter-spacing: .5em; text-transform: uppercase;
  font-size: clamp(.72rem, .6rem + .4vw, .9rem); color: var(--steel-light);
  margin-bottom: 1.6rem;
  display: flex; align-items: center; gap: 1.1rem;
}
.hero-eyebrow::before { content: ''; width: 56px; height: 2px; background: linear-gradient(90deg, var(--flame), var(--steel-light)); }
.hero h1 {
  font-size: clamp(2.3rem, 1.2rem + 5.4vw, 5rem);
  font-weight: 800; line-height: 1.16; letter-spacing: -.04em;
  word-break: keep-all;
}
.hero h1 .accent { background: linear-gradient(120deg, #9cc4dc, #d9ecf7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  margin-top: 1.6rem; font-size: clamp(1rem, .9rem + .5vw, 1.22rem);
  color: rgba(242, 246, 248, .82); max-width: 680px; word-break: keep-all;
}
.hero-badges { margin-top: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.hero-badges span {
  padding: .38rem 1rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 100px;
  font-size: .84rem; color: rgba(255, 255, 255, .88); backdrop-filter: blur(4px);
}
.hero-actions { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-accent { background: #fff; color: var(--navy); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); }
.hero .btn-accent:hover { background: var(--steel-pale); }
.hero-scroll {
  position: absolute; bottom: 2.2rem; right: clamp(1.5rem, 4vw, 3rem); z-index: 3;
  writing-mode: vertical-rl; font-family: var(--font-serif);
  font-size: .72rem; letter-spacing: .4em; color: rgba(255, 255, 255, .55); text-transform: uppercase;
  display: flex; align-items: center; gap: 1rem;
}
.hero-scroll::after { content: ''; width: 1px; height: 64px; background: linear-gradient(to bottom, var(--steel-light), transparent); animation: scrollPulse 2.2s var(--ease-expo) infinite; }
@keyframes scrollPulse { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero-inner > * { opacity: 0; transform: translateY(36px); animation: heroUp 1.1s var(--ease-expo) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .15s; }
.hero-inner > *:nth-child(2) { animation-delay: .3s; }
.hero-inner > *:nth-child(3) { animation-delay: .48s; }
.hero-inner > *:nth-child(4) { animation-delay: .62s; }
.hero-inner > *:nth-child(5) { animation-delay: .78s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ── 신뢰 지표 바 ─────────────────────────── */
.trust-bar { background: var(--navy-deep); color: #fff; border-top: 1px solid var(--line-dark); }
.trust-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 2.6rem clamp(1.25rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem;
}
.trust-item { text-align: center; position: relative; }
.trust-item + .trust-item::before { content: ''; position: absolute; left: -0.75rem; top: 12%; bottom: 12%; width: 1px; background: var(--line-dark); }
.trust-num { font-family: var(--font-serif); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); color: #fff; line-height: 1.1; }
.trust-num small { font-size: .55em; color: var(--steel-light); margin-left: .1em; }
.trust-label { font-size: .86rem; color: var(--steel-light); margin-top: .45rem; letter-spacing: .02em; word-break: keep-all; }

/* ── 섹션 공통 ────────────────────────────── */
.section { padding: var(--space-section) 0; }
.section-dark { background: var(--navy-deep); color: var(--text-light); }
.section-dark .sec-desc { color: var(--muted); }
.section-ivory { background: var(--bg-light); }

/* reveal 애니메이션 — JS 활성(html.js) 환경에서만 숨김 (no-JS/SEO 폴백) */
html.js .reveal { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo); }
html.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
html.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
html.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
html.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
html.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
html.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
html.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }
html.js .reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .6s; }
html.js .reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .7s; }

/* ── 주력 사업 (건축유리·인테리어 80%) ─────── */
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.core-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.core-card-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease-expo);
}
.core-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(22, 48, 63, .92) 0%, rgba(22, 48, 63, .2) 55%, transparent 100%);
}
.core-card:hover .core-card-bg { transform: scale(1.06); }
.core-card-body { position: relative; z-index: 1; padding: 1.5rem 1.5rem 1.6rem; width: 100%; }
.core-card-num { font-family: var(--font-serif); font-size: .78rem; letter-spacing: .3em; color: var(--steel-light); }
.core-card h3 { font-size: 1.22rem; font-weight: 700; margin-top: .4rem; letter-spacing: -.02em; word-break: keep-all; }
.core-card p { font-size: .88rem; color: rgba(255, 255, 255, .78); margin-top: .35rem; word-break: keep-all; }

/* ── 브랜드 카드 (대리점 4대 라인 — 명함 뒷면) ── */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.brand-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.brand-card-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease-expo), filter .8s;
  filter: saturate(.92);
}
.brand-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(22, 48, 63, .92) 0%, rgba(22, 48, 63, .22) 55%, transparent 100%);
  transition: background .5s;
}
.brand-card:hover .brand-card-bg { transform: scale(1.06); filter: saturate(1.05); }
.brand-card-body { position: relative; z-index: 1; padding: clamp(1.3rem, 2.4vw, 2rem); width: 100%; }
.brand-card-en { font-family: var(--font-serif); font-size: .7rem; letter-spacing: .32em; color: var(--steel-light); text-transform: uppercase; margin-bottom: .45rem; }
.brand-card h3 { font-size: clamp(1.2rem, 1rem + .9vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; }
.brand-card h3 mark { background: none; color: #fff; font-weight: 800; }
.brand-items { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.brand-items span {
  padding: .22rem .7rem; font-size: .78rem; border-radius: 2px;
  background: rgba(65, 111, 137, .45); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(3px); color: rgba(255, 255, 255, .92);
}
.brand-card-arrow {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 1;
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .4s, transform .5s var(--ease-expo), border-color .4s;
}
.brand-card:hover .brand-card-arrow { background: var(--steel); border-color: var(--steel); transform: rotate(45deg); }

/* ── 쇼룸 스플릿 ──────────────────────────── */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.split-media .media-badge {
  position: absolute; right: -1.2rem; bottom: -1.6rem;
  background: var(--navy-grad); color: #fff;
  padding: 1.3rem 1.7rem; border-radius: var(--radius);
  font-family: var(--font-serif); text-align: center; line-height: 1.25;
  box-shadow: 0 20px 40px -14px rgba(32, 67, 86, .5);
}
.media-badge strong { font-size: 1.9rem; display: block; }
.media-badge span { font-size: .78rem; letter-spacing: .18em; }
.check-list { margin-top: 1.8rem; display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.02rem; word-break: keep-all; }
.check-list li::before {
  content: '✓'; flex: 0 0 22px; height: 22px; margin-top: .2rem;
  background: var(--steel-pale); color: var(--steel);
  border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}
.split-actions { margin-top: 2.2rem; display: flex; gap: .9rem; flex-wrap: wrap; }

/* ── 시공사례 그리드 ──────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #1f4155;
  isolation: isolate;
}
.case-thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-expo); }
.case-card:hover .case-thumb img { transform: scale(1.07); }
.case-body { padding: 1.3rem 1.4rem 1.5rem; color: #fff; }
.case-cat { font-size: .74rem; letter-spacing: .16em; color: var(--steel-light); font-family: var(--font-serif); text-transform: uppercase; }
.case-body h3 { font-size: 1.08rem; font-weight: 600; margin-top: .45rem; letter-spacing: -.02em; word-break: keep-all; }
.case-meta { font-size: .84rem; color: var(--muted); margin-top: .4rem; }
.section-ivory .case-card, .section:not(.section-dark) .case-card { background: #fff; box-shadow: var(--shadow-md); }
.section-ivory .case-body, .section:not(.section-dark) .case-body { color: var(--text-dark); }
.section-ivory .case-body h3, .section:not(.section-dark) .case-body h3 { color: var(--navy); }
.section-ivory .case-cat, .section:not(.section-dark) .case-cat { color: var(--steel); }
.section-ivory .case-meta, .section:not(.section-dark) .case-meta { color: var(--muted-dark); }

/* 필터 칩 */
.filter-chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.chip {
  padding: .55rem 1.3rem; border-radius: 100px; font-size: .9rem; font-weight: 500;
  border: 1px solid var(--line-light); color: var(--muted-dark);
  transition: all .3s;
}
.chip:hover { border-color: var(--steel); color: var(--steel); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-divider { align-self: center; width: 1px; height: 22px; background: var(--line-light); margin: 0 .4rem; }
.chip-product { border-style: dashed; }
.chip-product.is-active { background: var(--navy-grad); border-color: var(--steel); border-style: solid; color: #fff; }

/* ── 언론보도 ─────────────────────────────── */
.press-list { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.press-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 2rem; align-items: center;
  padding: 1.7rem .4rem; border-bottom: 1px solid var(--line-light);
  transition: background .3s, padding-left .4s var(--ease-expo);
}
.press-row:hover { background: var(--steel-pale); padding-left: 1.2rem; }
.press-source { font-family: var(--font-serif); font-size: .84rem; letter-spacing: .1em; color: var(--steel); }
.press-row h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: -.02em; word-break: keep-all; color: var(--navy); }
.press-row p { font-size: .92rem; color: var(--muted-dark); margin-top: .3rem; word-break: keep-all; }
.press-date { font-size: .88rem; color: var(--muted-dark); font-family: var(--font-serif); white-space: nowrap; }
.section-dark .press-list { border-color: var(--line-dark); }
.section-dark .press-row { border-color: var(--line-dark); }
.section-dark .press-row:hover { background: rgba(255, 255, 255, .04); }
.section-dark .press-row h3 { color: #fff; }
.section-dark .press-row p, .section-dark .press-date { color: var(--muted); }

/* ── CTA 밴드 ─────────────────────────────── */
.cta-band { position: relative; padding: clamp(6rem, 12vw, 10rem) 1.5rem; text-align: center; color: #fff; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(22, 48, 63, .84); }
.cta-band-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-eyebrow { font-family: var(--font-serif); letter-spacing: .45em; font-size: .8rem; color: var(--steel-light); margin-bottom: 1.4rem; text-transform: uppercase; }
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 700; line-height: 1.32; letter-spacing: -.03em; word-break: keep-all; }
.cta-desc { color: rgba(242, 246, 248, .75); margin-top: 1.2rem; font-size: 1.05rem; word-break: keep-all; }
.cta-actions { margin-top: 2.6rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-accent { background: #fff; color: var(--navy); }
.cta-band .btn-accent:hover { background: var(--steel-pale); }

/* ── 푸터 ─────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(242, 246, 248, .8); }
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem;
}
.footer-logo-chip {
  display: inline-flex; align-items: center; gap: .9rem;
  background: #fff; border-radius: 6px; padding: .7rem 1.1rem .7rem .8rem;
}
.footer-logo-chip img { height: 48px; width: auto; }
.footer-logo-chip .logo-text strong { color: var(--navy); font-size: 1.1rem; font-weight: 800; display: block; line-height: 1.2; }
.footer-logo-chip .logo-text em { font-style: normal; font-size: .64rem; color: var(--steel); font-weight: 600; }
.footer-desc { margin-top: 1.3rem; font-size: .9rem; color: var(--muted); line-height: 1.8; word-break: keep-all; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: .78rem; letter-spacing: .22em; color: var(--steel-light); font-family: var(--font-serif); text-transform: uppercase; margin-bottom: .8rem; }
.footer-col h4:not(:first-child) { margin-top: 1.6rem; }
.footer-col p { font-size: .93rem; margin-bottom: .45rem; color: rgba(242, 246, 248, .7); word-break: keep-all; }
.footer-col a:hover { color: #fff; }
.footer-tel { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; letter-spacing: .04em; }
.footer-hours { font-size: .82rem; color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  max-width: var(--container); margin: 0 auto;
  padding: 1.6rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}

/* ── 플로팅 버튼 ──────────────────────────── */
.floating-btns {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  display: flex; flex-direction: column; gap: .7rem;
}
.float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: .62rem; font-weight: 600;
  box-shadow: 0 12px 30px -8px rgba(22, 48, 63, .4);
  transition: transform .4s var(--ease-expo), box-shadow .4s;
}
.float-btn svg { width: 20px; height: 20px; }
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-tel { background: var(--navy); color: #fff; }
.float-kakao { background: #fee500; color: #191919; }
.float-quote { background: var(--flame-grad); color: #fff; }

.to-top {
  position: fixed; right: 1.45rem; bottom: 14.2rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .4s var(--ease-expo);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ── 서브페이지 히어로 ────────────────────── */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(4rem, 8vw, 7rem)) 0 clamp(3.5rem, 6vw, 6rem);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #2e5a74 100%);
  color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 82% -10%, rgba(127, 162, 184, .28), transparent 60%),
              radial-gradient(ellipse 46% 70% at 8% 110%, rgba(237, 134, 29, .1), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero-eyebrow { font-family: var(--font-serif); letter-spacing: .42em; font-size: .78rem; color: var(--steel-light); text-transform: uppercase; margin-bottom: 1.1rem; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; word-break: keep-all; }
.page-hero p { margin-top: 1rem; color: rgba(242, 246, 248, .78); font-size: 1.06rem; max-width: 660px; word-break: keep-all; }
.breadcrumb { display: flex; gap: .6rem; font-size: .84rem; color: var(--steel-light); margin-bottom: 2rem; }
.breadcrumb a:hover { color: #fff; }

/* ── 제품 상세 ────────────────────────────── */
.product-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 3rem; border-bottom: 1px solid var(--line-light); padding-bottom: 0; }
.product-tabs a {
  padding: .9rem 1.4rem; font-weight: 600; font-size: .96rem; color: var(--muted-dark);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .25s, border-color .25s;
}
.product-tabs a:hover { color: var(--navy); }
.product-tabs a.is-active { color: var(--steel); border-bottom-color: var(--steel); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.spec-table th, .spec-table td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--line-light); text-align: left; font-size: .96rem; }
.spec-table th { width: 34%; color: var(--steel); font-weight: 600; background: var(--steel-pale); }
.spec-table td { font-weight: 600; color: var(--navy); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.6rem; }
.feature-item {
  padding: 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  display: flex; gap: .9rem; align-items: flex-start; font-size: .98rem; font-weight: 500; word-break: keep-all;
  transition: transform .4s var(--ease-expo), box-shadow .4s, border-color .3s;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel); }
.feature-item::before {
  content: ''; flex: 0 0 8px; height: 8px; margin-top: .55rem;
  background: var(--navy-grad); border-radius: 50%;
}

/* ── 폼 ───────────────────────────────────── */
.form-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.form-field label .req { color: var(--flame); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: .98rem;
  padding: .85rem 1rem; border: 1px solid var(--line-light); border-radius: var(--radius);
  background: var(--bg-white);
  transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(65, 111, 137, .16);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted-dark); }
.form-actions { margin-top: 2rem; text-align: center; }

.alert { padding: 1.1rem 1.4rem; border-radius: var(--radius); margin-bottom: 1.6rem; font-size: .96rem; }
.alert-ok { background: rgba(46, 160, 90, .1); color: #1d7a43; border: 1px solid rgba(46, 160, 90, .3); }
.alert-err { background: rgba(220, 60, 60, .08); color: #b33333; border: 1px solid rgba(220, 60, 60, .25); }

/* ── 자료실 / 소식 리스트 ─────────────────── */
.doc-list { display: grid; gap: .9rem; }
.doc-row {
  display: flex; align-items: center; gap: 1.3rem;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: transform .35s var(--ease-expo), box-shadow .35s, border-color .3s;
}
.doc-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--steel); }
.doc-ico {
  flex: 0 0 46px; height: 46px; border-radius: var(--radius);
  background: var(--steel-pale); color: var(--steel);
  display: grid; place-items: center; font-family: var(--font-serif); font-size: .72rem; letter-spacing: .05em;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info h3 { font-size: 1.02rem; font-weight: 600; word-break: keep-all; color: var(--navy); }
.doc-info p { font-size: .84rem; color: var(--muted-dark); margin-top: .2rem; }
.doc-action { flex: 0 0 auto; }

/* 소식 */
.news-list { border-top: 1px solid var(--line-light); }
.news-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 1.6rem; align-items: center;
  padding: 1.5rem .4rem; border-bottom: 1px solid var(--line-light);
  transition: background .3s, padding-left .4s var(--ease-expo);
}
.news-row:hover { background: var(--steel-pale); padding-left: 1rem; }
.news-cat { font-size: .78rem; font-weight: 700; color: var(--steel); letter-spacing: .04em; }
.news-row h3 { font-size: 1.08rem; font-weight: 600; word-break: keep-all; color: var(--navy); }
.news-date { font-size: .86rem; color: var(--muted-dark); font-family: var(--font-serif); }

.article-body { max-width: 780px; margin: 0 auto; font-size: 1.05rem; line-height: 1.9; }
.article-body p { margin-bottom: 1.4rem; word-break: keep-all; }

/* ── 연혁 타임라인 ────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(to bottom, var(--steel), var(--line-light)); }
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item::before {
  content: ''; position: absolute; left: -2rem; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy-grad); box-shadow: 0 0 0 4px rgba(65, 111, 137, .18);
}
.tl-year { font-family: var(--font-serif); font-size: 1.2rem; color: var(--steel); letter-spacing: .05em; }
.tl-item h3 { font-size: 1.12rem; font-weight: 700; margin-top: .3rem; word-break: keep-all; color: var(--navy); }
.tl-item p { color: var(--muted-dark); margin-top: .35rem; font-size: .97rem; word-break: keep-all; }

/* ── 오시는 길 ────────────────────────────── */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.loc-card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.loc-map { aspect-ratio: 16 / 9; border: 0; width: 100%; display: block; filter: grayscale(.15); }
.loc-body { padding: 1.7rem 1.8rem 2rem; }
.loc-tag { font-family: var(--font-serif); font-size: .74rem; letter-spacing: .3em; color: var(--steel); text-transform: uppercase; }
.loc-body h3 { font-size: 1.3rem; font-weight: 700; margin-top: .5rem; color: var(--navy); }
.loc-body p { color: var(--muted-dark); margin-top: .5rem; font-size: .97rem; }
.loc-actions { margin-top: 1.2rem; display: flex; gap: .7rem; flex-wrap: wrap; }

/* ── 라이트박스 ───────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(22, 48, 63, .95);
  display: grid; place-items: center; padding: 3rem 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 1.6rem; right: 2rem; color: #fff; font-size: 2rem; opacity: .8; }
.lightbox-close:hover { opacity: 1; }

/* ── 갤러리(사례 상세) ────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-expo); }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ── 반응형 ───────────────────────────────── */
@media (max-width: 1100px) {
  .gnb { display: none; }
  .header-tel { display: none; }
  .nav-toggle { display: flex; }
  .trust-inner { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .trust-item:nth-child(4)::before, .trust-item:nth-child(1)::before { display: none; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .logo-img { height: 42px; }
  .logo-text strong { font-size: 1.05rem; }
  .brand-grid { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .split { grid-template-columns: 1fr; }
  .split-media .media-badge { right: 1rem; bottom: -1.4rem; padding: 1rem 1.3rem; }
  .media-badge strong { font-size: 1.5rem; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item::before { display: none; }
  .case-grid { grid-template-columns: 1fr; }
  .press-row { grid-template-columns: 1fr; gap: .4rem; padding: 1.4rem .2rem; }
  .press-date { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .news-row { grid-template-columns: 1fr; gap: .3rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .float-btn { width: 52px; height: 52px; }
  .to-top { bottom: 12.6rem; }
}

/* 모션 민감 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-inner > * { opacity: 1; transform: none; }
}
