@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

:root{
  --bg:#ffffff;
  --text:#111;
  --muted:#666;
  --line:rgba(0,0,0,.08);

  --primary:#0B3A8F;
  --radius:18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family:'Pretendard Variable', Pretendard, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

.container{
  width:min(1200px, calc(100% - 56px));
  margin:0 auto;
}

/* =========================
  Header (bus-ad와 동일)
========================= */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  border-bottom:1px solid transparent;
}
.header-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand img{ height:28px; width:auto; display:block; }

.gnb{
  display:flex;
  gap:28px;
  align-items:center;
  font-weight:600;
}
.gnb a{ opacity:.92; }
.gnb a:hover{ opacity:1; }
.gnb a.active{ color:var(--primary); opacity:1; }

.m-toggle{
  display:none;
  width:44px; height:44px;
  border:0;
  background:transparent;
  font-size:20px;
  border-radius:12px;
  cursor:pointer;
}

.mnav{
  display:none;
  border-top:1px solid var(--line);
  background:#fff;
}
.mnav-inner{
  padding:14px 0;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-weight:800;
}
.mnav a.active{ color:var(--primary); }
.mnav.is-open{ display:block; }

/* hero 위 투명 */
.site-header.is-hero{
  background:transparent;
  color:#fff;
}
.site-header.is-hero .gnb a{ color:#fff; }
.site-header.is-hero .gnb a.active{ color:#fff; opacity:1; }
.site-header.is-hero .m-toggle{ color:#fff; }
.site-header.is-hero .brand img{ filter: brightness(0) invert(1); }

/* 스크롤 후 흰배경 */
.site-header.is-solid{
  background:#fff;
  color:#111;
  border-bottom:1px solid var(--line);
}
.site-header.is-solid .gnb a{ color:#111; }
.site-header.is-solid .gnb a.active{ color:var(--primary); }
.site-header.is-solid .brand img{ filter:none; }

/* =========================
  Buttons (bus-ad 톤)
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:-.2px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active{ transform: scale(.98); }
.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ filter:brightness(1.05); }
.btn-ghost{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.55);
}
.btn-ghost:hover{ border-color:rgba(255,255,255,.9); }
.btn-outline{
  background:transparent;
  border-color:rgba(0,0,0,.18);
  color:#111;
}
.btn-outline:hover{ border-color:rgba(0,0,0,.35); }

/* =========================
  Hero
========================= */
.page-hero{
  position:relative;
  height:62vh;
  min-height:520px;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.36) 55%, rgba(0,0,0,.62));
}
.hero-inner{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding-top:72px;
  color:#fff;
  z-index:2;
}
.eyebrow{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:-.2px;
  opacity:.95;
}
.hero-inner h1{
  margin:0;
  font-size:clamp(30px, 3.8vw, 52px);
  letter-spacing:-.9px;
  line-height:1.15;
}
.lead{
  margin:0;
  color:rgba(255,255,255,.88);
  font-weight:650;
}
.hero-actions{
  display:flex;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}

/* =========================
  Intro (bus-ad 스타일)
========================= */
.intro{ padding:70px 0; }
.intro-grid{
  display:grid;
  grid-template-columns: 1fr 1.05fr;
  gap:34px;
  align-items:start;
}
.intro-left h2{
  margin:0 0 10px;
  font-size:34px;
  letter-spacing:-.8px;
}
.intro-left p{ margin:0 0 18px; color:#333; }
.bullets{
  list-style:none;
  padding:0; margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  font-weight:700;
}
.bullets li{ display:flex; gap:10px; align-items:flex-start; }
.bullets i{ color:var(--primary); margin-top:4px; }

.img-box{
  width:100%;
  height:360px;
  border-radius:var(--radius);
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow);
}
.mini-metrics{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.metric{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.metric .k{ color:var(--muted); font-weight:800; }
.metric .v{ font-weight:900; letter-spacing:-.2px; }

/* =========================
  Section head
========================= */
.section-head{ padding:10px 0 18px; }
.section-head h2{
  margin:0;
  font-size:34px;
  letter-spacing:-.8px;
}
.section-head p{
  margin:8px 0 0;
  color:var(--muted);
  font-weight:650;
}

/* =========================
  Tabs
========================= */
.region-tabs{
  padding:10px 0 8px;
  border-top:1px solid var(--line);
}
.tab-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.tab{
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
  opacity:.85;
}
.tab:hover{ opacity:1; border-color:rgba(0,0,0,.28); }
.tab.active{
  opacity:1;
  border-color:rgba(11,58,143,.35);
  background:rgba(11,58,143,.08);
  color:var(--primary);
}

/* =========================
  Region Content (좌 이미지 / 우 텍스트)
========================= */
.region-content{
  padding:28px 0 90px;
  border-bottom:1px solid var(--line);
}
.region-block{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:24px;
  align-items:stretch;
  padding:18px 0 26px;
  border-bottom:1px solid var(--line);
}
.rb-media{
  height:360px;
  border-radius:var(--radius);
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow);
}
.rb-kicker{
  margin:0;
  color:var(--primary);
  font-weight:950;
  letter-spacing:-.2px;
  display:flex;
  align-items:center;
  gap:8px;
}
.rb-title{
  margin:8px 0 10px;
  font-size:32px;
  letter-spacing:-.8px;
}
.rb-desc{
  margin:0 0 12px;
  color:#333;
  font-weight:650;
}
.chips{
  list-style:none;
  padding:0; margin:0 0 14px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.chips li{
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  font-size:13px;
  font-weight:800;
  color:#222;
  background:#fff;
}

/* panels */
.rb-panels{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:6px;
}
.panel{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 14px;
}
.panel h4{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-.2px;
  display:flex;
  gap:8px;
  align-items:center;
}
.panel p{
  margin:0;
  color:var(--muted);
  font-weight:650;
}

.rb-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* lower area */
.region-lower{
  padding:22px 0 0;
  display:grid;
  gap:18px;
}
.panel.wide{
  border-radius:22px;
}
.panel-head h3{
  margin:0;
  font-size:18px;
  letter-spacing:-.3px;
}
.panel-head p{
  margin:6px 0 0;
  color:var(--muted);
  font-weight:650;
  font-size:13.5px;
}

/* guide */
.guide{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.g-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.tag{
  min-width:34px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(11,58,143,.10);
  color:var(--primary);
  font-weight:950;
}
.g-item p{
  margin:0;
  color:#333;
  font-weight:650;
}

/* example */
.example{
  display:grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap:14px;
  align-items:stretch;
}
.ex-img{
  height:220px;
  border-radius:22px;
  background-size:cover;
  background-position:center;
  box-shadow: var(--shadow);
}
.ex-box{
  border:1px solid var(--line);
  border-radius:22px;
  padding:14px;
}
.ex-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:baseline;
}
.hint{ color:var(--muted); font-weight:650; font-size:12.5px; }

.ex-placeholder{
  margin-top:12px;
  height:160px;
  border-radius:18px;
  border:1px dashed rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(0,0,0,.45);
  font-weight:800;
  text-align:center;
  padding:12px;
  background-image: url(/img/map.png);
  background-repeat: no-repeat;
  background-size: cover;
}

/* bottom cta */
.bottom-cta{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.bct-left h3{
  margin:0 0 6px;
  letter-spacing:-.3px;
}
.bct-left p{
  margin:0;
  color:var(--muted);
  font-weight:650;
}

/* =========================
  Footer (bus-ad 동일)
========================= */
.site-footer{
  padding:42px 0 28px;
  border-top:1px solid var(--line);
}
.footer-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.f-logo{ height:32px; width:auto; }
.f-right p{
  margin:0 0 6px;
  color:#222;
  font-weight:650;
}
.f-right p:nth-child(n+2){
  color:var(--muted);
  font-weight:600;
}
.footer-bottom{ margin-top:26px; }
.footer-line{ height:1px; background:var(--line); margin-bottom:14px; }
.footer-links{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:650;
  font-size:13px;
}
.links a{ color:var(--muted); }
.links a:hover{ color:var(--primary); }
.sep{ margin:0 8px; opacity:.6; }

/* =========================
  Fade-up
========================= */
.fade-up{
  opacity:0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-in{
  opacity:1;
  transform: translateY(0);
}

/* =========================
  Responsive
========================= */
@media (max-width: 980px){
  .intro-grid{ grid-template-columns:1fr; }
  .img-box{ height:320px; }

  .region-block{ grid-template-columns:1fr; }
  .rb-media{ height:320px; }
  .rb-panels{ grid-template-columns:1fr; }

  .example{ grid-template-columns:1fr; }
  .ex-img{ height:240px; }
}

@media (max-width: 860px){
  .gnb{ display:none; }
  .m-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .mnav{ display:none; }
  .mnav.is-open{ display:block; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 32px); }
  .page-hero{ min-height:480px; }
}
/* 모바일 드롭다운 기본(스크롤 후 solid 상태 기준) */
.mnav{
  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
}

.mnav a{
  color:#111;
  margin-left: 3%;
}

/* ✅ 헤더가 히어로 위(투명)일 때, 드롭다운도 “투명/유리”로 */
.site-header.is-hero .mnav{
  background: rgba(0,0,0,.35);        /* 완전 투명은 가독성 떨어져서 유리톤 추천 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.18);
}

/* ✅ 투명 상태일 때 드롭다운 메뉴 글자는 흰색 */
.site-header.is-hero .mnav a{
  color:#fff;
}

/* active 상태도 흰색 기반으로 */
.site-header.is-hero .mnav a.active{
  color:#fff;
  opacity:1;
}