/* 모바일 전용 스타일 (768px 이하) */
@media (max-width: 768px) {
  /* 수평 스크롤 완전 차단 */
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
  }

  * {
    max-width: 100%;
  }

  /* ========================================
     0. Splash Screen
     ======================================== */
  .splash-logo {
    width: 150px;
  }

  .splash-text {
    font-size: 16px;
    margin: 20px 0 5px;
    letter-spacing: 1px;
  }

  /* ========================================
     1. 헤더 (Header)
     ======================================== */
  .header {
    height: 70px;
    background: transparent !important;
    transition:
      background 0.3s ease,
      transform 0.3s ease;
  }

  .header.scrolled {
    background: #fff !important;
  }

  /* 모바일에서 스크롤 다운 시 헤더 숨김 */
  .header.header-hidden {
    transform: translateY(-100%);
  }

  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .logo-image {
    width: 80px !important;
  }

  /* 스크롤 시 블랙 로고로 변경 */
  .header.scrolled .logo-image {
    content: url('/beeline/img/figma/black-logo.png');
  }

  /* PC 네비게이션 숨김 */
  .header-nav-desktop {
    display: none !important;
  }

  /* ========================================
     1-1. 모바일 메뉴 버튼
     ======================================== */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
  }

  .menu-icon {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  /* 스크롤 시 블랙 햄버거 */
  .header.scrolled .menu-icon {
    background: #000;
  }

  /* 메뉴 열렸을 때 X로 변경 */
  .mobile-menu-btn.active .menu-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #000;
  }

  .mobile-menu-btn.active .menu-icon:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .menu-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #000;
  }

  /* ========================================
     1-2. 모바일 메뉴 오버레이
     ======================================== */
  .mobile-menu-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    /* 스크롤바를 오버레이 방식으로 표시 (컨텐츠 위에) */
    -webkit-overflow-scrolling: touch;
  }

  /* 웹킷 브라우저에서 스크롤바 숨김 (선택사항) */
  .mobile-menu-overlay::-webkit-scrollbar {
    width: 6px;
  }

  .mobile-menu-overlay::-webkit-scrollbar-track {
    background: transparent;
  }

  .mobile-menu-overlay::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .mobile-menu-overlay.active {
    right: 0;
  }

  .mobile-menu-container {
    padding: 0;
    min-height: 100vh;
  }

  /* 모바일 메뉴 헤더 */
  .mobile-menu-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 0;
    background: #fff;
    z-index: 10;
  }

  .mobile-menu-logo img {
    width: 80px;
    height: auto;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    color: #000;
  }

  /* 모바일 메뉴 네비게이션 */
  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 40px 20px 60px;
  }

  .mobile-menu-item {
    /* border-bottom: 1px solid #f0f0f0; */
  }

  .mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.72px;
    transition: color 0.2s ease;
    /* border-bottom: 1px solid #f0f0f0; */
  }

  .mobile-menu-link:hover {
    color: #333;
  }

  /* 서비스 소개 펼치기 버튼 */
  .mobile-menu-expandable {
    border-bottom: none;
  }

  .mobile-menu-expand-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 20px 0;
  }

  .mobile-menu-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .mobile-menu-expandable.active .mobile-menu-chevron {
    transform: rotate(180deg);
  }

  /* 서비스 소개 하위 메뉴 */
  .mobile-menu-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
  }

  .mobile-menu-expandable.active .mobile-menu-submenu {
    max-height: 400px;
    padding-bottom: 20px;
  }

  .mobile-submenu-link {
    display: block;
    padding: 12px 0;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #615d5d;
    text-decoration: none;
    letter-spacing: -0.48px;
    transition: color 0.2s ease;
  }

  .mobile-submenu-link:hover {
    color: #000;
  }

  /* ========================================
     2. 히어로 섹션 (Hero)
     ======================================== */
  .hero {
    padding: 80px 20px 60px;
    height: 100vh;
    box-sizing: border-box;
  }

  .hero-video {
    min-width: auto;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero-intro {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: normal;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: -0.72px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  /* ========================================
     앱/통계 섹션 (App Section)
     ======================================== */
  .app {
    padding: 60px 0 50px;
    max-width: 100%;
  }

  .app-review {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-item {
    text-align: center;
    width: calc(100% / 3);
  }

  .stat-number {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 18px;
    line-height: 1.2;
  }

  /* App Swiper */
  .app-img {
    height: 450px;
    padding: 0 20px;
    overflow: hidden; /* 스크롤바 숨김 - Swiper 자동 슬라이드 */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .app-swiper-wrapper {
    gap: 12px;
  }

  .app-swiper-wrapper img {
    height: 450px;
  }

  /* ========================================
     4. 섹션 공통 (Section Common)
     ======================================== */
  .brand-identity,
  .safety,
  .business,
  .review,
  .care,
  .faq,
  .news,
  .vehicle {
    padding: 60px 0;
  }

  .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .section-badge {
    padding: 8px 16px !important;
    font-size: 9px !important;
    margin-bottom: 20px !important;
    border-radius: 24px !important;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .section-description {
    font-size: 14px;
    line-height: 1.6;
  }

  /* ========================================
     5. 브랜드 아이덴티티 (Brand Identity)
     ======================================== */
  .brand-identity {
    padding: 60px 20px;
  }

  .brand-content {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .brand-content .section-title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: left;
  }

  .brand-content .section-description {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    padding-left: 0;
  }

  .brand-features {
    flex-direction: column;
    gap: 30px;
    margin: 40px 0 0;
    width: 100%;
  }

  .brand-feature {
    padding: 0;
    gap: 15px;
  }

  .brand-image {
    width: 120px;
    height: 120px;
  }

  .brand-feature-title {
    font-size: 20px;
    padding: 12px 24px;
    border-radius: 40px;
    border: 4px solid #fff;
  }

  .brand-feature-description {
    font-size: 20px;
    line-height: 1.5;
  }

  /* ========================================
     6. 안전 섹션 (Safety)
     ======================================== */
  .safety {
    padding: 60px 20px;
  }

  .safety-header {
    margin-bottom: 40px;
  }

  .safety-header .section-title {
    font-size: 32px;
    line-height: 1.4;
  }

  .safety-header .section-description {
    font-size: 16px;
  }

  .safety-grid {
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: center; /* 중앙 정렬 */
    width: 100%;
  }

  .safety-card {
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: center; /* 중앙 정렬 */
  }

  .safety-card:nth-child(1) {
    z-index: 1;
  }

  .safety-card:nth-child(2) {
    z-index: 2;
    margin-top: -80px; /* 위로 올려서 겹치게 */
    margin-left: 0 !important; /* PC 스타일 제거 */
  }

  .safety-card:nth-child(3) {
    z-index: 3;
    margin-top: -80px; /* 위로 올려서 겹치게 */
    margin-left: 0 !important; /* PC 스타일 제거 */
  }

  .safety-card:nth-child(4) {
    z-index: 4;
    margin-top: -80px; /* 위로 올려서 겹치게 */
    margin-left: 0 !important; /* PC 스타일 제거 */
  }

  .safety-circle {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
    padding: 30px 20px;
  }

  .safety-number {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .safety-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .safety-description {
    font-size: 13px;
    line-height: 1.5;
  }

  /* ========================================
     7. 비즈니스 솔루션 (Business)
     ======================================== */
  .business {
    padding: 60px 20px;
  }
  .business .container {
    padding: 0;
  }

  .business-header {
    margin-bottom: 40px;
  }

  .business-header .section-title {
    font-size: 20px;
    margin: 1px 0 -5px;
  }

  .business-header .section-description {
    font-size: 11px;
    line-height: 16px;
  }

  .business-content {
    flex-direction: column;
    gap: 40px;
    padding: 0;
  }

  .business-image {
    width: 100%;
    max-width: 100%;
  }

  .business-features {
    gap: 25px;
    align-items: stretch;
  }

  .business-feature {
    gap: 12px;
  }

  .business-icon {
    width: 32px;
    height: 32px;
  }

  .business-feature-title {
    font-size: 16px;
    margin-bottom: 8px;
    gap: 10px;
  }

  .business-feature-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .business-feature-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .business-cta {
    margin-top: 10px;
  }

  .btn-business {
    padding: 8px 40px;
    font-size: 12px;
    border-radius: 28px;
    line-height: 1.5;
  }

  /* ========================================
     8. 리뷰 섹션 (Review)
     ======================================== */
  .review {
    padding: 60px 0;
  }

  /* 모바일에서는 헤더와 PC Swiper 숨김 */
  .review-header {
    display: none;
  }

  .review-swiper-container {
    display: none;
  }

  /* 모바일 전용 리뷰 이미지 표시 */
  .review-mobile-image {
    display: block !important;
    width: 100%;
  }

  .review-mobile-img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ========================================
     9. 프리미엄 서비스 (Premium)
     ======================================== */
  .premium {
    padding: 60px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .premium-badge {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .premium-title {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
  }

  .premium-apps {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .app-link img {
    width: 160px;
    height: 48px;
  }

  .premium-car {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
  }

  /* ========================================
     10. 교통약자 케어 (Care)
     ======================================== */
  .care {
    padding: 60px 20px;
  }

  .care-header {
    margin-bottom: 40px;
  }

  .care-header .section-title {
    font-size: 20px;
    margin: 1px 0 -5px;
  }

  .care-header .section-description {
    font-size: 11px;
    line-height: 16px;
  }

  .care-grid {
    gap: 40px;
  }

  .care-item {
    flex-direction: column !important;
    gap: 20px;
    min-height: auto;
  }

  .care-image {
    flex: 1;
    width: 100%;
    max-width: 100%;
  }

  .care-image img {
    min-height: 200px;
  }

  .care-content {
    padding: 0;
  }

  .care-title {
    font-size: 20px;
    line-height: 1.6;
    text-align: center !important;
  }

  .care-item:nth-child(even) .care-title {
    text-align: center !important;
  }

  /* ========================================
     11. FAQ 섹션 (FAQ)
     ======================================== */
  .faq-header {
    margin-bottom: 40px;
  }

  .faq-list {
    padding: 0 20px;
  }

  .faq-wrapper {
    margin-bottom: 20px;
  }

  .faq-question-box {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .faq-question-box h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .faq-icon {
    font-size: 28px;
    width: 28px;
  }

  .faq-answer-box {
    padding: 20px;
    border-radius: 12px;
  }

  .faq-answer-box p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ========================================
     9. 뉴스 섹션 (News)
     ======================================== */
  .news {
    padding: 60px 20px;
  }

  .news-header {
    margin-bottom: 40px;
  }

  .news-header .section-title {
    font-size: 20px;
    margin: 1px 0 -5px;
  }

  .news-header .section-description {
    font-size: 11px;
    line-height: 16px;
  }

  .news-swiper-wrapper {
    padding: 0;
    flex-direction: column;
    gap: 20px;
  }

  .news-swiper-container {
    overflow: visible;
    max-width: 100%;
  }

  .news-grid {
    flex-direction: column;
    gap: 20px;
  }

  .news-grid .news-card {
    flex: 1;
    width: 100%;
  }

  .news-image {
    height: 180px;
  }

  .news-content {
    min-height: 80px;
    padding: 12px 16px;
  }

  .news-date {
    font-size: 12px;
    line-height: 1.5;
  }

  .news-title {
    font-size: 14px;
    line-height: 1.4;
  }

  .news-swiper-btn {
    display: none;
  }

  .news-pagination {
    display: none;
  }

  /* ========================================
     10. 차량 라인업 (Vehicle)
     ======================================== */
  .vehicle {
    padding: 60px 20px;
  }

  .vehicle .container {
    flex-direction: column;
    padding: 0;
    gap: 30px;
  }

  .vehicle-header {
    margin-bottom: 0;
  }

  .vehicle-title-box {
    flex-direction: row;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
  }

  .vehicle-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .vehicle-badge {
    font-size: 18px;
    padding: 1px 20px;
  }

  .vehicle-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .vehicle-image {
    width: 100%;
    max-width: 100%;
  }

  .vehicle-image video {
    width: 100%;
    height: auto;
  }

  /* ========================================
     11. 플로팅 앱 다운로드 바 (Floating App Bar)
     ======================================== */
  .floating-app-bar {
    display: block !important;
  }

  .floating-app-container {
    flex-direction: column;
    padding: 15px 20px;
    gap: 12px;
    align-items: center;
  }

  .floating-app-logo-wrapper {
    display: none;
  }

  .floating-app-text {
    font-size: 14px;
    text-align: center;
    flex: none;
  }

  .floating-app-buttons {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .floating-app-btn {
    width: 140px;
    height: 45px;
    padding: 4px 8px;
  }

  .floating-app-btn img {
    width: 85%;
  }

  /* ========================================
     12. 푸터 (Footer)
     ======================================== */
  .footer {
    padding: 50px 0 140px;
  }

  .footer-container {
    padding: 0 20px;
    gap: 30px;
  }

  .footer-top-line {
    margin-bottom: 25px;
    padding-bottom: 25px;
  }

  .footer-logo {
    width: 75px;
    height: auto;
  }

  .footer-top-contents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    width: 100%;
  }

  .footer-left {
    grid-column: 1;
  }

  .footer-center {
    grid-column: 2;
    margin-top: 0;
  }

  .footer-right {
    display: none;
  }

  .footer-company-box p,
  .footer-center p {
    font-size: 11px;
    line-height: 1.6;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-top: 5px;
  }

  .footer-copyright {
    font-size: 14px;
  }

  .footer-social {
    display: none;
  }
}
