/* ============================================================
   site-chrome.css — 전 페이지 공통 상단 NAV / 푸터
   about.html 디자인 기준. Bootstrap/Tailwind 어디에도 의존하지 않음.
   ============================================================ */

:root {
  --sc-accent: #0E749A;
  --sc-ink: #0f172a;
  --sc-muted: #475569;
  --sc-glass: rgba(255, 255, 255, .78);
  --sc-footer-bg: #0b1220;
  --sc-nav-h: 80px;
  --sc-max: 1280px;
}

/* ---------- 공통 컨테이너 (about의 max-w-7xl mx-auto px-4/6/8) ---------- */
.site-shell {
  max-width: var(--sc-max);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .site-shell { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .site-shell { padding: 0 32px; }
}

/* ---------- 외부 CSS 침범 차단 ----------
   테마 style.css 는 html{font-size:10px} 과 p/ul/li 같은 요소 선택자를 쓴다.
   상속에 기대면 요소 선택자에 밀리므로, 여백/장식은 여기서 한 번 초기화하고
   글자 크기는 위/아래 규칙에서 px 로 명시한다. (rem 금지) */
.site-nav p, .site-nav ul, .site-nav li, .site-nav a, .site-nav span, .site-nav button,
.site-footer p, .site-footer ul, .site-footer li, .site-footer a, .site-footer span {
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
}

/* background 초기화는 링크에만 — ul 까지 걸면 드롭다운 패널 배경이 지워진다 */
.site-nav a, .site-footer a { background: none; }

.site-nav ul,
.site-footer ul { list-style: none; }

/* 테마 style.css 는 bare `nav`(width:100%, border-bottom, z-index) 를 스타일한다.
   공용 크롬 안에서는 그 영향을 무효화한다. */
.site-nav nav,
.site-footer nav,
.site-nav header,
.site-footer header {
  position: static;
  width: auto;
  border: 0;
  margin: 0;
  padding: 0;
  z-index: auto;
  background: none;
}

.site-footer__contact li span { font-size: 14px; line-height: 1.7; }

/* ============================ NAV ============================ */
.site-nav,
.site-nav *,
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--sc-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
  transition: background .2s ease, box-shadow .2s ease;
  font-family: 'Pretendard', system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(2, 6, 23, .08);
}

.site-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--sc-nav-h);
}

/* 브랜드 */
.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-nav__brand img {
  height: 36px;
  width: auto;
  display: block;
  max-width: none;
  float: none;
}

.site-nav__brand span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--sc-ink);
  line-height: 1;
  white-space: nowrap;
}

/* 데스크톱 메뉴 */
.site-nav__menu {
  display: none;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__menu > li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--sc-muted);
  text-decoration: none;
  padding: 8px 0;
  transition: color .15s ease;
  background: none;
  text-transform: none;
  letter-spacing: -.01em;
}

.site-nav__menu > li > a:hover,
.site-nav__menu > li > a:focus {
  color: var(--sc-ink);
  text-decoration: none;
}

.site-nav__menu > li.is-current > a {
  color: var(--sc-accent);
  font-weight: 600;
}

.site-nav__caret {
  width: 16px;
  height: 16px;
  opacity: .7;
  flex: 0 0 auto;
}

/* 드롭다운 */
.site-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  min-width: 232px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(2, 6, 23, .10);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, .22), 0 2px 8px rgba(2, 6, 23, .10);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.site-nav__menu > li:hover > .site-nav__sub,
.site-nav__menu > li:focus-within > .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__sub li {
  list-style: none;
  margin: 0;
}

.site-nav__sub a {
  display: block;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #1e293b;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s ease, color .12s ease;
}

.site-nav__sub a:hover,
.site-nav__sub a:focus {
  background: #eef6fa;
  color: var(--sc-accent);
  text-decoration: none;
}

/* 모바일 토글 버튼 */
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #334155;
  cursor: pointer;
}

.site-nav__toggle:hover {
  background: #f1f5f9;
}

.site-nav__toggle svg {
  width: 24px;
  height: 24px;
}

.site-nav__toggle .sc-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .sc-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .sc-close { display: block; }

/* 모바일 패널 */
.site-nav__panel {
  display: none;
  border-top: 1px solid #f1f5f9;
  background: rgba(255, 255, 255, .97);
  padding: 8px 0 16px;
}

.site-nav__panel.is-open { display: block; }

.site-nav__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__panel a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sc-ink);
  text-decoration: none;
}

.site-nav__panel .sc-sub a {
  padding-left: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--sc-muted);
}

@media (min-width: 768px) {
  .site-nav__menu { display: flex; }
  .site-nav__toggle { display: none; }
  .site-nav__panel { display: none !important; }
}

/* 고정 네비 높이만큼 본문 밀어내기 */
.site-nav-offset { padding-top: var(--sc-nav-h); }

/* ============================ PAGE HERO ============================
   about.html 히어로와 동일한 그라데이션/타이포. Tailwind 없이 동작한다.
   테마 style.css 가 h1/p 를 태그로 잡으므로 값은 전부 명시한다. */
.page-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 112px 0 64px;
  text-align: center;
  background:
    radial-gradient(900px 400px at 15% 20%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)),
    radial-gradient(700px 380px at 85% 30%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #052f3f 0%, var(--sc-accent) 100%);
  font-family: 'Pretendard', system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

.page-hero * { box-sizing: border-box; }

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}

.page-hero__title {
  margin: 28px 0 0;
  padding: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
  text-shadow: none;
}

.page-hero__desc {
  max-width: 768px;
  margin: 24px auto 0;
  padding: 0;
  color: rgba(255, 255, 255, .95);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: 0 1px 2px rgba(2, 6, 23, .25);
}

@media (min-width: 1024px) {
  /* 세 페이지 히어로 높이를 동일하게 고정 (내용 줄 수와 무관) */
  .page-hero {
    min-height: 521px;
    padding: 152px 0 96px;
  }

  .page-hero__title { font-size: 60px; }
  .page-hero__desc { font-size: 20px; }
}

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--sc-footer-bg);
  color: #94a3b8;
  padding: 64px 0 40px;
  font-family: 'Pretendard', system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-footer__brand img {
  height: 40px;
  width: auto;
  display: block;
  max-width: none;
  float: none;
}

.site-footer__brand span {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.site-footer__tagline {
  max-width: 448px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
}

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 24px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.site-footer__contact a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer__contact a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__contact svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--sc-accent);
}

.site-footer__biz {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.site-footer__bottom {
  display: flex;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

@media (min-width: 768px) {
  .site-footer__bottom { flex-direction: row; gap: 0; }
}

.site-footer__bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: auto;
  border: 0;
  flex: 0 0 auto;
}

.site-footer__links a {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer__links a:hover {
  color: #fff;
  text-decoration: none;
}
