@charset "utf-8";
/* ==========================================================================
   main.css — 랜딩페이지 전용
   ========================================================================== */

/* --------------------------------------------------------------------------
   ① HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 620px;
  padding-block: 0;
  overflow: hidden;
  background: var(--c-primary-deep);
}
.hero-swiper { position: absolute; inset: 0; }
.hero .swiper-slide { overflow: hidden; }

/* --- 배경 + 오버레이 --- */
.hero-bg { position: absolute; inset: 0; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: var(--overlay-hero);
}

/* Ken Burns — 활성 슬라이드만 */
.hero .swiper-slide-active .hero-bg img {
  animation: kenburns 6.5s var(--ease) forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* --- 카피 --- */
.hero-copy {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--gnb-h);
  padding-bottom: 90px;
}
.hero-label {
  font-size: 15px; font-weight: 700; letter-spacing: .22em;
  /* 배경이 파란 계열이라 primary-light 는 묻힌다. 옅은 하늘색 + 그림자로 띄운다 */
  color: #BFE0FF;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  margin-bottom: 22px;
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700; line-height: 1.28; letter-spacing: -.03em;
  color: var(--c-white);
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.hero-sub {
  margin-top: 26px;
  font-size: 22px; line-height: 1.7;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero-btns { display: flex; gap: 12px; margin-top: 44px; flex-wrap: wrap; }

/* 슬라이드 전환 시 카피 fade-up */
.hero .swiper-slide .hero-label,
.hero .swiper-slide .hero-title,
.hero .swiper-slide .hero-sub,
.hero .swiper-slide .hero-btns { opacity: 0; }

.hero .swiper-slide-active .hero-label,
.hero .swiper-slide-active .hero-title,
.hero .swiper-slide-active .hero-sub,
.hero .swiper-slide-active .hero-btns {
  animation: heroUp .9s var(--ease) forwards;
}
.hero .swiper-slide-active .hero-label { animation-delay: .30s; }
.hero .swiper-slide-active .hero-title { animation-delay: .42s; }
.hero .swiper-slide-active .hero-sub   { animation-delay: .54s; }
.hero .swiper-slide-active .hero-btns  { animation-delay: .66s; }

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

/* --- 컨트롤 (도트 + 화살표) --- */
.hero-ctrl {
  position: absolute; left: 50%; bottom: 42px; z-index: 10;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
}
.hero-prev, .hero-next {
  width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  color: var(--c-white);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.hero-prev svg, .hero-next svg { width: 20px; height: 20px; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,.16); border-color: var(--c-white); }

.hero-pagination { display: flex; align-items: center; gap: 10px; width: auto !important; }
.hero-pagination .swiper-pagination-bullet {
  width: 9px; height: 9px; margin: 0 !important;
  background: rgba(255,255,255,.45); opacity: 1;
  transition: width .3s var(--ease), background-color .3s var(--ease);
  border-radius: 5px;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 30px; background: var(--c-white);
}

/* --- 스크롤 인디케이터 --- */
.scroll-down {
  position: absolute; left: 50%; bottom: 34px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: rgba(255,255,255,.8);
}
.scroll-down::after {
  content: ''; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollBounce 1.8s var(--ease) infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: rotate(45deg) translate(0,0); opacity: .5; }
  50%     { transform: rotate(45deg) translate(4px,4px); opacity: 1; }
}

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .hero-sub { font-size: 20px; }
  .hero-ctrl { bottom: 34px; }
}
@media (max-width: 767px) {
  .hero { height: 85vh; height: calc(var(--vh, 1vh) * 85); min-height: 520px; }
  .hero-copy { text-align: center; align-items: center; padding-bottom: 100px; }
  .hero-label { font-size: 12px; letter-spacing: .16em; margin-bottom: 14px; }
  .hero-sub { font-size: 17px; margin-top: 18px; }
  .hero-btns { margin-top: 30px; justify-content: center; }

  /* 모바일: 화살표 숨김, 스와이프로 조작 */
  .hero-prev, .hero-next { display: none; }
  .hero-ctrl { bottom: 84px; justify-content: center; }
  .scroll-down { bottom: 26px; }
}

/* --- 모션 최소화 --- */
@media (prefers-reduced-motion: reduce) {
  .hero .swiper-slide-active .hero-bg img { animation: none; }
  .hero .swiper-slide .hero-label,
  .hero .swiper-slide .hero-title,
  .hero .swiper-slide .hero-sub,
  .hero .swiper-slide .hero-btns { opacity: 1; }
  .hero .swiper-slide-active .hero-label,
  .hero .swiper-slide-active .hero-title,
  .hero .swiper-slide-active .hero-sub,
  .hero .swiper-slide-active .hero-btns { animation: none; }
  .scroll-down::after { animation: none; }
}

/* --------------------------------------------------------------------------
   ② ABOUT
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 72px;
  align-items: center;
}
.about-text .sec-head { margin-bottom: 30px; }
.about-p + .about-p { margin-top: 20px; }
.about-text .link-more { margin-top: 32px; }
.about-text .link-more svg { width: 16px; height: 16px; }

.about-visual picture { display: block; }
.about-visual img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 48px rgba(18, 58, 97, .16);
}

/* --- 핵심 수치 카운터 --- */
.counter-wrap { margin-top: 96px; }
.counter-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-gray-300);
  border-bottom: 1px solid var(--c-gray-300);
}
.counter-list li {
  padding: 44px 20px; text-align: center;
  border-left: 1px solid var(--c-gray-300);
}
.counter-list li:first-child { border-left: 0; }

.counter-num {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 3px;
  font-size: 54px; font-weight: 700; line-height: 1.1;
  letter-spacing: -.04em; color: var(--c-primary-deep);
  font-variant-numeric: tabular-nums;
}
.counter-num em { font-style: normal; font-size: 24px; font-weight: 700; color: var(--c-primary); }

/* 연 매출의 «2025년 기준» — 라벨이 아니라 숫자 옆에 붙는다 (2026-09-10).
   관리자에서 연도만 바꾸므로 라벨 문구는 «연 매출» 로 고정이다. */
.counter-year {
  margin-left: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.4;
  letter-spacing: -.01em; color: var(--c-gray-600);
}
.counter-label { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--c-gray-600); }

@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .counter-wrap { margin-top: 64px; }
  .counter-list { grid-template-columns: repeat(2, 1fr); }
  .counter-list li { padding: 34px 16px; }
  .counter-list li:nth-child(odd)  { border-left: 0; }
  .counter-list li:nth-child(n+3)  { border-top: 1px solid var(--c-gray-300); }
  .counter-num { font-size: 42px; }
  .counter-year { margin-left: 6px; font-size: 13px; }
}
@media (max-width: 767px) {
  .counter-wrap { margin-top: 44px; }
  .counter-list li { padding: 26px 12px; }
  .counter-num { font-size: 34px; }
  .counter-num em { font-size: 17px; }
  .counter-year { flex-basis: 100%; margin: 4px 0 0; font-size: 12px; }
  .counter-label { margin-top: 8px; font-size: 13px; }
}

/* --------------------------------------------------------------------------
   ③ STRENGTH
   -------------------------------------------------------------------------- */
.strength-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.strength-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 44px 32px 46px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.strength-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.strength-icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin-bottom: 26px;
  border-radius: 50%;
  background: var(--c-primary-tint);
  color: var(--c-primary);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.strength-icon svg { width: 28px; height: 28px; }
.strength-card:hover .strength-icon { background: var(--c-primary); color: var(--c-white); }

.strength-card h3 {
  font-size: 21px; font-weight: 700; line-height: 1.4;
  letter-spacing: -.03em; color: var(--c-gray-900);
}
.strength-card p { margin-top: 14px; font-size: 15px; line-height: 1.75; }

@media (max-width: 1023px) {
  .strength-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .strength-card { padding: 36px 26px 38px; }
}
@media (max-width: 767px) {
  .strength-list { grid-template-columns: 1fr; gap: 14px; }
  .strength-card { padding: 30px 24px 32px; }
  .strength-icon { width: 50px; height: 50px; margin-bottom: 18px; }
  .strength-icon svg { width: 24px; height: 24px; }
  .strength-card h3 { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   섹션 배경 교차
   -------------------------------------------------------------------------- */
.bg-tint { background: var(--c-primary-tint); }
.bg-gray { background: var(--c-gray-50); }

/* --------------------------------------------------------------------------
   [임시] STEP 2~7 구현 대기 플레이스홀더
   -------------------------------------------------------------------------- */
.todo {
  border: 1px dashed var(--c-gray-300);
  border-radius: var(--radius-card);
  padding: 44px 24px;
  text-align: center;
  color: #9AA3AF;
  font-size: 15px;
  background: rgba(255,255,255,.5);
}
.todo b { display: block; font-weight: 700; color: var(--c-primary); margin-bottom: 6px; letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   ⑪ BUSINESS — 회사소개서 · CONTACT US
   -------------------------------------------------------------------------- */
.business {
  position: relative;
  overflow: hidden;
  background: #14171C;
}
.business-bg { position: absolute; inset: 0; }
.business-bg img { width: 100%; height: 100%; object-fit: cover; }
.business-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(31, 36, 43, .74) 0%, rgba(10, 12, 16, .90) 100%);
}
.business > .container { position: relative; z-index: 2; }

.business-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.business-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 46px 42px 40px;
  border-radius: var(--radius-card);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .34);
  transition: background-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.business-card:hover {
  box-shadow: 0 22px 56px rgba(0, 0, 0, .44);
  transform: translateY(-6px);
}

/* 밝은 카드 — 회사 소개서 */
.business-card.is-light {
  background: var(--c-white);
  border: 1px solid rgba(255, 255, 255, .9);
}
.business-card.is-light:hover { background: var(--c-white); }
.business-card.is-light .business-icon { background: var(--c-primary-tint); color: var(--c-primary); }
.business-card.is-light:hover .business-icon { background: var(--c-primary); color: var(--c-white); }
.business-card.is-light .business-link { color: var(--c-primary); }
.business-card.is-light .business-link:hover { color: var(--c-primary-dark); }
.business-card.is-light .business-link::before { background: var(--c-primary); }

/* 진한 카드 — CONTACT US */
.business-card.is-deep {
  background: var(--c-primary-deep);
  border: 1px solid rgba(255, 255, 255, .16);
}
.business-card.is-deep:hover { background: #0E3055; }
.business-card.is-deep h3 { color: var(--c-white); }
.business-card.is-deep > p { color: rgba(255, 255, 255, .78); }
.business-card.is-deep .business-icon { background: rgba(255, 255, 255, .14); color: var(--c-white); }
.business-card.is-deep:hover .business-icon { background: var(--c-white); color: var(--c-primary); }
.business-card.is-deep .business-info { border-top-color: rgba(255, 255, 255, .22); }
.business-card.is-deep .business-info dt { color: var(--c-primary-light); }
.business-card.is-deep .business-info dd,
.business-card.is-deep .business-info dd a { color: rgba(255, 255, 255, .92); }
.business-card.is-deep .business-info dd a:hover { color: var(--c-white); }
.business-card.is-deep .business-info .is-todo { color: var(--c-accent); }
.business-card.is-deep .business-link { color: var(--c-white); }
.business-card.is-deep .business-link:hover { color: var(--c-white); }
.business-card.is-deep .business-link::before { background: var(--c-white); }

.business-icon {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin-bottom: 26px;
  border-radius: 50%;
  background: var(--c-primary-tint);
  color: var(--c-primary);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.business-icon svg { width: 30px; height: 30px; }
.business-card:hover .business-icon { background: var(--c-primary); color: var(--c-white); }

.business-card h3 {
  font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35;
  color: var(--c-gray-900);
}
.business-card > p {
  margin-top: 14px;
  font-size: 16px; line-height: 1.75;
  color: var(--c-gray-600);
}

/* CONTACT US 정보 */
.business-info {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--c-gray-300);
  display: grid; gap: 10px;
}
.business-info > div { display: flex; align-items: baseline; gap: 14px; }
.business-info dt {
  flex: none; width: 74px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--c-primary);
}
.business-info dd { font-size: 15px; line-height: 1.6; color: var(--c-gray-900); }
.business-info dd a { color: var(--c-gray-900); }
.business-info dd a:hover { color: var(--c-primary); text-decoration: underline; }
.business-info .is-todo { color: #C2870B; }

.business-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 30px;
  font-size: 16px; font-weight: 700; color: var(--c-primary);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.business-link svg { width: 17px; height: 17px; flex: none; }
.business-link:hover { gap: 18px; color: var(--c-primary-dark); }
/* 밑줄은 텍스트 폭에만 걸리도록 의사요소로 처리 */
.business-link::before {
  content: ''; position: absolute; left: 42px; bottom: 38px;
  width: 0; height: 2px; background: var(--c-primary);
  transition: width .3s var(--ease);
}
.business-card:hover .business-link::before { width: 148px; }

@media (max-width: 1023px) {
  .business-list { grid-template-columns: 1fr; gap: 16px; }
  .business-card { padding: 34px 28px 30px; }
  .business-card h3 { font-size: 21px; }
  .business-link::before { display: none; }
}
@media (max-width: 767px) {
  .business-card { padding: 28px 22px 26px; }
  .business-icon { width: 52px; height: 52px; margin-bottom: 18px; }
  .business-icon svg { width: 25px; height: 25px; }
  .business-card h3 { font-size: 19px; }
  .business-card > p { font-size: 15px; }
  .business-card > p br { display: none; }
  .business-info dt { width: 62px; font-size: 11px; }
  .business-info dd { font-size: 14px; }
  .business-link { padding-top: 24px; font-size: 15px; }
}

/* --------------------------------------------------------------------------
   PRODUCT — 부품 위치 도면 (제품소개 페이지로 유도)
   라벨 스타일은 common.css 의 .pm-* 를 그대로 쓴다.
   -------------------------------------------------------------------------- */
.prd-teaser {
  position: relative;
  container-type: inline-size;          /* 라벨 글자가 도면 폭에 비례해 커진다 */
  max-width: 1080px; margin: 0 auto;
}
.prd-teaser img { display: block; width: 100%; height: auto; }


.prd-teaser-cta { margin-top: 32px; text-align: center; }
.prd-teaser-cta .btn svg { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .prd-teaser-cta { margin-top: 22px; }
}
