/* ===== 한국정부자금홀딩스 공통 스타일 ===== */
:root {
  --navy-900: #001d21;
  --navy: #003238;
  --navy-light: #00454e;
  --blue: #5d58c9;
  --green: #2e6e63;
  --green-dark: #235448;
  --lavender: #cdcbff;
  --lavender-dark: #bdbaf7;
  --ink: #10201f;
  --muted: #5a6b6a;
  --line: #e2e8e6;
  --bg-soft: #f4f6f5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(14, 33, 68, 0.09);
  --maxw: 1500px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-word {
  font-size: 20px; font-weight: 700; letter-spacing: -0.6px;
  color: #0d1f1e;
}
.site-header.dark .brand-word { color: #fff; }
.brand-eng { font-size: 10.5px; color: var(--muted); letter-spacing: 0.25px; }
.site-header.dark .brand-eng { color: rgba(255, 255, 255, 0.55); }
.brand-sub { font-size: 13px; font-weight: 600; color: var(--muted); }

.gnb {
  display: flex; align-items: center; gap: 2px;
  background: #f0f3f1; border-radius: 999px; padding: 5px 8px;
}
.gnb a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.gnb a:hover { background: #fff; color: var(--green); }
.gnb a.active { color: var(--green); }
.header-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-cta {
  display: inline-block; padding: 10px 18px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  background: var(--lavender); color: var(--navy-900);
  transition: 0.15s;
}
.nav-cta:hover { background: var(--lavender-dark); }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  margin: 5px auto; transition: 0.2s;
}

/* ===== 페이지 헤더(서브페이지 상단) ===== */
.page-hero {
  background: var(--navy-900);
  color: #fff; padding: 64px 0 58px; text-align: center;
}
.page-hero h1 { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); font-size: 16.5px; }

/* ===== 메인 히어로 (다크 + 초대형 타이포, AngelList 실측값) ===== */
.hero {
  background: #001d21;
  color: #cdcbff;
  padding: 128px 0 64px;
}
.hero > .container { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero h1 {
  font-size: clamp(4rem, 2.765rem + 4.71vw, 7rem);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.015em; color: #cdcbff;
  margin: 0; max-width: 24ch;
}
.hero p.hero-sub {
  color: #cdcbff;
  font-size: clamp(1.375rem, 1.221rem + 0.59vw, 1.75rem);
  font-weight: 400; line-height: 1.3;
  margin: 0; max-width: 32ch;
}
.btn-light {
  background: #fafafa; color: #001d21;
  padding: 15px 26px; font-size: 17px; border-radius: 8px;
}
.btn-light:hover { background: #e6e9ee; }

/* 히어로 타이포 모션 (잡지 스타일) */
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line-inner {
  display: inline-block; transform: translateY(115%);
  animation: line-up 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.4s; }
@keyframes line-up {
  to { transform: translateY(0); }
}
.hero-title em {
  font-family: "Noto Serif KR", "Nanum Myeongjo", serif;
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, #cdcbff 25%, #f5f4ff 50%, #cdcbff 75%);
  background-size: 220% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 10s ease-in-out 2.4s infinite;
  padding-right: 0.06em;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
.fade-item {
  opacity: 0; transform: translateY(22px);
  animation: fade-up 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}
.fade-item.fade-late { animation-delay: 1.5s; }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* 다크 헤더 (메인 페이지) */
.site-header.dark {
  background: #001d21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.dark .brand-text strong { color: #fff; }
.site-header.dark .brand-text span { color: rgba(255, 255, 255, 0.55); }
.site-header.dark .gnb {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header.dark .gnb a { color: #fff; }
.site-header.dark .gnb a:hover { background: rgba(255, 255, 255, 0.1); color: #a9dcb2; }
.site-header.dark .gnb a.active { color: #a9dcb2; }
.site-header.dark .nav-toggle span { background: #fff; }
@media (max-width: 700px) {
  .site-header.dark .gnb { background: #001d21; border-color: rgba(255, 255, 255, 0.08); }
}

/* ===== 큰 제목 (두 줄) 섹션 헤드 ===== */
.head-duo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.head-duo h2 {
  font-size: 42px; letter-spacing: -1.4px; line-height: 1.22; color: var(--navy-900);
}
.head-duo h2 .accent { display: block; color: #8f8bd9; }
.section-link {
  font-weight: 700; font-size: 16px; color: var(--navy-900);
  text-decoration: underline; text-underline-offset: 6px;
  white-space: nowrap; padding-bottom: 6px;
}
.section-link:hover { color: var(--blue); }

/* ===== 뉴스 (Latest articles 스타일) ===== */
.latest-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 60px;
}
.latest-head .label { font-size: 19px; color: #10201f; margin-bottom: 14px; }
.latest-head h2 {
  font-size: clamp(48px, 5vw, 84px); font-weight: 500;
  line-height: 1.03; letter-spacing: -2px; color: #0d1f1e;
}
.news-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 26px; }
.news-card {
  display: flex; flex-direction: column; gap: 20px;
  cursor: pointer;
}
.news-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.news-thumb {
  aspect-ratio: 16 / 9; border-radius: 6px; background: #001d21;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; overflow: hidden;
}
.news-thumb.has-photo { background: var(--bg-soft); }
.news-thumb.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb strong { color: #fff; font-size: clamp(22px, 1.7vw, 30px); font-weight: 600; letter-spacing: -0.5px; }
.news-thumb strong span { color: var(--lavender); font-weight: 400; }
.news-thumb em { color: #7f8b98; font-style: normal; font-size: 13px; letter-spacing: 0.04em; }
.chip-cat {
  align-self: flex-start; background: #f0f1f0; color: #1c2b2a;
  border-radius: 8px; padding: 8px 15px; font-size: 15px; font-weight: 500;
}
.news-card h3 {
  font-size: 23px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.3px; color: #10201f;
}
.news-card .news-body {
  display: none; color: #5a6b6a; font-size: 15.5px; line-height: 1.7;
  white-space: pre-line;
}
.news-card.open .news-body { display: block; }
.news-card .date-row {
  margin-top: auto; padding-bottom: 26px; border-bottom: 1px solid #e3e6e5;
  font-size: 13px; letter-spacing: 0.08em; color: #10201f;
}
.news-card .date-row b { font-weight: 700; }

/* ===== 서비스 (By the numbers 스타일) ===== */
.numbers-band {
  background: #6e5e36; color: #dff2d9;
  padding: 110px 0 120px;
}
.numbers-grid {
  display: grid; grid-template-columns: 0.9fr 1.35fr;
  column-gap: 90px; align-items: start;
}
.ng-head { grid-column: 1; grid-row: 1; }
.numbers-grid .stat-hero { grid-column: 2; grid-row: 1; }
.numbers-grid .stat-grid.row-a { grid-column: 2; grid-row: 2; }
.numbers-grid .nb-card { grid-column: 1; grid-row: 3; align-self: start; }
.numbers-grid .diag-card { grid-column: 1; grid-row: 2; align-self: start; }
.numbers-grid .stat-grid.row-b { grid-column: 2; grid-row: 3; }
.nb-label { font-size: 17px; color: #dff2d9; margin-bottom: 16px; }
.numbers-band h2 {
  font-size: clamp(40px, 3.6vw, 64px); font-weight: 500;
  line-height: 1.12; letter-spacing: -1.5px; color: #dff2d9;
  margin-bottom: 28px;
}
.nb-desc {
  color: rgba(223, 242, 217, 0.85); font-size: 17px;
  line-height: 1.85; max-width: 26em;
}
.nb-card { display: block; margin-top: 0; max-width: 380px; }

/* 무료 자금 진단 카드 (서비스 섹션) */
.diag-card {
  display: block; max-width: 380px;
  background: #dff2d9; color: #33402b;
  border-radius: 14px; padding: 30px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.diag-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16); }
.dg-label {
  display: block; font-size: 12px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #6e7d4f; margin-bottom: 14px;
}
.diag-card h3 {
  font-size: 24px; font-weight: 600; line-height: 1.35;
  letter-spacing: -0.6px; color: #33402b; margin-bottom: 20px;
}
.dg-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.dg-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 15.5px; color: #49573f; line-height: 1.5;
}
.dg-list li::before {
  content: "✓"; flex-shrink: 0; font-weight: 800; color: #6e7d4f;
}
.dg-go {
  font-size: 15.5px; font-weight: 700; color: #33402b;
  text-decoration: underline; text-underline-offset: 5px;
}
.nb-photo { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.nb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-thumb {
  aspect-ratio: 16 / 9; border-radius: 4px; background: #001d21;
  display: flex; align-items: center; justify-content: center;
}
.nb-thumb strong { color: #fff; font-size: 30px; font-weight: 600; }
.nb-thumb strong span { color: var(--lavender); font-weight: 400; }
.nb-naver {
  background: #03c75a;
  flex-direction: column; align-items: stretch; justify-content: flex-start;
  padding: 16px; gap: 12px; border-radius: 8px;
}
.nv-head { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 14.5px; }
.nv-logo {
  background: #fff; color: #03c75a; font-weight: 900;
  border-radius: 6px; padding: 2px 9px; font-size: 13px;
}
.nv-posts {
  background: #fff; border-radius: 8px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 9px; flex: 1;
  list-style: none; margin: 0;
}
.nv-posts li {
  font-size: 13px; color: #333; line-height: 1.4;
  border-bottom: 1px dashed #e8e8e8; padding-bottom: 8px;
}
.nv-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.nb-title { font-size: 17.5px; color: #dff2d9; margin: 16px 0 12px; }
.nb-card:hover .nb-title { text-decoration: underline; text-underline-offset: 4px; }
.nb-chip {
  display: inline-block; background: rgba(255, 255, 255, 0.16); color: #fff;
  font-size: 13.5px; font-weight: 600; border-radius: 6px; padding: 5px 12px;
}
.stat-hero {
  border-top: 1px solid rgba(223, 242, 217, 0.3);
  padding: 34px 0 64px;
}
.stat-hero .stat-value {
  font-size: clamp(80px, 8.6vw, 158px); font-weight: 500;
  line-height: 1.02; letter-spacing: -4px;
}
.stat-label {
  margin-top: 26px; font-size: 16.5px; color: rgba(223, 242, 217, 0.9);
  max-width: 30em;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.stat-cell {
  border-top: 1px solid rgba(223, 242, 217, 0.3);
  padding: 34px 0 52px;
}
.stat-cell .stat-value {
  font-size: clamp(38px, 3.2vw, 60px); font-weight: 500;
  line-height: 1.05; letter-spacing: -1.5px;
}
.stat-cell .stat-label { margin-top: 18px; font-size: 15.5px; }

/* ===== 텍스트 + 다크 카드 분할 섹션 ===== */
.eyebrow-caps {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #877a4a; margin-bottom: 28px;
}
.feature-split h2 {
  font-size: clamp(32px, 2.9vw, 52px); font-weight: 500; line-height: 1.28;
  letter-spacing: -0.8px; color: #10201f; margin-bottom: 26px;
}
.feature-split .split-body > p {
  color: #40514f; font-size: 18px; line-height: 1.75;
  max-width: 34em; margin-bottom: 22px;
}
.uline { text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
.uline:hover { color: var(--blue); }
.dark-card {
  position: relative; background: #001d21; border-radius: 16px;
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  gap: 20px; padding: clamp(22px, 2.6vw, 38px);
  overflow: hidden;
}
.dc-label { font-size: 15px; font-weight: 700; color: #fff; }
.dc-label span { color: var(--lavender); font-weight: 400; }
.chat-mock { display: flex; flex-direction: column; gap: 10px; width: min(88%, 430px); }
.chat-mock .bubble {
  padding: 11px 16px; border-radius: 14px;
  font-size: 14px; line-height: 1.55; max-width: 88%;
}
.chat-mock .bubble.user {
  background: #fee500; color: #191919;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-mock .bubble.kfh {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  align-self: flex-start; border-bottom-left-radius: 4px;
}
/* 블로그 카드 (흰색 + 네이버 그린) */
.blog-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 2px solid #03c75a; border-radius: 16px;
  min-height: 340px; padding: clamp(22px, 2.4vw, 34px);
  gap: 16px; box-shadow: 0 10px 34px rgba(3, 199, 90, 0.10);
  transition: 0.2s; overflow: hidden;
}
.blog-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 6px; background: #03c75a;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(3, 199, 90, 0.16); }
.bc-head { display: flex; align-items: center; gap: 10px; color: #10201f; font-weight: 800; font-size: 16px; }
.bc-badge {
  background: #03c75a; color: #fff; font-weight: 900;
  border-radius: 7px; padding: 3px 11px; font-size: 13.5px;
}
.bc-posts { list-style: none; display: flex; flex-direction: column; gap: 13px; flex: 1; justify-content: center; margin: 0; }
.bc-posts li {
  font-size: 15.5px; color: #33403f; line-height: 1.5;
  border-bottom: 1px solid #eef1ef; padding-bottom: 12px;
}
.bc-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.bc-posts li::before { content: "→ "; color: #03c75a; font-weight: 700; }
.bc-btn {
  align-self: flex-end;
  background: #03c75a; color: #fff; font-weight: 700; font-size: 14.5px;
  border-radius: 999px; padding: 11px 20px;
}
.blog-card:hover .bc-btn { background: #02b04f; }

.pill-btn {
  position: absolute; right: 26px; bottom: 26px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: 0.15s;
}
.pill-btn:hover { background: rgba(255, 255, 255, 0.22); }
.dc-caption {
  margin-top: 18px; text-align: center;
  color: var(--muted); font-size: 14.5px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 7px 16px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.2px;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; transition: 0.15s;
}
.btn-kakao { background: #001d21; color: #fff; }
.btn-kakao:hover { background: #003238; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-primary { background: var(--lavender); color: var(--navy-900); }
.btn-primary:hover { background: var(--lavender-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }

/* ===== 섹션 공통 ===== */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13.5px; font-weight: 700;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; letter-spacing: -0.6px; color: var(--navy-900); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* ===== 서비스 카드 ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfd9ea; }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: linear-gradient(135deg, #ecebfb, #e7f0ee);
}
.card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 8px; letter-spacing: -0.3px; }
.card p { font-size: 15px; color: var(--muted); }

/* ===== 진행 절차 (민트 패널 + 아치 사진) ===== */
.process-band {
  background: #d9ecd3; border-radius: 10px;
  padding: clamp(50px, 5vw, 90px) clamp(30px, 4vw, 80px);
}
.process-band-grid {
  display: grid; grid-template-columns: 0.85fr 1.35fr;
  gap: 70px; align-items: center;
}
.pb-left h2 {
  font-size: clamp(26px, 2.3vw, 38px); font-weight: 600;
  letter-spacing: -0.6px; color: #33402b; margin-bottom: 22px;
}
.pb-left p {
  color: #49573f; font-size: 16.5px; line-height: 1.8; margin-bottom: 32px;
}
.pb-left .uline { color: #33402b; }
.arch-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.arch-item { padding: 0 12px; text-align: center; }
.arch-item + .arch-item { border-left: 1px solid rgba(51, 64, 43, 0.22); }
.arch { border-radius: 999px; overflow: hidden; aspect-ratio: 0.62 / 1; }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arch-cap { margin-top: 16px; }
.arch-cap span {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; color: #6e7d4f; margin-bottom: 5px;
}
.arch-cap strong { font-size: 14.5px; font-weight: 700; color: #33402b; letter-spacing: -0.2px; }

/* ===== 사업영역 갤러리 (잡지 스타일) ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
.g-photo { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.g-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-item:hover .g-photo img { transform: scale(1.05); }
.g-cap { border-top: 1px solid #10201f; margin-top: 20px; padding-top: 16px; }
.g-num {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #877a4a; margin-bottom: 10px;
}
.g-cap h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.3px; color: #10201f; margin-bottom: 8px; }
.g-cap p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ===== 신뢰 포인트 ===== */
.trust-band {
  background:
    linear-gradient(rgba(0, 24, 27, 0.94), rgba(0, 29, 33, 0.97)),
    url("../assets/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.trust-band .section-head h2 { color: #fff; }
.trust-band .section-head p { color: rgba(255, 255, 255, 0.7); }
.trust-item {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 30px 26px;
}
.trust-item .num {
  font-size: 14px; font-weight: 800; color: var(--lavender); margin-bottom: 12px;
  letter-spacing: 1px;
}
.trust-item h3 { font-size: 19px; margin-bottom: 8px; }
.trust-item p { font-size: 15px; color: rgba(255, 255, 255, 0.72); }

/* ===== 프로세스 ===== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; position: relative;
}
.step .step-no {
  width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; color: var(--navy-900); margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ===== 뉴스 ===== */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: 0.15s; cursor: pointer;
}
.news-item:hover { border-color: #cfd9ea; box-shadow: var(--shadow); }
.news-item .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.badge {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: #e9e8f9; color: #4d48b5;
}
.badge.green { background: #e1efec; color: #1c6355; }
.news-item time { font-size: 13.5px; color: var(--muted); }
.news-item h3 { font-size: 18px; color: var(--navy-900); letter-spacing: -0.3px; }
.news-item .news-body {
  display: none; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted); font-size: 15px; white-space: pre-line;
}
.news-item.open .news-body { display: block; }
.news-item .ext-link { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.news-empty, .news-loading {
  text-align: center; color: var(--muted); padding: 48px 0; font-size: 15.5px;
}

.blog-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(120deg, #edf3f1, #f1f0fa);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 28px; margin-bottom: 30px; flex-wrap: wrap;
}
.blog-banner strong { color: var(--navy-900); font-size: 17px; }
.blog-banner p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }

/* ===== CTA 밴드 ===== */
.cta-band {
  background: #fff; color: #10201f;
  text-align: center;
  padding: 110px 0 130px;
}
.cta-band .container { max-width: 1100px; }
.cta-band::before {
  content: ""; display: block; width: 64px; height: 1px;
  background: #10201f; margin: 0 auto 34px;
}
.cta-band .cta-eyebrow {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #877a4a; margin-bottom: 30px;
}
.cta-band h2 {
  font-size: clamp(36px, 3.8vw, 62px); font-weight: 600;
  letter-spacing: -1.5px; line-height: 1.22;
  margin: 0 auto 26px; color: #10201f; max-width: 17em;
}
.cta-band h2 em {
  font-family: "Noto Serif KR", "Nanum Myeongjo", serif;
  font-style: italic; font-weight: 600;
}
.cta-band p {
  color: #5a6b6a; margin: 0 auto 46px; font-size: 18.5px; max-width: 34em;
}
.cta-band .hero-actions { justify-content: center; }

/* ===== 인사말 ===== */
.greeting-wrap {
  display: grid; grid-template-columns: 340px 1fr; gap: 54px; align-items: start;
}
.ceo-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  position: sticky; top: 100px;
}
.ceo-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* 캡션 없이 사진만 — 모서리를 모두 둥글게 */
.ceo-photo, .ceo-photo img { border-radius: var(--radius); }
.ceo-photo .photo-fallback {
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 70%, var(--blue) 130%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; gap: 8px;
}
.ceo-photo .photo-fallback .avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.ceo-caption {
  background: #fff; padding: 16px; text-align: center; border: 1px solid var(--line);
  border-top: none; border-radius: 0 0 var(--radius) var(--radius);
}
.ceo-caption strong { color: var(--navy-900); font-size: 16.5px; }
.ceo-caption span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.greeting-text h2 {
  font-size: 28px; color: var(--navy-900); letter-spacing: -0.5px;
  line-height: 1.4; margin-bottom: 26px;
}
.greeting-text h2 em { font-style: normal; color: var(--blue); }
.greeting-text p { margin-bottom: 18px; color: #3d4654; font-size: 16.5px; }
.greeting-text .sign { margin-top: 34px; font-size: 16px; color: var(--muted); }
.greeting-text .sign strong { font-size: 21px; color: var(--navy-900); margin-left: 10px; }

/* ===== 회사소개 ===== */
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td {
  border: 1px solid var(--line); padding: 15px 20px; font-size: 15.5px; text-align: left;
}
.info-table th {
  background: var(--bg-soft); color: var(--navy-900); width: 180px; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--navy);
}
.map-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.map-card h3 { color: var(--navy-900); font-size: 18px; margin-bottom: 6px; }
.map-card p { color: var(--muted); font-size: 15px; }

/* ===== 문의 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; text-align: center; transition: 0.2s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .icon { font-size: 40px; margin-bottom: 14px; }
.contact-card h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.contact-info-list { margin-top: 40px; }
.contact-info-list li {
  display: flex; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.contact-info-list li strong { min-width: 90px; color: var(--navy-900); }

/* ===== 온라인 상담 신청 폼 ===== */
.inquiry-box {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(28px, 3.4vw, 52px);
  margin: 44px 0 54px;
  box-shadow: 0 10px 34px rgba(14, 33, 40, 0.06);
}
.inquiry-title {
  font-size: clamp(26px, 2.4vw, 38px); font-weight: 600;
  letter-spacing: -0.9px; color: #10201f; margin-bottom: 12px;
}
.inquiry-desc { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 30px; max-width: 46em; }
.inquiry-box .form-group { margin-bottom: 18px; }
.inquiry-box label { display: block; font-size: 14.5px; font-weight: 700; color: #10201f; margin-bottom: 7px; }
.inquiry-box .req { color: #c0392b; }
.inquiry-box input[type="text"], .inquiry-box input[type="tel"],
.inquiry-box input[type="email"], .inquiry-box textarea, .inquiry-box select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 15.5px; font-family: inherit; background: #fff;
  transition: border-color 0.15s;
}
.inquiry-box textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.inquiry-box input:focus, .inquiry-box textarea:focus, .inquiry-box select:focus {
  outline: none; border-color: var(--green);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree-line {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14.5px; color: var(--muted); font-weight: 400 !important;
  margin: 6px 0 22px; cursor: pointer;
}
.agree-line input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); }
.inquiry-msg { font-size: 15px; margin-bottom: 16px; padding: 0; border-radius: 9px; }
.inquiry-msg.error { background: #fdecec; color: #b42318; padding: 13px 15px; }
.inquiry-msg.ok { background: #e7f2ec; color: #1c6355; padding: 13px 15px; }
#inquiry-submit { padding: 15px 34px; font-size: 16.5px; }
#inquiry-submit:disabled { opacity: 0.6; cursor: default; }

/* 관리자 — 대표 이미지 업로드 */
.field-hint { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.55; }
.img-preview { margin-top: 12px; }
.img-preview img {
  width: 100%; max-width: 340px; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: 10px; border: 1px solid var(--line);
}
.img-preview .text-link { margin-top: 10px; display: inline-block; color: #b42318; }
.pos-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pos-label { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pos-grid {
  display: grid; grid-template-columns: repeat(3, 26px);
  grid-template-rows: repeat(3, 26px); gap: 3px;
}
.pos-grid button {
  border: 1px solid var(--line); background: #fff; border-radius: 5px;
  cursor: pointer; padding: 0; transition: 0.12s;
}
.pos-grid button:hover { border-color: var(--green); }
.pos-grid button.active { background: var(--navy-900); border-color: var(--navy-900); }

/* 관리자 — 문의 목록 */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.admin-tabs button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.admin-tabs button.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.inq-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 12px;
}
.inq-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.inq-head .who { font-weight: 700; color: var(--navy-900); font-size: 16px; }
.inq-head .when { font-size: 13px; color: var(--muted); }
.inq-badge { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 11px; }
.inq-new { background: #e9e8f9; color: #4d48b5; }
.inq-contacted { background: #fff3d6; color: #8a6100; }
.inq-done { background: #e7f2ec; color: #1c6355; }
.inq-meta { font-size: 14px; color: var(--muted); margin: 8px 0 10px; }
.inq-body { font-size: 15px; color: #3d4654; white-space: pre-line; line-height: 1.7;
  background: var(--bg-soft); border-radius: 8px; padding: 13px 15px; }
.inq-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ===== 푸터 (화이트) ===== */
.site-footer {
  background: #fff; color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 96px 0 56px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr;
  gap: 48px; margin-bottom: 80px;
}
.footer-brand strong {
  display: block; font-size: clamp(30px, 2.6vw, 44px); font-weight: 600;
  letter-spacing: -1.2px; color: #0d1f1e; line-height: 1.15;
}
.footer-brand > span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer-cta { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-tagline { margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.btn-dark { background: #001d21; color: #fff; padding: 13px 22px; font-size: 15px; border-radius: 8px; }
.btn-dark:hover { background: #003238; }
.btn-gray { background: #eef0ef; color: #10201f; padding: 13px 22px; font-size: 15px; border-radius: 8px; }
.btn-gray:hover { background: #e2e6e4; }
.fcol h4 { font-size: 19px; font-weight: 600; color: #10201f; margin-bottom: 24px; }
.fcol a, .fcol p {
  display: block; color: #5a6b6a; font-size: 16px;
  margin-bottom: 15px; line-height: 1.5;
}
.fcol a:hover { color: #10201f; }
.copyright { font-size: 13px; color: #8a9694; }

/* ===== 관리자 ===== */
.admin-wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 90px; }
.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.admin-card h2 { color: var(--navy-900); margin-bottom: 20px; font-size: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px;
}
.form-group input[type="text"], .form-group input[type="email"],
.form-group input[type="password"], .form-group input[type="url"],
.form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue);
}
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.admin-msg { margin: 14px 0; font-size: 14.5px; padding: 12px 14px; border-radius: 9px; display: none; }
.admin-msg.error { display: block; background: #fdecec; color: #b42318; }
.admin-msg.ok { display: block; background: #eef7e6; color: #3f7a14; }
.admin-post-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.admin-post {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap;
}
.admin-post .title { font-weight: 700; color: var(--navy-900); }
.admin-post .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.admin-post .actions { display: flex; gap: 8px; }
.admin-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.text-link { color: var(--blue); font-weight: 600; font-size: 14px; cursor: pointer; background: none; border: none; }

/* ===== 이미지 + 텍스트 분할 섹션 ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-photo { position: relative; }
.split-photo img {
  width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover;
  box-shadow: var(--shadow);
  filter: saturate(0.85);
}
.split-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(160deg, rgba(22, 51, 107, 0.14), rgba(43, 155, 224, 0.05));
  pointer-events: none;
}
.split-photo::before {
  content: ""; position: absolute; top: -14px; left: -14px;
  width: 44%; height: 52%; border-radius: 18px;
  background: linear-gradient(135deg, rgba(125, 194, 66, 0.18), rgba(43, 155, 224, 0.18));
  z-index: -1;
}
.split-body .eyebrow {
  display: inline-block; font-size: 13.5px; font-weight: 700;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.split-body h2 { font-size: 30px; letter-spacing: -0.6px; color: var(--navy-900); margin-bottom: 14px; }
.split-body > p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.checklist li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15.5px; color: #3d4654; padding: 7px 0;
}
.checklist li::before {
  content: "✓"; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: #e9e8f9; color: #4d48b5;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ===== 사진 배너 ===== */
.photo-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 44px; box-shadow: var(--shadow);
}
.photo-banner img { width: 100%; height: 280px; object-fit: cover; }
.photo-banner .banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 29, 33, 0.85) 0%, rgba(0, 29, 33, 0.45) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 46px; color: #fff;
}
.photo-banner .banner-overlay h2 { font-size: 26px; letter-spacing: -0.5px; margin-bottom: 8px; }
.photo-banner .banner-overlay p { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; max-width: 460px; }

/* ===== 반응형 ===== */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .greeting-wrap { grid-template-columns: 1fr; }
  .ceo-photo { position: static; max-width: 360px; margin: 0 auto; }
  .hero { padding: 90px 0 80px; }
  .head-duo h2 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
  .news-cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .numbers-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .numbers-grid > * { grid-column: 1 !important; grid-row: auto !important; }
  .numbers-grid .nb-card,
  .numbers-grid .diag-card { order: 9; margin-top: 20px; max-width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .process-band-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
  .gnb {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    border-radius: 0;
    flex-direction: column; align-items: stretch; padding: 12px 16px 18px;
    display: none;
  }
  .gnb.open { display: flex; }
  .gnb a { padding: 13px 14px; border-radius: 10px; }
  .site-header.dark .gnb { border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-toggle { display: block; }

  .hero { padding: 64px 0 60px; }
  .head-duo h2 { font-size: 27px; }
  .news-cards { grid-template-columns: 1fr; }
  .news-card h3 { font-size: 19px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .arch-item:nth-child(4) { border-left: none; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 25px; }
  .page-hero h1 { font-size: 27px; }
  .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .greeting-text h2 { font-size: 23px; }
  .info-table th { width: 110px; }
  .info-table th, .info-table td { padding: 12px 14px; font-size: 14.5px; }
  .split-body h2 { font-size: 24px; }
  .photo-banner img { height: 210px; }
  .photo-banner .banner-overlay { padding: 0 24px; }
  .photo-banner .banner-overlay h2 { font-size: 21px; }
}

