/* ============ SHARED DESIGN SYSTEM ============ */
:root {
  --green-50: #E8F7EE;
  --green-100: #C6ECD5;
  --green-400: #2FC46A;
  --green-500: #1DB954;
  --green-600: #14963F;
  --green-700: #0E7A33;
  --ink-900: #0F1215;
  --ink-800: #1A1F24;
  --ink-700: #2A3038;
  --ink-500: #5B6570;
  --ink-400: #8A949E;
  --ink-300: #C7CCD2;
  --ink-200: #E4E7EB;
  --ink-100: #F1F3F5;
  --bg: #F5F6F8;
  --white: #FFFFFF;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(15,18,21,.04), 0 8px 24px rgba(15,18,21,.06);
  --shadow-float: 0 20px 50px rgba(15,18,21,.12);
  --container: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--ink-200);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--green-600);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: grid; place-items: center;
  color: white; font-weight: 900; font-size: 14px;
}
.nav-links { display: flex; gap: 4px; margin-left: 24px; }
.nav-links a {
  padding: 10px 14px;
  font-size: 15px; font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  transition: background .15s, color .15s;
  position: relative;
}
.nav-links a:hover { background: var(--ink-100); color: var(--green-600); }
.nav-links a.active { color: var(--green-600); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: -2px;
  height: 2px; background: var(--green-500); border-radius: 2px;
}
.nav-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--ink-100);
  border-radius: 999px;
  width: 260px;
}
.nav-search input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 14px; color: var(--ink-900);
}
.nav-search input::placeholder { color: var(--ink-400); }
.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 8px; color: var(--ink-700);
}
.icon-btn:hover { background: var(--ink-100); }
.mobile-toggle { display: none; margin-left: auto; }

/* ============ PAGE HERO (compact banner) ============ */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--green-500) 0%, var(--green-600) 100%);
  color: white;
  overflow: hidden;
  padding: 36px 0 44px;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,.06), transparent 50%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 120px;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  opacity: .85;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.page-hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 0; line-height: 1.15;
}
.page-hero-illus {
  width: 260px; height: 140px;
  display: grid; place-items: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  transition: background .15s, transform .1s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green-500); color: white; }
.btn-primary:hover { background: var(--green-600); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink-700); border: 1px solid var(--ink-200); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-600); }
.btn-dark { background: var(--ink-900); color: white; }
.btn-dark:hover { background: var(--ink-800); }

/* ============ FOOTER ============ */
.site-footer {
  background: #0A0C0E;
  color: rgba(255,255,255,.65);
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: flex-start;
}
.footer-info .footer-brand {
  font-size: 18px; font-weight: 800;
  color: white; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.footer-links {
  display: flex; flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px; margin-bottom: 16px;
}
.footer-links a:hover { color: var(--green-400); }
.footer-meta {
  font-size: 12.5px; line-height: 1.7;
  color: rgba(255,255,255,.5);
}
.footer-cta { text-align: right; }
.footer-cta .label {
  font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 4px;
}
.footer-cta .phone {
  font-size: 32px; font-weight: 800;
  color: white; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.footer-cta .hours {
  font-size: 12px; color: rgba(255,255,255,.45);
}
.consultant {
  position: absolute;
  right: 32px; bottom: 0;
  width: 120px; height: 160px;
  display: grid; place-items: end center;
}
.consultant-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 6px, rgba(255,255,255,.02) 6px 12px);
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 12px 12px 0 0;
  display: grid; place-items: center;
  font-family: ui-monospace, monospace;
  font-size: 10px; color: rgba(255,255,255,.35);
  text-align: center; padding: 8px;
}

/* ============ COMMON PLACEHOLDER ============ */
.img-placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(15,18,21,.035) 0 8px, rgba(15,18,21,.015) 8px 16px),
    #F4F6F8;
  border: 1px dashed var(--ink-300);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: var(--ink-400);
  padding: 12px; text-align: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-search { width: 200px; }
  .nav-links { display: none; }
  .mobile-toggle { display: grid; }
  .consultant { width: 90px; height: 130px; right: 16px; }
}
@media (max-width: 720px) {
  .nav { height: 64px; gap: 12px; }
  .nav-search { display: none; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-illus { width: 160px; height: 100px; justify-self: end; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { text-align: left; }
  .consultant { display: none; }
}
