/* =========================================================
   메인 — 통근 솔루션 · 고객 효용 섹션 (2026-10 개편 추가분)
   ========================================================= */

/* ---------- 하루 타임라인 (다크) ---------- */
.solution {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 128px 0 120px;
  color: #fff;
  background-color: #0c1020;
  background-image:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(105, 125, 235, 0.28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  scroll-margin-top: var(--nav-height);
}

.solution-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}

.solution-head {
  position: sticky;
  top: calc(var(--nav-height) + 56px);
  align-self: start;
}

.solution .eyebrow {
  color: var(--lime);
}

.solution-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.28;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.solution-head h2 em {
  font-style: normal;
  color: var(--lime);
}

.solution-head p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--body-copy-size);
  line-height: 1.75;
}

.day-line {
  --progress: 0;
  position: relative;
  margin: 0;
  padding: 0 0 0 44px;
  list-style: none;
}

/* 세로 레일 + 스크롤 진행 표시 */
.day-line::before,
.day-line::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
}

.day-line::before {
  background: rgba(255, 255, 255, 0.12);
}

.day-line::after {
  background: linear-gradient(180deg, var(--blue), var(--lime));
  transform: scaleY(var(--progress));
  transform-origin: top;
}

.day-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 0 0 56px;
  opacity: 0.38;
  transition: opacity 0.5s ease;
}

.day-step:last-child {
  padding-bottom: 0;
}

.day-step.is-on {
  opacity: 1;
}

.day-step::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0c1020;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.day-step.is-on::before {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 6px rgba(186, 242, 15, 0.16);
}

.day-when {
  padding-top: 1px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 600;
}

.day-when span {
  display: block;
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.day-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.day-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--body-copy-size);
  line-height: 1.7;
}

/* 예시 상태 칩 — 실제 시스템 화면이 아닌 개념 표현 */
.day-chip {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.day-chip b {
  margin-left: 6px;
  color: #fff;
  font-weight: 700;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chip-dot.ok {
  background: #3cbf7a;
}

.chip-dot.live {
  background: #8fa0ff;
  animation: chip-pulse 1.8s ease-out infinite;
}

.chip-dot.warn {
  background: #f5a524;
}

@keyframes chip-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(143, 160, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(143, 160, 255, 0);
  }
}

.solution-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.solution-foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.solution-foot strong {
  color: #fff;
  font-weight: 700;
}

.solution-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 100px;
  background: var(--lime);
  color: #000;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.solution-cta:hover,
.solution-cta:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .solution-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .solution-head {
    position: static;
  }
}

@media (max-width: 760px) {
  .solution {
    padding: 88px 0 80px;
  }

  .solution-inner {
    width: calc(100% - 28px);
  }

  .day-line {
    padding-left: 36px;
  }

  .day-step {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 44px;
  }

  .day-step::before {
    left: -32px;
  }

  .day-chip {
    grid-column: 1;
  }

  .day-body h3 {
    font-size: 20px;
  }

  .solution-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .solution-foot p {
    font-size: 18px;
  }
}

/* ---------- 고객 효용 ---------- */
.benefits {
  padding: var(--section-space) 0;
}

.benefits h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.25;
  font-weight: 700;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ink);
}

.benefit {
  padding: 28px 28px 8px 0;
}

.benefit + .benefit {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.benefit-no {
  display: block;
  margin-bottom: 40px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.benefit h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.benefit p {
  margin: 0;
  color: var(--body);
  font-size: var(--body-copy-size);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .benefit:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .benefits {
    padding: var(--section-space-mobile) 0;
  }

  .benefit-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }

  .benefit,
  .benefit + .benefit {
    padding: 24px 0;
    border-left: 0;
  }

  .benefit + .benefit {
    border-top: 1px solid var(--line);
  }

  .benefit-no {
    margin-bottom: 16px;
  }
}

/* ---------- 차량 라인업 ---------- */
.fleet-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 40px);
  line-height: 1.25;
  font-weight: 700;
}

.vehicle-caption h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* ---------- 시스템 예시 일러스트 애니메이션 ---------- */
.sa-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: sa-pulse 1.6s ease-in-out infinite;
}

@keyframes sa-pulse {
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

.sa-scan {
  animation: sa-scan 3.2s ease-in-out infinite alternate;
}

@keyframes sa-scan {
  to {
    transform: translateX(340px);
  }
}

/* ---------- 문의: 대표번호 ---------- */
.contact-hours strong {
  font-size: 30px;
  letter-spacing: -0.02em;
}

.contact-hours strong a {
  color: inherit;
  text-decoration: none;
}
