:root{
  --bg: #0b1220;
  --nav-bg: rgba(11, 18, 32, 0.75);
  --nav-border: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.78);
  --focus: rgba(255,255,255,0.25);
  --shadow: 0 10px 30px rgba(0,0,0,0.25);
  --radius: 14px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);

  /* 🔥 진한 네이비 그라데이션 + 빛 레이어 */
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(70,110,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 85% 35%, rgba(120,180,255,0.10), transparent 55%),
    radial-gradient(700px 500px at 40% 90%, rgba(40,160,220,0.10), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #0a1630 45%, #071426 100%),

    /* 🔹 미세한 세로 라인 */
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 60px
    ),

    /* 🔹 미세한 가로 라인 */
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 60px
    );

  background-blend-mode: normal, normal, normal, normal, overlay, overlay;
  background-attachment: fixed;
}

/* ====== NAV ====== */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}

.nav-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;

  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;

}

.brand-badge{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

/* 로고(글자 크기 느낌) */
.brand-logo{
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

nav{
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-list a{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  outline: none;


    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: -0.3px;
  font-size: 15px;
}

.nav-list a:hover{
  background: rgba(255,255,255,0.10);
  color: var(--text);
}

.nav-list a:focus-visible{
  box-shadow: 0 0 0 3px var(--focus);
  background: rgba(255,255,255,0.10);
  color: var(--text);
}

/* 모바일 메뉴 버튼 */
.menu-btn{
  display: none;
  border: 1px solid var(--nav-border);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.menu-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--focus), var(--shadow);
}

/* ====== INDEX HERO ====== */
.hero{
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;

  background-image:
    linear-gradient(180deg, rgba(11,18,32,0.35), rgba(11,18,32,0.55)),
    url("../images/main.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner{
  width: min(var(--max), calc(100% - 32px));
  padding: 28px 16px;
  text-align: center;
}

.hero-card{
  display: inline-block;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(11,18,32,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero h1{
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.hero p{
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.6;
}

/* ====== SUB PAGES ====== */
.page{
  min-height: calc(100vh - 64px);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
}

.page-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 16px 44px;
}

.page-title{
  margin: 10px 0 18px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.5px;
}

.page-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  padding: 18px;
}

.page-text{
  margin: 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.7;
  font-size: 15px;
}

/* ====== FOOTER ====== */
.site-footer{
  background: rgba(11, 18, 32, 0.95);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  color: rgba(255,255,255,0.8);
}
.footer-title{
  color: #fff;
  font-weight: 900;
  margin-bottom: 6px;
}
.footer-text{
  font-size: 14px;
  line-height: 1.6;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px){
  nav{ width: 100%; justify-content: flex-end; }
  .menu-btn{ display: inline-flex; align-items: center; gap: 8px; }

  .nav-list{
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: rgba(11,18,32,0.92);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-list a{
    width: 100%;
    justify-content: flex-start;
    padding: 12px 12px;
    border-radius: 12px;
    font-size: 15px;
  }

.nav-list a.active{
  background: rgba(255,255,255,0.14);
  color: var(--text);
}



  header[data-open="true"] .nav-list{
    display: flex;
  }
}


.times{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  table-layout: fixed; 
}

.times th, .times td{
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  width: 33.333%;
  word-break: keep-all;
}

.times thead th{
  color: #fff;
  font-weight: 800;
  background: rgba(255,255,255,0.06);
}

.times tbody tr:hover{
  background: rgba(255,255,255,0.05);
}




.map-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-bottom: 14px;
}

.map-wrap iframe{
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.info-title{
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}




.yt-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.yt-wrap iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.btn:hover{
  background: rgba(255,255,255,0.14);
}


/* 기본(PC/태블릿)에서는 줄바꿈 안 함 */
.br-mobile {
  display: none;
}

/* 모바일에서만 줄바꿈 적용 */
@media (max-width: 768px) {
  .br-mobile {
    display: block;
    height: 0;
  }
}




/* 기본(PC/태블릿)에서는 보임 */
.hide-mobile {
  display: block;
}

/* 모바일(768px 이하)에서는 숨김 */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}


.btn-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 6px;
}

.btn-row .btn{
  flex: 1 1 220px;
  justify-content: center;
}


/* 카카오 roughmap 강제 전체폭 */
.root_daum_roughmap,
.root_daum_roughmap iframe {
  width: 100% !important;
  max-width: 100% !important;
}

/* ✅ 카카오 roughmap 하단 정보(주소/전화/링크 등) 통째로 숨기기 - 강력 버전 */
.root_daum_roughmap .wrap_mapinfo,
.root_daum_roughmap .roughmap_mapinfo,
.root_daum_roughmap .mapinfo,
.root_daum_roughmap .section_mapinfo,
.root_daum_roughmap .wrap_cont,
.root_daum_roughmap .cont,
.root_daum_roughmap .wrap_info,
.root_daum_roughmap .info {
  display: none !important;
}

/* ✅ 혹시 지도 아래쪽에 텍스트가 'p, div'로 그냥 찍히는 경우까지 방어 */
.root_daum_roughmap > div:last-child {
  display: none !important;
}


.form-card{
  padding: 0 !important;
  overflow: hidden;
  border-radius: 18px;
}



/* 헤더 로고 이미지 */
.header-logo{
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* 카카오톡 플로팅 버튼 */
.kakao-float-btn{
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FEE500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kakao-float-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.kakao-float-btn:active{
  transform: translateY(0);
}
.kakao-float-tooltip{
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.kakao-float-btn:hover .kakao-float-tooltip{
  opacity: 1;
}
@media (max-width: 768px){
  .kakao-float-btn{
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .kakao-float-tooltip{ display: none; }
}