@charset "UTF-8";

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    font-size: 17px; 
    scroll-behavior: smooth; 
}
body {
    font-family: var(--font-family-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
    color: var(--color-dark-base);
    background-color: var( --color-light-base);
    
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.main-page { scroll-snap-type: y mandatory; } 
body.is-snapping { pointer-events: none; }

h1 { font-size: var(--fs-h1); line-height: var(--lh-title); margin-bottom: 0.4em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-title); margin-bottom: 0.6em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-body); margin-bottom: 0.8em; }
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: #000; color: #fff;
    padding: 10px; z-index: 1000;
}
.skip-link:focus {
    top: 0; /* Tab 키를 눌러 포커스가 가면 화면에 나타남 */
}

/* 섹션 */
section {
    width: 100%; position: relative; overflow: visible;
    background-color: var(--color-light-base);
    color: var(--color-dark-base);

    scroll-snap-align: start;
    scroll-snap-stop: always;
}
section.has-bg {
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
section.has-bg::before {
    content: ""; position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-overlay-subtle); /* 배경 이미지 사용 시 어두운 오버레이 */
    z-index: 1;
}
.section--full { 
    min-height: 100svh;
    display: flex; justify-content: center; align-items: center;
}
@supports (height: 100dvh) {
    .section--full { min-height: 100dvh; }
}

.section--compact {
    padding: var(--pd-body-compact);
    display: flex; justify-content: center; align-items: center;
}
.section--content {
    padding: var(--pd-body-content);
    display: block;
}

.inner { 
    display: flex; flex-direction: column;
    width: 100%; max-width: var(--container-max-width);
    padding: var(--space-xl) 0; margin: 0 auto; position: relative; 
    z-index: 2; /* 배경 오버레이 위에 표시 */
}


/* =========================
   intro(hero)
   ========================= */

.intro-video { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: black; }

#intro {
    background-color: var(--color-dark-base);
    color: var(--color-light-base);
}

/* 비디오 교체 시 화면 깜빡임 최소화 처리 */
.video-bg {
    position: absolute; inset: 0; 
    width: 100%; height: 100%; 
    aspect-ratio: 16 / 9;
    object-fit: cover; opacity: 0; visibility: hidden;

    /* idle video 숨기기 : pointer-events + opacity */
    pointer-events: none; 
    transition: opacity 0.8s ease; 
}

.video-bg.active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.intro-content { position: absolute; z-index: 5; color: #fff; text-align: center; }
.intro-content h1 { font-size: var(--fs-hero-title); margin-bottom: 20px; }
.intro-content p { font-size: var(--fs-hero-sub); }
.intro-text-shadow { text-shadow: 1px 1px 2px var(--color-dark-base); }  
.btn-reserve {
    display: inline-block; margin-top: 20px; padding: 12px 30px;
    background: var(--color-primary); text-decoration: none; border-radius: 25px;
}

/* =========================
   right menu
   ========================= */

/* 섹션 이동 메뉴 */
.right-menu {
    position: fixed;
    right: 0; top: 8%;
    z-index: 1000;
    background-color: var(--color-primary);
    border-radius: 24px 0 0 0px; border: 1px solid var(--glass-border);
}
.right-nav { padding: var(--space-md) var(--space-sm); }
.right-nav__list { list-style: none; }
.right-nav__list li { 
    width: 55px; height: 60px; position: relative; 
    display: flex; align-items: center; justify-content: center; 
}
.right-nav__list li:not(:last-child) { border-bottom: 1px solid var(--color-border-light); }
.right-nav__list a,
.right-booking span {
    text-decoration: none; color: var(--color-light-muted);
    font-size: var(--fs-note);
    transition: 0.4s;
}

.right-nav__list a:hover, 
.right-nav__list a.active { 
    color: var(--color-light-base); font-weight: var(--fw-bold); 
    transform: scale(1.1); 
}

.right-booking {
    height: 80px; 
    display: flex; flex-direction: column; gap: var(--space-xs);
    align-items: center; justify-content: center;
    background-color: #08c17c; color: var(--color-light-base);
}
.right-booking img { height: 20px; }
.booking__text { font-weight: var(--fw-bold); }

/* 스크롤 아이콘 */
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; flex-direction: column; align-items: center;
    color: #fff; font-size: 12px; animation: bounce 2s infinite;
}
.scroll-indicator::after {
    content: "SCROLL";
    display: block; margin-top: var(--space-xs);
    font-size: 12px; letter-spacing: 0.1em;
}

.mouse {
    width: 24px; height: 40px; border: 2px solid #fff; border-radius: 12px;
    position: relative; margin-bottom: 5px;
}
.mouse::after {
    content: ''; width: 4px; height: 8px; background: var(--color-light-base);
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    border-radius: 2px; animation: scrollAnim 2s infinite;
}
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translate(-50%, 0);} 40% {transform: translate(-50%, -10px);} 60% {transform: translate(-50%, -5px);} }
@keyframes scrollAnim { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 20px; } }


/* =========================
   btn 
   ========================= */

/* 버튼 */
.fill-btn {
  position: relative; display: inline-block;
  width: 180px;
  margin-top: 1em; 
  padding: var(--space-sm);
  color: var(--color-dark-sub);
  text-decoration: none;
  border: 1.5px solid #d0d0d0;
  background-color: transparent;
  z-index: 1;
  overflow: hidden; 
  transition: color 0.4s ease, border-color 0.4s ease;
  
  /* 모바일 접근성: 최소 터치 영역 확보 */
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
}
.fill-btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--color-primary);
  z-index: -1; /* 텍스트 뒤로 배치 */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}
.fill-btn:hover::before,
.fill-btn:focus-visible::before {
  transform: scaleX(1); 
  transform-origin: left;
}
.fill-btn:hover,
.fill-btn:focus-visible {
  color: var(--color-light-sub);
  border-color: var(--color-primary);
}

/* 키보드 포커스 접근성 */
.fill-btn:focus-visible {
  outline: 2px solid var(--color-primary-hover);
  outline-offset: 3px;
}

/* 모바일 터치 피드백 */
@media (hover: none) {
  .fill-btn:active {
    background-color: var(--color-primary-hover);
  }
}



/* =========================
   icon / badge
   ========================= */

/* 상태 배지 */
.badge-item {
    margin-right: var(--space-2xs);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-medium);
    font-size: var(--fs-note);

    background-color: var(--badge-bg);
    color: var(--badge-text);
    align-items: center;
}
.badge-item[data-direction="up"] {
    --badge-bg: var(--color-direction-up);
    --badge-text: var(--color-badge-text-on-fill);
}
.badge-item[data-direction="down"] {
    --badge-bg: var(--color-direction-down);
    --badge-text: var(--color-badge-text-on-fill);
}
   
/* 외부링크 svg sprite */
.external-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  color: var(--color-icon-muted);
  pointer-events: none;
}
.external-icon svg { width: 100%; height: 100%; }

/* 재생버튼 svg overay */
.play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.play-icon svg { width: 56px; height: 56px; }


/* =========================
   시승 예약 배너
   ========================= */
.booking { background-color: #00c73c; padding: clamp(2rem, 1.5rem + 2.22vw, 4rem); }
.booking__button {
    width: 100%; max-width: 480px;
    display: flex; align-items: center; justify-content: center;
    gap: 1em;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-light-base);
    cursor: pointer;
}
.booking__text { 
    font-size: var(--fs-h3); line-height: 1.2;
    white-space: nowrap; 
}
.booking__logo {
    height: 2em; max-height: 2em;
    width: auto;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* =========================
   사업 요약
   ========================= */

/* 제목 및 이미지 */
.section-header {
    display: flex; justify-content: space-between;
    margin-bottom: 60px; gap: 50px;
}
.section-header .header-text { flex: 1.2; }
.section-header .header-image { flex: 1; }
.section-header .header-image img { width: 100%; height: 350px; object-fit: cover; }

/* 본문(1행은 3열, 2행은 1열) */
.section-body {
    width: 100%; display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: var(--space-xl);
}
.info-box dt { 
    font-size: var(--fs-h3); line-height: var(--lh-body); 
    margin-bottom: 0.8em; font-weight: var(--fw-regular); 
}
.info-box img { width: 100%; height: auto; margin: 0; }
.period-list { 
    list-style: none; padding-top: 10px; 
    color: var(--color-dark-sub); font-size: 0.95rem;
}
.distance { color: var(--color-primary); font-weight: var(--fw-semibold); margin-top: 5px; }

/* 컨소시엄 목록 */
.partner-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.partner-list .badge-item { border-radius: 10px; font-size: var(--fs-span); }

/* 노선도 */
.route-box { grid-column: 1 / -1; }
.route-box .map-box { 
    display: block; position: relative; 
    width: 100%; max-height: 760px;
    overflow: hidden; 
}

/* 보도자료 */
.press { margin-top: var(--space-xl); display: flex; flex-direction: column; }
.press h3 { font-weight: var(--fw-regular); }
.press-name { 
    flex: 0 0 100px; /* 매체명 너비 고정 */ 
    font-weight: var(--fw-bold); letter-spacing: var(--ls-body);
}
.press-date { flex-shrink: 0; font-size: var(--fs-note); color: var(--color-dark-muted); }
.press-container {
    background-color: var(--color-light-sub);
    display: flex; flex-direction: column;
    padding: var(--pd-card-inner);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
}
.external-link-guide { font-size: var(--fs-note); color: var(--color-primary); }
.external-link-guide .external-icon { color: var(--color-primary); }

/* 유튜브 목록 */
.youtube-list {
    list-style: none;
    margin: var(--space-lg) 0 0; padding: 0;
    display: grid; 
    gap: var(--space-lg);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.youtube-item a { display: block; text-decoration: none; color: inherit; }
.youtube-thumb {
    position: relative;
    aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: var(--space-2xs);
    background: var(--color-dark-base);
}
.youtube-thumb img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--space-2xs);
}
.youtube-info { margin-top: var(--space-xs); }
.youtube-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 뉴스 목록 */
.news-links { list-style: none; margin: 0; padding: var(--space-md) 0; }
.news-item a {
  display: flex; align-items: center;
  gap: var(--space-sm); padding: var(--space-md) 0;
  text-decoration: none; color: inherit;
}
.news-item { border-top: 1px solid var(--color-border-dark); }
.news-content {
  flex: 1; display: flex; align-items: center;
  gap: var(--space-xs); min-width: 0;
}
.news-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-title:hover { text-decoration: underline; }
.news-external { flex-shrink: 0; color: var(--color-dark-muted); }


/* =========================
   버스 소개
   ========================= */
  
#bus-info {
    background-image: url('../assets/img/bus-img002.jpg');
    color: var(--color-light-base);
}
#bus-info .inner {
    width: 80%; 
    display: flex; flex-direction: column; 
    justify-content: space-between;
}
#bus-info h2 { font-size: var(--fs-h1); }

/* 글래스 위젯 */
.widget-container { 
    display: flex; flex-direction: column; gap: var(--space-md);
    align-self: flex-end;
    width: 100%; max-width: 640px;
 }
.glass-widget {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md); padding: 20px;   
}
.info-list {
    display: flex; justify-content: space-between; 
    margin: 0; padding: 0; list-style: none;
}
.info-item { flex: 1; text-align: center; color: var(--color-light-base); }
.info-item strong { font-size: var(--fs-h3); margin-right: 4px; }
.info-item:not(:last-child) { border-right: 1px solid var(--color-border-light); }

#bus-info .bus-btn { 
    color: var(--color-light-sub);
    margin: 0 auto;
}


/* =========================
   노선 안내
   ========================= */

.station-title { text-align: center; }
/* 노선정보 */
.full-stations {
    display: flex; flex-direction: column; gap: var(--space-sm);
    padding: var(--space-lg) 0;
}
.full-stations h3 { font-weight: var(--fw-regular); }
.route-visual {
    list-style: none;
    display: flex; align-items: baseline; justify-content: space-between;
    background-color: var(--color-light-sub);
    position: relative; padding: 50px; border-radius: 24px;
}
.route-step { position: relative; text-align: center; flex: 1; z-index: 2; }
.route-step::before {
    content: ''; position: absolute;
    top: 15px; left: 50%; width: 100%; height: 2px;
    background: #d0d7e2;
    z-index: -1;
}
.route-step:last-child::before { display: none; }
.dot {
    width: 32px; height: 32px;
    min-width: 32px; min-height: 32px; /* 작은 화면에서 모양 유지를 위해 추가함 */
    flex-shrink: 0;
    background: var(--color-primary);
    border: 6px solid var(--color-light-base);
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(0,102,255,0.2);
}
/*.step-name { color: var(--color-text-primary); font-weight: var(--fw-semibold);}*/ /*사용안함*/


/* 정류소 목록 */
.station-location { margin: var(--space-lg) 0; }
.location-header {
    display: flex; justify-content: space-between;
    align-items: flex-start;
}
.legend-badges {
    display: flex; flex-direction: column; gap: var(--space-sm);
    list-style: none; font-size: var(--fs-note);
}
.station-list { 
    display: flex; flex-direction: column; 
    padding: var(--space-lg) 0; gap: var(--grid-gap-2col); }
.stations {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap-2col);
}
.station-item h3 { font-weight: var(--fw-regular); }


/* 지도 이미지 */
.map-box { 
    display: block; position: relative; 
    aspect-ratio: 3 / 2; width: 100%; max-height: 400px; 
    overflow: hidden; cursor: pointer;
}
.map-box::before {
    content: var(--map-credit);
    position: absolute; 
    top: 0px; right: 0px; 
    font-size: var(--fs-note);
    color: var(--map-credit-color);
    background: var(--map-credit-bg);
    padding: var(--space-xs);
    z-index: 2;
}
.map-box img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.map-box img:first-child { opacity: 1; }
.map-box:hover img:first-child { opacity: 0; }
.map-box:hover img:last-child { opacity: 1; }

.badge-box { display: flex; flex-direction: row; justify-content: space-between;}
.station-badges {
    display: flex; flex-wrap: wrap; gap: var(--space-2xs); 
    list-style: none; padding: 0; margin: 0 0 8px 0; 
}
.station-badges:nth-child(odd) { justify-content: flex-start; }
.station-badges:nth-child(even) { justify-content: flex-end; }


/* =========================
   이용안내
   ========================= */

#service-info,
#project-benefits { background-color: var(--color-light-sub); }
#service-info .section-header { text-align: center; }
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap-2col);
}
.card-item {
    background-color: var(--color-light-base);
    display: flex; flex-direction: column;
    padding: var(--pd-card-inner); 
    border-radius: var(--radius-lg);
    box-sizing: border-box;
}
.card-item > h3 { margin-bottom: 1.2em; }
.card-item ul { padding-left: 1em; } 
.details { 
    color: var(--color-dark-sub);
    font-size: var(--fs-card-desc); letter-spacing: -0.01em;
} 


/* =========================
   TOP 버튼
   ========================= */

.progress-wrap::before {
    content: '↑'; 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--color-primary); font-size: 20px;
}
.progress-wrap {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.progress-wrap.active-scroll {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.progress-circle path {
  stroke: var(--color-primary);
  stroke-width: 4;
  fill: none;
  transition: stroke-dashoffset 0.2s linear;
} 
/* 프로그레스바 회전 위치 변경 */
/* .progress-wrap svg{ transform: rotate(-180deg); } */


/* =========================
   푸터
   ========================= */

footer { 
    background: var(--color-dark-base); color: var(--color-light-sub); 
    padding: var(--pd-body-compact); 
    font-size: var(--fs-note);
    flex-shrink: 0;
}
.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: var(--space-lg);
}
.footer-content { 
    flex: 1; min-width: 300px; 
    display: flex; flex-direction: column;
    gap: var(--space-sm); 
}
.footer-logo { 
    display: block;
    font-size: var(--fs-p); font-weight: var(--fw-bold); 
    margin-bottom: var(--space-2xs);
}
address { font-style: normal; }
.footer-links ul { 
    list-style: none; padding: 0; margin: 0;
    display: flex; 
    gap: var(--space-md); 
    flex-wrap: wrap;
}
.footer-links a { 
    color: var(--color-light-muted); 
    text-decoration: none; 
    transition: all 0.3s ease; 
}
.footer-links a:hover { color: var(--color-light-sub); }


/* =========================
   서브페이지
   ========================= */

.info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap-2col);
}
.info-section__full { grid-column: 1 / -1; }

/* 사업 상세 페이지 */
#project-intro {
    background-image: url('../assets/img/sub-intro1.jpg');
    color: var(--color-light-base);
}
#project-info { background-color: var(--color-light-sub); }
.sub-prj-title { text-align: center; margin-bottom: var(--space-lg); }
.sub-prj-title > p { color: var(--color-primary); }
.sub-prj-desc { margin: var(--space-lg) 0; }
.sub-prj-desc .card-item .card-title { font-weight: var(--fw-regular); }
.card-item > ul.partners-cards { padding-left: 0; } /* 참여기관 리스트만 별도 스타일 */
.partners-cards,
.benefits-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-3col); margin-top: var(--space-lg);
}
.card-border { 
    border-radius: 0; border: 1px solid #dde1e6;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.08);
}
.card-border > ul { list-style-type: disc; }
.partner-name { 
    margin-bottom: var(--space-sm);
    font-size: var(--fs-p); font-weight: var(--fw-semibold);
 }
.partner-role { color: var(--color-primary); }

/* 버스 상세 페이지 */
.page-product img {
    width: 100%; 
    object-fit: cover; display: block;
    background: var(--color-light-muted);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#product-intro {
    background-image: url('../assets/img/bus-img005.jpg');
    color: var(--color-light-base);
}
#product-intro > .intro-content { padding: var(--pd-body-compact); }
#product-intro .info-list { margin-top: var(--space-2xl); }
#product-intro .info-item:not(:last-child) { border-right: none; }
.bus-features {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-3col); margin-top: 100px;
}
.bus-features data {
    margin-right: var(--space-2xs);
    font-size: var(--fs-h1); font-weight: var(--fw-bold);
}

.info-visual > img { height: 100%; }
#product-tech { background-color: var(--color-light-sub); }
.tech-info {
    display: grid; grid-template-columns: 1fr;
    gap: var(--space-xl);
}
.tech-item > figure > img { 
    height: auto; max-height: 400px; 
    aspect-ratio: 3 / 2; 
}
.tech-item-info,
.spec-info { padding-top: var(--space-lg); }
.tech-info article:nth-child(even) > div { order: 2; }
.tech-info article:nth-child(even) > img { order: 1; }
.spec-info > h3 { font-weight: var(--fw-regular); }
.spec-items { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-top: 1.5px solid var(--color-dark-base);
}
.spec-items > dt,
.spec-items > dd {
    padding: var(--space-sm);
    border-top: 1px solid var(--color-dark-muted);
}
.spec-items > dt { font-weight: var(--fw-bold); }
.spec-items > dd { text-align: right; }

/* =========================
   아이콘 스프라이트
   ========================= */

.sprite {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.sprite::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.page-project .sprite::before {
    background-image: url('../assets/img/ico-prj-sprite.png');
}

/* 아이콘 인덱스 맵 */
.icon-01::before { background-position: 0 0; }
.icon-02::before { background-position: 0 -40px; }
.icon-03::before { background-position: 0 -80px; }
.icon-04::before { background-position: 0 -120px; }
.icon-05::before { background-position: 0 -160px; }
.icon-06::before { background-position: 0 -200px; }
.icon-07::before { background-position: 0 -240px; }
.icon-08::before { background-position: 0 -280px; }
.icon-09::before { background-position: 0 -320px; }
.icon-10::before { background-position: 0 -360px; }


/* =========================
   미디어쿼리
   ========================= */

@media (max-width: 1024px) {

    /* right-menu : 가로형 상단 메뉴로 변경 */
    .right-menu {
        top: 0; left: 0; bottom: auto;
        transform: none;
        width: 100%;
        /* width: 100% - calc(100vw - 100%);  */
        height: 60px;

        display: flex; align-items: center; justify-content: space-between;
        border-radius: 0; 
    }
    .right-nav { margin-left: var(--space-md); padding: 0; flex: 1; }
    .right-nav__list { display: flex; justify-content: flex-start; gap: var(--space-sm); }
    .right-nav__list li {
        width: auto; height: 40px; 
        border-bottom: none !important; /* 구분선 제거 */
    }
    .right-nav__list li:not(:last-child) {
        border-right: 1px solid var(--color-border-light);
        padding-right: 10px;
    }
    .right-booking { height: 60px; flex-direction: row; padding: 0 15px; }

    /* 사업소개-노선도 */
    .section-header { flex-direction: column; }
    .section-body { grid-template-columns: 1fr; gap: 30px; } /* 1열 세로 배치로 변경 */
    .route-box { grid-column: 1; } /* 가로 확장 해제 */    

    /* 노선도를 세로형 타임라인으로 변경 */
    .route-visual {
        flex-direction: column; align-items: flex-start;
        gap: 30px; padding-left: 10px;
    }
    .route-step { display: flex; align-items: center; gap: 20px; }
    .route-step::before { left: 15px; top: 50%; width: 2px; height: 100%; }
    .route-step .dot { margin: 0; }

    /* 연결 선을 세로로 변경 */
    .route-step::before {
        left: 15px !important;
        top: 35px !important;
        width: 2px !important;
        height: 100% !important;
    }

    /* 서브 - 사업 상세 페이지 */
    .benefits-cards {
        grid-template-columns: 1fr;
        gap: var(--grid-gap-1col);
    }
    /* 서브 - 버스 상세 페이지 */
    #product-info .cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .tech-item-info { padding-top: 0; align-content: center; }
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; }
    .footer-links ul { gap: var(--space-sm); }

    /* 버스 소개 */
    #bus-info .header-text,
    .widget-container { align-self: center; text-align: center; }
    .info-item dt { font-size: var(--fs-note); }

    /* 2열 그리드 정리 */
    .bus-grid,
    .stations,
    .cards { grid-template-columns: 1fr; gap: var(--grid-gap-1col); }

    /* 노선 안내 */
    .legend-badges { margin-top: 1.2em; }
    .location-header { flex-direction: column; }

    /* 보도자료 */
    .news-item a { align-items: flex-start; }
    .news-media { flex: 0 0 var(--space-2xl); font-size: var(--fs-note); }
    .news-content {
        flex-direction: column; align-items: flex-start;
        gap: var(--space-2xs);
    }
    .news-title { white-space: normal; overflow: visible; }
    .news-date { font-size: 0.75rem; }

    /* 서브 */
    .info-section { grid-template-columns: 1fr; }
    .info-section__full { grid-column: auto; }
    .partners-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--grid-gap-2col);
    }
    #product-intro .info-list { flex-direction: column; gap: var(--grid-gap-1col); }
    .tech-info article:nth-child(even) > div,
    .tech-info article:nth-child(even) > img { order: 0; }
}

@media (max-width: 480px) {
    #topBtn {
        position: fixed;
        right: 16px;
        bottom: calc(16px + constant(safe-area-inset-bottom));
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
    .footer-links ul { flex-direction: column; gap: var(--space-xs); }

    /* reveal */
    .header-text,
    .widget-container { transform: translateY(24px); transition-duration: 0.5s; }

    /* right-menu */
    .right-menu { flex-direction: column; gap: 0; height: auto; }
    .right-nav { margin-left: 0; }
    .right-nav__list { height: 40px; align-items: center; }
    .right-nav__list li { width: auto; height: 20px; }
    .right-nav__list li a { font-size: 14px; }
    .right-booking { width: 100%; height: 40px; padding: 0 8px; }
    .right-booking span { font-size: 14px; }

    /* 사업 요약 */
    .header-text { margin-top: 2rem; }
    .partner-list .badge-item { padding: 6px 14px; font-size: var(--fs-note); }
    
    /* 버스 소개 */
    .widget-container { gap: var(--space-sm); }
    .glass-widget { padding: var(--space-sm); }
    .info-list { justify-content: flex-start; }
    .info-item { text-align: left; }
    .info-item:not(:last-child) { border-right: none; }

    /* 2번째 위젯 → 2열, 3번째 위젯 → 1열 */
    .glass-widget:nth-child(2) .info-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 16px;
    }
    .glass-widget:nth-child(3) .info-list {
        flex-direction: column; gap: 12px;
    }

    /* 노선 안내 */
    .station-title { margin-top: 2rem; }
    .loaction-header-title span { font-size: var(--fs-note); }
    .station-item h3 { margin-bottom: 0.4em; }
        
    /* 노선도 */
    .route-visual { flex-direction: column; gap: 24px; align-items: flex-start; /* baseline 제거 */ }
    .route-step { display: flex; align-items: flex-start; gap: var(--space-sm); text-align: left; }
    .route-step::before { top: 16px; left: 16px; width: 2px; height: 100%; }
    .route-step:last-child::before { display: none; }

    /* 푸터 */
    .footer-links { display: flex; flex-direction: column; }

    /* 서브 - 섹션 타이틀 위치 조정 */
    .sub-prj-title { margin-top: var(--space-xl); } 
    /* 서브 - 사업안내 */
    .partners-cards {
        grid-template-columns: 1fr;
        gap: var(--grid-gap-1col);
    }
    /* 서브 - 버스소개 */
    #product-intro .info-item { text-align: center; }
}

@media (max-width: 320px) {
    .right-nav__list li a { font-size: 12px; }
}





