/* ========== HOTWIN Website Styles ========== */

:root {
    --primary: #D71518;
    --primary-dark: #B01013;
    --primary-light: #fde8e9;
    --dark: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-soft: #f7f7f7;
    --bg-gray: #ebebeb;
    --border: #e5e5e5;
    --max-width: 1240px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHe', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: #d9d9d9;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar a {
    color: #d9d9d9;
}

.top-bar a:hover {
    color: var(--primary);
}

.top-bar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-lang {
    display: flex;
    gap: 12px;
}

.top-bar-lang a {
    padding: 2px 6px;
    border: 1px solid transparent;
    border-radius: 3px;
}

.top-bar-lang a.active {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Header / Navigation ===== */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav a {
    padding: 28px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 70%;
}

.nav-mobile-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.nav-mobile-toggle span {
    height: 2px;
    background: var(--dark);
    width: 100%;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    min-height: 540px;
    gap: 40px;
    padding: 60px 0;
}

.hero-content {
    padding-right: 20px;
}

.hero-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.hero-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(215, 21, 24, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.btn-red-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-image {
    position: relative;
    text-align: right;
}

.hero-image::before {
    content: "";
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(215,21,24,0.18) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-image img {
    position: relative;
    z-index: 2;
    max-height: 480px;
    margin-left: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat .num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat .label {
    font-size: 13px;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Section common ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding: 0 32px;
}

.section-title h2::before,
.section-title h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.section-title h2::before {
    right: 100%;
}

.section-title h2::after {
    left: 100%;
}

.section-title p {
    color: var(--text-light);
    margin-top: 14px;
    font-size: 16px;
}

/* ===== Features (Why Choose) ===== */
.features {
    background: var(--bg-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Products (Categories) ===== */
.product-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    background: var(--dark);
    color: white;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
    transition: transform var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-card .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    transition: opacity var(--transition), transform var(--transition);
}

.category-card:hover .bg {
    opacity: 0.4;
    transform: scale(1.05);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.category-card .info {
    position: absolute;
    inset: 0;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.category-card .num {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255,0.18);
    line-height: 1;
}

.category-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.category-card h3 .cn {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}

.category-card .arrow {
    margin-top: 14px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.product-card {
    background: white;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.product-card-img {
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.product-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition);
}

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

.product-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

.product-card-body {
    padding: 22px;
    border-top: 1px solid var(--border);
}

.product-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 60px;
}

.product-card-body .more {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Sidebar Layout (product detail / products list) ===== */
.with-sidebar {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.sidebar {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    background: var(--primary);
    color: white;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-nav {
    padding: 8px 0;
}

.sidebar-nav li {
    border-bottom: 1px solid var(--border);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px;
    font-size: 14px;
    color: var(--text);
    transition: all var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--primary);
    color: white;
}

.sidebar-nav a.active {
    font-weight: 600;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--bg-soft);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: #ccc;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(215,21,24,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.page-hero p {
    font-size: 17px;
    color: #c0c0c0;
    max-width: 720px;
    position: relative;
}

/* ===== Product Detail ===== */
.detail-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.detail-tabs button {
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}

.detail-tabs button:hover {
    color: var(--primary);
}

.detail-tabs button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.detail-tab-panel {
    display: none;
}

.detail-tab-panel.active {
    display: block;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
}

.detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.detail-top-image {
    background: var(--bg-soft);
    padding: 30px;
    border: 1px solid var(--border);
}

.detail-top-image img {
    max-height: 460px;
    width: 100%;
    object-fit: contain;
}

.detail-top h2 {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.detail-top .subtitle {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 18px;
    font-weight: 600;
}

.detail-top .desc {
    color: var(--text-light);
    line-height: 1.8;
}

.price-line {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text);
}
.price-line .price-label {
    color: var(--text-light);
    margin-right: 6px;
}
.price-line .price-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 19px;
}
.card-price {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}
.card-price .price-value {
    color: var(--primary);
    font-weight: 600;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-soft);
    font-size: 14px;
}

.spec-table tr {
    border-bottom: 1px solid var(--border);
}

.spec-table tr:nth-child(even) {
    background: white;
}

.spec-table td {
    padding: 12px 18px;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 35%;
    background: var(--primary-light);
    border-right: 2px solid var(--primary);
}

.detail-diagram {
    text-align: center;
    margin: 30px 0;
    background: var(--bg-soft);
    padding: 20px;
    border: 1px solid var(--border);
}

.detail-diagram img {
    max-width: 100%;
    margin: 0 auto;
}

.advantages-list {
    background: white;
    border: 1px solid var(--border);
}

.advantages-list li {
    padding: 14px 22px 14px 50px;
    border-bottom: 1px solid var(--border);
    position: relative;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
}

.advantages-list li:last-child {
    border-bottom: none;
}

.advantages-list li::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.advantages-list li:nth-child(even) {
    background: var(--bg-soft);
}

.advantages-list li::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(215, 21, 24, 0.18);
}

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

.about-intro-image {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid rgba(215,21,24,0);
    transition: var(--transition);
}

.about-intro-image:hover::after {
    border-color: var(--primary);
}

.about-intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-intro h2 .highlight {
    color: var(--primary);
}

.about-intro p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.about-stat {
    text-align: center;
    padding: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.about-stat .num {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat .label {
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline */
.timeline-section {
    background: var(--bg-soft);
}

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

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: center;
}

.timeline-year {
    background: var(--primary);
    color: white;
    padding: 14px 24px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.timeline-year::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year::after {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-year::after {
    left: -50px;
}

.timeline-content {
    background: white;
    padding: 22px 26px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

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

.value-card {
    padding: 36px 28px;
    background: white;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform var(--transition);
    transform-origin: top;
}

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

.value-card:hover::before {
    transform: scaleY(1);
}

.value-card .icon {
    color: var(--primary);
    margin-bottom: 18px;
}

.value-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

/* Global Network */
.network-section {
    background: var(--bg-soft);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.network-card {
    background: white;
    padding: 30px;
    border: 1px solid var(--border);
}

.network-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.network-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.network-list li:last-child {
    border-bottom: none;
}

.network-list li strong {
    color: var(--primary);
    margin-right: 12px;
    display: inline-block;
    min-width: 140px;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
}

.contact-info {
    background: var(--dark);
    color: white;
    padding: 44px;
}

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: white;
}

.contact-info > p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
    font-size: 14px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.contact-item h4 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-soft);
    padding: 44px;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: white;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    transition: border var(--transition);
}

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

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

.map {
    width: 100%;
    height: 360px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 30px;
    background-image: linear-gradient(45deg, #e8e8e8 25%, transparent 25%), linear-gradient(-45deg, #e8e8e8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8e8 75%), linear-gradient(-45deg, transparent 75%, #e8e8e8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-banner p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-banner .btn {
    background: white;
    color: var(--primary);
}

.cta-banner .btn:hover {
    background: var(--dark);
    color: white;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: #c0c0c0;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-about {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #a0a0a0;
}

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

.footer-links a {
    color: #a0a0a0;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact li {
    margin-bottom: 14px;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #a0a0a0;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    background: #111;
    padding: 22px 0;
    text-align: center;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #2a2a2a;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-nav {
    background: var(--primary);
    padding: 14px 0;
}

.footer-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    color: white;
    font-size: 14px;
}

.footer-nav a {
    padding: 0 18px;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a:last-child {
    border-right: none;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav a {
        padding: 28px 12px;
        font-size: 14px;
    }
    .features-grid,
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid,
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .detail-top {
        grid-template-columns: 1fr;
    }
    .with-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .timeline::before {
        display: none;
    }
    .timeline-year::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .nav {
        display: none;
    }
    .nav-mobile-toggle {
        display: flex;
    }
    .nav.open {
        display: flex;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav.open a {
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    .hero h1 {
        font-size: 32px;
    }
    section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .section-title h2::before,
    .section-title h2::after {
        width: 30px;
    }
    .hero-stats,
    .features-grid,
    .product-categories,
    .products-grid,
    .values-grid,
    .network-grid,
    .about-stats {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-info,
    .contact-form {
        padding: 28px;
    }
    .page-hero h1 {
        font-size: 30px;
    }
    .detail-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .detail-tabs button {
        white-space: nowrap;
        padding: 12px 18px;
        font-size: 13px;
    }
}

/* ===== Products dropdown (nav) ===== */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.caret { font-size: 10px; transition: transform var(--transition); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 260px;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition); z-index: 300;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block; padding: 10px 14px; text-transform: none; letter-spacing: 0;
    font-size: 14px; font-weight: 600; color: var(--text); border-radius: 2px;
}
.dropdown a::after { display: none; }
.dropdown a:hover { color: var(--primary); background: var(--primary-light); }
.dropdown a small { display: block; font-size: 12px; color: var(--text-light); font-weight: 400; }

/* ===== Category sections (products page) ===== */
.category-section { margin-bottom: 60px; }
.category-section h2 { font-size: 28px; color: var(--dark); margin-bottom: 8px; padding-left: 16px; border-left: 4px solid var(--primary); }
.category-section .sub { color: var(--text-light); margin-bottom: 16px; font-size: 14px; }
.chip { display: inline-block; padding: 6px 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 2px; font-size: 13px; color: var(--text-light); margin: 0 8px 14px 0; cursor: pointer; user-select: none; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* product detail subcategory chips */
.subcat-chips { margin: -8px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.subcat-chip { display: inline-block; padding: 3px 10px; background: #eef2f8; border: 1px solid #d0d8e6; border-radius: 999px; font-size: 12px; color: #243056; }

/* ===== Sidebar category tree (accordion) ===== */
.side-tree { padding: 8px 0; margin: 0; }
.side-tree .group > .group-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 13px 22px; font-weight: 700; font-size: 14.5px; color: var(--dark); text-transform: uppercase; letter-spacing: .5px; text-align: left; }
.side-tree .group > .group-toggle:hover, .side-tree .group > .group-toggle.active { color: var(--primary); }
.side-tree .group > .group-toggle .arrow { font-size: 12px; color: #999; transition: transform var(--transition); }
.side-tree .group.open > .group-toggle .arrow { transform: rotate(90deg); color: var(--primary); }
.side-tree .sub { display: none; margin: 0; padding: 0 0 6px; }
.side-tree .group.open .sub { display: block; }
.side-tree .sub a { display: block; padding: 8px 22px 8px 34px; font-size: 13.5px; color: var(--text-light); border-left: 2px solid var(--border); margin-left: 22px; }
.side-tree .sub a:hover { color: var(--primary); border-left-color: var(--primary); background: var(--primary-light); }
.side-tree .sub a.active { color: var(--primary); border-left-color: var(--primary); background: var(--primary-light); font-weight: 600; }

@media (max-width: 768px) {
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 12px; min-width: 0; }
    .has-dropdown > a .caret { display: none; }
}
/* ===== Top bar social links ===== */
.top-bar-social { display: flex; align-items: center; gap: 9px; }
.top-bar-social a { display: inline-flex; width: 20px; height: 20px; color: #d9d9d9; transition: color var(--transition); }
.top-bar-social a:hover { color: var(--primary); }
.top-bar-social a svg { width: 100%; height: 100%; fill: currentColor; }

/* ===== Right floating contact sidebar (collapsed, expand on hover) ===== */
.side-contact { position: fixed; right: 0; top: 55%; transform: translateY(-50%); z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.side-contact::before { content: "CONTACT"; writing-mode: vertical-rl; background: var(--primary); color: #fff; padding: 16px 7px; font-size: 12px; font-weight: 700; letter-spacing: 3px; border-radius: 8px 0 0 8px; box-shadow: 0 4px 12px rgba(0,0,0,.18); cursor: pointer; }
.side-contact a { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.side-contact:hover a { opacity: 1; visibility: visible; transform: translateX(0); }
.side-contact a:hover { transform: scale(1.08); }
.side-contact a svg { width: 22px; height: 22px; fill: currentColor; }
.side-contact a::after { content: attr(data-label); position: absolute; right: 54px; top: 50%; transform: translateY(-50%); background: #1a1a1a; color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.side-contact a:hover::after { opacity: 1; }
.side-contact .sc-whatsapp { background: #25D366; }
.side-contact .sc-phone { background: var(--primary); }
.side-contact .sc-email { background: #1976d2; }
.side-contact .sc-wechat { background: #07C160; }
.side-contact .sc-top { background: #444; }
@media (max-width: 768px) { .side-contact a::after { display: none; } }
/* ===== Top bar search ===== */
.top-bar-search { position: relative; }
.search-form { position: relative; display: flex; align-items: center; }
.search-input { width: 280px; height: 34px; padding: 0 38px 0 14px; border: 1px solid #3a3a3a; border-radius: 17px; background: #111; color: #eee; font-size: 13px; outline: none; transition: border-color .2s ease, width .2s ease; }
.search-input::placeholder { color: #888; }
.search-input:focus { border-color: var(--primary); width: 320px; }
.search-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #d9d9d9; border-radius: 50%; }
.search-btn:hover { color: var(--primary); }
.search-btn svg { width: 16px; height: 16px; fill: currentColor; }
.search-results { position: absolute; top: calc(100% + 6px); right: 0; width: 340px; max-height: 340px; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 500; display: none; }
.search-results.open { display: block; }
.search-results a { display: block; padding: 10px 14px; color: var(--text); font-size: 13.5px; border-bottom: 1px solid var(--border); text-decoration: none; }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--primary-light); color: var(--primary); }
.search-results a .sr-model { font-weight: 700; color: var(--primary); margin-right: 6px; }
.search-results .sr-empty { padding: 14px; color: var(--text-light); font-size: 13px; }