/* styles.css */
:root {
    --htic-red: #9A1D1F;
    --htic-bronze: #C96619;
    --htic-gold: #F8AF12;
    --htic-ink: #0f172a;
    --htic-cream: #f8fafc;
    --htic-gradient: linear-gradient(135deg, var(--htic-red) 0%, var(--htic-bronze) 54%, var(--htic-gold) 100%);
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* 英文优先，中文回退到系统级优雅黑体 */
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--htic-gold);
    outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    /* 标题使用英文衬线体，中文回退到思源宋体，凸显高级感 */
    font-family: 'Playfair Display', 'Noto Serif SC', 'SimSun', serif;
}

.bg-gradient-htic {
    background-image: var(--htic-gradient);
}

/* 统一导航栏滚动状态样式 */
.site-header {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0));
}

.header-scrolled {
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-logo {
    text-decoration: none;
}

.site-logo .logo-text {
    letter-spacing: -0.04em;
}

.site-logo .logo-desc {
    border-color: rgba(255, 255, 255, 0.32);
}

.site-logo .logo-desc span {
    letter-spacing: 0.01em;
}

.site-nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.55rem;
    height: 2px;
    background: var(--htic-gradient);
    opacity: 0;
    transform: scaleX(0.55);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
    color: var(--htic-gold);
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 1.05rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.language-choice-form {
    display: inline-flex;
    margin: 0;
}

.language-choice-form .lang-btn {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.site-language-switch .lang-btn,
.site-mobile-actions .lang-btn {
    min-width: auto;
    height: auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.site-language-switch .lang-btn:hover,
.site-language-switch .lang-btn.is-active {
    color: var(--htic-gold);
}

.site-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0 1.5rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.04rem;
    background: linear-gradient(135deg, #a61f20 0%, #ce6418 58%, #f7ae12 100%);
    border: 0;
    border-radius: 2px;
    box-shadow: 0 10px 22px rgba(154, 29, 31, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.site-contact-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.03);
    box-shadow: 0 14px 28px rgba(154, 29, 31, 0.24);
}

.site-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 0.9rem;
    color: #1e293b;
    font-weight: 700;
    border-left: 3px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--htic-red);
    background: #f8fafc;
    border-left-color: var(--htic-bronze);
}

.site-mobile-actions {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-top: 0.75rem;
    padding: 1rem 0.9rem 0;
    border-top: 1px solid #e2e8f0;
}

.site-mobile-actions .lang-btn {
    color: #475569;
    border: 0;
    font-size: 0.96rem;
}

.site-mobile-actions .lang-btn:hover,
.site-mobile-actions .lang-btn.is-active {
    color: var(--htic-red);
}

.site-mobile-contact {
    display: flex;
    justify-content: center;
    margin: 0.9rem 0.9rem 0;
    padding: 0.82rem 1rem;
    color: #fff;
    font-weight: 800;
    background: var(--htic-gradient);
    border-radius: 2px;
}

.header-scrolled .logo-text { color: #0f172a; }
.header-scrolled .logo-desc p,
.header-scrolled .logo-desc span { color: #475569; }
.header-scrolled .border-l { border-color: #cbd5e1; }
.header-scrolled .nav-link { color: #334155; }
.header-scrolled .nav-link:hover { color: #9A1D1F; }
.header-scrolled .site-nav-link.is-active { color: #9A1D1F; }
.header-scrolled .site-language-switch {
    border-color: transparent;
    background: transparent;
}
.header-scrolled .site-language-switch .lang-btn {
    color: #475569;
}
.header-scrolled .site-language-switch .lang-btn:hover,
.header-scrolled .site-language-switch .lang-btn.is-active {
    color: var(--htic-red);
}
.header-scrolled .site-menu-btn {
    color: #0f172a;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background:
        linear-gradient(145deg, rgba(154, 29, 31, 0.16), rgba(15, 23, 42, 0) 36%),
        radial-gradient(circle at 88% 12%, rgba(248, 175, 18, 0.12), transparent 30%),
        #0f172a;
    border-top: 1px solid rgba(248, 175, 18, 0.18);
}

.site-footer-rule {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--htic-gradient);
}

.site-footer-title {
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer-list {
    display: grid;
    gap: 0.75rem;
}

.site-footer-list a,
.site-footer-bottom a,
.site-footer-contact {
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.22s ease;
}

.site-footer-list a:hover,
.site-footer-bottom a:hover,
.site-footer-contact:hover {
    color: var(--htic-gold);
}

.site-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.875rem;
}

/* 关于我们：以克制的编辑式层级承载长篇企业信息 */
.about-hero {
    background:
        radial-gradient(circle at 78% 30%, rgba(201, 102, 25, 0.16), transparent 29%),
        linear-gradient(120deg, rgba(154, 29, 31, 0.14), transparent 42%),
        var(--htic-ink);
}

.about-hero-orbit {
    position: absolute;
    border: 1px solid rgba(248, 175, 18, 0.14);
    border-radius: 999px;
    pointer-events: none;
}

.about-hero-orbit-one {
    right: -8rem;
    bottom: -18rem;
    width: 38rem;
    height: 38rem;
}

.about-hero-orbit-two {
    right: 5rem;
    bottom: -10rem;
    width: 22rem;
    height: 22rem;
}

.about-hero-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.8rem 1.1rem;
}

.about-hero-title-main {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
}

.about-hero-company {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Noto Serif SC', 'SimSun', serif;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.about-hero-company-rule {
    display: inline-block;
    width: 2.25rem;
    height: 2px;
    background: var(--htic-gradient);
}

.about-eyebrow {
    margin-bottom: 1rem;
    color: var(--htic-red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about-eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.75rem;
    height: 2px;
    margin-right: 0.75rem;
    background: var(--htic-gradient);
    vertical-align: middle;
}

.about-eyebrow-light {
    color: var(--htic-gold);
}

.about-prose p:first-child {
    padding-left: 1.25rem;
    border-left: 3px solid var(--htic-bronze);
}

.about-principles {
    min-height: 100%;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.about-principles::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--htic-gradient);
}

.about-principles-mark {
    position: absolute;
    right: -0.35rem;
    bottom: -2.4rem;
    color: rgba(255, 255, 255, 0.035);
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 11rem;
    font-weight: 800;
    letter-spacing: -0.1em;
    line-height: 1;
    pointer-events: none;
}

.about-service-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--htic-gradient);
    transform: scaleX(0.22);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.about-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 102, 25, 0.35);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

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

.about-card-copy p {
    margin-bottom: 1rem;
}

.about-card-copy p:last-child {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.875rem;
}

.about-card-copy-dark p:last-child {
    color: rgba(255, 255, 255, 0.45);
}

.about-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

.about-supply {
    background:
        radial-gradient(circle at 8% 90%, rgba(154, 29, 31, 0.2), transparent 28%),
        var(--htic-ink);
}

.about-supply-grid {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.about-capability {
    position: relative;
    padding: 2.25rem 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.about-capability:first-child {
    border-left: 0;
    padding-left: 0;
}

.about-capability:last-child {
    padding-right: 0;
}

.about-capability-index {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--htic-gold);
    font-family: 'Playfair Display', serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.about-market-card {
    position: relative;
    padding: 2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-market-card:hover {
    border-bottom-color: var(--htic-bronze);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.about-market-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.75rem;
    color: var(--htic-red);
    background: rgba(154, 29, 31, 0.08);
    font-size: 1.1rem;
}

.about-commitment {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 2.25rem;
    color: #334155;
    background: linear-gradient(120deg, rgba(154, 29, 31, 0.045), rgba(248, 175, 18, 0.055));
    border-left: 4px solid var(--htic-red);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.9;
}

.about-commitment-mark {
    color: var(--htic-bronze);
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 0.8;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #C96619; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9A1D1F; }

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html, body {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .about-hero-title {
        display: block;
    }

    .about-hero-company {
        margin-top: 1rem;
        line-height: 1.55;
    }

    .about-hero-company-rule {
        width: 1.5rem;
        flex: 0 0 auto;
    }

    .about-hero-orbit-one {
        right: -18rem;
    }

    .about-hero-orbit-two {
        right: -8rem;
    }

    .about-capability,
    .about-capability:first-child,
    .about-capability:last-child {
        padding: 2rem 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-capability:last-child {
        border-bottom: 0;
    }

    .about-commitment {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
