@font-face {
    font-family: "Pretendard";
    src: url("/b_assets/PretendardVariable.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset-ish */
* { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }

/* Typography & base */
body {
  font-family: "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #1b1f23;
  background: #fff;
  line-height: 1.6;
}

/* Container: 가운데 정렬 공통 레이아웃 */
.container {
  width: min(1280px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; /* 스크롤 시 상단 고정 */
  top: 0;
  z-index: 1000;
  background: #ffffffcc; /* 살짝 투명 */
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #eaecef;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  margin-left: 64px;
  margin: 0 64px;
  width: auto;
}

.logo img {
  width:207px;
  height:75px;
  min-width: 55px;
  overflow: hidden;
  object-fit: cover;
  object-position: left;
}

/* ✔ nav는 항상 오른쪽 정렬 */
.nav {
  margin-left: auto;   /* 오른쪽 끝으로 밀기 */
}
.nav > ul {
  list-style: none;
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}
.nav a {
  font-family: "Pretendard";
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 20px;
}
.nav a:hover {
  color: #5099d2;
  font-weight: 600;
}
.nav li {
  position: relative;
}
.nav-blue-box {
  position: absolute;
  top: 28px;
  width: 100%;
  height: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.4s ease;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  margin-top: 10px;
}
.nav li:hover .nav-blue-box {
  transform: scaleX(1);
  width: 100%;
  opacity: 1;
  visibility: visible;
}

/* 사업영역 서브 메뉴 */
.has-popup { position: relative; }
.has-popup .popup-menu {
  position: absolute; 
  left: 100%;
  top: 100%;
  transform: translate(-40%, 15px) scale(.98);
  min-width: 182px;
  background: #fff; 
  border: 1px solid rgba(17,45,78,0.08);
  box-shadow: 0 9px 6px rgba(0,0,0,0.12);
  filter: drop-shadow(0 9px 6px rgba(0,0,0,.12));
  border-radius:6px;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events:none;
  transition: opacity 0.15s ease, transform .15s ease, visibility 0s .15s;
  z-index: 1000;
}
.has-popup::after {
  content: "";
  position: absolute;
  left:0; right: 0;
  top: 100%;
  height: 46px;
}
.submenu { 
  display:flex;
  flex-direction: column;
  list-style:none;
  margin:0;
  padding:8px 2px;
  gap: 2px;
}
.submenu li {
  padding-bottom: 0px;
}
.submenu li a{
  display:block; 
  padding:6px 15px; 
  border-radius:10px;
  color:#939393;
  font-weight:400;
  font-size: 16px;
}
.submenu li a:hover {
  /*background:#f3f7fd;*/
  color:#5099d2;
  font-weight: 600;
}
.submenu li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 20%;
  bottom: auto;
  height: 1px;
  background-color: #e2e2e2;
  border-radius: 2px;
}
.has-popup:hover .popup-menu {
  top: 100%;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform: translate(-42%, 22px) scale(1);
  transition-delay: 0s;
}

/* Footer */
.site-footer {
  background: #1c2a4f;
  color: #c9d4e5;
  padding: 28px 0 28px;
}
.footer-wrap {
  width: min(1280px, 92vw);
  overflow: hidden;
  position: relative;
}
.footer-wrap {
  display: flex;
  margin-left: 64px;
  margin-right: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.footer-brand img {
  height: auto;
  width: 135px;
  margin: 6px 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.company-line {
  font-size: 13px;
  color: #c9d4e5;
  opacity: .9;
  word-break: keep-all;
}

@media (max-width: 520px) {
  .company-line { font-size: .85rem; }
}

/* Common Fields  End */

/* Hero */
.intro-hero {
  position: relative;
  height: 400px;
  border-bottom: 1px solid #e8eef5;
  overflow: hidden;
}
.intro-hero__img {
  background-image:url('/a_img/intro_01.jpg');
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.0);
  opacity: 70%;
  filter: brightness(1.0);
}
.intro-hero__overlay {
  position: relative; z-index: 1;
  height: 100%;
  display: grid; place-content: center;
  text-align: center; color: #ffffff;
  /*text-shadow: 0 2px 14px rgba(0,0,0,.35);*/
}
.intro-hero .eyebrow {
  letter-spacing: .08em;
  font-weight: 400; 
  margin-bottom: 0px;
  font-family: "Pretendard";
  color: #656565;
  font-size: 17px;
  color: #656565;
}
.intro-hero h1 {
  font-weight: 800;
  font-size: font-size:clamp(28px,3.6vw,42px);
  font-family: "Pretendard";
  font-style: semibold;
  color: #000;
  margin-top: -10px;
}
.hero-overlay-arrow {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0; left:0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 33px;
}

/* 소개 본문 */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.intro-lead {
  margin-top: 60px;
  font-family: "Pretendard";
  width: min(1200px, 92vw);
  margin-bottom: clamp(50px, 26vh, 250px);
}
.intro-lead .lead-quote {
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 700; margin-bottom: 16px;
  font-family: "Pretendard";
  margin-bottom:25px;
}

/* 회사소개 텍스트 줄 간격 */
.intro-lead p { 
  margin-bottom: 4px;
}
.lead-quote02 {
  margin-top:34px;
  font-size: 18px;
  width: 1156px;
}
.lead-text {
  font-size: 18px;
  width: 1152px;
}
/* 비전 */
.intro-vision {
  width: min(1200px, 92vw);
  padding: clamp(24px, 6vw, 48px) 0;
  margin-top: 120px;
  display: flex;
  align-items: flex-start;
}
.intro-vision .container {
  align-items: center;
  justify-items: center;
  width: 1100px;
  margin-left: -22px;
}
.intro-vision img {
  opacity: 0.2;
  width: 1093px;
  height: auto;
  margin-top: -40px;
  
}
.vision-title {
  text-align: left;
  color:#224bb8;
  font-size: 18px;
  font-weight: 600;
  font-family: "Pretendard";
  margin-bottom: 29px;
  width: 55px;
}
.vision-copy {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #000;
  font-family: "Pretendard";
  line-height: 42px;
}
.vision-copy em {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  font-style: normal;
  color: #0163ea;
  font-family: "Pretendard";
}

/* 현황 카드 */
.section-title{
  text-align:left;                 /* ← 가운데 → 왼쪽 */
  color:#224bb8;                   /* 진한 네이비 톤 */
  font-weight:600;
  font-size: 18px;
  font-family: "Pretendard";
}
.intro-stats {
  width: min(1200px, 92vw);
  margin-inline: auto;
  /*margin-top: 64px;*/
  /*display: flex;*/
}
.intro-stats .stats-grid{
  margin-left: 164px;
  margin-right: 164px;
  list-style:none; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(16px,3vw,28px);
}

.intro-stats li{
  position:relative;
  padding-top:160px;
  text-align:center;
}

.intro-stats li::before{
  content:"";
  position:absolute;
  top:18px;
  left:50%;
  width:100px; height:100px;
  transform:translateX(-50%);
  border-radius:50%;
  background:#384252;
  box-shadow:0 8px 20px rgba(42,103,199,.18);
}

.intro-stats img{
  position:absolute;
  top:40px;
  left:50%; transform:translateX(-50%);
  height:52px; width:auto;
  opacity: 80%;
}

.intro-stats .label{
  display:block;
  color:#000000;
  margin-bottom:6px;
  font-weight:400;
  font-size: 18px;
  font-family: "Pretendard";
}
.intro-stats .label-light {
  display:block;
  color:#667788;
  margin-bottom:6px;
  font-weight: 400;
  font-size: 14px;
  font-family: "Pretendard";
}
.intro-stats strong{
  font-size:24px; font-weight:600; color:#007aff;
  font-family: "Pretendard";
}
.intro-stats em{font-size:12px; color:#7f8da0; margin-left:6px;}

/* 연혁 타임라인 */
.container-history {
  width: min(1200px, 92vw);
  margin-inline: auto;
  margin-top: 64px;
  display: flex;
}
.intro-history {
  background:#fff;
  padding: 8px 0 48px;
  display: grid;
  margin-bottom: 64px;
  margin-top: clamp(50px, 7.81vw, 110px);
}

.timeline{
  position:relative;
  list-style:none;
  margin-left: 110px;
  padding-left:42px;
}

.timeline::before{
  content:"";
  position:absolute;
  top:24px;
  bottom: 45px;
  left:21px;
  width:2px;
  background:#a7a7a7;
}

.timeline li{
  display: flex;
  align-items: baseline;
  position:relative;
  margin:16px 0 55px;
}
.timeline .dot{
  position:absolute;
  top:7px;
  left: -27px;
  width:14px; height:14px;
  background:#fff;
  border:3px solid #2a67c7;
  border-radius:50%;
}

.timeline .year { 
  color:#1c2a4f; 
  font-weight:400; 
  font-size: 18px;
  margin-right:36px;
  margin-left: 24px;
  font-family: "Pretendard";
}
.timeline .mon {
  color:#6c778a;
  margin-right:24px;
  font-size: 17px;
  font-family: "Pretendard";
}
.timeline .event{color:#1b1f23;}
.timeline .subnote{ color:#6c778a; margin-left:calc(42px - 6px); }
.timeline .event strong {
    font-weight: 400;
    font-size: 18px;
    color: #000;
    display:block;
    font-family: "Pretendard";
}
.timeline .event .event-sub {
    margin: -5px 0 0 0 ;
    color: #3f3f3f;
    font-weight: 300;
    font-size: 16px;
    font-family: "Pretendard";
}

/* 접근성용 숨김 */
.visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}
/* reveal */
.reveal{opacity:0;transform:translateY(24px);will-change:transform,opacity}
.reveal.is-visible {
  animation:rise-in 4.5s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .2s;
}
.mobile-visible {display:none;}
.menu-toggle {
  background:none; border:none;cursor:pointer;
  width: 24px; height: 24px;
  margin-left: auto;
  margin-right: 20px;
}
.mobile-menu {
  position: absolute;
  top: 71px;
  right: 16px;
  background: #fffffff0;
  border: 1px solid #ddd;
  padding: 8px 0;
  width: 146px;
  z-index:1000;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  border-radius: 4px;
  display:none;
}
.mobile-menu ul {
  list-style: none; margin:0; padding:0;
}
.mobile-menu li a {
  display:block;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
}
.mobile-menu li a:hover { background: #f5f5f5;}
.mobile-menu.is-open { display: block;}

@keyframes rise-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){
  .reveal,.reveal.is-visible{animation:none;opacity:1;transform:none}
}
@media (max-width:720px){
  .intro-stats li{ padding-top:84px; }
  .timeline{ padding-left:36px; }
  .timeline::before{ left:22px; }
  .timeline .dot{ left: calc(18px - 10px); }
}

@media (max-width: 780px) {
  .site-header .container {
    margin: 0 clamp(5px, 3.33vw, 64px);
  }
  .logo img {
    width: 55px;
  }
  .nav a {
    font-size: clamp(14px, 1.5vw, 20px);
  }
  .footer-wrap {
    margin-left: clamp(2px, 3.3vw, 64px);
  }
  .footer-brand img {
    visibility: hidden;
    width: 5px;
  }
  .lead-text, .lead-quote02 {
    font-size: clamp(8px, 3.6vw, 18px);
    width: auto;
  }
  .intro-vision {
    display: grid;
  }
  .intro-vision .container {
    width: auto;
    margin-left: auto;
  }
  .vision-copy, .vision-copy em {
    font-size: clamp(11px, 4.7vw, 30px);
  }
  .intro-stats .stats-grid {
    margin-left: auto;
    margin-right: auto;
  }
  .intro-stats .label {
    font-size: clamp( 15px, 3vw, 18px);
    margin-top: 40px;
  }
  .intro-stats strong {
    font-size: clamp( 17px, 4vw, 24px);
  }
  .container-history {
    display: grid;
  }
  .timeline {
    margin-left: clamp( 5px, 2vw, 16px);
    padding-left: clamp( 5px, 2vw, 16px);
  }
}
@media (max-width: 700px) {
  .logo img {width:207px;}
  .mobile-visible {display:block;}
  .nav {display:none;}
}
@media (prefers-color-scheme: dark) {
  .site-header {
    color-scheme: light dark;
    forced-color-adjust: none;
  }
}
