/* Common Values */
@font-face {
    font-family: "Pretendard";
    src: url("/b_assets/PretendardVariable.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root{
  --blue:#2a67c7;
  --ink:#1b2430;
  --muted:#6b7b8c;
  --bg-soft:#f6f9fc;
}
/* 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(1200px, 92vw);
  /* margin-inline: auto;*/
  margin: 0 auto;
  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;
  /*line-height: 1.6;*/
  color: #c9d4e5;
  word-break: keep-all;
  margin: 0;
}

@media (max-width: 520px) {
  .company-line { font-size: .85rem; }
  .footer-brand img { height: 24px; }
}

/* Common Fields  End */
/* ----------------------------------------------------*/
:root{
  --container: 1120px;
  --radius-lg: 16px;
  --gap: clamp(20px, 4vw, 32px);
  --shadow: 0 8px 30px rgba(0,0,0,.12);
  --text: #222;
  --muted: #5b6573;
  --brand: #214cdb;
}

/* 공통 레이아웃 */
.section {
  padding: clamp(32px, 7vw, 72px) 0;
  font-family: "Pretendard";
}
.section--soft { background: #f6f9fc; }

.eyebrow{ font-size:.9rem; color:var(--brand); font-weight:700; margin:0 0 .4rem; letter-spacing:.02em; }
h1,h2,h3,h4{ margin:.4rem 0 .6rem; line-height:1.25; }
p{ color:var(--muted); margin:.4rem 0 0; }

.plate{
  background:#fff;
  /*border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);*/
}

/* 그리드 */
.grid{ display:grid; gap: var(--gap); align-items:center; }
.grid--2col{ grid-template-columns: 1.1fr 1fr; }
.grid--4col {
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  /*gap: clamp(0px, 1.2vw, 20px);*/
  gap: 0;
}
.grid--swap{ direction: rtl; }
.grid--swap > *{ direction: ltr; }

/* 반응형 */
@media (max-width: 960px){
  .grid--2col{ grid-template-columns: 1fr; }
  .grid--4col{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .grid--4col{ grid-template-columns: 1fr; }
}

/* Hero */
.hero {
  position:relative;
  height: 400px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero__bg, .hero__bg img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero__bg img { 
  object-fit: cover; 
  object-position: center 18%;
  opacity: 1;
  max-width: 200%;
}
.hero__inner { 
  position:relative;
  text-align:center;
  color:#fff;
  font-family: "Pretendard";
  margin-top: -7px;
}
.hero__kicker {
  margin:0 0 .25rem;
  margin-bottom: 7px;
  opacity:1.0;
  color: #656565;
  font-size: 17px;
  font-weight: 400;
  /*text-shadow: 0px 2px 6px rgba(255,255,255,1);*/
}
.hero__title{
  font-size: font-size:clamp(28px,3.6vw,42px);
  color: #000;
  font-weight: 600;
  margin:0;
  margin-top: -10px;
  letter-spacing:.04em;
  /*text-shadow: 0 2px 6px rgba(0,0,0,0.45);*/
}
.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;
}
/* 미디어 카드 (이미지 박스) */
.media-card {
  border-radius: var(--radius-lg);
  overflow:hidden;
}
.gse-image-card {
  position: relative;
  display: flex;
  height: 333px;
}
.gse-logo {
  position: absolute;
  top: calc(100% - 34px - 13px);
  left: calc(100% - 65px - 13px);
  width: 65px;
  height:34px;
  object-fit:contain;
  display:block;
}
.gse-person {
  display:block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 7%;
  opacity: .9;
  min-width: 380px;
}
/*.media-card img{
  display:block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
  min-width: auto;
  max-width: auto;
}
*/
.opa90 img {
  opacity: 0.9;
}

/* 텍스트 블록 */
.feature-slab__title{
  font-size: clamp(22px, 3vw, 28px); /* 살짝 줄여서 피그마 간격 맞춤 */
  font-weight: 700;
  margin: 0 0 .6rem;
}
/* 오렌지 포인트 GSE Solutions */
.feature-slab__title .hl{ 
  color:#dd8d14;
  font-size: clamp(35px, 2.08vw, 40px);
  font-weight: 700;
} 

/* 설명 문장 간격 */
.feature-slab__desc {
  margin-top: .25rem;
  color:#5b6573;
  font-size: clamp(20px, 1.14vw, 22px);
  font-weight: 400;
}

/* 이미지 카드 높이/둥근 모서리 */
.media-card {
  /*border-radius: 25px; overflow: hidden;*/
  width: 481px;
  height: 333px;
}

/* 아이콘 4개: 카드 느낌, 고정 높이(피그마 287x305에 근접) */
.icons .grid{ align-items: stretch; }  /* 모두 같은 높이로 */
.icon-item{
  background:#fff;
  padding: 28px 22px;
  min-height: 305px;                 /* 피그마 높이 맞춤 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: center;
}
.icon-item-grey {
  background:#f5f5f5;
  padding: 28px 22px;
  min-height: 305px;                 /* 피그마 높이 맞춤 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: center;
}
/* 아이콘 배지(원형 오렌지) */
.icon-item__icon{
  width: 80px;
  height: 80px;
  /*padding: 18px;
  background: #ffa112;
  border-radius: 50%;*/
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(246,162,26,.35));
  margin-top: -40px;
}
.icon-item__icon1 {
  width: 49px;
  height: 31px;
  object-fit: contain;
  /*filter: drop-shadow(0 2px 6px rgba(246,162,26,.35));*/
  margin-top: -68px;
  margin-bottom: 35px;
}
.icon-item__icon2 {
  width: 38px;
  height: 38px;
  object-fit: contain;
  /*filter: drop-shadow(0 2px 6px rgba(246,162,26,.35));*/
  margin-top: -70px;
  margin-bottom: 31px;
}
.icon-item__icon3 {
  width: 42px;
  height: 42px;
  object-fit: contain;
  /*filter: drop-shadow(0 2px 6px rgba(246,162,26,.35));*/
  margin-top: -73px;
  margin-bottom: 30px;
}
.icon-item__icon4 {
  width: 44px;
  height: 44px;
  object-fit: contain;
  /*filter: drop-shadow(0 2px 6px rgba(246,162,26,.35));*/
  margin-top: -75px;
  margin-left: 1px;
  margin-bottom: 30px;
}
/* 아이콘 타이틀/본문 톤 */
.icon-item h4 {
  margin-top: 25px;
  /*font-size: 18px;*/
  font-size: clamp(20px, 1.04vw, 20px);
  color:#202020;
  text-align: center;
  width: 232px;
  /*margin-left: 20px;*/
}
.icon-item p {
  font-size: 16px;
  line-height: 1.3;
  color:#424242;
  text-align: left;
  width: 204px;
  /*margin-left: -12px;*/
}
.icon-item-grey h4 {
  margin-top: 25px;
  /*font-size: 18px;*/
  font-size: clamp(20px, 1.04vw, 20px);
  color:#202020;
  text-align: center;
  width: 232px;
  /*margin-left: 20px;*/
}
.icon-item-grey p {
  font-size: 16px;
  line-height: 1.3;
  color:#424242;
  text-align: left;
  width: 199px;
  /*margin-left: -12px;*/
}

/* 태그라인 살짝 톤다운(피그마 대비) — 선택사항 */
.tagline__title{ font-weight:700; }
.tagline__desc{ opacity:.9; }


/* Tagline */
.tagline { 
  display: grid;
  place-items: center;
  text-align:center;
  height: 318px;
  align-items: center;
  padding: 0;
}
.tagline-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}
.tagline-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/a_img/solution.jpg") no-repeat center bottom /cover;
  opacity: 0.6;
  z-index: 0;
}
.tagline-box img {
  object-fit: cover;
  opacity: 0.6;
}
.tagline__title {
  font-size: 35px;
  font-weight: 600;
  font-family: "Pretendard";
  color: #000;
  margin-bottom:0;
  z-index: 1;
}
.tagline__desc {
  font-size: 23px;
  font-weight: 300;
  font-family: "Pretendard";
  color: #000;
  margin-bottom:.4rem;
}

/* ---------------- DIVA Section ---------------- */
.diva-section {
  background: #fff;
  text-align: center;
  padding-top: clamp(80px, 18.5vh, 200px);
  padding-bottom: 10px;
}

.diva-visual {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(24px, 5vw, 48px);
  width: 481px;
  height: 333px;
  margin-left: clamp(12px, 2.6vw, 50px);
}

.diva-visual img {
  /*width: min(100%, 720px);
  height: auto;
  object-fit: contain;*/
  
  display:block;
  width: 100%;
  height: 100%;
  /*width:100%;
  height: clamp(220px, 26vw, 340px);*/
  object-fit: cover;
  object-position: center;
  /*min-width: calc(100% * var(--zoom, 1));*/
  transition: transform .4s ease;
  min-width: auto;
  max-width: auto;
}

.diva-text {
  margin-bottom: clamp(32px, 6vw, 64px);
  text-align: right;
  padding-right: 25px;
}

.diva-text .eyebrow {
  font-size: clamp(22px, 3vw, 28px);
  color: #000;
  font-weight: 600;
  margin-bottom: 17px;
}

.diva-text .hl {
  color: #1b2d7b;
  font-weight: 700;
  font-size: clamp(35px, 2.08vw, 40px);
}

.diva-text .diva-desc {
  font-size: clamp(20px, 1.3vw, 25px);
  color: #424242;
  margin-top: .3rem;
}

/* DIVA icon 카드 재정렬 (기존 icons 구조 재활용) */
.diva-icon-section {
  background: #fff;
  text-align: center;
  padding: clamp(0px, 2vw, 30px) 10px;
  padding-top: clamp(0px, 2vw, 30px);
  padding-bottom: 10px;
  margin-bottom: clamp(120px, 12vw, 240px);
}
.diva-icons .icon-item,
.diva-icons .icon-item-grey {
  min-height: 280px;
  padding: 30px 24px;
}

/*
.diva-icons .icon-item img,
.diva-icons .icon-item-grey img {
  width: 80px;
  height: 80px;
  background: #1b2d7b;
  border-radius: 50%;
  padding: 10px;
  object-fit: contain;
}
*/
.icon-img {
  width: 40px;
  height: 40px;
}
.icon-img__1 {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: -70px;
  margin-bottom: 30px;
}
.icon-img__2 {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: -70px;
  margin-bottom: 30px;
}
.icon-img__3 {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-top: -78px;
  margin-bottom: 27px;
  margin-left: 0px;
}
.icon-img__4 {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-top: -76px;
  margin-bottom: 31px;
  margin-left: 1px;
}
.diva-icons h4 {
  margin-top: 18px;
  font-size: clamp(20px, 1.2vw, 20px);
  padding: 0;
  /*margin-left: 20px;
  margin-right: 0px;*/
}

.diva-icons p {
  font-size: clamp(16px, 1vw, 16px);
  line-height: 1.3;
  color: #424242;
  margin-bottom: 20px;
}
.mobile-br{display:none;}
/* 반응형 */
@media (max-width: 960px) {
  .diva-icons { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .diva-icons { grid-template-columns: 1fr; }
}

/* ===== 스크롤 등장(밑→위, 촤르륵) ===== */
/* 기본(지원 안 될 때) – 살짝 페이드만 */
.reveal {
  opacity:0;
  transform: translateY(24px);
  will-change:transform,opacity;
}
.reveal.is-visible {
  animation: rise-in .6s ease-out forwards;
  animation-delay: 0s;
}
.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{ animation:none !important; transition:none !important; opacity:1 !important; transform:none !important; }
}
@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;
  }
  .tagline__title {font-size: clamp(25px, 6vw, 35px);}
  .tagline__desc {font-size: clamp(15px, 4vw, 23px);}
  .media-card {width:auto;height:auto;}
  .mobile-br{display:block;}
  .diva-visual{width:auto;height:auto;}
}
@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;
  }
}
