/* ============================================
   新丝路纺织 - 公司官网样式表
   ============================================ */

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

:root {
    --primary: #1B4F72;
    --primary-dark: #0E2E45;
    --primary-light: #2980B9;
    --accent: #E67E22;
    --accent-hover: #D35400;
    --success: #27AE60;
    --danger: #E74C3C;
    --gray-50: #FAFAFA;
    --gray-100: #F5F6FA;
    --gray-200: #ECF0F1;
    --gray-300: #BDC3C7;
    --gray-600: #7F8C8D;
    --gray-800: #2C3E50;
    --gray-900: #1A1A2E;
    --white: #FFFFFF;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
    --font-en: "Open Sans", "PingFang SC", sans-serif;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cn);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Mobile tap optimization ── */
a, button, .btn, [role="button"], input[type="submit"] {
    touch-action: manipulation;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
    color: var(--gray-800);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(27,79,114,0.08);
}

.lang-btn {
    padding: 6px 14px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    font-family: var(--font-en);
}

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

/* Mobile-only language toggle (hidden on desktop) */
.mobile-lang-btn {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -7px); }

/* Mobile backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-backdrop.active {
    display: block;
    opacity: 1;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(14,46,69,0.82) 0%, rgba(27,79,114,0.70) 50%, rgba(41,128,185,0.65) 100%),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 20% 50%, #fff 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, #fff 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 100px 20px 60px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
}

.hero-desc {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--primary);
    font-weight: 700;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px 10px;
    background: var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-en);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 6px;
}

/* --- Products --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Export --- */
.export-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cert-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.cert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.75rem;
    font-family: var(--font-en);
    flex-shrink: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step {
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-num {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto 12px;
    font-family: var(--font-en);
}

.step h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.step p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* --- Guarantee Section --- */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.guarantee-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.guarantee-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-50);
}
.guarantee-icon svg {
    width: 32px;
    height: 32px;
}
.guarantee-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}
.guarantee-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}
@media (max-width: 700px) {
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 450px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}

/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Natural left-to-right flow: row 1 = 3 cards, row 2 = 2 cards */

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-h {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.news-card-link:hover .news-card-h {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-card-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--gray-100);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.news-card-body {
    flex: 1;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
    width: fit-content;
    font-family: var(--font-en);
}

.news-card-body h3 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.news-card-body > p {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-readmore {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}

.news-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 6px;
    width: fit-content;
    font-weight: 600;
}

.wechat-tag {
    background: #E8F5E9;
    color: #2E7D32;
}

.news-card-link:hover .news-readmore {
    color: var(--accent-hover);
}

/* --- News Pagination --- */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.page-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    pointer-events: none;
}
@media (max-width: 768px) {
    .news-pagination {
        gap: 4px;
    }
    .page-btn {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

/* --- Production Strength Section --- */
.production-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.production-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.production-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.production-item:hover .production-img {
    transform: scale(1.08);
}

.production-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    transition: var(--transition);
}

.production-overlay h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

/* --- Delivery Section --- */
.delivery-section {
    margin-bottom: 50px;
}

.delivery-desc {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.delivery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.delivery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.delivery-item:hover .delivery-img {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .production-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .production-grid {
        grid-template-columns: 1fr;
    }
    .delivery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-img {
        height: 120px;
    }
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.wechat-qr-wrapper {
    margin-top: 12px;
    text-align: center;
}

.wechat-qr-img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    object-fit: cover;
}

.wechat-qr-caption {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* --- Form --- */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
}

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

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-cn);
    background: transparent;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-light);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    font-size: 0.95rem;
    transition: var(--transition);
    pointer-events: none;
    background: var(--white);
    padding: 0 4px;
}

.form-group textarea ~ label {
    top: 16px;
    transform: none;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--primary-light);
}

.form-group textarea.form-control:focus ~ label,
.form-group textarea.form-control:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* ── Mobile Nav ── */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 40px;
        gap: 4px;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        transform: translateX(100%);
        opacity: 1;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        left: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    .nav-lang-switch {
        width: 100%;
        padding: 12px 20px;
    }

    .lang-btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    /* Mobile language toggle in header bar */
    .mobile-lang-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 3px solid var(--primary);
        background: var(--white);
        color: var(--primary);
        border-radius: 10px;
        cursor: pointer;
        font-weight: 700;
        font-size: 0.85rem;
        margin-left: auto;
        margin-right: 12px;
        transition: var(--transition);
        font-family: var(--font-en);
        flex-shrink: 0;
        z-index: 1001;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    .mobile-lang-btn:active {
        transform: scale(0.95);
        background: var(--primary);
        color: var(--white);
    }

    /* ── Hero ── */
    .hero {
        min-height: 85vh;
    }

    .hero-content {
        padding: 80px 20px 50px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* ── Sections ── */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* ── About ── */
    .about-text p {
        font-size: 0.9rem;
    }

    .about-stats {
        gap: 12px;
    }

    .stat {
        padding: 14px 8px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    /* ── Products ── */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-img {
        height: 150px;
    }

    .product-info {
        padding: 14px 12px;
    }

    .product-info h3 {
        font-size: 0.95rem;
    }

    .product-info p {
        font-size: 0.78rem;
    }

    /* ── Production ── */
    .production-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* ── Delivery ── */
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* ── Export Process ── */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .step {
        padding: 20px 12px;
    }

    .cert-item {
        padding: 12px 14px;
    }

    /* ── News ── */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .news-card-img {
        height: 110px;
    }

    .news-card-body {
        padding: 12px 14px 14px;
    }

    .news-card-body h3 {
        font-size: 0.85rem;
    }

    /* ── Contact ── */
    .contact-item {
        padding: 14px;
    }

    .wechat-qr-img {
        width: 120px;
        height: 120px;
    }

    /* ── Form ── */
    .contact-form {
        padding: 24px 18px;
    }

    /* ── Footer ── */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 30px;
    }
}

/* ── Small phones (iPhone SE, etc.) ── */
@media (max-width: 400px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 70px 14px 40px;
    }

    .hero-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-desc {
        font-size: 0.8rem;
    }

    .hero-desc br {
        display: none;
    }

    .btn {
        padding: 13px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 260px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-img {
        height: 130px;
    }

    .product-info h3 {
        font-size: 0.85rem;
    }

    .product-info p {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

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

    .certs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 36px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-num {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

/* ── iOS / Touch fixes ── */
@media (hover: none) and (pointer: coarse) {
    /* Prevent iOS zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }

    /* Better tap targets */
    .nav-link,
    .lang-btn,
    .btn,
    .back-link,
    .fabric-card,
    .product-card,
    .thumb-item {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }

    /* Remove hover-only effects on touch devices */
    .product-card:hover,
    .fabric-card:hover,
    .news-card-link:hover .news-card-h,
    .step:hover,
    .cert-item:hover,
    .guarantee-card:hover,
    .stat:hover {
        transform: none;
    }

    .product-card:active,
    .fabric-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}
