/* =========================
   공통 (common.css 에 들어갈 성격)
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
@font-face {
  font-family: "Pretendard";
  src: url("/kdc/eck/assets/fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "Pretendard",
               -apple-system,
               BlinkMacSystemFont,
               system-ui,
               "Apple SD Gothic Neo",
               "Noto Sans KR",
               sans-serif;
  background-color: #050915;
  color: #f5f5f5;
  word-break: keep-all;
  line-height: 1.4;       /* 가독성 */
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}


/* 공통 요소 */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
} 
.title { }
.subtitle { }
.desc { font-size: 14px; line-height: 1.6; }
.label { 
  color: #8ea6ff; 
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.2;
}
  input[type="checkbox"] {
  transform: scale(1.15);
  transform-origin: left center;
  accent-color: #4fffe2; /* 민트 포인트 */
    transform: scale(1.5);
    padding-right: 0;
    vertical-align: middle;
    margin-right:15px;
}

.section-hero,
.section-partner,
.section-intro,
.section-benefits,
.section-stats,
.section-courses,
.section-support,
.section-review,
.section-faq,
.section-cta {
  padding: 56px 0;
}

.content-container {
  margin-top: 24px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.card {
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2); /* 와이어프레임 느낌 */
  background: rgba(8, 16, 32, 0.9);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: #c3cbe0;
}

.img-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  width: 100%;
  height: 56px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #3b82f6, #22c1c3);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

/* 공통 헤더 */
.site-header {
  position: fixed;        /* 필요 없으면 static 으로 바꿔도 됨 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(8px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding:10px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  width: auto;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list a {
  font-size: 17px;
  color: #222222;
  text-decoration: none;
  font-weight: 600;
}

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo-title {
  font-size: 22px;
  font-weight: 700;
  color: #254288;        /* 시안 색에 맞게 조정 */
  letter-spacing: -0.02em;
  white-space: nowrap;   /* 줄바꿈 방지 */
  line-height: 50px;
}

.site-logo a {
    display:flex;
}

.site-nav-list a:hover {
  opacity: 1;
}
/* 햄버거 버튼 기본 숨김(PC) */
.gnb-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gnb-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* ✅ 열렸을 때(X 변형) */
.site-header.is-open .gnb-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .gnb-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .gnb-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 오버레이 기본 숨김 */
.gnb-overlay {
  display: none;
}
.footer-section p {
  font-size: 1rem;
  color:#797979;
  text-align: center;
  padding-left:20px;
}

/*****************하단상담버튼*****************/
.bottom-button-container {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9998;
  text-align: center;
}
.bottom-button-container p {
    margin: 7px 0 0;
    background: #000;
    border-radius: 20px;
    padding: 0 10px;
}
/* 우하단 상담 버튼 */
.consult-fab{
  padding: 10px 14px;
  cursor: pointer;
  background: url("/assets/images/bottom-call-bg.png") no-repeat center / contain;
  width:50px;
  height: 50px;
  border: 0;
}

/* 바텀시트 래퍼 */
.sheet{
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sheet.is-open{
  opacity: 1;
  pointer-events: auto;
}


/* 어두운 배경 */
.sheet-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.sheet.is-open .sheet-backdrop{ opacity: 1; }

/* 패널: 아래에서 위로 */
.sheet-panel{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  width: min(520px, 100%);
  border-radius: 18px 18px 0 0;
  padding: 12px 16px 16px;
  background: rgb(35 35 35 / 100%);
  transform: translateY(105%);
  transition: transform .28s ease;
}
.sheet.is-open .sheet-panel{ transform: translateY(0); }

/* (선택) 드래그 손잡이 */
.sheet-handle{
  width: 46px;
  height: 5px;
  border-radius: 999px;
  margin: 6px auto 10px;
  background: rgba(255,255,255,.25);
}

/* 헤더 */
.sheet-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sheet-head h3 {
  font-size: 1rem;
  color:#22c1c3;
}
.sheet-close{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #40f2df;
}

/* 내용(디자인용) */
.sheet-body{ display: grid; gap: 10px; }

.sheet-input{
  width: 100%;
  height: 46px;
  border-radius: 10px;
  padding: 0 12px;
}

.sheet-check{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.sheet-submit{
  height: 50px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  background: #40f2df;
  font-size: 1.1rem;
  font-weight: 500;
}

.sheet-tel{ text-align: center; padding-top: 4px; }


/************************************************************/


@media (max-width: 913px) {
  /* 햄버거 버튼 */
  .gnb-toggle {
    display: block;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 9999;
  }

  /* 패널: nav.site-nav.gnb */
  .site-nav.gnb {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 80px 22px 22px;
    z-index: 1001;
  }

  /* 열림 */
  .site-header.is-open .site-nav.gnb {
    transform: translateX(0);
  }

  /* 메뉴 리스트: ul.site-nav-list.gnb-list */
  .site-nav-list.gnb-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-nav-list.gnb-list a {
    font-size: 18px;
    font-weight: 700;
    color: #111;
  }

  /* 오버레이 */
  .gnb-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
  }

  .site-header.is-open .gnb-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .site-header.is-open .site-nav.gnb { transform: translateX(0) !important; }

  .site-nav.gnb .site-nav-list {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav.gnb .site-nav-list a {
    color: #111;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
  }
}

/* 반응형: 768 이하에서 네비 단순화 */
@media (max-width: 768px) {
  .site-header-inner {
    justify-content: space-between;
  }


  .section-hero {
    padding-top: 90px;
  }
.site-logo-title {
    font-size: 16px;
  }
.footer-section p {
  font-size: 0.8rem;
}
}
@media (max-width: 390px) {
  .site-logo img {
    height: 50px;
  }
  .site-logo-title {
    line-height: 43px;
  }
}

