/* ============================================
   星邁貿易國際有限公司 - 主樣式表
   Color: Blue #0b3d91 / Light Blue #4da8da / White #f0f7fc
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0b3d91;
    --primary-light: #1565c0;
    --gold: #4da8da;
    --gold-light: #6ec1e8;
    --gold-dark: #3a8fc0;
    --white: #ffffff;
    --off-white: #f0f7fc;
    --gray-100: #f4f4f5;
    --gray-200: #e8e8ea;
    --gray-300: #d4d4d8;
    --gray-500: #71717a;
    --gray-700: #3f3f46;
    --gray-900: #18181b;
    --font-cn: 'Noto Sans TC', 'PingFang TC', 'Microsoft YaHei', sans-serif;
    --font-en: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.2);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: .35s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-cn);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 50px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--gold);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(77,168,218,.3);
}
.btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 6px 25px rgba(77,168,218,.45);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(11,61,145,.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}
.logo-img {
    width: auto;
    max-height: 60px;
    border-radius: 8px;
    object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; }
.logo-cn {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.2;
}
.logo-en {
    font-size: 9px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.8);
    border-radius: 50px;
    transition: all var(--transition);
    letter-spacing: .5px;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.1);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Language Switcher ---------- */
.lang-switcher {
    position: relative;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,.2);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.lang-toggle:hover {
    color: var(--white);
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.4);
}

.lang-toggle svg {
    flex-shrink: 0;
}

.lang-current {
    min-width: 20px;
    text-align: center;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1002;
    overflow: hidden;
}

.lang-switcher:hover .lang-dropdown,
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s ease;
    text-align: left;
}

.lang-option:hover {
    background: var(--off-white);
    color: var(--primary);
}

.lang-option.active {
    color: var(--primary);
    background: rgba(77,168,218,.1);
    font-weight: 600;
}

/* RTL Support for Arabic */
[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 8px;
    padding-left: 0;
    padding-right: 12px;
    border-left: none;
    border-right: 1px solid rgba(255,255,255,.2);
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option {
    text-align: right;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(11,61,145,.35) 0%,
        rgba(11,61,145,.18) 40%,
        rgba(11,61,145,.30) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    border: 1px solid rgba(77,168,218,.4);
    border-radius: 50px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s ease forwards;
}
.hero-title {
    margin-bottom: 24px;
}
.hero-title-line {
    display: block;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 6px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease .2s forwards;
}
.hero-title-sub {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 6px;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease .4s forwards;
}
.hero-desc {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255,255,255,.75);
    margin-bottom: 40px;
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease .6s forwards;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease .8s forwards;
}
.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s ease 1s forwards;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-en);
    font-size: 42px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-suffix {
    font-family: var(--font-en);
    font-size: 28px;
    color: var(--gold);
}
.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin-top: 8px;
    letter-spacing: 1px;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    transition: color var(--transition);
}
.hero-scroll:hover { color: var(--gold); }
.scroll-text {
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 600;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: currentColor;
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollLine 2s ease infinite;
}

/* ---------- Section Common ---------- */
.section {
    padding: 120px 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header-left { text-align: left; }
.section-header-left .section-divider { margin-left: 0; }
.section-tag {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1.3;
    margin-bottom: 16px;
}
.section-header-light .section-title { color: var(--white); }
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto 20px;
    border-radius: 3px;
}
.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- About Section ---------- */
.section-about { background: var(--off-white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform .6s ease;
}
.about-image:hover img { transform: scale(1.03); }
.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.about-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.5;
}
.about-text p {
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.9;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 8px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(77,168,218,.1);
    border-radius: 50%;
}
.value-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

/* ---------- Products Section ---------- */
.section-products { background: var(--white); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,61,145,.7), rgba(77,168,218,.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    color: var(--white);
    backdrop-filter: blur(10px);
}
.product-info {
    padding: 24px;
}
.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.product-info p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Products Banner */
.products-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 320px;
}
.products-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.products-banner-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,61,145,.85), rgba(11,61,145,.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.products-banner-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 3px;
}
.products-banner-content p {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

/* ---------- Advantages Section ---------- */
.section-advantages {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.section-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11,61,145,.92) 0%,
        rgba(11,61,145,.88) 100%
    );
}
.section-advantages .container { position: relative; z-index: 1; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.advantages-grid .advantage-card:nth-child(4),
.advantages-grid .advantage-card:nth-child(5) {
    grid-column: span 1;
}
.advantages-grid {
    grid-template-columns: repeat(3, 1fr);
}
/* Adjust last row centering */
.advantages-grid::after {
    content: '';
    display: none;
}
.advantage-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.advantage-card:hover::before { transform: scaleX(1); }
.advantage-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-6px);
    border-color: rgba(77,168,218,.3);
}
.advantage-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 700;
    color: rgba(77,168,218,.15);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}
.advantage-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(77,168,218,.1);
    border-radius: 16px;
    margin-bottom: 20px;
}
.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.advantage-card p {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
}

/* ---------- Vision Section ---------- */
.section-vision { background: var(--off-white); }
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.vision-quote {
    position: relative;
    padding: 28px 32px;
    margin: 32px 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-sm);
}
.vision-quote p {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.6;
    letter-spacing: 2px;
}
.vision-text {
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.9;
}
.vision-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}
.vision-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}
.feature-dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}
.vision-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.vision-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform .6s ease;
}
.vision-image:hover img { transform: scale(1.03); }
.vision-image-frame {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid rgba(77,168,218,.4);
    border-radius: var(--radius);
    pointer-events: none;
}

/* ---------- Contact Section ---------- */
.section-contact { background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.contact-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.contact-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--gold);
    border-radius: 14px;
}
.contact-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.contact-details p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
}
.contact-en {
    font-size: 12px !important;
    color: var(--gray-500) !important;
    margin-top: 4px;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-form-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: 2px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-bottom: 8px;
    letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    color: var(--white);
    transition: all var(--transition);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,.12);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10L6 8z' fill='%23c9a96e'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-group select option { background: var(--primary); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--primary);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-logo img {
    width: auto;
    max-height: 80px;
    border-radius: 8px;
    object-fit: contain;
}
.footer-logo .logo-cn {
    font-size: 16px;
    line-height: 1.3;
}
.footer-logo .logo-en {
    font-size: 8px;
}
.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.8;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    transition: all var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.5);
    margin-bottom: 14px;
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold);
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.35);
    letter-spacing: .5px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-4px);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated {
    opacity: 1;
    transform: translate(0) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .vision-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-image img { height: 360px; }
    .vision-image img { height: 360px; }
}
@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11,61,145,.95);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
    }
    .nav-menu.open { right: 0; }
    .nav-link {
        width: 100%;
        padding: 14px 20px;
        border-radius: var(--radius);
    }
    .lang-switcher {
        margin-left: 0;
        margin-top: 16px;
        padding-left: 0;
        padding-top: 16px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.2);
    }
    .lang-toggle {
        width: 100%;
        justify-content: center;
    }
    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,.1);
        border-radius: 8px;
        margin-top: 8px;
    }
    .lang-option {
        color: rgba(255,255,255,.8);
    }
    .lang-option:hover {
        background: rgba(255,255,255,.1);
        color: var(--white);
    }
    .lang-option.active {
        color: var(--gold);
        background: rgba(77,168,218,.15);
    }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 32px; }
    .products-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: repeat(2, 1fr); }
    .products-banner { height: 240px; }
    .products-banner-content h3 { font-size: 24px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-scroll { display: none; }
    .contact-form-wrap { padding: 28px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .about-values { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .value-item { padding: 14px 6px; }
    .hero-stats { flex-direction: column; gap: 20px; }
}
