/* ========== 沣昌顺 · 样式（基于原设计方案） ========== */
:root {
    --color-primary: #C81010;
    --color-primary-dark: #A00D0D;
    --color-primary-light: #D81818;
    --color-red: #9B1B1B;
    --color-gold: #C9A96E;
    --color-gold-light: #D4B896;
    --color-bg: #F7F4EF;
    --color-bg-warm: #F0EBE3;
    --color-bg-card: #FFFFFF;
    --color-text: #2C1810;
    --color-text-secondary: #6B5E54;
    --color-text-muted: #9A9088;
    --color-border: #EDE8E0;
    --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.4;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 64px 0; position: relative; }

.section-title {
    font-size: 2.25rem;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    font-weight: 500;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 16, 0.25);
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(247, 244, 239, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--color-text);
    font-weight: 400;
    font-size: 0.875rem;
    display: block;
    letter-spacing: 0.15em;
    margin-top: -4px;
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9375rem;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-red);
    transition: var(--transition);
}

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

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

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--color-bg);
    color: var(--color-red);
}

/* Page Content */
.page-content { padding-top: 72px; min-height: 100vh; }

/* Hero */
.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg) 0%, #FDFBF7 50%, var(--color-bg-warm) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 16, 16, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 0.875rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
    color: var(--color-text);
}

.hero h1 em {
    font-style: normal;
    color: var(--color-red);
}

.hero-desc {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: 20px;
    line-height: 1.9;
}

.hero-slogan {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-red);
    margin-bottom: 40px;
    letter-spacing: 0.08em;
}

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    max-height: 480px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(200, 16, 16, 0.15));
    transform: rotate(-3deg);
    transition: transform 0.6s ease;
}

.hero-visual:hover img {
    transform: rotate(0deg) scale(1.02);
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(200, 16, 16, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-left {
    text-align: left;
    margin-bottom: 64px;
}

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

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

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

/* Cards */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    transform: translateY(-4px);
    border-color: #F0D5D5;
}

.card-icon {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 20px;
    opacity: 0.8;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Feature Block */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-image {
    background: transparent;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-border);
}

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

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-border);
    pointer-events: none;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--color-text);
}

.feature-content p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 2;
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 12px;
}

.process-step .step-num {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--color-gold);
    margin-bottom: 16px;
    display: block;
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.process-step p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Expert Card */
.expert-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 48px 40px;
    text-align: center;
    transition: var(--transition);
    border-radius: 4px;
}

.expert-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: #F0D5D5;
}

.expert-avatar {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-red);
    border: 2px solid var(--color-border);
}

.expert-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.expert-title {
    font-size: 0.875rem;
    color: var(--color-red);
    margin-bottom: 20px;
    font-weight: 500;
}

.expert-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    text-align: left;
}

/* Product Card */
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    border-radius: 4px;
}

.product-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    transform: translateY(-4px);
    border-color: #F0D5D5;
}

.product-image {
    min-height: 280px;
    padding: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-height: 260px;
    width: auto;
    object-fit: contain;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-bottom: 1px solid var(--color-border);
    pointer-events: none;
}

.product-info {
    padding: 32px;
}

.product-tag {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.product-info p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Quote Block */
.quote-block {
    background: transparent;
    padding: 80px 48px;
    text-align: center;
    margin: 80px 0;
    position: relative;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.quote-block::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--color-gold);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 40px;
    line-height: 1;
}

.quote-block p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.quote-block .quote-source {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
}

/* Cooperation Section */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.cooperation-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px 32px;
    transition: var(--transition);
    border-radius: 4px;
}

.cooperation-item:hover {
    border-color: var(--color-red);
    transform: translateY(-4px);
}

.cooperation-item h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--color-red);
}

.cooperation-item p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.contact-card {
    background: #A00D0D;
    color: white;
    padding: 64px 48px;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.contact-card .phone {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-top: 16px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: #2C1810;
    color: rgba(255,255,255,0.6);
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 64px;
    text-align: center;
    flex-wrap: wrap;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: 320px;
    margin: 0 auto;
    color: rgba(255,255,255,0.55);
}

.footer-col {
    text-align: center;
}

.footer-col h4 {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

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

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

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--color-gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p {
    margin-bottom: 6px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 24px 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 64px;
}

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

/* Page Hero */
.page-hero {
    padding: 110px 0 40px;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-bg-warm), var(--color-bg));
}

.page-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 24px;
}

.page-hero p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Detail Content */
.detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.detail-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 24px;
    color: var(--color-text);
}

.detail-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    color: var(--color-red);
}

.detail-content p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    line-height: 2;
}

.detail-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.detail-content li {
    margin-bottom: 12px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .feature-block { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-flow { flex-wrap: wrap; gap: 32px; }
    .process-flow::before { display: none; }
    .process-step { flex: 0 0 calc(50% - 16px); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
    .hero-visual img { max-height: 320px; }
    .hero-desc { margin: 0 auto 20px; }
    .hero-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-title { font-size: 1.75rem; }
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .feature-block { grid-template-columns: 1fr; margin-bottom: 64px; }
    .cooperation-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .nav-menu { display: none; }
    .page-hero h1 { font-size: 2rem; }
    .quote-block { padding: 48px 24px; }
    .quote-block p { font-size: 1.125rem; }
    .process-step { flex: 0 0 100%; }
    .contact-card .phone { font-size: 1.5rem; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.bg-warm { background-color: var(--color-bg-warm); }
.border-top { border-top: 1px solid var(--color-border); }

/* ---------- 移动端导航（汉堡菜单） ---------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--color-red);
    cursor: pointer;
    padding: 6px 10px;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }
    .nav-menu.open { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-menu > li > a { display: block; padding: 12px 24px; }
    .nav-menu > li > a::after { display: none; }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        margin: 0;
        padding: 0 0 4px 40px;
        min-width: 0;
    }
    .dropdown-menu a { padding: 8px 0; font-size: 0.8125rem; color: var(--color-text-muted); }
}
