/* ==========================================================================
   굿파트너스 기업성장연구소 — Main Stylesheet v1.0
   Brand: Navy (#13387F) · Lime (#B4DC14) · Gray (#B4B4B4)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --gp-navy:       #13387F;
  --gp-navy-dark:  #0C2457;
  --gp-navy-light: #2C5BB0;
  --gp-lime:       #B4DC14;
  --gp-lime-dark:  #97BA0C;
  --gp-lime-light: #D4F058;
  --gp-gray:       #B4B4B4;
  --gp-gray-light: #E8E8E8;

  /* Neutrals */
  --ink:          #1A1F2E;
  --ink-sub:      #4A5466;
  --ink-muted:    #7B8494;
  --bg:           #FFFFFF;
  --bg-soft:      #F7F8FB;
  --bg-softer:    #EFF2F7;
  --border:       #E2E6EE;

  /* Typography */
  --font-sans:    'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-serif:   'Georgia', 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;

  /* Radius & Shadow */
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-pill: 999px;
  --shadow-sm:  0 1px 2px rgba(19, 56, 127, 0.06);
  --shadow:     0 4px 16px rgba(19, 56, 127, 0.08);
  --shadow-lg:  0 12px 40px rgba(19, 56, 127, 0.14);

  /* Layout */
  --container:  1200px;
  --header-h:   76px;
  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Pretendard Webfont ----------
   NOTE: @import removed (render-blocking on mobile).
   Pretendard is loaded via <link rel="preconnect"> + <link rel="stylesheet">
   directly in each HTML <head>, before main.css.
   -------------------------------------- */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.section { padding: var(--space-9) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--gp-navy-dark); color: #fff; }
.grid { display: grid; gap: var(--space-5); }
.flex { display: flex; }
.center { display: flex; align-items: center; justify-content: center; }

/* ---------- Typography Utilities ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gp-navy);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.section-title .accent { color: var(--gp-navy); }
.section-title .accent-lime { color: var(--gp-lime-dark); }
.section-sub {
  font-size: 17px;
  color: var(--ink-sub);
  max-width: 680px;
  margin-bottom: var(--space-7);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--gp-navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--gp-navy-dark); box-shadow: var(--shadow-lg); }
.btn--lime {
  background: var(--gp-lime);
  color: var(--gp-navy-dark);
  box-shadow: 0 4px 16px rgba(180, 220, 20, 0.30);
}
.btn--lime:hover { background: var(--gp-lime-dark); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--gp-navy);
  border: 2px solid var(--gp-navy);
  padding: 12px 26px;
}
.btn--ghost:hover { background: var(--gp-navy); color: #fff; }
.btn--light {
  background: #fff;
  color: var(--gp-navy);
}
.btn--light:hover { background: var(--gp-navy-dark); color: #fff; }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.brand img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .brand-name {
  font-size: 15px; font-weight: 800; color: var(--gp-navy); letter-spacing: -0.01em;
}
.brand-text .brand-sub {
  font-size: 11px; color: var(--ink-muted); letter-spacing: 0.04em;
}
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-sub);
  padding: var(--space-2) 0;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gp-lime);
  transition: width var(--transition);
}
.nav a:hover, .nav a.is-active {
  color: var(--gp-navy);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--gp-navy);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--gp-navy);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

/* 데스크톱에서는 모바일 드로어 CTA 숨김 (768px↓에서만 노출) */
.mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--gp-navy) 0%, var(--gp-navy-dark) 100%);
  color: #fff;
  overflow: hidden;
  padding: var(--space-9) 0 var(--space-9);
}
.hero::before {
  content: '';
  position: absolute;
  right: -200px; top: -150px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(180, 220, 20, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: -100px; bottom: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 91, 176, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(180, 220, 20, 0.15);
  color: var(--gp-lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(180, 220, 20, 0.35);
  margin-bottom: var(--space-5);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gp-lime); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-5);
}
.hero h1 .lime { color: var(--gp-lime); }
.hero p.hero-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-7);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-7); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 540px;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats .stat-num {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700; color: var(--gp-lime); letter-spacing: -0.02em;
}
.hero-stats .stat-label {
  font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px;
}

/* Hero visual - 중앙 로고 + 4방향(상/우/하/좌) 뱃지 */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  justify-self: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,220,20,0.22) 0%, transparent 65%);
  z-index: 0;
}
.hero-visual .logo-mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  margin: -170px 0 0 -170px;   /* 중앙 정렬 */
  z-index: 1;
  border-radius: 50%;
  background: #fff;
  padding: 26px;
  box-sizing: border-box;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: float 6s ease-in-out infinite;
}
.hero-visual .logo-mark img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-visual .badge {
  position: absolute;
  z-index: 3;                 /* 로고(1) 위로 항상 보이도록 */
  background: #fff;
  color: var(--gp-navy);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
}
.hero-visual .badge .ico {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gp-lime); color: var(--gp-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
/* 4모서리 배치: 좌상 / 우상 / 우하 / 좌하 */
.hero-visual .badge--1 {
  top: 10px;    left: -10px;
  animation: floatCornerA 5s ease-in-out infinite;
}
.hero-visual .badge--2 {
  top: 10px;    right: -10px;
  animation: floatCornerB 5.5s ease-in-out infinite 0.4s;
}
.hero-visual .badge--3 {
  bottom: 10px; right: -10px;
  animation: floatCornerA 6s ease-in-out infinite 0.8s;
}
.hero-visual .badge--4 {
  bottom: 10px; left: -10px;
  animation: floatCornerB 5.5s ease-in-out infinite 1.2s;
}
@keyframes floatCornerA { 0%,100% { transform: translate(0, 0); }   50% { transform: translate(-4px, -8px); } }
@keyframes floatCornerB { 0%,100% { transform: translate(0, 0); }   50% { transform: translate(4px, -8px); } }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-5);
}
.trust-label {
  font-size: 13px; color: var(--ink-muted); font-weight: 600; letter-spacing: 0.05em;
}
.trust-items {
  display: flex; gap: var(--space-7); flex-wrap: wrap;
}
.trust-items .item {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 14px; color: var(--ink-sub); font-weight: 600;
}
.trust-items .item .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gp-lime); color: var(--gp-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}

/* ---------- Experts Section ---------- */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
/* 7인 전문가 라인업 전용 (4열 × 2행 — 1행: 경영진 4, 2행: 자격 3) */
.experts-grid--5 { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 1180px) {
  .experts-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .experts-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .experts-grid--5 { grid-template-columns: 1fr; }
}
.expert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.expert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gp-navy), var(--gp-lime));
  transform: translateY(-100%);
  transition: transform var(--transition);
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gp-navy);
}
.expert-card:hover::before { transform: translateY(0); }
.expert-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--bg-softer), #fff);
  border: 3px solid var(--gp-lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: var(--gp-navy);
  overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-role {
  display: inline-block;
  background: var(--gp-navy); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}
.expert-card h3 {
  font-size: 22px; font-weight: 800; color: var(--gp-navy);
  margin-bottom: 4px;
}
.expert-specialty {
  font-size: 14px; color: var(--gp-lime-dark); font-weight: 600;
  margin-bottom: var(--space-3);
}
.expert-bio {
  font-size: 13px; color: var(--ink-sub); line-height: 1.6;
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--border);
  margin-bottom: var(--space-4);
}
.expert-creds { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.expert-creds .chip {
  font-size: 11px; font-weight: 600; color: var(--gp-navy);
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: var(--radius-pill);
}

/* ---------- Business Section (3 pillars) ---------- */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5);
}
.pillar {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.pillar:hover { border-color: var(--gp-navy); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-head {
  background: var(--gp-navy);
  color: #fff;
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}
.pillar-head::after {
  content: '';
  position: absolute;
  right: -20px; bottom: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(180, 220, 20, 0.18);
}
.pillar-num {
  font-family: var(--font-serif);
  font-size: 40px; font-weight: 700;
  color: var(--gp-lime);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-2);
}
.pillar-head h3 {
  font-size: 26px; color: #fff; margin-bottom: 6px;
}
.pillar-sub {
  font-size: 14px; color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}
.pillar-body {
  padding: var(--space-6);
  flex: 1;
  display: flex; flex-direction: column;
}
.pillar-body ul { flex: 1; }
.pillar-body li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px; color: var(--ink-sub);
}
.pillar-body li:last-child { border-bottom: 0; }
.pillar-body li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; margin-top: 10px;
  background: var(--gp-lime); border-radius: 50%;
}
.pillar-more {
  margin-top: var(--space-4);
  font-weight: 700; color: var(--gp-navy);
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}

/* ---------- Metrics Counter ---------- */
.metrics {
  background: var(--gp-navy);
  color: #fff;
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}
.metrics::before {
  content: '';
  position: absolute;
  right: -5%; top: 50%;
  width: 400px; height: 400px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(180, 220, 20, 0.15) 0%, transparent 70%);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); position: relative; z-index: 1;
}
.metric { text-align: center; padding: var(--space-4); }
.metric-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--gp-lime);
  line-height: 1;
}
.metric-num .unit { font-size: 0.55em; color: #fff; font-family: var(--font-sans); }
.metric-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: var(--space-3);
}

/* ---------- Lecture & Practice cards ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
}
.lp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-6);
  position: relative;
}
.lp-card-header { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.lp-card .ico-circle {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gp-navy), var(--gp-navy-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.lp-card h3 { font-size: 22px; color: var(--gp-navy); }
.lp-card-desc { color: var(--ink-sub); font-size: 15px; margin-bottom: var(--space-5); }
.lp-card .lp-list { border-top: 1px dashed var(--border); padding-top: var(--space-4); }
.lp-card .lp-list .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--border);
}
.lp-card .lp-list .row:last-child { border-bottom: 0; }
.lp-card .lp-list .row strong { color: var(--gp-navy); font-weight: 700; font-size: 15px; }
.lp-card .lp-list .row .meta { font-size: 13px; color: var(--ink-muted); }
.lp-card .lp-footer { margin-top: var(--space-5); display: flex; justify-content: space-between; align-items: center; }
.lp-card .lp-footer a:not(.btn) { font-weight: 700; color: var(--gp-navy); }
/* .btn 클래스는 자체 배경/글자색 유지 (.btn--primary 등) */

/* ---------- Cases / testimonial-ish ---------- */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5);
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition);
}
.case-card:hover { border-color: var(--gp-navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.case-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gp-lime-dark);
  background: rgba(180, 220, 20, 0.15);
  padding: 4px 10px; border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}
.case-card h3 { font-size: 20px; color: var(--gp-navy); margin-bottom: var(--space-3); }
.case-card p { color: var(--ink-sub); font-size: 14px; line-height: 1.7; margin-bottom: var(--space-4); }
.case-result {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: var(--space-4); border-top: 1px dashed var(--border);
}
.case-result .big {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; color: var(--gp-navy);
  letter-spacing: -0.02em;
}
.case-result .label { font-size: 12px; color: var(--ink-muted); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gp-navy), var(--gp-navy-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(180,220,20,0.15), transparent 70%);
}
.cta-band h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: var(--space-4);
  position: relative;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: var(--space-6);
  position: relative;
}
.cta-band .actions {
  display: inline-flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center;
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0A1F45;
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; gap: var(--space-4); align-items: flex-start; }
.footer-brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer-brand h4 { font-size: 17px; color: #fff; margin-bottom: var(--space-2); }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-col h5 {
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--gp-lime); text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col ul li { padding: 4px 0; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--gp-lime); }
.footer-bottom {
  padding: var(--space-5) 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-3);
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gp-lime); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.floating-cta a {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gp-navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 20px;
  transition: transform var(--transition), background var(--transition);
  position: relative;
}
.floating-cta a:hover { transform: scale(1.08); background: var(--gp-navy-dark); }
.floating-cta a.lime { background: var(--gp-lime); color: var(--gp-navy); }
.floating-cta a.lime:hover { background: var(--gp-lime-dark); color: #fff; }
.floating-cta a .tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--gp-navy); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: var(--radius-sm);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.floating-cta a:hover .tip { opacity: 1; }

/* ---------- Page header (sub pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--gp-navy) 0%, var(--gp-navy-dark) 100%);
  color: #fff;
  padding: var(--space-9) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180,220,20,0.2), transparent 70%);
}
.page-hero .crumb {
  font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: var(--space-3);
}
.page-hero .crumb a { color: rgba(255,255,255,0.85); }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.8); max-width: 680px;
}

/* ---------- Form ---------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow);
}
.form-step {
  margin-bottom: var(--space-6);
}
.form-step-header {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.form-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gp-lime); color: var(--gp-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.form-step-title { font-size: 17px; font-weight: 700; color: var(--gp-navy); }
.option-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3);
}
.option-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-soft);
}
.option-card:hover { border-color: var(--gp-navy); }
.option-card.is-selected {
  border-color: var(--gp-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(180, 220, 20, 0.25);
}
.option-card .ico { font-size: 24px; color: var(--gp-navy); margin-bottom: 6px; }
.option-card .label { font-weight: 700; color: var(--gp-navy); font-size: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: var(--space-4);
}
.field label {
  font-size: 13px; font-weight: 700; color: var(--gp-navy);
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  /* 16px 이상 — iOS Safari 자동 줌 방지 */
  font-size: 16px;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gp-navy);
  box-shadow: 0 0 0 3px rgba(19, 56, 127, 0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-agree {
  display: flex; align-items: flex-start; gap: var(--space-2);
  font-size: 13px; color: var(--ink-sub);
  margin-bottom: var(--space-5);
}
.form-submit { width: 100%; padding: 18px; font-size: 16px; }

/* ==========================================================================
   Responsive — Mobile-first patch v1.1
   ========================================================================== */

/* ---------- ≤1024px : 태블릿 / 작은 랩탑 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { max-width: 340px; margin-top: var(--space-6); }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- ≤768px : 태블릿 세로 / 모바일 ---------- */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-8) 0; }
  .hero { padding: var(--space-7) 0 var(--space-8); }

  /* Header */
  .brand img { height: 36px; width: 36px; }
  .brand-text .brand-name { font-size: 14px; }
  .brand-text .brand-sub { display: none; }
  .nav { display: none; }
  .header-cta .btn--ghost { display: none; }
  .header-cta .btn--lime {
    padding: 10px 16px; font-size: 13px;
  }
  .nav-toggle { display: flex; }

  /* Mobile nav drawer : 링크 + CTA 버튼 모두 포함 */
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-2);
  }
  .site-header.is-open .nav a {
    /* 44px 이상 터치 타겟 확보 */
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--bg-softer);
  }
  .site-header.is-open .nav a:last-of-type { border-bottom: 0; }
  /* 드로어 하단 CTA 영역 */
  .site-header.is-open .mobile-cta {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: var(--space-3);
    padding-top: var(--space-4);
    border-top: 2px dashed var(--border);
  }
  .site-header.is-open .mobile-cta a {
    display: inline-flex; justify-content: center;
    padding: 14px 18px; font-weight: 700;
    border-radius: var(--radius-pill);
    font-size: 15px;
  }
  .site-header.is-open .mobile-cta .cta-ghost {
    border: 2px solid var(--gp-navy); color: var(--gp-navy);
  }
  .site-header.is-open .mobile-cta .cta-lime {
    background: var(--gp-lime); color: var(--gp-navy-dark);
  }

  /* Hero */
  .hero h1 br { display: none; } /* 고정 줄바꿈 제거 */
  .hero-visual { max-width: 340px; height: 340px; }
  .hero-visual::before { width: 300px; height: 300px; }
  .hero-visual .logo-mark { width: 220px; height: 220px; margin: -110px 0 0 -110px; padding: 16px; }
  .hero-visual .badge { font-size: 11px; padding: 8px 10px; }
  .hero-visual .badge .ico { width: 24px; height: 24px; font-size: 13px; }
  .hero-visual .badge--1 { top: 5px;    left: 0;     right: auto; bottom: auto; }
  .hero-visual .badge--2 { top: 5px;    right: 0;    left: auto;  bottom: auto; }
  .hero-visual .badge--3 { bottom: 5px; right: 0;    left: auto;  top: auto;    }
  .hero-visual .badge--4 { bottom: 5px; left: 0;     right: auto; top: auto;    }

  /* Experts */
  .experts-grid { grid-template-columns: 1fr; }
  .expert-card { padding: var(--space-5); }

  /* Hero stats */
  .hero-stats { grid-template-columns: 1fr; gap: var(--space-3); text-align: left; }

  /* Metrics */
  .metrics { padding: var(--space-7) 0; }
  .metric { padding: var(--space-3); }
  .metric-num { font-size: clamp(28px, 9vw, 44px); }

  /* Cases / Pillars */
  .pillar-head { padding: var(--space-5); }
  .pillar-body { padding: var(--space-5); }

  /* Forms */
  .form-wrap { padding: var(--space-5); }
  .form-submit { padding: 16px; font-size: 15px; }

  /* Floating CTA : 모바일에선 라벨 항상 노출 */
  .floating-cta { right: 14px; bottom: 14px; gap: 8px; }
  .floating-cta a {
    width: auto; height: 48px;
    padding: 0 16px 0 14px;
    border-radius: var(--radius-pill);
    gap: 8px;
  }
  .floating-cta a .tip {
    position: static; transform: none;
    opacity: 1; pointer-events: auto;
    padding: 0; background: transparent;
    color: #fff; font-size: 13px;
  }
  .floating-cta a.lime .tip { color: var(--gp-navy); }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* CTA band */
  .cta-band { padding: var(--space-7) var(--space-5); }
}

/* ---------- ≤480px : 소형 모바일 (아이폰 SE 등) ---------- */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .option-grid { grid-template-columns: 1fr; }
  .option-card { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; }
  .option-card .ico { margin-bottom: 0; font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: var(--space-4); }
  .header-cta .btn--lime { display: none; } /* 드로어 내부 CTA로 대체 */
}

/* ---------- Touch 기기 : hover가 없는 환경용 보정 ---------- */
@media (hover: none) {
  .btn:hover { transform: none; }
  .expert-card:hover, .pillar:hover, .case-card:hover,
  .lp-card:hover { transform: none; }
}

/* ---------- Animations on scroll (simple) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
