/*
 * 苏州福星搬家运输服务有限公司 官网样式
 * 主题色：中国红 #c62828 / #d32f2f
 * 辅助色：深灰 #333、浅灰 #f5f5f5
 */

:root {
    --primary: #c62828;
    --primary-dark: #b71c1c;
    --primary-light: #ffebee;
    --secondary: #ff6f00;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f2f5;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 auto;
    max-width: 900px;
}

.section-title .title-bar {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* 顶部联系栏 */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .divider {
    margin: 0 12px;
    opacity: 0.5;
}

.phone-link {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
}

.phone-link strong {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* 主导航 */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text small {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 130px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 999;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-menu .mobile-cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 50px;
    border-bottom: none;
    margin-top: 10px;
}

/* Hero 区域 */
.hero {
    position: relative;
    display: block;
    background: #6b7078;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1 1 0;
    max-width: 50%;
    min-width: 0;
    padding: 0;
}

/* 首屏两栏：左侧文字 + 右侧轮播 */
.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 56px;
}
.hero-carousel-col {
    flex: 1 1 0;
    max-width: 50%;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffcc00;
}

.hero p {
    font-size: 1.08rem;
    margin-bottom: 28px;
    opacity: 0.95;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.hero-phone:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* 服务特色条 */
.feature-bar {
    background: var(--primary);
    padding: 30px 0;
    color: #fff;
}

.feature-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
}

.feature-bar-item .icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.feature-bar-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-bar-item p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 服务项目 */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card .card-image {
    height: 200px;
    overflow: hidden;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.service-card .card-body {
    padding: 24px;
}

.service-card .card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 关于我们 */
.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-image .experience-badge {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.95rem;
    margin-top: 4px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* 关于我们 - 品牌口号 */
.about-slogan {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.about-features li .check {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* 统计数据 */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 服务流程 */
.process-section {
    background: var(--bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: process;
}

.process-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.process-card::before {
    counter-increment: process;
    content: counter(process);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.3);
}

.process-card .icon {
    font-size: 3rem;
    margin-bottom: 16px;
    margin-top: 10px;
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 客户评价 */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-author .info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-author .info .stars {
    color: #ffb300;
    font-size: 0.9rem;
}

/* CTA 区域 */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.cta-section .btn-secondary:hover {
    background: #fff;
    color: var(--primary);
}

/* 页脚 */
.main-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--transition);
}

.footer-phone a:hover {
    background: var(--primary-dark);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.promise-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 6px;
}

/* 浮动按钮 */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.phone-float {
    background: var(--primary);
    color: #fff;
}

.quote-float {
    background: var(--secondary);
    color: #fff;
}

/* 内页通用横幅（与首页 hero 轮播样式保持一致：工业灰纯色 + 图片 contain 靠右 + 文字左侧垂直居中） */
.page-banner {
    position: relative;
    background: #6b7078;
    color: #fff;
    overflow: hidden;
}

.page-banner .hero-actions {
    margin-top: 28px;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.95rem;
}

.breadcrumb a:hover {
    color: #ffcc00;
}

/* 服务项目详情页 */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.service-detail-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-detail-item:hover {
    background: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-detail-item .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.service-detail-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-detail-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 表单样式 */
.form-section {
    background: var(--bg-light);
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-info {
    background: #fff8e1;
    color: #b26a00;
    border: 1px solid #ffcc80;
}

/* 联系页面 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-light);
}

/* 提示卡片 */
.tips-card {
    background: var(--primary-light);
    padding: 28px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.tips-card h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.tips-card ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* 关于页面 */
.about-page-section .about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-page-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu.open {
        display: flex;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .feature-bar-grid,
    .stats-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image .experience-badge {
        right: 20px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu {
        top: 80px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .feature-bar-grid,
    .stats-grid,
    .process-grid,
    .services-grid,
    .testimonials-grid,
    .about-features,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-image .experience-badge {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin-top: 20px;
        display: inline-block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }
}

/* 首页 Hero 定位标签 */
.hero-position-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}

/* 服务覆盖范围 */
.coverage-section {
    background: var(--bg-light);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.coverage-item {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.coverage-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.coverage-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-light);
    font-size: 32px;
    text-align: center;
}

.coverage-item h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 14px;
}

.coverage-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .coverage-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 首页 Hero 轮播背景 ===== */
/* 工业灰纯色背景，图片完整显示（contain）靠右呈现 */
.hero-carousel {
    background-image: none;
    background: #6b7078;
}
/* 轮播图独占一个通栏 div，置于首屏顶部；文字整体下移 */
.hero-slides {
    position: relative;
    /* 与文字同宽、统一高度 500px 的横向轮播框；图片 contain 完整显示不裁切，多余区域以工业灰填充 */
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #6b7078;
    border-radius: 10px;
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    /* 固定框内完整显示整张图（contain），不裁切；多余空间以工业灰填充 */
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-overlay {
    display: none;
}

/* ===== 移动端优化补丁（手机体验专项） ===== */

/* 全局：优化触摸交互，消除点击延迟与高亮残留 */
@media (max-width: 768px) {
    html { -webkit-text-size-adjust: 100%; }
    body { overflow-x: hidden; }
    a, button { -webkit-tap-highlight-color: transparent; }
    a:active, button:active { opacity: 0.85; }

    .container { padding: 0 18px; }

    /* 顶栏/导航更紧凑 */
    .main-header { padding: 10px 0; }
    .logo-icon { font-size: 1.6rem; width: 38px; height: 38px; }
    .logo-text strong { font-size: 1.05rem; }
    .logo-text small { font-size: 0.7rem; }

    /* Hero：两栏改竖向堆叠，先文字后轮播，适配手机 */
    .hero-grid { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 32px; padding-bottom: 36px; }
    .hero-content { max-width: 100%; padding: 0; }
    .hero-carousel-col { max-width: 100%; }
    .hero-slides { width: 100%; height: 300px; }
    .hero h1 { font-size: 1.9rem; line-height: 1.25; }
    .hero h1 span { display: inline-block; }
    .hero p { font-size: 0.98rem; margin-bottom: 24px; line-height: 1.65; }
    .hero-badge { font-size: 0.82rem; padding: 6px 14px; margin-bottom: 16px; }
    .hero-position-tag { font-size: 0.82rem; padding: 6px 14px; margin-bottom: 14px; }
    .hero-phone { font-size: 1.05rem; padding: 12px 22px; }

    /* 特色条：2 列排布 */
    .feature-bar { padding: 20px 0; }
    .feature-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .feature-bar-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; text-align: left; }
    .feature-bar-item .icon { font-size: 1.7rem; }

    /* 服务卡片图片高度收敛 */
    .service-card .card-image { height: 150px; }
    .service-card .card-body { padding: 18px; }
    .services-grid { gap: 16px; }
    .service-card h3 { font-size: 1.05rem; }

    /* 内页横幅：与首页一致，窄屏竖向堆叠（文字在上、轮播在下） */
    .page-banner { padding: 0; }
    .page-banner h1 { font-size: 1.8rem; }

    /* 详情项改为纵向，图标缩小 */
    .service-detail-item { flex-direction: column; gap: 14px; padding: 22px; }
    .service-detail-item .icon { width: 52px; height: 52px; font-size: 1.7rem; }

    /* 联系信息卡片紧凑 */
    .contact-info-item { padding: 16px; }

    /* 表单卡片留白收紧，输入框字号≥16px 防 iOS 缩放 */
    .form-card { padding: 22px 18px; }
    .form-group input, .form-group select, .form-group textarea { font-size: 16px; }

    /* 按钮整宽更易点按 */
    .hero-actions .btn { width: 100%; text-align: center; }
    .hero-actions { width: 100%; }
    .hero-actions .hero-phone { width: 100%; justify-content: center; }

    /* 页脚 */
    .footer-grid { gap: 24px; }
    .footer-col { text-align: left; }

    /* 底部留白：给浮动按钮 + 客服按钮腾出空间，避免遮挡内容 */
    .main-footer { padding-bottom: 90px; }

    /* ===== 浮动按钮与客服浮窗的布局协调 ===== */
    /* 浮动按钮（电话/报价）固定在右下角 */
    .floating-actions {
        right: 14px;
        bottom: 16px;
        gap: 10px;
    }
    .float-btn { width: 48px; height: 48px; font-size: 1.3rem; }
    /* 客服浮窗按钮位置由 chat-widget.php 内联样式统一控制（已上移避开浮动按钮） */
}

/* 小屏手机（≤480px）进一步收紧 */
@media (max-width: 480px) {
    .hero-slides { width: 100%; height: 240px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.92rem; }

    .section { padding: 44px 0; }
    .section-title h2 { font-size: 1.5rem; }

    .feature-bar-grid { grid-template-columns: repeat(2, 1fr); }

    .service-card .card-image { height: 130px; }

    .stats-grid { gap: 12px; }

    /* 浮动按钮更紧凑（客服按钮位置由内联样式控制） */
    .floating-actions { right: 12px; bottom: 12px; }
}
