/* ============================================================
   INNOV Shared — Navigation & Footer
   ============================================================ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');

:root {
  --nav-dark: #133a22;
  --nav-cream: #f9f7ec;
  --nav-white: #ffffff;
  --nav-lavender: #caa9fc;
  --nav-lavender-2: #b891f9;
  --nav-mint: #dceee3;
  --nav-height: 64px;
  --nav-sans: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  --nav-script: 'Caveat', cursive;
}

body {
  padding-top: var(--nav-height);
  background: #f9f7ec;
  margin: 0;
  font-family: var(--nav-sans);
}

.brand-script {
  font-family: var(--nav-script);
  font-weight: 700;
  letter-spacing: 0;
}

/* ============================================================
   Navigation
   ============================================================ */
.innov-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 9999;
  background: #f9f7ec;
  border-bottom: 1px solid rgba(19, 58, 34, 0.08);
  font-family: var(--nav-sans);
  transition: box-shadow 0.3s;
}
/* 페이지 간 box-sizing 차이로 인한 nav 위치 흔들림 방지 */
.innov-nav,
.innov-nav *,
.innov-nav *::before,
.innov-nav *::after {
  box-sizing: border-box;
}
.innov-nav.scrolled { box-shadow: 0 4px 20px rgba(19, 58, 34, 0.08); }

.innov-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
}

.innov-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #133a22 !important;
  text-decoration: none !important;
  flex-shrink: 0;
  margin-right: 36px;
  line-height: 1;
}
.innov-nav-symbol {
  width: 32px;
  height: 32px;
  display: block;
}
.innov-nav-wordmark {
  height: 28px;
  width: auto;
  display: block;
}
/* Fallback when wordmark image is missing — shows Caveat text */
.innov-nav-logo .brand-script {
  font-size: 28px;
  color: #133a22;
  margin-top: 4px;
}

.innov-nav-menu {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
  margin: 0; padding: 0;
}
.innov-nav-menu li { margin: 0; padding: 0; }
.innov-nav-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700; /* 항상 같은 weight 유지 → 활성 시 레이아웃 흔들림 방지 */
  color: #133a22 !important;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}
.innov-nav-menu a:hover { background: rgba(19, 58, 34, 0.07); }
.innov-nav-menu a.active { background: rgba(19, 58, 34, 0.12); }

.innov-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: #133a22;
  color: #ffffff !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.innov-nav-cta:hover { background: #0d2917; transform: translateY(-1px); }

.innov-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #133a22;
  margin-left: auto;
  border-radius: 8px;
  transition: background 0.2s;
}
.innov-nav-toggle:hover { background: rgba(19, 58, 34, 0.07); }

@media (max-width: 768px) {
  .innov-nav-menu, .innov-nav-cta { display: none; }
  .innov-nav-toggle { display: flex; align-items: center; justify-content: center; }

  .innov-nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #f9f7ec;
    border-bottom: 1px solid rgba(19, 58, 34, 0.1);
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(19, 58, 34, 0.08);
  }
  .innov-nav-menu.open li { width: 100%; }
  .innov-nav-menu.open a { font-size: 15px; padding: 12px 16px; border-radius: 10px; }
  .innov-nav-menu.open ~ .innov-nav-cta { display: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.innov-footer {
  background: #0d2917;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--nav-sans);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 0;
}

.innov-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 48px;
}

.innov-footer-brand .innov-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none !important;
}
.innov-footer-brand .innov-footer-logo .innov-footer-symbol {
  width: 36px;
  height: 36px;
  display: block;
}
.innov-footer-brand .innov-footer-logo .innov-footer-wordmark {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* dark logo → white */
  opacity: 0.95;
}
.innov-footer-brand .innov-footer-logo .brand-script {
  font-family: var(--nav-script);
  font-size: 32px;
  color: #ffffff;
  margin-top: 6px;
}

.innov-footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  margin: 0 0 22px;
  line-height: 1.7;
}

.innov-footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.innov-footer-social a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}
.innov-footer-social a:hover { background: rgba(202, 169, 252, 0.25); }

.innov-footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #caa9fc;
  margin: 0 0 16px;
}

.innov-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.innov-footer-nav li {
  margin-bottom: 8px;
}
.innov-footer-nav a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s;
}
.innov-footer-nav a:hover { color: #caa9fc !important; }

.innov-footer-info p {
  margin: 0 0 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.innov-footer-info p strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

/* Mobile — allow wrap when stacked single column */
@media (max-width: 768px) {
  .innov-footer-info p { white-space: normal; font-size: 12.5px; }
}

.innov-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.innov-footer-bottom-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.innov-footer-legal {
  display: flex;
  gap: 18px;
}
.innov-footer-legal a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12.5px;
  text-decoration: none !important;
  transition: color 0.2s;
}
.innov-footer-legal a:hover { color: #ffffff !important; }
.innov-footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .innov-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px 28px;
  }
  .innov-footer-bottom-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }
  .innov-footer-legal { gap: 14px; }
}
