/* ===== Variables ===== */
:root {
    /* 痘清清品牌色：草本青绿（取自消乐康包装与门店视觉） */
    --primary: #10836A;
    --primary-dark: #0A5F4D;
    --primary-light: #3FA98C;
    --primary-bg: #EDF7F3;
    --bg: #FFFFFF;
    --surface: #FAFBFA;
    --text: #1C1C1E;
    --text-secondary: #4A4A4C;
    --text-muted: #6E6E73;
    --border: #E5E8E7;
    --divider: rgba(28, 28, 30, 0.08);
    --shadow-sm: 0 1px 3px rgba(28, 28, 30, 0.04);
    --shadow: 0 4px 20px rgba(28, 28, 30, 0.06);
    --shadow-lg: 0 16px 40px rgba(28, 28, 30, 0.10);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    --font-heading: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', 'Georgia', serif;
    --max-width: 1200px;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 16px;
    /* 让出固定导航的高度，避免首屏内容被导航条遮住 */
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--divider);
    transition: var(--transition);
}
header.scrolled {
    box-shadow: 0 2px 12px rgba(28, 28, 30, 0.05);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /* 导航栏比正文容器略宽，避免加入电话等内容后被挤压变形 */
    max-width: 1280px;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    flex-shrink: 0;
}
.logo img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}
/* 品牌名 + 手机号纵向排列：竖线是整块的左边界，两者左边缘天然对齐，
   不依赖图标宽度，窄屏换图标尺寸也不会错位 */
.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    padding-left: 14px;
    border-left: 1px solid var(--border);
}
.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
    font-family: var(--font-serif);
    line-height: 1.3;
}
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 2px;
}
.nav-links a {
    padding: 8px 10px;
    flex-shrink: 0;
    font-size: 0.97rem;
    font-weight: 600;
    font-family: var(--font-serif);
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    border-radius: 30px;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-bg);
}
.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 14px;
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--surface);
    border-radius: 30px;
    padding: 3px;
    border: 1px solid var(--border);
}
.lang-toggle button {
    background: transparent;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}
.lang-toggle button.active {
    background: var(--primary);
    color: #fff;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}
.nav-phone {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 7px;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary-dark);
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--primary-bg);
    white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; }
.logo-phone { display: none; }
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1500;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--primary-light);
    background: var(--primary-bg);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Hero (carousel) ===== */
.hero {
    position: relative;
    /* 减去固定导航高度，使 Hero 与导航合起来刚好一屏，且图片顶部不被遮挡 */
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20,33,30,0.12) 0%, rgba(20,33,30,0.35) 100%);
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.hero-arrow:hover { background: var(--primary); color: #fff; }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots .dot.active { background: #fff; width: 26px; border-radius: 5px; }

/* ===== Sections ===== */
section {
    padding: 110px 0;
    /* 锚点跳转时留出固定导航的高度，避免标题被导航遮住 */
    scroll-margin-top: 80px;
}
.section-label {
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary-light);
    background: var(--primary-bg);
    padding: 9px 22px;
    border-radius: 50px;
    font-family: var(--font-serif);
}
.brand-section .section-label { background: var(--bg); }
/* 放在 .container 直接子级的 label：以「整个模块」为参照居中（关于永维 / 品牌应用） */
.section-label-module { margin-bottom: 46px; }
.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.25;
    letter-spacing: -0.2px;
}
.section-title .highlight { color: var(--primary); }
.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 56px;
    line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== About ===== */
.about-section { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text);
}
.about-text p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.85;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}
.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 28px;
}
.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 1.5px solid var(--primary-light);
}
.about-features li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}
.about-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    aspect-ratio: 16 / 9;
}
.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Brand Application ===== */
.brand-section {
    background: var(--primary-bg);
    padding: 100px 0;
}
.brand-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
}
.brand-text p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
}
.brand-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
}
.brand-tags li {
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    background: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 7px 16px;
}
.brand-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
    border: 1px solid var(--border);
    justify-self: end;
}
.brand-image img {
    display: block;
    height: 680px;
    width: auto;
    max-width: 100%;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--primary-bg);
}
.card-body { padding: 26px 28px 30px; }
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.card .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Products ===== */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}
.product-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}
.product-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.product-img {
    aspect-ratio: 4 / 3;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info { padding: 22px 24px 26px; }
.product-info h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text);
}
.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Process ===== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 20px;
}
.process-card {
    border-radius: var(--radius-lg);
    padding: 42px;
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}
.process-card.featured {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.process-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 18px 0 12px;
}
.process-card p { color: var(--text-secondary); line-height: 1.75; }
.process-card.featured p { color: rgba(255,255,255,0.85); }
.process-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.process-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.process-list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.process-card.featured .process-list li { color: rgba(255,255,255,0.9); }
.process-card.featured .process-list li svg { color: #fff; }

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.step {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}
.step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.step h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text);
}
.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-info {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: start;
    gap: 28px 56px;
}
.contact-info .info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
}
@media (max-width: 1024px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
.contact-info .info-item .icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    flex-shrink: 0;
}
.contact-info .info-item .icon svg { width: 22px; height: 22px; }
.contact-info .info-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 4px;
    color: var(--text);
}
.contact-info .info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text);
    margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(44, 90, 80, 0.08);
}
.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* ===== Footer ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 72px 0 28px;
}
footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
footer p,
footer a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
}
footer a:hover { color: #fff; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo img { height: 38px; width: auto; }
.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.8px;
}
footer .socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: var(--transition);
}
footer .socials a:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}
footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

footer .beian {
    margin-top: 12px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

footer .beian a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .beian a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section-title { font-size: 2rem; }
    .about-grid,
    .process-grid,
    .contact-grid,
    .brand-wrapper { grid-template-columns: 1fr; }
    .about-video { max-width: 720px; margin: 0 auto; }
    .about-text { order: 1; }
    .about-video { order: 2; }
    .brand-text { order: 1; }
    .brand-image { order: 2; justify-self: center; }
    .brand-image img { height: 600px; }
    footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* 导航在 1260px 以下收进汉堡菜单，避免一行放不下导致挤压 */
@media (max-width: 1260px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 12px 16px;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
    .menu-toggle { display: block; }
}
@media (max-width: 768px) {
    /* 手机号在品牌名正下方，同样不换行（换行会让 .logo 变宽把汉堡按钮挤出屏幕） */
    .logo { flex-wrap: nowrap; }
    .section-title { font-size: 1.8rem; }
    .about-text h2 { font-size: 1.7rem; }
    .brand-image img { height: 460px; }
    section { padding: 80px 0; }
    footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav-phone { display: none; }
    .logo-phone {
        display: block;
        font-family: var(--font-serif);
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--primary);
        letter-spacing: 0.5px;
        line-height: 1.2;
        margin-top: 0;
    }
}
@media (max-width: 480px) {
    .section-title { font-size: 1.55rem; }
    .brand-image img { height: 360px; }
    .container { padding: 0 18px; }
    .btn-primary, .btn-outline { width: 100%; }
    .process-card { padding: 28px; }
}
/* ===== Formal serif headings ===== */
.section-title,
.about-text h2,
.capability-card h3,
.custom-steps h4,
.footer-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* ===== Process Wall (interactive, clickable) ===== */
.process-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 16px;
}
.process-card-btn {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 240px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--bg);
    text-align: left;
    font: inherit;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: block;
    appearance: none;
}
.process-card-btn img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.process-card-btn:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.process-card-btn:hover img { transform: scale(1.06); }
.process-card-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28,45,40,0.04) 0%, rgba(28,45,40,0.30) 45%, rgba(20,33,30,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.process-no {
    position: absolute;
    top: 18px; left: 20px;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
}
.process-card-mask h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.process-card-mask p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
}
.process-view {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 6px 14px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.process-card-btn:hover .process-view { background: var(--primary); border-color: var(--primary); }

/* ===== Capability row ===== */
.capability-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 36px;
    align-items: stretch;
}
.capability-card {
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.capability-card:hover { box-shadow: var(--shadow); }
.capability-card.featured { background: var(--primary); color: #fff; border-color: var(--primary); }
.capability-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem; font-weight: 700; margin: 14px 0 10px;
}
.capability-card p { color: var(--text-secondary); line-height: 1.75; }
.capability-card.featured p { color: rgba(255,255,255,0.85); }
.capability-card .process-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.capability-card .process-list li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.95rem; }
.capability-card .process-list li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.capability-card.featured .process-list li { color: rgba(255,255,255,0.9); }
.capability-card.featured .process-list li svg { color: #fff; }

/* ===== Product cards as buttons ===== */
button.product-item {
    width: 100%;
    text-align: left;
    padding: 0;
    background: var(--bg);
    color: inherit;
    cursor: pointer;
    border: 1px solid var(--border);
    font: inherit;
    appearance: none;
}
.product-view {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 10px;
    transition: var(--transition);
}
button.product-item:hover .product-img img { transform: scale(1.05); }
.product-img img { transition: transform 0.5s ease; }

/* ===== Custom decorative panel ===== */
.custom-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.custom-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.custom-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
}
.custom-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Modal / Lightbox ===== */
.modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 24px;
}
.modal.open { display: flex; }
.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(20, 30, 28, 0.72);
    backdrop-filter: blur(6px);
}
.modal-dialog {
    position: relative; z-index: 1;
    background: var(--bg);
    border-radius: var(--radius-lg);
    max-width: 920px; width: 100%;
    max-height: 90vh; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity:0; transform: translateY(20px) scale(0.98);} to { opacity:1; transform:none; } }
.modal-close {
    position: absolute; top: 14px; right: 16px; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: none; cursor: pointer;
    font-size: 1.6rem; line-height: 1; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.modal-body { display: grid; grid-template-columns: 1.1fr 1fr; }
.modal-gallery {
    position: relative;
    background: #111; min-height: 320px;
    display: flex; align-items: center; justify-content: center;
}
.gallery-img { width: 100%; height: 100%; max-height: 70vh; object-fit: cover; display: block; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.85); border: none; cursor: pointer;
    font-size: 1.8rem; line-height: 1; color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.gallery-nav:hover { background: var(--primary); color: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 30px 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff; font-size: 0.9rem; text-align: center;
}
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.gallery-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); }
.gallery-dots .dot.active { background: #fff; width: 22px; border-radius: 4px; }
.modal-info { padding: 40px 36px; overflow-y: auto; max-height: 90vh; }
.modal-info .section-label { margin-bottom: 12px; }
.modal-info h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.modal-info p { color: var(--text-secondary); line-height: 1.85; font-size: 0.98rem; }
.modal-specs { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.modal-specs li { position: relative; padding-left: 26px; color: var(--text-secondary); font-size: 0.92rem; }
.modal-specs li::before {
    content: ''; position: absolute; left: 4px; top: 8px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary); border: 2px solid var(--primary-light);
}

/* ===== Responsive for new components ===== */
@media (max-width: 1024px) {
    .process-wall { grid-template-columns: repeat(2, 1fr); }
    .modal-body { grid-template-columns: 1fr; }
    .modal-gallery { min-height: 260px; }
    .gallery-img { max-height: 50vh; }
    .custom-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .process-wall { grid-template-columns: 1fr; }
    .capability-row { grid-template-columns: 1fr; }
    .custom-steps { grid-template-columns: 1fr; }
    .modal-dialog { max-height: 92vh; }
    .modal-info { padding: 28px 22px; }
}

/* ============================================================
   项目扩展样式（痘清清官网）
   —— 追加在模板原有规则之后，只覆盖本项目管理需要的部分，
      不改动模板既有的区块结构与弹窗/脚本契约。
   1) Hero 文案层：模板 hero 只有轮播图，本项目需要主标题文案
   2) Hero 遮罩加深：本项目 hero 图偏亮，保证白色文字可读
   3) 关于区数据卡 .stat-row / .stat
   4) .about-video 内改用图片（本项目暂无品牌视频）
   5) 案例 / 资质：竖版照片与文档扫描件的网格适配
   6) 科普区：把 .brand-image 由定高长图改为自适应 16:9
   ============================================================ */

/* --- 1) Hero 文案层 --- */
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 700px; color: #fff; }
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.98rem;
    letter-spacing: 1.5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 22px;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.hero-content h1 .hero-em { color: #8FE3C4; }
.hero-content p {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.85;
    max-width: 620px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.95);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.72); }
.hero-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; }

/* --- 2) Hero 遮罩加深（覆盖模板的浅遮罩） --- */
.hero-overlay {
    background: linear-gradient(100deg,
        rgba(5, 38, 30, 0.90) 0%,
        rgba(8, 62, 49, 0.72) 42%,
        rgba(10, 86, 66, 0.30) 100%);
}

/* --- 3) 关于区数据卡 --- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.stat {
    background: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px;
}
.stat b {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 8px;
}
.stat span { display: block; font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); }

/* --- 4) 关于区改用图片 --- */
.about-video img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- 5) 案例 / 资质网格适配 --- */
#cases .product-img { aspect-ratio: 3 / 4; }
#cases .product-img img { object-fit: cover; }
#certs .product-img {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px;
}
#certs .product-img img { object-fit: contain; }

/* --- 6) 科普区（.brand-section）左文右图自适应 --- */
.science-section .brand-wrapper { grid-template-columns: 1fr 1fr; gap: 56px; }
.science-section .brand-image { justify-self: stretch; }
.science-section .brand-image img { width: 100%; height: auto; }

/* --- 扩展部分的响应式 --- */
@media (max-width: 1024px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .science-section .brand-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-content { max-width: 100%; }
    .hero-eyebrow { font-size: 0.86rem; padding: 7px 16px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn-primary, .hero-cta .btn-outline { width: 100%; }
    .stat-row { gap: 14px; margin-top: 40px; }
    #cases .product-img { aspect-ratio: 3 / 4; }
    /* Hero 箭头下移到左右下角，避免压住首屏文案 */
    .hero-arrow {
        top: auto;
        bottom: 20px;
        transform: none;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
    .hero-arrow.prev { left: 16px; }
    .hero-arrow.next { right: 16px; }
}
/* ===== 真实用户视频（手机竖屏，点击放大播放） ===== */
.video-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    max-width: 700px;
    margin: 0 auto;
}
.video-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    appearance: none;
    transition: var(--transition);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    background: #0C1A16;
    overflow: hidden;
}
.video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,.42) 100%);
    pointer-events: none;
}
.video-play {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    transform: translate(-50%, -50%);
    width: 66px; height: 66px; border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(0,0,0,.3);
    transition: var(--transition);
}
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .video-play { background: var(--primary); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.video-badge {
    position: absolute; left: 12px; top: 12px; z-index: 2;
    padding: 5px 12px; border-radius: 50px;
    background: rgba(16,131,106,.94); color: #fff;
    font-size: .74rem; letter-spacing: .04em; line-height: 1.5;
}
.video-info { display: block; padding: 18px 20px 22px; }
.video-info h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 6px;
    color: var(--text);
}
.video-info p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.video-view {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: .86rem;
}
/* 视频放大播放弹窗 */
.video-modal-dialog {
    position: relative; z-index: 1;
    width: auto; max-width: 94vw;
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    animation: modalIn 0.3s ease;
    display: grid;
    grid-template-columns: auto minmax(240px, 320px);
}
.video-modal-stage {
    position: relative;
    /* 竖屏 9:16：宽度由高度推导，保证弹窗内不变形、不出现黑边 */
    height: min(78vh, 604px);
    width: calc(min(78vh, 604px) * 0.5625);
    background: #0C1A16;
    display: flex; align-items: center; justify-content: center;
}
.video-modal-stage video { width: 100%; height: 100%; object-fit: contain; background: #0C1A16; }
.video-modal-info { padding: 34px 30px; max-height: 78vh; overflow-y: auto; }
.video-modal-info h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 12px 0 14px;
    color: var(--text);
}
.video-modal-info p { color: var(--text-secondary); font-size: .96rem; line-height: 1.85; }
@media (max-width: 768px) {
    .video-showcase { grid-template-columns: 1fr; max-width: 360px; gap: 26px; }
    .video-modal-dialog { grid-template-columns: 1fr; width: 92vw; }
    .video-modal-stage {
        height: 58vh;
        width: calc(58vh * 0.5625);
        margin: 0 auto;
    }
    .video-modal-info { padding: 20px 22px 24px; max-height: none; text-align: center; }
}

@media (max-width: 480px) {
    .stat-row { grid-template-columns: 1fr; }
    /* 窄屏导航：压缩 logo 与语言切换，避免汉堡按钮被挤出屏幕 */
    .nav-wrapper { gap: 8px; }
    .logo { gap: 8px; }
    .logo img { width: 36px; height: 36px; }
    .logo-text { font-size: 1.02rem; letter-spacing: 0; }
    .logo-phone { font-size: 0.78rem; }
    .nav-actions { gap: 6px; }
    .lang-toggle button { padding: 5px 9px; font-size: 0.76rem; }
    .menu-toggle { padding: 4px; font-size: 1.3rem; }
}
