/* ===== 山致医疗 — 全局样式 ===== */
:root {
    --primary: #0e7a6d;
    --primary-dark: #0a5c52;
    --primary-light: #e6f4f1;
    --accent: #1a9e8e;
    --dark: #102a2e;
    --text: #2d3a3e;
    --text-light: #5f7378;
    --bg: #ffffff;
    --bg-light: #f6faf9;
    --border: #e2ecea;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(14, 122, 109, 0.08);
    --shadow-lg: 0 16px 48px rgba(14, 122, 109, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.btn-light:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 22px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

#header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 18px;
}

.logo-text {
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 36px;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #0d5f56 0%, #0e7a6d 45%, #1a9e8e 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, #fff 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, #fff 2px, transparent 2px),
        radial-gradient(circle at 30% 80%, #fff 2px, transparent 2px);
    background-size: 220px 220px;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    color: #fff;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: #7ef0e0;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-num {
    color: #fff;
    font-size: 40px;
    font-weight: 900;
}

.stat-num span {
    color: #7ef0e0;
    font-size: 26px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-top: 4px;
}

/* ===== Sections ===== */
.section {
    padding: 96px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== Category Grid ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all 0.3s;
    display: block;
    color: var(--text);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: var(--text);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.category-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Process ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.process-num {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(14, 122, 109, 0.3);
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d5f56, #1a9e8e);
}

.cta-box {
    text-align: center;
    color: #fff;
    max-width: 640px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 14px;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ===== Page Banner ===== */
.page-banner {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0d5f56, #1a9e8e);
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-banner p {
    opacity: 0.85;
    font-size: 17px;
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-emoji {
    font-size: 56px;
}

.product-body {
    padding: 24px;
}

.product-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-body p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 14px;
    min-height: 60px;
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-text .section-tag {
    margin-bottom: 14px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.highlight-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
}

.highlight-num {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
}

.highlight-label {
    font-size: 12px;
    color: var(--text-light);
}

.about-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    padding: 44px 36px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.about-card-inner h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #7ef0e0;
}

.about-card-inner p {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 26px;
}

/* ===== Milestones ===== */
.milestone-list {
    max-width: 760px;
    margin: 0 auto;
}

.milestone-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.milestone-item:last-child {
    border-bottom: none;
}

.milestone-year {
    font-size: 30px;
    font-weight: 900;
    color: var(--primary);
}

.milestone-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.milestone-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Certifications ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.cert-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s;
}

.cert-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.cert-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.cert-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.cert-card p {
    color: var(--text-light);
    font-size: 13px;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form-wrap {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 122, 109, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.form-tip {
    margin-top: 14px;
    font-size: 14px;
    color: var(--primary);
    min-height: 20px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer .logo-text {
    color: #fff;
}

.footer-desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-col ul a:hover {
    color: #7ef0e0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s;
        box-shadow: var(--shadow);
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--bg-light);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 130px 0 70px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .category-grid,
    .feature-grid,
    .product-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 120px 0 44px;
    }

    .page-banner h1 {
        font-size: 32px;
    }
}
