/* ═══════════════════════════════════════════════════════════
   오늘이음 주식회사 디자인 시스템 v2
   컨셉: 하이브리드 — 다크 네이비 임팩트 히어로 + 에디토리얼 본문
   서체: Noto Serif KR(디스플레이) + Pretendard(본문)
   ═══════════════════════════════════════════════════════════ */
:root {
  --navy: #081F38;
  --navy-2: #0A2540;
  --navy-3: #123A63;
  --blue: #1B5FAA;
  --blue-light: #EAF1F9;
  --orange: #F37021;
  --orange-dark: #D95E12;
  --ink: #16212E;
  --gray: #5B6B7F;
  --gray-2: #93A2B4;
  --line: #E4EAF1;
  --paper: #FFFFFF;
  --paper-soft: #F7FAFC;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(8, 31, 56, 0.10);
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── 내비게이션: 투명 → 스크롤 시 화이트 ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 78px; display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.15; transition: color 0.35s; }
.logo .dot { color: var(--orange); }
.logo small { display: block; font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.22em; transition: color 0.35s; }
.nav-menu { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-menu a { font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.85); padding: 8px 0; position: relative; transition: color 0.35s; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px;
  background: var(--orange); transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.btn-contact {
  background: var(--orange); color: #fff !important; padding: 13px 50px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; transition: all 0.25s;
}
.btn-contact:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-contact::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: #fff; cursor: pointer; transition: color 0.35s; }

.nav.scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border-color: var(--line); box-shadow: 0 1px 24px rgba(8, 31, 56, 0.06); }
.nav.scrolled .logo { color: var(--navy); }
.nav.scrolled .logo small { color: var(--gray-2); }
.nav.scrolled .nav-menu a { color: var(--ink); }
.nav.scrolled .nav-menu a.active { color: var(--navy); }
.nav.scrolled .nav-toggle { color: var(--navy); }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 34px; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.btn .arr { transition: transform 0.3s; }
.btn:hover .arr { transform: translateX(5px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 28px rgba(243, 112, 33, 0.38); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.6); }

/* ── 데이터 그리드 모티프 ── */
.grid-motif {
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ── 메인 히어로 ── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 700px at 80% -10%, #17416F 0%, var(--navy-2) 45%, var(--navy) 100%);
  min-height: 92vh; display: flex; align-items: center; padding: 140px 0 100px;
}
.hero .glow-a, .hero .glow-b { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero .glow-a { width: 560px; height: 560px; right: -140px; top: -160px; background: rgba(27, 95, 170, 0.4); }
.hero .glow-b { width: 340px; height: 340px; right: 16%; bottom: -120px; background: rgba(243, 112, 33, 0.22); }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.75); margin-bottom: 30px;
}
.hero .eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--orange); }
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.22; letter-spacing: -0.02em;
}
.hero h1 .point { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 .point::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6%; height: 14%;
  background: rgba(243, 112, 33, 0.22); z-index: -1;
}
.hero p.lead { margin: 30px 0 44px; font-size: 1.18rem; color: rgba(255, 255, 255, 0.72); max-width: 600px; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 히어로 등장 모션 */
.hero .rise { opacity: 0; transform: translateY(34px); animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero .rise.d1 { animation-delay: 0.08s; }
.hero .rise.d2 { animation-delay: 0.22s; }
.hero .rise.d3 { animation-delay: 0.38s; }
.hero .rise.d4 { animation-delay: 0.54s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 히어로 데이터 비주얼 */
.hero-viz { position: relative; }
.hero-viz svg { width: 100%; height: auto; display: block; }
.hero-viz .bar-el { transform-origin: bottom; transform: scaleY(0); animation: growBar 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes growBar { to { transform: scaleY(1); } }
.hero-viz .line-el { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 1.8s ease forwards 0.6s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hero-viz .viz-cap { margin-top: 14px; font-size: 0.8rem; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-align: right; }

/* 스크롤 큐 */
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2;
  width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--orange); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0.2; } }

/* ── 서브페이지 히어로 ── */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 85% -20%, #17416F 0%, var(--navy-2) 50%, var(--navy) 100%);
  padding: 180px 0 96px;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); font-weight: 700; letter-spacing: 0.2em; font-size: 0.8rem;
}
.page-hero .eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--orange); }
.page-hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: 16px; letter-spacing: -0.02em; line-height: 1.25; }
.page-hero p { margin-top: 18px; color: rgba(255, 255, 255, 0.7); max-width: 660px; font-size: 1.05rem; }

/* ── 섹션 공통 ── */
section { padding: 110px 0; }
.section-head { margin-bottom: 64px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 800; letter-spacing: 0.2em; font-size: 0.78rem; text-transform: uppercase;
}
.section-head .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--orange); }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; color: var(--navy-2); margin-top: 14px; letter-spacing: -0.02em; line-height: 1.3; }
.section-head p { color: var(--gray); margin-top: 16px; max-width: 660px; font-size: 1.02rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center p { margin-left: auto; margin-right: auto; }
.bg-soft { background: var(--paper-soft); }

/* ── 숫자 스탯 밴드 ── */
.stats { background: var(--navy); color: #fff; padding: 0; position: relative; overflow: hidden; }
.stats .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 64px 28px; text-align: center; border-left: 1px solid rgba(255,255,255,0.09); }
.stat:first-child { border-left: 0; }
.stat .num { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .num em { font-style: normal; color: var(--orange); }
.stat .label { margin-top: 8px; color: rgba(255, 255, 255, 0.6); font-size: 0.93rem; letter-spacing: 0.02em; }

/* ── 파트너 마퀴 ── */
.marquee-band { padding: 54px 0; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-band .cap { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gray-2); margin-bottom: 30px; text-transform: uppercase; }
.marquee { display: flex; 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; flex-shrink: 0; align-items: center; gap: 64px; padding-right: 64px; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #A9B6C6; white-space: nowrap; transition: color 0.3s; }
.marquee-track span:hover { color: var(--navy-2); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ── 사업영역: 넘버드 카드 ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 34px 40px; overflow: hidden; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .no { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; }
.svc-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 900; color: var(--navy-2); margin: 14px 0 14px; letter-spacing: -0.01em; }
.svc-card p { color: var(--gray); font-size: 0.97rem; }
.svc-card .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 0.88rem; font-weight: 700; color: var(--navy-2); }
.svc-card .go .arr { transition: transform 0.3s; color: var(--orange); }
.svc-card:hover .go .arr { transform: translateX(5px); }

/* ── 4열 그리드 (What we do) ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

/* ── 핵심가치 (RISE + E) ── */
.value-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 24px 30px; text-align: center; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value-card .initial { font-family: var(--serif); font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.value-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--navy-2); margin: 12px 0 4px; }
.value-card .ko { font-size: 0.85rem; color: var(--gray); }
@media (max-width: 980px) { .value-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .value-row { grid-template-columns: repeat(2, 1fr); } }

/* ── 슬로건 배너 ── */
.slogan { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; }
.slogan b { color: var(--orange); font-weight: 900; }

/* ── 대표 실적: 에디토리얼 리스트 ── */
.case-list { border-top: 1px solid var(--line); }
.case-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: center;
  padding: 34px 8px; border-bottom: 1px solid var(--line); transition: background 0.3s, padding 0.3s;
}
.case-row:hover { background: var(--paper-soft); padding-left: 20px; }
.case-row .idx { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: #C6D2E0; transition: color 0.3s; }
.case-row:hover .idx { color: var(--orange); }
.case-row h3 { font-size: 1.18rem; font-weight: 800; color: var(--navy-2); letter-spacing: -0.01em; line-height: 1.45; }
.case-row .meta { margin-top: 6px; font-size: 0.88rem; color: var(--gray); }
.case-row .tag {
  font-size: 0.76rem; font-weight: 700; color: var(--blue); background: var(--blue-light);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}

/* ── 일반 카드(소개·기타 페이지 겸용) ── */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 24px;
}
.card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 900; color: var(--navy-2); margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 0.96rem; }
.card .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--blue);
  background: var(--blue-light); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.card .meta { font-size: 0.85rem; color: var(--gray-2); margin-top: 18px; }

/* ── 타임라인 ── */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--orange), var(--line)); }
.tl-item { position: relative; padding-bottom: 60px; }
.tl-item::before {
  content: ""; position: absolute; left: -41px; top: 10px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--orange); border: 3.5px solid #fff; box-shadow: 0 0 0 2px var(--orange);
}
.tl-item .year { font-family: var(--serif); font-size: 1.7rem; font-weight: 900; color: var(--navy-2); letter-spacing: 0.01em; }
.tl-item .badge {
  display: inline-block; margin-left: 12px; font-size: 0.78rem; font-weight: 700;
  color: var(--orange); background: rgba(243, 112, 33, 0.1); padding: 4px 14px; border-radius: 999px; vertical-align: middle;
}
.tl-item ul { margin: 16px 0 0; padding-left: 18px; color: var(--gray); }
.tl-item li { margin-bottom: 9px; font-size: 0.98rem; }
.tl-item li strong { color: var(--ink); font-weight: 700; }

/* ── 연도별 활동량 차트 ── */
.year-chart { display: flex; align-items: flex-end; gap: 30px; height: 250px; max-width: 660px; margin: 0 auto; }
.year-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.year-bar .bar {
  width: 100%; max-width: 74px; border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, var(--blue), var(--navy-2));
  transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1); height: 0;
}
.year-bar.hot .bar { background: linear-gradient(180deg, var(--orange), var(--orange-dark)); }
.year-bar .val { font-weight: 800; color: var(--navy-2); margin-bottom: 9px; font-variant-numeric: tabular-nums; }
.year-bar .yr { margin-top: 12px; font-size: 0.88rem; color: var(--gray); font-weight: 600; }

/* ── 거래처 ── */
.client-group { margin-bottom: 52px; }
.client-group h3 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 900; color: var(--navy-2); margin-bottom: 20px;
  padding-left: 16px; border-left: 4px solid var(--orange);
}
.client-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 22px; font-size: 0.92rem; font-weight: 600; color: var(--ink); transition: all 0.25s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ── 표 ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 640px; }
thead { background: var(--navy-2); color: #fff; }
th { padding: 15px 20px; text-align: left; font-weight: 700; white-space: nowrap; }
td { padding: 15px 20px; border-top: 1px solid var(--line); color: var(--ink); }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: var(--blue-light); }
td .src { color: var(--gray); font-size: 0.85rem; }

/* ── 블로그 ── */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-bar button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 22px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray); cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-bar button.on, .filter-bar button:hover { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-thumb { height: 175px; background: linear-gradient(135deg, var(--blue-light), #D5E4F4); display: flex; align-items: center; justify-content: center; font-size: 2.3rem; transition: transform 0.5s; }
.post-thumb.alt { background: linear-gradient(135deg, #FDEBDD, #F9D4B5); }
.post-thumb.navy { background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.post-card:hover .post-thumb { transform: scale(1.04); }
.post-body { padding: 28px 28px 32px; background: var(--paper); position: relative; z-index: 1; }
.post-body .cat { font-size: 0.76rem; font-weight: 800; color: var(--orange); letter-spacing: 0.1em; }
.post-body h3 { font-family: var(--serif); font-size: 1.16rem; font-weight: 900; color: var(--navy-2); margin: 10px 0 10px; line-height: 1.5; }
.post-body p { font-size: 0.9rem; color: var(--gray); }
.post-body .date { display: block; margin-top: 18px; font-size: 0.82rem; color: var(--gray-2); }

/* ── 게시글 본문 ── */
.article { max-width: 760px; margin: 0 auto; }
.article .cat { color: var(--orange); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; }
.article h1 { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 900; color: var(--navy-2); margin: 14px 0 18px; line-height: 1.4; letter-spacing: -0.02em; }
.article .meta { color: var(--gray); font-size: 0.9rem; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.article h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--navy-2); margin: 48px 0 16px; font-weight: 900; }
.article p { margin-bottom: 20px; color: #37475A; font-size: 1.02rem; }
.article ul, .article ol { margin: 0 0 20px 22px; color: #37475A; }
.article blockquote {
  border-left: 4px solid var(--orange); background: #FFF7F1; padding: 22px 28px;
  border-radius: 0 12px 12px 0; margin: 30px 0; color: var(--navy-2); font-weight: 600;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.75;
}
.article blockquote p { margin: 0; color: inherit; font-size: inherit; }

/* ── CTA ── */
.cta-section { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 120px 0; }
.cta-section::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(243,112,33,0.18), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner .eyebrow { color: var(--orange); font-weight: 800; letter-spacing: 0.2em; font-size: 0.8rem; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 900; margin: 18px 0 16px; letter-spacing: -0.02em; line-height: 1.35; }
.cta-inner p { color: rgba(255,255,255,0.68); margin-bottom: 40px; font-size: 1.05rem; }
/* 구버전 호환 */
.cta {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: #fff; border-radius: 22px; padding: 64px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta h2 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; letter-spacing: -0.01em; }
.cta p { margin-top: 8px; color: rgba(255, 255, 255, 0.85); }
.cta .btn { background: #fff; color: var(--orange-dark); }
.cta .btn:hover { transform: translateY(-2px); }

/* ── 문의 ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; align-items: start; }
.contact-info h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 900; color: var(--navy-2); margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 26px; }
.contact-info .item { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; font-weight: 600; }
.contact-info .item .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-size: 0.95rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243,112,33,0.12); }
.field textarea { resize: vertical; min-height: 140px; }
.form-card .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; justify-content: center; }
.form-note { margin-top: 14px; font-size: 0.82rem; color: var(--gray); text-align: center; }

/* ── 푸터 ── */
footer { background: var(--navy); color: rgba(255, 255, 255, 0.65); padding: 80px 0 44px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-grid .logo { color: #fff; font-size: 1.6rem; }
.footer-grid .logo small { color: rgba(255,255,255,0.4); }
footer .info { margin-top: 20px; font-size: 0.9rem; line-height: 2.1; }
footer .links { display: flex; gap: 30px; font-size: 0.92rem; flex-wrap: wrap; }
footer .links a { position: relative; padding-bottom: 3px; }
footer .links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--orange); transition: width 0.3s; }
footer .links a:hover { color: #fff; }
footer .links a:hover::after { width: 100%; }
footer .copy { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: rgba(255, 255, 255, 0.38); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── 스크롤 리빌 (스태거 지원) ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--stagger, 0) * 90ms); }
.reveal.show { opacity: 1; transform: none; }

/* ── 반응형 ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-viz { max-width: 460px; }
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.09); padding: 44px 20px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-menu {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 26px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { color: var(--ink) !important; }
  .nav-toggle { display: block; }
  .case-row { grid-template-columns: 56px 1fr; }
  .case-row .tag { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .stats-grid, .form-row { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid rgba(255,255,255,0.09); }
  .stat:first-child { border-top: 0; }
  section { padding: 72px 0; }
  .hero { min-height: 0; padding: 150px 0 96px; }
  .page-hero { padding: 150px 0 72px; }
  .cta { padding: 46px 30px; }
  .year-chart { gap: 14px; height: 200px; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
