/* =================================================================
   NEXTHING Website Stylesheet
   =================================================================
   - Base: 기본 스타일 및 공통 레이아웃
   - Layout: 헤더, 푸터 등 페이지 구조
   - Components: 버튼, 카드, 뱃지 등 재사용 UI 요소
   - Pages: 각 페이지별 고유 스타일
   ================================================================= */

/* =================================================================
   1. Base (기본 스타일)
   ================================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  margin-bottom: 50px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 공통 섹션 제목 */
.section-title {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 800;
  margin: 0 0 var(--space-8);
  line-height: 1.3;
}

/* 공통 리드 텍스트 */
.lead {
  color: #444;
  /*font-size: clamp(16px, 1.8vw, 20px);*/
}

/* 공통 강조 텍스트 */
.eyebrow {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  
}

/* 공통 구분선 */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-2) auto;
  width: min(92%, var(--container-max));
}


/* =================================================================
   2. Layout (레이아웃)
   ================================================================= */

/* -----------------------------------------------------------------
   2.1. Header (헤더)
   ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  margin-bottom: 0px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10; /* 모바일 메뉴가 열렸을 때 로고가 가려지지 않도록 설정 */
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* 내비게이션 메뉴 */
.nav {
  display: none; /* 모바일에서는 기본적으로 숨김 */
  gap: 70px;
  
}

.nav a {
  color: #121212;
  font-weight: 700;
  font-size: clamp(14px, 5.0vw, 20px);
  position: relative;
  word-break: keep-all;
}

.nav a.active {
  color: #1a83d8;
}

/* 햄버거 버튼 (모바일용) */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 10; /* 모바일 메뉴가 열렸을 때 버튼이 가려지지 않도록 설정 */
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #121212;
  display: block;
}

/* ------------------ 헤더 반응형 스타일 ------------------ */

/* 모바일 화면 (900px 미만): 드롭다운 메뉴 */
@media (max-width: 899px) {
  .nav {
    position: absolute;
    top: 90px; /* 헤더 높이 바로 아래에 위치 */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column; /* 메뉴 항목을 세로로 정렬 */
    align-items: center;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .nav a {
    padding: 15px 20px;
    width: 100%;
    text-align: center;
  }
  .nav a.active::after {
    display: none; /* 모바일에서는 하단 활성 표시 제거 */
  }
}

/* 데스크탑 화면 (900px 이상): 가로 메뉴 */
@media (min-width: 900px) {
  .header-inner {
    position: relative;
  }
  .nav {
    display: flex; /* 데스크탑에서는 메뉴를 보이게 설정 */
    flex-direction: row;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    /* 모바일 스타일 초기화 */
    width: auto;
    top: auto;
    background: transparent;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 3px;
    background: #1a83d8;
    border-radius: 3px;
  }
  .hamburger {
    display: none;
  }
}


/* -----------------------------------------------------------------
   2.2. Footer (푸터)
   ----------------------------------------------------------------- */
.site-footer {
  background: #0f1115;
  color: #ddd;
  padding: var(--space-8) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
}

.footer-info {
  font-style: normal;
}

.footer-info p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #ccc;
}

.callout {
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-2);
}

.call-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.call-number {
  font-size: 28px;
  font-weight: 800;
}

.call-site {
  color: #666;
  font-size: 24px;
  margin-top: 2px;
}

/* ------------------ 푸터 반응형 스타일 ------------------ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------------------------
   2.3. Hero (히어로 배너)
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(280px, 62vh, 380px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-sm {
  min-height: clamp(280px, 48vh, 380px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #111 center/cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: var(--space-10) 0;
}

.hero-title {
  font-size: clamp(18px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 22px);
  opacity: 0.95;
  margin: 0;
}


/* =================================================================
   3. Components (컴포넌트)
   ================================================================= */

/* -----------------------------------------------------------------
   3.1. Cards (카드)
   ----------------------------------------------------------------- */
.solutions .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.card-icon {
  width: 128px;
  height: 128px;
  object-fit: contain;
  padding: 10px;
  align-self: center;
}

.card h4 {
  margin: 0;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  max-width: 28ch;
}

.more {
  margin-top: auto;
  font-weight: 700;
}

.more::after {
  content: " ›";
}

.card-lite {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-1);
}
.card-lite h5{
  margin: 0 0 10px;
  font-size: 20px;
  text-align: center;
}

.card-lite-request {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column; /* 아이템을 세로로 정렬 */
  align-items: center;   /* 아이템을 가로축 중앙에 정렬 */
}
.card-lite-request h5{
  margin: 0 0 10px;
  font-size: 20px;
  text-align: center;
}

.card-lite-requset-icon {
  width: 118px; /* 이미지 너비 (조정 가능) */
  height: auto; /* 이미지 높이 (조정 가능) */
}


.card-lite-need {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column; /* 아이템을 세로로 정렬 */
  align-items: center;   /* 아이템을 가로축 중앙에 정렬 */
}
.card-lite-need h5{
  margin: 0 0 10px;
  font-size: 20px;
  text-align: center;
}

.card-lite-icon {
  width: 128px; /* 이미지 너비 (조정 가능) */
  height: 128px; /* 이미지 높이 (조정 가능) */
}

/* 이점들!!! */
/* =================================================================
   반응형 카드 그리드 (최종 수정본)
   ================================================================= */

/* --- 모바일 기본 스타일 (Mobile First) --- */

.card-grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px; /* 모바일용 여백 */
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-wrapper img {
  width: 60px;
  height: auto;
}

.down-arrow-icon img {
  width: 70px; /* 모바일용 아래 화살표 크기 */
}

.card-icon-recycle{
  width: 96px; /* 이미지 너비 (조정 가능) */
  height: auto; /* 이미지 높이 (조정 가능) */
}

/* =================================================================
   순환 경제 구축 (card-3) 상세 레이아웃 (반응형 적용)
   ================================================================= */

/* --- 모바일 기본 스타일 --- */

/* 순환 구조 전체를 감싸는 컨테이너 */
.recycle-flow-container {
  display: flex;
  flex-direction: column; /* 아이템을 세로로 정렬 */
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}

/* 좌우 순환 구조 박스 */
.flow-box {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  width: 100%; /* 모바일에서는 꽉 차게 설정 */
}
.flow-box h5 {
  font-size: 16px;
  font-weight: 600;
  color: #555;
  margin: 0 0 12px 0;
}
.flow-box img {
  max-width: 100%;
  height: auto;
}

/* 넥씽 순환 구조 박스 (특별 스타일) */
.nexthing-flow {
  border-width: 2px;
  border-color: #1a83d8;
}
.nexthing-flow h5 {
  color: #1a83d8;
  font-weight: 700;
  font-size: 20px;
}

/* 가운데 화살표 아이콘 */
.flow-arrow img {
  width: 32px;
  height: auto;
  transform: rotate(90deg); /* 아이콘을 90도 회전시켜 아래쪽을 가리킴 */
}

/* --- 화면 너비가 768px 이상일 때 (데스크탑/태블릿) --- */
@media (min-width: 768px) {
  .recycle-flow-container {
    flex-direction: row; /* 아이템을 다시 가로로 정렬 */
  }
  .flow-box {
    flex: 1; /* 양쪽 박스가 동일한 너비를 갖도록 함 */
  }
  .flow-arrow img {
    transform: rotate(0deg); /* 아이콘 회전을 원래대로 되돌림 */
  }
}

/* 모바일 화면에서의 순서 재정의 */
.card-1 { order: 1; }
.add-icon { order: 2; }
.card-2 { order: 3; }
.down-arrow-icon { order: 4; }
.card-3 { order: 5; }

/* 모든 카드 공통 스타일 */
.grid-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px; /* 카드 내부 콘텐츠 간격 */
  text-align: center;
}

.grid-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.grid-card .card-lite-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.grid-card .bullet {
  padding-left: 20px;
  text-align: left;
  font-size: 16px;
  color: #444;
}

/* --- 화면 너비가 768px 이상일 때 (데스크탑/태블릿) --- */
@media (min-width: 768px) {
  /* 데스크탑용 그리드 컨테이너 스타일 */
  .card-grid-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    row-gap: 20px;
    align-items: stretch;
    padding: 60px; /* 데스크탑용 여백 */
  }
  
  /* 데스크탑에서는 order 속성 초기화 */
  .card-grid-container > * {
    order: initial;
  }

  /* 데스크탑용 아이콘 스타일 */
  .add-icon {
    margin: 10px;
    align-self: center;
  }
  .down-arrow-icon img {
    width: 100px; /* 데스크탑용 아래 화살표 크기 */
  }
  
  /* 각 아이템의 그리드 위치 지정 */
  .card-1 {
    grid-row: 1;
    grid-column: 1;
  }
  .add-icon {
    grid-row: 1;
    grid-column: 2;
  }
  .card-2 {
    grid-row: 1;
    grid-column: 3;
  }
  .down-arrow-icon {
    grid-row: 2;
    grid-column: 1 / span 3;
  }
  .card-3 {
    grid-row: 3;
    grid-column: 1 / span 3;
  }
}













/* ------------------ 카드 반응형 스타일 ------------------ */
@media (max-width: 1100px) {
  .solutions .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .solutions .cards {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------
   3.2. Badges (뱃지)
   ----------------------------------------------------------------- */
.tech {
  background: #0F2843;
  color: #fff;
  padding: var(--space-10) 0;
}

.tech-desc {
  font-size: clamp(16px, 1.8vw, 24px);
  text-align: center;
  margin: 0 0 var(--space-7);
  opacity: 0.95;
}

.badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}

.badge {
  background: #10365f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: var(--space-8) var(--space-3);
  text-align: center;
}

.badge-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  display: block;
  margin: 0 auto var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-title {
  display: block;
  font-weight: 800;
  font-size: clamp(12px, 1.8vw, 18px);
}

.badge small {
  opacity: 0.85;
}

/* ------------------ 뱃지 반응형 스타일 ------------------ */
@media (max-width: 1100px) {
  .badges {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .badges {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* -----------------------------------------------------------------
   3.3. Forms (폼)
   ----------------------------------------------------------------- */
.contact-form {
  padding: 20px var(--space-9) 20px var(--space-10);
  margin:auto;
}
.contact-form .section-title{
  text-align: left;
}
.contact-form form {
  max-width: 1240px;
  
  display: grid;
  gap: var(--space-5);
}

.fieldrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}

input,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus {
  border-color: #989898;
}

.btn-primary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  background: #19A7FF;
  color: #fff;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  justify-self: center;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background: #008be6;
}

/* -----------------------------------------------------------------
   3.4. Grids & Tables (그리드 & 표)
   ----------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: var(--space-6);
  align-items: stretch;
}
@media (max-width: 800px) {
  .cmp-grid {
    /* 3열 그리드를 1열로 변경하여 세로로 쌓이게 합니다. */
    grid-template-columns: 1fr;
  }

  .arrow-col {
    /* 가로 화살표(→)를 90도 회전시켜 세로 화살표(↓)처럼 보이게 합니다. */
    transform: rotate(90deg);
  }
}
.cmp {
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:14px;
  padding:20px 50px;
  box-shadow:var(--shadow-1);
}
.cmp h4 {
  margin:0 0 20px;
  font-size:22px;
}
.arrow-col {
  display:grid;
  place-items:center;
  color:#999;
  font-size:28px;
}
.bullet {
  margin:0;
  padding-left:20px;
}
.bullet li {
  margin:8px 0;
}

.cmp-table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  
}
.cmp-table th,
.cmp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: top;
}
.cmp-table thead th {
  background: #f6f8fb;
  font-weight: 800;
}
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* data-label 값을 가져와서 각 셀의 제목으로 보여줌 */
  .responsive-card-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #1a83d8; /* 포인트 컬러 */
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
  }

  

/* =================================================================
   4. Pages (페이지별 스타일)
   ================================================================= */

/* -----------------------------------------------------------------
   4.1. Home (메인 페이지)
   ----------------------------------------------------------------- */
.intro {
  padding: var(--space-9) 0 var(--space-8);
  text-align: center;
}

.intro-heading {
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 28px);
  margin: 10;
}

.intro .accent { color: #2bb673; }
.intro .accent-blue { color: #1a83d8; font-weight: 800; }

.business {
  position: relative;
  min-height: 40vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.business-bg {
  position: absolute;
  inset: 0;
  background: #111 center/cover no-repeat;
  transform: scale(1.02);
}

.business-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.business-inner {
  position: relative;
  color: #fff;
  text-align: center;
  padding: var(--space-10) 0;
}

.business-eyebrow {
  font-size: 30px;
  font-weight: 700;
  opacity: 0.95;
  margin: 0 0 var(--space-6);
}

.business-text {
  font-size: clamp(16px, 2.2vw, 24px);
  margin: 0;
  line-height: 1.5;
}


/* -----------------------------------------------------------------
   4.2. About (회사소개 페이지)
   ----------------------------------------------------------------- */
#about .section {
  padding: var(--space-9) 0;
}
#about .section-title{
  text-align: left;
}

/* About Hero */
#about .about-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
}

#about .about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
}

#about .hero-inner {
  position: relative;
  z-index: 1;
}

#about .hero-title {
  font-size: clamp(22px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  max-width: 980px;
  text-align: center;
}

/* About Nexthing */
#about .about-01 {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-start;
}
#about .about-title {
  text-align: left;
  font-size: clamp(20px, 3.5vw, 36px);
  line-height: 110%;
  font-weight: 800;

  
}
#about .about-cont {
  display: flex;
  flex-direction: row;
  gap: 66px;
  align-items: flex-start;
  width: 100%;
}
#about .about-01-left {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
}
#about .about-subtitle {
  color: #000;
  text-align: left;
  font-weight: 800;
  font-size: clamp(20px, 4.5vw, 30px);
  line-height: 1.25;
}
#about .logo02 {
  width: 230px;
  height: auto;
  object-fit: contain;
}
#about .about-desc {
  flex: 1;
  color: #000;
  text-align: left;
  font-size: clamp(16px, 2.1vw, 22px);
  line-height: 1.75;
  font-weight: 500;
}

/* 회사개요 */
#about .about-03 {
  display: flex;
  flex-direction: row;
  /* gap: var(--space-8);*/
  align-items: flex-start;
}
#about .about-03-left { flex: 0 0 30%; }
#about .about-03-right {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
#about .about-03 .row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-2);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
#about .about-03 .label {
  font-weight: 700;
  color: #222;
  font-size: clamp(14px, 1.9vw, 20px);
}
#about .about-03 .value {
  color: #333;
  line-height: 1.6;
  font-size: clamp(14px, 1.9vw, 20px);
}

/* 보유기술 (About) */
#about .tech-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
#about .tech-card {
  background: #fff;
  border-radius: 14px;
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-2);
}
#about .tech-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 지향점 */
#about .future {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
#about .future .item {
  position: relative;
  display: flex;
  gap: 140px;
  align-items: center;
  width: 100%;
}
#about .future .icon-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  z-index: 2;
}
#about .future .ellipse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
#about .future .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 71px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
#about .future .icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
#about .future .icon-label {
  color: #fff;
  font-weight: 700;
  line-height: 28px;
  font-size: clamp(18px, 1.6vw, 20px);
}
#about .future .text-box {
  background: #fff;
  border-radius: 7px;
  border: 3px solid;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  width: min(700px, 100%);
  min-height: 90px;
  box-shadow: 0 2px 10px rgba(20, 40, 80, 0.06);
  position: relative;
  z-index: 2;
}
#about .future .text {
  color: var(--nexthingblack, #333333);
  font-weight: 600;
  font-size: clamp(14px, 2.1vw, 20px);
  line-height: 28px;
}
#about .future .item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 140px;
  width: 140px;
  height: 0;
  border-top: 2px dashed #ccc;
  transform: translateY(-50%);
  z-index: 0;
}
#about .future .ellipse-vision { background: #809bf2; box-shadow: 0 0 4px 3px #809bf2; }
#about .future .vision-txt { border-color: #6fa2ff; }
#about .future .ellipse-mission { background: #4570f7; box-shadow: 0 0 4px 3px #4570f7; }
#about .future .mission-txt { border-color: #4570f7; }
#about .future .ellipse-value { background: #0a2fb1; box-shadow: 0 0 4px 3px #0a2fb1; }
#about .future .value-txt { border-color: #0a2fb1; }
#about .future .ellipse-strategy { background: #072487; box-shadow: 0 0 4px 3px #072487; }
#about .future .strategy-txt { border-color: #072487; }


/* 협력기관 */
#about .partners-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}
#about .partners-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  min-height: 68px;
}
#about .partners-grid img {
  max-width: 92%;
  max-height: 40px;
  height: auto;
  object-fit: contain;
}

/* ------------------ About 페이지 반응형 ------------------ */
@media (max-width: 980px) {
  #about .about-cont { flex-direction: column; gap: 24px; }
  #about .about-01-left, #about .about-desc { max-width: 100%; }
}
@media (max-width: 900px) {
  #about .about-03 { flex-direction: column; }
  #about .about-03-left, #about .about-03-right { max-width: 100%; }
  #about .about-03 .row { grid-template-columns: 120px 1fr; }
  #about .future .item { flex-direction: column; gap: 20px; }
  #about .future .item::after { display: none; }
  #about .tech-grid { grid-template-columns: 1fr 1fr; }
  #about .partners-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  #about .about-03 .row { grid-template-columns: 1fr; }
  #about .about-03 .label { margin-bottom: 6px; }
  #about .tech-grid { grid-template-columns: 1fr; }
  #about .partners-grid { grid-template-columns: repeat(2, 1fr); }
}


/* -----------------------------------------------------------------
   4.3. Services (사업분야 페이지)
   ----------------------------------------------------------------- */
:root {
  --header-h: 90px;
  --tabs-h: 56px;
}
#services .services-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
}
#services .services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
}
#services .hero-inner {
  position: relative;
  z-index: 1;
}
#services .hero-title {
  font-size: clamp(18px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  max-width: 980px;
  text-align: center;
}

#services .service-section-title {
  text-align: center;
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 800;
  
}

#services .lead {
  text-align: center;
  font-size: 17px;
}

#services .service-eyebrow-sub {
  text-align: center;
  font-size: clamp(12px, 3.5vw, 20px);
}

/* 서비스 탭 */

.tabs-container{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}


.feature-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 49;
  background: var(--color-bg);
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0;
}
.feature-tabs .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  min-height: var(--tabs-h);
  align-items: center;
}
.feature-tabs .tabs a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  transition: box-shadow 0.2s;
}
.feature-tabs .tabs a:hover {
  box-shadow: var(--shadow-1);
}
.feature-tabs .tabs a.is-active {
  border-color: #19A7FF;
  color: #19A7FF;
}

/* 서비스 섹션 공통 */
#services .section {
  padding: var(--space-1) 20px;
  
  scroll-margin-top: calc(var(--header-h) + var(--tabs-h) + 16px);
}
#services .eyebrow {
  text-align: center;
}

/* 서비스 카드 */
.point {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  padding: 22px 30px;
  box-shadow: 0 0 21px 3px rgba(0, 0, 0, 0.15);
}
.point .icon {
  flex-shrink: 0;
  width: 115px;
  height: 110px;
  display: grid;
  place-items: center;
}
.point .icon img {
  width: 100px;
  height: auto;
  object-fit: contain;
}
.point .text {
  font-family: "Pretendard-SemiBold", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 600;
  color: #000;
}

/* 갤러리 */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
/* 갤러리 이미지 스타일 */
.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover; /* 이미지가 비율에 맞게 잘리면서 꽉 차도록 설정 */
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

/* ------------------ 서비스 페이지 반응형 ------------------ */
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .point { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
}

/* 모바일 화면(600px 이하)에서 데스크탑 전용 줄바꿈 숨기기 */
@media (max-width: 900px) {
  .desktop-only-break {
    display: none;
  }
}

/* 모바일 화면에서만 좌우 여백을 20px로 설정 */
@media (max-width: 600px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 600px) {
  .news-container {
    padding: 50px 20px 50px 20px;
  }
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   홍보자료 페이지 (news) 
   ================================================================= */
.news-container {
    padding: 50px 70px 50px 70px;
}


/* =================================================================
   반응형 테이블 스타일 (모바일용)
   ================================================================= */

/* 화면 너비 768px 이하일 때 (모바일) */
@media (max-width: 768px) {
  .responsive-card-table {
    border: 0;
    box-shadow: none;
  }
  
  /* 테이블 헤더(thead)는 모바일에서 숨김 */
  .responsive-card-table thead {
    display: none;
  }

  /* 테이블의 각 행(tr)을 카드처럼 보이게 스타일링 */
  .responsive-card-table tr {
    display: block;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-1);
  }

  .responsive-card-table td {
    display: block;
    padding: 8px 0;
    text-align: left; /* 내용을 왼쪽 정렬 */
    border-bottom: none; /* 기존 하단 선 제거 */
  }

  /* 각 행의 첫 번째 th를 제목처럼 보이게 함 */
  .responsive-card-table tbody th {
    display: block;
    text-align: left;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
  }

  /* 마지막 td의 여백 제거 */
  .responsive-card-table td:last-child {
    padding-bottom: 0;
  }
  

  
}