:root {
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-primary: #083c7c; /* 딥 네이비 */
  --color-primary-soft: #0d4f9e;
  --color-accent: #ff6b3d; /* 포인트 오렌지 */
  --color-accent-soft: #ffd3c1;
  --color-text-main: #222222;
  --color-text-muted: #6b7280;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.08);
  --container-width: min(1120px, 100% - 40px);
  --transition-fast: 200ms ease-out;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
    circle at top left,
    #edf2ff 0,
    #f6f7fb 40%,
    #eef2f7 100%
  );
  color: var(--color-text-main);
  scroll-behavior: smooth;
  font-size: 1.1rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

main {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}

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

/* 공통 레이아웃 */

.page {
  min-height: 100vh;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

/* 헤더 */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(246, 247, 251, 0.95),
    rgba(246, 247, 251, 0.85),
    rgba(246, 247, 251, 0)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);

  width: 100vw !important;
  left: 0;
  right: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 40px;
}

.brand-text-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-text-sub {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.875rem;
}

.nav a {
  position: relative;
  padding-block: 4px;
  color: #374151;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a4a, #ffd166);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-soft)
  );
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), filter var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  filter: brightness(1.02);
}

.btn-primary span.icon {
  font-size: 1rem;
}

/* 히어로 */

.hero {
  padding: 60px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.hero-eyebrow-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.hero-title {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.27;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 14px;
  white-space: pre-line;
}

.hero-title span.accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-chip {
  font-size: 0.6875rem;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-cta-note {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

/* 카드 전체 */
.hero-visual-card {
  position: relative;
  border-radius: 32px;
  padding: 26px;
  background: linear-gradient(135deg, #5f9cff 0%, #1858dc 35%, #1e345d 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Glass Layer */
.hero-visual-glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.12); /* 핵심: 투명한 흰색 */
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25); /* Glass 테두리 */
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.08),
    /* 내부 부드러운 glow */ 0 8px 24px rgba(0, 0, 0, 0.2); /* 외부 그림자 */
  position: relative;
  overflow: hidden;
}

/* Glass 반짝이는 반사효과 */
.hero-visual-glass::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    transparent 100%
  );
  opacity: 0.4;
  pointer-events: none;
}

/* 텍스트 */
.hero-visual-tag,
.hero-visual-title,
.hero-visual-desc,
.hero-visual-metric,
.hero-visual-pill {
  color: #f3f6ff !important;
}

/* 태그 */
.hero-visual-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* 제목 */
.hero-visual-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff !important;
}

/* 설명 */
.hero-visual-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #eaf0ff !important;
}

/* 메트릭 */
.hero-visual-metrics {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-visual-metric {
  font-size: 0.75rem;
  opacity: 0.95;
}

.hero-visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.hero-visual-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-visual-pill {
  font-size: 0.625rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.5);
  backdrop-filter: blur(10px);
}

.hero-visual-thumb {
  width: 130px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

.hero-visual-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.app-slider {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 8px;
  scroll-snap-type: x mandatory;
  margin-bottom: 26px;
}
.app-slider img {
  width: 220px;
  border-radius: 16px;
  scroll-snap-align: start;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.hero-visual-orbit {
  position: absolute;
  inset: -120px;
  opacity: 0.22;
  pointer-events: none;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.5) 0,
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(96, 165, 250, 0.4) 0,
      transparent 60%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(248, 250, 252, 0.4) 0,
      transparent 65%
    );
}

/* 섹션 공통 */

section {
  padding: 40px 0 36px;
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.greeting-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.35);
  max-width: 820px;
  margin: 0 auto;
}

.greeting-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--color-primary);
}

.greeting-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4b5563;
}

.greeting-sign {
  text-align: right;
  margin-top: 30px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-soft);
}

/* 카드 전체 클릭 가능하게 마우스 포인터 변경 */
.greeting-card {
  cursor: pointer;
}

/* 펼치기/접기 버튼 */
.greeting-toggle-btn {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

/* 모바일: 접힘 기본 적용 */
@media (max-width: 768px) {
  .greeting-text {
    max-height: 90px;
    overflow: hidden;
    transition: max-height 0.35s ease;
    position: relative;
  }

  /* 접혀 있을 때 ellipsis 표시 */
  .greeting-text::after {
    content: "…";
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 20px;
    padding-right: 4px;
    font-weight: 700;
    background: linear-gradient(to right, transparent, #fff);
    color: #3b4a5a;
    opacity: 1;
    transition: opacity 0.25s ease;
  }

  /* 펼쳐졌을 때 ellipsis 비활성화 */
  .greeting-text.expanded::after {
    opacity: 0;
  }

  .greeting-text.expanded {
    max-height: 1500px;
  }
}

/* 데스크탑: 무조건 펼쳐진 상태 */
@media (min-width: 769px) {
  .greeting-text {
    max-height: none !important;
  }

  .greeting-toggle-btn {
    display: none;
  }

  .greeting-card {
    cursor: default;
  }
}

/* 비전/가치 */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.value-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6b7280;
}

.value-title {
  font-size: 1rem;
  font-weight: 800;
}

.value-title span {
  color: var(--color-accent);
}

.value-body {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.value-tag {
  align-self: flex-start;
  font-size: 0.625rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 60, 124, 0.06);
  color: var(--color-primary);
  font-weight: 600;
}

.value-orbit {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 110% 0%,
    rgba(37, 99, 235, 0.12) 0,
    transparent 50%
  );
  opacity: 0.8;
  pointer-events: none;
}

/* 서비스 */

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  overflow: hidden;
}

.service-pill {
  font-size: 0.625rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(8, 60, 124, 0.06);
  color: var(--color-primary);
  align-self: flex-start;
  font-weight: 600;
}

.service-name {
  font-size: 0.875rem;
  font-weight: 700;
}

.service-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-meta {
  font-size: 0.625rem;
  color: #9ca3af;
}

.service-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 4px 7px;
  font-size: 0.625rem;
  border-radius: 999px;
  background: #0f172a;
  color: #e5e7eb;
}

.service-detail {
  background: linear-gradient(135deg, #0f172a, #0b3171);
  color: #e5edff;
  border-radius: 20px;
  padding: 18px 18px 12px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.service-detail-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-detail-body {
  font-size: 0.75rem;
  color: #d1ddff;
  line-height: 1.7;
  margin-bottom: 10px;
}

.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.service-detail-tag {
  font-size: 0.625rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.service-detail-footer {
  font-size: 0.6875rem;
  color: #9fb5ff;
}

.service-detail-orbit {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 120% 0%,
    rgba(248, 250, 252, 0.15) 0,
    transparent 50%
  );
  opacity: 0.9;
}

/* 프로세스 */

.process {
  background: linear-gradient(180deg, #ffffff, #e5edff);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.process-step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.process-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.process-step-body {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.process-step-num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(8, 60, 124, 0.08);
  margin-right: 6px;
}

/* 앱 섹션 */

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: center;
}

.app-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  position: relative;
  overflow: hidden;
}

.app-pill {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.app-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.app-body {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.app-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  font-size: 0.75rem;
  color: #4b5563;
  margin-bottom: 10px;
}

.app-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
}

.app-note {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.app-preview {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: radial-gradient(
    circle at 0 0,
    #5f9cff 0%,
    #1858dc 35%,
    #1e345d 100%
  );
  position: relative;
  box-shadow: var(--shadow-soft);
  color: #e5edff;
  overflow: hidden;
}

.app-preview-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.app-preview-body {
  font-size: 0.75rem;
  color: #d1ddff;
  margin-bottom: 8px;
}

.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.app-preview-card {
  border-radius: 16px;
  overflow: hidden;
}

.app-preview-card img {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.app-preview-orbit {
  position: absolute;
  inset: -120px;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.4) 0,
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(96, 165, 250, 0.45) 0,
      transparent 60%
    );
  opacity: 0.6;
  pointer-events: none;
}

/* 기계설비 성능점검 설명 */

.scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 24px;
}

.scope-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.scope-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.scope-card-body {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.6875rem;
  margin-bottom: 10px;
}

.scope-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 60, 124, 0.06);
  color: var(--color-primary);
}

.scope-list {
  margin: 0;
  padding-left: 16px;
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.6;
}

.equipment-toggle {
  background: #12326b;
  color: #fff;
  border: none;
  margin: 20px;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.equipment-panel {
  max-height: 480px;
  width: 60%;
  margin: 0 auto; /* 화면 중앙 정렬 */
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 12px;
  background-color: #fff;
  display: block;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.35);

  display: none;
}

.equipment-panel.open {
  display: block;
}

.equipment-panel img {
  width: 100%;
}

@media (max-width: 960px) {
  .equipment-panel {
    width: 90%;
  }
}

@media (max-width: 640px) {
  .equipment-panel {
    width: 100%;
  }
}

/* 실적/고객 */

.clients {
  background: #0b3171;
  color: #e5edff;
}

.clients .section-kicker {
  color: #93b5ff;
}

.clients .section-header {
  color: #e5edff;
}

.clients .section-desc {
  color: #c7d2fe;
}

.client-layout {
  display: grid;
  grid-template-columns: 1.25fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.client-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-badge {
  font-size: 0.6875rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(129, 140, 248, 0.85);
}

.client-note {
  font-size: 0.75rem;
  color: #c7d2fe;
  margin-top: 12px;
  line-height: 1.7;
}

.client-stat-card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 20px;
  padding: 16px 18px 12px;
  border: 1px solid rgba(129, 140, 248, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.client-stat-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.client-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.client-stat {
  font-size: 0.6875rem;
  color: #c7d2fe;
}

.client-stat strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
}

.portfolio {
  padding: 60px 0 70px;
}

.portfolio-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #d0daff;
  text-align: center;
}
/* 
.scroll-list {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-radius: 16px;
  padding: 14px 0;
  margin-bottom: 24px;
}

.scroll-track {
  display: inline-flex;
  gap: 30px;
  animation: scroll-left 18s linear infinite;
}

.scroll-track span {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 14px;
  background: #031c4c;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */

/* 무한 스크롤 활성화 */
.carousel-wrapper.infinite .carousel-track {
  display: flex;
  width: max-content;
  animation: scrollFlow 45s linear infinite;
}

.carousel-wrapper.infinite.equipment .carousel-track {
  animation: scrollFlow 60s linear infinite;
}

/* 각 아이템은 고정 크기 */
.carousel-item {
  flex-shrink: 0;
  width: 220px;
  position: relative;
  overflow: hidden;
  margin-right: 20px;
  border-radius: 18px;
  box-shadow: 0 0 8px 3px #fff0cd;
  background-color: #fff0cd;
  outline: 1px solid #fff0cd;
}

/* 흐르는 애니메이션 */
@keyframes scrollFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* 아이템 2배 구성이므로 -50%만큼 이동 */
}

.carousel-wrapper {
  width: 100%;
  border-radius: 18px;
  position: relative;
  margin-bottom: 40px;
}

.carousel-item img {
  width: 105%;
  height: 105%;
  object-fit: cover;
  /* border-radius: 18px; */
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0 0 18px 18px;
}

.carousel-item.etc-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #001b47aa; /* 어두운 파란 톤 반투명 */
  backdrop-filter: blur(6px);
  border-radius: 18px;
  position: relative;
}

.carousel-item.etc-item img {
  display: none; /* 이미지 숨기기 */
}

.carousel-item.etc-item .carousel-caption {
  position: static; /* 절대 위치 제거 */
  background: none;
  padding: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  line-height: 1.4;
  border-radius: 0;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-33.33%);
  }
  40% {
    transform: translateX(-33.33%);
  }

  45% {
    transform: translateX(-66.66%);
  }
  60% {
    transform: translateX(-66.66%);
  }

  65% {
    transform: translateX(-99.99%);
  }
  80% {
    transform: translateX(-99.99%);
  }

  85% {
    transform: translateX(-133.32%);
  }
  100% {
    transform: translateX(-133.32%);
  }
}

/* 지점/문의 */

.contact {
  padding-bottom: 56px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: flex-start;
}

.contact-card {
  background: #0f172a;
  color: #e5edff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.contact-card-title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card-body {
  font-size: 0.8125rem;
  color: #cbd5f5;
  margin-bottom: 16px;
  line-height: 1.7;
}

.contact-info-list {
  display: grid;
  gap: 8px;
  font-size: 0.75rem;
}

.contact-info-item span.label {
  display: inline-block;
  min-width: 60px;
  color: #9ca3d6;
}

.contact-orbit {
  position: absolute;
  inset: -120px;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.1) 0,
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(96, 165, 250, 0.45) 0,
      transparent 60%
    );
  opacity: 0.6;
  pointer-events: none;
}

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-form-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-size: 0.6875rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 7px 9px;
  font-size: 0.75rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background 120ms ease-out;
  background: #ffffff;
}

.form-field textarea {
  min-height: 72px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-primary-soft);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
  background: #f9fbff;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.form-note {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 14px 0 18px;
  font-size: 0.6875rem;
  color: #9ca3af;
}

.footer-inner {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9ca3af;
}

/* 반응형 */

@media (max-width: 960px) {
  .hero-inner,
  .service-layout,
  .app-layout,
  .scope-layout,
  .client-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 32px;
  }

  .hero-inner {
    gap: 28px;
  }

  .header-inner {
    gap: 14px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    display: none; /* 메뉴만 숨김 */
  }

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

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

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

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

  .service-list {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-visual-thumb {
    width: 110px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Kakao Map */
.map-container {
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.map-title {
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 18px;
  background: #f5f7fb;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.map-frame {
  width: 100%;
  height: 360px;
}

@media (max-width: 640px) {
  .map-frame {
    height: 260px;
  }
}
