/*전체 기본*/
/* Pretendard */
@font-face {
    font-family: 'Pretendard';
    src: url('../font/Pretendard-Light.otf') format('opentype');
    font-weight: 300;
}
@font-face {
    font-family: 'Pretendard';
    src: url('../font/Pretendard-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../font/Pretendard-Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../font/Pretendard-SemiBold.otf') format('opentype');
    font-weight: 600;
}


/* Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../font/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
}


:root{--bg: #020202; --fg: #eef0ff; --muted: rgba(238,240,255,.72); --dot: rgba(255,255,255,.45); --dot-active: #ff7a00;   --dot-size: 6px; --dot-gap: 10px; --pi-w: 44px;}
*{ box-sizing: border-box; }
html, body{ height: 100%; overflow-x: hidden;}
body{margin: 0; font-family: 'Pretendard', Segoe UI, Roboto, "Noto Sans KR", sans-serif; background: var(--bg); color: var(--fg);}

.skip-link{position: absolute; left: -9999px; top: 8px; padding: 10px 12px; border-radius: 8px; background: #111; color: #fff; z-index: 9999;}
.skip-link:focus{ left: 12px; }

.section{min-height: 100vh; display: grid; /* place-items: center;*/ }
.section--hero {position: relative; overflow: hidden;}


.section--hero .inner {position: relative; z-index: 1; text-align: center;}
.inner{margin: 0 auto;}
.page-indicator{position: fixed; right: 40px; top: 50%; transform: translateY(-50%); width: var(--pi-w); display: grid; justify-items: center; gap: 20px; z-index: 1000; user-select: none;}
.pi-arrow{width: 28px; height: 28px; cursor: pointer; display: grid; place-items: center;}
.pi-arrow:hover{ border-color: rgba(255,255,255,.32); }
.pi-arrow:disabled{opacity: .35; cursor: not-allowed;}
.pi-dots{margin: 0; padding: 8px 0; list-style: none; display: grid; gap: var(--dot-gap); justify-items: center;}
.pi-dot{width: 24px; height: 24px; border: 0; background: transparent; cursor: pointer; position: relative;}
.pi-dot::before{content: ""; position: absolute; inset: 50% auto auto 50%; width:12px; height: 12px; transform: translate(-50%,-50%); border-radius: 999px; background: rgba(153, 153, 153, 0.4); transition: transform .18s ease, background .18s ease, box-shadow .18s ease;}
.pi-dot[aria-current="true"]::before{background: var(--dot-active); box-shadow: 0 0 0 4px rgba(255,122,0,.2); transform: translate(-50%,-50%) scale(1.1);}
.pi-dot:focus-visible, .pi-arrow:focus-visible{outline: 2px solid rgba(255,122,0,.85); outline-offset: 3px;}



.top_tit {color: #FF7700;  font-weight: 600; text-transform: uppercase; font-size: 20px; text-align: center; margin: 100px 0 40px;}
.title_wrap {margin-bottom: 100px;}
.title_wrap strong {font-weight: 600; color: #fff; font-size: 28px; display: block; text-align: center;}
.title_wrap span {color: #eee; font-size: 22px; display: block; text-align: center; margin-top: 12px; line-height: 1.8rem; font-weight: 300;} 
.mob_only {display: none;}

#sec-2 .inner, #sec-3 .inner {align-content: center;}
.Montserrat {font-family: 'Montserrat'; }

.section .inner {opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; will-change: opacity, transform;}
.section.is-inview .inner {opacity: 1; transform: translateY(0);}

@media (prefers-reduced-motion: reduce) {
  .section .inner {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

#sec-2, #sec-5{ background: #fff; }
#sec-2 .title_wrap strong, #sec-5 .title_wrap strong  {color: #222;}
#sec-2 .title_wrap span , #sec-5 .title_wrap span {color: #444;}


/*섹션1*/
.section--hero .bg-video {position: absolute; inset: 0; width: 100%; height: 100%;   object-fit: cover; z-index: 0; margin-top: 100px;}



/* 섹션2 */


.service-slide { padding: 80px 0; background: #fff; }
.svc-viewport { position: relative; width: 100vw; overflow: hidden; left: 50%; transform: translateX(-50%); }
.svc-track {display: flex; gap: 22px; padding:0 0 40px; width: max-content; will-change: transform; transition: transform .5s ease;}
.svc-card {flex: 0 0 462px; border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,.15);}
.svc-open{appearance: none; border: 0; background: none; padding: 0; display: block; width: 100%; cursor: grab;}
.svc-open:active{ cursor: grabbing; }

.svc-media{position: relative; width: 100%; aspect-ratio: 1 / 1.2; overflow: hidden; background: #070819; box-shadow: 0 22px 60px rgba(0,0,0,.45); display: block;}
.svc-video { position: absolute; inset: 0; width: 100%; height: 117%; transform: scale(1); transition: transform .35s ease; }
.svc-card:hover .svc-video { transform: scale(1.06); }

.svc-meta{position: absolute; inset: 0; padding: 18px 16px; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; color: #fff; pointer-events: none; background: radial-gradient(80% 80% at 50% 15%, rgba(0,0,0,.45), rgba(0,0,0,0) 55%);}
.svc-title{ font-size: 32px; letter-spacing: -0.2px; text-align: center; padding: 50px 0 10px; }
.svc-view{ font-size: 20px; text-align: center; color: #C5D5E0; font-weight: 400; }
[hidden] { display: none !important; }
.svc-overlay{position: absolute; inset: 0; z-index: 20;}
.svc-overlay_backdrop{position: absolute; inset: 0;}
.svc-overlay_panel{position: absolute; inset: 0; border-radius: 20px; padding: 70px 26px 26px; color: #fff; background: rgba(18, 20, 35, .45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: pop .18s ease-out;}

@keyframes pop{
  from{ transform: scale(.98); opacity: .4; }
  to{ transform: scale(1); opacity: 1; }
}

.svc-close{position: absolute; right: 24px; top: 20px; width: 42px; height: 42px; cursor: pointer; border: 0; background: transparent;}
.svc-overlay_title{ margin: 0 0 50px; text-align: center; font-size: 32px; letter-spacing: -0.4px; }
.svc-overlay_text{ text-align: center; font-size: 21px; line-height: 1.75; opacity: .95; }
.svc-overlay_text li{ font-weight: 400; }
.IT_servicio .svc-media {background: #0B1738;}


.svc-overlay { display:none; }
.svc-overlay:not([hidden]) { display:block; }

.svc-controls{display:flex; justify-content:center; align-items:center; gap: 20px; margin-bottom: 60px;}
.svc-indicator{display:flex; align-items:center; gap: 10px;}
.svc-nav{width: 34px; height: 34px; border: 0; border-radius: 999px; background: #121423; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition: all .2s ease;}
.svc-nav:hover{transform: scale(1.08);}
.svc-nav span{font-size: 22px;}
.svc-nav:disabled{opacity:.3; cursor:default;}
.svc-dot{width: 10px; height: 10px; border-radius: 999px; background: rgba(18,20,35,.25); border:0; cursor:pointer; transition: all .25s ease;}
.svc-dot.is-active{width: 30px; background:#121423;}


/*섹션3*/
#sec-3, #sec-6 {position: relative; min-height: 100vh; overflow: visible; }
#sec-3 .bg-video, #sec-6 .bg-video {  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden; /* ✅ 여기서만 자르기 */
  pointer-events: none;}
#sec-3 .bg-video video, #sec-6 .bg-video video {width: 100%; height: 100%; object-fit: cover;}
#sec-3 .bg-video::after, #sec-6 .bg-video::after {content: ""; position: absolute; inset: 0; background:linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.15) 40%, rgba(0,0,0,.55));
}
#sec-3 .inner {position: relative; z-index: 1; min-height: 100vh;}

.tres_caja {display: flex; gap: 60px;}
.tres_caja > li {background: linear-gradient(to bottom, rgba(162, 194, 255, 0.2) 0%, rgba(158, 158, 158, 0.2) 100%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 54px 60px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1);  box-shadow: 0 0 20px 10px rgba(54, 54, 54, 0.2); min-width: 430px;}
.tres_caja > li:hover { border: 1px solid rgba(255, 255, 255, 0.2); background: linear-gradient(to bottom, rgba(225, 236, 255, 0.05) 0%, rgba(235, 233, 233, 0.05) 100%);}
.tres_caja p { font-size: 32px; font-weight: 600; line-height: 3rem; margin-bottom: 46px;}
.tres_caja ol b {display: block; font-size: 22px; margin-bottom: 16px; font-weight: 500;}
.tres_caja ol span {font-size: 18px; line-height: 1.8rem; font-weight: 300; padding-left: 10px; display: block; position: relative;}
.tres_caja ol span::before {content: '·'; display: inline-block; position: absolute; left: 0;}
.tres_caja ol li:first-child {margin-bottom: 32px;}


/*섹션4*/
.seis_list {display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: center; width: 80%; margin: 0 auto;}
.seis_list li {padding:40px 32px 24px; border-radius: 20px;}
#sec-4 b {font-size: 24px; font-weight: 600; margin: 40px 0 12px; display: block;}
#sec-4 span {font-size: 18px; line-height: 1.8rem;}
.seis_list li:hover {background: #262647;}
.seis_list li img {transition: transform 0.6s ease;}
.seis_list li:hover img {animation: float 1.3s ease-in-out infinite;}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  30% {
    transform: translateY(-10px) rotate(3deg);
  }
  80% {
    transform: translateY(0) rotate(7deg);
  }
  100% {
    transform: translateY(0) rotate(3deg);
  }
}

.partner_wrap {background: #101021; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); margin: 80px auto 150px; text-align: center; padding: 20px; width: 80%;}

.partner_wrap ul {display: flex; flex-wrap: wrap; width: 60%; gap: 32px; align-items: center; justify-content: center; margin: 50px auto;}




/*섹션5*/
#sec-5 {color: #222; text-align: center;}
#sec-5 .inner {width: 60%;}
.history_list {margin-bottom: 100px;}
.history_list:last-child {margin-bottom: 150px;}
.year {font-size: 40px; font-weight: 700; display: block; margin-bottom: 30px;}
.detail_list > li {background: #F5F5F5; border-radius: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; width: 100%; font-size: 20px; padding: 20px 24px; align-items: center;}
.detail_list ol li {text-align: right; line-height: 2rem;}
.detail_list > li:hover {background: #fff2de;}
.detail_list > li span {font-size: 20px;}
.detail_list ol li {font-size: 18px;}


/*섹션6*/
#sec-6 {min-height: initial;}
.company_info {display: grid; grid-template-columns: auto auto;
  grid-template-areas:
    "addr addr"
    "tel  fax";
  gap: 20px 10px;
  color: #fff; width: 450px; margin: 0 auto 50px; font-size: 20px; font-weight: 300; text-align: center;}

.company_info .addr { grid-area: addr; }
.company_info .tel  { grid-area: tel; }
.company_info .fax  { grid-area: fax; }
.company_info .Montserrat {font-weight: 600;}
.copyright {text-align: center; margin-bottom: 80px;}
#sec-6 .bg-video::after {background:rgba(0,0,0,.65);}

@media (max-width: 1366px){
  .tres_caja {gap: 20px; flex-direction: column; margin-bottom: 150px;}
  .seis_list {gap: 20px; grid-template-columns: repeat(2, 1fr); width: 80%; margin:0 auto}
  .seis_list li {padding: 24px;}
  .partner_wrap {width: 80%; margin: 80px auto 150px; padding: 30px;}

  #sec-5 .inner {width: 80%;}

}

@media (max-width: 1024px){

  .section {min-height: initial;}
  #sec-1 .inner {padding-bottom: 800px;}

  .tres_caja li {margin-bottom: 40px;}

  .tres_caja > li {width: 100%;}
}

@media (max-width: 860px){

  #sec-1 .inner {padding-bottom: 500px;     opacity: 1 !important;
    transform: none !important;
    transition: none !important;}
  #sec-1 img {margin-top: -80px; width: 80%;}

  .svc-card{ flex-basis: 300px; }
  .svc-title {font-size: 24px; padding-top: 24px;}
  .svc-overlay_title {font-size: 24px; margin-bottom: 30px;}
  .svc-overlay_text {font-size: 18px;}
  .svc-overlay_panel {padding-top: 34px;}
  .seis_list b {line-height: 1.8rem;}
  .mob_only {display: block;}

  .detail_list > li {display: block;}
  .detail_list li span {display: block; margin-bottom: 16px; font-weight: 600;}
  .detail_list ol li {text-align: center;}

    .top_tit {font-size: 16px;}
   #sec-1 .top_tit {margin-top: 30px;}
  #sec-1 .inner {padding-bottom: 364px;}

  .svc-card {flex-basis: 290px;}
  .seis_list {display: block;}
  .detail_list > li {font-size: 18px;}
  .seis_list li {padding: 20px; margin-bottom: 40px;}
  
  .tres_caja > li {width: calc(100% - 24px); padding: 34px 30px; background: linear-gradient(to bottom, rgba(0, 0, 0, 3.5) 0%, rgba(0, 0, 0, 1.5) 100%); margin: 0 auto; min-width: initial;}
  .tres_caja > li:hover { background: linear-gradient(to bottom, rgba(0, 0, 0, 10.5) 0%, rgba(0, 0, 0, 10.5) 100%);}
  .tres_caja p {font-size: 24px; line-height: 2rem; margin-bottom: 24px;}

  .tres_caja ol b {font-size: 18px;}
  .tres_caja ol span {font-size: 16px;}
  .tres_caja li {margin-bottom: 0;}

  #sec-4 b {font-size: 24px;}
  #sec-4 span {font-size: 16px;}


  .detail_list ol li {margin-top: 10px; line-height: 1.5rem; font-size: 16px; letter-spacing: -0.8px;}
 #sec-5 .inner, #sec-6 .inner {width: calc(100% - 40px);}

  

}



@media (max-width: 640px){
  .page-indicator {display: none;}

  .company_info {display: block; width: initial;}
  .company_info span {display: block; font-size: 18px; margin-bottom: 20px;}

  .partner_wrap ul img {max-width: 180px;}
  .company_info b {display: block; margin-bottom: 4px;}

  #sec-1 .inner {padding-bottom: 268px;}
  #sec-1 .top_tit {margin:60px 0 80px;}
  .section--hero .bg-video {object-fit: contain; left: -70px; width: 140%;}
  
  .top_tit {margin-top: 60px;}
  .title_wrap {margin-bottom: 40px;}
  .title_wrap strong {font-size: 24px;}
  .title_wrap span {font-size: 18px;}

  .seis_list li {padding: 10px; margin-bottom: 80px;}
  .seis_list li img { transition: none; }
  .seis_list li:hover {background: none;}
  .seis_list li:nth-child(even) img {animation: float 1.3s ease-in-out infinite;}
  .seis_list li:nth-child(odd) img {animation: floatReverse 1.5s ease-in-out infinite;}

  @keyframes floatReverse {
    0% {
      transform: translateY(0) rotate(0deg);
    }
    30% {
      transform: translateY(-8px) rotate(-3deg);
    }
    50% {
      transform: translateY(0) rotate(-6deg);
    }
    100% {
      transform: translateY(0) rotate(-3deg);
    }
  }

}