/* ===== Variables / Base ===== */
:root {
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 20px rgba(2, 6, 23, .06);
  --radius: 14px;
  /* original header */
  --menu-font: "Poppins", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --menu-weight: 700;
  --header-h: 64px;
  --brand-w: 150px;
  --menu-gap: 80px;
  --menu-offset: 230px;
  --menu-size: 18px;
  --menu-line: 1;
  --menu-pad-y: 10px;
  --submenu-font: 16px;
  --submenu-line: 1.3;
  --submenu-pad-y: 6px;
  --submenu-gap: 0px;
  --submenu-pad-x: 10px;
  --submenu-text-max: 150px;
  --submenu-text-align: center;
  --submenu-row-gap: 10px;
  --submenu-icon-gap: 8px;
  --submenu-letter: 0em;
  --submenu-weight: 600;
  --logo-size: 35px;
  --logo-long-size: 18px;
  --logo-long-size-open: 21px;
  --col-w: 200px;
  --panel-pad-top: 10px;
  --panel-pad-bottom: 150px;
  --panel-grid-shift-x: 160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto
}

.section {
  padding: 80px 0
}

.grid {
  display: grid;
  gap: 24px
}

.center {
  text-align: center
}

.overline {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px
}

.lead {
  color: var(--muted);
  margin: 8px 0 12px
}

.shadow-card {
  background: #fff;
  border: 0px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none(--shadow);
  padding: 0 0 70px;
}


/* 모든 박스 모서리 0 (이 페이지 한정) */

.no-radius,
.no-radius *::before,
.no-radius *::after,
.no-radius * {
  border-radius: 0 !important;
}


/* 원형은 유지하고 싶을 때의 예외(원형도 각지게 하려면 이 블록 삭제) */

.no-radius .pf-dots button,
/* 포트폴리오 페이지 인덱스 점 */
.no-radius .sns,
/* SNS 원형 아이콘 */
.no-radius .avatar,
.no-radius .circle,
.no-radius .round {
  border-radius: 50% !important;
}


/* (우리 코드에서 라디우스 변수를 쓰는 곳도 한 번에 0으로) */

.no-radius {
  --pf-radius: 0;
  /* 카드 등에서 사용 */
  --radius: 0;
  /* 다른 컴포넌트가 쓸 수 있는 제너릭 변수 */
}


/* 모든 박스 모서리 0 (이 페이지 한정) */


/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 16px rgba(37, 99, 235, .18)
}

.btn:hover {
  background: var(--brand-600);
  transform: translateY(-1px)
}

.btn.outline {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
  box-shadow: none
}


/* 좌우/상하 미세 이동을 변수로 (브랜드 로고)*/

.site-header {
  --brand-x: 12px;
  --brand-y: 0px;
}

.brand {
  left: var(--brand-x);
  top: calc(50% + var(--brand-y));
}


/* ===== Header (original) ===== */

.site-header {
  --bg: #ffffff;
  --fg: #0f172a;
  --fg-muted: #0f172a;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: none;/*0 18px 28px rgba(2, 6, 23, .08);*/
  transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

.site-header .nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  color: inherit;
  z-index: 2
}

.logo-text {
  margin-right: 70px;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  line-height: 1
}

.logo-text.short {
  font-weight: 900;
  font-size: var(--logo-size);
  letter-spacing: .25px;
  color: #2563eb
}

.logo-text.long {
  font-size: var(--logo-long-size);
  font-weight: 700;
  letter-spacing: .1px;
  color: var(--brand);
  display: none
}

.menu {
  list-style: none;
  display: flex;
  gap: var(--menu-gap);
  margin-left: calc(var(--brand-w) + var(--menu-offset))
}

.menu a {
  font-size: var(--menu-size);
  line-height: var(--menu-line);
  padding: var(--menu-pad-y) 10px;
  text-decoration: none;
  color: var(--fg-muted);
  font-family: var(--menu-font);
  font-weight: var(--menu-weight);
  border-radius: 10px
}

.menu a:hover {
  
  color: var(--fg);
  background: #eef2ff
}

.site-header:hover .logo-text.short,
.site-header.open .logo-text.short {
  display: none
}

.site-header:hover .logo-text.long,
.site-header.open .logo-text.long {
  display: inline;
  font-size: var(--logo-long-size-open)
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 20px;
  color: inherit
}

@media (max-width:960px) {
  .menu {
    display: none
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px
  }
}


/* dropdown */

.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(2, 6, 23, .10);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  max-height: calc(100vh - var(--header-h));
  overflow: hidden;
  transition: transform .25s ease, opacity .25s ease, max-height .25s ease;
  z-index: 999
}

.site-header.open .menu-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  max-height: calc(100vh - var(--header-h));
  overflow: auto
}

.panel-grid {
  position: relative;
  padding: var(--panel-pad-top) 0 var(--panel-pad-bottom);
  display: grid;
  grid-template-columns: var(--brand-w) repeat(5, 1fr)
}

.menu-panel .col {
  position: absolute;
  top: var(--panel-pad-top);
  left: 0;
  width: var(--col-w);
  display: none
}

#menuPanel[data-col="1"] .col[data-key="1"],
#menuPanel[data-col="2"] .col[data-key="2"],
#menuPanel[data-col="3"] .col[data-key="3"],
#menuPanel[data-col="4"] .col[data-key="4"],
#menuPanel[data-col="5"] .col[data-key="5"] {
  display: block
}

.site-header.open #menuPanel .panel-grid {
  grid-template-columns: var(--brand-w) repeat(5, var(--col-w))
}

.site-header.open #menuPanel .col {
  position: static !important;
  display: block !important;
  width: auto !important
}

#menuPanel .col a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: var(--submenu-pad-y) var(--submenu-pad-x);
  max-width: var(--submenu-text-max);
  text-align: var(--submenu-text-align);
  gap: var(--submenu-icon-gap);
  font-size: var(--submenu-font);
  line-height: var(--submenu-line);
  font-weight: var(--submenu-weight);
  color: #0f172a;
  text-decoration: none
}

#menuPanel .col a+a {
  margin-top: var(--submenu-row-gap)
}

#menuPanel .col a:hover {
  color: var(--brand)
}

.panel-grid {
  transform: translateX(var(--panel-grid-shift-x))
}


/* 상단 메뉴 hover 를 브랜드 컬러로 */

.menu a {
  color: var(--fg-muted);
  transition: color .2s ease, background .2s ease;
}


/* 기존의 연보라 배경 제거하고, 텍스트만 브랜드 색으로 */

.menu a:hover,
.menu a:focus-visible {
  color: var(--brand);
  /* 로고와 동일한 브랜드 컬러 */
  background: transparent;
  /* 필요하면 지워도 됨 */
}


/* 열려있는(활성) 메뉴에 마우스 올려도 같은 컬러 유지되게 */

.site-header.open .menu a:hover,
.site-header.open .menu a:focus-visible {
  color: var(--brand);
}


/* ===== HERO: 중앙 타이포 버전 ===== */

.kv--center {
  min-height: 64vh;
  display: grid;
  place-items: center;
  background: #0A2342;
  color: #fff;
  text-align: center
}

.kv-overline {
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85
}

.kv-title {
  font-weight: 900;
  font-family: Poppins, sans-serif;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1
}

.kv-sub {
  margin-top: 10px;
  opacity: .9
}

.kv .cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center
}


/* ===== index / 홈화면 START ===== */
/* ===== index / 홈화면 START ===== */
/* ===== index / 홈화면 START ===== */

/* ===== NEW: Video Background Hero Section ===== */

.hero-video {
    position: relative; /* 자식 요소(video, overlay, content)의 기준점 */
    width: 100%;
    height: 100vh; /* 화면 전체 높이 사용 */
    overflow: hidden; /* 동영상 튀어나오는 부분 숨기기 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* 배경이 어두워지므로 텍스트 색상을 흰색으로 변경 */
    text-align: center;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; /* 다른 콘텐츠 뒤로 보냄 */
    transform: translate(-50%, -50%); /* 중앙 정렬 */
    object-fit: cover; /* 화면을 꽉 채우도록 */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 어두운 오버레이 (투명도 조절) */
    z-index: 0; /* 동영상 위에, 텍스트 아래에 위치 */
}

.hero-content {
    position: relative; /* 오버레이 위에 올라오도록 */
    z-index: 1; /* 가장 위에 위치 */
    padding: 20px;
}

.hero-video .hero-content h1 {
    font-size: clamp(2.5rem, 1vw, 2.5rem);
    font-weight: 600;
    margin-left : 200px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-video .hero-content h1 {
    font-size: clamp(2.5rem, 1vw, 2.5rem);
    font-weight: 600;
    margin-left : -1018px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-video .hero-content p {
    font-size: clamp(2.5rem, 1vw, 2.5rem);
    font-weight: 550;
    margin-left : -985px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #2563eb;
}


.hero-content .lead {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* 초기 상태 (숨김) */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JavaScript로 .loaded 클래스 추가 시 나타나는 애니메이션 */
body.loaded .fade-in-text {
    opacity: 1;
    transform: translateY(0);
}
body.loaded .fade-in-text.delay-1 { transition-delay: 0.3s; }
body.loaded .fade-in-text.delay-2 { transition-delay: 0.6s; }


/* 미디어 쿼리: 모바일에서는 동영상 대신 배경 이미지 */
@media (max-width: 768px) {
    .background-video {
        display: none; /* 모바일에서는 동영상 숨김 */
    }
    .hero-video {
        background-image: url('assets/.jpg'); /* 대체 배경 이미지 */
        background-size: cover;
        background-position: center;
    }
}

/* team.html 페이지에만 적용되는 헤더 스타일 */
.hero-page .site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent; /* 초기 배경 투명 */
  border-bottom: none;
  box-shadow: none;
  transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

/* 스크롤 내리거나 호버했을 때의 헤더 스타일 */
.hero-page .site-header.scrolled,
.hero-page .site-header:hover {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 18px 28px rgba(2, 6, 23, .08);
}

/* 팀 히어로 섹션 */
.hero-hero {
    position: absolute; /* Header와 별도로 페이지 최상단에 배치 */
    top: 0;
    left: 0;
    width: 100%;
    height: 500px; /* 배경 이미지 섹션 높이 */
    z-index: 999; 
    overflow: hidden;
}

.hero-hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/contact5.jpg') center/cover no-repeat;
    filter: brightness(0.6);
    z-index: -10;
}


/* 텍스트 색상: 스크롤 최상단 (흰색), 스크롤/호버 (검은색) */
.hero-page .site-header:not(.scrolled):not(:hover) .menu a,
.hero-page .site-header:not(.scrolled):not(:hover) .brand .logo-text,
.hero-page .site-header:not(.scrolled):not(:hover) .menu-toggle {
    color: #e2e8f0 !important;
}
.hero-page .site-header:not(.scrolled):not(:hover) .brand .logo-text.short {
    color: #e2e8f0 !important;
}

/* ======================================================================== */
/* 스크롤 위치에 따른 텍스트/로고 색상 변경 규칙              */
/* ======================================================================== */






.hero-page .site-header.scrolled .menu a,
.hero-page .site-header.scrolled .brand .logo-text,
.hero-page .site-header.scrolled .menu-toggle,
.hero-page .site-header:hover .menu a,
.hero-page .site-header:hover .brand .logo-text,
.hero-page .site-header:hover .menu-toggle {
    color: var(--ink) !important; /* #0f172a */
}
.hero-page .site-header.scrolled .brand .logo-text.short,
.hero-page .site-header:hover .brand .logo-text.short {
    color: var(--brand) !important;
}
/* 드롭다운 메뉴 패널 스타일 (홈 페이지 전용) */
.hero-page .menu-panel {
    background-color: #ffffff !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 24px 60px rgba(2, 6, 23, .10) !important;
    z-index: 1001;
}





/* 동영상 섹션을 지나쳤을 때(.scrolled-past-hero)의 색상 규칙 */
.hero-page .site-header.scrolled-past-hero .brand .logo-text,
.hero-page .site-header.scrolled-past-hero .brand .logo-text.short {
    color: var(--brand) !important; /* 로고를 브랜드 색상으로 변경 */
}
.hero-page .site-header.scrolled-past-hero .menu a,
.hero-page .site-header.scrolled-past-hero .menu-toggle {
    color: var(--ink) !important; /* 메뉴 텍스트를 검은색으로 변경 */
}


/* ===== INDEX HERO COMPANY 현황 (텍스트) ===== */
.c1-media.kdp-kpis {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-right: 0px; /* 오른쪽 공간 확보 */
  transform: translateX(60px); /* 살짝 오른쪽으로 밀어냄 */
  transform: translateY(-20px); /* Y축 */
}

.c1 .kpi-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
}

.c1 .kpi-sub {
  color: #555;
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.c1 .kpi-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(1px, 2fr));
  align-items: start;
  padding:0 0 0px
}

.c1 .kpi {
  display: flex;
  flex-direction: column;
}

.c1 .kpi-num {
  font-family: "Poppins", "Noto Sans KR", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  color: #111;
  margin-bottom: 4px;
  line-height: 1;
}

.c1 .kpi-label {
  color: #666;
  font-size: 15px;
}
/* ===== INDEX HERO COMPANY 현황 (텍스트) ===== */






/* ===== index / 홈화면 END ===== */
/* ===== index / 홈화면 END ===== */
/* ===== index / 홈화면 END ===== */












/* ===== COMPANY START===== */
/* ===== COMPANY START===== */
/* ===== COMPANY START===== */
/* ===== COMPANY START===== */

.c1 .c1-grid {
  font-family:  "Noto Sans KR", sans-serif;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  margin-top: 22px

  
}

.c1-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px
}

.c1-feats .feat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow)
}

.c1-media img {
  max-width: 280px;
  /* 원하는 최대 너비 */
  width: 100%;
  /* 부모 영역 기준 반응형 */
  height: auto;
  /* 비율 유지 */
  object-fit: contain;
  /* 이미지 찌그러짐 방지 */
  margin: 0 auto;
  /* 가운데 정렬 */
}

#company .overline {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 600;
  /* 굵기: 400~900 */
  font-size: 28px;
  /* 크기 */
  letter-spacing: .009em;
  /* 자간(영문은 크게, 한글은 줄이세요) */
  text-transform: uppercase;
  /* 대문자 고정 해제하려면 'none' */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* 공통 리스트 스타일 */

.bullet h3 {
  margin-left: 50px;
  /* 왼쪽 여백 */
  list-style-type: disc;
  /* 기본 불릿 유지 (●) */
  padding-left: 4px;
  /* 글자와 불릿 사이 간격 */
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 500;
  /* 굵기: 400~900 */
  font-size: 20px;
  /* 크기 */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* ===== COMPANY END ===== */
/* ===== COMPANY END ===== */
/* ===== COMPANY END ===== */
/* ===== COMPANY END ===== */



/* ===== TEAM STYLES START ===== */
/* ===== TEAM STYLES START ===== */
/* ===== TEAM STYLES START ===== */

/* team.html 페이지에만 적용되는 헤더 스타일 */
.team-page .site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent; /* 초기 배경 투명 */
  border-bottom: none;
  box-shadow: none;
  transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

/* 스크롤 내리거나 호버했을 때의 헤더 스타일 */
.team-page .site-header.scrolled,
.team-page .site-header:hover {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 18px 28px rgba(2, 6, 23, .08);
}

/* 팀 히어로 섹션 */
.team-hero {
    
    position: absolute; /* Header와 별도로 페이지 최상단에 배치 */
    top: 0;
    left: 0;
    width: 100%;
    height: 500px; /* 배경 이미지 섹션 높이 */
    z-index: 999; 
    overflow: hidden;
}

.team-hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/contact5.jpg') center/cover no-repeat;
    filter: brightness(0.6);
    z-index: -10;
}


/* 텍스트 색상: 스크롤 최상단 (흰색), 스크롤/호버 (검은색) */
.team-page .site-header:not(.scrolled):not(:hover) .menu a,
.team-page .site-header:not(.scrolled):not(:hover) .brand .logo-text,
.team-page .site-header:not(.scrolled):not(:hover) .menu-toggle {
    color: #e2e8f0 !important;
}
.team-page .site-header:not(.scrolled):not(:hover) .brand .logo-text.short {
    color: #e2e8f0 !important;
}

.team-page .site-header.scrolled .menu a,
.team-page .site-header.scrolled .brand .logo-text,
.team-page .site-header.scrolled .menu-toggle,
.team-page .site-header:hover .menu a,
.team-page .site-header:hover .brand .logo-text,
.team-page .site-header:hover .menu-toggle {
    color: var(--ink) !important; /* #0f172a */
}
.team-page .site-header.scrolled .brand .logo-text.short,
.team-page .site-header:hover .brand .logo-text.short {
    color: var(--brand) !important;
}
/* 드롭다운 메뉴 패널 스타일 (팀 페이지 전용) */
.team-page .menu-panel {
    background-color: #ffffff !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 24px 60px rgba(2, 6, 23, .10) !important;
    z-index: 1001;
}


/* 히어로 콘텐츠 섹션 (텍스트) */
.team-hero-content {
    /* Header의 높이(64px)만큼 아래로 내려 Header와 겹치지 않도록 함 */
    padding-top: var(--header-h); 
    min-height: 500px; 
    position: relative; /* z-index 적용을 위해 relative 사용 */
    z-index: 100; /* 배경 이미지 위로 띄움 */
    
    /* Flexbox를 사용하여 텍스트를 수직 중앙에 배치 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.team-hero-content .container {
    /* 텍스트가 컨테이너 중앙에 오도록 justify-content와 flex 설정 */
    flex-grow: 1; 
    z-index: 101; /* z-index를 더욱 높여 강제 표시 */
    color: #fff;
}


.team-title {
    font-family: 'Poppins', 'Noto Sans KR';
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 500;
    margin-top: 150px;
    color: #fff; /* 흰색으로 강제 (선명도 확보) */
    
}
.team-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 800px;
    color: #fff;  /* 흰색으로 강제 (선명도 확보) */
}


/* team-members 섹션을 히어로 높이만큼 아래로 밀어냄 */
.team-page .team-members {
    padding: 80px 0;
    margin-top: 500px; /* 히어로 섹션 높이만큼 아래로 밀어내기 */
}

.team-page .team-sec-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
}

/* Grid 컨테이너: 4열 가로 배열 */
.team-page .member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

/* 팀원 카드와 이름을 묶는 래퍼 (Grid의 각 Cell) */
.member-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 팀원 카드 (a 태그): 직사각형, 10:13 비율 */
.team-page .member-card {
    position: relative;
    width: 100%;
    aspect-ratio: 10 / 13; 
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 0; 
    text-decoration: none;
    color: #000;
    display: block; 
}

/* 팀원 카드 이미지 */
.team-page .member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

/* 팀원 이름 스타일 (카드 아래 중앙 정렬) */
.member-name {
    margin-top: 10px;
    font-weight: 600; 
    font-size: 1.1rem;
    color: var(--ink);
    padding: 0; 
}


/* 호버 효과 */
.member-wrap:hover .member-card {
    border-color: var(--brand);
}

.member-wrap:hover .member-card img {
    filter: brightness(0.4); 
}

.member-wrap:hover .member-overlay {
    opacity: 1; 
}

.member-card .member-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
}
.member-overlay .member-role {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.member-overlay .member-desc {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== TEAM STYLES END ===== */
/* ===== TEAM STYLES END ===== *//* ===== TEAM STYLES END ===== */
/* ===== TEAM STYLES END ===== */



/* ===== TEAM - STAFF STYLES START ===== */
/* ===== TEAM - STAFF STYLES START ===== */
/* ===== TEAM - STAFF STYLES START ===== */

/* ===== Staff Detail Page Styles ===== */
.staff-profile-section {
    margin: 150px -10px 200px; /* 페이지 상하에 충분한 여백 추가 */
}

.staff-profile-grid {
   
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 50px;
    align-items: start;
    padding: 0 18%; /* 화면 좌우에 4%의 여백을 추가합니다. */
}

.staff-photo {
    /* 이 값을 조절하여 위로 이동하는 정도를 변경하세요. */
    margin-top: 10px; /* 음수(-) 값을 주면 위로 이동합니다. */
}

.staff-photo img {
    width: 100%;
    height: 230px;
    border-radius: 4px; /* 이미지 모서리 살짝 둥글게 */
    object-fit: cover;
    object-position: center 70%; /* 이미지의 살짝 아랫부분을 중심으로 표시 */
    border: 1px solid var(--border); /* ▼▼▼ 이 줄을 추가하세요 ▼▼▼ */
    
}

.staff-namecard {
    display: flex;
    align-items: baseline; /* 이름과 직책의 글자 하단 정렬 */
    gap: 12px;
    margin-bottom: 16px;
}

.staff-namecard h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.staff-namecard .title {
    font-size: 18px;
    color: var(--muted); /* 기존 CSS 변수 활용 */
}

.staff-role {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.staff-description {
    line-height: 1.7;
    margin-bottom: 40px;
    
}

.staff-history {
    position: relative; /* 가상 요소(::before)의 위치 기준점 */
    grid-column: 1 / -1;
    padding-top: 40px;
    padding-left: 330px !important;
    padding-right: 5px !important;

    /* border-top과 좌우 padding은 여기서 제거합니다. */
}



.staff-history dl {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px 30px;
    font-size: 16px;
    /* border-top은 ::before로 대체되었으므로 여기서 제거합니다. */
}

.staff-history::before {
    content: ''; /* 가상 요소에는 반드시 content 속성이 필요합니다. */
    position: absolute;
    top: 0; /* staff-history 상단에 위치 */
    left: 50%; /* 왼쪽에서 50% 지점 */
    transform: translateX( -52%); /* 자신의 너비의 50%만큼 왼쪽으로 이동하여 중앙 정렬 */

    width: 60%; /* ★★★ 이 값을 조절하여 선의 길이를 변경하세요 ★★★ */
    height: 1px; /* 선의 두께 */
    background-color: var(--border); /* 선의 색상 */
}

.staff-history dt {
    font-weight: 600;
    color: var(--muted);
}

/* dd: 오른쪽 열(직책) 스타일 */
.staff-history dd {
    margin: 0; /* 브라우저 기본 마진 제거 */
    text-align: left; /* 텍스트를 왼쪽으로 정렬 */
    writing-mode: horizontal-tb; /* 가로쓰기 모드 확실히 적용 */
}

/* 반응형: 화면이 768px보다 작아지면 세로로 쌓임 */
@media (max-width: 768px) {
    .staff-profile-grid {
        grid-template-columns: 1fr; /* 1단 레이아웃으로 변경 */
        gap: 30px;
    }
    .staff-photo {
        max-width: 200px; /* 모바일에서 사진 크기 제한 */
    }
}




/* ===== TEAM -  STAFF END ===== */
/* ===== TEAM -  STAFF END ===== */
/* ===== TEAM -  STAFF END ===== */







/* ===== BUSINESS (4 grid) ===== */
/* ===== BUSINESS (4 grid) ===== */
/* ===== BUSINESS (4 grid) ===== */
/* ===== BUSINESS (4 grid) ===== */

/* ===== NEW: Business Page Redesign (Kakao Ventures Style) ===== */

/* 페이지 기본 설정 */
.business-page {
    --kv-ink: #1e1e1e;
    --kv-gray: #888;
    --kv-bg: #f8f8f8;
    --kv-radius: 20px;
}

/* 1. Hero Section 스타일 */
.biz-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    color: var(--kv-ink);
    padding: 80px 0;
}
.biz-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}
.biz-hero-title .line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
/* 페이지 로드 시 애니메이션 활성화 */
body.loaded .biz-hero-title .line:nth-child(1) {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}
body.loaded .biz-hero-title .line:nth-child(2) {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}
.biz-hero-subtitle {
    max-width: 500px;
    margin-top: 24px;
    font-size: 1.1rem;
    color: var(--kv-gray);
}

/* 2. Business Areas (카드) 스타일 */
.biz-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.biz-card {
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: var(--kv-radius);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.biz-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.biz-card-icon {
    font-size: 2.5rem;
    color: var(--brand);
    margin-bottom: 16px;
}
.biz-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kv-ink);
    margin-bottom: 12px;
}
.biz-card-desc {
    color: var(--kv-gray);
    line-height: 1.7;
}

/* 3. Process Section 스타일 */
.biz-process {
    padding-top: 50px;
}
.process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.process-item:first-child {
    border-top: 1px solid var(--border);
}
.process-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kv-gray);
}
.process-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--kv-ink);
    grid-column: 2 / 3;
}
.process-desc {
    grid-column: 2 / 3;
    color: var(--kv-gray);
    line-height: 1.7;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .process-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .process-num, .process-title, .process-desc {
        grid-column: 1 / -1;
    }
    .process-title {
        font-size: 1.5rem;
    }
}


/* ===== BUSINESS (4 grid) ===== */
/* ===== BUSINESS (4 grid) ===== */
/* ===== BUSINESS (4 grid) ===== */


/* ===== PORTFOLIO (original marquee) ===== */
/* ===== PORTFOLIO (original marquee) ===== */
/* ===== PORTFOLIO (original marquee) ===== */

.marquee {
  --scroll-speed: 20s;
  --logo-h: 46px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 0px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 12px 0
}

.marquee .track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll var(--scroll-speed) linear infinite;
  will-change: transform
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0)
  }
  to {
    transform: translateX(-50%)
  }
}

.partner {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: calc(var(--logo-h) + 10px);
  cursor: pointer;
  transition: transform .15s ease
}

.partner img {
  height: var(--logo-h);
  width: auto
}

.partner:hover {
  transform: translateY(-1px)
}

.partner-card {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -110%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 80
}

.partner-card.show {
  opacity: 1;
  transform: translate(-50%, -114%)
}

.partner-card .card-inner {
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(2, 6, 23, .10);
  padding: 14px 16px
}

.partner-card .card-line {
  height: 4px;
  background: var(--brand);
  border-radius: 4px 4px 0 0;
  margin: -14px -16px 10px
}

.partner-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.partner-card .card-title {
  font-size: 16px;
  font-weight: 700
}

.partner-card .card-sub {
  color: var(--ink);
  opacity: .9;
  margin-top: 6px;
  font-weight: 600
}

.partner-card .card-desc {
  color: var(--muted);
  margin-top: 4px
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid var(--border);
  background: #eef2ff;
  color: #4338ca
}

.badge.sector {
  background: #f1f5f9;
  color: #475569;
  margin-top: 8px
}

#portfolio .overline {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 600;
  /* 굵기: 400~900 */
  font-size: 28px;
  /* 크기 */
  letter-spacing: .009em;
  /* 자간(영문은 크게, 한글은 줄이세요) */
  text-transform: uppercase;
  /* 대문자 고정 해제하려면 'none' */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* ===== OUR DESIGN (갤러리) ===== */

.works-grid {
  grid-template-columns: repeat(2, 1fr)
}

.wcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden
}

.wcard img {
  width: 100%;
  height: 260px;
  object-fit: cover
}

.wmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px
}

@media (max-width:960px) {
  .works-grid {
    grid-template-columns: 1fr
  }
}

#works .overline {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 600;
  /* 굵기: 400~900 */
  font-size: 28px;
  /* 크기 */
  letter-spacing: .009em;
  /* 자간(영문은 크게, 한글은 줄이세요) */
  text-transform: uppercase;
  /* 대문자 고정 해제하려면 'none' */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* ===== CTA BAND / VISION ===== */

.ctaBand {
  background: #0b1324;
  color: #e5edff;
  padding: 36px 0
}

.bandGrid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px
}

.ctaBand h3 {
  font-size: 22px;
  margin-bottom: 4px
}

.ctaBand p {
  color: #b8c5ff
}

.ctaBand .btn {
  background: #4f7cff
}

.ctaBand .btn:hover {
  background: #3f64cc
}

#vision .overline {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 600;
  /* 굵기: 400~900 */
  font-size: 28px;
  /* 크기 */
  letter-spacing: .009em;
  /* 자간(영문은 크게, 한글은 줄이세요) */
  text-transform: uppercase;
  /* 대문자 고정 해제하려면 'none' */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* ===== NEWS ===== */

.news-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  font-weight: 450;
}

.news-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  text-decoration: none
}

.news-list a:hover {
  border-color: #cbd5e1
}

.news-list time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #475569;
  font-size: 13px
}

#news .overline {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 400;
  /* 굵기: 400~900 */
  font-size: 28px;
  /* 크기 */
  letter-spacing: .009em;
  /* 자간(영문은 크게, 한글은 줄이세요) */
  text-transform: uppercase;
  /* 대문자 고정 해제하려면 'none' */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* ===== CONTACT/LOCATION ===== */

.contactGrid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: 16px
}

textarea {
  min-height: 120px;
  resize: vertical
}

label {
  font-weight: 600;
  color: var(--ink)
}

small.help {
  color: var(--muted)
}

.mapPh {
  margin-top: 10px;
  height: 220px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #64748b
}

#contact .overline {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  /* 폰트 */
  font-weight: 600;
  /* 굵기: 400~900 */
  font-size: 28px;
  /* 크기 */
  letter-spacing: .009em;
  /* 자간(영문은 크게, 한글은 줄이세요) */
  text-transform: uppercase;
  /* 대문자 고정 해제하려면 'none' */
  color: #0b0f19;
  /* 색상(브랜드 컬러 변수) */
  margin-bottom: 30px;
  /* 아래 여백 */
}


/* 오시는 길 카드 안의 지도 박스가 카드 폭에 정확히 맞도록 */

#location.shadow-card {
  /* 카드 안쪽 여백 (원하는 값으로) */
  padding: 20px 20px 24px;
  font-weight: 450;
}


/* 지도 컨테이너: 카드 여백 내에서 꽉 차되, 모서리/그림자만 */

#location .mapPh {
  width: 100%;
  height: clamp(200px, 20vw, 280px);
  /* 반응형 높이 */
  margin-top: 12px;
  border-radius: 14px;
  /* 튀어나오는 타일 잘라내기 */
  overflow: hidden;
  /* 기존 점선/테두리 제거하고 깔끔한 박스만 */
  border: none;
  /* 필요하면 1px solid rgba(2,6,23,.08) */
  box-shadow: 0 16px 36px rgba(2, 6, 23, .08);
}


/* 혹시 이미지 플레이스홀더를 잠깐 유지한다면(테스트용) */

.map-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.map-link .mapPh img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.map-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.map-link:hover .mapPh {
  filter: brightness(0.9);
  cursor: pointer;
}


/* ===== Footer ===== */
/* ===== KDP Footer  ===== */

.kdp-footer {
  font: "Poppins", "Monsterrat", system-ui, "Segoe UI", Roboto, sans-serif;
  background: #2f3135;
  color: #d9dde3;
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.kdp-footer a {
  color: #e6ebf2;
  text-decoration: none;
}

.kdp-footer a:hover {
  text-decoration: underline;
}


/* 레이아웃 */

.kdp-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1.6fr 2fr auto;
  gap: 24px;
  align-items: flex-start;
}

.kdp-foot-col {
  margin: 0 0 10px;
  font: "Poppins", "Monsterrat", system-ui, "Segoe UI", Roboto, sans-serif;
  font-weight: 450;
  letter-spacing: .06em;
  color: #aeb4be;
  text-transform: none;
  font-size: 12px;
}

.kdp-foot-col h4 {
  margin: 0 0 20px;
  font: 800 13px/1.2 "Monsterrat";
  letter-spacing: .01em;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 13px;
}

.kdp-foot-col p {
  margin: 0;
  color: #c3c8d0;
  font-size: 9px;
}

.kdp-contact {
  font: "Poppins", "Monsterrat", system-ui, "Segoe UI", Roboto, sans-serif;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #c3c8d0;
  font-size: 12px;
}

.kdp-contact li {
  margin: 4px 0;
}

.kdp-contact .k {
  display: inline-block;
  width: 2.2em;
  color: #aeb4be;
}


/* === KDP Footer 폰트 크기 컨트롤 === */


/* SNS 아이콘 (심플 원형 배지) — 필요 시 href만 채우세요 */
/*
.kdp-foot-social{ display:flex; gap:10px; align-items:center; }
.sns{ width:36px; height:36px; border-radius:50%; display:inline-flex;
      align-items:center; justify-content:center; background:#4b5563; position:relative; }
.sns:before{ content:""; width:0; height:0; border-style:solid; } /* 기본값 
.sns.yt{ background:#ff3d2e; }      .sns.yt:before{ border-width:6px 0 6px 10px; border-color:transparent transparent transparent #fff; }
.sns.fb{ background:#1877f2; }      .sns.fb:before{ content:"f"; color:#fff; font-weight:800; font-size:14px; }
.sns.blog{ background:#21c531; }    .sns.blog:before{ content:"b"; color:#fff; font-weight:800; font-size:14px; }
.sns.ig{ background:#c13584; }      .sns.ig:before{ content:"◎"; color:#fff; font-size:12px; }*/


/* 구분선 + 하단 바 */

.kdp-foot-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: 22px 0;
}

.kdp-footer-bottom {
  font: "Poppins", "Monsterrat", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.kdp-privacy {
  opacity: .9;
}

.kdp-copy {
  margin: 0;
  color: #aab1ba;
}


/* 반응형 */

@media (max-width: 980px) {
  .kdp-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .kdp-foot-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .kdp-footer-top {
    grid-template-columns: 1fr;
  }
  .kdp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}


/* ===== Responsive tweaks ===== */

@media (max-width:1100px) {
  :root {
    --menu-gap: 16px
  }
}

@media (max-width:960px) {
  .c1 .c1-grid {
    grid-template-columns: 1fr
  }
  .c1-feats {
    grid-template-columns: 1fr 1fr
  }
  .b1-grid {
    grid-template-columns: 1fr 1fr 1fr
  }
  .contactGrid {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .menu {
    display: none
  }
  .menu-toggle {
    display: inline-flex
  }
  .menu-panel {
    position: fixed;
    top: var(--header-h);
    bottom: 0;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow: auto
  }
  .panel-grid {
    grid-template-columns: 1fr
  }
  .b1-grid {
    grid-template-columns: 1fr 1fr
  }
  .c1-feats {
    grid-template-columns: 1fr
  }
}


/* Hero Title Hover 효과 */

.kv-title {
  transition: color 0.3s ease;
  /* 부드럽게 색 전환 */
}

.kv-title:hover {
  color: var(--brand);
  /* 브랜드 컬러 (#2563eb) */
  cursor: pointer;
  /* 마우스 올렸을 때 손가락 모양 */
}


/* ===== Motion (template-like) ===== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.show {
  opacity: 1;
  transform: none
}


/* Hero fade-up */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
  to {
    opacity: 1;
    transform: none
  }
}

.kv--center .kv-title {
  animation: fadeUp .7s ease .1s both
}

.kv--center .kv-sub {
  animation: fadeUp .7s ease .22s both
}

.kv--center .cta {
  animation: fadeUp .7s ease .34s both
}


/* Works gallery hover zoom */

.works .wcard img {
  transition: transform .5s ease
}

.works .wcard:hover img {
  transform: scale(1.04)
}


/* 모션 최소화 선호 접근성 */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important
  }
}


/* === KDP 로고크기 일정화 image responsive limit (Option 2: breakpoint-based) === */

@media (max-width: 960px) {
  .c1-media img {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .c1-media img {
    max-width: 180px;
  }
}


/* ===== Hero scroll-down arrow ===== */

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);

}

.scroll-down a {
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  opacity: .85;
  transition: opacity .3s, transform .3s
}

.scroll-down a:hover {
  opacity: 1;
  transform: translateY(4px)
}

.scroll-down {
  position: absolute;
  bottom: 230px;
  /* 섹션 하단에서 여백 */
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down a {
  font-size: 50px;
  /* 화살표 크기 */
  color: #808080;
  /* 흰색 (배경색에 따라 조정 가능) */
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-down a:hover {
  opacity: 6;
  transform: translateY(5px);
  /* 살짝 아래로 움직이는 효과 */
}


/* ===== Hero scroll-down arrow: idle pulse + hover brand ===== */

@keyframes kdpArrowPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px)
  }
  /* 두근- 위로 살짝 */
  100% {
    transform: translateY(0)
  }
}

.scroll-down a {
  animation: kdpArrowPulse 1s ease-in-out infinite;
  /* 기본: 계속 두근 */
  will-change: transform;
  transition: color .25s ease;
  /* 컬러 전환 */
  cursor: pointer;
}

.scroll-down a:hover {
  animation: none;
  /* HOVER 시 움직임 멈춤 */
  color: var(--brand);
  /* 브랜드 컬러(#2563eb) */
  transform: none;
  /* 위치 고정 */
}

@media (prefers-reduced-motion: reduce) {
  .scroll-down a {
    animation: none !important;
  }
}


/* ===== Detail Portfolios (cards + carousel-like) ======================== */

:root {
  --brand: var(--kdp-brand, #2563eb);
  --ink: #0f172a;
  --muted: #6b7280;
  --card: #fff;
  --line: #e5e7eb;
  --pf-gap: 32px;
  /* 카드 간격 */
  --pf-radius: 0;
  /* 카드 모서리 */
}


/* 섹션/헤더 */

.pf-section {
  padding: 20px 0;
  background: #fff;
  color: var(--ink);
}

.pf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pf-head h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: .02em;
}


/* 내비 버튼 */

.pf-nav {
  display: flex;
  gap: 10px;
}

.pf-btn {
  width: 38px;
  height: 38px;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 18px;
}

.pf-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}


/* 뷰포트/트랙 */

.pf-viewport {
  overflow: hidden;
  position: relative;
}

.pf-track {
  display: flex;
  transition: transform .4s ease;
  will-change: transform;
}


/* 한 페이지 = 뷰포트 100% / 가로 3개 고정 */

.pf-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pf-gap);
}


/* 카드 */

.pf-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--pf-radius);
  transition: border-color .2s, box-shadow .2s;
  min-height: 420px;
  /* 줄글 차이 있어도 높이 통일 */
}

.pf-card:hover,
.pf-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset;
}


/* 로고 영역 */

.pf-logo-wrap {
  height: 195px;
  /* 위/아래 여백 균형 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-logo-wrap img {
  max-height: 150px;
  /* 로고 크기(필요시 72~100px 사이 조절) */
  max-width: 160px;
  /* 가로 상한으로 과확대 방지 */
  width: auto;
  height: auto;
  object-fit: contain;
}


/*'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,'Noto Sans KR',sans-serif*/


/* 상/하단 구분선 */

.pf-div {
  border-top: 1px solid var(--line);
}


/* 내부 여백(텍스트 블록) */

.pf-badge {
  align-self: flex-start;
  margin: 18px 18px 8px;
  padding: 6px 10px;
  border-radius: 0;
  font: 1000 12px/1 "Monsterrat", system-ui, sans-serif;
  color: var(--brand);
  border: 1px solid var(--brand);
  background: rgba(37, 99, 235, .06);
}

.pf-name {
  font: 'Spoqa Han Sans', sans-serif;
  margin: 30px 30px 12px;
  font-weight: 600;
  font-size: 1.09em;
  letter-spacing: .02em;
}

.pf-tag {
  display: inline-flex;
  /* 텍스트 중앙정렬 */
  align-items: center;
  justify-content: center;
  width: 95px;
  /* 정사각형 크기 (필요 시 조절) */
  height: 35px;
  margin: 10px 30px 20px;
  font: "Poppins", "Monsterrat";
  font-size: 12px;
  color: #6366f1;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  padding: 10px 10px;
  border-radius: 0;
}

.pf-desc {
  /* 1번째 본문*/
  margin: 10px 30px 10px;
  font: 'Noto Sans KR', sans-serif;
  font-weight: 550;
}

.pf-sub {
  /* 2번째 본문*/
  margin: 5px 30px 10px;
  color: var(--muted);
  font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  font-weight: 350;
  font-size: 14px;
}


/* 페이지 인덱스(도트) */

.pf-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pf-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.pf-dots button.on {
  background: var(--brand);
  transform: scale(1.15);
}


/* ===== Manual dropdown alignment (pixel-perfect) ===== */


/* 이 클래스를 헤더에 붙이면 수동 좌표 모드가 켜집니다 */

.site-header.manual-align {
  /* 드롭다운 칼럼의 기본 너비(필요하면 조정) */
  --col-w: 280px;
  --col-h: 300px;
  /* 각 상단 메뉴 아래 칼럼의 '왼쪽 시작 좌표'를 직접 지정 (컨테이너 기준 px) */
  --col1-left: 260px;
  /* Company */
  --col2-left: 420px;
  /* Business */
  --col3-left: 600px;
  /* Portfolio */
  --col4-left: 780px;
  /* News */
  --col5-left: 920px;
  /* Contact */
}


/* 패널의 그리드/자동 위치 계산 비활성화 */

.site-header.manual-align #menuPanel .panel-grid {
  transform: none !important;
}


/* 칼럼을 '절대 좌표'로 배치해 수동 위치를 그대로 사용 */

.site-header.manual-align #menuPanel .col {
  position: absolute !important;
  top: var(--panel-pad-top);
  width: var(--col-w);
  display: none;
  /* 기본은 숨김: data-col로 제어 */
}


/* 활성 메뉴에 해당하는 칼럼만 보이게 */

.site-header.manual-align #menuPanel[data-col="1"] .col[data-key="1"] {
  display: block;
  left: var(--col1-left);
}

.site-header.manual-align #menuPanel[data-col="2"] .col[data-key="2"] {
  display: block;
  left: var(--col2-left);
}

.site-header.manual-align #menuPanel[data-col="3"] .col[data-key="3"] {
  display: block;
  left: var(--col3-left);
}

.site-header.manual-align #menuPanel[data-col="4"] .col[data-key="4"] {
  display: block;
  left: var(--col4-left);
}

.site-header.manual-align #menuPanel[data-col="5"] .col[data-key="5"] {
  display: block;
  left: var(--col5-left);
}


/* ▼ 칼럼별 하위항목 가로 이동(px) */

.site-header.manual-align {
  --col1-dx: 0px;
  --col2-dx: 0px;
  --col3-dx: 0px;
  --col4-dx: 0px;
  --col5-dx: 0px;
}


/* manual-align(절대좌표 모드)와 mega(그리드 모드) 모두에 적용 */

#menuPanel .col a {
  transform: translateX(var(--item-dx, 0px));
}

#menuPanel .col[data-key="1"] a {
  --item-dx: var(--col1-dx);
}

#menuPanel .col[data-key="2"] a {
  --item-dx: var(--col2-dx);
}

#menuPanel .col[data-key="3"] a {
  --item-dx: var(--col3-dx);
}

#menuPanel .col[data-key="4"] a {
  --item-dx: var(--col4-dx);
}

#menuPanel .col[data-key="5"] a {
  --item-dx: var(--col5-dx);
}


/* 서브메뉴 중앙 정렬(선택) */

.site-header.manual-align #menuPanel .col a {
  justify-content: center;
  max-width: none;
}


/* 모바일은 기존 로직 유지 */

@media (max-width: 960px) {
  .site-header.manual-align #menuPanel .col {
    position: static !important;
    display: block !important;
    width: auto;
  }
}


/* ===== Mega menu 메가메뉴 패널 ===== */


/* 상단 메뉴를 5등분 그리드로 */

.menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  margin-left: calc(var(--brand-w) + var(--menu-offset));
  width: calc(100% - (var(--brand-w) + var(--menu-offset)));
}


/* 패널도 동일한 칼럼 체계: (브랜드+오프셋) + 5등분 */

.panel-grid {
  display: grid;
  grid-template-columns: calc(var(--brand-w) + var(--menu-offset)) repeat(5, 1fr);
  gap: 0;
  padding: var(--panel-pad-top) 0 var(--panel-pad-bottom);
  transform: none !important;
  /* 기존 수평 쉬프트 제거 */
}


/* 패널 화이트 배경 + 얇은 그림자(박스 라인 없음) */

.menu-panel {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 24px 40px rgba(2, 6, 23, .10) !important;
}


/* 메가모드: 패널 열리면 5개 컬럼을 모두 보이게 */

.site-header.mega #menuPanel .col {
  display: block !important;
  position: static !important;
  /* 그리드에 자연 배치 */
  width: auto !important;
}


/* 각 컬럼을 해당 그리드 칼럼에 매핑 */

#menuPanel .col[data-key="1"] {
  grid-column: 2;
}

#menuPanel .col[data-key="2"] {
  grid-column: 3;
}

#menuPanel .col[data-key="3"] {
  grid-column: 4;
}

#menuPanel .col[data-key="4"] {
  grid-column: 5;
}

#menuPanel .col[data-key="5"] {
  grid-column: 6;
}


/* 항목(링크) 스타일: 검은 글자, 라인/박스 제거, 중앙정렬 */

#menuPanel .col a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  color: #0f172a;
  /* 검은 텍스트 */
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  max-width: none;
}


/* hover 시 글자색만 강조 */

#menuPanel .col a:hover {
  color: var(--brand);
}


/* 데스크톱에서만 메가메뉴 보이기, 모바일은 기존 세로 스택 유지 */

@media (max-width: 960px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
  #menuPanel .col {
    grid-column: auto;
  }
}


/* *********************** 팝업 모달 ****************************/


/* ==================== 최종 모달 스타일 ==================== */



/* *********** Company html용 *************** */


/* === ABOUT Hybrid Style === */


/* Hero */

.about-hero {
  background: #868e96;
  padding: 68px 0 90px
}

.ah-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center
}

.ah-title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.1
}

.ah-art {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 35%, #2563eb 0%, #1d4ed8 40%, #0b1324 100%);
  justify-self: end;
  box-shadow: 0 24px 40px rgba(2, 6, 23, .15)
}

.subttl {
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 10px
}

.ah-head {
  font-size: 24px;
  margin: 6px 0 10px
}


/* Philosophy visual */

.about-visual {
  position: relative;
  min-height: 56vh;
  color: #fff;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

.av-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25))
}

.av-copy {
  position: relative;
  padding: 72px 0
}

.av-copy h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 10px
}

.av-copy p {
  opacity: .92
}


/* 3 features */

.about-3 {
  grid-template-columns: repeat(3, 1fr)
}

@media (max-width:960px) {
  .ah-grid {
    grid-template-columns: 1fr
  }
  .ah-art {
    justify-self: start;
    margin-top: 12px;
    width: 220px;
    height: 220px
  }
  .about-3 {
    grid-template-columns: 1fr
  }
}


/* === COMPANY 사이트 HTML (정리본) ================================== */

/* Variables */
:root{
  --kdp-brand:#2563eb;           /* KDP 블루 */
  --kdp-brand-dark:#1e40af;
  --kdp-ink:#0f172a;             /* 본문 */
  --kdp-muted:#64748b;           /* 보조 텍스트 */
  --kdp-soft:#495057;            /* 섹션 배경 보조 */
  --kdp-maxw:1100px;
  --kdp-eyebrow1:"Noto Sans KR"; /* (유지) */
  --kdp-border:#eef2f7;
}

/* Base */
.kdp-about{ color:var(--kdp-ink) }
.kdp-about .container{
  font-family:'Poppins','Noto Sans KR',sans-serif;
  max-width:var(--kdp-maxw);
  margin:0 auto;
  padding:0;
  font-size:20px;
  color:#0f172a;
}
.kdp-about .container .h0{
  font-family:'Poppins','Noto Sans KR',sans-serif;
  font-size:70px;
  font-weight:100;
}

/* Hero */
.kdp-hero{
  /* 기존: linear-gradient(180deg, #efefef), var(--kdp-soft)
     → 불필요한 2중 배경 제거, 톤은 유지 */
  background:linear-gradient(180deg,#efefef 0%,#ffffff 100%);
  padding:72px 0 60px;
  border-top:1px solid var(--kdp-border);
}
.kdp-hero h1{
  font-family:'Poppins','Noto Sans KR',sans-serif;
  margin:20px 0 30px;
  font-weight:500;
  letter-spacing:-.02em;
  font-size:clamp(20px,3.2vw,28px);
}
.kdp-ac{
  font-family:'Poppins',sans-serif;
  color:#0f172a;
  font-size:24px;
  font-weight:300;
  letter-spacing:-.01em;
}
.kdp-hero p{ margin:0; color:var(--kdp-muted); font-size:1.05rem }

/* Badges */
.kdp-badges{ margin-top:14px; display:flex; gap:8px; flex-wrap:wrap }
.kdp-badge{
  background:#eaf1ff; color:var(--kdp-brand-dark);
  border-radius:999px; padding:6px 10px;
  font-weight:700; font-size:12px;
}

/* Sections */
.kdp-sec{
  padding:80px 0;
  border-top:1px solid var(--kdp-border);
  background:#fff;
}

/* Eyebrow (공통화) */
.kdp-eyebrow,
.kdp-eyebrow1,
.kdp-eyebrow2{
  color:var(--kdp-brand);
  font-family:'Poppins','Noto Sans KR',sans-serif;
  font-weight:600;
  font-size:35px;
  letter-spacing:.06em;
  text-transform:uppercase; /* 중복 선언 제거 */
}



/* Titles & Lead */
.kdp-title{
  color:#0f172a;
  margin:.3rem 0 1rem;
  font-weight:800;
  font-size:clamp(20px,2.2vw,28px);
}
.kdp-lead{ 
  font-family:'Noto Sans KR',sans-serif;
  color:var(--kdp-ink); font-size:1.05rem }

/* Timeline */
.kdp-timeline{
  list-style:none; margin:16px 0 0; padding:0;
  display:grid; gap:12px;
}
.kdp-timeline li{
  display:grid; grid-template-columns:120px 1fr;
  gap:16px; align-items:start;
}
.kdp-timeline time{ color:var(--kdp-brand-dark); font-weight:800 }
.kdp-timeline p{ margin:0; color:var(--kdp-ink) }
@media (max-width:900px){
  .kdp-timeline li{ grid-template-columns:90px 1fr }
}

/* ===== Hero Animation (최소 추가) =============================== */
/* ABOUT(eyebrow) 페이드업 */
.hero-eyebrow{
  opacity:0; transform:translateY(8px);
  transition:opacity .5s ease, transform .5s ease;
}
body.loaded .hero-eyebrow{
  opacity:1; transform:none; transition-delay:.05s;
}

/* 라인 슬라이드업 공통 */
.kdp-lead-anim{ overflow:hidden }
.kdp-lead-anim .line{
  display:block; transform:translateY(100%); opacity:0;
  transition:transform .8s ease, opacity .8s ease;
}

/* 히어로: 제목 → 서브 순서로 순차 등장 */
body.loaded .hero-title .line:nth-child(1){
  transform:translateY(0); opacity:1; transition-delay:.15s;
}
body.loaded .hero-title .line:nth-child(2){
  transform:translateY(0); opacity:1; transition-delay:.30s;
}
body.loaded .hero-sub .line:nth-child(1){
  transform:translateY(0); opacity:1; transition-delay:.55s;
}
body.loaded .hero-sub .line:nth-child(2){
  transform:translateY(0); opacity:1; transition-delay:.70s;
}

/* 모션 최소화 접근성 */
@media (prefers-reduced-motion:reduce){
  .hero-eyebrow{ opacity:1; transform:none; transition:none }
  .kdp-lead-anim .line{ transform:none; opacity:1; transition:none }
}



/* Pillars (vision) */

.kdp-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.kdp-pillar {
  background: #fff;
  border: 0px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.kdp-pillar h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.kdp-pillar p {
  margin: 0;
  color: var(--kdp-muted);
}

@media (max-width:900px) {
  .kdp-pillars {
    grid-template-columns: 1fr;
  }
}


/* Button (optional) */

.kdp-btn {
  appearance: none;
  border: 1px solid #dbe3f1;
  background: #fff;
  color: #111827;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.kdp-btn.primary {
  background: var(--kdp-brand);
  color: #fff;
  border-color: var(--kdp-brand);
}

.kdp-btn.primary:hover {
  filter: brightness(.96);
}


/* Soft section */

.kdp-soft {
  background: var(--kdp-soft);
}


/* 0) 회색 히어로와 동일하게 쓸 공통 변수 (필요시 색만 바꾸면 됨) */

:root {
  --hero-top-bg: #efefef;
}


/* 1) 회사소개 히어로 자체 배경을 변수로 통일 */

.kdp-hero {
  background: var(--hero-top-bg);
}


/* 기존 gradient 한 줄 교체 */


/* 2) 히어로 위에 올라간 헤더 상태(최상단 + 비호버/비오픈) */

.site-header.on-hero:not(.open):not(:hover) {
  --bg: var(--hero-top-bg);
  /* 헤더 배경 = 히어로 회색 */
  --fg: #ffffff;
  /* 헤더 안 기본 글자색 */
  --fg-muted: #f5f7ff;
  /* 메뉴 기본색(연한 흰색) */
  border-bottom-color: rgba(255, 255, 255, .18);
  box-shadow: none;
}


/* 로고 색상을 흰색으로 강제 */

.site-header.on-hero:not(.open):not(:hover) .logo-text.short,
.site-header.on-hero:not(.open):not(:hover) .logo-text.long {
  color: #fff !important;
}


/* 메뉴 컬러/호버 */

.site-header.on-hero:not(.open):not(:hover) .menu a {
  color: #fff;
}

.site-header.on-hero:not(.open):not(:hover) .menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  /* 살짝 밝아지는 느낌 */
}


/************ company 최우측 상단 로고 이미지 관련*************/

.kdp-hero {
  position: relative;
}

.hero-right {
  position: absolute;
  z-index: 100;
}

.hero-right img {
  width: clamp(220px, 20.07vw, 360px);
  height: auto;
  display: block;
}


/* (코너 프리셋 4종 (기본 오프셋: 24px) )*/

.pos-tr {
  top: var(--y, 24px);
  right: var(--x, 24px);
}


/* 오른쪽-위 */

.pos-tl {
  top: var(--y, 24px);
  left: var(--x, 24px);
}


/* 왼쪽-위 */

.pos-br {
  bottom: var(--y, 24px);
  right: var(--x, 24px);
}


/* 오른쪽-아래 */

.pos-bl {
  bottom: var(--y, 24px);
  left: var(--x, 24px);
}


/* 왼쪽-아래 */


/* 삭제하거나 이렇게 낮추세요 */

@media (max-width:640px) {
  .hero-right {
    display: none;
  }
}


/************ company 최우측 상단 로고 이미지 관련*************/


/***************** CONTACT ***************************/


/* ============ Contact (scoped to .contact-page only) ============ */

.contact-page {
  --c-blue: #2563eb;
  --c-blue-600: #1e40af;
  --c-line: #e5e7eb;
  --c-muted: #6b7280;
  font: 'Poppins', system-ui, -apple-system, "Segoe UI", "Roboto", "Noto Sans KR", sans-serif;
}


/* 글로벌 .container를 건드리지 않도록 스코프 */

.contact-page .container {
  max-width: min(1200px, 92%);
}


/* Hero */

.contact-page .c-hero {
  position: relative;
  height: 550px;
  background: url('assets/contact5.jpg') center/cover no-repeat;
}

.contact-page .c-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .18));
}

.contact-page .c-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 200px 1140px 200px;
  font-size: 24px;
}

.contact-page .c-hero h1 {
  color: #fff;
  font-weight: 900;
  letter-spacing: .05em;
  
}


/* Tabs */

.contact-page .c-tabs {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.contact-page .c-tabs ul {
  display: flex;
  gap: 34px;
  height: 60px;
  align-items: flex-end;
  list-style: none;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 980px;
}

.contact-page .c-tabs a {
  display: inline-block;
  padding-bottom: 14px;
  color: #222;
  text-decoration: none;
}

.contact-page .c-tabs li.on a {
  color: var(--c-blue);
  border-bottom: 2px solid var(--c-blue);
}


/* Intro */

.contact-page .c-intro {
  padding: 70px 0 80px;
}

.contact-page .c-intro__lead {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 6px;
  font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
}

.contact-page .c-intro__faq {
  margin: 0px 0px 10px;
  font-size: 14px;
  color: var(--c-blue-600);
  text-decoration: none;
}


/* Card/Form */

.contact-page .c-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 24px;
}

.contact-page .c-form {
  padding: 8px 0 60px;
}

.contact-page .c-sec-title1 {
  margin: 5px 0 50px;
  font-size: 26px;
  font-weight: 600;
  padding-bottom: 12px;
  /* 선과 제목 간 간격 */
  position: relative;
}

.contact-page .c-sec-title {
  margin: 150px 0 50px;
  font-size: 26px;
  font-weight: 600;
  padding-bottom: 12px;
  /* 선과 제목 간 간격 */
  position: relative;
  /* ::after 위치 기준 */
}

.contact-page .c-sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-line);
  /* #e5e7eb */
}

.contact-page .c-sec-title1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-line);
  /* #e5e7eb */
}

.contact-page .foot-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: 22px 0;
}

.contact-page .c-sec-title small {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-muted);
  margin-left: 12px;
}

.contact-page .c-sec-title1 small {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-muted);
  margin-left: 8px;
}

.contact-page .c-sec-help {
  margin: 10px 0px 20px;
  color: var(--c-muted);
  font-size: 15px;
}

.contact-page .c-sec-help-detail {
  margin: 1;
  color: var(--c-muted);
  font-size: 15px;
}


/* Grid */

.contact-page .grid {
  display: grid;
  gap: 14px;
}

.contact-page .g2 {
  grid-template-columns: 1fr 1fr;
}

.contact-page .g-full {
  grid-column: 1 / -1;
}

@media(max-width:860px) {
  .contact-page .g2 {
    grid-template-columns: 1fr;
  }
}


/* Fields */

.contact-page .f>span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 6px;
}

.contact-page .f input,
.contact-page .f textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--c-line);
  padding: 12px 12px;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.contact-page .f textarea {
  resize: vertical;
}

.contact-page .f input:focus,
.contact-page .f textarea:focus {
  border-color: var(--c-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}


/* Chips */


/* === 칩: 박스 전체 선택 스타일 === */

.contact-page .chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-page .chip {
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

.contact-page .chip input {
  /* 인풋은 화면에서 숨기되 접근성/포커스는 유지 */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
}


/* 실제 보이는 박스 */

.contact-page .chip .pill {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background: #f3f4f6;
  border: 1px solid var(--c-line);
  border-radius: 0;
  /* 각진 박스(요청사항) */
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}

.contact-page .chip:hover .pill {
  border-color: #cfd6e0;
  background: #f8fafc;
}

.contact-page .chip input:checked+.pill {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}


/* 키보드 포커스 접근성 */

.contact-page .chip input:focus-visible+.pill {
  outline: 2px solid color-mix(in srgb, var(--c-blue) 70%, #ffffff 30%);
  outline-offset: 2px;
}


/* Radios */

.contact-page .radio-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-page .r {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #111;
}

.contact-page .r input {
  width: 14px;
  height: 14px;
}


/* Actions (전역 .btn 충돌 방지 위해 범위 지정) */

.contact-page .c-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.contact-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.contact-page .btn-primary {
  background: var(--c-blue);
  color: #fff;
}

.contact-page .btn-primary:hover {
  background: #1f4de7;
}

.contact-page .msg {
  font-size: 14px;
  margin: 0;
}

.contact-page .msg.ok {
  color: #16a34a;
}

.contact-page .msg.err {
  color: #dc2626;
}


/* 접근성 */

.contact-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
  overflow: hidden;
}


/* ------------ Contact: 업로드 행 ------------ */

.contact-page .upload-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
  background: #fff;
  max-width: 760px;
  /* 폼 너비 내에서 적당히 */
}

.contact-page .upload-display {
  border: 0;
  outline: 0;
  padding: 12px 16px;
  font-size: 14px;
  color: #111;
  background: #fff;
}

.contact-page .upload-display::placeholder {
  color: #9ca3af;
}


/* 파란 업로드 버튼 */

.contact-page .upload-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 44px;
  background: var(--c-blue);
  color: #fff;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .2);
  cursor: pointer;
  font-weight: 700;
  border-radius: 0px;
}

.contact-page .upload-action:hover {
  background: #1f4de7;
}

.contact-page .upload-action:disabled {
  opacity: .7;
  cursor: default;
  filter: saturate(.7);
}


/* 진행바 */

.contact-page .upload-bar {
  display: none;
  width: 100%;
  height: 6px;
  margin-top: 10px;
  background: #eef2ff;
  border-radius: 0px;
}

.contact-page .upload-bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--c-blue);
  border-radius: 0px;
  transition: width .25s ease;
}


/* 기타 입력 박스 기본 숨김/표시 스타일 */

.contact-page .other-box {
  display: none;
  /* 기본 숨김 */
  margin-left: 4px;
  margin-top: 5px;
  /* 칩 옆에 바짝 */
}

.contact-page .other-box input {
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  min-width: 200px;
}

.contact-page .other-box input:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}


/* 줄바꿈이 좋으면 아래 두 줄을 사용 (칩 아래로 내림)
.contact-page .other-box{ display:none; width:100%; margin:6px 0 0; }
.contact-page .other-box input{ border-radius:6px; min-width:0; width:300px; }
*/


/* Contact: 모든 코너를 0으로(스코프 한정) */

.contact-page .c-card,
.contact-page .upload-row,
.contact-page .upload-display,
.contact-page .upload-action,
.contact-page .f input,
.contact-page .f textarea,
.contact-page .chip,
.contact-page .chip input,
.contact-page .other-box input,
.contact-page .btn {
  border-radius: 0 !important;
}


/************************* 협업문의 faq cta css *************************/


/* 진행바도 네모 */

.contact-page .upload-bar,
.contact-page .upload-bar i {
  border-radius: 0 !important;
}


/* 인트로: 좌 타이틀 / 우 탭바 */

.c-intro__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.c-tabbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tabbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line, #e5e7eb);
  background: #fff;
  color: #111;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  user-select: none;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
}

.tabbtn:hover {
  border-color: var(--c-blue, #2563eb);
}

.tabbtn:active {
  transform: translateY(1px);
}

.tabbtn.is-active {
  background: var(--c-blue, #2563eb);
  border-color: var(--c-blue, #2563eb);
  color: #fff;
}











/* ===== NEW: Video Background Hero Section ===== */

.hero-video {
    position: relative; /* 자식 요소(video, overlay, content)의 기준점 */
    width: 100%;
    height: 100vh; /* 화면 전체 높이 사용 */
    overflow: hidden; /* 동영상 튀어나오는 부분 숨기기 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* 배경이 어두워지므로 텍스트 색상을 흰색으로 변경 */
    text-align: center;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; /* 다른 콘텐츠 뒤로 보냄 */
    transform: translate(-50%, -50%); /* 중앙 정렬 */
    object-fit: cover; /* 화면을 꽉 채우도록 */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 어두운 오버레이 (투명도 조절) */
    z-index: 0; /* 동영상 위에, 텍스트 아래에 위치 */
}

.hero-content {
    position: relative; /* 오버레이 위에 올라오도록 */
    z-index: 1; /* 가장 위에 위치 */
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* 초기 상태 (숨김) */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JavaScript로 .loaded 클래스 추가 시 나타나는 애니메이션 */
body.loaded .fade-in-text {
    opacity: 1;
    transform: translateY(0);
}
body.loaded .fade-in-text.delay-1 { transition-delay: 0.3s; }
body.loaded .fade-in-text.delay-2 { transition-delay: 0.6s; }


/* 미디어 쿼리: 모바일에서는 동영상 대신 배경 이미지 */
@media (max-width: 768px) {
    .background-video {
        display: none; /* 모바일에서는 동영상 숨김 */
    }
    .hero-video {
        background-image: url('assets/hero-mobile-fallback.jpg'); /* 대체 배경 이미지 */
        background-size: cover;
        background-position: center;
    }
}



