:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --brand: #111111;
  --brand-2: #9ca3af;
  --radius: 16px;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Modern H Sans", "Montserrat", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

/* 기존 header 기본 상태 */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: all 0.6s ease-in-out;
  height: 70px;
  /* 기본 높이 약간 조정 */
  display: flex;
  align-items: center;
}

/* HOME 섹션에서 확장된 상태 */
header.expanded {
  height: 100px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.8s ease-in-out;
}

/* 내부 nav가 header 높이에 맞춰 정렬되도록 변경 */
.nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* ✅ header 높이에 따라 자동 맞춤 */
  transition: all 0.6s ease-in-out;
}

/* HOME일 때 내부 로고·메뉴 정렬 보정 */
header.expanded .brand__logo {
  width: 60px;
  height: 60px;
  transition: all 0.6s ease-in-out;
}

header.expanded .menu a {
  font-size: 17px;
  transition: all 0.6s ease-in-out;
}

.brand {
  position: absolute;
  left: 100px;
  /* HOME 상태일 때의 기본 위치 */
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition:
    left 0.8s cubic-bezier(0.25, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.3, 1),
    opacity 0.6s ease-in-out;
  /* ✅ 부드러운 전환 추가 */
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: url("../images/cts-logo.png") center/cover no-repeat;
  transition:
    width 0.8s cubic-bezier(0.25, 1, 0.3, 1),
    height 0.8s cubic-bezier(0.25, 1, 0.3, 1),
    opacity 0.6s ease-in-out;
  /* ✅ 크기·투명도 전환 */
}

/* ✅ HOME 벗어나면 (헤더 작아질 때) 로고 이동 + 축소 */
header:not(.expanded) .brand {
  left: 24px;
  /* 부드럽게 이동 */
  opacity: 0.95;
}

header:not(.expanded) .brand__logo {
  width: 42px;
  height: 42px;
  opacity: 0.9;
}


.menu {
  display: flex;
  gap: 46px;
  text-align: center;
}

.menu-toggle {
  position: absolute;
  right: 24px;
  display: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 20px
}

html,
body {
  height: 100%;
  overflow: hidden;
  /* body는 숨기되, 내부 컨테이너가 스크롤 담당 */
}

.snap-container {
  height: 100vh;
  overflow-y: auto;
}

.snap-container::-webkit-scrollbar {
  display: none;
}


.snap-section {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.25, 1, 0.3, 1);
  opacity: .55;
  transform: scale(.985);
}

.snap-section.is-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.hero {
  position: relative;
  margin-top: -70px;
  /* ✅ header 높이만큼 위로 당기기 */
  padding-top: 70px;
  /* ✅ 내용이 header와 겹치지 않게 보정 */
  z-index: 0;
}


.hero-bg {
  position: absolute;
  bottom: 0;
  /* 화면 아래쪽 맞추기 */
  left: 50%;
  /* 중앙 정렬 */
  transform: translateX(-50%);
  height: 100vh;
  /* 세로 꽉 채우기 */
  width: auto;
  /* 가로는 자동 (좌우 여백 OK) */
  object-fit: contain;
  /* 이미지 비율 유지 */
  z-index: -1;
  /* 내용 뒤로 */
  opacity: 1;
  animation: heroFadeIn 2.5s ease-out forwards;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-bg.png") center center / 90% auto no-repeat;
  transform: scale(1.3);
  transform-origin: center center;
  animation: heroZoomSmooth 3s cubic-bezier(0.25, 1, 0.3, 1) forwards;
  pointer-events: none;
}

/* ✅ 부드럽게 축소되는 고급 줌 애니메이션 */
@keyframes heroZoomSmooth {
  0% {
    transform: scale(1.3);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero 배경 이미지 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-bg.png") center center / 85% auto no-repeat;
  transform: scale(1.2);
  animation: heroZoomSmooth 3s cubic-bezier(0.25, 1, 0.3, 1) forwards;
  pointer-events: none;
}

/* 오른쪽 하단 오버레이 이미지 */
.hero::after {
  content: "";
  position: absolute;
  right: 11%;
  bottom: 3%;
  width: 400px;
  height: 200px;
  background: url("../assets/img/cts-overlay.png") right bottom / contain no-repeat;
  opacity: 0;
  transform: translateY(40px);
  /* 아래에서 올라옴 */
  animation: afterSlideUp 1.6s ease-out forwards;
  animation-delay: 1.2s;
  pointer-events: none;
  z-index: 2;
}

/* 왼쪽 상단 hero-extra */
.hero-extra {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 18vw;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url("../assets/img/ctsystem.png") center/contain no-repeat;
  opacity: 0;
  transform: translateX(-60px);
  animation: extraSlideIn 1.6s ease-out forwards;
  animation-delay: 1.2s;
  pointer-events: none;
  z-index: 2;
}


/* ✅ 밑에서 위로 올라오는 부드러운 애니메이션 */
@keyframes afterSlideUp {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }

  60% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.6;
    transform: translateY(0);
  }
}


/* 왼쪽 상단 hero-extra */
.hero-extra {
  position: absolute;
  top: 3%;
  left: 10%;
  width: 200px;
  height: auto;
  background: url("../assets/img/ctsystem.png") left top / contain no-repeat;
  opacity: 0;
  transform: translateX(-50px);
  /* 살짝 왼쪽에서 들어옴 */
  animation: extraSlideIn 1.6s ease-out forwards;
  animation-delay: 0.8s;
  pointer-events: none;
  z-index: 2;
}

/* ✅ 왼쪽에서 스르륵 들어오는 애니메이션 */
@keyframes extraSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }

  60% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

h1 {
  font-size: 48px;
  margin: 12px 0;

}

/* Hero 텍스트를 배경 오른쪽 상단에 배치 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero__grid {
  position: absolute;
  top: 15%;
  right: 8%;
  text-align: right;
  max-width: 620px;
  z-index: 10;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}

/* 섹션 활성화 시 */
.hero.is-active .hero__grid {
  opacity: 1;
}


.hero__grid .kicker {
  display: block;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.hero__grid h1 {
  font-size: 48px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.hero__grid .lead {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead {
  color: #000;
  margin-bottom: 24px;
  font-size: 18px;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, .08);
  transition: transform .25s ease, background .25s ease
}

.btn--primary {
  background: #111;
  color: #fff;
  border-color: #111
}

.btn--ghost {
  background: transparent
}

.btn:hover {
  transform: translateY(-2px)
}

.fields-hero {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #f6f8fa 0%, #eaeef2 100%);
  overflow: hidden;
  color: #111;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fields-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/service_bg.png") center/cover no-repeat;
  opacity: 0.8;
}

@keyframes moveBg {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 2000px 1000px;
  }
}

.fields-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.field-slide {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.3, 1);
}

.field-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.field-slide h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.field-slide p {
  font-size: 18px;
  color: #444;
}

.field-nav {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.field-nav button {
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.field-nav button:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* ===== Fixed Go Button (공정 상세 이동) ===== */
.field-go-btn {
  position: fixed;
  right: 80px;
  /* 도트(40px 기준) + 여유 40px */
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  /* 도트보다 위 */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.field-go-btn img {
  width: 36px;
  height: auto;
  opacity: 0.6;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* "이동" 텍스트 스타일 */
.field-go-label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.08em;
  user-select: none;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.field-go-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.field-go-btn:hover img {
  opacity: 1;
}


/* ===== Equipments Section (시네마틱 슬라이드형) ===== */
.equipments-hero {
  position: relative;
  background: linear-gradient(160deg, #f7f9fb 0%, #eef1f4 100%);
  color: #111;
  height: 100vh;
  display: flex;
  align-items: center;
  /* ✅ 전체 세로 중앙 */
  justify-content: center;
  /* ✅ 전체 가로 중앙 */
  text-align: center;
  overflow: hidden;
}

.equip-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/pattern-circuit.png") center/cover no-repeat;
  opacity: 0.6;
  /*animation: moveEquipBg 35s linear infinite;*/
  pointer-events: none;
}

@keyframes moveEquipBg {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 1800px 900px;
  }
}

.equip-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equip-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.equip-slide.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
}

.equip-slide.is-leaving {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(-30px);
  z-index: 1;
}

.equip-image {
  width: 600px;
  max-width: 85%;
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
}


.equip-slide.is-active .equip-image {
  transform: scale(1.03);
  opacity: 1;
}

.equip-text {
  max-width: 700px;
  text-align: center;
}

.equip-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.equip-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
}

.equip-nav {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 22px;
  z-index: 10;
}

.equip-nav button {
  position: relative;
  z-index: 11;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.equip-nav button:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}


.equip-banner {
  display: flex;
  justify-content: center;
  width: 100%
}

.equip-link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 60px;
  border-radius: 20px;
  background: transparent;
  /* 배경 투명 */
  border: none;
  /* 테두리 제거 */
  box-shadow: none;
  /* 그림자 제거 */
  transition: transform .35s ease;
}

.equip-link:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08)
}

.equip-icon {
  font-size: 52px;
  line-height: 1
}

.equip-text h3 {
  font-size: 22px;
  font-weight: 700
}

.equip-text p {
  font-size: 15px;
  color: var(--muted)
}

/* ✅ 장비 섹션이 버튼을 자르지 않도록 */
.equipments-hero {
  overflow: visible !important;
}

/* ✅ 이동 버튼 (field-go-btn과 동일 디자인, z-index 강화) */
.equip-go-btn {
  position: fixed;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3000;
  /* 도트보다 확실히 위 */
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: none;
  /* 기본은 숨김 */
}

.equip-go-btn img {
  width: 36px;
  height: auto;
  opacity: 0.6;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.equip-go-label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.08em;
  user-select: none;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.equip-go-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.equip-go-btn:hover img {
  opacity: 1;
}


/* About */
.about .company-summary {
  color: var(--muted);
  margin-bottom: 18px
}

.vertical-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 48px
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .06))
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 16px
}

.dot-line-container {
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: flex-start
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .1)
}

.glass-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05)
}

/* Section Label (왼쪽 섹션 정보) */
.section-label {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  color: #000;
  /* 검정색 */
  background: rgba(255, 255, 255, 0.7);
  /* LG 느낌의 투명 배경 */
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 8px 4px;
}

.section-label__text {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 1;
}

/* About 섹션 - 베이지 배경 */
.about {
  background: #f8f5ef;
  position: relative;
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0;
}

.about::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 0, 0, .05);
}

#page-footer {
  opacity: 1;
  transform: translateY(0);
  transition: none;
  pointer-events: auto;
}


.about.is-active~#page-footer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



.nav-dots {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none
}

.nav-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, .5);
  background: rgba(134, 92, 92, 0);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease
}

.nav-dots .dot:hover {
  transform: scale(1.2)
}

.nav-dots .dot.is-active {
  background: #111;
  border-color: #111
}

footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px 40px 80px 40px;
  /* 높이 그대로 유지 */
  color: var(--muted);
  font-size: 14px;
}

/* 전체 footer 컨테이너 */
.footer-balanced {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

/* ========== 좌측 (회사 정보) ========== */
.footer-col.left {
  flex: 0 0 38%;
  /* ⚖️ 왼쪽 38% */
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
}

.footer-admin-link {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* ========== 가운데 (저작권) ========== */
.footer-col.center {
  flex: 0 0 24%;
  /* ⚖️ 가운데 24% */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.copy {
  margin-top: 60px;
  /* ⬅️ 이 값으로 아래로 내림 (기본 0) */
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}


/* ========== 오른쪽 (정책 + 인증마크) ========== */
.footer-col.right {
  flex: 0 0 38%;
  /* ⚖️ 오른쪽 38% (좌우 균형) */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 10px;
}

/* 개인정보처리방침 */
.privacy-link-inline {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.privacy-link-inline:hover {
  color: #111;
  border-color: rgba(0, 0, 0, 0.15);
}

/* 인증마크 */
.footer-mark {
  width: 400px;
  /* 적당히 확대 (너무 크면 200px로 조절 가능) */
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-mark:hover {
  opacity: 1;
}

/* ========== 반응형 조정 ========== */
@media (max-width: 900px) {
  footer {
    padding: 40px 16px;
  }

  .footer-balanced {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-col.left,
  .footer-col.center,
  .footer-col.right {
    flex: 1 1 auto;
    align-items: center;
    text-align: center;
  }

  .footer-mark {
    width: 180px;
  }
}

/* 중앙 하단 Scroll 안내 */
.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.65);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1002;
  animation: fadePulse 3s ease-in-out infinite;
  pointer-events: none;
  /* 클릭 방지 */
}

/* 아래쪽 화살표 */
.scroll-indicator .arrow {
  margin-top: 0px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(0, 0, 0, 0.65);
  border-bottom: 2px solid rgba(0, 0, 0, 0.65);
  transform: rotate(45deg);
  animation: arrowBounce 1.8s ease-in-out infinite;
}

/* Scroll 인디케이터 - about 섹션에서는 숨김 */
.scroll-indicator.is-hidden {
  display: none;
}


/* 텍스트 페이드 효과 */
@keyframes fadePulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* 화살표 위아래 움직임 */
@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(8px) rotate(45deg);
  }
}

/* ===== About 섹션 배경 (오른쪽 아래 초록 숲길, 왼쪽 위는 밝게) ===== */
.about-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 250, 245, 0.95) 100%),
    url("service/images/about-bg-forest-soft.png") right bottom / cover no-repeat;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  color: #111;
}


/* 배경에 은은한 움직임 효과 */
.about-hero {
  position: relative;
  background: url("../service/images/about-bg-forest-soft.png") right bottom / cover no-repeat;
  background-color: #f9fafb;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  color: #111;
}



@keyframes forestGlow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

/* 카드들은 배경 위에 올라오게 */
.about-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
  /* ✅ 가로 정렬 */
  flex-wrap: nowrap;
  /* ✅ 한 줄 유지 */
  gap: 60px;
  margin-top: 80px;
  perspective: 1200px;
}

/* ✅ 화면이 좁을 때(태블릿 이하)는 자동으로 세로 배치 */
@media (max-width: 1100px) {
  .about-buttons {
    flex-wrap: wrap;
    gap: 40px;
  }
}



.about-tile {
  width: 280px;
  height: 320px;
  cursor: pointer;
  perspective: 1000px;
  border-radius: 20px;
}

.tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.3, 1);
  transform-style: preserve-3d;
  border-radius: 20px;
}

.about-tile:hover .tile-inner {
  transform: rotateY(180deg);
}

/* ===== About 카드 스타일 (유리감 제거 + 자연스러운 투명 패널 느낌) ===== */
.tile-front,
.tile-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.25);
  /* ✅ 완전한 유리 아님, 은은한 반투명 */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
  /* ✅ 흐림 최소화 */
  transition: all 0.6s ease;
}

.tile-front:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
}

.tile-back {
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.3);
  color: #111;
}

/* 내부 이미지 및 텍스트 조정 */
.tile-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ✅ 카드 전체를 꽉 채움 */
  border-radius: 20px;
  /* 카드 모서리와 동일하게 */
  margin-bottom: 0;
  /* ✅ 불필요한 간격 제거 */
  opacity: 0.95;
  filter: brightness(0.9);
  /* 살짝 어두워서 글자가 잘 보이게 */
  transition: transform 0.5s ease, filter 0.5s ease;
}

.tile-front:hover img {
  transform: scale(1.05);
  /* ✅ 살짝 확대 (고급스러운 모션) */
  filter: brightness(1);
}


.tile-front h3,
.tile-back h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.tile-front p,
.tile-back p {
  font-size: 15px;
  text-align: center;
  color: #333;
  line-height: 1.6;
  max-width: 240px;
}


.about-buttons::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.08), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

/* ===== About 카드 중앙에서 한 장씩 뽑혀 나오는 애니메이션 ===== */
.about-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 80px;
  perspective: 1000px;
}

/* 처음엔 전부 중앙에 겹쳐 있음 */
.about-tile {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.7) translateY(80px) rotateY(15deg);
  opacity: 0;
  animation: aboutTilePop 1s cubic-bezier(0.25, 1, 0.3, 1) forwards;
}

/* 한 장씩 시간차 두고 등장 (2초 후부터 순차적으로) */
.about-tile:nth-child(1) {
  animation-delay: 1.5s;
}

.about-tile:nth-child(3) {
  animation-delay: 2s;
}

.about-tile:nth-child(2) {
  animation-delay: 2.5s;
}

/* 개별 카드가 뽑혀 나와 정렬될 때의 위치 지정 */
@keyframes aboutTilePop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.7) translateY(80px) rotateY(15deg);
  }

  40% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05) translateY(-10px) rotateY(0deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
  }
}

/* 최종 정렬된 위치 */
.about-tile:nth-child(1) {
  animation-fill-mode: forwards;
}

.about-tile:nth-child(2) {
  animation-fill-mode: forwards;
}

.about-tile:nth-child(3) {
  animation-fill-mode: forwards;
}

/* 등장 후 자리 배치 (왼/가운데/오른쪽) */
.about-tile:nth-child(1) {
  --final-x: -360px;
  /* 왼쪽으로 이동 */
}

.about-tile:nth-child(2) {
  --final-x: 0px;
  /* 중앙 */
}

.about-tile:nth-child(3) {
  --final-x: 360px;
  /* 오른쪽 */
}

.about-tile {
  animation-timing-function: cubic-bezier(0.25, 1, 0.3, 1);
}

@keyframes aboutTilePop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.7) translateY(80px) rotateY(15deg);
  }

  40% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05) translateY(-10px) rotateY(0deg);
  }

  100% {
    opacity: 1;
    transform: translate(calc(-50% + var(--final-x))) scale(1) translateY(0) rotateY(0deg);
  }
}

/* ===== 회사소개 제목 Fade-In (부드럽게) ===== */
.about-header {
  position: absolute;
  top: 280px;
  left: 100px;
  z-index: 3;
  text-align: left;
  opacity: 0;
  transform: translateY(25px);
  animation: aboutHeaderFade 2.4s ease-in-out forwards;
  animation-delay: 1.5s;
  /* 1.5초 뒤부터 서서히 등장 */
}

@keyframes aboutHeaderFade {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }

  40% {
    opacity: 0.3;
    transform: translateY(15px);
  }

  70% {
    opacity: 0.7;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 세련된 블루 라인 (타이틀 옆) */
.about-title {
  font-size: 42px;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

/* 파란 포인트 라인이 살짝 늦게 스르륵 */
.about-title::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #007aff 0%, #00a8e8 100%);
  border-radius: 2px;
  opacity: 0;
  animation: lineSlideSoft 1.6s ease forwards;
  animation-delay: 2.2s;
}

@keyframes lineSlideSoft {
  0% {
    opacity: 0;
    height: 0;
  }

  100% {
    opacity: 1;
    height: 28px;
  }
}

/* ✅ 모바일 반응형 최적화 (공통) */
@media (max-width: 900px) {

  html,
  body {
    overflow: auto;
    height: auto;
  }

  .snap-container {
    height: auto;
    overflow: visible;
  }

  header {
    height: 60px;
  }

  .brand {
    left: 16px;
    transform: scale(0.9);
  }

  .menu {
    display: none;
  }

  .menu.open {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero__grid {
    top: 10%;
    right: auto;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 0 16px;
  }

  h1 {
    font-size: 28px;
  }

  .about-buttons {
    flex-wrap: wrap;
    gap: 20px;
  }

  .about-tile {
    width: 85%;
    height: auto;
  }

  .equip-image {
    width: 100%;
  }

  .field-go-btn,
  .equip-go-btn {
    right: 20px;
    width: 32px;
  }

  footer {
    padding: 20px 10px 40px;
  }
}

/* ========== 네비 드롭다운 ========== */
.menu .menu-item.has-dropdown {
  position: relative;
  display: inline-block;
}

.menu .dropdown-toggle {
  background: transparent;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu .dropdown-toggle:focus {
  outline: 2px solid rgba(255, 255, 255, .25);
  outline-offset: 2px;
  border-radius: 6px;
}

.menu .caret {
  font-size: 12px;
  opacity: .85;
}

.menu .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin-top: 10px;
  padding: 8px 0;
  background: rgba(10, 12, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  display: none;
  /* 기본 숨김 */
  z-index: 1000;
}

.menu .dropdown.open {
  display: block;
}

.menu .dropdown a {
  display: block;
  padding: 10px 14px;
  color: #e9eef5;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.menu .dropdown a:hover,
.menu .dropdown a:focus {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

/* 모바일 메뉴 안에서도 보기 좋게 전체폭 사용 */
@media (max-width: 960px) {
  .menu .menu-item.has-dropdown {
    width: 100%;
  }

  .menu .dropdown {
    position: static;
    box-shadow: none;
    margin-top: 6px;
    width: 100%;
  }
}

/* 1) 메뉴 줄 높이/정렬 강제 통일 */
.nav .menu {
  display: flex;
  align-items: center;
  /* 세로 중앙 정렬 */
}

/* 2) 모든 메뉴 아이템 동일 높이 */
.nav .menu .menu-item,
.nav .menu .menu-item .dropdown-toggle {
  height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* 3) 드롭다운 래퍼를 가로 정렬 고정 (혹시 column으로 내려간 경우 교정) */
.nav .menu .menu-item.has-dropdown {
  display: flex;
  flex-direction: row !important;
  /* 중요 */
  align-items: center;
  padding: 0;
  /* 버튼과 중복 여백 제거 */
}
.nav .menu .menu-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;   /* 버튼 바로 아래부터 */
  height: 10px;/* ✅ 마우스가 내려오는 동안 hover가 유지됨 */
  pointer-events: none; /* 클릭을 막지 않도록 */
}

/* 4) 버튼 기본 스타일 리셋 + 텍스트 라인헬스 통일 */
.nav .menu .menu-item.has-dropdown .dropdown-toggle {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0 16px;
  font: inherit;
  color: inherit;
  line-height: 1;
  /* 버튼 기본 라인헬스 보정 */
  letter-spacing: inherit;
  cursor: pointer;
}

/* 5) 캐럿(▾) 정렬 */
.nav .menu .menu-item.has-dropdown .caret {
  display: inline-block;
  line-height: 1;
  font-size: 12px;
  opacity: .85;
  transform: translateY(-1px);
  /* 필요시 미세조정 */
}

/* 6) 드롭다운 목록(기존 그대로) – 레이아웃에 영향 없도록 absolute */
.nav .menu .menu-item.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 4px); /* 너무 붙어 보이면 4~6px 정도만 */
  left: 0;
  margin-top: 0;         /* 기존 margin-top 있으면 제거 */
}