:root {
    --color-primary: #E53935;
    --color-primary-dark: #B71C1C;
    --color-primary-light: #FF6F61;
    --color-secondary: #FFC107;
    --color-dark: #121214;
    --color-gray-900: #1E1E22;
    --color-gray-800: #2A2A30;
    --color-gray-600: #55565E;
    --color-gray-300: #D7D7DB;
    --color-gray-200: #ECECF0;
    --color-gray-100: #FAFAFC;
    --color-text: #1C1D21;
    --color-muted: #6C6D75;
    --gradient-primary: linear-gradient(135deg, #E53935 0%, #FF6F61 55%, #FFC107 100%);
    --gradient-dark: linear-gradient(135deg, #14151A 0%, #21232B 100%);

    --font-main: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-full: 999px;

    --shadow-soft: 0 20px 45px rgba(229, 57, 53, 0.18);
    --shadow-card: 0 15px 35px rgba(8, 9, 12, 0.08);
    --shadow-strong: 0 30px 60px rgba(8, 9, 12, 0.18);

    --transition-base: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-gray-100);
    color: var(--color-text);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

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

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

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.main-content {
    margin-top: 92px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}

.btn-ghost {
    border: 1px solid var(--color-gray-300);
    color: var(--color-text);
    background: #fff;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-heading .eyebrow {
    color: var(--color-primary);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: var(--space-xs) 0 var(--space-sm);
}

.section-heading p {
    color: var(--color-muted);
}

.angled-bg {
    background: var(--gradient-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.angled-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.1));
    transform: skewX(-10deg);
    pointer-events: none;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.glow-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(229, 57, 53, 0.18);
    opacity: 0;
    transition: var(--transition-base);
}

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

.glow-card:hover::after {
    opacity: 1;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}

.stat-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.stat-card strong {
    font-size: 2.4rem;
    color: var(--color-primary);
    display: block;
}

.stat-card span {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-frame::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: inherit;
    pointer-events: none;
}

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

.list-check {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.list-check li {
    position: relative;
    padding-left: 1.75rem;
}

.list-check li::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-secondary);
    left: 0;
    top: 0.45rem;
    box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.18);
}

.breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0.8rem 0;
}

.breadcrumb nav {
    display: flex;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

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

.page-hero {
    padding: var(--space-xl) 0 var(--space-lg);
    background: var(--gradient-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(229, 57, 53, 0.6), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.page-hero .hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
}

.hero-dynamic {
    padding: var(--space-xl) 0;
    background: var(--gradient-primary);
    color: #fff;
}

.hero-dynamic .hero-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    align-items: center;
}

.hero-tagline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    margin: var(--space-sm) 0 var(--space-md);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-sm);
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.16);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.hero-stats strong {
    font-size: 1.8rem;
    display: block;
}

.hero-media {
    position: relative;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-lg);
    transform: skewY(-6deg);
}

.hero-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.news-card {
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 100%;
}

.news-card span {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

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

.news-card a {
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 600;
}

.store-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.store-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-datas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.store-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-card);
}

.cta-panel {
    background: #fff;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    text-align: center;
}

.cta-panel h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    border-radius: var(--radius-md);
    height: 220px;
    object-fit: cover;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--color-gray-300);
    display: grid;
    gap: var(--space-md);
}

.timeline-item h4 {
    color: var(--color-primary);
}

.timeline-item span {
    font-weight: 700;
    color: var(--color-muted);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.chip {
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-gray-300);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: var(--transition-base);
}

.chip.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.media-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    align-items: center;
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.metric-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-card);
}

.metric-card strong {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.metric-card span {
    color: var(--color-muted);
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.logo-strip span {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-gray-200);
    background: #fff;
}

.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-gray-200);
    text-align: left;
}

.table th {
    color: var(--color-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--color-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}

.contact-card {
    background: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.input-field input,
.input-field textarea,
.input-field select {
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.news-detail-hero {
    background: #fff;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.news-detail-hero h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    margin-bottom: var(--space-sm);
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.article-body {
    margin-top: var(--space-lg);
    display: grid;
    gap: 1.3rem;
}

.case-hero {
    background: #fff;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.footer {
    background: #0C0C0F;
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.footer h4, .footer h3 {
    color: #fff;
    margin-bottom: var(--space-sm);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer ul li + li {
    margin-top: 0.4rem;
}

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(12, 12, 15, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    backdrop-filter: blur(16px);
}

.navbar-container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
}

.logo-mark {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: grid;
    place-items: center;
    font-weight: 700;
    background: rgba(229, 57, 53, 0.3);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.logo-text strong {
    font-size: 1.1rem;
    display: block;
}

.logo-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition-base);
}

.dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--color-text);
}

.dropdown-menu a:hover {
    background: var(--color-gray-100);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    border-radius: var(--radius-full);
    background: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(12, 12, 15, 0.98);
        flex-direction: column;
        width: min(320px, 90vw);
        padding: 0;
        border-radius: 0 0 16px 16px;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
    }

    .nav-menu.active {
        max-height: 600px;
        padding: 1rem;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border-radius: var(--radius-md);
    }

    .dropdown.active .dropdown-menu {
        max-height: 400px;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        color: #fff;
    }

    .dropdown:hover .dropdown-menu {
        pointer-events: auto;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2.2rem;
    }

    .hero-container {
        text-align: center;
    }

    .hero-media::after {
        display: none;
    }

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

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

    .page-hero .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .news-detail-meta {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }
}
