:root{
  --bg:#f8fafc;
  --bg2:#ffffff;
  --card:rgba(0,0,0,.04);
  --line:rgba(0,0,0,.10);
  --text:#1e293b;
  --muted:#64748b;
  --accent:#0ea5e9;
  --accent2:#8b5cf6;
  --shadow: 0 12px 36px rgba(0,0,0,.08);
  --radius:18px;
  --radius2:26px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, "Apple SD Gothic Neo", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(14,165,233,.08), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(139,92,246,.08), transparent 55%),
    linear-gradient(180deg, var(--bg), #ffffff 70%);
  background-attachment: fixed;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; background:#1e293b; color:#fff; border-radius:10px; z-index:30}

.header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  backdrop-filter: blur(10px);
  background: transparent;
  border-bottom:1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.header.scrolled{
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.header.hidden{
  transform: translateY(-100%);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:42px; height:42px; display:grid; place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(14,165,233,.15), rgba(139,92,246,.12));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.logo svg{width:26px; height:26px; fill:#1e293b}
.brand__text strong{display:block; font-size:15px; letter-spacing:-.2px}
.brand__text em{display:block; font-style:normal; font-size:12px; color:var(--muted)}

.nav{display:flex; gap:16px; align-items:center}
.nav a{
  font-size:14px; color:var(--muted);
  padding:8px 10px; border-radius:10px;
}
.nav a:hover{background:rgba(0,0,0,.05); color:var(--text)}

.nav__toggle{
  display:none;
  background:rgba(0,0,0,.04);
  border:1px solid var(--line);
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
}

/* ========================================
   전체 화면 모바일 내비게이션
   ======================================== */
.nav__mobile{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}
.nav__mobile.open{
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 모바일 내비 헤더 */
.nav__mobile-header{
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
}
.nav__mobile-logo{
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav__mobile-close{
  width: 44px;
  height: 44px;
  border: none;
  background-color: #f1f5f9;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav__mobile-close:hover{
  background-color: #e2e8f0;
  color: var(--text);
}

/* 모바일 내비 링크 목록 */
.nav__mobile-links{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 20px 30px 0;
  gap: 0;
  background-color: #ffffff;
}
.nav__mobile-links a{
  display: block;
  padding: 20px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  transition: color 0.2s, background-color 0.2s;
}
.nav__mobile-links a:first-child{
  border-top: 1px solid #e5e7eb;
}
.nav__mobile-links a:hover,
.nav__mobile-links a:active{
  color: var(--accent);
  background-color: #f0f9ff;
}

/* 모바일 내비 중간 여백 (버튼을 바닥으로) */
.nav__mobile-spacer{
  flex: 1 1 auto;
  min-height: 40px;
  background-color: #ffffff;
}

/* 모바일 내비 하단 신청 버튼 */
.nav__mobile-apply{
  flex: 0 0 auto;
  display: block;
  margin: 20px;
  padding: 18px 24px;
  border-radius: 16px;
  background-color: #111;
  color: #fff !important;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
  margin-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}
.nav__mobile-apply:hover{
  background-color: #333;
  transform: translateY(-2px);
}

.hero{padding:120px 0 26px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.badge{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.08);
  color:var(--muted);
  font-size:13px;
  margin:0 0 12px;
}
h1{
  margin:0 0 12px;
  font-size:40px;
  line-height:1.15;
  letter-spacing:-.8px;
}
.grad{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 14px}
.hero__meta{
  list-style:none; padding:0; margin:14px 0 0;
  display:grid; gap:8px;
  color:var(--muted);
  font-size:14px;
}
.hero__meta span{
  display:inline-block; width:46px;
  color:rgba(255,255,255,.60);
}
.hero__card{
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
  border:1px solid rgba(0,0,0,.10);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
  display:grid;
  gap:12px;
}
.stat{
  padding:12px;
  border-radius:16px;
  background:rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.06);
}
.stat strong{display:block; font-size:15px}
.stat p{margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.5}

.callout{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(14,165,233,.25);
  background: radial-gradient(500px 200px at 20% 0%, rgba(14,165,233,.10), transparent 60%),
              rgba(255,255,255,.7);
}
.callout__title{margin:0; font-weight:700}
.callout__desc{margin:8px 0 10px; color:var(--muted)}

.section{padding:42px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(241,245,249,.9), rgba(248,250,252,0));
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.04);
}
.section__head h2{
  margin:0 0 8px;
  font-size:26px;
  letter-spacing:-.4px;
}
.section__head p{margin:0 0 18px; color:var(--muted); line-height:1.7}

.cards{display:grid; gap:14px}
.cards.two{grid-template-columns:repeat(2, minmax(0,1fr))}
.cards.three{grid-template-columns:repeat(3, minmax(0,1fr))}
.card{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(0,0,0,.08);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.card h3{margin:0 0 10px; font-size:17px}
.card p{margin:0 0 10px; color:var(--muted); line-height:1.7}

.list{margin:0; padding-left:18px; color:var(--muted); line-height:1.75}
.pillrow{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.pill{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(14,165,233,.08);
  color:#1e293b;
}

.note{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.7);
  color:var(--muted);
  line-height:1.7;
}

.contact__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.kv{display:grid; gap:10px}
.kv > div{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.06);
}
.kv span{color:#64748b}
.kv a{font-weight:700; color:var(--text); text-decoration:none}
.muted{color:var(--muted)}
.small{font-size:12px}

.hr{border:0; border-top:1px solid rgba(0,0,0,.08); margin:14px 0}

.btnrow{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.8);
  color:var(--text);
  font-weight:650;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn.primary{
  border-color: rgba(14,165,233,.3);
  background: linear-gradient(90deg, rgba(14,165,233,.15), rgba(139,92,246,.12));
}
.btn.ghost{background:rgba(0,0,0,.03)}
.btn.small{padding:10px 12px; border-radius:12px; font-size:13px}

.form{display:grid; gap:12px; margin-top:10px}
label{display:grid; gap:7px; color:#1e293b; font-size:13px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(14,165,233,.6)}
.mapbox{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  border:1px dashed rgba(0,0,0,.15);
  background:rgba(0,0,0,.02);
}
.mapbox__title{margin:0 0 8px; font-weight:700}

.footer{
  padding:26px 0 34px;
  border-top:1px solid rgba(0,0,0,.08);
  background:rgba(241,245,249,.8);
}
.footer__grid{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:14px; flex-wrap:wrap;
}
.footer__brand{font-weight:800; letter-spacing:-.2px}

@media (max-width: 920px){
  h1{font-size:34px}
  .hero__grid{grid-template-columns:1fr}
  .cards.two{grid-template-columns:1fr}
  .cards.three{grid-template-columns:1fr}
  .contact__grid{grid-template-columns:1fr}
  .nav{display:none}
  .nav__toggle{display:inline-flex}
}

/* 배경을 흰색으로 강제 변경하고 글자색을 검정으로 바꿈 */
.section--white {
  background-color: #ffffff;
  color: #111111;
  padding: 80px 0;
}

/* 헤더 스타일 */
.section__head--clean {
  margin-bottom: 50px;
}
.section__head--clean .sub-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #f97316; /* 포인트 컬러 (오렌지 계열) */
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section__head--clean h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 0 0 20px 0;
}
.section__head--clean .desc-clean {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-top: 20px;
  max-width: 800px;
}

/* 3단 그리드 (상단 섹션) */
.grid-clean-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-clean {
  display: flex;
  flex-direction: column;
}
.card-clean h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #000;
}
.card-clean p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* 이미지 빈칸 (Placeholder) */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9 비율 유지 */
  background-color: #e5e7eb; /* 회색 배경 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px; /* 살짝 둥글게 */
}
.img-placeholder.big {
  aspect-ratio: 16 / 10; /* 큰 이미지는 비율 조정 */
}

/* 분할 레이아웃 (하단 섹션) */
.split-clean {
  display: grid;
  grid-template-columns: 280px 1fr; /* 왼쪽 메뉴 고정, 오른쪽 나머지 */
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

/* 왼쪽 리스트 네비게이션 */
.biz-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.biz-nav li {
  padding: 18px 0;
  font-size: 15px;
  color: #888;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s;
}
.biz-nav li:not(:last-child) {
  border-bottom: 1px solid #eee; /* 구분선 */
}
.biz-nav li.active {
  color: #000;
  font-weight: 700;
}
/* 활성화된 메뉴 옆에 긴 선 (레퍼런스 이미지 스타일) */
.biz-nav li.active .line {
  flex-grow: 1;
  height: 1px;
  background-color: #000;
  margin-left: 20px;
  display: block;
}
.biz-nav li:hover {
  color: #333;
}

/* 오른쪽 이미지 및 캡션 */
.biz-image .caption {
  font-size: 13px;
  color: #666;
  margin-top: 16px;
  line-height: 1.5;
}

/* 반응형 (모바일) */
@media (max-width: 900px) {
  .grid-clean-3 {
    grid-template-columns: 1fr; /* 모바일에서 1단 */
    gap: 40px;
  }
  .split-clean {
    grid-template-columns: 1fr; /* 모바일에서 위아래 배치 */
    gap: 30px;
  }
  .biz-nav li.active .line {
    display: none; /* 모바일에서는 선 숨김 (공간 부족) */
  }
  .section__head--clean h2 {
    font-size: 24px;
  }
}

/* 카드 스타일 재정의 (이미지가 위로 가는 형태) */
.card-ref {
  background: transparent; /* 투명 배경 */
  border: none;
  padding: 0;
}
.card-ref__body {
  padding-top: 20px;
}
.card-ref h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text);
}
.card-ref p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* 이미지 빈칸 (Light Theme) */
.img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(241, 245, 249, 0.8); /* 밝은 배경 */
  border: 1px dashed var(--line); /* 점선 테두리 */
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
}
.img-box span { opacity: 0.7; }

/* 큰 이미지 (Projects 섹션용) */
.img-box.big {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(241,245,249,0.8));
}

/* 분할 레이아웃 (좌측 리스트 / 우측 이미지) */
.split-ref {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

/* 왼쪽 단계 리스트 */
.step-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-nav li {
  font-size: 15px;
  color: var(--muted); /* 기본 회색 */
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.step-nav li:hover {
  color: var(--text);
}

/* 활성화된 항목 스타일 (레퍼런스 이미지의 긴 줄 구현) */
.step-nav li.active {
  color: var(--accent); /* 포인트 컬러(민트/블루) */
  font-weight: 700;
}
.step-nav li.active::after {
  content: "";
  display: block;
  width: 60px; /* 긴 줄 길이 */
  height: 1px;
  background-color: var(--accent);
}

/* 캡션 텍스트 */
.caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* 모바일 반응형 */
@media (max-width: 900px) {
  .split-ref {
    grid-template-columns: 1fr; /* 위아래 배치 */
    gap: 30px;
  }
  .step-nav {
    flex-direction: row; /* 모바일엔 가로 스크롤 메뉴로 변경 */
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
  .step-nav li {
    white-space: nowrap; /* 줄바꿈 방지 */
  }
  .step-nav li.active::after {
    display: none; /* 모바일 공간 부족으로 선 제거 */
  }
}

/* 탭 패널 (적용분야 섹션) */
.step-panel {
  display: none;
}
.step-panel.active {
  display: block;
}

/* 이미지 박스 내 이미지 */
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* 이미지 상단 위주로 표시 */
}

/* ========================================
   히어로 이미지 배경 스타일
   ======================================== */
.hero--image{
  min-height: 100vh;
  background: url("../resources/hero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero__overlay{
  width: 100%;
  background: rgba(255,255,255,.75);
  padding: 64px 20px;
}

.hero__content{
  max-width: 980px;
  margin: 0 auto;
  color: #1e293b;
}

.hero__badge{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(14,165,233,.12);
  margin-bottom: 14px;
  font-size: 14px;
  color: #0ea5e9;
  font-weight: 600;
}

.hero__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.btn--primary{ background:#0ea5e9; color:#fff; border-color:#0ea5e9; font-weight:700; }
.btn--ghost{ color:#1e293b; background: rgba(255,255,255,.6); border-color:rgba(0,0,0,.15); }
.btn--accent{ background:#1e293b; color:#fff; border-color:#1e293b; font-weight:800; }
.btn--kakao{ background:#FEE500; color:#191919; border-color:#FEE500; font-weight:700; }
.btn--kakao:hover{ background:#F5DC00; }

.hero__risk{
  display:block;
  margin-top: 14px;
  font-size: 12px;
  color: #64748b;
}

/* ========================================
   상단 네비게이션 신청 버튼
   ======================================== */
.nav__apply{
  margin-left: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background:#111;
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
}
.nav__apply:hover{
  background:#333;
}


/* ========================================
   하단 고정 신청 버튼 (모바일 전용)
   ======================================== */
.sticky-apply{
  display: none; /* 기본적으로 숨김 */
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  justify-content:space-between; align-items:center;
  background:#fff;
  border:1px solid #eee;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  z-index: 10;
}

@media (max-width: 920px){
  .sticky-apply{
    display: flex; /* 모바일에서만 표시 */
  }
}
.sticky-apply span{
  color:#111;
  font-weight:600;
}
.sticky-apply a{
  padding: 10px 14px;
  border-radius: 12px;
  background:#111;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.sticky-apply a:hover{
  background:#333;
}

/* ========================================
   신청 페이지 스타일
   ======================================== */
.apply{ max-width: 980px; margin: 0 auto; padding: 100px 16px 40px; }
.apply h1{ margin-bottom: 10px; }
.apply > p{ color: var(--muted); margin-bottom: 20px; }
.apply__buttons{ display:flex; gap:12px; flex-wrap:wrap; margin:18px 0; }
.apply__notice{
  background:rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:14px;
  margin: 20px 0;
}
.apply__notice strong{ display:block; margin-bottom: 10px; }
.apply__notice ul{ margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.apply hr{ border:0; border-top:1px solid rgba(0,0,0,.10); margin:20px 0; }
.apply iframe{ border-radius: 14px; margin-top: 20px; }

/* 신청 폼 스타일 */
.apply__form{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 28px;
  margin: 30px 0;
}
.apply__form h2{
  margin: 0 0 24px;
  font-size: 20px;
}
.apply__form .form-group{
  margin-bottom: 18px;
}
.apply__form label{
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}
.apply__form .required{
  color: #ff6b6b;
}
.apply__form input,
.apply__form textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.95);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.apply__form input::placeholder,
.apply__form textarea::placeholder{
  color: rgba(0,0,0,.35);
}
.apply__form input:focus,
.apply__form textarea:focus{
  border-color: var(--accent);
}
.apply__form .checkbox-group{
  margin-top: 24px;
}
.apply__form .checkbox-group label{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.apply__form .checkbox-group input[type="checkbox"]{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
.apply__form .checkbox-group span{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.apply__form button[type="submit"]{
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.apply__form button[type="submit"]:hover{
  transform: translateY(-2px);
  background: #222;
}

/* ========================================
   비상장주식 안내 모달
   ======================================== */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal{
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn{
  from{ opacity:0; transform: scale(0.95) translateY(10px); }
  to{ opacity:1; transform: scale(1) translateY(0); }
}
.modal__close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0,0,0,.05);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover{
  background: rgba(0,0,0,.1);
  color: var(--text);
}
.modal__badge{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14,165,233,.15), rgba(139,92,246,.12));
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.modal__title{
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -.3px;
  color: var(--text);
}
.modal__desc{
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.modal__desc strong{
  color: var(--accent);
}
.modal__buttons{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.modal__buttons .btn{
  flex: 1;
  min-width: 140px;
}
.modal__risk{
  display: block;
  margin-top: 18px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

/* ========================================
   유관기관 링크 버튼
   ======================================== */
.link-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.link-btn{
  display: inline-block;
  padding: 1rem 2rem;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.link-btn:hover{
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14,165,233,.25);
}

/* ========================================
   히어로 섹션 내 유관기관 링크
   ======================================== */
.hero__links{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.10);
}
.hero__links-label{
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  margin-right: 4px;
}
.hero__links a{
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.5);
  transition: all 0.2s;
}
.hero__links a:hover{
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(14,165,233,.08);
}

/* ========================================
   시공사례 캐러셀
   ======================================== */
.carousel{
  position: relative;
}
.carousel__track-wrapper{
  overflow: hidden;
  border-radius: var(--radius2);
}
.carousel__track{
  display: flex;
  transition: transform 0.4s ease;
}
.carousel__slide{
  min-width: 100%;
  aspect-ratio: 16 / 9;
}
.carousel__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius2);
}
.carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.carousel__btn--prev{
  left: 16px;
}
.carousel__btn--next{
  right: 16px;
}
.carousel__btn:hover{
  background: rgba(0,0,0,.7);
  border-color: rgba(255,255,255,.5);
}
.carousel__dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.carousel__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel__dot.active{
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 600px){
  .carousel__btn{
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .carousel__btn--prev{
    left: 10px;
  }
  .carousel__btn--next{
    right: 10px;
  }
}