:root {
    --blue: #7a9eb1;
    --blue-mid: #4e7c93;
    --blue-dark: #274c5e;
    --blue-deep: #1b3a4a;
    --white: #f5f9fc;
    --white-pure: #ffffff;
    --ink: #16303c;
    --gray-line: #d7e4ea;
    --shadow: 0 18px 50px rgba(39, 76, 94, 0.14);
    --ease: cubic-bezier(0.34, 1.3, 0.64, 1);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--ink);
    line-height: 1.8;
    overflow-x: hidden;
}

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

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

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all .35s var(--ease);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--blue-dark);
    color: #fff;
    box-shadow: 0 10px 26px rgba(39, 76, 94, 0.35);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(39, 76, 94, 0.45); }
.btn-outline { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline:hover { background: var(--blue-dark); color: #fff; }
.btn-lg { padding: 17px 50px; font-size: 18px; }

/* ========== 导航（白底蓝字） ========== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-line);
    transition: box-shadow .4s;
}
.site-header.scrolled { box-shadow: 0 6px 28px rgba(39, 76, 94, 0.1); }
.header-inner {
    width: min(1200px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-anchor {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    font-size: 20px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 6px 16px rgba(39, 76, 94, 0.35);
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--blue-dark); letter-spacing: 1px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    transition: all .3s;
}
.main-nav a:hover, .main-nav a.active {
    background: var(--blue-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(39, 76, 94, 0.3);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-dark); border-radius: 3px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== Hero（斜切海波纹） ========== */
.hero {
    position: relative;
    padding: 180px 0 160px;
    background: linear-gradient(150deg, var(--white-pure) 0%, #eef4f8 45%, #dceaf1 100%);
    overflow: hidden;
}
.hero-wave {
    position: absolute;
    bottom: -90px; left: -5%; right: -5%;
    height: 200px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path d='M0,90 C240,10 480,170 720,90 C960,10 1200,170 1440,90 L1440,220 L0,220 Z' fill='%237a9eb1' opacity='0.25'/><path d='M0,120 C260,50 520,190 720,110 C980,30 1220,180 1440,110 L1440,220 L0,220 Z' fill='%234e7c93' opacity='0.2'/></svg>");
    background-size: cover;
    transform: skewY(-3deg);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(160deg, rgba(122, 158, 177, 0.14), rgba(39, 76, 94, 0.1));
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    background: var(--white-pure);
    color: var(--blue-mid);
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(39, 76, 94, 0.12);
}
.hero-title {
    font-size: clamp(50px, 8vw, 88px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--blue-dark);
    margin: 24px 0 18px;
}
.hero-title span {
    display: inline-block;
    background: linear-gradient(120deg, var(--blue-mid), var(--blue-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.hero-title span::after {
    content: "";
    position: absolute;
    left: 0; bottom: 4px;
    width: 100%; height: 8px;
    background: rgba(122, 158, 177, 0.35);
    border-radius: 4px;
    z-index: -1;
}
.hero-sub { font-size: 18px; color: var(--blue-mid); margin-bottom: 32px; max-width: 440px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(122, 158, 177, 0.35);
}
.hero-stats strong { display: block; font-size: 32px; font-weight: 900; color: var(--blue-dark); }
.hero-stats span { font-size: 13px; color: var(--blue-mid); }

.hero-visual {
    position: relative;
    border: 10px solid var(--white-pure);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    overflow: hidden;
}
.hero-visual::before {
    content: "⚓";
    position: absolute;
    top: -22px; right: 30px;
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(39, 76, 94, 0.35);
    z-index: 2;
}
.hero-visual img { height: 520px; width: 100%; object-fit: cover; }

/* ========== 横向条纹分隔 ========== */
.about-stripe { height: 26px; background: linear-gradient(90deg, var(--blue-dark) 0 18%, var(--blue-mid) 18% 46%, var(--blue) 46% 100%); }
.service-stripe { height: 18px; background: linear-gradient(90deg, var(--blue) 0 30%, var(--blue-dark) 30% 62%, var(--blue-mid) 62% 100%); }
.work-stripe { height: 34px; background: linear-gradient(90deg, var(--blue-mid) 0 25%, var(--blue-dark) 25% 55%, var(--blue) 55% 80%, var(--blue-dark) 80% 100%); }
.news-stripe { height: 16px; background: linear-gradient(90deg, var(--blue-dark) 0 40%, var(--blue) 40% 75%, var(--blue-mid) 75% 100%); }
.cta-stripe { height: 22px; background: linear-gradient(90deg, var(--blue) 0 20%, var(--blue-dark) 20% 50%, var(--blue-mid) 50% 100%); }
.process-stripe { height: 16px; background: linear-gradient(90deg, var(--blue-dark) 0 25%, var(--blue-mid) 25% 55%, var(--blue) 55% 100%); }
.team-stripe { height: 20px; background: linear-gradient(90deg, var(--blue-mid) 0 30%, var(--blue-dark) 30% 60%, var(--blue) 60% 100%); }
.home-contact-stripe { height: 22px; background: linear-gradient(90deg, var(--blue-mid) 0 20%, var(--blue-dark) 20% 50%, var(--blue) 50% 100%); }

/* ========== 区块标题 ========== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    color: var(--blue-mid);
    background: var(--white-pure);
    padding: 6px 22px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(39, 76, 94, 0.1);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    color: var(--blue-dark);
}

/* ========== 关于 ========== */
.about { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 50px; align-items: center; }
.about-num {
    font-size: clamp(90px, 14vw, 170px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px rgba(122, 158, 177, 0.5);
    line-height: 1;
    font-family: Georgia, serif;
    text-align: center;
}
.about-text p { color: var(--blue-mid); font-size: 16px; margin-bottom: 18px; max-width: 640px; }
.about-text .section-title { margin-bottom: 22px; }
.text-link { color: var(--blue-dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 3px; transition: color .3s; }
.text-link:hover { color: var(--blue-mid); }

/* ========== 服务 ========== */
.services { padding: 60px 0 120px; background: var(--white-pure); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    transition: all .4s var(--ease);
}
.service-card:hover {
    transform: translateY(-12px);
    background: linear-gradient(160deg, var(--blue-dark), var(--blue-mid));
    color: #fff;
    border-color: var(--blue-dark);
    box-shadow: var(--shadow);
}
.s-ico { font-size: 40px; display: block; margin-bottom: 16px; }
.service-card h3 { font-size: 19px; color: var(--blue-dark); margin-bottom: 10px; transition: color .3s; }
.service-card:hover h3 { color: #fff; }
.service-card p { font-size: 14px; color: var(--blue-mid); margin-bottom: 18px; transition: color .3s; }
.service-card:hover p { color: rgba(255, 255, 255, 0.85); }
.service-card a { color: var(--blue-dark); font-weight: 700; text-decoration: none; transition: color .3s; }
.service-card:hover a { color: #fff; }

/* ========== 案例（船舷窗圆框） ========== */
.works { padding: 90px 0 120px; background: #eef4f8; }
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}
.work-card { transition: transform .45s var(--ease); }
.work-card:hover { transform: translateY(-10px); }
.porthole {
    width: 250px; height: 250px;
    margin: 0 auto;
    border-radius: 50%;
    border: 12px solid var(--white-pure);
    outline: 3px solid var(--blue);
    outline-offset: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}
.porthole::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,0.18), transparent 50%, rgba(39,76,94,0.2));
}
.porthole img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work-card:hover .porthole img { transform: scale(1.1); }
.work-card h3 { color: var(--blue-dark); font-size: 21px; margin-top: 28px; }
.work-card p { color: var(--blue-mid); font-size: 14px; margin-top: 6px; }

/* ========== 新闻 ========== */
.news { padding: 90px 0 120px; background: var(--white); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-top: 5px solid var(--blue-mid);
    border-radius: 14px;
    padding: 34px 30px;
    text-decoration: none;
    display: block;
    transition: all .4s var(--ease);
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-top-color: var(--blue-dark); }
.nc-date { font-size: 13px; color: var(--blue-mid); font-weight: 700; letter-spacing: 2px; }
.news-card h3 { font-size: 19px; color: var(--blue-dark); margin: 14px 0 12px; line-height: 1.6; }
.news-card p { font-size: 14px; color: var(--blue-mid); }

/* ========== 服务流程 ========== */
.process { padding: 90px 0 120px; background: var(--white-pure); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.process-card {
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 18px;
    padding: 34px 26px;
    text-align: center;
    transition: all .4s var(--ease);
}
.process-card:hover { transform: translateY(-8px); border-color: var(--blue-mid); box-shadow: var(--shadow); }
.p-num {
    display: inline-block;
    font-size: 36px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(122, 158, 177, 0.55);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 14px;
}
.process-card h3 { font-size: 19px; color: var(--blue-dark); margin-bottom: 10px; }
.process-card p { font-size: 14px; color: var(--blue-mid); }

/* ========== 核心团队（首页） ========== */
.team { padding: 90px 0 120px; background: #eef4f8; }

/* ========== 预约表单（首页） ========== */
.home-contact { padding: 90px 0 120px; background: var(--white); }

/* ========== CTA ========== */
.contact-cta { padding: 60px 0 120px; background: #eef4f8; }
.cta-inner {
    background: linear-gradient(140deg, var(--blue-dark), var(--blue-mid));
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 30px 70px rgba(39, 76, 94, 0.3);
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: "🌊⚓🌊";
    position: absolute;
    top: 20px; left: 30px;
    font-size: 36px;
    letter-spacing: 16px;
    opacity: 0.2;
}
.cta-inner::after {
    content: "🌊⚓🌊";
    position: absolute;
    bottom: 20px; right: 30px;
    font-size: 36px;
    letter-spacing: 16px;
    opacity: 0.2;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-inner p { font-size: 17px; margin-bottom: 34px; opacity: 0.92; }

/* ========== 页脚 ========== */
.site-footer {
    background: linear-gradient(180deg, var(--blue-deep), #102a36);
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-grid h3 { font-size: 18px; margin-bottom: 18px; color: #fff; }
.footer-about p { font-size: 15px; line-height: 2; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--blue); }
.footer-contact p { font-size: 15px; line-height: 2; }
.copyright { text-align: center; padding-top: 30px; font-size: 14px; opacity: 0.7; }

/* ========== 子页面通用 ========== */
.page-hero {
    position: relative;
    padding: 180px 0 130px;
    text-align: center;
    background: linear-gradient(150deg, var(--white-pure), #eef4f8);
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    bottom: -40px; left: -5%; right: -5%;
    height: 120px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'><path d='M0,60 C240,10 480,110 720,60 C960,10 1200,110 1440,60 L1440,120 L0,120 Z' fill='%237a9eb1' opacity='0.2'/></svg>");
    background-size: cover;
}
.page-hero h1 { position: relative; z-index: 2; font-size: clamp(40px, 6vw, 64px); font-weight: 900; color: var(--blue-dark); }
.page-hero p { position: relative; z-index: 2; font-size: 17px; margin-top: 14px; color: var(--blue-mid); }
.page-hero .breadcrumb { position: relative; z-index: 2; margin-top: 22px; font-size: 14px; }
.page-hero .breadcrumb a { color: var(--blue-dark); text-decoration: none; }
.page-hero .breadcrumb span { margin: 0 10px; opacity: 0.5; }

.page-section { padding: 100px 0; }
.page-section.alt { background: #eef4f8; }

/* 关于页 */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-page-grid img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border: 10px solid var(--white-pure);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.about-page-grid h3 { font-size: 26px; color: var(--blue-dark); margin-bottom: 18px; }
.about-page-grid p { color: var(--blue-mid); margin-bottom: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; margin-top: 24px; }
.values li {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    color: var(--blue-dark);
}
.values li strong { color: var(--blue-mid); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card {
    background: var(--white-pure);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .4s var(--ease);
}
.team-card:hover { transform: translateY(-8px); }
.team-card img { width: 100%; height: 280px; object-fit: cover; }
.team-placeholder { width: 100%; height: 280px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; font-size: 3.4rem; font-weight: 900; }
.team-body { padding: 24px; text-align: center; }
.team-body h4 { color: var(--blue-dark); margin-bottom: 6px; }
.team-body p { color: var(--blue-mid); font-size: 14px; }

/* 数据见证 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.stat-card {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-top: 5px solid var(--blue-mid);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all .4s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 36px; font-weight: 900; color: var(--blue-dark); }
.stat-card p { font-size: 14px; color: var(--blue-mid); margin-top: 8px; }

/* 发展历程 */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before {
    content: "";
    position: absolute;
    left: 50%; top: 8px; bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-dark), var(--blue));
    transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 46px 48px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-dot {
    position: absolute;
    top: 6px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--blue-mid);
    border: 4px solid var(--white-pure);
    box-shadow: 0 0 0 3px var(--blue);
}
.tl-item:nth-child(odd) .tl-dot { right: -9px; }
.tl-item:nth-child(even) .tl-dot { left: -9px; }
.tl-year {
    display: inline-block;
    background: var(--blue-dark);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.tl-card {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(39, 76, 94, 0.08);
}
.tl-card h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 8px; }
.tl-card p { font-size: 14px; color: var(--blue-mid); }

/* 荣誉资质 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.honor-card {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(39, 76, 94, 0.08);
    transition: all .4s var(--ease);
}
.honor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.honor-img { height: 180px; overflow: hidden; }
.honor-img img { width: 100%; height: 100%; object-fit: cover; }
.honor-body { padding: 24px; }
.honor-body h3 { font-size: 18px; color: var(--blue-dark); margin-bottom: 8px; }
.honor-body p { font-size: 14px; color: var(--blue-mid); margin-bottom: 12px; }
.honor-date {
    display: inline-block;
    font-size: 13px;
    color: var(--blue-mid);
    font-weight: 700;
    background: rgba(122, 158, 177, 0.15);
    padding: 4px 14px;
    border-radius: 999px;
}

/* 产品页 */
.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-item {
    background: var(--white-pure);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .4s var(--ease);
}
.service-item:hover { transform: translateY(-10px); }
.service-item img { width: 100%; height: 240px; object-fit: cover; }
.service-item-body { padding: 28px; }
.service-item .si-tag {
    display: inline-block;
    background: rgba(122, 158, 177, 0.15);
    color: var(--blue-mid);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.service-item h3 { color: var(--blue-dark); font-size: 20px; margin-bottom: 10px; }
.service-item h3 a { color: var(--blue-dark); text-decoration: none; }
.service-item p { color: var(--blue-mid); font-size: 15px; margin-bottom: 16px; }
.service-item .si-price { color: var(--blue-dark); font-weight: 800; font-size: 22px; }

/* 新闻页 */
.news-list { max-width: 920px; margin: 0 auto; }
.news-row {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-left: 6px solid var(--blue-mid);
    border-radius: 14px;
    padding: 30px 34px;
    margin-bottom: 24px;
    transition: all .4s var(--ease);
}
.news-row:hover { transform: translateX(12px); box-shadow: var(--shadow); }
.news-row .ndate { font-size: 13px; color: var(--blue-mid); font-weight: 700; letter-spacing: 2px; }
.news-row h3 { font-size: 20px; margin: 12px 0; color: var(--blue-dark); }
.news-row h3 a { color: var(--blue-dark); text-decoration: none; display: inline; }
.news-row p { color: var(--blue-mid); font-size: 15px; }
.news-row a { display: inline-block; margin-top: 14px; color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.news-row a:hover { text-decoration: underline; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-box {
    background: var(--white-pure);
    border: 1px solid var(--gray-line);
    border-radius: 14px;
    padding: 26px 30px;
}
.contact-box .c-ico { font-size: 30px; }
.contact-box h3 { color: var(--blue-dark); margin: 8px 0 6px; }
.contact-box p { color: var(--blue-mid); font-size: 15px; }
.contact-form {
    background: var(--white-pure);
    border-radius: 18px;
    padding: 44px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.form-group label em { color: var(--blue-mid); font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-line);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    color: var(--ink);
    transition: border-color .3s, box-shadow .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(122, 158, 177, 0.18);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group .error-msg { color: #c0534e; font-size: 13px; margin-top: 6px; display: none; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #c0534e; }
.form-group.invalid .error-msg { display: block; }
.form-success {
    display: none;
    background: rgba(122, 158, 177, 0.15);
    border: 2px dashed var(--blue);
    color: var(--blue-dark);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 22px;
    font-weight: 700;
}
.map-placeholder {
    height: 320px;
    border: 2px dashed var(--blue);
    border-radius: 18px;
    background: var(--white);
    display: grid;
    place-items: center;
    color: var(--blue-mid);
    font-size: 16px;
    margin-top: 50px;
    overflow: hidden;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ========== 滚动动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(46px);
    transition: opacity .85s ease, transform .85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.fade-in {
    opacity: 0;
    transform: translateY(46px);
    transition: opacity .85s ease, transform .85s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ========== 返回顶部 ========== */
.back-top {
    position: fixed;
    right: 26px; bottom: 30px;
    z-index: 99;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(39, 76, 94, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all .4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ========== 服务筛选 Tab ========== */
.cat-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-tab {
    padding: 11px 26px;
    border-radius: 999px;
    border: 2px solid var(--gray-line);
    background: #fff;
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s;
    font-family: inherit;
}
.cat-tab.active, .cat-tab:hover {
    background: var(--blue-dark);
    color: #fff;
    border-color: var(--blue-dark);
    box-shadow: 0 6px 16px rgba(39, 76, 94, 0.3);
}

/* ========== CMS 适配 ========== */
.cms-section { padding: 100px 0; }
.cms-detail { max-width: 900px; margin: 0 auto; }
.cms-detail > img { border-radius: 18px; margin: 0 auto 12px; max-width: 100%; }
.cms-detail h1 { font-size: 2rem; margin: 18px 0; color: var(--blue-dark); }
.cms-detail .lead { color: var(--blue-mid); margin-bottom: 20px; font-size: 1.05rem; }
.news-date-label { display: inline-block; background: var(--blue-dark); color: #eef4f8; font-size: .82rem; font-weight: 800; padding: 4px 14px; border-radius: 20px; }
.cms-content h2 { font-size: 1.5rem; margin: 24px 0 12px; color: var(--blue-dark); }
.cms-content h3 { font-size: 1.25rem; margin: 20px 0 10px; color: var(--blue-dark); }
.cms-content p, .cms-content ul, .cms-content li { color: var(--blue-mid); margin-bottom: 15px; line-height: 1.9; }
.cms-content ul { padding-left: 18px; list-style: disc; }
.cms-content img { border-radius: 14px; }
.cms-back { display: inline-block; color: var(--blue-dark); font-size: .9rem; font-weight: 700; margin-bottom: 20px; text-decoration: none; }
.cms-back:hover { text-decoration: underline; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { color: var(--blue-mid); padding: 10px 0; border-bottom: 2px dashed var(--gray-line); font-size: .9rem; }
.spec-list li b { color: var(--blue-dark); }
.cms-pager { padding: 30px 0; text-align: center; }
.cms-pager .pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.cms-pager .page-link { padding: 10px 16px; border: 1px solid rgba(39, 76, 94, 0.3); border-radius: 8px; background: #fff; color: var(--blue-dark); font-size: 14px; transition: .3s; display: inline-block; }
.cms-pager .page-link:hover { border-color: var(--blue-dark); color: var(--blue-dark); }
.cms-pager .page-item.active .page-link { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.cms-pager .page-item.disabled .page-link { opacity: .5; pointer-events: none; }
.form-alert-err { background: #fdecea; border: 1px solid #f3c6c0; color: #b23b35; padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; }
.form-alert-err li { color: #b23b35; }
.form-submit { width: 100%; color: #fff; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white-pure);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 6px;
        transition: right .45s var(--ease);
        box-shadow: -18px 0 50px rgba(0,0,0,.1);
    }
    .main-nav.open { right: 0; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
    .hero-visual img { height: 360px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-text p { margin-left: auto; margin-right: auto; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: 1fr; gap: 40px; }
    .news-grid, .team-grid, .service-list, .honor-grid { grid-template-columns: 1fr; }
    .process-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-page-grid, .contact-grid { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding-top: 150px; }
    .timeline::before { left: 18px; }
    .tl-item { width: 100%; left: 0 !important; text-align: left; padding: 0 0 36px 52px; }
    .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 9px; right: auto; }
}

@media (max-width: 560px) {
    .hero-title { font-size: 44px; }
    .service-grid { grid-template-columns: 1fr; }
    .process-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .porthole { width: 200px; height: 200px; }
    .contact-form { padding: 26px; }
}

/* ===== CMS global link-color reset (fixes default blue/underline) ===== */
a:has(h1), a:has(h2), a:has(h3), a:has(h4), a:has(img),
a.logo, a.logo *, .logo, .logo *,
a.news-thumb, a.news-thumb *, a.prod-thumb, a.prod-thumb *,
a.img-wrap, a.img-wrap *, a.thumb, a.thumb *, a.cover, a.cover *,
a[style*='background-image'], a[style*='background'],
a.card, a.card *, a.work-card, a.work-card *, a.product-card, a.product-card *,
a.news-card, a.news-card *, a.news-item, a.news-item *, a.case-card, a.case-card *,
a.service-card, a.service-card *, a.svc-card, a.svc-card *, a.item-card, a.item-card * {
  color: inherit !important;
  text-decoration: none !important;
}
a:has(h1):hover, a:has(h2):hover, a:has(h3):hover, a:has(h4):hover,
a.logo:hover, .logo:hover, a.card:hover, a.card *:hover,
a.news-thumb:hover, a.prod-thumb:hover, a.work-card:hover, a.product-card:hover,
a.news-card:hover, a.news-item:hover, a.case-card:hover, a.service-card:hover { color: inherit !important; }
a.prod-img-link, a.prod-img-link *,
a.img-link, a.img-link *, a.thumb-link, a.thumb-link *,
a.cover-link, a.cover-link *, a.media-link, a.media-link *,
a[class*='-thumb'], a[class*='-img'], a[class*='-cover'],
a[class*='thumb-'], a[class*='img-'],
a.img-side, a.img-side *, a.pic, a.pic *, a.pic-link, a.pic-link * {
  color: inherit !important;
  text-decoration: none !important;
}
/* ===== CMS heading-link reset (anchor inside heading) ===== */
h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit !important;
  text-decoration: none !important;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover { color: inherit !important; }
