@charset "utf-8";

:root{
  --text-black: #0f172b;
  --text-white: rgba(255,255,255,1);
  --text-muted: #45556c;
  --text-secondary: #62748e;
  --accent: #32d38a;
  --accent2: #009966;
  --muted: rgba(0,0,0,0.5);
  --pill: #d6d9dd;
  --stroke: rgba(0,0,0,.08);
  --radius: 10px;
  --transition: 0.25s ease;
  --line: #e2e8f1;
  --lightbg: rgba(0,0,0,.025);
  --max: 1400px;
}

main {padding-top: var(--header-h); background:#fff;}
main.submain {padding-top:0; background:#fff;}
.content {margin:0 auto; padding:65px 0 85px 0; background:#fff; width:var(--max);}


.h2 { margin: 10px 0 8px; font-size: 22px; font-weight: 900; }
.small { color: rgba(0,0,0,.62); font-size: 13px; line-height: 1.7; }
.p { color: rgba(0,0,0,.7); line-height: 1.9; font-size: 14px; margin:0; }

/* =====================================================
   Services tabs (sub)
   ===================================================== */
.subtabs {
  background: rgba(11,18,32,.35);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.subtabs .container {
  display:flex;
  justify-content:center;
  gap: 260px;
}
.subtabs a {
  display:inline-flex;
  align-items:center;
  height: 54px;
  color: rgba(255,255,255,.7);
  font-weight: 900;
}
.subtabs a.activ {
  color:#fff;
  position:relative;
}
.subtabs a.active::after {
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: 56px;
  height:2px;
  background:#fff;
  opacity:.9;
  border-radius:2px;
}

/* Footer */
.footer {
  background:#05060a;
  color: rgba(255,255,255,.72);
  padding: 28px 0;
}
.footer .footer-left {
    flex: 1;
    margin-top: 10px;
}
.footer .container {
  display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5% 0;
    position: relative;
    width: 1400px;
    max-width: 90%;
    margin: 0 auto;
}
.footer .copylogo {width:10rem;}
.footer nav>ul {
    display: flex;
    justify-content: space-between;
    gap: 140px;
}
.footer nav>ul li {
    color: rgba(255, 255, 255, .4);
    font-size: 14px;
    line-height: 2.0;
}
.footer nav>ul b { 
  color: rgba(255, 255, 255, .6);
  font-weight: 500; 
  margin-right: 20px;
}

@media (max-width: 980px){
  .company-grid{ grid-template-columns: 1fr; gap: 24px; }
  .feature-cards{ grid-template-columns: 1fr; }
  .card-grid{ grid-template-columns: 1fr; }
  .subtabs .container{ gap: 40px; }
  .pill{ grid-template-columns: 1fr; }
}


/* =========================
   서브 비주얼 이미지
   ========================= */
.sub_visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 420px;
  max-height: 80%;
  transition: 0.5s;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  z-index:1;
}
.sub_visual.shadow {
  box-shadow: 100px 20px 150px 50px rgb(7 9 21);
}
.sub_visual h2 {
    position: relative;
    color: #fff;
    font-weight: 500;
    font-size: 36px;
    line-height: 120%;
    opacity: 1;
    transition: 1s;
}
.sub_visual.on {
  background: #000;
}
.sub_visual_bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-position: center top;
  background-repeat: no-repeat;
  /* background-attachment: fixed;테스트용삭제 */
  background-size: cover;
  transform: scale(1.2);
  z-index: 0;
}
.sub_.visual.on .sub_visual_bg {
  transform: scale(1);
  transition: transform ease-out 2s;
}
.sub_visual01 {
  background-image: url("/static/img/comm/sub_visual01.png");
}
.sub_visual02 {
  background-image: url("/static/img/comm/sub_visual02.png");
}
.sub_visual03 {
  background-image: url("/static/img/comm/sub_visual03.png");
}
.sub_visual04 {
  background-image: url("/static/img/comm/sub_visual04.png");
}

/* =====================================================
   sub.css Mobile Override
   ===================================================== */

/* ===== 공통 ===== */
@media (max-width: 980px) {
  main { padding-top: 64px; }

  .content {
    width: 100%;
    padding: 40px 16px 60px;
  }
}

/* ===== Page Hero ===== */
@media (max-width: 768px) {
  .page-hero {
    height: 220px;
    min-height: 200px;
  }

  .page-hero h1 {
    font-size: 24px;
  }
}

/* ===== Sub Tabs ===== */
@media (max-width: 980px) {
  .subtabs .container {
    gap: 32px;
  }

  .subtabs a {
    font-size: 14px;
    height: 48px;
  }
}

/* ===== Sub Visual ===== */
@media (max-width: 768px) {
  .sub_visual {
    height: 260px;
  }

  .sub_visual h2 {
    font-size: 26px;
  }
}
