
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #FFFFFF;
    color: #1F2329;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
    padding-top: 86px;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201,0,0,0.08);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

.logo,
.drawer-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

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

.drawer-logo img {
    max-height: 44px;
    width: auto;
}

.footer-logo img {
    max-height: 48px;
    width: auto;
}

.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.nav-core a {
    color: #1F2329;
    background: #F6F7F9;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-core a:hover,
.nav-core a.active {
    color: #C90000;
    background: rgba(201,0,0,0.08);
    transform: translateY(-1px);
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 11px 22px;
    background: linear-gradient(180deg, #F12B2B 0%, #C90000 55%, #A80000 100%);
    color: #FFFFFF;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(201,0,0,0.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(201,0,0,0.22);
}

.header-register {
    flex: 0 0 auto;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201,0,0,0.12);
    border-radius: 14px;
    background: #FFFFFF;
    padding: 9px;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #C90000;
    border-radius: 2px;
}

.drawer-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(17,21,28,0.48);
}

.drawer-mask.show {
    display: block;
}

.mobile-drawer {
    position: fixed;
    z-index: 1400;
    top: 0;
    left: 0;
    width: 84vw;
    max-width: 320px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: 18px 0 34px rgba(18,28,45,0.18);
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto;
}

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

.drawer-head {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 70px;
    padding: 14px 18px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(201,0,0,0.08);
}

.drawer-close {
    border: 0;
    background: rgba(201,0,0,0.08);
    color: #C90000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
}

.drawer-nav {
    display: grid;
    gap: 8px;
    padding: 16px 16px 28px;
}

.drawer-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #1F2329;
    background: #F6F7F9;
    font-weight: 700;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    color: #C90000;
    background: rgba(201,0,0,0.08);
}

.site-layout {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 174px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.side-category {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(201,0,0,0.10);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18,28,45,0.08);
    padding: 14px;
}

.side-category a {
    color: #1F2329;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
}

.side-category a:hover,
.side-category a.active {
    color: #C90000;
    background: rgba(201,0,0,0.08);
}

.page-content {
    min-width: 0;
}

.banner-slider {
    width: 100%;
    margin: 24px 0 34px;
    border-radius: 22px;
    background: #F7F8FA;
    box-shadow: 0 12px 30px rgba(18,28,45,0.08);
    overflow: hidden;
    position: relative;
    height: clamp(260px, 30vw, 360px);
}

.banner-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.banner-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #F7F8FA;
}

.slider-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: #C90000;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(18,28,45,0.12);
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(31,35,41,0.28);
    cursor: pointer;
}

.slider-dots button.active {
    width: 24px;
    border-radius: 999px;
    background: #C90000;
}

.banner-caption,
.banner-text,
.slide-title,
.slide-desc,
.slide-content,
.slide-card,
.banner-card {
    display: none !important;
}

.section {
    margin: 0 0 34px;
}

.hero-intro,
.page-hero,
.notice-band,
.summary-red,
.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.product-card,
.step-card,
.contact-panel {
    background: #FFFFFF;
    border: 1px solid rgba(201,0,0,0.10);
    box-shadow: 0 12px 30px rgba(18,28,45,0.08);
    border-radius: 18px;
}

.hero-intro,
.page-hero {
    padding: 34px;
}

.page-hero {
    margin: 24px 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 28px;
    align-items: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
}

.page-hero p {
    margin-bottom: 0;
}

.eyebrow,
.tag,
.number-mark {
    color: #C90000;
    font-weight: 800;
}

h1,
h2,
h3,
.section-title {
    color: #C90000;
    line-height: 1.28;
}

h1 {
    font-size: clamp(28px, 4vw, 48px);
    margin: 8px 0 16px;
}

h2,
.section-title {
    font-size: clamp(24px, 3vw, 34px);
    margin: 0 0 16px;
}

h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

p {
    margin: 0 0 14px;
    color: #5D6673;
}

.lead {
    color: #1F2329;
    font-size: 17px;
}

.muted {
    color: #8A93A0;
    font-size: 14px;
}

.grid-2,
.grid-3,
.grid-4,
.quick-grid,
.product-grid,
.review-grid,
.faq-grid,
.step-grid {
    display: grid;
    gap: 18px;
}

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

.grid-3,
.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.quick-grid,
.review-grid,
.step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.zone-card,
.info-card,
.review-card,
.faq-item,
.product-card,
.step-card,
.contact-panel {
    padding: 20px;
}

.quick-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-red {
    padding: 24px;
    background: linear-gradient(135deg, #C90000 0%, #A80000 100%);
    color: #FFFFFF;
}

.summary-red h2,
.summary-red h3,
.summary-red p,
.summary-red .muted {
    color: #FFFFFF;
}

.summary-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.summary-item {
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
}

.summary-item strong {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.media-card,
.feature-card {
    display: grid;
    gap: 16px;
}

.zone-card img,
.info-card img,
.content-img,
.page-hero img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #F7F8FA;
    border-radius: 16px;
}

.product-card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: #F7F8FA;
    border-radius: 14px;
    margin-bottom: 14px;
}

.horizontal-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.notice-band {
    padding: 24px;
    background: #F6F7F9;
}

.notice-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.notice-list li {
    position: relative;
    padding-left: 24px;
    color: #5D6673;
}

.notice-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C90000;
}

.review-card {
    min-height: 164px;
}

.review-card strong {
    display: block;
    color: #1F2329;
    margin-bottom: 8px;
}

.faq-item h3 {
    color: #1F2329;
}

.link-more {
    display: inline-flex;
    margin-top: 6px;
    color: #C90000;
    font-weight: 800;
}

.page-image-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.alert-box {
    border-left: 4px solid #C90000;
    background: #F6F7F9;
    border-radius: 14px;
    padding: 18px 20px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    padding: 14px 16px;
    border-radius: 14px;
    background: #F6F7F9;
    color: #5D6673;
}

.site-footer {
    margin-top: 44px;
    background: #11151C;
    color: #E7ECF3;
}

.footer-inner {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 38px 0 34px;
    display: grid;
    grid-template-columns: 1.05fr 1.6fr;
    gap: 34px;
}

.footer-brand p,
.site-footer p,
.site-footer a {
    color: #E7ECF3;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.footer-links h3 {
    color: #FFFFFF;
}

.footer-links a {
    display: block;
    margin: 8px 0;
}

.footer-btn {
    margin-top: 8px;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1120px) {
    .site-layout {
        grid-template-columns: 1fr;
        width: min(980px, calc(100% - 32px));
    }

    .side-category {
        display: none;
    }
}

@media (max-width: 900px) {
    body {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .header-inner {
        min-height: 66px;
        padding: 0 14px;
        gap: 10px;
    }

    .mobile-menu-btn {
        display: block;
        flex: 0 0 auto;
    }

    .nav-core {
        display: none;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        max-height: 42px;
    }

    .header-register {
        padding: 9px 16px;
        min-width: 64px;
        margin-left: auto;
    }

    .site-layout {
        width: min(100% - 24px, 720px);
    }

    .banner-slider {
        margin: 16px 0 24px;
        border-radius: 16px;
        height: clamp(150px, 45vw, 210px);
        min-height: 150px;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .slider-arrow.prev {
        left: 8px;
    }

    .slider-arrow.next {
        right: 8px;
    }

    .hero-intro,
    .page-hero {
        padding: 22px;
    }

    .page-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 16px 0 22px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .quick-grid,
    .product-grid,
    .review-grid,
    .faq-grid,
    .step-grid,
    .summary-items,
    .combo-grid,
    .page-image-row {
        grid-template-columns: 1fr;
    }

    .horizontal-cards {
        grid-template-columns: repeat(4, minmax(210px, 1fr));
    }

    .card,
    .zone-card,
    .info-card,
    .review-card,
    .faq-item,
    .product-card,
    .step-card,
    .contact-panel {
        padding: 18px;
    }

    .product-card img {
        height: 150px;
    }

    .zone-card img,
    .info-card img,
    .content-img,
    .page-hero img {
        max-height: 210px;
    }

    .footer-inner,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-bottom: 58px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #FFFFFF;
        border-top: 1px solid #E5E8EF;
        box-shadow: 0 -8px 20px rgba(18,28,45,0.08);
    }

    .mobile-bottom-nav a {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #5D6673;
        font-weight: 800;
        font-size: 14px;
    }

    .mobile-bottom-nav a.active {
        color: #C90000;
    }
}

@media (max-width: 420px) {
    .header-register {
        padding: 8px 13px;
        font-size: 14px;
    }

    .logo img {
        max-height: 38px;
    }

    h1 {
        font-size: 28px;
    }

    .section {
        margin-bottom: 26px;
    }
}
