/* SEO 최적화 스타일 */
/* 스크린 리더를 위한 숨김 텍스트 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 포커스 표시 개선 */
button:focus,
a:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 키보드 네비게이션 지원 */
.nav-link:focus {
    background: #007bff;
    color: white;
}

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 폰트 기본: Pretendard */
body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo",
        "Noto Sans KR", "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 컨테이너 공통: 최대 너비 1120, 중앙 정렬 */
.nav-container,
.section-container,
.footer-container,
.hero-container {
    max-width: 1120px;
    margin: 0 auto;
}

/* 헤더 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76.5px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo img {
    width: 65px;
    height: 31px;
    display: block;
}
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

/* 메뉴 타이포그래피 */
.menu-link {
    font-size: 14px;
    font-weight: 700;
    line-height: 24.5px;
    color: #171719;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.menu-link--primary {
    color: #ff4d00;
}
.menu-link:hover,
.menu-link:focus {
    opacity: 0.8;
}

/* 스크롤 시 헤더 배경 강화 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 메인 오프셋: 고정 헤더 높이만큼 보정 */
#main-content {
    margin-top: 76.5px;
}

/* 메인 콘텐츠 */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* === Section1 (Hero) 상세 스타일 === */
.hero-section {
    background: #fff;
    color: #000;
    padding: 80px 0;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section1-logo {
    width: 62px;
    height: 29px;
    margin-bottom: 28px;
}
.section1-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 72px;
    color: #000;
    margin-bottom: 42px;
}
.section1-subtitle {
    font-size: 32px;
    font-weight: 500;
    line-height: 60px;
    color: #000;
    margin-bottom: 42px;
}
.section1-cta {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.section1-cta .icons-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.section1-cta img {
    display: block;
}
.store-button {
    display: block;
    transition: opacity 0.2s ease;
}
.store-button:hover {
    opacity: 0.8;
}

/* 비디오 프레임 */
.hero-video {
    display: flex;
    justify-content: flex-end;
}
.phone-frame {
    width: 320px;
    height: 600px;
    background: #000;
    border: 10px solid #444;
    border-radius: 42.7px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.intro-video {
    width: 320px;
    height: 418px;
    object-fit: cover;
    border-radius: 16px;
}

/* === Section2 === */
.intro-brief-section {
    background: #f7f7f8;
    height: 400px;
    display: flex;
    align-items: center;
}
.intro-brief-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.intro-brief-content {
    text-align: center;
    color: #1c1d1f;
}
.intro-brief-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 10px;
}
.intro-brief-sub {
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    color: #2b2c30;
}

/* === Section3 === */
.section3 {
    padding: 80px 0;
}

/* 섹션 태그와 타이틀 기본 스타일 (웹용) */
.section3-tag,
.section4-tag,
.section5-tag,
.section6-tag {
    text-align: left;
}

.section3-title,
.section4-title,
.section5-title,
.section6-title {
    text-align: left;
}
.section3 .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section3-header {
    text-align: center;
}
.section3 img {
    max-width: 80%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 0 auto;
}

/* section3-content 가운데 정렬 */
.section3-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section3-img {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
}

.section3-caption {
    font-size: 18px;
    line-height: 28px;
    color: #666;
    text-align: center;
}

/* 반응형 일부 보정 */
@media (max-width: 900px) {
    .hero-container,
    .section3 .section-container {
        grid-template-columns: 1fr;
    }
    .hero-video {
        justify-content: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 450px;
        border: 8px solid #444;
        border-radius: 32px;
    }
    
    .intro-video {
        width: 240px;
        height: 314px;
    }
}

/* 폰 목업 */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-placeholder {
    background: #e9ecef;
    padding: 2rem;
    border-radius: 10px;
    color: #666;
}

/* 섹션 공통 스타일 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-content {
    text-align: center;
}

.section-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* 서비스 예약 섹션 */
.service-booking-section {
    background: white;
    padding: 4rem 0;
}

.phone-screenshots {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.booking-interface,
.map-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.car-service-img,
.map-view,
.calendar-view,
.location-pin,
.shop-item {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    color: #666;
}

.shop-listings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 부품 섹션 */
.parts-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.price {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.status {
    color: #28a745;
    font-weight: 500;
}

.parts-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.part-item {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    color: #666;
}

/* 포인트 및 할인 정보 */
.points-discount-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.max-discount-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.max-discount-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.max-discount-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.points-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.points-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.points-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f4d000;
}

/* 리뷰 섹션 */
.reviews-section {
    background: white;
    padding: 4rem 0;
}

.ratings-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 3rem auto;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-bar span {
    min-width: 50px;
    font-weight: 600;
}

.bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #007bff;
    border-radius: 10px;
}

.rating-bar:nth-child(1) .bar::before {
    width: 80%;
}

.rating-bar:nth-child(2) .bar::before {
    width: 70%;
}

.rating-bar:nth-child(3) .bar::before {
    width: 60%;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 3rem auto;
    max-width: 500px;
}

.report-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-pic,
.report-content,
.report-img {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    color: #666;
}

.report-images {
    display: flex;
    gap: 1rem;
}

/* 기능 섹션 */
.features-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #333;
    font-weight: 600;
}

/* 파트너 섹션 */
.partner-section {
    background: #343a40;
    color: white;
    padding: 4rem 0;
}

.partner-section h2 {
    color: white;
}

.partner-section p {
    color: rgba(255, 255, 255, 0.8);
}

.partner-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.partner-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.chat-interface {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-message {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    color: #666;
}

/* 푸터 */
.footer {
    background: #fafafc;
    padding: 74px 0;
}

.footer-container {
    max-width: 1120px;
    margin: 0 auto;
}

.footer-content {
    text-align: left;
}

.footer-logo {
    margin-bottom: 24px;
    display: block;
}

.footer-info {
    color: #93989f;
}

.footer-company-info {
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 27px;
}

.footer-copyright {
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    color: #93989f;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.footer-link {
    font-size: 13px;
    font-weight: 700;
    color: #93989f;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #666;
}

.car-profile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.car-model,
.part {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    color: #666;
}

.car-parts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 파트너스 페이지 */
.partners-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.partners-container h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #333;
}

.back-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.back-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* 모바일에서 동영상을 맨 위로 */
    .hero-video {
        order: -1;
    }

    .hero-content {
        order: 1;
        align-items: center;
        text-align: center;
    }

    .section1-logo {
        display: none;
    }

    .section1-title {
        font-size: 2.5rem;
        line-height: 3rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section1-subtitle {
        font-size: 1.3rem;
        line-height: 1.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .section1-cta {
        justify-content: center;
        width: 100%;
    }

    .section1-cta .icons-left {
        align-items: center;
        gap: 1rem;
    }

    .store-button img {
        max-width: 200px;
        height: auto;
    }

    /* Section3 모바일 스타일 */
    .section3 .section-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section3-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section3-tag {
        color: #FF4D00;
        text-align: center;
        font-family: Pretendard;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 1rem;
    }

    .section3-title {
        text-align: center;
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
    }

    .section3-img-left,
    .section3-img-right {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto 1.5rem;
    }

    .section3-right-caption {
        font-size: 1.2rem;
        line-height: 1.6rem;
        text-align: center;
        margin-bottom: 0;
    }

    /* Section4 모바일 스타일 */
    .section4 .section-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section4-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section4-tag {
        color: #FF4D00;
        text-align: center;
        font-family: Pretendard;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 1rem;
    }

    .section4-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .section4-img-left,
    .section4-img-right {
        display: none; /* 모바일에서 이미지 숨기기 */
    }

    /* Section5 모바일 스타일 */
    .section5 .section-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section5-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section5-tag {
        color: #FF4D00;
        text-align: center;
        font-family: Pretendard;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 1rem;
    }

    .section5-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
    }

    .section5-img-left,
    .section5-img-right {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto 1.5rem;
    }

    /* Section6 모바일 스타일 */
    .section6 .section-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        height: auto;
        position: relative;
        padding: 2rem 0;
    }

    .section6-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section6-tag {
        color: #FF4D00;
        text-align: center;
        font-family: Pretendard;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 1rem;
    }

    .section6-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .section6-img-right {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin: 0 auto;
        position: relative;
        bottom: auto;
        right: auto;
    }

    /* Section7 모바일 스타일 */
    .section7-head {
        text-align: center;
        margin-bottom: 2rem;
    }

    .section7-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .section7-sub {
        font-size: 1.2rem;
        line-height: 1.6rem;
        text-align: center;
    }

    .section7-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .s7-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: 386;
        padding: 2rem;
        text-align: center;
    }

    .s7-card-text {
        max-width: none;
    }

    .s7-card-title {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 1rem;
    }

    .s7-card-desc {
        font-size: 1.1rem;
        line-height: 1.4rem;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .s7-card-icon {
        justify-content: center;
    }

    .s7-card-icon img {
        height: 80px;
        width: auto;
    }

    /* Section8 모바일 스타일 */
    .section8 {
        height: auto;
        padding: 40px 0;
        position: relative; /* 상대 위치 설정 */
    }
    
    .section8 .section-container {
        grid-template-columns: 1fr;
        gap: 0px;
        text-align: center;
        position: relative; /* 상대 위치 설정 */
        min-height: 100px;
    }
    
    .section8-content {
        text-align: center;
        margin-bottom: 0px;
    }
    
    .section8-right {
        display: none; /* 모바일에서 이미지 숨기기 */
    }
    
    .section8-img {
        display: none; /* 모바일에서 이미지 숨기기 */
    }

    /* Section9 모바일 스타일 */
    .section9 .section-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section9-content {
        text-align: center;
    }

    .section9-logo {
        width: 80px;
        height: 80px;
        margin: 0 auto 2rem;
    }

    .section9-title {
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin-bottom: 1.5rem;
    }

        .section9-sub {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }
    
    .section9-img {
        display: none; /* 모바일에서 이미지 숨기기 */
    }

    .phone-screenshots {
        flex-direction: column;
        align-items: center;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 2rem 1rem;
    }

    /* 포인트 및 할인 정보 모바일 스타일 */
    .points-discount-container {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }

    .max-discount-info,
    .points-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 10px;
        width: 100%;
        max-width: 300px;
    }

    .max-discount-label,
    .points-label {
        font-size: 1rem;
    }

    .max-discount-amount,
    .points-amount {
        font-size: 1.3rem;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active {
    animation: fadeIn 0.5s ease-out;
}

/* 헤더 좌우 정렬 보정 */
.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.navbar .nav-logo {
    flex: 0 0 auto;
}
.navbar .nav-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
    text-align: right;
}

/* === Section3 텍스트/이미지 상세 === */
.section3-header {
    text-align: left;
    margin-bottom: 22px;
}
.section3-tag {
    color: #ff4d00;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}
.section3-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 63px;
    color: #363644;
    margin-bottom: 0px;
}
.section3-img-left {
    width: 400px;
    height: 742px;
    object-fit: cover;
    border-radius: 16px;
}
.section3-img-right {
    width: 360px;
    height: 742px;
    object-fit: cover;
    border-radius: 16px;
    justify-self: end;
    margin-bottom: 118px;
}
.section3-right-caption {
    color: #363644;
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
}

@media (max-width: 900px) {
    .section3-img-left,
    .section3-img-right {
        width: 100%;
        height: auto;
        margin-bottom: 16px;
    }
    .section3-right-caption {
        font-size: 24px;
        line-height: 36px;
    }
}

/* === Section4 === */
.section4 {
    padding: 80px 0;
}
.section4 .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.section4-header {
    text-align: center;
    margin-bottom: 22px;
}
.section4-tag {
    color: #ff4d00;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}
.section4-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 63px;
    color: #363644;
    margin-bottom: 40px;
    text-align: left;
}
.section4-img-left {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto;
}
.section4-img-right {
    width: 280px;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    justify-self: end;
}

@media (max-width: 900px) {
    .section4 .section-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .section4-img-left,
    .section4-img-right {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    .section4-img-left {
        order: 1;
    }
    .section4-img-right {
        order: 2;
    }
}

/* === Section5 (후기) === */
.section5 {
    padding: 80px 0;
}
.section5 .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.section5-header {
    text-align: center;
    margin-bottom: 22px;
}
.section5-tag {
    color: #ff4d00;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}
.section5-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 63px;
    color: #363644;
    margin-bottom: 40px;
}
.section5-img-left {
    width: 280px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
}
.section5-img-right {
    width: 380px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    justify-self: end;
}

@media (max-width: 900px) {
    .section5 .section-container {
        grid-template-columns: 1fr;
    }
    .section5-img-left,
    .section5-img-right {
        width: 100%;
        height: auto;
    }
}

/* === Section6 (정비 리포트) === */
.section6 {
    background: #fafafc;
}
.section6 .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 700px;
    position: relative;
}
.section6-header {
    text-align: center;
}
.section6-tag {
    color: #ff4d00;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}
.section6-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 63px;
    color: #363644;
}
.section6-img-right {
    width: 376px;
    height: 584px;
    object-fit: cover;
    justify-self: end;
    position: absolute;
    bottom: 0;
    right: 0;
    /* transform: translateX(50%); */
}

@media (max-width: 900px) {
    .section6 .section-container {
        grid-template-columns: 1fr;
        height: auto;
        position: relative;
    }
    .section6-img-right {
        width: 80%;
        max-width: 300px;
        height: auto;
        position: static;
        justify-self: center;
        margin: 0 auto;
    }
}

/* === Section7 === */
.section7 {
    padding: 80px 0;
}
.section7-head {
    text-align: left;
    margin-bottom: 40px;
}
.section7-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 60px;
    color: #171719;
    margin-bottom: 8px;
}
.section7-sub {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: #363644;
}

.section7-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.s7-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    background: #f4f4f5;
    padding: 36px 44px;
    border-radius: 16px;
    min-height: 386px;
}
.s7-card-text {
    max-width: 520px;
}
.s7-card-title {
    color: #171719;
    font-size: 40px;
    font-weight: 800;
    line-height: 60px;
    margin-bottom: 16px;
}
.s7-card-desc {
    color: #46474c;
    font-size: 28px;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: auto;
    font-weight: 600;
    line-height: 36px;
}
.s7-card-icon {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.s7-card-icon img {
    height: 143px;
    width: auto;
}

@media (max-width: 900px) {
    .section7-grid {
        grid-template-columns: 1fr;
    }
    .s7-card {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    .s7-card-icon {
        justify-content: flex-start;
    }
}

/* === Section8 === */
.section8 {
    background: #272727;
    height: 547px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.section8 .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
}
.section8-content {
    color: white;
}
.section8-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 16px;
}
.section8-sub {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 32px;
    opacity: 0.9;
}
.section8-btn {
    background: #ff4d00;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.section8-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.section8-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}
.section8-img {
    width: 100%;
    height: 529px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .section8 {
        height: auto;
        padding: 60px 0;
    }
    .section8 .section-container {
        grid-template-columns: 1fr;
    }
    .section8-right {
        justify-content: center;
        align-items: center;
    }
}

/* === Section9 === */
.section9 {
    padding: 80px 0;
}
.section9 .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.section9-content {
    text-align: left;
}
.section9-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}
.section9-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    color: #000;
    margin-bottom: 40px;
}
.section9-sub {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #000;
}
.section9-img {
    width: 580px;
    height: 646px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .section9 .section-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .section9-content {
        text-align: center;
    }
    .section9-img {
        width: 100%;
        height: auto;
    }
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 1000;
    pointer-events: auto;
    align-items: center;
}

.floating-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-link:hover {
    transform: translateY(-5px);
}

.floating-img {
    width: 162px;
    height: 106px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.floating-link:hover .floating-img {
    transform: scale(1.05);
}

.floating-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.kakao-icon-wrap {
    display: block;
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbcbcb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-icon-wrap {
    display: block;
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbcbcb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kakao-icon {
    width: 28px;
    height: 28px;
}

.top-icon {
    width: 24px;
    height: 24px;
}

/* 모바일에서 floating 요소들 조정 */
@media (max-width: 768px) {
    .floating-elements {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .floating-img {
        width: 100px;
        height: 65px;
    }
    
    .floating-icon {
        width: 32px;
        height: 32px;
    }
    
    .kakao-icon-wrap,
    .top-icon-wrap {
        width: 32px;
        height: 32px;
    }
    
    .kakao-icon,
    .top-icon {
        width: 16px;
        height: 16px;
    }
    
    /* 모바일에서 전체 컨테이너 좌우 패딩 */
    .nav-container,
    .section-container,
    .footer-container,
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* 모바일에서 텍스트 크기 조정 */
    .section1-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .section1-subtitle {
        font-size: 16px;
        line-height: 24px;
    }
    
    .intro-brief-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .intro-brief-sub {
        font-size: 14px;
        line-height: 20px;
    }
    
    .section3-title,
    .section4-title,
    .section5-title,
    .section6-title {
        font-size: 20px;
        line-height: 28px;
        text-align: center;
    }
    
    .section7-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .section7-sub {
        font-size: 16px;
        line-height: 24px;
    }
    
    .section8-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .section8-sub {
        font-size: 14px;
        line-height: 20px;
    }
    
    .section9-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .section9-sub {
        font-size: 16px;
        line-height: 24px;
    }
    
    .s7-card-title {
        font-size: 16px;
        line-height: 22px;
    }
    
    .s7-card-desc {
        font-size: 14px;
        line-height: 20px;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .footer-company-info {
        font-size: 12px;
        line-height: 18px;
    }
    
    .footer-copyright {
        font-size: 12px;
        line-height: 18px;
    }
}
