* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #ffffff;
    color: #1e2a3e;
    line-height: 1.5;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 通用工具类 ========== */
.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 1rem;
}
.orange {
    color: #fe600a;
}

/* ========== 标题装饰 ========== */
.title-decoration {
    width: 60px;
    height: 4px;
    background: #fe600a;
    margin: 12px auto 24px;
    border-radius: 4px;
}
/* 某些页面使用不同尺寸 */
.title-decoration-sm {
    width: 60px;
    height: 3px;
    background: #fe600a;
    margin: 8px auto 24px;
    border-radius: 4px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e2a3e;
}
.section-sub {
    text-align: center;
    color: #6c7a89;
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1rem;
}

/* ========== 按钮 ========== */
.btn-primary {
    display: inline-block;
    background-color: #fe600a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(254, 96, 10, 0.2);
}
.btn-primary:hover {
    background-color: #e05400;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(254, 96, 10, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fe600a;
    color: #fe600a;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
}
.btn-outline:hover {
    background: #fe600a;
    color: white;
}

.btn-small {
    background: transparent;
    border: 1px solid #fe600a;
    color: #fe600a;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-small:hover {
    background: #fe600a;
    color: white;
}

/* ========== Header / 导航 ========== */
header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fe600a;
    letter-spacing: -0.5px;
}
.logo h1 a {
    color: #fe600a;
    text-decoration: none;
}
.logo p {
    font-size: 0.8rem;
    color: #5a6874;
    letter-spacing: 1px;
}

/* 导航菜单 */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.2s ease;
    font-size: 1rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: #fe600a;
    border-bottom-color: #fe600a;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #fe600a;
    cursor: pointer;
    transition: 0.2s;
    padding: 6px;
}
.hamburger:hover {
    opacity: 0.8;
}

/* ========== Hero / 页面头部区 ========== */
.hero {
    background: linear-gradient(135deg, #fff6f0 0%, #ffffff 100%);
    padding: 70px 0 80px;
    border-bottom: 1px solid #ffe2cf;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.hero h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1e2a3e;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero h2 span {
    color: #fe600a;
}
.hero p {
    font-size: 1.2rem;
    color: #4a5b6b;
    margin-bottom: 32px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页面通用头部 (品牌/团购/公司等) */
.page-header {
    background: linear-gradient(135deg, #fff6f0 0%, #ffffff 100%);
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 1px solid #ffe2cf;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e2a3e;
}
.page-header h1 span {
    color: #fe600a;
}
.page-header p {
    font-size: 1.1rem;
    color: #5a6874;
    margin-top: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero-案例/知识等变体 */
.hero-cases,
.hero-knowledge,
.hero-service,
.hero-calc {
    background: linear-gradient(135deg, #fff6f0 0%, #ffffff 100%);
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 1px solid #ffe2cf;
}
.hero-cases h2,
.hero-knowledge h2,
.hero-service h2,
.hero-calc h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e2a3e;
    margin-bottom: 16px;
}
.hero-cases h2 span,
.hero-knowledge h2 span,
.hero-service h2 span,
.hero-calc h2 span {
    color: #fe600a;
}
.hero-cases p,
.hero-knowledge p,
.hero-service p,
.hero-calc p {
    font-size: 1.1rem;
    color: #5a6874;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== 特色/优势卡片 ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease;
    border: 1px solid #f0f2f5;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(254, 96, 10, 0.1);
    border-color: #fe600a20;
}
.feature-icon {
    font-size: 3rem;
    color: #fe600a;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: #5a6874;
}

/* 特色优势行 (service页面使用) */
.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin: 60px 0;
}
.feature-block {
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0e8e2;
    transition: 0.2s;
}
.feature-block i {
    font-size: 2.2rem;
    color: #fe600a;
    margin-bottom: 18px;
}
.feature-block h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ========== 案例卡片 ========== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.case-item {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}
.case-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.case-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.case-item:hover .case-img {
    transform: scale(1.02);
}

.case-info {
    padding: 20px;
}
.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.case-tag {
    color: #fe600a;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: inline-block;
    background: #fe600a10;
    padding: 4px 12px;
    border-radius: 30px;
}

/* 案例卡片 (case/index-xgt 使用) */
.case-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0eef2;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 36px rgba(254, 96, 10, 0.12);
    border-color: #fe600a30;
}
.case-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.tag {
    background: #fe600a10;
    color: #fe600a;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}
.case-meta {
    display: flex;
    gap: 20px;
    color: #6c7a89;
    font-size: 0.85rem;
    margin: 12px 0;
    border-top: 1px solid #f0ece6;
    padding-top: 12px;
}
.case-meta i {
    color: #fe600a;
    width: 18px;
}
.case-desc {
    color: #546474;
    margin: 12px 0 16px;
    line-height: 1.45;
    font-size: 0.9rem;
}

/* ========== 服务项目 ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.services-grid-wide {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin: 60px 0 40px;
}
.service-item i {
    font-size: 2.8rem;
    color: #fe600a;
    margin-bottom: 16px;
}
.service-item h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.service-item p {
    color: #5f6c7a;
    font-size: 0.9rem;
}

.service-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0eef2;
    text-align: center;
    padding: 32px 24px;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 36px rgba(254, 96, 10, 0.12);
    border-color: #fe600a30;
}
.service-icon {
    font-size: 3.5rem;
    color: #fe600a;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.service-card p {
    color: #5a6874;
    margin-bottom: 20px;
    line-height: 1.5;
}
.service-tag {
    display: inline-block;
    background: #fe600a10;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fe600a;
}

/* ========== 本地服务区域 ========== */
.local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 32px;
}
.filter-btn {
    background: #f1f5f9;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}
.filter-btn.active,
.filter-btn:hover {
    background: #fe600a;
    color: white;
}

/* ========== 装修常识 - 滚动区域 ========== */
.knowledge-section {
    background: #fefaf7;
    border-top: 1px solid #fde5d4;
    border-bottom: 1px solid #fde5d4;
}
.knowledge-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1e2a3e;
    margin-bottom: 12px;
}
.knowledge-desc {
    text-align: center;
    color: #fe600a;
    margin-bottom: 40px;
    font-size: 1rem;
}

.knowledge-scroll-section {
    padding: 60px 0 70px;
    background: #ffffff;
}

.two-columns-scroll,
.two-columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.scroll-col,
.knowledge-col {
    flex: 1;
    min-width: 240px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #ffe2cf;
    padding: 8px 0;
}
.knowledge-col {
    background: #fefaf7;
    padding: 0;
    min-width: 280px;
}
.scroll-col h4 {
    font-size: 1.3rem;
    padding: 16px 20px 8px 20px;
    color: #fe600a;
    border-bottom: 2px solid #fe600a20;
    margin-bottom: 8px;
}

.col-header {
    background: #ffffff;
    padding: 22px 24px 12px;
    border-bottom: 2px solid #fe600a20;
}
.col-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fe600a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.col-header p {
    color: #6c7a89;
    font-size: 0.85rem;
    margin-top: 6px;
}

.scroll-container,
.scroll-wrapper {
    height: 360px;
    overflow-y: hidden;
    position: relative;
    cursor: default;
}
.scroll-wrapper {
    height: 480px;
}

.scroll-list {
    margin: 0;
    padding: 0 20px 8px 20px;
    list-style: none;
}
.scroll-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid #f0e9e3;
    transition: background 0.2s;
}
.scroll-list li:hover {
    background: #fff4ed;
    padding-left: 4px;
}
.scroll-list li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
    transition: color 0.2s;
}
.scroll-list li a:hover {
    color: #fe600a;
}
.knowledge-date {
    font-size: 0.75rem;
    color: #9aa8b7;
    background: #f8f9fc;
    padding: 4px 8px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
}

.scroll-container.paused .scroll-list {
    animation-play-state: paused;
}

/* ========== 装修小贴士 ========== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 50px 0 20px;
}
.tip-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0e2d6;
    transition: 0.2s;
}
.tip-card i {
    font-size: 2.2rem;
    color: #fe600a;
    margin-bottom: 16px;
}
.tip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.tip-card p {
    color: #5a6874;
    font-size: 0.9rem;
}

/* ========== 品牌/团购 - 商品网格 ========== */
.brand-grid,
.product-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.product-grid {
    grid-template-columns: repeat(4, 1fr);
}

.brand-card,
.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #f0f2f5;
}
.brand-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(254, 96, 10, 0.1);
    border-color: #fe600a30;
}

.brand-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.brand-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 6px solid #fefaf7;
    padding: 10px;
}
.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-info {
    padding: 20px;
}
.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e2a3e;
}
.brand-desc {
    font-size: 0.85rem;
    color: #5a6874;
    margin-bottom: 12px;
    line-height: 1.5;
}
.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.brand-tag {
    background: #fe600a10;
    color: #fe600a;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 30px;
}

/* 团购商品卡片 */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.product-info {
    padding: 16px;
}
.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1e2a3e;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 6px;
}
.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fe600a;
}
.old-price {
    font-size: 0.85rem;
    color: #8e9eae;
    text-decoration: line-through;
}
.product-tag {
    background: #fe600a10;
    color: #fe600a;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 8px;
}

/* 品类标题 (品牌/团购) */
.category-section {
    margin: 48px 0;
    scroll-margin-top: 80px;
}
.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 5px solid #fe600a;
    display: flex;
    align-items: center;
    gap: 12px;
}
.category-title i {
    color: #fe600a;
    font-size: 1.6rem;
}
.category-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.category-title a:hover {
    color: #fe600a;
}

/* ========== 城市列表 (装修公司) ========== */
.city-section {
    padding: 60px 0 40px;
}
.region-group {
    margin-bottom: 50px;
}
.region-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e2a3e;
    border-left: 5px solid #fe600a;
    padding-left: 20px;
    margin-bottom: 30px;
}
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    list-style: none;
}
.city-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.city-card:hover {
    transform: translateY(-4px);
    border-color: #fe600a40;
    box-shadow: 0 10px 20px rgba(254, 96, 10, 0.1);
}
.city-card a {
    text-decoration: none;
    display: block;
}
.city-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e2a3e;
    margin-bottom: 6px;
}
.city-desc {
    display: block;
    font-size: 0.75rem;
    color: #8f9eb2;
    line-height: 1.3;
}

.search-city {
    margin-bottom: 40px;
    text-align: center;
}
.search-input {
    width: 100%;
    max-width: 400px;
    padding: 14px 20px;
    border-radius: 60px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
    background: white;
}
.search-input:focus {
    border-color: #fe600a;
    box-shadow: 0 0 0 2px #fe600a20;
}

/* ========== 流程步骤 (service) ========== */
.process-section {
    background: #fefaf7;
    padding: 70px 0;
    margin: 20px 0;
}
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.step-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    background: white;
    border-radius: 36px;
    padding: 28px 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
    transition: 0.2s;
    border: 1px solid #ffe2cf;
}
.step-number {
    width: 48px;
    height: 48px;
    background: #fe600a;
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* ========== CTA ========== */
.cta-simple {
    background: #ffffff;
    border-radius: 48px;
    margin: 20px 0 60px;
    text-align: center;
    padding: 48px 20px;
    background: linear-gradient(145deg, #fff8f3, #ffffff);
    border: 1px solid #fe600a20;
}
.cta-simple h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* ========== 热门案例推荐 ========== */
.hot-cases {
    background: #fefaf7;
    padding: 50px 0;
    margin: 20px 0;
    border-radius: 48px;
}

/* ========== 悬浮导航 (团购) ========== */
.float-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffe2cf;
    transition: all 0.2s;
    cursor: pointer;
    color: #1e2a3e;
    font-size: 0.7rem;
    text-decoration: none;
}
.float-btn i {
    font-size: 1.3rem;
    margin-bottom: 3px;
    color: #fe600a;
}
.float-btn span {
    font-size: 0.6rem;
    font-weight: 500;
}
.float-btn:hover {
    transform: scale(1.05);
    background: #fe600a;
    color: white;
}
.float-btn:hover i {
    color: white;
}

/* ========== 装修费用计算器 ========== */
.calc-card {
    max-width: 1000px;
    margin: 40px auto 60px;
    background: #ffffff;
    border-radius: 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0e9e2;
}
.calc-inner {
    padding: 40px 40px 48px;
}

.form-group {
    margin-bottom: 28px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #1e2a3e;
}
.form-group label .required {
    color: #fe600a;
}
.form-group input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 48px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s;
    background: #ffffff;
    font-family: inherit;
}
.form-group input[type="text"]:focus {
    border-color: #fe600a;
    box-shadow: 0 0 0 3px rgba(254, 96, 10, 0.1);
}
.form-group input[type="text"].error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.input-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
input[type="range"] {
    flex: 2;
    height: 6px;
    -webkit-appearance: none;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
}
input[type="range"]:focus {
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #fe600a;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(254, 96, 10, 0.4);
}
.area-number {
    flex: 0 0 90px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 10px 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fe600a;
}

.select-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.select-group select,
.select-group .radio-group {
    flex: 1;
    padding: 12px 16px;
    border-radius: 48px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e2a3e;
    cursor: pointer;
    transition: 0.2s;
}
.select-group select:focus {
    border-color: #fe600a;
    outline: none;
}
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f9f9fc;
    padding: 4px 16px;
    border-radius: 60px;
}
.radio-group label {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    cursor: pointer;
}
input[type="radio"] {
    accent-color: #fe600a;
    width: 16px;
    height: 16px;
}

.btn-calc {
    background: #fe600a;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(254, 96, 10, 0.3);
    margin-top: 4px;
}
.btn-calc:hover {
    background: #e05400;
    transform: translateY(-2px);
}

/* 结果展示 */
.result-box {
    background: #fefaf7;
    border-radius: 32px;
    padding: 28px 24px;
    margin: 24px 0 0 0;
    text-align: center;
    border: 1px solid #ffe5d6;
    display: none;
}
.result-box.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fe600a;
    letter-spacing: -1px;
}
.result-price .unit {
    font-size: 1rem;
    font-weight: normal;
    color: #6c7a89;
}
.result-price .sub {
    font-size: 0.75rem;
    color: #8e9eae;
    margin-top: 4px;
}

.result-detail {
    margin-top: 16px;
    text-align: left;
}
.result-detail .item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #f0ede8;
    font-size: 0.9rem;
}
.result-detail .item:last-child {
    border-bottom: none;
}
.result-detail .item .label {
    color: #4a5b6b;
}
.result-detail .item .value {
    font-weight: 600;
    color: #1e2a3e;
}
.result-detail .item .value.orange {
    color: #fe600a;
}

.result-note {
    text-align: center;
    font-size: 0.75rem;
    color: #8e9eae;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #f0ede8;
}

.result-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.result-actions .btn-primary,
.result-actions .btn-outline {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
    display: inline-block;
}
.result-actions .btn-primary {
    background: #fe600a;
    color: #fff;
    border: none;
}
.result-actions .btn-primary:hover {
    background: #e05400;
}
.result-actions .btn-outline {
    background: transparent;
    color: #fe600a;
    border: 1.5px solid #fe600a;
}
.result-actions .btn-outline:hover {
    background: #fe600a10;
}

.note {
    font-size: 0.8rem;
    color: #8a99aa;
    text-align: center;
    margin-top: 24px;
    border-top: 1px solid #ede6df;
    padding-top: 24px;
}

/* FAQ 常见问题 */
.faq-section {
    background: #ffffff;
    padding: 40px 0 70px;
}
.faq-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.faq-item {
    background: #fefaf7;
    border-radius: 28px;
    padding: 24px;
    transition: 0.2s;
}
.faq-item h4 {
    color: #fe600a;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* ========== 弹窗 Modal (calc 独立) ========== */
#appointmentModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
#appointmentModal .modal-content {
    background: #fff;
    max-width: 420px;
    width: 92%;
    border-radius: 24px;
    padding: 24px 20px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}
#appointmentModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
#appointmentModal .modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #1e2a3e;
}
#appointmentModal .modal-header h3 i {
    color: #fe600a;
    margin-right: 8px;
}
#appointmentModal .modal-close {
    font-size: 1.6rem;
    cursor: pointer;
    color: #8a9aaa;
    line-height: 1;
}
#appointmentModal .modal-close:hover {
    color: #1e2a3e;
}
#appointmentModal .modal-type-group {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
#appointmentModal .modal-type-group label {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.78rem;
    transition: 0.2s;
    white-space: nowrap;
}
#appointmentModal .modal-type-group label.active {
    border-color: #fe600a;
    background: #fefaf7;
}
#appointmentModal .modal-type-group label:hover {
    border-color: #fe600a;
}
#appointmentModal .modal-type-group input[type="radio"] {
    margin-right: 4px;
    transform: scale(0.9);
}
#appointmentModal .modal-field {
    margin-bottom: 12px;
}
#appointmentModal .modal-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: #1e2a3e;
}
#appointmentModal .modal-field input,
#appointmentModal .modal-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    box-sizing: border-box;
    font-family: inherit;
    transition: 0.2s;
}
#appointmentModal .modal-field textarea {
    resize: vertical;
    min-height: 80px;
}
#appointmentModal .modal-field input:focus,
#appointmentModal .modal-field textarea:focus {
    border-color: #fe600a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 96, 10, 0.1);
}
#appointmentModal .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
#appointmentModal .modal-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}
#appointmentModal .modal-actions .btn-confirm {
    background: #fe600a;
    color: #fff;
}
#appointmentModal .modal-actions .btn-confirm:hover {
    background: #e05400;
}
#appointmentModal .modal-actions .btn-cancel {
    background: #f0f0f0;
    color: #333;
}
#appointmentModal .modal-actions .btn-cancel:hover {
    background: #e0e0e0;
}

/* ========== Footer ========== */
footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 24px;
    margin-top: 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-col p,
.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    transition: 0.2s;
}
.footer-col a:hover {
    color: #fe600a;
}
.copyright {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
}
.copyright a {
    color: #cbd5e1;
    text-decoration: none;
}

/* ============================================================
   响应式设计
   ============================================================ */

/* 平板及以下 */
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .float-nav {
        right: 12px;
        top: auto;
        bottom: 20%;
        transform: none;
    }
    .float-btn {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        position: relative;
    }
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 24px;
        border-top: 1px solid #f0f0f0;
        margin-top: 16px;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.02);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
    }
    .nav-links ul li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 1.1rem;
    }

    .container {
        padding: 0 20px;
    }

    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-cases h2,
    .hero-knowledge h2,
    .hero-service h2,
    .hero-calc h2 {
        font-size: 1.8rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 0;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .two-columns-scroll,
    .two-columns {
        flex-direction: column;
    }
    .scroll-container,
    .scroll-wrapper {
        height: 320px;
    }

    .calc-inner {
        padding: 28px 20px;
    }
    .result-price {
        font-size: 2rem;
    }
    .select-group {
        flex-direction: column;
    }
    .radio-group {
        justify-content: center;
    }
    .result-actions {
        flex-direction: column;
    }
    .result-detail .item {
        font-size: 0.8rem;
    }

    .category-title {
        font-size: 1.5rem;
    }
    .brand-grid {
        gap: 20px;
    }
    .brand-logo {
        height: 120px;
    }

    .product-grid {
        gap: 16px;
    }
    .product-img {
        height: 180px;
    }

    .filter-bar {
        gap: 8px;
    }
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .city-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 14px;
    }
    .city-name {
        font-size: 1rem;
    }
    .city-desc {
        font-size: 0.7rem;
    }
    .region-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 400px) {
    #appointmentModal .modal-type-group label {
        font-size: 0.65rem;
        padding: 6px 2px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   桌面端强制显示导航 (覆盖 hamburger)
   ============================================================ */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
    .hamburger {
        display: none !important;
    }
}