@import url("font.css");

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "NanumSquare", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #111;
  background: #111;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
li {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Color Variables ===== */
:root {
  --point: #0000b8;
  --white: #ffffff;
  --sidebar-w: 110px;
}

/* ===========================================================
   LEFT FIXED SIDEBAR (Header)
=========================================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease;
}
/* 스크롤 내리면(히어로 벗어나면) 사이드바 어둡게 */
body.scrolled .sidebar {
  background: #0d0d0d;
  border-right-color: rgba(255, 255, 255, 0.1);
}

/* 햄버거 버튼 */
.hamburger {
  width: 38px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #fff;
  transition: 0.35s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(13.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-13.5px) rotate(-45deg);
}

/* 로고 (세로 정중앙) */
.sidebar__logo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 240px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar__logo img {
  width: 210px; /* 회전 전 가로 크기 */
  height: auto;
  transform: rotate(-90deg);
  filter: brightness(0) invert(1); /* 흰색으로 */
  -webkit-filter: brightness(0) invert(1);
}

/* 하단 세로 카피 */
.sidebar__vtext {
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================================================
   FULLSCREEN SLIDE MENU
=========================================================== */
.navmenu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: var(--point);
  color: var(--white);
  z-index: 90;
  transform: translateX(-100%); /* 화면 완전 밖 */
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  overflow: hidden;
}
.navmenu.open {
  transform: translateX(0); /* 화면 전체 채움 */
}
.navmenu__inner {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 5vh 8vw 4vh calc(var(--sidebar-w) + 70px);
}

/* 로고 (상단) */
.navmenu__logo {
  display: inline-block;
  width: max-content;
}
.navmenu__logo img {
  width: 170px;
  height: auto;
  filter: brightness(0) invert(1); /* 흰색 */
  -webkit-filter: brightness(0) invert(1);
}

/* 메뉴 (로고 밑) */
.navmenu__list {
  margin-top: 5vh;
}
.navmenu__list li {
  margin: 18px 0;
}
.navmenu__list a {
  display: inline-block;
  font-family: "SUIT", sans-serif;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #fff;
  transition: padding-left 0.25s, opacity 0.25s;
}
.navmenu__list a:hover {
  opacity: 0.7;
  padding-left: 16px;
}

/* 하단: SNS + 연락처 + 카피라이트 (우측 하단) */
.navmenu__footer {
  margin-top: auto;
  padding-top: 4vh;
  align-self: flex-end;
  text-align: right;
}
.navmenu__sns {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 24px;
}
.navmenu__sns a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition: 0.25s;
}
.navmenu__sns a:hover {
  background: #fff;
  color: var(--point);
  border-color: #fff;
}
.navmenu__contact p {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.85);
}
.navmenu__contact span {
  display: inline-block;
  width: 18px;
  font-weight: 800;
  color: #fff;
}
.navmenu__copy {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* dim overlay */
.dim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 80;
}
.dim.show {
  opacity: 1;
  visibility: visible;
}

/* ===========================================================
   MAIN VISUAL
=========================================================== */
.main {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  height: 100vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* 배경 영상: 화면 전체(사이드바 뒤까지) */
.main__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #111;
  overflow: hidden;
  transform: scale(1.05);
  animation: zoomout 6s ease forwards;
}
.main__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@keyframes zoomout {
  to {
    transform: scale(1);
  }
}
/* 검은 오버레이 */
.main__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.48) 50%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    rgba(0, 0, 0, 0.18);
}
/* 그레인(노이즈) 효과 */
.main__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.main__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
  color: var(--white);
}

.main__copy {
  font-size: clamp(34px, 4.6vw, 70px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -1px;
}
.main__copy .hl {
  background: var(--point);
  color: #fff;
  padding: 0 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.main__desc {
  margin-top: 30px;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

/* CTA */
.main__cta {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}
.btn--point {
  background: var(--point);
  color: #fff;
}
.btn--point:hover {
  background: #fff;
  color: var(--point);
}
.btn--line {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn--line:hover {
  background: #fff;
  color: var(--point);
  border-color: #fff;
}

/* 스크롤 인디케이터 */
.scrolldown {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  animation: bob 1.8s ease-in-out infinite; /* 전체가 위아래로 */
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
/* 마우스 모양 */
.scrolldown .mouse {
  width: 27px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  box-sizing: border-box;
}
/* 안쪽 동그라미 */
.scrolldown .wheel {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
}
/* 아래 화살표(쉐브론) */
.scrolldown .chev {
  width: 11px;
  height: 11px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

/* ===========================================================
   FLOATING CONSULT (상담 폼)
=========================================================== */
.consult {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 120;
  display: flex;
  align-items: center;
  transform: translate(330px, -50%); /* 닫힘: 폼은 화면 밖, 탭만 보임 */
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.consult.open {
  transform: translate(0, -50%); /* 열림: 폼 노출 */
}

/* 오른쪽 끝 탭 */
.consult__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--point);
  color: #fff;
  padding: 24px 13px;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.consult__tab-text {
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  font-size: 16px;
  font-weight: 800;
}
.consult__tab-arrow {
  font-size: 18px;
  line-height: 1;
  animation: tabArrow 1s ease-in-out infinite; /* 평소 왼쪽으로 왔다갔다 */
}
@keyframes tabArrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-5px);
  }
}
/* 열리면 오른쪽 방향으로 왔다갔다 */
.consult.open .consult__tab-arrow {
  transform: scaleX(-1);
  animation: tabArrowOpen 1s ease-in-out infinite;
}
@keyframes tabArrowOpen {
  0%,
  100% {
    transform: scaleX(-1) translateX(0);
  }
  50% {
    transform: scaleX(-1) translateX(-5px);
  }
}

/* 폼 패널 */
.consult__panel {
  width: 330px;
  background: #fff;
  border-radius: 16px 0 0 16px;
  padding: 30px 26px;
  box-shadow: -12px 12px 44px rgba(0, 0, 0, 0.22);
}
.consult__title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  color: #222;
  margin-bottom: 20px;
}
.consult__title b {
  color: var(--point);
}
.consult__form input,
.consult__form textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 13px 14px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}
.consult__form input::placeholder,
.consult__form textarea::placeholder {
  color: #aaa;
}
.consult__form input:focus,
.consult__form textarea:focus {
  border-color: var(--point);
}
.consult__agree {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555;
  margin: 6px 0 16px;
}
.consult__agree input {
  width: 16px;
  height: 16px;
  accent-color: var(--point);
}
.consult__view {
  margin-left: auto;
  font-size: 12px;
  color: #888;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 3px 9px;
  transition: 0.2s;
}
.consult__view:hover {
  border-color: var(--point);
  color: var(--point);
}
.consult__submit {
  width: 100%;
  background: var(--point);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  border-radius: 10px;
  transition: 0.2s;
}
.consult__submit:hover {
  filter: brightness(1.2);
}

/* ===========================================================
   PRIVACY POLICY OVERLAY
=========================================================== */
.privacy {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.privacy.show {
  opacity: 1;
  visibility: visible;
}
.privacy__left {
  width: 38%;
  background: var(--point);
  color: #fff;
  padding: 8vh 4vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.privacy__ko {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 16px;
}
.privacy__en {
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 800;
  line-height: 1.02;
}
.privacy__date {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.85;
}
.privacy__right {
  width: 62%;
  background: #fff;
  padding: 8vh 4vw;
  overflow-y: auto;
  color: #444;
}
.privacy__lead {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.75;
  margin-bottom: 12px;
}
.privacy__right h4 {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin: 26px 0 8px;
}
.privacy__right p {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}
.privacy__close {
  position: fixed;
  top: 24px;
  right: 30px;
  width: 54px;
  height: 54px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 210;
  transition: 0.2s;
}
.privacy__close:hover {
  background: #111;
  color: #fff;
}

/* ===========================================================
   SHOWCASE (가로 슬라이드 핀 섹션)
=========================================================== */
.showcase {
  --fill: 1;
  position: relative;
  z-index: 2; /* 히어로 영상(.main z-index:1) 위로 */
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  background: #fff;
}
.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.showcase__track {
  display: flex;
  align-items: flex-start;
  height: 100%;
  gap: 0; /* 패널끼리 딱 붙임 */
  will-change: transform;
}

/* 왼쪽 타이틀 (패널과 함께 슬라이드) */
.showcase__intro {
  flex: 0 0 42vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4vw 0 8vw;
}
.showcase__intro .eyebrow {
  color: var(--point);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 20px;
}
.showcase__intro h2 {
  margin-top: 18px;
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  letter-spacing: -1px;
}
.showcase__intro .desc {
  margin-top: 22px;
  font-size: 16px;
  color: #888;
  line-height: 1.7;
}
.showcase__intro .scroll-hint {
  display: inline-block;
  margin-top: 28px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--point);
}

/* 패널 컨테이너 (호버 영역 고정 → 깜빡임 방지) */
.scard {
  --c: #0000b8;
  --inset: calc((1 - var(--fill, 1)) * 14vh); /* 채워질수록 위 여백 감소 */
  position: relative;
  flex: 0 0 auto;
  width: 33vw;
  height: calc(100vh - var(--inset));
  margin-top: var(--inset);
  color: #fff;
  overflow: visible; /* 안쪽이 커지며 넘칠 수 있게 */
}
/* 안쪽: 호버 시 살짝 확대 + 가운데로 슬라이드 */
.scard__inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 7vh; /* 상단 도형 바 자리 */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a0a0a;
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scard img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  filter: brightness(0.68); /* 전체적으로 살짝 어둡게 */
  transition: filter 0.5s ease;
}
.scard:hover {
  z-index: 20;
}
.scard:hover img {
  filter: brightness(1.05); /* 호버 시 밝아짐 */
}
.scard:hover .scard__inner {
  transform: scale(1.08); /* 제자리 확대 */
}
/* 상단 도형 바 */
.scard__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7vh;
  z-index: 2;
  background: var(--c);
}
/* PROJECT 프리뷰 도형 */
.scard__preview {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.scard:hover .scard__preview {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.scard__preview-txt {
  font-family: "Aggro", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.scard__preview-arrow {
  font-size: 16px;
  color: #bbb;
  animation: pvArrow 1.2s ease-in-out infinite;
}
.scard__no {
  display: none;
}
/* 하단 설명 박스 (세로 더 넓게 + 상하 여백 + 가운데 정렬) */
.scard__cap {
  position: relative;
  z-index: 1;
  min-height: 38vh;
  background: var(--c); /* 하단 색 박스 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}
.scard__cat {
  display: none;
}
.scard__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  opacity: 0.95;
}
.scard__en {
  font-family: "Aggro", sans-serif;
  font-size: clamp(28px, 2.6vw, 46px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28); /* 투명도 */
}
.scard__view {
  display: none;
}

@keyframes pvArrow {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(6px);
    opacity: 0.3;
  }
}

/* 하단 박스 색 (지정 9색 → 박스끼리 이어지는 그라데이션) */
.scard:nth-of-type(1) { --c: linear-gradient(to right, #1b3fdb, #2563eb); } /* 로열→코발트 */
.scard:nth-of-type(2) { --c: linear-gradient(to right, #2563eb, #0ea5e9); } /* 코발트→스카이 */
.scard:nth-of-type(3) { --c: linear-gradient(to right, #0ea5e9, #1e3a8a); } /* 스카이→네이비 */
.scard:nth-of-type(4) { --c: linear-gradient(to right, #1e3a8a, #4f46e5); } /* 네이비→인디고 */
.scard:nth-of-type(5) { --c: linear-gradient(to right, #4f46e5, #6366f1); } /* 인디고→퍼플블루 */
.scard:nth-of-type(6) { --c: linear-gradient(to right, #6366f1, #0d9488); } /* 퍼플블루→틸 */
.scard:nth-of-type(7) { --c: linear-gradient(to right, #0d9488, #06b6d4); } /* 틸→시안 */
.scard:nth-of-type(8) { --c: linear-gradient(to right, #06b6d4, #475569); } /* 시안→슬레이트 */
.scard:nth-of-type(9) { --c: linear-gradient(to right, #475569, #334155); } /* 슬레이트 */

/* 마지막 전체보기 카드 */
.allcard {
  flex: 0 0 auto;
  width: 33vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.allcard__btn {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Aggro", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.allcard__txt {
  font-size: 18px;
}
.allcard__plus {
  font-size: 30px;
  line-height: 1;
}
.allcard__btn:hover {
  background: var(--point); /* 파란색 */
  transform: translate(10px, -10px); /* 살짝 이동 */
}

/* ===========================================================
   CUSTOM CURSOR (기본 포인터 + 따라다니는 파란 점)
=========================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: #0000ff; /* 파란 점 */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
}
/* 버튼/링크 위에서는 약간 확대 */
.cursor.hover-btn {
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 255, 0.45);
}
/* 파란 솔루션 카드 위에서는 흰색 점 */
.cursor.on-blue {
  background: #fff;
}
.cursor.on-blue.hover-btn {
  background: rgba(255, 255, 255, 0.6);
}
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ===========================================================
   SOLUTIONS (핵심 솔루션)
=========================================================== */
.solutions {
  position: relative;
  z-index: 2;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  min-height: 100vh;
  /* 배경: main 사진 + 검은 오버레이 */
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("../01_images/main.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 16vh 6vw 10vh;
}
.solutions__inner {
  width: 100%;
}
.solutions__head {
  margin-bottom: 52px;
  max-width: 820px;
}
.solutions__eyebrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  font-weight: 600;
}
.solutions__title {
  margin-top: 16px;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.solutions__desc {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}
/* 카드 4칸 */
.solutions__grid {
  display: flex;
  align-items: flex-start; /* 호버 시 해당 카드만 늘어나도록 */
  gap: 24px;
}
.sol-card {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 40px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    background-color 0.35s ease, opacity 0.5s ease;
  /* 등장 애니메이션 시작값 */
  opacity: 0;
  transform: translateY(34px);
}
.solutions.in .sol-card {
  opacity: 1;
  transform: translateY(0);
}
.solutions.in .sol-card:nth-child(2) {
  transition-delay: 0.1s;
}
.solutions.in .sol-card:nth-child(3) {
  transition-delay: 0.2s;
}
.solutions.in .sol-card:nth-child(4) {
  transition-delay: 0.3s;
}
.solutions.in .sol-card:hover {
  background: #0000b8;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  z-index: 3;
}
/* 호버 시 안쪽 내용 반전 (파란 배경 위 흰 글씨) */
.sol-card:hover .sol-card__title {
  color: #fff;
}
.sol-card:hover .sol-card__desc {
  color: rgba(255, 255, 255, 0.88);
}
.sol-card:hover .sol-card__svg {
  stroke: #fff;
}
.sol-card:hover .sol-card__svg circle {
  fill: #fff;
}
.sol-card:hover .sol-card__more-txt {
  color: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(255, 255, 255, 0.3);
}
.sol-card__svg {
  align-self: flex-end;
  width: 58px;
  height: 58px;
  fill: none;
  stroke: #1a3fd0;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 50px;
  transition: stroke 0.3s ease;
}
.sol-card__title {
  font-size: 24px;
  font-weight: 800;
  color: #1a2b4a;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.sol-card__desc {
  margin-top: 18px;
  color: #888;
  font-size: 15px;
  line-height: 1.7;
  transition: color 0.3s ease;
}
/* 호버 시 펼쳐지는 강화 내용 */
.sol-card__more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
}
.sol-card:hover .sol-card__more {
  max-height: 340px;
  opacity: 1;
  margin-top: 20px;
}
.sol-card__more-txt {
  padding-top: 20px;
  border-top: 1px solid #eaeaef;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

/* ===========================================================
   STATS (숫자로 보는 — 막대 차트)
=========================================================== */
.stats {
  position: relative;
  z-index: 2;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  height: 100vh;
  background: #05060a;
  overflow: hidden;
}
.stats__head {
  position: absolute;
  top: 8vh;
  left: 6vw;
  z-index: 3;
}
.stats__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5b9bff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}
.stats__eyebrow span {
  width: 28px;
  height: 2px;
  background: #5b9bff;
}
.stats__title {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.stats__bars {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 1;
}
.stat-bar {
  position: relative;
  flex: 1;
  height: 100%;
}
/* 앞쪽 글씨 없는 낮은 막대 (제목 "네" 앞을 채움) */
.stat-bar--empty {
  flex: 0 0 9vw;
}
.stat-bar__fill {
  position: absolute;
  left: 0;
  right: -1px; /* 막대 사이 미세한 검은선 제거 */
  bottom: 0;
  height: var(--h);
  background: linear-gradient(
    to top,
    #0000b8 0%,
    #16204a 70%,
    rgba(10, 12, 30, 0) 100%
  );
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stats.in .stat-bar__fill {
  transform: scaleY(1);
}
.stat-bar__txt {
  position: absolute;
  left: 28px;
  right: 16px;
  top: calc(100% - var(--h));
  padding-top: 26px;
  opacity: 0;
  transform: translateY(50px); /* 아래에서 위로 */
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stats.in .stat-bar__txt {
  opacity: 1;
  transform: translateY(0);
}
.stat-bar__num {
  display: block;
  font-family: "Aggro", sans-serif;
  font-size: clamp(38px, 4.4vw, 70px);
  font-weight: 700;
  color: #5b9bff;
  line-height: 1;
}
.stat-bar__num em {
  font-style: normal;
  font-size: 0.5em;
}
.stat-bar__label {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.stat-bar__desc {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}
/* 하나씩 올라오는 stagger (빈 막대 1 + 라벨 막대 4) */
.stats.in .stat-bar:nth-child(1) .stat-bar__fill {
  transition-delay: 0.05s;
}
.stats.in .stat-bar:nth-child(2) .stat-bar__fill,
.stats.in .stat-bar:nth-child(2) .stat-bar__txt {
  transition-delay: 0.2s;
}
.stats.in .stat-bar:nth-child(3) .stat-bar__fill,
.stats.in .stat-bar:nth-child(3) .stat-bar__txt {
  transition-delay: 0.35s;
}
.stats.in .stat-bar:nth-child(4) .stat-bar__fill,
.stats.in .stat-bar:nth-child(4) .stat-bar__txt {
  transition-delay: 0.5s;
}
.stats.in .stat-bar:nth-child(5) .stat-bar__fill,
.stats.in .stat-bar:nth-child(5) .stat-bar__txt {
  transition-delay: 0.65s;
}

/* ===========================================================
   AI 섹션 (스크롤 확대)
=========================================================== */
.aisec {
  position: relative;
  z-index: 2;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  background: #14161f;
}
.ai-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  gap: 44px;
}
.aisec__head {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}
.aisec__imgwrap {
  width: 64vw;
  height: 62vh;
  overflow: hidden;
  border-radius: 4px;
}
.aisec__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: inset(40% 0 40% 0); /* 가운데 띠 → 펼쳐짐 */
  transition: clip-path 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ai-screen--media.in .aisec__img {
  clip-path: inset(0 0 0 0);
}
.aisec__sub {
  text-align: center;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.45s, transform 0.8s ease 0.45s;
}
.ai-screen--media.in .aisec__sub {
  opacity: 1;
  transform: none;
}
/* 강조색: 우리 파란색 그라데이션 */
.aisec__head b,
.aisec__sub b {
  background: linear-gradient(90deg, #1746e6 0%, #4fb0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* ===========================================================
   CHAPTER (원형 리빌)
=========================================================== */
.chapter {
  position: relative;
  z-index: 2;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  height: 150vh; /* 스크롤 길이 */
  background: #000; /* 원 밖 (검정) */
}
.chapter__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.chapter__circle {
  position: absolute;
  inset: 0;
  background: #fff; /* 원이 채우는 색 (흰색 — 검정에서 퍼짐) */
  clip-path: circle(22% at 50% 50%);
}
.chapter__inner {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6vw;
}
.chapter__deco {
  font-family: "Aggro", sans-serif;
  font-size: clamp(40px, 5vw, 84px);
  font-weight: 700;
  color: #0000b8;
  line-height: 1.05;
  letter-spacing: -1px;
}
.chapter__title {
  margin-top: 22px;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  color: #111;
  line-height: 1.3;
}
.chapter__accent {
  margin-top: 16px;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  color: #0000b8;
}
.chapter__desc {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}
.chapter__desc b {
  color: #0000b8;
  font-weight: 700;
}
.chapter__line {
  position: absolute;
  z-index: 1;
  top: 6%;
  left: 8%;
  width: 26vw;
  max-width: 460px;
  height: auto;
  pointer-events: none;
}
/* 좌우 정사각형 사진 (각 3개, 2개는 겹치듯 어긋남) */
.chapter__pic {
  position: absolute;
  z-index: 1;
  width: 15vw;
  max-width: 240px;
  aspect-ratio: 1 / 1; /* 정사각형 */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}
/* 왼쪽 3개 (l1·l2 세로 정렬, l3 겹치듯 어긋남) */
.chapter__pic--l1 {
  top: 15%;
  left: 4%;
}
.chapter__pic--l2 {
  top: 43%;
  left: 4%;
  z-index: 2;
}
.chapter__pic--l3 {
  top: 59%;
  left: 14%;
}
/* 오른쪽 3개 (왼쪽과 다른 배치) */
.chapter__pic--r1 {
  top: 22%;
  right: 4%;
}
.chapter__pic--r2 {
  top: 38%;
  right: 14%;
  z-index: 2;
}
.chapter__pic--r3 {
  top: 54%;
  right: 4%;
}

/* ===========================================================
   QUOTE (전화상담 신청 — 가로형 다크 폼)
=========================================================== */
.quote {
  position: relative;
  z-index: 2;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  background: #14161f;
  padding: 11vh 5vw;
}
.quote__wrap {
  max-width: 1280px;
  margin: 0 auto;
}
/* 상단: 헤드라인 + 통계 */
.quote__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.quote__intro {
  flex: 1 1 460px;
}
.quote__headline {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.38;
  letter-spacing: -0.5px;
}
.q-ph {
  color: #6a7088;
  transition: color 0.2s;
}
.q-ph.filled {
  color: #fff;
}
.q-blue {
  color: #5a78ff;
}
.quote__sub {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}
.quote__sub b {
  color: #fff;
  font-weight: 700;
}
.quote__kakao {
  display: inline-block;
  margin-top: 26px;
  padding: 15px 34px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 40px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s;
}
.quote__kakao::before {
  content: "\1F4AC";
  margin-right: 8px;
}
.quote__kakao:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
/* 하단: 폼 */
.quote__body {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.quote__fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote__form input,
.quote__form select,
.quote__form textarea {
  width: 100%;
  background: #1b1e29;
  border: 1px solid #2e3242;
  border-radius: 10px;
  padding: 17px 18px;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.quote__form input::placeholder,
.quote__form textarea::placeholder {
  color: #8a8f9e;
}
.quote__form input:focus,
.quote__form select:focus,
.quote__form textarea:focus {
  border-color: #5a78ff;
}
.quote__form select {
  appearance: none;
  -webkit-appearance: none;
  color: #fff;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%238a8f9e' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
/* 아직 선택 안 했을 때(placeholder)는 회색, 선택하면 흰색 */
.quote__form select:invalid {
  color: #8a8f9e;
}
.quote__form select option {
  background: #1b1e29;
  color: #fff;
}
.quote__form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}
.q-submit {
  flex: 0 0 200px;
  background: #0000b8;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  border-radius: 12px;
  transition: 0.2s;
}
.q-submit:hover {
  filter: brightness(1.18);
}
.q-agree {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.q-agree input {
  width: 17px;
  height: 17px;
  accent-color: #5a78ff;
}
.q-view {
  margin-left: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
}

/* ===========================================================
   TO TOP 버튼
=========================================================== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--point);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  z-index: 125;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  filter: brightness(1.15);
  transform: translateY(-3px);
}

/* ===========================================================
   FOOTER
=========================================================== */
.footer {
  position: relative;
  z-index: 2;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  background: #fff;
  padding: 60px 5vw 40px;
}
.footer__inner {
  max-width: 1300px;
}
.footer__logo {
  height: 30px;
  width: auto;
}
.footer__info {
  margin-top: 28px;
}
.footer__info p {
  font-size: 14px;
  color: #8a8a8a;
  line-height: 2;
}
.footer__bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e6e6e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer__copy {
  font-size: 13px;
  color: #aeaeae;
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__privacy {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.footer__sns {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s;
}
.footer__sns:hover {
  background: var(--point);
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
  :root {
    --sidebar-w: 64px;
  }

  /* 쇼케이스: 모바일은 세로 스택 */
  .showcase {
    height: auto !important;
  }
  .showcase__sticky {
    position: static;
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .showcase__intro {
    flex: none;
    width: 100%;
    height: auto;
    padding: 50px 6vw 16px;
  }
  .showcase__intro h2 {
    font-size: 36px;
  }
  .showcase__track {
    flex-direction: column;
    transform: none !important;
    gap: 18px;
    padding: 0 6vw 50px;
  }
  .scard {
    width: 100% !important;
    height: 64vh;
    margin-top: 0 !important;
  }
  .scard:hover {
    transform: none;
  }
  .allcard {
    width: 100% !important;
    height: 46vh;
  }

  /* 솔루션: 세로 스택 */
  .solutions {
    min-height: auto;
    padding: 60px 6vw;
  }
  .solutions__title {
    font-size: 28px;
  }
  .solutions__grid {
    flex-direction: column;
    gap: 16px;
  }
  .sol-card {
    flex: none;
    min-height: auto;
  }
  /* 모바일: 호버가 없으니 강화 내용 항상 표시 */
  .sol-card__more {
    max-height: none;
    opacity: 1;
    margin-top: 20px;
  }

  /* 통계: 세로 스택 */
  .stats {
    height: auto;
    padding: 70px 0 40px;
  }
  .stats__head {
    position: static;
    padding: 0 6vw 30px;
  }
  .stats__title {
    font-size: 30px;
  }
  .stats__bars {
    position: static;
    flex-direction: column;
  }
  .stat-bar {
    height: 150px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-bar__fill {
    height: 100% !important;
    transform: none;
  }
  .stat-bar__txt {
    position: static;
    top: auto;
    padding: 26px 6vw;
    opacity: 1;
    transform: none;
  }

  /* Chapter: 정적 (원 펼침, 이미지 숨김) */
  .chapter {
    height: auto !important;
  }
  .chapter__sticky {
    position: static;
    height: auto;
    padding: 80px 0;
  }
  .chapter__circle {
    position: static;
    clip-path: none !important;
    transition: none;
    display: flex;
  }
  .chapter__inner {
    position: static;
    padding: 60px 6vw;
  }
  .chapter__pic,
  .chapter__line {
    display: none;
  }

  /* 견적 폼: 세로 스택 */
  .quote {
    padding: 60px 6vw;
  }
  .quote__top {
    gap: 28px;
    margin-bottom: 32px;
  }
  .quote__headline {
    font-size: 27px;
  }
  .quote__body {
    flex-direction: column;
    gap: 14px;
  }
  .quote__grid {
    grid-template-columns: 1fr;
  }
  .q-submit {
    flex: none;
    width: 100%;
    padding: 18px;
  }
  .quote__kakao {
    width: 100%;
    text-align: center;
  }

  /* 푸터 */
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer__info p {
    font-size: 13px;
  }
  .chapter__deco {
    font-size: 56px;
  }

  /* AI 섹션: 화면 높이 축소 */
  .ai-screen {
    height: auto;
    padding: 70px 6vw;
    gap: 28px;
  }
  .aisec__imgwrap {
    width: 88vw;
    height: 220px;
  }
  .aisec__img {
    clip-path: none !important;
  }
  .aisec__sub {
    opacity: 1 !important;
    transform: none !important;
  }
  .sidebar__logo .ko {
    display: none;
  }
  .sidebar__vtext {
    display: none;
  }
  .navmenu__inner {
    padding: 6vh 7vw 5vh calc(var(--sidebar-w) + 24px);
  }
  .navmenu__logo img {
    width: 150px;
  }
  .navmenu__list {
    margin-top: 5vh;
  }
  .navmenu__list li {
    margin: 10px 0;
  }
  .main__watermark {
    display: none;
  }
  /* 상담 폼: 모바일은 폭 축소 */
  .consult {
    transform: translate(286px, -50%);
  }
  .consult__panel {
    width: 286px;
    padding: 24px 20px;
  }
  .consult__title {
    font-size: 18px;
  }
  .consult__tab {
    padding: 18px 10px;
  }
  .consult__tab-text {
    font-size: 14px;
  }

  /* 개인정보처리방침: 세로 스택 */
  .privacy {
    flex-direction: column;
  }
  .privacy__left {
    width: 100%;
    padding: 40px 24px;
  }
  .privacy__en {
    font-size: 44px;
  }
  .privacy__right {
    width: 100%;
    padding: 30px 24px;
  }
  .privacy__close {
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  /* ===== 히어로 / 사이드바 (모바일) ===== */
  .sidebar {
    padding: 20px 0;
  }
  .sidebar__logo {
    height: 170px;
  }
  .sidebar__logo img {
    width: 145px;
  }
  .main__inner {
    padding: 0 7vw;
  }
  .main__copy {
    font-size: clamp(26px, 7.5vw, 40px);
  }
  .main__desc {
    font-size: 14px;
    margin-top: 18px;
  }
  .main__cta {
    gap: 10px;
    margin-top: 30px;
  }
  .btn {
    padding: 13px 22px;
    font-size: 14px;
  }
  .scrolldown {
    display: none;
  }

  /* ===== 플로팅/버튼 (모바일) ===== */
  .to-top {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* 가로 스크롤 방지 (안전망) */
  html,
  body {
    overflow-x: hidden;
  }
}
