/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #111111;
    --primary-light: #303030;
    --accent: #d90429;
    --accent-light: #ef233c;
    --text: #1a1a1a;
    --text-light: #6b7280;
    --bg: #c8102e;
    --bg-alt: #f5f5f5;
    --border: #d9d9d9;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

body[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Noto Sans SC', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17,17,17,0.96);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-mark {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 48px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 12px;
}

.logo-mark .logo-img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.45);
}

.logo-img {
    height: 45px;
    width: auto;
}

.footer-logo-wrap {
    position: relative;
    display: inline-block;
    width: 74px;
    height: 52px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 12px;
}

.footer-logo-wrap .footer-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.5);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: #ffffff;
    border-radius: 20px;
    padding: 3px;
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #111111;
    transition: var(--transition);
}

.lang-btn:hover {
    color: #000000;
    background: rgba(17, 17, 17, 0.08);
}

.lang-btn.active {
    background: #d9d9d9;
    color: #111111;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

/* 主横幅 */
.hero {
    position: relative;
    height: min(100vh, 1080px);
    min-height: 600px;
    overflow: hidden;
    background: #111111;
    color: white;
    padding: 0;
}

.hero-slider,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-img,
.hero-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.84) 100%);
}

.hero-copy {
    position: absolute;
    left: 56px;
    bottom: 88px;
    z-index: 5;
    width: calc(100% - 112px);
    max-width: 950px;
    text-align: left;
}

.hero-copy.hero-copy-right {
    left: auto;
    right: 56px;
    text-align: right;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(17, 17, 17, 0.36);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-nav svg {
    width: 24px;
    height: 24px;
}

.hero-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 11px;
    height: 11px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.35);
}

.hero-dots .dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-copy h1,
.hero-copy h2 {
    font-size: 7rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 26px;
    overflow-wrap: break-word;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
    opacity: 0.96;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.company-overview {
    position: relative;
    background: linear-gradient(90deg, rgba(217, 4, 41, 0.06), transparent 44%), #0f0f0f;
    color: #ffffff;
    padding: 76px 0 90px;
}

.company-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent) 28%, var(--accent) 72%, transparent);
    opacity: 0.55;
}

.company-overview-masthead {
    text-align: center;
    margin-bottom: 58px;
    position: relative;
}

.company-overview-masthead .company-overview-kicker {
    display: block;
    margin-bottom: 14px;
}

.company-overview-masthead .company-overview-title {
    margin: 0 auto 0;
    max-width: 920px;
}

.company-overview-masthead::after {
    content: '';
    display: block;
    width: 84px;
    height: 3px;
    margin: 24px auto 0;
    background: var(--accent);
}

.company-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: 64px;
    align-items: start;
}

.company-overview-heading {
    padding: 22px 0 0 22px;
    border-left: 3px solid var(--accent);
}

.company-overview-kicker {
    color: #ef233c;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
}

.company-overview-title {
    color: #ffffff;
    font-size: 2.55rem;
    line-height: 1.25;
    margin: 0;
}

.company-overview-lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.company-overview-cta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
}

.company-overview-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.company-overview-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.company-overview-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 14px;
    cursor: pointer;
    transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.company-overview-item summary::-webkit-details-marker {
    display: none;
}

.company-overview-item summary:hover {
    background: rgba(255, 255, 255, 0.045);
}

.company-overview-item[open] summary {
    background: linear-gradient(90deg, rgba(217, 4, 41, 0.14), rgba(217, 4, 41, 0.02));
    padding-bottom: 12px;
}

.company-overview-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 36px;
    flex: 0 0 42px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
}

.company-overview-heading-group {
    flex: 1;
    min-width: 0;
}

.company-overview-heading-group h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1.04rem;
    line-height: 1.35;
}

.company-overview-heading-group small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    line-height: 1.4;
}

.company-overview-toggle {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.company-overview-toggle::before,
.company-overview-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
}

.company-overview-toggle::before {
    width: 14px;
    height: 2px;
}

.company-overview-toggle::after {
    width: 2px;
    height: 14px;
}

.company-overview-item[open] .company-overview-toggle {
    transform: rotate(45deg);
    background: var(--accent);
    border-color: var(--accent);
}

.company-overview-item[open] .company-overview-toggle::before,
.company-overview-item[open] .company-overview-toggle::after {
    background: #ffffff;
}

.company-overview-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 14px 24px 74px;
}

.company-overview-body p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
    line-height: 1.75;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* 车型展示 */
.vehicles {
    padding: 100px 0;
    background: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* 新车/二手车切换 */
.condition-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.condition-btn {
    padding: 12px 40px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    color: #ffffff;
}

.condition-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.condition-btn.active {
    background: #ffffff;
    color: #c8102e;
    border-color: #ffffff;
}

/* 新车/二手车标签 */
.vehicle-tag.tag-new {
    background: #111111;
}

.vehicle-tag.tag-new-energy {
    background: #d90429;
}

.vehicle-tag.tag-used {
    background: #6b7280;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}

.search-btn {
    padding: 12px 20px;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-light);
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    color: #ffffff;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffffff;
    color: #c8102e;
    border-color: #ffffff;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vehicle-card.hidden {
    display: none;
}

.vehicle-group {
    margin-bottom: 45px;
}

.vehicle-group-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid #ffffff;
}

.vehicle-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* 车辆画廊 */
.vehicle-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    height: 250px;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-img.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.gallery-nav:hover {
    background: var(--primary);
    color: white;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
}

/* 车辆信息 */
.vehicle-info {
    padding: 20px;
}

.vehicle-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.vehicle-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.spec {
    padding: 4px 10px;
    background: var(--bg-alt);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.vehicle-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-tag {
    padding: 5px 12px;
    background: var(--primary);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-details {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--primary);
    color: white;
}

/* 服务优势 */
.services {
    padding: 100px 0;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: var(--radius);
    transition: var(--transition);
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #e5e5e5;
}

.service-year {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 6px 12px;
    background: rgba(17, 17, 17, 0.88);
    color: #ffffff;
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5 / 3;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-text {
    flex: 1;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-text h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-text p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 出口流程 */
.process {
    padding: 100px 0;
    background: transparent;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.85);
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    transition: color 0.35s ease;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.35s ease;
}

.process-step:hover .step-number {
    background: #ffffff;
    color: #111111;
}

.process-step:hover .step-content {
    background: #111111;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 18px 28px -12px rgba(0, 0, 0, 0.42);
}

.process-step:hover .step-content h3,
.process-step:hover .step-content p {
    color: #ffffff;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.yt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ff0000;
    color: white;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #25D366;
    color: white;
    border-radius: 8px;
}

.whatsapp-icon svg {
    width: 20px;
    height: 20px;
}

.telegram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0088cc;
    color: white;
    border-radius: 8px;
}

.telegram-icon svg {
    width: 20px;
    height: 20px;
}

.fb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1877f2;
    color: white;
    border-radius: 8px;
}

.fb-icon svg {
    width: 20px;
    height: 20px;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    opacity: 0.8;
    margin-top: 10px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    position: relative;
}

.modal-main-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.modal-thumbs {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    border: 2px solid transparent;
}

.modal-thumb:hover,
.modal-thumb.active {
    opacity: 1;
    border-color: white;
}

.modal-info {
    padding: 40px;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-spec {
    padding: 8px 15px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.9rem;
}

.modal-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-contact {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.modal-contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.modal-contact-actions .btn-primary {
    text-align: center;
    white-space: normal;
}

.btn-official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: var(--transition);
}

.btn-official:hover {
    background: var(--primary);
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
        background: #111111;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-right {
        gap: 10px;
    }

    .lang-switcher {
        gap: 2px;
        padding: 2px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .hero-copy {
        left: 18px;
        right: auto;
        bottom: 72px;
        width: calc(100% - 36px);
    }

    .hero-copy.hero-copy-right {
        left: auto;
        right: 18px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 3.2rem;
    }

    .hero-copy p {
        font-size: 1.5rem;
    }

    .company-overview {
        padding: 70px 0 50px;
    }

    .company-overview-title {
        font-size: 2rem;
    }

    .company-overview-lead {
        font-size: 1.05rem;
        margin-bottom: 38px;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-main-img {
        min-height: 250px;
    }

    .modal-contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-contact-actions .btn-primary,
    .btn-official {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .lang-switcher {
        gap: 2px;
        padding: 2px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* RTL支持 */
body[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

body[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 30px;
}

body[dir="rtl"] .process-step {
    flex-direction: row-reverse;
    text-align: right;
}

body[dir="rtl"] .gallery-nav.prev {
    left: auto;
    right: 10px;
}

body[dir="rtl"] .gallery-nav.next {
    right: auto;
    left: 10px;
}

body[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

body[dir="rtl"] .filter-tabs {
    direction: rtl;
}

body[dir="rtl"] .vehicle-group-title {
    padding-left: 0;
    padding-right: 12px;
    border-left: none;
    border-right: 4px solid var(--accent);
}

body[dir="rtl"] .modal-info {
    text-align: right;
}

body[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.form-status {
    margin-top: 15px;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
}

.logo-text {
    white-space: nowrap;
}

@media (max-width: 560px) {
    .logo-text {
        font-size: 1rem;
    }
    .logo-img {
        height: 36px;
    }
    .nav-container {
        height: 62px;
    }
    .nav-links.active {
        top: 62px;
    }
}

@media (max-width: 768px) {
    .vehicle-group-grid {
        grid-template-columns: 1fr;
    }
    .hero-nav {
        width: 38px;
        height: 38px;
    }
    .hero-prev {
        left: 10px;
    }
    .hero-next {
        right: 10px;
    }
    .hero-dots {
        bottom: 18px;
    }
    .condition-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 920px) {
    .company-overview-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .company-overview-heading {
        border-left: 0;
        border-top: 3px solid var(--accent);
        padding: 18px 0 0;
    }
}

@media (max-width: 600px) {
    .logo-text {
        display: none;
    }

    .logo-mark {
        width: 50px;
        height: 38px;
        border-radius: 8px;
    }

    .nav-container {
        gap: 8px;
    }

    .nav-right {
        margin-left: auto;
    }

    .company-overview {
        padding: 54px 0 64px;
    }

    .company-overview-title {
        font-size: 1.55rem;
    }

    .company-overview-lead {
        display: none;
    }

    .company-overview-accordion {
        width: 100%;
    }

    .company-overview-item summary {
        gap: 10px;
        padding: 11px 0;
        align-items: flex-start;
    }

    .company-overview-index {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 0.8rem;
    }

    .company-overview-heading-group h3 {
        font-size: 0.96rem;
        margin: 0;
    }

    .company-overview-heading-group small {
        display: none;
    }

    .company-overview-toggle {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .company-overview-body {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 0 20px;
    }

    .company-overview-item[open] summary {
        padding-bottom: 10px;
    }
}

body[dir="rtl"] .company-overview-heading {
    border-left: 0;
    border-right: 3px solid var(--accent);
    padding-left: 0;
    padding-right: 18px;
}

body[dir="rtl"] .company-overview-item summary {
    text-align: right;
}

body[dir="rtl"] .company-overview-body {
    padding-left: 14px;
    padding-right: 74px;
}

@media (max-width: 600px) {
    body[dir="rtl"] .company-overview-heading {
        border-right: 0;
        padding-right: 0;
    }

    body[dir="rtl"] .company-overview-body {
        padding-right: 0;
    }
}

#servicesGrid {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

#servicesGrid::before {
    content: '';
    position: absolute;
    left: 220px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: rgba(255, 255, 255, 0.46);
}

.journey-item {
    display: grid;
    grid-template-columns: 205px 46px 1fr;
    align-items: center;
    padding: 8px 0;
    position: relative;
}

.journey-year {
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    padding-right: 24px;
}

.journey-marker {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    justify-self: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 4px #c8102e, 0 0 0 6px #ffffff;
}

.journey-content {
    background: #111111;
    border-left: 4px solid #ef233c;
    border-radius: 0 8px 8px 0;
    padding: 22px 26px;
    margin-left: 18px;
}

.journey-content h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.journey-content p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

body[dir="rtl"] #servicesGrid::before {
    left: auto;
    right: 220px;
}

body[dir="rtl"] .journey-year {
    text-align: left;
    padding-right: 0;
    padding-left: 24px;
}

body[dir="rtl"] .journey-content {
    border-left: 0;
    border-right: 4px solid #ef233c;
    border-radius: 8px 0 0 8px;
    margin-left: 0;
    margin-right: 18px;
}

@media (max-width: 820px) {
    #servicesGrid::before {
        display: none;
    }

    .journey-item {
        grid-template-columns: 96px 1fr;
        gap: 14px;
        padding: 6px 0;
    }

    .journey-year {
        align-self: start;
        justify-self: center;
        width: 96px;
        padding: 9px 6px;
        background: #ffffff;
        color: #111111;
        border-radius: 30px;
        font-size: 0.92rem;
        font-weight: 700;
        text-align: center;
    }

    .journey-marker {
        display: none;
    }

    .journey-content {
        margin-left: 0;
        padding: 18px 20px;
    }

    body[dir="rtl"] #servicesGrid::before {
        right: auto;
    }

    body[dir="rtl"] .journey-year {
        text-align: center;
        padding-left: 6px;
    }

body[dir="rtl"] .journey-content {
    margin-right: 0;
}

}

html[lang="zh"] .company-overview-masthead .company-overview-title,
html[lang="zh-CN"] .company-overview-masthead .company-overview-title {
    max-width: 4em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

html[lang="zh"] .company-overview-masthead .company-overview-title,
html[lang="zh-CN"] .company-overview-masthead .company-overview-title {
    max-width: none;
    white-space: nowrap;
}

#processTimeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

#processTimeline::before {
    display: none;
}

.process-card {
    position: relative;
    min-height: 180px;
    background: #ffffff;
    border-radius: 8px;
    padding: 22px 24px 24px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    background: #111111;
    transform: translateY(-4px);
    box-shadow: 0 18px 28px -12px rgba(0, 0, 0, 0.42);
}

.process-index {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.process-body {
    padding: 56px 0 0;
}

.process-body h3 {
    color: #111111;
    font-size: 1.18rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.process-body p {
    color: #6b7280;
    line-height: 1.65;
    transition: color 0.3s ease;
}

.process-card:hover .process-index {
    background: #ef233c;
    color: #ffffff;
}

.process-card:hover .process-body h3,
.process-card:hover .process-body p {
    color: #ffffff;
}

.contact-grid {
    align-items: stretch;
    gap: 30px;
}

#contactList {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 22px;
    box-shadow: var(--shadow);
}

#contactList .contact-item {
    flex: 1;
    margin-bottom: 0;
    min-height: 48px;
    padding: 8px 6px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #ececec;
}

#contactList .contact-item:last-child {
    border-bottom: 0;
}

#contactList .contact-icon {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
}

#contactList .contact-item h4 {
    font-size: 0.92rem;
    margin-bottom: 2px;
}

#contactList .contact-item p,
#contactList .contact-item a {
    font-size: 0.88rem;
    line-height: 1.35;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 30px 22px;
}

.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 11px 14px;
}

.contact-form textarea {
    min-height: 68px;
}

body[dir="rtl"] .process-index {
    left: auto;
    right: 18px;
}

@media (max-width: 760px) {
    #processTimeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .process-card {
        min-height: 170px;
        padding: 18px;
    }

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

@media (max-width: 480px) {
    #processTimeline {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: 150px;
    }
}

.contact {
    padding: 76px 0;
}

.hero-copy h1 .hero-title-line,
.hero-copy h1 .hero-title-rest,
.hero-copy h2 .hero-title-line,
.hero-copy h2 .hero-title-rest {
    display: block;
}

.hero-copy h1 .hero-title-rest,
.hero-copy h2 .hero-title-rest {
    white-space: nowrap;
}

.navbar .nav-container {
    height: 56px;
}

.navbar .logo {
    font-size: 1.12rem;
    gap: 10px;
}

.navbar .logo-mark {
    width: 52px;
    height: 38px;
    border-radius: 8px;
}

.navbar .logo-img {
    height: 34px;
}

.navbar .nav-links {
    gap: 22px;
}

.navbar .nav-links a {
    font-size: 0.9rem;
}

.navbar .lang-btn {
    font-size: 0.76rem;
    padding: 5px 11px;
}

@media (max-width: 768px) {
    .navbar .nav-links,
    .navbar .nav-links.active {
        top: 56px;
    }

    .navbar .nav-toggle span {
        width: 22px;
        height: 2.5px;
    }
}
