/* ===== SAGMOTO Website CSS ===== */
/* Matching sagmoto.com visual style */

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

:root {
    --primary: #182a69;
    --primary-dark: #0a1535;
    --accent: #c41230;
    --accent-hover: #a30e26;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
    --font-family: Arial, "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul, ol {
    list-style: none;
}

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

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

/* === Header / Navigation (透明背景，覆盖在Hero上方，匹配sagmoto.com官网) === */
.e_container-2 {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    width: 100%;
}

.e_container-2.shrink,
.e_container-2.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
}

/* Logo - 双图切换(暗色/亮色背景) */
.logo-area {
    flex-shrink: 0;
}

.logo-area a {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo-area .logo-dark {
    height: 40px;
    width: auto;
    display: block;
}

.logo-area .logo-light {
    height: 40px;
    width: auto;
    display: none;
}

/* 滚动后切换logo为暗色版本 */
.e_container-2.scrolled .logo-area .logo-dark,
.e_container-2.shrink .logo-area .logo-dark {
    display: none;
}

.e_container-2.scrolled .logo-area .logo-light,
.e_container-2.shrink .logo-area .logo-light {
    display: block;
}

/* ===== TOP BAR (应用页面专用) ===== */
.e_container-1 {
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
}

.e_container-1 .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 20px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 400;
    transition: var(--transition);
}

.top-contact a:hover {
    color: #fff;
}

.top-contact svg {
    flex-shrink: 0;
    opacity: 0.7;
}

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

.lang-selector a {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 3px;
    transition: var(--transition);
}

.lang-selector a:hover,
.lang-selector a.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

/* Logo - 应用页面版本（logo-icon + logo-text） */
.logo-icon {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* 应用页面导航容器使用 .container 代替 .header-inner */
.e_container-2 .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
}

/* 应用页面导航默认深色文字（白色背景） */
.e_container-2:not(.transparent) .main-nav > li > a {
    color: var(--text-dark);
}

.e_container-2:not(.transparent) .main-nav > li > a:hover,
.e_container-2:not(.transparent) .main-nav > li > a.active {
    color: var(--accent) !important;
}

/* 确保应用页面 .e_container-2 有白色背景 */
.e_container-2:not(.transparent) {
    background: var(--bg-white);
    border-bottom-color: var(--border-color);
}

.e_container-2:not(.transparent):not(.shrink) {
    box-shadow: var(--shadow-sm);
}

/* 确保应用页面 .nav-arrow 颜色正确 */
.e_container-2:not(.transparent) .main-nav > li > a .nav-arrow {
    color: var(--text-dark);
    opacity: 0.6;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.main-nav > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 导航文字默认白色（透明背景时） */
.main-nav > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 18px;
    height: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}

/* 下拉箭头 */
.nav-arrow {
    margin-left: 2px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.main-nav > li:hover > a .nav-arrow {
    transform: rotate(90deg);
    opacity: 1;
}

/* 滚动后导航文字变深色 */
.e_container-2.scrolled .main-nav > li > a,
.e_container-2.shrink .main-nav > li > a {
    color: var(--text-dark);
}

/* 搜索图标样式 */
.nav-search > a {
    padding: 0 12px !important;
}

.nav-search > a svg {
    display: block;
    transition: var(--transition);
}

.nav-search > a:hover svg {
    transform: scale(1.1);
}

/* 底部红色虚线下划线动画 */
.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
    color: var(--accent) !important;
}

.main-nav > li > a:hover::after,
.main-nav > li > a.active::after {
    width: calc(100% - 36px);
}

/* === 普通 Dropdown Menu (SERVICES/NEWS/ABOUT US) === */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-top: 2px solid var(--accent);
    padding: 8px 0;
}

.main-nav > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: none;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--accent);
    padding-left: 26px;
}

/* 宽版下拉 (APPLICATIONS) */
.dropdown-menu.dropdown-wide {
    min-width: 560px;
    display: flex;
    flex-wrap: wrap;
    padding: 16px;
}

.dropdown-group {
    width: 180px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.dropdown-group-title {
    font-weight: 700 !important;
    color: var(--primary) !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 4px;
    pointer-events: auto;
}

.dropdown-group-title:hover {
    color: var(--accent) !important;
    background: transparent !important;
    padding-left: 12px !important;
}

.dropdown-sub {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-sub li a {
    font-size: 13px !important;
    padding: 6px 20px !important;
    color: var(--text-gray) !important;
}

.dropdown-sub li a:hover {
    color: var(--accent) !important;
    padding-left: 26px !important;
}

/* === Mega Dropdown (PRODUCTS - 三栏布局) === */
.dropdown-mega {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 99;
    border-top: 1px solid var(--border-color);
}

.main-nav > li:hover .dropdown-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px;
    gap: 30px;
}

/* 左栏：分类导航 */
.mega-left {
    width: 240px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    padding-right: 30px;
}

.mega-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.mega-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-cat-item {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
    margin-bottom: 2px;
}

.mega-cat-item span {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 1px;
}

.mega-cat-item:hover,
.mega-cat-item.active {
    background: var(--bg-light);
    color: var(--accent);
}

.mega-cat-item:hover span,
.mega-cat-item.active span {
    color: var(--accent);
}

/* 中栏：车型网格 */
.mega-center {
    flex: 1;
    min-width: 0;
}

.mega-center-intro {
    margin-bottom: 12px;
}

.mega-center-img {
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.mega-center-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.model-groups {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.model-group {
    flex: 1;
    min-width: 130px;
}

.model-group a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    font-size: 13px;
    color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
    margin-bottom: 2px;
}

.model-group a:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.model-group a .model-arrow {
    font-size: 10px;
    color: var(--accent);
    flex-shrink: 0;
}

.model-group a span:not(.model-arrow) {
    font-weight: 600;
    min-width: 32px;
}

.model-group a img {
    width: 30px;
    height: 20px;
    object-fit: contain;
    border-radius: 2px;
    flex-shrink: 0;
}

/* 右栏：营销与服务 */
.mega-right {
    width: 220px;
    flex-shrink: 0;
    border-left: 1px solid var(--border-color);
    padding-left: 30px;
}

.mega-right-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mega-right-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.mega-right-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.mega-right-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
    background: var(--bg-light);
}

.mega-right-links a:hover {
    background: var(--accent);
    color: #fff;
}

.mega-right-phone {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.mega-phone-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.mega-phone-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    transition: var(--transition);
}

.mega-phone-num:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .header-inner {
        padding: 0 20px;
    }
    .main-nav > li > a {
        padding: 0 12px;
        font-size: 14px;
    }
    .mega-inner {
        padding: 16px 20px;
        gap: 16px;
    }
    .mega-left {
        width: 180px;
        padding-right: 16px;
    }
    .mega-right {
        width: 180px;
        padding-left: 16px;
    }
    .model-groups {
        gap: 8px;
    }
    .model-group {
        min-width: 100px;
    }
    .model-group a img {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }

    .dropdown-mega {
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        min-width: 100vw;
        transform: translateY(10px);
        box-shadow: var(--shadow-lg);
    }

    .main-nav > li:hover .dropdown-mega {
        transform: translateY(0);
    }

    .mega-inner {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    .mega-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 12px;
    }

    .mega-center {
        width: 100%;
    }

    .mega-center-img {
        display: none;
    }

    .model-groups {
        flex-direction: column;
        gap: 4px;
    }

    .model-group {
        min-width: auto;
    }

    .model-group a img {
        width: 24px;
        height: 16px;
        display: block;
    }

    .mega-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 12px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
    }

    .main-nav > li.mobile-sub-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu.dropdown-wide {
        flex-direction: column;
        min-width: auto;
        padding: 8px;
    }

    .dropdown-group {
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .main-nav.mobile-open {
        display: flex;
    }

    .main-nav > li {
        height: auto;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav > li > a {
        color: var(--text-dark) !important;
        padding: 14px 20px;
        height: auto;
        justify-content: space-between;
    }

    .nav-search {
        display: none;
    }
}

/* === Mobile Menu Toggle === */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Banner Slider (全屏轮播 - 匹配sagmoto.com官网) === */
.hero-slider.swiper-container {
    width: 100% !important;
    height: 100vh !important;
    position: relative;
}

.hero-slider .swiper-wrapper {
    height: 100vh !important;
}

.hero-slider .swiper-slide {
    position: relative;
    height: 100vh !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.hero-slider .slide-content .p_info {
    color: #ffffff;
    max-width: 600px;
    position: relative;
}

.hero-slider .slide-content .p_info h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 红色横线分隔符 */
.hero-slider .slide-content .p_info .p_line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 20px 0;
}

.hero-slider .slide-content .p_info .p_summary {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    max-width: 500px;
}

/* MORE + 按钮 - 匹配官网样式 */
.hero-slider .slide-content .p_info .btn-link {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 36px;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
}

.hero-slider .slide-content .p_info .btn-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Swiper pagination - 底部居中 */
.hero-slider .swiper-pagination {
    bottom: 80px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    margin: 0 6px !important;
    border-radius: 50%;
    transition: var(--transition);
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* Swiper arrows - 底部两侧 */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: #fff;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0;
    transition: var(--transition);
    bottom: 40px;
    top: auto;
    position: absolute;
}

.hero-slider .swiper-button-prev {
    right: 120px;
    left: auto;
}

.hero-slider .swiper-button-next {
    right: 40px;
    left: auto;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 18px;
    font-weight: 300;
}

/* SCROLL DOWN - 底部中央 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-down .mouse-icon {
    width: 20px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    position: relative;
    margin-bottom: 8px;
}

.scroll-down .mouse-icon i {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: #fff;
    border-radius: 1px;
    animation: scrollWheel 1.5s infinite;
}

.scroll-down span {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 16px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

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

.section-bg-light {
    background: var(--bg-light);
}

.section-bg-white {
    background: var(--bg-white);
}

.s_title {
    text-align: center;
    margin-bottom: 48px;
}

.s_title h2 {
    font-size: 36px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.s_title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.s_title p {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 16px;
}

/* === Category Showcase (3+3 black overlay grid matching sagmoto.com) === */
.category-showcase {
    padding: 0;
    background: #fff;
}

.cat-grid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 0 0;
}

.cat-row {
    display: flex;
    gap: 0;
}

.cat-row.top-row {
    margin-bottom: 0;
}

.cat-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.cat-card a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.7;
}

.cat-card:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.cat-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
}

.cat-label {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Row 1: Tractor(790px) | Dump(385px) | Special(385px) */
.cat-card-large {
    width: 50%;
    height: 338px;
}

.cat-card-right {
    display: flex;
    flex: 0 0 50%;
    gap: 0;
}

.cat-card-small {
    width: 50%;
    height: 338px;
}

/* Row 2: 3 equal columns */
.cat-row.bottom-row {
    display: flex;
}

.cat-row.bottom-row .cat-card-small {
    flex: 1;
    height: 338px;
}

/* Remove old category grid */
.category-section {
    display: none;
}
}

/* === Company Intro Section (replaced by tagline) === */
.company-intro {
    display: none;
}

/* === Tagline Section (matching sagmoto.com) === */
.tagline-section {
    background: #f5f5f5;
    padding: 60px 20px;
    margin-top: 10px;
}

.tagline-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tagline-text {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 1px;
}

/* =============================================
   RECOMMENDED MODEL (tabs + 4-column grid)
   ============================================= */
.recommended-model {
    max-width: 1580px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 14px auto 0;
}

.tab-wrapper {
    width: 100%;
}

.tab-list {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    gap: 0;
}

.tab-item {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    top: 1px;
    white-space: nowrap;
}

.tab-item:hover {
    color: var(--accent);
}

.tab-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

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

.product-grid-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-grid-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.pg-img {
    height: 200px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-grid-item:hover .pg-img img {
    transform: scale(1.05);
}

.pg-body {
    padding: 18px 16px;
}

.pg-body h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.pg-body h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.pg-body h4 a:hover {
    color: var(--accent);
}

.pg-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pg-plus {
    display: inline-block;
    padding: 6px 22px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #666;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 8px;
}

.pg-plus:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(196, 18, 48, 0.04);
}

.pg-plus.active {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
    font-size: 20px;
    line-height: 1;
}

/* === Product Specs Toggle Panel === */
.product-specs-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, margin 0.3s ease, padding 0.3s ease;
    background: #f9f9fa;
    border-radius: 6px;
    margin-top: 0;
}

.product-specs-panel.open {
    max-height: 800px;
    margin-top: 16px;
}

.specs-inner {
    padding: 20px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.6;
}

.specs-table .specs-label {
    color: #666;
    font-weight: 500;
    width: 35%;
    white-space: nowrap;
}

.specs-table .specs-value {
    color: #1a1a1a;
    font-weight: 600;
}

.specs-table .specs-value.highlight {
    color: var(--accent);
}

.specs-features {
    border-top: 1px solid #e8e8e8;
    padding-top: 14px;
}

.specs-features h5 {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.specs-features ul {
    margin: 0;
    padding: 0 0 0 16px;
    columns: 2;
    column-gap: 24px;
}

.specs-features ul li {
    font-size: 12.5px;
    color: #555;
    line-height: 1.7;
    padding: 2px 0;
    break-inside: avoid;
}

@media (max-width: 600px) {
    .specs-features ul {
        columns: 1;
    }
}

/* === Latest News Section === */
.latest-news-section {
    background: #f7f7f7;
    padding: 60px 20px;
}

.news-section-inner {
    max-width: 1580px;
    margin: 0 auto;
}

/* === News Section === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.news-card .card-img {
    height: 180px;
    overflow: hidden;
}

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

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

.news-card .card-body {
    padding: 18px;
}

.news-card .card-body .date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card .card-body h3 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-body p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.news-grid.news-page .news-card .card-img {
    height: 220px;
}

@media (max-width: 768px) {
    .news-grid.news-page {
        grid-template-columns: 1fr;
    }
}

/* === Video Centre (matching sagmoto.com — black bg, 4 cards) === */
.video-centre {
    background: #000;
    padding: 60px 20px;
}

.video-inner {
    max-width: 1580px;
    margin: 0 auto;
}

.video-inner h2 {
    color: #fff;
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.video-card .video-thumb {
    height: 220px;
    overflow: hidden;
}

.video-card .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
    opacity: 1;
}

.video-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-10px);
    width: 60px;
    height: 60px;
    background: rgba(196, 18, 48, 0.9);
    border-radius: 50%;
    transition: all 0.3s;
}

.video-card .play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-card:hover .play-icon {
    background: var(--accent);
    transform: translate(-50%, -50%) translateY(-10px) scale(1.1);
}

.video-card .video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-card .video-thumb {
        height: 180px;
    }
}

/* === Contact Section (matching sagmoto.com) === */
.contact-section {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-inner h2 {
    font-size: 30px;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-inner p {
    font-size: 15px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.btn-submit {
    display: inline-block;
    padding: 12px 48px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #1a3a8a;
}

/* === Site Footer (matching sagmoto.com) === */
.site-footer {
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    gap: 60px;
    padding: 50px 0 30px;
    border-bottom: 1px solid #e5e5e5;
}

.footer-col {
    flex: 1;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-contact p {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.7;
}

.hotline-label {
    color: #999 !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
}

.hotline-number {
    font-size: 22px !important;
    font-weight: 700;
    color: var(--primary) !important;
    margin-bottom: 12px !important;
}

.footer-addr,
.footer-fax,
.footer-email {
    font-size: 13px !important;
}

.footer-bottom {
    background: #f0f0f0;
    padding: 16px 0;
    text-align: center;
}

.footer-copyright {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.footer-copyright p {
    display: inline;
}

/* Hide old footer */
.e_container-30 {
    display: none;
}

/* === Sub-page Header === */
.subpage-header {
    background: var(--primary);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.subpage-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subpage-header .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.subpage-header .breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.subpage-header .breadcrumb a:hover {
    color: #fff;
}

/* === Products Page === */
.products-filter {
    padding: 40px 0 20px;
}

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

.filter-tab {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
    font-family: var(--font-family);
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

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

/* === About Page === */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

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

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item .timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--accent);
    z-index: 2;
}

.timeline-item .timeline-content {
    width: 45%;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.timeline-item .timeline-content .year {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-item .timeline-content h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-item .timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
}

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

.contact-info h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

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

.contact-info .info-item .info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.contact-info .info-item h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-info .info-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

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

.contact-form label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-family);
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form .btn-submit:hover {
    background: var(--accent-hover);
}

/* === News Listing Page === */
.news-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* === Responsive Design === */

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
    .cat-card-large {
        height: 280px;
    }
    .cat-card-small {
        height: 280px;
    }
    .cat-row.bottom-row .cat-card-small {
        height: 240px;
    }
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pg-img {
        height: 180px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        gap: 30px;
    }

    .main-nav > li > a {
        padding: 12px 12px;
        font-size: 14px;
    }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
    .e_container-1 .container {
        flex-direction: column;
        gap: 8px;
    }

    .top-contact {
        gap: 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.mobile-open {
        transform: translateX(0);
    }

    .main-nav > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav > li > a {
        padding: 14px 0;
        font-size: 16px;
    }

    .main-nav > li > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-top: none;
        padding-left: 16px;
        background: var(--bg-light);
    }

    .main-nav > li.mobile-sub-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-slider .swiper-slide,
    .hero-slider .swiper-wrapper {
        height: 100vh;
    }

    .hero-slider .slide-content .p_info h2 {
        font-size: 28px;
    }

    .hero-slider .slide-content .p_info .p_summary {
        font-size: 14px;
    }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
        display: none;
    }

    .hero-slider .slide-content {
        padding: 0 30px;
    }

    .s_title h2 {
        font-size: 26px;
    }

    section {
        padding: 50px 0;
    }

    /* Category Showcase responsive */
    .cat-row {
        flex-direction: column;
    }
    .cat-card-large {
        width: 100%;
        height: 250px;
    }
    .cat-card-right {
        flex: none;
    }
    .cat-card-small {
        width: 50%;
        height: 250px;
    }
    .cat-row.bottom-row {
        flex-direction: column;
    }
    .cat-row.bottom-row .cat-card-small {
        width: 100%;
        height: 220px;
    }

    /* Recommended Model responsive */
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-list {
        flex-wrap: wrap;
    }
    .tab-item {
        padding: 10px 16px;
        font-size: 14px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer responsive */
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    .footer-copyright {
        flex-direction: column;
        gap: 4px;
    }

    .stats-row {
        gap: 20px;
    }

    .stat-item .stat-number {
        font-size: 28px;
    }

    .tab-item {
        padding: 8px 12px;
        font-size: 12px;
    }

    .product-grid-4 {
        grid-template-columns: 1fr;
    }

    /* Sub-pages */
    .products-grid-detailed {
        grid-template-columns: 1fr;
    }

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

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

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

    .timeline-item {
        flex-direction: column !important;
        padding-left: 40px;
    }

    .timeline-item .timeline-dot {
        left: 20px;
    }

    .timeline-item .timeline-content {
        width: 100%;
    }

    .filter-tabs {
        gap: 6px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Small Mobile (<=480px) */
@media (max-width: 480px) {
    .hero-slider .swiper-slide,
    .hero-slider .swiper-wrapper {
        height: 100vh;
    }

    .hero-slider .slide-content .p_info h2 {
        font-size: 22px;
    }

    .hero-slider .slide-content {
        padding: 0 20px;
    }

    .scroll-down {
        display: none;
    }

    .stats-row {
        flex-direction: column;
        align-items: center;
    }

    .e_container-2 .container {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .logo-area img {
        height: 36px;
    }
}

/* ================================================================
   PAGE BANNER (breadcrumb + title)
   ================================================================ */
.page-banner {
    padding: 100px 0 50px;
    text-align: center;
    color: #fff;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

/* ================================================================
   PRODUCT SHOWCASE (homepage product sections)
   ================================================================ */
.product-showcase {
    padding: 80px 0;
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.showcase-card.reverse {
    direction: rtl;
}

.showcase-card.reverse .showcase-body {
    direction: ltr;
}

.showcase-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.showcase-body h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.showcase-body p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.showcase-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.showcase-link:hover {
    background: var(--accent-hover);
}

@media (max-width: 768px) {
    .showcase-card, .showcase-card.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .showcase-card.reverse {
        direction: ltr;
    }
    .page-banner h1 {
        font-size: 28px;
    }
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-intro {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
}

.about-intro p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--accent);
}

.about-feature h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cert-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.cert-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.cert-item h3 {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 8px;
}

.cert-item p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-col h2,
.contact-form-col h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 25px;
}

.contact-info-block {
    margin-bottom: 25px;
}

.contact-info-block h3 {
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-block p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-family);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(196,18,48,0.1);
}

.contact-form textarea {
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

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

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   PRODUCTS PAGE
   ================================================================ */
.category-title {
    margin-bottom: 30px;
}

.category-title p {
    color: var(--text-light);
    margin-top: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-card-img {
    display: block;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

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

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

.product-card-body {
    padding: 16px;
}

.product-card-body h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.product-card-body h3 a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.product-card-body h3 a:hover {
    color: var(--accent);
}

.product-card-specs {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 16px;
}

/* product card featured (search result) */
.product-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 400px 1fr;
}

.product-card.featured .product-card-img {
    height: 300px;
}

.product-card.featured .product-card-body {
    padding: 24px;
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .product-card.featured {
        grid-template-columns: 1fr;
    }
    .product-card.featured .product-card-img {
        height: 220px;
    }
}

/* ================================================================
   MODEL VARIANTS GRID
   ================================================================ */
.variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.variant-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.variant-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #f8f8f8;
}

.variant-card h4 {
    padding: 14px 10px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .variants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .variant-card img {
        height: 120px;
    }
    .variant-card h4 {
        font-size: 13px;
        padding: 10px 8px;
    }
}

/* ================================================================
   FOOTER SUB TEXT
   ================================================================ */
.footer-col .sub {
    font-size: 11px;
    color: var(--text-light);
    display: block;
    font-weight: 400;
}
