@charset "utf-8";

/* ==========================================================================
   SEM — IT Solution Page Styles (Matching image.png Design Reference)
   ========================================================================== */

:root {
  --it-blue: #0056b3;
  --it-blue-light: #1677ff;
  --it-blue-accent: #0f6cb4;
  --it-blue-bg: #eef5fc;
  /* 섹션 배경은 이 3가지만 사용 (다른 페이지와 동일) */
  --it-bg: #ffffff;
  --it-gray-bg: #f8fafc;
  --it-dark-bg: #0b1626;
  --it-dark-card: rgba(255, 255, 255, 0.05);
  --it-text-dark: #0d1e38;
  --it-text-muted: #5b6b7f;
  --it-border: #e2e8f0;
  --it-radius-lg: 16px;
  --it-radius-md: 10px;
  --it-shadow-card: 0 10px 30px rgba(0, 45, 100, 0.06);
  --it-shadow-hover: 0 16px 40px rgba(0, 45, 100, 0.12);
}

/* ================= Header & GNB ================= */
/* Let style.css standard GNB handle underline alignment smoothly */

/* ================= Shared Typography & Buttons ================= */
.it-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0056b3;
  margin-bottom: 16px;
}
.it-eyebrow--light {
  color: #4da5ff;
}

/* 섹션 제목 — 전 섹션 공통 (개별 크기 지정 금지) */
.it-section-title {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--it-text-dark);
  margin: 0 0 16px;
}

/* ================= 2. OUR APPROACH SECTION ================= */
.it-approach-sec {
  padding: clamp(56px, 5.6vw, 78px) 0 clamp(60px, 6vw, 84px);
  background: var(--it-gray-bg);
  position: relative;
}

.it-approach-header {
  max-width: 820px;
  margin-bottom: 48px;
}

.it-approach-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5d73;
  word-break: keep-all;
}

/* 4-Cards Grid */
.it-approach-cards {
  /* 카드 구분선 — 세로 · 가로 모두 이 값 하나를 사용 */
  --appr-line: 2px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--it-shadow-card);
  border: 1px solid #eef2f6;
  overflow: hidden;
}

.it-appr-card {
  padding: 34px 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}
/* 카드 사이 구분선 — 번호와 동일한 색상 */
.it-appr-card::after {
  content: "";
  position: absolute;
  top: clamp(20px, 2.2vw, 30px);
  bottom: clamp(20px, 2.2vw, 30px);
  right: 0;
  width: var(--appr-line);
  background: var(--it-blue);
}
.it-appr-card:last-child::after {
  content: none;
}

.it-appr-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 60, 130, 0.09);
  z-index: 2;
}

.it-appr-card__num {
  font-size: 20px;
  font-weight: 800;
  color: #0056b3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.it-appr-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0d1e38;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.it-appr-card__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 18px;
  word-break: keep-all;
  flex-grow: 1;
}

.it-appr-card__img-wrap {
  width: 100%;
  height: clamp(94px, 7.6vw, 116px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.it-appr-card__img-wrap img {
  max-width: 112px;
  max-height: 112px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 70, 150, 0.1));
}
.it-appr-card:hover .it-appr-card__img-wrap img {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 16px 22px rgba(0, 70, 150, 0.18));
}

/* ================= 3. OUR VALUE SECTION ================= */
.it-value-sec {
  background-color: var(--it-dark-bg);
  background-image: 
    radial-gradient(ellipse at 80% 90%, rgba(0, 114, 239, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 10%, rgba(15, 108, 180, 0.2) 0%, transparent 60%);
  position: relative;
  padding: clamp(52px, 5.2vw, 72px) 0 clamp(56px, 5.6vw, 78px);
  color: #ffffff;
  overflow: hidden;
}

.it-value-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
  pointer-events: none;
}

.it-value-sec::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.4), transparent);
}

.it-value-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.it-value-left .it-section-title { color: #ffffff; }

.it-value-left p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #94a3b8;
  word-break: keep-all;
}

.it-value-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.it-value-col {
  padding: 10px 24px 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.it-value-col__num {
  font-size: 24px;
  font-weight: 800;
  color: #1a82e2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.it-value-col__text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* ================= 4. SOLUTION OVERVIEW SECTION ================= */
.it-overview-sec {
  padding: clamp(56px, 5vw, 76px) 0;
  background: var(--it-bg);
  position: relative;
}

.it-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 2.8vw, 42px);
}

.it-overview-left p {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5d73;
  margin-bottom: 24px;
  word-break: keep-all;
}

/* Positions for 5 Nodes (Circle centers at: Top(250, 75), Top-Right(388, 175), Bottom-Right(335, 337), Bottom-Left(165, 337), Top-Left(112, 175)) */

/* ================= 5. SUPPORTED STANDARDS (사선 사진 프레임) ================= */
.it-sec-standards {
  overflow: hidden;
  padding: clamp(56px, 5.6vw, 78px) 0 clamp(62px, 6.2vw, 88px);
  background: var(--it-gray-bg);
  border-top: 1px solid #edf2f7;
}

.std-frames {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: clamp(24px, 3vw, 40px);
}
.std-frame {
  position: relative;
  min-height: clamp(300px, 27vw, 400px);
  overflow: hidden;
  transform: skewX(-7deg);
}

.std-frame__bg {
  position: absolute;
  inset: 0;
  transform: skewX(7deg) scale(1.25);
  transition: transform 0.6s ease;
}
.std-frame__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.std-frame:hover .std-frame__bg { transform: skewX(7deg) scale(1.32); }
.std-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.62) 45%,
    rgba(0, 0, 0, 0.88) 100%);
}

.std-frame__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  transform: skewX(7deg);
  padding: clamp(18px, 1.8vw, 26px) clamp(16px, 1.5vw, 22px);
}
.std-frame__cat {
  font-size: clamp(14px, 1.2vw, 16.5px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  word-break: keep-all;
}
.std-frame__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.std-frame__list li {
  position: relative;
  padding-left: 11px;
  font-size: clamp(11.5px, 0.95vw, 13px);
  line-height: 1.55;
  color: #c6d5e6;
  word-break: keep-all;
}
.std-frame__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--it-blue);
}
.std-frame__list a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.std-frame__list a:hover { color: #ffffff; border-bottom-color: var(--it-blue); }

.std-frame__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--it-blue);
}
.std-frame__link svg { transition: transform 0.3s ease; }
.std-frame:hover .std-frame__link svg { transform: translateX(4px); }

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1100px) {
  .it-approach-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .it-appr-card:nth-child(2)::after {
    content: none;
  }
  .it-appr-card:nth-child(-n+2) {
    border-bottom: var(--appr-line) solid var(--it-blue);
  }
  
  .it-value-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .it-value-cols {
    grid-template-columns: repeat(2, 1fr);
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .it-value-col {
    padding: 20px 16px;
  }
  .it-value-col:nth-child(2) {
    border-right: none;
  }
  .it-value-col:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .it-overview-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .std-frames { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .std-frame { transform: none; border-radius: 10px; }
  .std-frame:first-child, .std-frame:last-child { margin-inline: 0; }
  .std-frame__bg { transform: scale(1.02); }
  .std-frame:hover .std-frame__bg { transform: scale(1.08); }
  .std-frame__body { transform: none; }}

@media (max-width: 860px) {
  
  .it-approach-cards {
    grid-template-columns: 1fr;
  }
  .it-appr-card::after {
    content: none;
  }
  /* 한 열로 접히면 파란 굵은 선이 가로로 길게 그어져 화면을 잘라 놓는 것처럼
     보인다. 구분은 남기되 눈에 띄지 않는 실선으로 낮춘다.
     위쪽 1100px 구간의 :nth-child(-n+2) 규칙이 선택자가 더 구체적이라
     그대로 두면 1·2번 카드에만 파란 선이 남는다. 함께 덮어쓴다. */
  .it-appr-card,
  .it-appr-card:nth-child(-n+2) {
    border-bottom: 1px solid #eef2f7;
  }
  .it-appr-card:last-child,
  .it-appr-card:nth-child(-n+2):last-child {
    border-bottom: none;
  }
  
  .it-value-cols {
    grid-template-columns: 1fr;
  }
  .it-value-col {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .it-value-col:last-child {
    border-bottom: none;
  }
  
  
  .std-frames { grid-template-columns: repeat(2, 1fr); }
  .std-frame { min-height: 250px; }
  
}

/* 규격 국문명 부제 */
.std-frame__list a { display: block; }
.std-frame__list a span {
  display: block;
  margin-top: 1px;
  font-size: 0.86em;
  color: #9db2c9;
}
.std-frame__list a:hover span { color: #c6d5e6; }

/* 노출 개수 제한 표시 */
.std-frame__more {
  padding-left: 11px;
  font-size: clamp(11px, 0.9vw, 12.5px);
  color: #93a7bd;
}
.std-frame__more::before { display: none; }
/* 본문이 프레임 밖으로 넘치지 않도록 */
.std-frame__body { max-height: 100%; overflow: hidden; }

/* ── 밀도 보강 ────────────────────────────────────────────── */
/* OUR VALUE 항목 부연 */
.it-value-col__desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(226, 238, 252, 0.62);
  word-break: keep-all;
}

/* STANDARDS 분야별 규격 수 */
.std-frame__cat {
  display: flex;
  align-items: center;
  gap: 8px;
}
.std-frame__cat em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #cfe0f5;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ── OPERATING CYCLE : 단계 플로우 패널 ─────────────────────── */
.it-flow {
  background: var(--it-gray-bg);
  border: 1px solid #e6edf6;
  border-radius: 16px;
  padding: clamp(14px, 1.6vw, 24px) clamp(20px, 2.4vw, 34px);
  box-shadow: 0 18px 44px rgba(10, 40, 90, 0.06);
}

.it-flow__list {
  list-style: none;
  margin: 0;
  --step: clamp(88px, 7.6vw, 116px);
  padding: clamp(6px, 0.8vw, 10px) 0 clamp(8px, 1vw, 14px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.it-flow__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(10px, 1.2vw, 18px);
}

/* 단계 사이 두꺼운 화살표 2개 (원 중심 높이에 맞춤) */
.it-flow__item::before,
.it-flow__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--step) / 2);
  width: 15px;
  height: 15px;
  border-top: 4px solid #a9c8e9;
  border-right: 4px solid #a9c8e9;
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.it-flow__item::before { margin-left: -9px; }
.it-flow__item::after  { margin-left: 9px; }
.it-flow__item:first-child::before,
.it-flow__item:first-child::after { content: none; }

.it-flow__num {
  position: relative;
  z-index: 1;
  width: var(--step);
  height: var(--step);
  border-radius: 50%;
  background: var(--it-bg);
  border: 1.5px solid #dbe7f7;
  box-shadow: 0 6px 18px rgba(10, 40, 90, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0056b3;
  transition: all 0.25s ease;
}

.it-flow__name {
  margin-top: 18px;
  font-size: clamp(14.5px, 1.15vw, 16px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d1e38;
  word-break: keep-all;
}

.it-flow__desc {
  margin-top: 8px;
  font-size: clamp(12.5px, 0.98vw, 13.5px);
  line-height: 1.7;
  color: #64748b;
  word-break: keep-all;
}

.it-flow__item:hover .it-flow__num {
  background: #0056b3;
  border-color: #0056b3;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 86, 179, 0.24);
}

@media (max-width: 1080px) {
  .it-flow__list { grid-template-columns: repeat(3, 1fr); row-gap: clamp(28px, 3vw, 38px); }
  .it-flow__item:nth-child(4)::before,
  .it-flow__item:nth-child(4)::after { content: none; }
}

/* 모바일 : 2열이면 05 가 혼자 남고 화살표도 한 칸에만 붙음
   -> 위에서 아래로 흐르는 세로 타임라인으로 전환 */
@media (max-width: 680px) {
  .it-flow { padding: clamp(16px, 4vw, 22px) clamp(16px, 4vw, 20px); }
  .it-flow__list {
    --step: 54px;
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 4px 0;
  }
  .it-flow__item {
    display: grid;
    grid-template-columns: var(--step) minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 3px;
    align-items: start;
    text-align: left;
    padding: 0 0 22px;
  }
  .it-flow__item:last-child { padding-bottom: 0; }

  /* 가로 화살표 -> 원과 원을 잇는 세로 연결선 */
  .it-flow__item::after { content: none; }
  .it-flow__item::before {
    content: "";
    left: calc(var(--step) / 2);
    top: calc(var(--step) + 6px);
    bottom: -6px;
    width: 2px;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 1px;
    background: #dbe7f7;
    transform: translateX(-50%);
  }
  .it-flow__item:last-child::before { content: none; }

  .it-flow__num { grid-column: 1; grid-row: 1 / span 2; }
  .it-flow__name { grid-column: 2; grid-row: 1; margin-top: 8px; }
  .it-flow__desc { grid-column: 2; grid-row: 2; margin-top: 4px; }
}

/* ── PRMS 소개 ──────────────────────────────────────────────── */
.it-prms-sec {
  position: relative;
  padding: clamp(64px, 5.4vw, 88px) 0 clamp(56px, 4.8vw, 78px);
  background: var(--it-bg);
  overflow: hidden;
}
.it-prms-sec > .container { position: relative; z-index: 1; }

.it-prms-head {
  max-width: 760px;
  margin: 0 0 clamp(30px, 2.8vw, 42px);
}

/* 스크린샷 + 특징 2열 */
.it-prms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: clamp(30px, 3.2vw, 54px);
  align-items: center;
}

/* 스크린샷 프레임 */
.it-prms-shot {
  margin: 0;
  padding: clamp(7px, 0.7vw, 10px);
  background: var(--it-gray-bg);
  border: 1px solid #e3ebf4;
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(10, 40, 90, 0.10);
}
.it-prms-shot img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #eaf0f8;
}

/* 3가지 특징 */
.it-prms-feats {
  display: grid;
  gap: clamp(24px, 2.2vw, 34px);
  margin: 0;
  counter-reset: prms-feat;
}
.it-prms-feat {
  counter-increment: prms-feat;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(12px, 1.2vw, 18px);
}
.it-prms-feat::before {
  content: counter(prms-feat);
  grid-row: 1 / span 2;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--it-blue);
}

.it-prms-feat__title {
  margin: 0 0 8px;
  align-self: center;
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: #0d1e38;
  word-break: keep-all;
}
.it-prms-feat__desc {
  margin: 0;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.78;
  color: #5f6f85;
  word-break: keep-all;
}

@media (max-width: 980px) {
  .it-prms-sec::before { height: 40%; }
  .it-prms-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* 국제표준 섹션 헤더 (다른 섹션과 동일 형식) */
.it-std-head {
  max-width: 760px;
  margin: 0 0 clamp(30px, 2.8vw, 44px);
}

/* OPERATING CYCLE 헤더 한 줄 (제목 좌 · 버튼 우) */

body.it-page:not(.nav-open) .header:not(.is-scrolled):not(.mega-open) .gnb__item:hover .gnb__link,

/* 좁은 화면에서는 표준 프레임 1열 (2열이면 프레임당 175px 로 글자가 뭉개짐) */
@media (max-width: 560px) {
  .std-frames { grid-template-columns: 1fr; }
  .std-frame { min-height: 220px; }
}
