/* ============================================================
   Sun Heating & Cooling — Site Stylesheet
   配色方案二(现代清爽): 橙 #F78E18 / 冷蓝灰 #EAF2F6 / 深藏青 #2F4858
   响应式断点: 1280 / 1024 / 960 / 768 / 480 / 360
   ============================================================ */

:root {
    --orange: #F78E18;
    --orange-dark: #e07d10;
    --orange-soft: #fef1e2;
    --bg: #EAF2F6;
    --navy: #2F4858;
    --navy-deep: #233845;
    --gray-blue: #A6BBC6;
    --line: #d7e2e9;
    --text: #44586a;
    --muted: #7d93a3;
    --white: #ffffff;
    --shadow-sm: 0 4px 16px rgba(47, 72, 88, .08);
    --shadow-md: 0 12px 32px rgba(47, 72, 88, .14);
    --radius: 14px;
    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; }

.container { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .22s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247, 142, 24, .35); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(47, 72, 88, .12); }
.header-inner { display: flex; align-items: center; height: 78px; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: flex; }
.brand-logo-img { height: 48px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 17px; color: var(--navy); letter-spacing: .4px; }
.brand-name em { color: var(--orange); }
.brand-tag { font-size: 11.5px; color: var(--muted); letter-spacing: .3px; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    padding: 6px 0;
    border-bottom: 3px solid transparent;
    transition: color .2s ease, border-color .2s ease;
    white-space: nowrap; /* 菜单名始终单行 */
}
.nav-link:hover { color: var(--orange); }
.nav-link.active { color: var(--orange); border-bottom-color: var(--orange); }

.header-cta { margin-left: 8px; flex-shrink: 0; }
.nav-mobile-cta { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: none;
    border: 0;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2.6px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .25s ease;
    margin: 0 auto;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* 语言切换(导航右侧, EN/中文 分段胶囊, 当前语言橙色高亮) */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(166, 187, 198, .18);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    flex-shrink: 0;
    margin-left: 8px;
}
.lang-opt {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: var(--muted);
    padding: 6px 10px;
    border-radius: 999px;
    letter-spacing: .3px;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
a.lang-opt:hover { color: var(--navy); background: rgba(166, 187, 198, .28); }
.lang-opt.active { color: #fff; background: var(--orange); }

/* 页面主内容留出固定头部高度 */
.site-main { padding-top: 78px; min-height: 50vh; }

/* ---------- Hero(业务页首屏) ---------- */
.hero {
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(247, 142, 24, .10), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 72px;
}
.hero-text .section-label { margin-bottom: 18px; }
.hero-text h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; margin-bottom: 20px; }
.hero-text p { font-size: 17px; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 7px;
}
.hero-points li::before {
    content: "";
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--orange-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F78E18' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.hero-media img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

/* ---------- Section 公共 ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0 84px; }
.section-alt { background: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; margin-bottom: 14px; }
.section-head p { font-size: 16.5px; color: var(--muted); }
.section-cta { text-align: center; margin-top: 44px; }

.section-label {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-soft);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section-head .section-label { margin-bottom: 18px; }

.lead { font-size: 18px; font-weight: 600; color: var(--navy); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); }

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    margin-bottom: 20px;
    transition: transform .25s ease;
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon svg { width: 27px; height: 27px; }
.card-icon.small { width: 44px; height: 44px; margin-bottom: 14px; }
.card-icon.small svg { width: 21px; height: 21px; }

/* ---------- Incentive 卡片(大区块) ---------- */
.section-incentive { padding: 72px 0 84px; }
.incentive-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.incentive-main { padding: 48px 52px; }
.incentive-main h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 750; margin-bottom: 12px; }
.incentive-main .lead { margin-bottom: 14px; }
.incentive-main p { margin-bottom: 14px; }
.incentive-actions { margin-top: 24px; }

.incentive-side {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.incentive-side-item strong { display: block; color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.incentive-side-item span { color: var(--gray-blue); font-size: 14px; }
.incentive-side-item:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 26px; }

.incentive-side-cards { gap: 22px; }
.incentive-side-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 24px 22px;
}
.incentive-side-card .card-icon { background: var(--orange); }
.incentive-side-card strong { display: block; color: #fff; font-size: 17px; font-weight: 700; }
.incentive-side-card em { display: block; color: var(--orange); font-size: 13.5px; font-weight: 700; letter-spacing: .4px; margin: 3px 0 8px; }
.incentive-side-card p { color: var(--gray-blue); font-size: 14px; }

.fineprint {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 900px;
}
.fineprint svg { flex-shrink: 0; margin-top: 4px; color: var(--orange); }
.fineprint.center { justify-content: center; text-align: center; }

/* ---------- 品牌 Logo 占位 ---------- */
.section-brands { background: var(--white); }
.section-brands.section-alt { background: var(--white); }
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.brand-placeholder {
    width: 190px; height: 88px;
    border: 2px dashed var(--gray-blue);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    background: var(--bg);
    transition: all .2s ease;
}
.brand-placeholder:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- 项目卡片 ---------- */
.project-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dde7ed; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-body { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 24px; }
.project-region {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--orange);
}
.project-title { font-size: 18px; font-weight: 700; color: var(--navy); }
.project-meta { font-size: 14px; color: var(--muted); }

.empty-note { text-align: center; color: var(--muted); padding: 30px 0 6px; font-size: 15px; }

/* ---------- 筛选条 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.filter-link {
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    font-size: 14.5px;
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
}
.filter-link:hover { color: var(--orange); }
.filter-link.active { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247, 142, 24, .35); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; margin-top: 48px; }
.pagination ul { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; list-style: none; }
.pagination li a, .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}
.pagination li.active span { background: var(--orange); color: #fff; }
.pagination li a:hover { color: var(--orange); }
.pagination li.disabled span { opacity: .45; }

/* ---------- CTA 横幅 ---------- */
.cta-banner { padding: 30px 0 84px; }
.cta-inner {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: 20px;
    padding: 52px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: "";
    position: absolute;
    right: -80px; top: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 142, 24, .28), transparent 70%);
}
.cta-inner h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; margin-bottom: 10px; }
.cta-inner p { color: var(--gray-blue); font-size: 16px; max-width: 560px; }
.cta-inner .btn { flex-shrink: 0; position: relative; }

/* ---------- 页头(内页 Banner) ---------- */
.page-head {
    background:
        radial-gradient(800px 300px at 90% 0%, rgba(247, 142, 24, .18), transparent 55%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 78px 0 60px;
    color: #fff;
}
.page-head h1 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 12px; }
.page-head p { color: var(--gray-blue); font-size: 16.5px; max-width: 720px; }
.crumbs { font-size: 13.5px; margin-bottom: 16px; color: var(--gray-blue); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs b { color: #fff; font-weight: 600; }
.crumbs a:hover { color: var(--orange); }

/* ---------- 内页 Banner(菜单下全宽图 + 藏青渐变叠加文字) ---------- */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(35, 56, 69, .92) 0%, rgba(35, 56, 69, .62) 50%, rgba(35, 56, 69, .22) 100%);
}
.page-banner .container { position: relative; z-index: 1; flex: 1; }
.page-banner.banner-lg { padding: 88px 0 92px; }
.page-banner.banner-sm { padding: 96px 0 84px; min-height: 660px; }
.page-banner .hero-text .section-label { margin-bottom: 18px; }
.page-banner .hero-text h1 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; margin-bottom: 20px; max-width: 700px; }
.page-banner .hero-text p { color: rgba(255, 255, 255, .92); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.page-banner .hero-points li { color: rgba(255, 255, 255, .88); }
.page-banner.banner-sm h1 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 12px; }
.page-banner.banner-sm p { color: var(--gray-blue); font-size: 16.5px; max-width: 720px; }

/* ---------- Split(图文分栏) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}
.split-text h2 { font-size: clamp(24px, 2.8vw, 33px); font-weight: 750; margin-bottom: 16px; }
.split-text p { margin-bottom: 14px; }
.split-text .btn { margin-top: 14px; }

.check-list { margin: 18px 0 10px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); font-size: 15.5px; }
.check-list li::before {
    content: "";
    width: 22px; height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--orange-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F78E18' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.owner-note {
    margin-top: 40px;
    background: var(--orange-soft);
    border-left: 4px solid var(--orange);
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.owner-note svg { color: var(--orange); flex-shrink: 0; }

/* ---------- 三合一流程 ---------- */
.trinity { display: flex; align-items: stretch; justify-content: center; gap: 18px; }
.trinity-step {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px 34px;
    text-align: center;
    flex: 0 1 280px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.trinity-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trinity-step h3 { font-size: 20px; font-weight: 750; margin-bottom: 4px; }
.trinity-step p { color: var(--muted); font-size: 15px; }
.trinity-num {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 15px;
    font-weight: 800;
    color: var(--gray-blue);
    opacity: .55;
}
.trinity-arrow {
    display: flex;
    align-items: center;
    color: var(--orange);
    flex-shrink: 0;
}
.trinity-arrow svg { width: 34px; height: 34px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 34px 30px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 18px; margin-bottom: 10px; }
.contact-card p { font-size: 15.5px; }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card a:hover { color: var(--orange); }
.contact-card-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.contact-card-cta h3 { color: #fff; }
.contact-card-cta p { color: var(--gray-blue); margin-bottom: 14px; }

/* ---------- 报价表单 ---------- */
.quote-wrap { display: grid; grid-template-columns: 1.65fr 1fr; gap: 34px; align-items: start; }
.quote-form {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 44px 46px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 22px; }
.form-field label {
    display: block;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--navy);
    margin-bottom: 8px;
}
.form-field label em { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.6px solid var(--line);
    border-radius: 9px;
    font-size: 15px;
    font-family: var(--font);
    color: var(--navy);
    background: #fbfdfe;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3.5px rgba(247, 142, 24, .16);
    background: #fff;
}
.form-actions { margin-top: 6px; }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.form-message { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 9px; font-weight: 600; font-size: 14.5px; }
.form-message.ok { display: block; background: #e8f7ee; color: #1d7a44; border: 1px solid #b9e5c9; }
.form-message.err { display: block; background: #fdecec; color: #b3392f; border: 1px solid #f3c3c0; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.quote-side {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: 20px;
    padding: 40px 36px;
    color: #fff;
    position: sticky;
    top: 102px;
}
.quote-side h3 { color: #fff; font-size: 21px; margin-bottom: 22px; }
.side-list { display: grid; gap: 16px; margin-bottom: 26px; }
.side-list li { display: flex; flex-direction: column; gap: 2px; font-size: 15.5px; }
.side-list li span { font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.side-list li a { color: #fff; font-weight: 600; }
.side-list li a:hover { color: var(--orange); }
.side-list li:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 14px; }
.side-note { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 18px 20px; }
.side-note p { color: var(--gray-blue); font-size: 14px; }

/* ---------- 项目详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; margin-bottom: 50px; }
.gallery-main img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    cursor: zoom-in;
    background: #dde7ed;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumbs img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 9px;
    cursor: pointer;
    opacity: .78;
    transition: opacity .2s ease, box-shadow .2s ease;
    background: #dde7ed;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; box-shadow: 0 0 0 3px var(--orange); }

.detail-meta {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 32px 30px;
    position: sticky;
    top: 102px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail-meta h3 { font-size: 19px; margin-bottom: 6px; }
.detail-meta ul { display: grid; gap: 13px; margin-bottom: 18px; }
.detail-meta li { display: flex; flex-direction: column; gap: 1px; }
.detail-meta li span { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.detail-meta li { font-size: 15.5px; color: var(--navy); font-weight: 600; }
.detail-meta .btn { text-align: center; }
.detail-meta .btn-outline { border-color: var(--line); color: var(--navy); }
.detail-meta .btn-outline:hover { border-color: var(--navy); }

.detail-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 44px 48px;
}
.detail-content h2, .detail-content h3 { margin: 26px 0 12px; }
.detail-content h2:first-child, .detail-content h3:first-child { margin-top: 0; }
.detail-content p { margin-bottom: 14px; }
.detail-content img { border-radius: 12px; margin: 18px 0; }
.detail-content ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: var(--gray-blue); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 64px 24px 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: #fff; letter-spacing: .4px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; display: block; }
.footer-brand p { font-size: 14.5px; line-height: 1.75; }
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { font-size: 14.5px; transition: color .2s ease; }
.footer-col ul a:hover { color: var(--orange); }
.footer-contact li { display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; }
.footer-contact li span { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.footer-contact li a { color: #fff; font-weight: 600; }
.footer-contact li a:hover { color: var(--orange); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 13px;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1280px) {
    .container { padding: 0 28px; }
    .main-nav { gap: 20px; }
}

/* 导航增至7项(加 Projects), 窄桌面收紧间距与字号防挤压 */
@media (max-width: 1100px) {
    .main-nav { gap: 18px; }
    .nav-link { font-size: 14.5px; }
    .header-inner { gap: 22px; }
    /* 品牌副标语过长, 窄桌面隐藏以给7项单行导航让位 */
    .brand-tag { display: none; }
    .lang-opt { padding: 5px 8px; font-size: 12.5px; }
}

@media (max-width: 1024px) {
    .main-nav { gap: 16px; }
    .header-inner { gap: 14px; }
    .container { padding: 0 20px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .incentive-card { grid-template-columns: 1.3fr 1fr; }
    .incentive-main { padding: 40px 36px; }
    .hero-inner { gap: 40px; }
    .detail-layout { grid-template-columns: 1fr 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 56px; }
    .hero-text p { max-width: 640px; }
    .hero-media img { max-height: 420px; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split-reverse .split-media { order: 0; }
    .quote-wrap { grid-template-columns: 1fr; }
    .quote-side { position: static; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-meta { position: static; }
}

@media (max-width: 768px) {
    .site-header { background: #fff; }
    .main-nav {
        position: fixed;
        top: 78px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 22px;
        box-shadow: 0 18px 30px rgba(47, 72, 88, .14);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all .25s ease;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-link { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .nav-link.active { border-bottom-color: var(--orange); }
    .nav-mobile-cta { display: inline-block; margin-top: 18px; text-align: center; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; margin-left: 0; width: 40px; }
    /* 移动端: 语言切换顶到右侧, 紧邻汉堡按钮; 品牌区允许收缩截断防溢出 */
    .lang-switch { margin-left: auto; }
    .lang-opt { padding: 5px 7px; font-size: 12px; }
    .brand { flex-shrink: 1; min-width: 0; gap: 10px; }
    .brand-logo-img { height: 40px; }
    .brand-text { min-width: 0; }
    .brand-name { font-size: 14.5px; }
    .brand-name, .brand-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .section { padding: 64px 0; }
    .section-tight { padding: 40px 0 64px; }
    .section-incentive { padding: 52px 0 64px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .incentive-card { grid-template-columns: 1fr; }
    .incentive-main { padding: 34px 26px; }
    .incentive-side { padding: 32px 26px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .trinity { flex-direction: column; align-items: center; gap: 8px; }
    .trinity-step { width: 100%; max-width: 420px; }
    .trinity-arrow svg { transform: rotate(90deg); }
    .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
    .quote-form { padding: 32px 24px; }
    .detail-content { padding: 30px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 48px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .header-inner { height: 66px; gap: 14px; }
    .main-nav { top: 66px; }
    .site-main { padding-top: 66px; }
    .brand-name { font-size: 14.5px; }
    .brand-tag { font-size: 10px; }
    .brand-mark svg { width: 32px; height: 32px; }
    .brand-logo-img { height: 40px; }
    .footer-logo img { height: 30px; }

    .hero-inner { padding-top: 30px; }
    .hero-text h1 { font-size: 29px; }
    .hero-text p { font-size: 15.5px; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-media img { border-radius: 16px; }

    .grid-3, .grid-4, .form-row, .contact-grid { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .section-head { margin-bottom: 38px; }
    .card { padding: 26px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .owner-note { flex-direction: row; font-size: 14px; }
}

@media (max-width: 360px) {
    body { font-size: 15px; }
    .btn { padding: 11px 20px; font-size: 14px; }
    .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
    .brand-strip { gap: 14px; }
    .brand-placeholder { width: 100%; }
}

/* ============================================================
   首页(Home)新增区块
   ============================================================ */

/* ---------- 首屏轮播(全宽大图 + 白字叠加) ---------- */
.hero-carousel { position: relative; height: 700px; overflow: hidden; background: var(--navy-deep); }
.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(35, 56, 69, .88) 0%, rgba(35, 56, 69, .58) 46%, rgba(35, 56, 69, .12) 100%);
}
/* 2026-09-26 首轮播 solar/battery 换 4096 超清 AI 实景图: solar 房子主体 x20-85%, battery 单体电池 x45-57%, 桌面端竖向可见 84%, 主体完整 */
.slide-solar { background-position: center 35%; }
.slide-battery { background-position: center 30%; }
.slide-aircon { background-position: center 25%; }
.carousel-caption {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* 轮播标签条: 白字橙色底, align-self 收缩宽度(flex 纵向容器默认会拉通栏) */
.carousel-caption .section-label { margin-bottom: 18px; background: rgba(247, 142, 24, .95); color: #fff; align-self: flex-start; }
.carousel-caption h1 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin-bottom: 16px; max-width: 680px; }
.carousel-caption p { color: rgba(255, 255, 255, .90); font-size: 16.5px; max-width: 580px; margin-bottom: 30px; }
.carousel-caption .hero-actions { margin-bottom: 0; }
.btn-outline-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); transform: translateY(-2px); }
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(35, 56, 69, .38);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, border-color .25s ease;
}
.carousel-arrow:hover { background: var(--orange); border-color: var(--orange); }
.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 76px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.carousel-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}
.carousel-dot:hover { border-color: var(--orange); }
.carousel-dot.active { background: var(--orange); border-color: var(--orange); }

/* ---------- 数据条(悬浮于 hero 下缘) ---------- */
.stats-wrap { margin-top: -46px; position: relative; z-index: 2; }
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.stat { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--orange); margin-bottom: 4px; line-height: 1.2; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- 服务卡(首页三大服务) ---------- */
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--orange);
}
.service-link svg { transition: transform .2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- 补贴横幅 ---------- */
.section-rebate { padding-top: 0; }
.rebate-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-radius: var(--radius);
    padding: 34px 38px;
    color: #fff;
    box-shadow: 0 14px 34px rgba(247, 142, 24, .30);
}
.rebate-icon {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rebate-icon svg { width: 30px; height: 30px; }
.rebate-text { flex: 1; }
.rebate-text h2 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 750; margin-bottom: 8px; }
.rebate-text p { color: rgba(255, 255, 255, .92); font-size: 15px; max-width: 720px; }
.btn-light { background: var(--white); color: var(--orange-dark); border-color: var(--white); }
.btn-light:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }
.section-rebate .fineprint { margin-top: 16px; }

/* ---------- 客户评价(头像卡片无缝循环滚动) ---------- */
.testi-marquee {
    position: relative;
    overflow: hidden;
    padding: 8px 0 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.testi-track {
    display: flex;
    width: max-content;
    /* 卡片组末尾复制一份, 平移 50%(一组宽度, 靠 margin-right 计入)后归零 => 无缝 */
    animation: testi-scroll 55s linear infinite;
    will-change: transform;
}
.testi-marquee:hover .testi-track,
.testi-marquee:focus-within .testi-track { animation-play-state: paused; }
@keyframes testi-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .testi-track { animation: none; }
    .testi-marquee { overflow-x: auto; }
}
.testi-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 3px solid var(--orange);
    width: 400px;
    flex: 0 0 auto;
    margin-right: 26px;
}
.testi-card p { font-size: 15px; color: var(--text); flex: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px rgba(247, 142, 24, .35);
}
.testi-author-info strong { display: block; color: var(--navy); font-size: 15.5px; }
.testi-author-info span { font-size: 13px; color: var(--muted); }
.testi-stars { display: flex; gap: 3px; color: var(--orange); }
.testi-stars svg { width: 17px; height: 17px; }

/* ---------- 首页响应式 ---------- */
@media (max-width: 960px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(odd) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .rebate-banner { flex-direction: column; align-items: flex-start; }
    .testi-card { width: 360px; }
    .hero-carousel { height: 620px; }
    .carousel-caption p { font-size: 15px; }
}

@media (max-width: 768px) {
    .hero-carousel { height: 580px; }
    .carousel-caption { justify-content: flex-end; padding-bottom: 96px; }
    .carousel-arrow { width: 40px; height: 40px; }
    .carousel-arrow.prev { left: 12px; }
    .carousel-arrow.next { right: 12px; }
    .carousel-dots { bottom: 60px; }
    /* 遮罩改纵向底重: 文字沉底, 释放图片上半部分(部分业务图中央偏暗, 横向遮罩窄屏下发闷) */
    .carousel-slide::before {
        background: linear-gradient(180deg, rgba(35, 56, 69, .12) 0%, rgba(35, 56, 69, .45) 55%, rgba(35, 56, 69, .88) 100%);
    }
    /* 内页banner同款底重遮罩; 业务图沿用首页移动端取景(solar/battery 55%, aircon 65%), about/contact 主体偏右取 62% */
    .page-banner::before {
        background: linear-gradient(180deg, rgba(35, 56, 69, .28) 0%, rgba(35, 56, 69, .45) 55%, rgba(35, 56, 69, .9) 100%);
    }
    .page-banner.banner-lg { padding: 72px 0 80px; }
    .page-banner.banner-sm { padding: 80px 0 70px; min-height: 690px; }
    .page-banner .hero-text p { font-size: 15.5px; }
    .page-banner.banner-solar,
    .page-banner.banner-battery { background-position: 55% center; }
    .page-banner.banner-aircon { background-position: 65% center; }
    .page-banner.banner-about,
    .page-banner.banner-contact,
    .page-banner.banner-projects { background-position: 62% center; }
    /* 窄屏横向大幅裁切: 新图主体位置 solar 房子 x20-85% 取 55% (入户门+屋顶阵列保留), battery 单体 x45-57% 取 55%, aircon 内机 x54-78% 取 65% */
    .slide-solar { background-position: 55% center; }
    .slide-battery { background-position: 55% center; }
    .slide-aircon { background-position: 65% center; }
}

@media (max-width: 480px) {
    .stats-wrap { margin-top: -30px; }
    .stat { padding: 20px 12px; }
    .stat strong { font-size: 24px; }
    .rebate-banner { padding: 28px 24px; }
    .testi-card { padding: 26px 22px; width: calc(100vw - 64px); }
    .testi-author { gap: 12px; }
    .testi-avatar { width: 52px; height: 52px; }
    .testi-author-info strong { font-size: 15px; }
    .hero-carousel { height: 540px; }
    .carousel-caption h1 { font-size: 26px; }
    .carousel-caption p { font-size: 14.5px; margin-bottom: 24px; }
    .carousel-arrow { display: none; }
    .carousel-dots { bottom: 52px; }
}

/* ========== 全站动效(2026-09): 滚动入场 / 首屏文字级联 / 回到顶部 ========== */
/* 入场动画由 body.anim-on 门控(site.js 添加), 无 JS / 不支持 IO / 减少动态时内容直接可见 */
body.anim-on .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease var(--rd, 0ms), transform .65s cubic-bezier(.16, 1, .3, 1) var(--rd, 0ms);
    will-change: opacity, transform;
}
body.anim-on .reveal-zoom { transform: scale(.94); }
body.anim-on .reveal.in { opacity: 1; transform: none; }

/* 首屏文字级联: 首页轮播 active 张与内页 banner, label→标题→正文→按钮依次入场 */
@keyframes cascade-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
body.anim-on .carousel-slide.active .carousel-caption > *,
body.anim-on .page-banner .hero-text > *,
body.anim-on .page-banner.banner-sm .container > h1,
body.anim-on .page-banner.banner-sm .container > p {
    animation: cascade-in .7s cubic-bezier(.16, 1, .3, 1) both;
}
body.anim-on .carousel-slide.active .carousel-caption > :nth-child(1),
body.anim-on .page-banner .hero-text > :nth-child(1),
body.anim-on .page-banner.banner-sm .container > :nth-child(1) { animation-delay: .12s; }
body.anim-on .carousel-slide.active .carousel-caption > :nth-child(2),
body.anim-on .page-banner .hero-text > :nth-child(2),
body.anim-on .page-banner.banner-sm .container > :nth-child(2) { animation-delay: .2s; }
body.anim-on .carousel-slide.active .carousel-caption > :nth-child(3),
body.anim-on .page-banner .hero-text > :nth-child(3),
body.anim-on .page-banner.banner-sm .container > :nth-child(3) { animation-delay: .28s; }
body.anim-on .carousel-slide.active .carousel-caption > :nth-child(4),
body.anim-on .page-banner .hero-text > :nth-child(4) { animation-delay: .36s; }
body.anim-on .carousel-slide.active .carousel-caption > :nth-child(5),
body.anim-on .page-banner .hero-text > :nth-child(5) { animation-delay: .44s; }

/* 数据条 hover 数字点亮 */
.stats-bar .stat strong { transition: color .25s ease; }
.stats-bar .stat:hover strong { color: var(--orange); }

/* 回到顶部 */
.back-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, background .2s ease, visibility .3s;
    z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--orange); }
.back-top svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
    .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* 减少动态偏好: 入场/级联全部直接呈现 */
@media (prefers-reduced-motion: reduce) {
    body.anim-on .reveal { opacity: 1; transform: none; transition: none; }
    body.anim-on .carousel-slide.active .carousel-caption > *,
    body.anim-on .page-banner .hero-text > *,
    body.anim-on .page-banner.banner-sm .container > h1,
    body.anim-on .page-banner.banner-sm .container > p { animation: none; }
    .back-top { transition: none; }
}
