/* ===== 韬通智家 - 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a1628;
    --secondary-dark: #132238;
    --tertiary-dark: #1a2d47;
    --gold: #d4a853;
    --gold-light: #e8b84a;
    --gold-dark: #b8923f;
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --text-light: #cbd5e0;
    --border-color: #2a3a52;
    --hover-bg: #1e3352;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.top-bar {
    background-color: var(--secondary-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    color: var(--text-gray);
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-right a {
    color: var(--text-gray);
}

.top-bar-right a:hover {
    color: var(--gold);
}

/* ===== 主导航 ===== */
.header {
    background-color: var(--primary-dark);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-dark);
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--gold);
    background-color: var(--hover-bg);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 30px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 18px;
}

.header-phone .phone-icon {
    font-size: 20px;
}

/* ===== Banner ===== */
.banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--tertiary-dark) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23d4a853" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px 200px;
    opacity: 0.3;
}

.banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    max-width: 600px;
}

.banner-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(212, 168, 83, 0.15);
    border: 1px solid var(--gold);
    border-radius: 20px;
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 20px;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-white);
}

.banner-title span {
    color: var(--gold);
}

.banner-desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.banner-btns {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--primary-dark);
}

.banner-image {
    width: 450px;
    height: 380px;
    background: linear-gradient(135deg, var(--tertiary-dark), var(--secondary-dark));
    border: 2px solid var(--gold);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-image::before {
    content: '🔍';
    font-size: 120px;
    opacity: 0.2;
    position: absolute;
}

.banner-image-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner-image-text h3 {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 10px;
}

.banner-image-text p {
    color: var(--text-gray);
    font-size: 16px;
}

/* ===== 通用区块 ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(212, 168, 83, 0.1);
    border: 1px solid var(--gold);
    border-radius: 20px;
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--gold);
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 服务项目 ===== */
.services-section {
    background-color: var(--secondary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-more {
    color: var(--gold);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-more:hover {
    gap: 10px;
}

/* ===== 关于我们 ===== */
.about-section {
    background-color: var(--primary-dark);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--tertiary-dark), var(--secondary-dark));
    border: 2px solid var(--gold);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '🏢';
    font-size: 100px;
    opacity: 0.15;
    position: absolute;
}

.about-image-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-image-text h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 10px;
}

.about-image-text p {
    color: var(--text-gray);
}

.about-text {
    flex: 1;
}

.about-text .section-tag {
    margin-bottom: 20px;
}

.about-text h2 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 25px;
    line-height: 1.4;
}

.about-text h2 span {
    color: var(--gold);
}

.about-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 168, 83, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ===== 数据统计 ===== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--tertiary-dark));
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
}

/* ===== 成功案例 ===== */
.cases-section {
    background-color: var(--primary-dark);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.case-image {
    height: 220px;
    background: linear-gradient(135deg, var(--tertiary-dark), var(--secondary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.case-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.8));
}

.case-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background-color: var(--gold);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 600;
}

.case-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-gray);
}

.case-result {
    color: var(--gold);
    font-weight: 600;
}

/* ===== 新闻资讯 ===== */
.news-section {
    background-color: var(--secondary-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--tertiary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.news-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold);
    font-size: 14px;
}

/* ===== 联系我们 ===== */
.contact-section {
    background-color: var(--primary-dark);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--gold);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 2;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.contact-item .phone-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.contact-form-wrap {
    flex: 1;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.contact-form-wrap h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 25px;
}

.contact-form-wrap h3 span {
    color: var(--gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4);
}

/* ===== 底部 ===== */
.footer {
    background-color: #060d18;
    padding: 60px 0 0;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 30px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
}

.footer-col h4 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

.footer-bottom a {
    color: var(--text-gray);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ===== 内页通用 ===== */
.page-banner {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23d4a853" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px 200px;
    opacity: 0.3;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 42px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.page-banner h1 span {
    color: var(--gold);
}

.page-banner p {
    font-size: 18px;
    color: var(--text-gray);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .current {
    color: var(--gold);
}

/* ===== 文章详情页 ===== */
.article-section {
    padding: 60px 0;
}

.article-content-wrap {
    display: flex;
    gap: 40px;
}

.article-main {
    flex: 1;
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(212, 168, 83, 0.15);
    color: var(--gold);
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 28px;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: var(--text-gray);
}

.article-body {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
}

.article-body h2 {
    font-size: 22px;
    color: var(--text-white);
    margin: 35px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--gold);
}

.article-body h3 {
    font-size: 18px;
    color: var(--text-white);
    margin: 25px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 10px;
}

.article-body strong {
    color: var(--gold);
}

.article-body blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background-color: var(--tertiary-dark);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
    font-style: italic;
}

.article-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--tertiary-dark), var(--secondary-dark));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    text-align: center;
}

.article-image-placeholder .icon {
    font-size: 60px;
    opacity: 0.3;
    margin-bottom: 10px;
}

.article-image-placeholder .text {
    color: var(--text-gray);
    font-size: 14px;
}

.article-tags {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags span {
    padding: 6px 15px;
    background-color: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-gray);
}

/* 侧边栏 */
.article-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.sidebar-widget ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    display: block;
}

.sidebar-widget ul li a:hover {
    color: var(--gold);
}

.sidebar-widget ul li .date {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
}

.contact-widget {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: var(--primary-dark);
}

.contact-widget h3 {
    font-size: 20px;
    margin-bottom: 10px;
    border: none;
    color: var(--primary-dark);
}

.contact-widget .phone {
    font-size: 28px;
    font-weight: 700;
    margin: 15px 0;
}

.contact-widget p {
    font-size: 14px;
    opacity: 0.9;
}

/* 相关文章 */
.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background-color: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: var(--gold);
}

.related-item h4 {
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1.5;
}

.related-item .date {
    font-size: 12px;
    color: var(--text-gray);
}

/* ===== 服务详情页 ===== */
.service-detail-section {
    padding: 60px 0;
}

.service-detail-wrap {
    display: flex;
    gap: 40px;
}

.service-detail-main {
    flex: 1;
}

.service-detail-header {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.service-detail-header h1 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.service-detail-header p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 2;
}

.service-detail-content {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.service-detail-content h2 {
    font-size: 24px;
    color: var(--text-white);
    margin: 30px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--gold);
}

.service-detail-content h2:first-child {
    margin-top: 0;
}

.service-detail-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 20px;
    text-indent: 2em;
}

.service-detail-content ul {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-light);
}

.service-detail-content ul li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.service-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.process-step {
    text-align: center;
    padding: 25px 15px;
    background-color: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
}

.process-step .step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 auto 15px;
}

.process-step h4 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-gray);
    text-indent: 0;
    margin: 0;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .current {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    font-weight: 600;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        min-width: auto;
        width: 100%;
    }
    
    .article-content-wrap,
    .service-detail-wrap {
        flex-direction: column;
    }
    
    .article-sidebar {
        width: 100%;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar {
        display: none;
    }
    
    .header .container {
        height: 65px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-phone {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .banner {
        height: auto;
        padding: 60px 0;
    }
    
    .banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-desc {
        font-size: 16px;
    }
    
    .banner-btns {
        justify-content: center;
    }
    
    .banner-image {
        display: none;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .article-main,
    .service-detail-header,
    .service-detail-content {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .service-process {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== 联系页面新增组件 ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.contact-card {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.contact-card-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 168, 83, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-feature h4 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 5px;
}

.contact-feature p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.form-tip {
    background-color: rgba(212, 168, 83, 0.1);
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.form-tip strong {
    color: var(--gold);
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.service-area {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.service-area:hover {
    border-color: var(--gold);
}

.service-area h4 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.service-area ul li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.service-area ul li:last-child {
    border-bottom: none;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-item h4 {
    font-size: 17px;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

/* 联系页面响应式 */
@media (max-width: 1024px) {
    .contact-cards,
    .service-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-features {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-cards,
    .service-areas {
        grid-template-columns: 1fr;
    }
}
