/* ==========================================================================
   앤티에스 홈페이지 — 화면 구성 요소
   순서: 헤더 → 푸터 → 공통(문의 띠, 페이지 머리) → 메인 → 회사소개
        → 솔루션 공통 → 솔루션별 → 공지사항 → 문의하기 → 반응형
   ========================================================================== */

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-white);
  transition: background 0.3s ease-out;
}

.site-header.is-scrolled {
  background: var(--bg-white);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  width: auto;
  height: 46px;
}

.logo-img-dark,
.header-blog-img-dark {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 5px 0 2px;
  border-bottom: 2px solid transparent;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: var(--lh-text);
  color: var(--primary);
  transition: color 0.3s ease-out, border-color 0.3s ease-out;
}

.nav-link:hover {
  color: var(--accent-text);
}

.nav-link.is-active {
  border-bottom-color: currentColor;
}

/* 솔루션 하위 메뉴 */
.nav-sub {
  position: absolute;
  top: calc(100% + 8px); /* 헤더 경계가 아니라 메뉴 글자 바로 아래에서 연다 */
  left: -28px; /* 안쪽 글자가 메뉴 이름과 같은 위치에서 시작한다 */
  min-width: 260px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  /* 첫 줄은 테두리(흰 헤더 위에서 모서리가 보이게), 아래는 가까운 그림자부터 먼 그림자 */
  box-shadow:
    0 0 0 1px rgba(5, 14, 36, 0.06),
    0 2px 4px rgba(5, 14, 36, 0.04),
    0 8px 16px -4px rgba(5, 14, 36, 0.08),
    0 24px 48px -12px rgba(5, 14, 36, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-item-has-sub:hover .nav-sub,
.nav-item-has-sub:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 메뉴와 하위 메뉴 사이 빈틈에서 hover 가 끊기지 않게 잇는다. */
.nav-sub::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-sub-link {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.nav-sub-desc {
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--text-light);
}

.nav-sub-link:hover,
.nav-sub-link:focus-visible {
  background: var(--bg-blue);
  color: var(--accent-text);
}

.nav-sub-link.is-active {
  color: var(--accent-text);
}

.header-blog {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.header-blog:hover {
  opacity: 0.7;
}

.header-blog-img {
  width: 33px;
  height: 30px;
}

.mobile-menu-btn {
  display: none;
}

/* ===== Footer ===== */
.site-footer {
  padding-block: 89px 77px;
  background: var(--bg-dark);
  color: var(--bg-white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-slogan {
  font-size: var(--fs-title);
  font-weight: 400;
  line-height: var(--lh-title);
}

.footer-slogan-brand {
  font-weight: 700;
}

.footer-columns {
  display: grid;
  justify-content: space-between;
  gap: 0;
  padding-right: 0;
  grid-template-columns: 83.333% 16.667%;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer-group-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-on-dark);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-text {
  font-size: var(--fs-small);
  color: var(--text-on-dark);
  line-height: 30px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--text-on-dark);
  transition: color 0.2s;
  line-height: 30px;
}

.footer-link:hover {
  color: var(--text-on-dark);
}

.footer-link-icon {
  font-size: 10px;
}

.footer-copyright {
  font-size: var(--fs-small);
  color: var(--text-on-dark);
  padding-top: 23px;
}

/* ===== 제품문의 배너 =====
   배경만 세 가지(남색 띠, 밝은 띠, 카드)이고 안의 글과 버튼은 같다. */
.cta-blue {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding-block: 48px;
  background: var(--primary) url('../images/cta-bg-blue.png') center / cover no-repeat;
  color: var(--bg-white);
}

.cta-light {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding-block: 48px;
  background: var(--bg-gray) url('../images/cta-bg-light.png') center / cover no-repeat;
}

.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 300px;
  margin-inline: auto;
  padding: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-gray) url('../images/cta-bg-light.png') right -217px center / auto 100% no-repeat; /* 별의 오른쪽 끝이 카드 안에 들어오는 위치 */
}

.cta-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-title {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
}

.cta-desc {
  padding-bottom: 12px;
}

.cta-blue .cta-btn {
  background: var(--bg-white);
  color: var(--primary);
}

/* 배너 어디를 눌러도 문의하기로 가도록 링크 영역을 배너 전체로 넓힌다. */
.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
}

.cta-btn .fa-arrow-right {
  font-size: 14px;
  transition: transform 0.2s;
}

.cta-btn:hover .fa-arrow-right {
  transform: translateX(var(--hover-arrow));
}

/* ===== 페이지 머리 (회사소개, 공지사항, 문의하기) ===== */
.page-header {
  position: relative;
  padding-block: 96px;
  background: var(--primary);
  text-align: center;
  color: var(--bg-white);
}

.page-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.page-header-title {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-title);
}

.page-header-desc {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: var(--lh-text);
}

/* ===== 메인: Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* 투명 헤더 아래까지 첫 화면을 꽉 채운다 */
  max-height: none;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/main/hero-bg.jpg') center / cover no-repeat;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  color: var(--bg-white);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: var(--lh-display);
}

.hero-desc {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-text);
}

/* 첫 화면 아래에 내용이 더 있다는 표시 (PC) */
.hero-scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}

.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-white);
  animation: heroScroll 2s var(--ease) infinite;
}

@keyframes heroScroll {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line::after {
    animation: none;
  }
}

/* Scroll 을 눌렀을 때 제목이 고정 헤더에 붙지 않게 한다. */
.service-section {
  scroll-margin-top: 40px;
}

/* ===== 메인: 서비스 카드 ===== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

.service-item-wide {
  grid-column: 1 / -1;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 32px 36px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: transform 0.3s var(--ease), border-color 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(var(--hover-lift));
}

/* 로고 크기가 달라도 제목이 같은 높이에서 시작하도록 자리를 고정한다. */
.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.service-logo-nabipangea,
.service-logo-guideus,
.service-logo-arctera {
  width: auto;
  height: 28px;
}

.service-logo-okestro {
  width: auto;
  height: 44px;
}

.service-logo-cohesity {
  width: auto;
  height: 22px;
}

.service-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-light);
  transition: color 0.2s;
}

.service-card-more .fa-arrow-right {
  font-size: 12px;
  transition: transform 0.2s;
}

.service-card:hover .service-card-more {
  color: var(--accent-text);
}

.service-card:hover .fa-arrow-right {
  transform: translateX(var(--hover-arrow));
}

.service-card-title {
  padding-top: 8px;
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.service-card-desc {
  color: var(--text-muted);
}

/* ===== 메인: 강점 카드 ===== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-inline: auto;
}

.strength-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-blue);
  text-align: center;
}

.strength-card-title {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.strength-card-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-text);
}

/* ===== 메인: 고객사 로고 =====
   6개, 5개씩 엇갈려 놓는다. 로고 파일은 모두 320x120 이고 보이는 크기를 맞춰 두었다. */
.client-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 72px;
}

.client-logo {
  display: flex;
  grid-column: span 2;
  justify-content: center;
}

/* 5개짜리 줄의 첫 로고를 반 칸 밀어 엇갈리게 한다. */
.client-logo:nth-child(11n + 7) {
  grid-column: 2 / span 2;
}

.client-logo-img {
  width: 128px;
  max-width: 100%;
  height: auto;
}

/* ===== 메인: 연락처 ===== */
.contact-info {
  background: var(--gray-300) url('../images/main/contact-bg.jpg') center / cover no-repeat;
}

.contact-info-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 460px;
  min-height: 270px;
  padding: 30px 40px 35px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
}

.contact-card-label {
  font-size: var(--fs-body);
  font-weight: 700;
}

.contact-card-value {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
}

.contact-card-note {
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  padding-top: 15px;
}

.contact-card-icon {
  position: absolute;
  right: 40px;
  bottom: 35px;
  width: 100px;
  height: auto;
}

/* ===== 회사소개: 인사말 ===== */
.message-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
}

.message-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-body {
  display: flex;
  flex-direction: column;
  gap: 25.5px;
  padding-top: 45px;
}

.message-text {
  font-size: var(--fs-lead);
  line-height: var(--lh-text);
}

.message-closing {
  padding-top: 8px;
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
  color: var(--primary);
}

/* ===== 회사소개: 연혁 ===== */
.history-grid {
  border-bottom: 1px solid var(--border);
}

.history-year {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding-block: 32px;
  border-top: 1px solid var(--border);
}

.history-year-title {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
  color: var(--primary);
}

.history-list {
  columns: 2;
  column-gap: 40px;
}

/* 모바일에서만 보인다 */
.history-toggle {
  display: none;
}

.history-item {
  padding-block: 4px;
  break-inside: avoid;
}

/* ===== 회사소개: 인증·수상 ===== */
.reward-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--card-gap);
}

.reward-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.reward-img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 7;
  background: var(--bg-white);
  object-fit: contain;
}

.reward-name {
  font-size: var(--fs-small);
  color: var(--bg-white);
}

/* 인증서 크게 보기 */
.reward-btn {
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
}

.reward-btn:hover {
  transform: translateY(var(--hover-lift));
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  background: rgba(0, 0, 0, 0.85);
  color: var(--bg-white);
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.lightbox-img {
  max-width: calc(100vw - 160px);
  max-height: calc(100dvh - 160px);
  height: auto;
  object-fit: contain;
}

.lightbox-name {
  font-weight: 700;
}

.lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  color: var(--bg-white);
}

.lightbox-prev {
  top: calc(50% - 24px);
  left: 24px;
}

.lightbox-next {
  top: calc(50% - 24px);
  right: 24px;
}

.lightbox-close {
  top: 20px;
  right: 24px;
}

/* ===== 회사소개: 오시는 길 ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px var(--card-gap);
}

.location-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-map {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-gray);
}

.location-name {
  padding-top: 12px;
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.location-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.location-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.location-contact .fas {
  font-size: 13px;
  color: var(--accent);
}

/* ===== 솔루션 공통: Hero ===== */
.solution-hero {
  background: var(--bg-blue);
  text-align: center;
}

.solution-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.solution-hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.solution-hero-eyebrow {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-title);
}

.solution-hero-title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-display);
}

.solution-hero-desc {
  font-size: var(--fs-lead);
  line-height: var(--lh-text);
  padding-top: 6px;
}

/* 설명과 버튼 사이를 조금 더 띄운다 */
.solution-hero-action {
  padding-top: 12px;
}

.solution-hero-visual {
  width: auto;
  max-width: min(100%, 1011px);
  height: auto;
}

/* Hero 아래 제품 미니 카드 (OKESTRO 6종) */
.product-mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  width: 100%;
}

.product-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 28px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-hero-card);
  font-size: var(--fs-small);
  line-height: 1.5;
  transition: transform 0.3s var(--ease);
}

.product-mini-card:hover {
  transform: translateY(var(--hover-lift));
}

.product-mini-icon {
  width: 64px;
  height: 64px;
}

.product-mini-name {
  padding-top: 6px;
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

/* 줄 수가 카드마다 달라서 맨 아래에 둔다. 위쪽 줄이 모두 나란해진다. */
.product-mini-sub {
  color: var(--text-light);
}

/* Hero 아래 제품 링크 카드 (Cohesity, Arctera) */
.product-link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--card-gap);
}

.product-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 380px;
  padding: 36px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-hero-card);
  min-width: 0;
}

.product-link-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.product-link-num {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: var(--lh-text);
}

.product-link-name {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.product-link-desc {
  font-size: var(--fs-small);
  font-weight: 700;
}

.product-link-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Cohesity 제품 카드: 번호, 이름, 설명을 띄우고 버튼은 나란히 둔다. */
.product-link-card .product-link-head {
  gap: 8px;
}

.product-link-card .product-link-num {
  color: var(--accent-text);
}

.product-link-card .product-link-actions {
  flex-direction: row;
}

/* 제품군 포인트 색 */
.text-symphony   { color: var(--okestro-symphony); }
.text-cmp        { color: var(--okestro-cmp); }
.text-contrabass { color: var(--okestro-contrabass); }
.text-viola      { color: var(--okestro-viola); }
.text-trombone   { color: var(--okestro-trombone); }
.text-clarinet   { color: var(--okestro-clarinet); }
.text-nabipangea { color: var(--nabipangea); }

/* ===== 솔루션 공통: 한 줄 문구 띠 ===== */
.tagline-band {
  text-align: center;
}

.tagline-text {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-title);
  color: var(--accent-text);
}

/* ===== 솔루션 공통: 브랜드 소개 (로고 + 카드 3장) ===== */
.brand-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--content-gap);
}

.brand-intro-logo {
  width: auto;
  height: auto;
}

.brand-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  width: 100%;
}

/* 흰 카드 3장(GuideUs, NABIPangeA, OKESTRO 사업 분야).
   맨 위 자리(로고, STEP, 번호)를 모두 28px 로 두어 제목과 설명이 같은 높이에서 시작한다. */
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  text-align: center;
}

.brand-card-logo {
  width: auto;
  height: 28px;
}

.brand-card-step {
  display: flex;
  align-items: center;
  height: 28px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--nabipangea);
}

.brand-card-title {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.brand-card-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-text);
}

/* ===== NABIPangeA: 데이터 순환 6단계 ===== */
.lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  margin-inline: auto;
}

.lifecycle-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* 다음 단계로 이어지는 선 */
.lifecycle-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(50% + 52px);
  width: calc(100% - 104px);
  height: 1px;
  background: var(--gray-300);
}

.lifecycle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  font-size: 24px;
  color: var(--nabipangea);
}

.lifecycle-icon-last {
  background: var(--nabipangea);
  color: var(--bg-white);
}

.lifecycle-name {
  font-size: var(--fs-body);
  font-weight: 700;
}

.lifecycle-note {
  color: var(--text-muted);
  text-align: center;
}

/* ===== 솔루션 공통: 기능 소개 행 (그림 + 설명) ===== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-join);
  width: 100%;
  max-width: 1000px; /* 사진과 설명이 멀어지지 않게 섹션보다 좁게 */
  margin-inline: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 457px 1fr;
  align-items: center;
  gap: 64px;
}

.feature-img {
  justify-self: start;
  width: 457px; /* GuideUs 화면 이미지의 원본 폭. 두 페이지가 같은 크기를 쓴다 */
  max-width: 100%;
  height: auto;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-title {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
}

.feature-body .check-list {
  gap: 12px;
  padding-top: 8px;
}

/* 기능 이름은 굵게, 설명은 그 아래 줄에 흐리게 */
.check-text {
  display: flex;
  flex-direction: column;
}

.check-text-desc {
  color: var(--text-muted);
}

.feature-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  max-width: 533px;
}

/* 카드 안 일러스트 아이콘 (메인 강점, GuideUs Point, Why NABIPangeA) */
.card-icon {
  width: 72px;
  height: 72px;
}

/* ===== 솔루션 공통: 포인트 카드 ===== */
.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-inline: auto;
}

.point-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  text-align: center;
}

.point-card-title {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.point-card-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  color: var(--text);
}

/* ===== 솔루션 공통: Q&A ===== */
/* 대화창처럼 왼쪽에 질문, 그 아래 오른쪽에 답 */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-inline: 100px;
}

.qa-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-question,
.qa-answer {
  position: relative;
  border-radius: 24px;
  font-size: var(--fs-body);
  line-height: var(--lh-text);
}

.qa-question {
  display: flex;
  gap: 12px;
  align-self: flex-start;
  max-width: 600px;
  padding: 18px 28px;
  background: var(--accent);
  font-weight: 700;
  color: var(--bg-white);
}

.qa-answer {
  align-self: flex-end;
  max-width: 600px;
  padding: 24px 32px;
  background: var(--bg-answer);
}

.qa-num {
  flex-shrink: 0;
}

/* 말풍선 꼬리 */
.qa-question::after,
.qa-answer::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 24px;
  background: inherit;
  clip-path: path('M10 0 C10 12 7 20 0 24 C10 24 18 22 24 18 L30 0 Z');
}

.qa-question::after {
  left: -10px;
}

.qa-answer::after {
  right: -10px;
  transform: scaleX(-1);
}

.qa-answer-title {
  font-size: var(--fs-body);
  font-weight: 700;
}

/* ===== OKESTRO: 제품 소개 ===== */
.product-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-space);
  margin-inline: auto;
}

.product-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.product-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 아래 화면 카드와 같은 세 칸. 상자는 첫 칸 가운데, 설명은 둘째 칸부터 */
  align-items: center;
  gap: var(--card-gap);
}

.product-box-img {
  justify-self: center;
  width: 200px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(5, 14, 36, 0.12)) drop-shadow(0 16px 20px rgba(5, 14, 36, 0.2)); /* 상자 모양을 따라 생기는 그림자 */
}

.product-body {
  display: flex;
  flex-direction: column;
  grid-column: 2 / -1;
  gap: 26px;
}

.product-head {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 3px;
}

.product-name {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
}

.product-sub {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.product-desc {
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  color: var(--text);
}

/* 기능 화면 카드 — 열 개수별로 분리 */
.shot-grid-1 {
  display: grid;
}

.shot-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.shot-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shot-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 이미지 칸은 비율을 고정하고 제목은 아래 띠에 두어, 이미지 크기가 달라도 줄이 맞는다. */
.shot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
}

.shot-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 16px;
  object-fit: scale-down;
}

/* 두 장짜리는 카드가 넓어 그림이 커지므로 칸을 낮추고 여백을 더 준다. */
.shot-grid-2 .shot-card-img {
  aspect-ratio: 2 / 1;
  padding: 30px;
}

/* 카드가 하나뿐인 제품(CMP) */
.shot-card-img-wide {
  width: 100%;
  height: 296px;
  padding: 24px;
  object-fit: scale-down;
}

.shot-card-title {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-gray);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: var(--lh-text);
  text-align: center;
  word-break: keep-all;
}

/* ===== OKESTRO: 사업 분야 ===== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-inline: auto;
}

.biz-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
}

.biz-card .check-list {
  gap: 8px;
}

.biz-card-num {
  display: flex;
  align-items: center;
  height: 28px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--accent-text);
}

.biz-card-title {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

/* ===== OKESTRO: 인적역량, 공공 수행 사례 ===== */
.capability {
  display: flex;
  flex-direction: column;
  gap: 56px; /* 연결선이 들어가는 자리 */
  width: 100%;
}

.capability-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.capability-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.capability-icon {
  font-size: 32px;
  color: var(--accent);
}

.capability-title {
  max-width: 220px;
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
}

.capability-orgs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
}

.capability-org {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-weight: 700;
  text-align: center;
}

/* 역량 카드에서 네 조직으로 이어지는 연결선 */
.capability-orgs::before {
  content: '';
  position: absolute;
  top: -56px;
  left: 50%;
  height: 28px;
  border-left: 1px dashed var(--gray-500);
}

.capability-org::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  height: 28px;
  border-left: 1px dashed var(--gray-500);
}

.capability-org:not(:last-child)::after {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  width: calc(100% + var(--card-gap));
  border-top: 1px dashed var(--gray-500);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  width: 100%;
}

.case-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
  text-align: center;
}

.case-img {
  width: 100%;
  height: auto;
}

/* ===== 솔루션 공통: 제목 + 그림 한 장 ===== */
.figure-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--section-join) * 2);
}

.figure-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pill-gap);
}

.figure-img {
  max-width: 100%;
  height: auto;
}

.figure-img-sm {
  max-width: min(100%, 506px);
  height: auto;
}

/* 모바일에서만 보인다 */
.cert-grid {
  display: none;
}

/* ===== Cohesity: 특징 격자 ===== */
.spec-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-inline: auto;
  border-bottom: 1px solid var(--border);
}

/* 상자에 가두지 않고 왼쪽 제목, 오른쪽 설명으로 펼친다. 구분은 가로선 하나로만 한다. */
.spec-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: start;
  column-gap: 40px;
  padding: 32px 0 32px 100px; /* 왼쪽 여백으로 제목과 설명을 가운데로 모은다 */
  border-top: 1px solid var(--border);
}

.spec-title {
  font-size: var(--fs-heading);
  font-weight: 700;
  line-height: var(--lh-title);
  word-break: keep-all;
}

/* NetBackup 특징 카드 */
.spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  margin-inline: auto;
}

.spec-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.spec-card .check-list,
.spec-item .check-list,
.appliance-body .check-list {
  gap: 8px;
}

.spec-card .check-item,
.spec-item .check-item,
.appliance-body .check-item {
  word-break: keep-all;
}

/* ===== Cohesity: 장비, 구성도 ===== */
.appliance-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  margin-inline: auto;
}

.appliance-card {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 위 카드와 같은 두 칸 */
  align-items: center;
  gap: 24px;
}

.appliance-img {
  justify-self: center;
  width: 360px;
  max-width: 100%;
  height: auto;
}

.appliance-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 33px; /* 위 카드 안의 글(여백 32 + 테두리 1)과 같은 줄 */
}

.appliance-title {
  font-size: var(--fs-subtitle);
  font-weight: 700;
  line-height: var(--lh-title);
}

.hci-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  margin-inline: auto;
  padding: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  text-align: center;
}

.hci-img {
  width: 100%;
  max-width: 800px;
  height: auto;
}

.hci-list {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 8px 64px;
  text-align: left;
}

/* ===== Arctera: 장애와 공격 통계 ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px var(--card-gap);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.stat-value {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-title);
  color: var(--primary);
}

.stat-sub {
  font-size: var(--fs-tiny);
  line-height: var(--lh-text);
  color: var(--text-muted);
}

.stat-label {
  max-width: 280px;
}

/* ===== Arctera: 환경별 구성 ===== */
.env-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
}

/* 그림에 든 배경색과 같은 색이라, 그림 크기가 달라도 카드 끝이 나란하다. */
.env-card {
  display: flex;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #F7F7F8;
}

.env-card-wide {
  grid-column: 1 / -1;
}

.env-img {
  width: 100%;
  max-width: 841px;
  height: auto;
}

/* ===== NABIPangeA: 히어로 요약 카드 ===== */
.keypoint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
  width: 100%;
}

.keypoint-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 34px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-hero-card);
  justify-content: center;
  min-height: 120px;
}

.keypoint-value {
  font-size: var(--fs-heading);
  font-weight: 700;
  color: var(--nabipangea);
  line-height: var(--lh-title);
  letter-spacing: -0.01em;
}

.keypoint-label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text);
  line-height: var(--lh-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ===== NABIPangeA: 도입 효과 (어두운 배경) ===== */
.effect-section {
  background: var(--bg-dark);
}

.effect-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--card-gap);
}

.effect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 34px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.effect-value {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-title);
  color: var(--nabipangea);
  letter-spacing: -0.01em;
}

.effect-label {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--bg-white);
  line-height: var(--lh-text);
  letter-spacing: -0.01em;
}

.effect-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.effect-note {
  font-size: var(--fs-tiny);
  line-height: var(--lh-text);
  color: var(--text-on-dark);
}

.pill-label-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 35px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text);
  line-height: var(--lh-text);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

/* ===== 공지사항: 목록 ===== */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px var(--card-gap);
  scroll-margin-top: calc(var(--header-h) + 40px);
}

.notice-card-link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s var(--ease);
}

.notice-card-link:hover {
  transform: translateY(var(--hover-lift));
}

.notice-card-thumb {
  display: block;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08); /* 흰 바탕 사진도 모서리가 보이게 */
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.notice-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notice-card-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 36px;
  color: var(--gray-300);
}

.notice-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.notice-card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--fs-small);
  line-height: var(--lh-text);
  color: var(--text-muted);
}

.notice-card-date {
  font-size: var(--fs-small);
  line-height: var(--lh-text);
  color: var(--text-light);
}

.notice-empty {
  grid-column: 1 / -1;
  padding-block: 80px;
  font-size: var(--fs-body);
  text-align: center;
  color: var(--text-light);
}

/* ===== 공지사항: 상세 ===== */
.notice-detail {
  display: flex;
  flex-direction: column;
  gap: 40px;
  scroll-margin-top: calc(var(--header-h) + 40px);
  max-width: calc(var(--container-narrow) + var(--container-pad) * 2);
}

.notice-detail-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}



.notice-detail-title {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-title);
}

.notice-detail-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  overflow-wrap: anywhere;
}

.notice-detail-back {
  align-self: center;
}

/* ===== 문의하기: 입력 폼 ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.form-label {
  font-size: var(--fs-body);
  font-weight: 700;
}

.form-required {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #F25656;
  vertical-align: middle;
}

.form-input,
.form-phone-input,
.form-textarea {
  width: 100%;
  height: 52px;
  padding: 12px 16px;
  border: 1px solid #C4C9D0;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-size: var(--fs-body);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-textarea {
  height: 200px;
  min-height: 120px;
  line-height: var(--lh-text);
  resize: vertical;
}

.form-textarea::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-phone-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 133, 255, 0.15);
}

.form-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-phone-input {
  flex: 1;
  min-width: 0;
  padding-inline: 8px;
  text-align: center;
}

.form-phone-dash {
  color: var(--text-light);
}

/* 개인정보 수집 및 이용 동의 약관 상자 */
.policy-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 160px;
  padding: 20px;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: var(--fs-small);
  line-height: var(--lh-text);
  color: var(--text-muted);
}

.policy-title {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text);
}

.form-check {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding-block: 6px;
  font-size: var(--fs-body);
  cursor: pointer;
}

.form-check-input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: center;
}

.form-submit {
  min-width: 240px;
}

.site-header-blue {
  background: var(--bg-blue);
}

.figure-img-xs {
  max-width: min(100%, 415px);
  height: auto;
}

.effect-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-hero-inner-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.section-cta-card {
  padding-top: 74px;
}

/* ===== 모바일 전용 헤더 요소 (991px 이하에서만 보임) ===== */
.header-search,
.nav-sub-toggle {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

/* 모바일 서랍 안에서만 보인다 */
.nav-head,
.nav-blog {
  display: none;
}

body.is-locked {
  overflow: hidden;
}

/* 사이트 검색 (모바일 전체 화면 검색) */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow-y: auto;
  background: var(--bg-white);
}

.search-modal[hidden] {
  display: none;
}

/* 헤더와 같은 높이라 닫기 버튼이 메뉴 버튼 자리에 온다 */
.search-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  padding: 0 1px 0 var(--container-pad);
  background: var(--bg-white);
}

.search-form {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.search-submit,
.search-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  font-size: 16px;
  color: var(--text-muted);
}

.search-close {
  font-size: 20px;
  color: var(--text);
}

.search-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding-right: 16px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px; /* 이보다 작으면 아이폰이 화면을 확대한다 */
  color: var(--text);
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-results {
  display: flex;
  flex-direction: column;
  padding: 12px var(--container-pad) 40px;
}

.search-heading {
  padding-block: 8px;
  font-size: var(--fs-small);
  color: var(--text-light);
}

.search-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.search-result-title {
  font-size: var(--fs-lead);
  font-weight: 700;
}

.search-result-kind {
  font-size: var(--fs-small);
  color: var(--text-light);
}

.search-empty {
  padding-block: 60px;
  text-align: center;
  color: var(--text-light);
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.solution-hero-media {
  background: var(--bg-blue);
  text-align: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}

/* 위쪽과 문구 뒤는 어둡게 덮고, 배경의 움직임은 아래쪽에만 보이게 한다. */
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 14, 36, 0.67) 0%, rgba(5, 14, 36, 0.63) 50%, rgba(5, 14, 36, 0.38) 75%, rgba(5, 14, 36, 0.07) 100%);
}

/* 히어로 높이(100cqh)를 항상 다 덮도록 최소 폭을 둔다. 넘치는 부분은 잘린다. */
.hero-video {
  position: absolute;
  top: -10px;
  left: 50%;
  width: max(calc(100% + 20px), calc((100cqh + 20px) * 426 / 240));
  aspect-ratio: 426 / 240;
  border: 0;
  opacity: 0;
  transition: opacity 0.6s;
  transform: translateX(-50%);
}

.contact-card-phone {
  min-height: 286px;
}

.contact-card-mail {
  min-height: 254px;
  transition: transform 0.3s var(--ease);
}

.contact-card-mail:hover {
  transform: translateY(var(--hover-lift));
}

/* 카드 어디를 눌러도 문의하기로 가도록 링크 영역을 카드 전체로 넓힌다. */
.contact-card-mail .contact-card-value::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.contact-card-icon-mail {
  width: 108px;
}

.history-section .section-header {
  gap: 12px;
}

.brand-section-guideus {
  background: var(--bg-card);
}

.brand-section-nabi {
  background: var(--bg-card);
}

.brand-section-guideus .brand-intro {
  gap: 64px;
}

.dataprotect-section {
  background: var(--bg-card);
}


.notice-detail-date {
  font-size: var(--fs-small);
  color: var(--text-light);
}

.notice-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.notice-nav-link {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  transition: color 0.2s;
}

.notice-nav-link:hover {
  color: var(--accent-text);
}

.notice-nav-label {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--text-light);
}

.notice-nav-icon {
  font-size: 12px;
}

.hero-video.is-playing {
  opacity: 1;
}

.footer-head {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.footer-line {
  height: 1px;
  background: #414141;
  --reveal-name: revealFade;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}

.alert-dialog {
  width: min(360px, calc(100% - 40px));
  margin: auto;
  padding: 40px 24px 24px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text);
  text-align: center;
}

.alert-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.alert-dialog-text {
  padding-bottom: 32px;
  font-size: var(--fs-body);
  line-height: var(--lh-text);
}

.alert-dialog-btn {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--bg-white);
}

.alert-dialog-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.notice-body-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px 40px;
  border-radius: var(--radius-md);
  background: #F3F3F3; /* 제품 사진의 바탕색 */
}

.notice-body-images img {
  width: 40%;
  height: auto;
}

.notice-body-photo img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.08); /* 흰 바탕 사진도 모서리가 보이게 */
  border-radius: var(--radius-md);
}

.notice-body-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.notice-body-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-text);
}

.notice-body-link-icon {
  font-size: 12px;
}

.notice-grid:empty,
.notice-detail:empty {
  min-height: 100vh;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  .lightbox-img {
    max-width: calc(100vw - 96px);
  }

  .lightbox-prev {
    left: 0;
  }

  .lightbox-next {
    right: 0;
  }

  .lightbox-close {
    right: 4px;
  }

  .history-year {
    position: relative;
    grid-template-columns: 1fr;
    padding-block: 0;
  }

  .history-year-title {
    line-height: 60px;
  }

  .history-list {
    columns: 1;
    padding-bottom: 20px;
  }

  /* 연도를 누르면 펼쳐진다. 처음에는 최신 연도만 열려 있다(js/app.js) */
  .history-toggle {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    font-size: 14px;
    color: var(--text-light);
  }

  .history-toggle .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s;
  }

  .history-year.is-closed .fa-chevron-down {
    transform: none;
  }

  .history-year.is-closed .history-list {
    display: none;
  }

  .reward-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px var(--card-gap);
  }

  .reward-item {
    width: calc((100% - var(--card-gap) * 2) / 3);
    gap: 10px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-map {
    height: 150px;
  }

  .cta-blue {
    min-height: 0;
    padding-block: 40px;
    background-image: url('../images/cta-bg-blue-mobile.png');
    background-position: right center;
  }

  .cta-light {
    min-height: 0;
    padding-block: 40px;
    background-image: url('../images/cta-bg-light-mobile.png');
    background-position: right center;
  }

  .cta-card {
    max-width: none;
    min-height: 0;
    padding: 40px 15px;
    border-radius: 0;
    background-image: url('../images/cta-bg-light-mobile.png');
    background-position: right center;
    background-size: cover;
  }

  .cta-title {
    font-size: var(--fs-heading);
  }

  /* 오른쪽 그림과 겹치지 않게 */
  .cta-desc {
    max-width: 170px;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
  }

  .client-logo,
  .client-logo:nth-child(11n + 7) {
    grid-column: auto;
  }

  /* 마지막 줄에 하나만 남으면 가운데에 둔다 */
  .client-logo:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 20px;
  }

  .capability-cards,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .capability-orgs {
    grid-template-columns: 1fr 1fr;
  }

  /* 두 줄로 놓이므로 둘째 줄은 윗칸에서 바로 이어진다. */
  .capability-org:nth-child(n + 3)::before {
    top: calc(var(--card-gap) * -1);
    height: var(--card-gap);
  }

  .capability-org:nth-child(n + 2)::after {
    display: none;
  }

  .capability-card {
    padding: 28px 20px;
  }

  .lifecycle-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

  .lifecycle-step {
    gap: 12px;
  }

  .lifecycle-step:not(:last-child)::after {
    display: none;
  }

  .lifecycle-icon {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px var(--card-gap);
  }

  .env-grid {
    grid-template-columns: 1fr;
  }

  /* 좁은 히어로에서는 큰 제목과 부딪히지 않게 본문 크기로 쓴다. */
  .hero-desc {
    font-size: var(--fs-body);
    line-height: var(--lh-text);
  }

  /* ── Header (모바일: 왼쪽 로고, 오른쪽 메뉴) ── */
  .site-header-blue {
    background: var(--bg-white);
  }

  .header-inner {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    margin-right: -14px; /* 아이콘이 본문 오른쪽 끝과 맞는다 */
  }

  .mobile-menu-bar {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #000000;
  }

  .logo {
    margin-right: auto;
  }

  .logo-img {
    height: 27px;
  }

  .header-blog {
    display: none;
  }

  .header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 16px;
    color: var(--text);
  }

  /* 오른쪽에서 나오는 서랍 */
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    width: min(360px, calc(100% - 40px));
    overflow-y: auto;
    background: var(--bg-white);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .header-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav-backdrop.is-open {
    display: block;
  }

  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h); /* 닫기 버튼이 메뉴 버튼과 같은 자리에 온다 */
    padding: 0 1px 0 24px;
  }

  .nav-head-logo {
    width: auto;
    height: 27px;
  }

  .nav-close {
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: var(--text);
  }

  .nav-list {
    display: block;
    padding: 0 12px 4px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 0;
    font-size: var(--fs-heading);
    color: var(--text);
  }

  .nav-link.is-active {
    color: var(--accent-text);
  }

  .nav-sub-toggle {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    transition: transform 0.2s;
  }

  .nav-item-has-sub.is-sub-open .nav-sub-toggle {
    transform: rotate(180deg);
  }

  .nav-sub {
    position: static;
    display: none;
    min-width: 0;
    margin-bottom: 4px;
    padding: 6px;
    background: var(--bg-card);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-has-sub.is-sub-open .nav-sub {
    display: block;
  }

  .nav-sub::before {
    display: none;
  }

  .nav-sub-link {
    padding: 6px 12px;
    line-height: 1.4;
  }

  .nav-sub-link.is-active {
    background: var(--bg-white);
  }

  .nav-blog {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    margin: 0 24px 8px;
    border-top: 1px solid var(--border);
    font-size: var(--fs-body);
    color: var(--text-muted);
  }

  .nav-blog .fa-arrow-up-right-from-square {
    font-size: 11px;
  }

  /* ── Footer ── */
  .site-footer {
    padding-block: 32px;
  }

  .footer-inner {
    gap: 12px;
  }

  .footer-head {
    gap: 16px;
  }

  .footer-slogan {
    font-size: var(--fs-heading);
  }

  .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* 제목 없이도 알 수 있는 내용이라 숨기고, 링크는 한 줄로 주소 위에 둔다 */
  .footer-group-title,
  .footer-link-icon {
    display: none;
  }

  .footer-group-links {
    order: -1;
  }

  .footer-group-links .footer-list {
    flex-direction: row;
    gap: 24px;
  }

  .footer-link {
    line-height: 44px;
    color: var(--bg-white);
  }

  .footer-text {
    line-height: 1.8;
  }

  .footer-copyright {
    padding-top: 8px;
  }

  /* ── 제품문의 띠 ── */
  /* ── 페이지 머리 ── */
  .page-header {
    padding-block: 64px;
  }

  /* ── 메인 ── */
  .hero {
    height: 251px;
    min-height: 251px;
    max-height: none;
  }

  .hero-scroll {
    display: none;
  }

  .hero-content {
    gap: 16px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: var(--card-gap);
  }

  /* 아이콘 카드: 왼쪽에 아이콘, 오른쪽에 글 */
  .strength-card,
  .point-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-content: center;
    gap: 4px 16px;
    padding: 20px;
    text-align: left;
  }

  .strength-card .card-icon,
  .point-card .card-icon {
    grid-row: span 2;
    align-self: center;
    width: 56px;
    height: 56px;
  }

  .contact-info-inner {
    align-items: stretch;
    gap: var(--card-gap);
  }

  .contact-card {
    max-width: none;
    min-height: 0;
    padding: 20px;
    gap: 4px;
  }

  .contact-card-note {
    padding-top: 0;
    font-size: var(--fs-small);
  }

  .contact-card-icon {
    top: 50%;
    right: 20px;
    bottom: auto;
    width: 40px;
    transform: translateY(-50%);
  }

  /* ── 회사소개 ── */
  /* ── 솔루션 ── */
  /* 설명은 바로 아래 제품 소개에 나오므로 아이콘과 이름만 둔다 */
  .product-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-mini-card {
    padding: 20px 4px;
  }

  .product-mini-icon {
    width: 48px;
    height: 48px;
  }

  .product-mini-name {
    padding-top: 0;
    font-size: var(--fs-small);
  }

  .product-mini-desc,
  .product-mini-sub {
    display: none;
  }

  .product-link-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    gap: 30.5px;
    padding: 35.5px 10px 32.3px;
  }

  .brand-intro-logo {
    width: 200px;
  }

  .brand-card-grid {
    grid-template-columns: 1fr;
  }

  .brand-card,
  .biz-card {
    padding: 32px 24px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-img {
    width: 100%;
  }

  .point-grid {
    grid-template-columns: 1fr;
  }

  /* Q&A: 말풍선은 PC 에서만. 모바일은 질문과 답을 위아래로 붙인 카드 */
  .qa-list {
    gap: 24px;
    padding-inline: 0;
  }

  .qa-item {
    gap: 0;
  }

  .qa-question,
  .qa-answer {
    align-self: stretch;
    max-width: none;
  }

  .qa-question {
    padding: 20px 24px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .qa-answer {
    padding: 24px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .qa-question::after,
  .qa-answer::after {
    content: none;
  }

  .product-section {
    gap: 24px;
  }

  .product-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-box-img {
    max-width: 110px;
  }

  .cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
    width: 100%;
  }

  .cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    line-height: 1.5;
    text-align: center;
  }

  .cert-img {
    width: auto;
    height: 140px;
  }

  /* 휴대폰에서는 글씨가 보이지 않는 화면 캡처는 숨긴다. */
  .shot-grid-1,
  .shot-grid-2,
  .shot-grid-3,
  .shot-grid-4 {
    display: none;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }

  .keypoint-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .effect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 5장이라 마지막 한 장은 두 칸을 쓴다 */
  .effect-card:last-child {
    grid-column: 1 / -1;
  }

  .effect-label {
    white-space: normal;
  }

  /* ── 공지사항 ── */
  .notice-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    scroll-margin-top: calc(var(--header-h) + 29px);
  }

  .notice-detail,
  .notice-detail-body {
    gap: 32px;
  }

  .notice-detail-head {
    gap: 12px;
    padding-bottom: 20px;
  }

  .notice-body-images {
    gap: 16px;
    padding: 16px;
  }

  .notice-nav-link {
    flex-direction: column;
    gap: 4px;
    padding-block: 16px;
  }

  /* ── 문의하기 ── */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .form-row {
    gap: 24px;
  }

  /* 16px 보다 작으면 아이폰이 화면을 확대한다 */
  .form-input,
  .form-phone-input,
  .form-textarea {
    font-size: 16px;
  }

  .form-submit {
    width: 100%;
  }

  .message-body {
    padding-top: 0;
    gap: 25.5px;
  }

  .spec-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spec-card {
    gap: 12px;
    padding: 24px 20px;
  }

  .spec-item {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 24px 0;
  }

  .appliance-grid {
    gap: 48px;
  }

  .appliance-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .appliance-body {
    padding-left: 0;
  }

  .hci-card {
    gap: 24px;
    padding: 28px 20px;
  }

  .hci-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .solution-hero-inner-cards {
    gap: 40px;
  }

  .qa-section {
    padding-bottom: 0;
  }

  .section-cta-card {
    max-width: none;
    padding: var(--section-space) 0 0;
  }

  .page-main {
    display: flex;
    flex-direction: column;
  }

  .hero-bg {
    background-image: url('../images/main/hero-bg-mobile.png');
  }

  .page-header-inner {
    gap: 12px;
  }

  .message-grid {
    gap: 10px;
  }

  .message-head {
    gap: 7px;
  }

  .history-section .section-header {
    gap: 7px;
  }

  .section-header-tight {
    gap: 7px;
  }

  .solution-hero-visual {
    width: 100%;
  }

  .product-head {
    gap: 10px;
  }

  .product-body {
    gap: 25.5px;
    grid-column: auto;
  }

  .product-link-grid {
    flex-direction: column;
    align-items: stretch;
    gap: var(--card-gap);
    width: 100%;
  }

  .product-link-head {
    gap: 0;
  }

  .btn-outline-pill {
    padding: 8px 30px;
  }

  .figure-img-sm {
    width: 100%;
    max-width: 360px;
  }

  .figure-img-xs {
    width: 100%;
  }

  /* 글씨가 없는 상징 그림은 작게 둔다 */
  .figure-img-symbol {
    width: 170px;
  }

  .notice-card-link {
    gap: 14px;
  }

  .hero-video-wrap {
    display: none;
  }

  .brand-section-guideus .brand-intro {
    gap: 37px;
  }

  .keypoint-label {
    white-space: normal;
  }

  .footer-line {
    background: #3F3F3F;
  }
}

/* ==========================================================================
   창 폭이 줄어들 때의 배치 (원본 실측 기준)
   PC 는 992px 이상이며 아래 규칙은 파일 맨 뒤에 있어야 위 기본값을 이긴다.
   ========================================================================== */
/* ── 원본의 zoom 0.85 (767~1024px. PC 992~1024 와 모바일 767~991 모두 해당) ──
   원본 사이트가 이 구간에서 화면 전체를 85% 로 줄여 보여준다. */
@media (min-width: 767px) and (max-width: 1024px) {
  .site-header,
  .page-main,
  .site-footer {
    zoom: 0.85;
  }
}

/* 85% 로 줄어드는 폭에서도 히어로가 첫 화면을 꽉 채우게 한다. */
@media (min-width: 992px) and (max-width: 1024px) {
  .hero {
    height: calc(100vh / 0.85);
  }
}

@media (min-width: 992px) {
  /* 메뉴가 덮는 만큼 문구를 내려, 눈에 보이는 공간의 가운데에 둔다. */
  .hero {
    padding-top: var(--header-h);
  }

  /* ── 메인 헤더: 맨 위에서는 투명, 스크롤하면 다른 페이지와 같은 흰색 ── */
  .page-main-hero {
    padding-top: 0;
  }

  .site-header-dark:not(.is-scrolled) {
    background: transparent;
  }

  /* 메뉴 뒤를 더 어둡게 한다. 헤더보다 길게 깔아 경계 없이 히어로로 이어진다. */
  .site-header-dark:not(.is-scrolled)::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 180px;
    background: linear-gradient(to bottom, rgba(5, 14, 36, 0.9) 0%, rgba(5, 14, 36, 0.7) 45%, rgba(5, 14, 36, 0) 100%);
    pointer-events: none;
  }

  .site-header-dark:not(.is-scrolled) .logo-img,
  .site-header-dark:not(.is-scrolled) .header-blog-img {
    display: none;
  }

  .site-header-dark:not(.is-scrolled) .logo-img-dark,
  .site-header-dark:not(.is-scrolled) .header-blog-img-dark {
    display: block;
  }

  /* 히어로 제목이 먼저 보이도록 메뉴와 블로그 아이콘은 조금 투명하게 둔다. */
  .site-header-dark:not(.is-scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }

  .site-header-dark:not(.is-scrolled) .header-blog {
    opacity: 0.85;
  }

  .site-header-dark:not(.is-scrolled) .nav-link:hover {
    border-bottom-color: currentColor;
    color: var(--bg-white);
  }

  .site-header-dark:not(.is-scrolled) .header-blog:hover {
    opacity: 1;
  }

  /* ── 솔루션 히어로: 한 화면에 맞추지 않고 크고 여유 있게 보여준다 ── */
  .solution-hero,
  .solution-hero-media {
    padding-block: 100px 120px;
  }

  .solution-hero-visual {
    max-width: 1080px;
  }

  /* ── 회사소개 인사말: 5/12, 7/12 ── */
  .message-grid {
    grid-template-columns: 41.667% 58.333%;
    gap: 0;
  }

  .product-link-grid {
    width: 100%;
  }
}

/* ── 모바일(991px 이하) ── */
@media (max-width: 991px) {
  /* ── 회사소개 인사말: 1열 ── */
  .message-grid {
    grid-template-columns: 1fr;
  }

  /* ── 768~991 에서 폭이 내용만큼 줄어 가운데로 몰리던 격자: 컨테이너 폭을 채운다 ── */
  .strength-grid {
    width: 100%;
    max-width: none;
  }

}
