@charset "UTF-8";
/* =========================================================
   BCC 공통 스타일시트
   - index.html, 서브페이지(sub.html 등)에서 공통으로 사용
   - 페이지 전용 스타일은 각 페이지의 <style>에 별도 작성
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Mono:wght@500;600&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  /* ===== Design tokens ===== */
  --ink: #1e1c1a; /* 스튜디오 차콜 */
  --ink-soft: #57534c; /* 보조 텍스트 */
  --paper: #eceae2; /* 라이트 섹션 배경 */
  --paper-2: #f7f6f2; /* 카드 배경(더 밝음) */
  --line: #d9d6cb; /* 헤어라인 */
  --signal: #ff4433; /* 텔리라이트 레드 - 주요 CTA */
  --tungsten: #ffb648; /* 텅스텐 앰버 - 보조 강조 */
  --go: #1e9e8c; /* 스튜디오 그린틸 */
  --white: #ffffff;

  --font-display: "Bebas Neue", "Pretendard", sans-serif;
  --font-body: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===== 유틸 바 ===== */
.util-bar {
  background: #131211;
  color: #9c988e;
  font-size: 12px;
}
.util-bar .wrap {
  display: flex;
  justify-content: flex-end;
  height: 32px;
  align-items: center;
  gap: 18px;
}
.util-bar a {
  padding: 6px 0;
}
.util-bar a:hover {
  color: var(--white);
}

/* ===== 헤더 ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid #34302b;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  /*gap: 24px;*/
}
.logo-chip {
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
}

.logo-chip img {
  height: 42px;
  width: auto;
  display: block;
}

/* ===========================HEADER NAV=========================== */
.nav-row.nav-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

nav.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: 90px; /* 로고 때문에 살짝 오른쪽 이동 */
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 35px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: #d9d6cb;
  background: none;
  border: 0;
  cursor: pointer;
  transition: 0.25s;
}

.nav-item > a:hover,
.nav-item > button:hover,
.nav-item.active > a {
  color: #fff;
}

.nav-item.active > a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--signal);
}

/* 드롭다운 */
.nav-item .flyout {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);

  min-width: 160px;
  padding: 8px;

  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--signal);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.35);
  border-bottom-left-radius: 5px; /* 왼쪽 아래 */
  border-bottom-right-radius: 5px; /* 오른쪽 아래 */

  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 100;
}

.nav-item:hover .flyout,
.nav-item:focus-within .flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item .flyout a {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.nav-item .flyout a:hover,
.nav-item .flyout a.current {
  background: var(--paper);
  color: var(--signal);
}

.nav-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

@media (max-width: 820px) {
  nav.main-nav {
    display: none;
  }
}
.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.72);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rec-dot {
    animation: none !important;
  }
}

.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  padding: 8px;
}
.burger svg {
  width: 24px;
  height: 24px;
}

/* ===== 버튼 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--signal);
  color: var(--white);
}
.btn-primary:hover {
  background: #e23a2c;
}
.btn-ghost {
  border-color: #524d44;
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
}
.btn-solid-light {
  background: var(--white);
  color: var(--ink);
}
.btn-solid-light:hover {
  background: var(--tungsten);
}
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
}

/* ===== 섹션 타이틀 공통 ===== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.section-head .more {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-head .more:hover {
  color: var(--signal);
}

/* 오시는길 스트립 */
.strip {
  background: var(--ink);
  color: #c9c5b9;
  padding: 0;
}

.strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.strip strong {
  color: var(--white);
}

.strip a {
  color: var(--tungsten);
  font-weight: 700;
}
/* ===== 푸터 ===== */
footer {
  background: #131211;
  color: #8a8577;
  padding: 44px 0 30px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid #2b2822;
  padding-bottom: 26px;
  margin-bottom: 22px;
}
.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.foot-links a:hover {
  color: var(--white);
}
.foot-logo {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
}
/* ===== 페이징처리 ===== */
.tenant-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.tenant-pagination .page-prev,
.tenant-pagination .page-next,
.tenant-pagination .page-number,
.tenant-pagination .page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 38px;
    height: 38px;
    margin: 0 2px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

/* 페이지 번호 */
.tenant-pagination .page-number {
    color: #555;
    border: 1px solid #ddd;
    background: #fff;
}

/* 현재 페이지 */
.tenant-pagination .page-current {
    color: #fff;
    background: #1e9e8c;
    border: 1px solid #1e9e8c;
    font-weight: 600;
}

/* 이전 / 다음 */
.tenant-pagination .page-prev,
.tenant-pagination .page-next {
    margin: 0 8px;
    color: #555;
    border: 0;
    background: transparent;
}

/* 마우스 오버 */
.tenant-pagination .page-number:hover,
.tenant-pagination .page-prev:hover,
.tenant-pagination .page-next:hover {
    color: #1e9e8c;
}

/* 비활성 */
.tenant-pagination .disabled {
    color: #bbb;
    cursor: default;
}
/* ===== 반응형 : 헤더/내비 (모든 페이지 공통) ===== */
@media (max-width: 820px) {
 header,
  .nav-right {
    position: relative;
    z-index: 100;
  }
  nav.main-nav {
    justify-content: flex-start;   /* 세로 위쪽부터 */
    align-items: stretch;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    padding: 8px 20px 30px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 99;
  }
  nav.main-nav.open {
    transform: translateX(0);
  }
  nav.main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item > a,
  .nav-item > button {
    height: auto;
    padding: 16px 4px;
    border-bottom: 1px solid #2b2822;
    justify-content: space-between;
    width: 100%;
  }
  .nav-item.active > a::after {
    display: none;
  }
 .nav-item .flyout {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    transform: none !important;
    transition: none !important;   /* ← 핵심 */
    animation: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-item.open .flyout {
    display: block;
    transform: none !important;
    left: auto;
    }

  /* flyout 안쪽 구조도 같이 리셋 (PC에서 가로 배열이었다면) */
  .nav-item .flyout ul,
  .nav-item .flyout .flyout-inner {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .nav-item .flyout a {
    display: block;
    padding: 12px 4px;
    color: #c9c5b9;
    text-align: left;
  }
   .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    color: var(--white);   /* 헤더 배경이 어두우면 흰색 */
    font-size: 24px;
    cursor: pointer;
    position: relative;
    z-index: 100;          /* 메뉴 패널(99)보다 위 */
  }
  #burgerBtn {
    display: flex;          /* 기존에 inline-flex, block이었다면 그 값 유지 */
    align-items: center;
    justify-content: center;
  }
  .section-head h2 {
    font-size: 28px;
  }
}
