/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px);
    }
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #108775;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: auto;
}

.btn-primary:hover {
    background-color: #a88a55;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #108775;
    border: 2px solid #108775;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    width: auto;
}

.btn-secondary:hover {
    background-color: #108775;
    color: white;
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* 表单按钮 */
.form-button {
    background-color: #108775;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-button:hover {
    background-color: #a88a55;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 文本居中 */
.text-center {
    text-align: center;
}

.text-center.mt-30 {
    margin-top: 30px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #108775;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

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

/* 页面标题 */
.page-header {
    padding: 40px 0;
    background: linear-gradient(135deg, #108775 0%, #0d6b5d 100%);
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #108775;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #108775;
}

.section-title p {
    color: #108775;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background-color: #f8f8f8;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #108775;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #a88a55;
}

.breadcrumb span {
    color: #999;
}

.breadcrumb-home {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.breadcrumb-home i {
    margin-right: 5px;
}

/* 主内容区域 */
.main-content {
    margin-top: 80px;
}

/* 确保面包屑导航不会被头部遮挡 */
.breadcrumb {
    position: relative;
    z-index: 999;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #108775;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #108775;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

/* 子菜单样式 */
.main-nav ul li.has-submenu {
    position: relative;
}

.main-nav ul li.has-submenu > a::before {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.main-nav ul li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 140px;
    z-index: 1001;
    margin-top: 10px;
}

.main-nav ul li .submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.main-nav ul li:hover .submenu {
    display: block;
}

.main-nav ul li .submenu li {
    margin: 0;
    display: block;
}

.main-nav ul li .submenu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-weight: normal;
    font-size: 14px;
    white-space: nowrap;
}

.main-nav ul li .submenu li a:hover {
    background-color: #f5f5f5;
    color: #108775;
}

.main-nav ul li .submenu li a::after {
    display: none;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.contact-phone {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease; height: 60px; margin-left: 30px;
    padding: 1px 15px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(16, 135, 117, 0.05), rgba(168, 138, 85, 0.05));
    border: 1px solid transparent;
}

.contact-phone:hover {
    background: linear-gradient(135deg, rgba(16, 135, 117, 0.1), rgba(168, 138, 85, 0.1));
    border-color: rgba(16, 135, 117, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 135, 117, 0.15);
}

.phone-icon-wrapper {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
    box-shadow: 0 4px 15px rgba(16, 135, 117, 0.3);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 135, 117, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 135, 117, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 135, 117, 0);
    }
}

.phone-icon-wrapper i {
    font-size: 18px;
    color: white;
    animation: phone-shake 0.5s infinite;
}

@keyframes phone-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.phone-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #108775;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    line-height: 1;
}

.contact-phone:hover .phone-number {
    color: #a88a55;
    transform: translateX(3px);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 移动端联系电话适配 */
@media (max-width: 768px) {
    .contact-info {
        display: none;
    }
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 24px;
    color: #333;
}

.close-modal {
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #108775;
}

.verification-group {
    display: flex;
    gap: 10px;
}

.verification-group .form-control {
    flex: 1;
}

.verification-code {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.checkbox-group input {
    margin-right: 10px;
}

.checkbox-group a {
    color: #108775;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* 首屏大图优化 */
.hero-section {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-position: center;
    background-size: cover;
}

.slide.active {
    opacity: 1;
}

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

.slide:hover img {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    max-width: 600px;
    z-index: 2;
    animation: fadeInUp 1s ease;
    text-align: center;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-content .btn-primary {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slide-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 渐变遮罩层 */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 幻灯片指示器 */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #108775;
    transform: scale(1.2);
}

/* 核心价值展示 */
.core-values {
    padding: 100px 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-item .icon {
    font-size: 40px;
    color: #108775;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* 服务优势优化 */
.services-advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-item {
    text-align: center;
    padding: 40px 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(193, 160, 106, 0.2);
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-item:hover .icon,
.service-item:hover h3,
.service-item:hover p {
    color: white;
}

.service-item .icon {
    font-size: 50px;
    color: #108775;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.service-item p {
    color: #666;
    transition: all 0.3s ease;
}

/* 墓区展示 */
.tomb-areas {
    padding: 100px 0;
    background-color: #fff;
}

.tomb-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tomb-area-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: white;
}

.tomb-area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tomb-area-item .image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.tomb-area-item:hover .image img {
    transform: scale(1.1);
}

.tomb-area-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tomb-area-item:hover .overlay {
    opacity: 1;
}

.vr-link {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.vr-link:hover {
    background-color: white;
    color: #333;
}

.vr-link i {
    margin-right: 10px;
    font-size: 20px;
}

.tomb-area-item .content {
    padding: 25px;
}

.tomb-area-item .content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.price {
    color: #108775;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.tomb-area-item .content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 墓区详情 */
.tomb-area-detail {
    padding: 30px 0;
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.detail-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.price-tag {
    display: inline-block;
    background-color: #108775;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 墓区介绍 */
.tomb-areas-intro {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.tomb-areas-intro .intro-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.tomb-areas-intro .intro-text {
    flex: 1;
}

.tomb-areas-intro .intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.tomb-areas-intro .intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #108775;
}

.tomb-areas-intro .intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tomb-areas-intro .intro-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tomb-areas-intro .intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 图片幻灯片 */
.gallery-section {
    top: 100px;
}

.gallery-slider {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 幻灯片导航按钮 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

.slider-nav i {
    color: #108775;
    font-size: 20px;
}

/* 幻灯片指示器 */
.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator.active {
    background-color: #108775;
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gallery-slider {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .gallery-slider {
        height: 300px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
    }
    
    .slider-nav i {
        font-size: 18px;
    }
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.thumbnails img {
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnails img:hover,
.thumbnails img.active {
    border-color: #108775;
    transform: scale(1.05);
}

.vr-tour {
    text-align: center;
    margin-top: 20px;
}

.info-section {
    padding: 20px;
}

.info-box {
    margin-bottom: 10px;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 12px;
}

.info-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.info-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #108775;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px dashed #ddd;
}

.info-box li:last-child {
    border-bottom: none;
}

.info-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #108775;
    font-weight: bold;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.actions .btn-primary,
.actions .btn-secondary {
    width: 100%; height: 50px; font-size: 18px;
}

/* 在较大屏幕上并排显示按钮 */
@media (min-width: 769px) {
    .actions {
        flex-direction: row;
    }
    
    .actions .btn-primary,
    .actions .btn-secondary {
        width: auto;
        flex: 1;
    }
}

.full-description {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.full-description h2 {
    font-size: 32px;
    margin: 30px 0 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.full-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #108775;
}

.full-description h3 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: #333;
}

.tomb-map {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
}

.tomb-map img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.map-description {
    color: #666;
    margin-bottom: 20px;
}

.map-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.customer-reviews {
    margin-top: 30px;
}

.review-item {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
}

.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    color: #ffc107;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.review-content {
    color: #666;
    line-height: 1.6;
}

/* 相关墓区 */
.related-areas {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.related-areas .section-title {
    margin-bottom: 40px;
}

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

/* 购墓流程 - 全新时间轴卡片设计 */
.purchase-process {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.purchase-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #108775 0%, #a88a55 50%, #108775 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    padding: 40px 0;
}

/* 第二行最后一个项目居中 */
@media (min-width: 992px) {
    .timeline-step:last-child {
        grid-column: span 2;
        justify-self: center;
        width: calc(100% - 15px);
    }
}

.timeline-step {
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.15s; }
.timeline-step:nth-child(3) { animation-delay: 0.2s; }
.timeline-step:nth-child(4) { animation-delay: 0.25s; }
.timeline-step:nth-child(5) { animation-delay: 0.3s; }
.timeline-step:nth-child(6) { animation-delay: 0.35s; }
.timeline-step:nth-child(7) { animation-delay: 0.4s; }

.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #108775, #a88a55);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(16, 135, 117, 0.15);
    border-color: rgba(16, 135, 117, 0.1);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(16, 135, 117, 0.3);
}

.step-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.05);
}

.step-card:hover .step-icon-wrapper {
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    transform: rotateY(360deg);
    box-shadow: 0 8px 25px rgba(16, 135, 117, 0.3);
}

.step-icon-wrapper i {
    font-size: 40px;
    color: #108775;
    transition: all 0.4s ease;
}

.step-card:hover .step-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.step-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #108775, #a88a55);
    transition: width 0.3s ease;
}

.step-card:hover .step-title::after {
    width: 40px;
}

.step-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
}

/* 连接箭头（桌面端） */
@media (min-width: 992px) {
    .timeline-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        top: 50%;
        right: -20px;
        transform: translateY(-50%);
        font-size: 30px;
        color: #c1a06a;
        z-index: 1;
    }
}

/* 统计数字 */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item .number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.stat-item .label {
    font-size: 18px;
    opacity: 0.9;
}

/* 园区服务 */
.park-services {
    padding: 100px 0;
    background-color: #fff;
}

.services-tabs {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tabs {
    display: flex;
    list-style: none;
    border-bottom: 1px solid #eee;
}

.tabs li {
    flex: 1;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tabs li.active {
    color: #108775;
    border-bottom-color: #108775;
}

.tab-content {
    padding: 40px;
}

.service-item-horizontal {
    display: flex;
    gap: 30px;
    align-items: center;
}

.service-item-horizontal:not(.active) {
    display: none;
}

.service-item-horizontal .image {
    flex: 1;
}

.service-item-horizontal .image img {
    width: 100%;
    border-radius: 12px;
}

.service-item-horizontal .content {
    flex: 1;
}

.service-item-horizontal .content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.service-item-horizontal .content p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
}

/* 客户评价 */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-item {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 500px;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.quote {
    position: relative;
    margin-bottom: 20px;
}

.quote i {
    color: #108775;
    font-size: 24px;
    margin-bottom: 15px;
}

.quote p {
    color: #666;
    font-style: italic;
    line-height: 1.8;
    padding-left: 30px;
}

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

.avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.info p {
    color: #108775;
    font-size: 14px;
}

/* 园区导览 */
.park-guide {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.guide-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.guide-content .image {
    flex: 1;
}

.guide-content .image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.guide-content .content {
    flex: 1;
}

.guide-content .content h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* 生前契约页面样式 */
.pre-contract-banner {
    padding: 40px 0;
}

.pre-contract-banner .banner-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-pre-contract,
.pre-contract-development {
    padding: 60px 0;
    background-color: #fff;
}

.what-is-pre-contract .content-wrapper,
.pre-contract-development .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.what-is-pre-contract .image-content,
.pre-contract-development .image-content {
    flex: 1;
}

.what-is-pre-contract .image-content img,
.pre-contract-development .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-pre-contract .text-content,
.pre-contract-development .text-content {
    flex: 1;
}

.what-is-pre-contract .text-content p,
.pre-contract-development .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.tk-pre-contract-advantages {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.tk-pre-contract-advantages .banner-image {
    margin-bottom: 40px;
    text-align: center;
}

.tk-pre-contract-advantages .banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-item .number {
    width: 50px;
    height: 50px;
    background-color: #108775;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.advantage-item .content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item .content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.standard-process {
    padding: 60px 0;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step:hover .step-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.step-image {
    margin-bottom: 20px;
}

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

/* 步骤图标样式 */
.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: #108775;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 临终咨询图标 */
.icon-consultation::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
}

.icon-consultation::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #108775;
    border-radius: 50%;
}

/* 临终守护图标 */
.icon-guardian::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
}

/* 纪念礼仪页面样式 */
.memorial-banner {
    padding: 40px 0;
}

.what-is-memorial,
.memorial-development {
    padding: 60px 0;
    background-color: #fff;
}

.what-is-memorial .content-wrapper,
.memorial-development .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.what-is-memorial .image-content,
.memorial-development .image-content {
    flex: 1;
}

.what-is-memorial .image-content img,
.memorial-development .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-memorial .text-content,
.memorial-development .text-content {
    flex: 1;
}

.what-is-memorial .text-content p,
.memorial-development .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.tk-memorial-products {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.products-content {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-category {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-category h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.product-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #108775;
}

.product-category ul {
    list-style: none;
}

.product-category li {
    padding: 10px 0;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
}

.product-category li i {
    color: #108775;
    margin-right: 10px;
    font-size: 18px;
}

/* 传统形式产品类别 */
.product-category.traditional {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.product-category.traditional:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 现代形式产品类别突出显示 */
.product-category.modern {
    background-color: #e8f4f3;
    border: 2px solid #108775;
    transform: scale(1.05);
    z-index: 1;
    position: relative;
}

.product-category.modern h3 {
    color: #108775;
    font-size: 32px;
    animation: pulse 2s infinite;
}

.product-category.modern:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(16, 135, 117, 0.2);
}

.product-category.modern .fa-check-circle {
    animation: bounce 1s infinite alternate;
}

/* 增大现代形式列表项字体 */
.product-category.modern li {
    font-size: 20px;
    font-weight: 500;
}

.memorial-meaning {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.memorial-meaning .text-content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.memorial-meaning .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.meaning-item {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.meaning-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.meaning-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meaning-icon img {
    max-width: 100%;
    max-height: 100%;
}

.meaning-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 0;
}

/* 响应式设计 - 纪念礼仪页面 */
@media (max-width: 768px) {
    .what-is-memorial .content-wrapper,
    .memorial-development .content-wrapper {
        flex-direction: column;
    }
    
    .products-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-category {
        min-width: 100%;
    }
    
    .meaning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 临终守护图标 */
.icon-guardian::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
}

.icon-guardian::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background-color: white;
    border-radius: 5px;
}

/* 拭·入·礼·更图标 */
.icon-ceremony::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 5px;
    background-color: white;
}

.icon-ceremony::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    border: 2px solid white;
    border-radius: 50%;
}

/* 陪伴服务图标 */
.icon-accompaniment::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 30px;
    width: 20px;
    height: 30px;
    background-color: white;
    border-radius: 10px 10px 0 0;
}

.icon-accompaniment::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 30px;
    width: 20px;
    height: 30px;
    background-color: white;
    border-radius: 10px 10px 0 0;
}

/* 治丧协调图标 */
.icon-coordination::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background-color: white;
}

.icon-coordination::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    border: 2px solid white;
    border-radius: 5px;
}

/* 告别追思图标 */
.icon-farewell::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
}

.icon-farewell::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: white;
}

/* 尊体归尘图标 */
.icon-cremation::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 25px;
    border: 2px solid white;
    border-radius: 5px;
}

.icon-cremation::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
}

/* 后续关怀图标 */
.icon-followup::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
}

.icon-followup::after {
    content: "♥";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    color: white;
    text-align: center;
}

/* 安宁疗护页面样式 */
.what-is-palliative,
.tk-palliative-care,
.service-objects {
    padding: 60px 0;
    background-color: #fff;
}

.what-is-palliative .content-wrapper,
.tk-palliative-care .content-wrapper,
.service-objects .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.what-is-palliative .image-content,
.tk-palliative-care .image-content,
.service-objects .image-content {
    flex: 1;
}

.what-is-palliative .image-content img,
.tk-palliative-care .image-content img,
.service-objects .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-palliative .text-content,
.tk-palliative-care .text-content,
.service-objects .text-content {
    flex: 1;
}

.what-is-palliative .text-content p,
.tk-palliative-care .text-content p,
.service-objects .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.service-objects .text-content ol {
    padding-left: 20px;
}

.service-objects .text-content li {
    margin-bottom: 15px;
    color: #666;
}

/* 四全照护理念 */
.four-whole-concept {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.concept-item {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
}

.concept-icon img {
    max-width: 100%;
    max-height: 100%;
}

.concept-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.concept-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 我们能做什么服务 */
.our-services {
    padding: 60px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 医院环境 */
.hospital-environment {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.environment-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.environment-text {
    text-align: center;
}

.environment-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.environment-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.environment-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.environment-image {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.environment-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.environment-image p {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* 标准化服务流程 */
.standard-process {
    padding: 60px 0;
    background-color: #fff;
}

.process-image {
    text-align: center;
}

.process-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    
}

/* 医护团队 */
.medical-team {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-member {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-image {
    flex-shrink: 0;
}

.member-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.position {
    font-size: 16px;
    color: #108775;
    margin-bottom: 15px;
    font-weight: bold;
}

.description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 地址及路线 */
.address-route {
    padding: 60px 0;
    background-color: #fff;
}

.address-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.address-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.address-image {
    flex: 1;
}

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

.contact-details {
    flex: 1;
}

.contact-details p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

.route-info ol {
    padding-left: 20px;
}

.route-info li {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 - 安宁疗护页面 */
@media (max-width: 768px) {
    .what-is-palliative .content-wrapper,
    .tk-palliative-care .content-wrapper,
    .service-objects .content-wrapper {
        flex-direction: column;
    }
    
    .address-info {
        flex-direction: column;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .member-image {
        margin: 0 auto;
    }
    
    .environment-images {
        grid-template-columns: 1fr;
    }
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.contact-image {
    flex: 1;
}

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

.contact-info {
    flex: 1;
    text-align: right;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-info .btn-primary {
    background-color: white;
    color: #108775;
}

.contact-info .btn-primary:hover {
    background-color: #f0f0f0;
    color: #a88a55;
}

/* 响应式设计 - 生前契约页面 */
@media (max-width: 768px) {
    .what-is-pre-contract .content-wrapper,
    .pre-contract-development .content-wrapper,
    .contact-wrapper {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info h2 {
        font-size: 24px;
    }
    
    .contact-info p {
        font-size: 16px;
    }
    
    .phone-number {
        font-size: 20px;
        justify-content: center;
    }
}

/* 响应式设计 - 安宁疗护页面 */
@media (max-width: 768px) {
    .what-is-palliative .content-wrapper,
    .tk-palliative-care .content-wrapper,
    .service-objects .content-wrapper {
        flex-direction: column;
    }
    
    .address-info {
        flex-direction: column;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .member-image {
        margin: 0 auto;
    }
    
    .environment-images,
    .concept-grid {
        grid-template-columns: 1fr;
    }
}

/* 安宁疗护页面样式 */
.what-is-palliative,
.tk-palliative-care,
.service-objects {
    padding: 60px 0;
    background-color: #fff;
}

.what-is-palliative .content-wrapper,
.tk-palliative-care .content-wrapper,
.service-objects .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.what-is-palliative .image-content,
.tk-palliative-care .image-content,
.service-objects .image-content {
    flex: 1;
}

.what-is-palliative .image-content img,
.tk-palliative-care .image-content img,
.service-objects .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-palliative .text-content,
.tk-palliative-care .text-content,
.service-objects .text-content {
    flex: 1;
}

.what-is-palliative .text-content p,
.tk-palliative-care .text-content p,
.service-objects .text-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.service-objects .text-content ol {
    padding-left: 20px;
}

.service-objects .text-content li {
    margin-bottom: 15px;font-size: 18px;
    color: #666;
}

/* 四全照护理念 */
.four-whole-concept {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.concept-item {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
}

.concept-icon img {
    max-width: 100%;
    max-height: 100%;
}

.concept-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.concept-item p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 我们能做什么服务 */
.our-services {
    padding: 60px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 医院环境 */
.hospital-environment {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.environment-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.environment-text {
    text-align: center;
}

.environment-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.environment-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.environment-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.environment-image {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.environment-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.environment-image p {
    font-size: 18px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* 标准化服务流程 */
.standard-process {
    padding: 60px 0;
    background-color: #fff;
}

.process-image {
    text-align: center;
}

.process-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  
}

/* 医护团队 */
.medical-team {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-member {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-image {
    flex-shrink: 0;
}

.member-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.position {
    font-size: 16px;
    color: #108775;
    margin-bottom: 15px;
    font-weight: bold;
}

.description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 地址及路线 */
.address-route {
    padding: 60px 0;
    background-color: #fff;
}

.address-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.address-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.address-image {
    flex: 1;
}

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

.contact-details {
    flex: 1;
}

.contact-details p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

.route-info ol {
    padding-left: 20px;
}

.route-info li {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 - 安宁疗护页面 */
@media (max-width: 768px) {
    .what-is-palliative .content-wrapper,
    .tk-palliative-care .content-wrapper,
    .service-objects .content-wrapper {
        flex-direction: column;
    }
    
    .address-info {
        flex-direction: column;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .member-image {
        margin: 0 auto;
    }
}

/* 纪念礼仪页面样式 */
.memorial-banner {
    padding: 40px 0;
}

.what-is-memorial,
.memorial-development {
    padding: 60px 0;
    background-color: #fff;
}

.what-is-memorial .content-wrapper,
.memorial-development .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.what-is-memorial .image-content,
.memorial-development .image-content {
    flex: 1;
}

.what-is-memorial .image-content img,
.memorial-development .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-memorial .text-content,
.memorial-development .text-content {
    flex: 1;
}

.what-is-memorial .text-content p,
.memorial-development .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.tk-memorial-products {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.products-content {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-category {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-category h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.product-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #108775;
}

.product-category ul {
    list-style: none;
}

.product-category li {
    padding: 10px 0;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
}

.product-category li i {
    color: #108775;
    margin-right: 10px;
    font-size: 18px;
}

/* 传统形式产品类别 */
.product-category.traditional {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.product-category.traditional:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 现代形式产品类别突出显示 */
.product-category.modern {
    background-color: #e8f4f3;
    border: 2px solid #108775;
    transform: scale(1.05);
    z-index: 1;
    position: relative;
}

.product-category.modern h3 {
    color: #108775;
    font-size: 32px;
    animation: pulse 2s infinite;
}

.product-category.modern:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(16, 135, 117, 0.2);
}

.product-category.modern .fa-check-circle {
    animation: bounce 1s infinite alternate;
}

/* 增大现代形式列表项字体 */
.product-category.modern li {
    font-size: 20px;
    font-weight: 500;
}

.memorial-meaning {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.memorial-meaning .text-content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.memorial-meaning .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.meaning-item {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.meaning-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.meaning-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meaning-icon img {
    max-width: 100%;
    max-height: 100%;
}

.meaning-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 0;
}

/* 响应式设计 - 纪念礼仪页面 */
@media (max-width: 768px) {
    .what-is-memorial .content-wrapper,
    .memorial-development .content-wrapper {
        flex-direction: column;
    }
    
    .products-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-category {
        min-width: 100%;
    }
    
    .meaning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 中等屏幕 - 平板端适配 */
@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .timeline-step:not(:last-child)::after {
        display: none;
    }
}

/* 小屏幕 - 移动端适配 */
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .step-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .step-icon-wrapper i {
        font-size: 32px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-desc {
        font-size: 13px;
    }
    
    .step-badge {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* 中等屏幕 - 确保优势部分在平板上显示良好 */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 大屏幕 - 保持两列显示 */
@media (min-width: 993px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.guide-content .content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    text-indent: 2em;
}

/* 内容板块 */
.content-section {
    padding: 100px 0;
    background-color: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.content-column h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.content-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #108775;
}

.content-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.content-item:hover {
    background-color: #f8f8f8;
    transform: translateX(5px);
}

.content-item .image {
    flex-shrink: 0;
}

.content-item .image img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.content-item .info {
    flex: 1;
}

.date {
    color: #108775;
    font-size: 14px;
    margin-bottom: 8px;
}

.content-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.content-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-item h4 a:hover {
    color: #108775;
}

.more-link {
    display: inline-block;
    color: #108775;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: #a88a55;
    transform: translateX(5px);
}

/* 非急救转运系统 */
.transport-system {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.system-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.system-header {
    text-align: center;
    margin-bottom: 50px;
}

.system-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.system-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.system-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.panel {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.panel h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #108775;
}

.order-list {
    margin-top: 20px;
}

.order-item {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.order-item h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background-color: #ffeb3b;
    color: #333;
}

.status-confirmed {
    background-color: #4caf50;
    color: white;
}

.status-completed {
    background-color: #2196f3;
    color: white;
}

.driver-list, .vehicle-list {
    margin-top: 20px;
}

.driver-item, .vehicle-item {
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #fff;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.stat-card .number {
    font-size: 32px;
    font-weight: bold;
    color: #108775;
    margin-bottom: 5px;
}

.stat-card .label {
    font-size: 14px;
    color: #666;
}

/* 底部 */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #108775;
}

.footer-column p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact p {
    margin-bottom: 10px;
}

.recommended-tombs,
.features,
.mobile-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.tomb-item,
.feature-item,
.app-item {
    text-align: center;
}

.tomb-item img,
.feature-item img,
.app-item img {
    width: 100%;
    max-width: 80px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* 关于我们页面样式 */
.company-intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #108775;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-indent: 2em;
}

.intro-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.culture-values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.development-history {
    padding: 80px 0;
    background-color: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #108775;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-date {
    font-weight: bold;
    color: #108775;
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #108775;
    border-radius: 50%;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -50px;
}

.timeline-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.honors-certificates {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.honor-item {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.honor-item img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.honor-item p {
    color: #333;
    font-weight: bold;
}

.contact-us {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 20px;
}

.contact-info .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info .info-item {
    display: block;
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 12px;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
    clear: both;
    text-align: center;
}

.contact-info .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.contact-info .info-item:last-child {
    margin-bottom: 0;
}

.contact-info {
    align-self: flex-start;
}

.contact-info .icon {
    font-size: 24px;
    color: #108775;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(16, 135, 117, 0.1);
    border-radius: 50%;
    margin: 0 auto 15px;
}

.contact-info .text {
    text-align: center;
}

.contact-info .text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.contact-info .text p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.6;
    text-align: center;
}

.contact-form {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

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

.contact-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #108775;
}

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

.contact-form .form-button {
    background-color: #108775;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-form .form-button:hover {
    background-color: #a88a55;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tomb-item p,
.feature-item p,
.app-item p {
    font-size: 14px;
    color: #ccc;
}

.contact-info-footer p {
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info-footer i {
    margin-right: 10px;
    color: #108775;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #108775;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

/* 文章列表样式 */
.articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.article-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

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

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.article-meta .category {
    background-color: #108775;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.article-meta .date {
    color: #999;
    font-size: 14px;
}

.article-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    flex: 1;
}

.article-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #108775;
}

.excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.views {
    color: #999;
    font-size: 14px;
}

.read-more {
    color: #108775;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #a88a55;
}

/* 文章详情样式 */
.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #999;
}

.featured-image {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.article-body h2 {
    font-size: 32px;
    margin: 30px 0 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #108775;
}

.article-body blockquote {
    border-left: 4px solid #108775;
    padding: 20px;
    margin: 30px 0;
    background-color: #f8f8f8;
    border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.article-body blockquote cite {
    font-weight: bold;
    color: #333;
}

.article-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.image-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.caption {
    text-align: center;
    padding: 10px;
    background-color: #f8f8f8;
    color: #666;
    font-size: 14px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    background-color: #108775;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tags a:hover {
    background-color: #a88a55;
    transform: translateY(-2px);
}

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

.social-share span {
    color: #666;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.wechat {
    background-color: #07c160;
}

.share-btn.weibo {
    background-color: #e6162d;
}

.share-btn.qq {
    background-color: #12b7f5;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 文章导航 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}

.prev-article,
.next-article {
    flex: 1;
}

.prev-article a,
.next-article a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.prev-article a:hover,
.next-article a:hover {
    background-color: #108775;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 135, 117, 0.2);
}

.prev-article a:hover .nav-content span,
.prev-article a:hover .nav-content h4,
.next-article a:hover .nav-content span,
.next-article a:hover .nav-content h4 {
    color: white;
}

.nav-content {
    flex: 1;
}

.nav-content span {
    font-size: 14px;
    color: #108775;
    font-weight: bold;
}

.prev-article a:hover .nav-content span,
.next-article a:hover .nav-content span {
    color: white;
}

.nav-content h4 {
    margin: 5px 0 0;
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.prev-article a:hover .nav-content h4,
.next-article a:hover .nav-content h4 {
    color: white;
}

.next-article a {
    flex-direction: row-reverse;
    text-align: right;
}

/* 相关文章 */
.related-articles {
    margin-top: 60px;
}

.articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 分类导航 */
.article-categories {
    padding: 30px 0;
    background-color: #fff;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
}

.category-nav li {
    list-style: none;
}

.category-nav a {
    display: block;
    padding: 12px 25px;
    background-color: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.category-nav a:hover,
.category-nav a.active {
    background-color: #108775;
    color: white;
    box-shadow: 0 5px 15px rgba(16, 135, 117, 0.2);
    transform: translateY(-2px);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;margin-bottom: 40px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination a:hover,
.pagination a.active {
    background-color: #108775;
    color: white;
    box-shadow: 0 5px 15px rgba(16, 135, 117, 0.2);
    transform: translateY(-2px);
}

.pagination .prev,
.pagination .next {
    width: auto;
    border-radius: 30px;
    padding: 0 20px;
}

/* 返回顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #108775;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #a88a55;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 悬浮按钮容器 */
.floating-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    pointer-events: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-buttons-container .floating-button {
    pointer-events: auto;
}

/* 手机端按钮容器显示 */
@media (max-width: 768px) {
    /* 隐藏桌面端按钮定位 */
    .phone-button:not(.floating-buttons-container .phone-button),
    .reservation-button:not(.floating-buttons-container .reservation-button) {
        display: none;
    }
}

/* 悬浮按钮 */
.floating-button {
    width: 120px;
    padding: 12px 20px;
    background-color: #108775;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    border: 2px solid white;
}

.floating-button:hover {
    background-color: #a88a55;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 桌面端默认显示按钮 */
@media (min-width: 769px) {
    .phone-button,
    .reservation-button {
        display: block;
        position: fixed;
        right: 30px;
    }
    
    .phone-button {
        bottom: 30px;
    }
    
    .reservation-button {
        bottom: 100px;
    }
    
    /* 桌面端按钮样式 */
    .floating-button {
        border: 2px solid white;
    }
}

/* 桌面端按钮定位 */
@media (min-width: 769px) {
    /* 隐藏手机端容器 */
    .floating-buttons-container {
        display: none;
    }
}

/* 筛选样式 */
.filter-section {
    padding: 40px 0;
    background-color: #f8f8f8;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

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

.filter-group label {
    font-weight: bold;
    color: #333;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    font-size: 14px;
    min-width: 150px;
}

/* 墓地列表 */
.tomb-list {
    padding: 60px 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-title h2 {
        font-size: 32px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 40px;
    }
    
    .slide-content p {
        font-size: 20px;
    }
    
    .guide-content,
    .service-item-horizontal {
        flex-direction: column;
    }
    
    .tomb-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-section {
        padding: 10px;
    }
    
    /* 保持幻灯片样式与PC端一致 */
    .gallery-slider {
        height: 350px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .floating-button {
        width: 120px;
        height: auto;
        border-radius: 30px;
        padding: 12px 15px;
        font-size: 14px;
        background-color: #0b6d2b;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: bold;
        border: 2px solid white;
    }
    
    .floating-button span {
        display: inline;
    }
    
    /* 按钮定位已由容器统一管理 */
    
    .floating-button:hover {
        background-color: #a88a55;
        color: white;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-info {
        margin-left: 20px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .verification-group {
        flex-direction: column;
    }
    
    /* 移除了购墓流程的移动端特殊样式，使其与PC端保持一致 */
    .step:not(:last-child)::after {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tabs li {
        min-width: 50%;
    }
    
    .gallery-section {
        margin-bottom: 20px;
    }
    
    /* 移除了幻灯片的移动端特殊样式，使其与PC端保持一致 */
    
    /* 关于我们页面移动端样式 */
    .company-intro {
        padding: 50px 0;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .intro-text h2 {
        font-size: 32px;
    }
    
    .culture-values,
    .development-history,
    .honors-certificates,
    .contact-us {
        padding: 50px 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0;
        text-align: left;
    }
    
    .timeline-item {
        padding-left: 70px;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: 10px;
        right: auto;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info,
    .contact-form {
        align-self: stretch;
    }
    
    .contact-info .contact-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .contact-info .info-item {
        display: block;
        padding: 20px;
        margin-bottom: 20px;
        border: 1px solid #eee;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        width: 100%;
        box-sizing: border-box;
        clear: both;
    }
    
    .contact-info .info-item:last-child {
        margin-bottom: 0;
    }
    
    .contact-info .icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        margin: 0 auto 15px;
    }
    
    .contact-info .text h3 {
        font-size: 18px;
        text-align: center;
    }
    
    .contact-info .text p {
        font-size: 14px;
        text-align: center;
    }
    
    .contact-form {
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border: 1px solid #eee;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tomb-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .articles {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .excerpt {
        font-size: 14px;
    }
    
    .category-nav a {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .pagination a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .tomb-areas-intro .intro-content {
        flex-direction: column;
    }
    
    .tomb-areas-intro .intro-text h2 {
        font-size: 24px;
    }
    
    .value-item {
        padding: 20px 15px;
    }
    
    .service-item {
        padding: 25px 20px;
    }
    
    .tomb-area-item .image {
        height: 200px;
    }
    
    .content-item {
        flex-direction: column;
    }
    
    .content-item .image {
        width: 100%;
    }
    
    .content-item .image img {
        width: 100%;
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== 墓区列表页面特有样式 ==================== */

/* 墓区横幅 */
.tomb-area-banner {
    background: linear-gradient(135deg, #108775 0%, #0d6b5d 100%);
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.tomb-area-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.tomb-area-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* 墓区状态标签 */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

.status-tag.sold-out {
    background-color: #e0e0e0;
    color: #999;
}

.status-tag.on-sale {
    background-color: #108775;
    color: white;
}

/* 墓区卡片增强样式 */
.tomb-area-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tomb-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tomb-area-card .image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.tomb-area-card:hover .image img {
    transform: scale(1.05);
}

.tomb-area-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tomb-area-card:hover .overlay {
    opacity: 1;
}

.tomb-area-card .vr-link {
    background: rgba(255,255,255,0.95);
    padding: 12px 24px;
    border-radius: 30px;
    color: #108775;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.tomb-area-card .content {
    padding: 25px;
}

.tomb-area-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tomb-area-card .price {
    font-size: 18px;
    color: #108775;
    font-weight: bold;
    margin-bottom: 12px;
}

.tomb-area-card .price .sold-out-text {
    color: #999;
    text-decoration: line-through;
}

.tomb-area-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tomb-area-card .btn-group {
    display: flex;
    gap: 10px;
}

.tomb-area-card .btn-group .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
}

/* 墓区网格布局 */
.tomb-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .tomb-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tomb-area-grid {
        grid-template-columns: 1fr;
    }
}

/* 服务优势区域 */
.service-features {
    background: #f8f8f8;
    padding: 80px 0;
}

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

.service-features .section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.service-features .section-title p {
    color: #666;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 40px;
    color: #108775;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-images {
        grid-template-columns: 1fr;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .gallery-section {
        padding: 0;
        margin-bottom: 15px;
    }
    
    /* 移除了幻灯片的移动端特殊样式，使其与PC端保持一致 */
    
    .thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    /* 保持缩略图样式与PC端一致 */
    .thumbnails img {
        height: 80px;
        border-radius: 8px;
    }
    
    .vr-tour {
        margin-top: 10px;
    }
    
    .vr-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .vr-link i {
        font-size: 16px;
        margin-right: 5px;
    }
    
    .floating-button {
        width: 120px;
        height: auto;
        border-radius: 30px;
        padding: 12px 15px;
        font-size: 14px;
        bottom: 0;
        background-color: #108775;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: bold;
    }
    
    .floating-button span {
        display: inline;
    }
    
    /* 按钮定位已由容器统一管理 */
    
    .floating-button:hover {
        background-color: #a88a55;
        color: white;
    }
    
    /* 关于我们页面小屏幕样式 */
    .intro-text h2 {
        font-size: 24px;
    }
    
    .timeline {
        margin-left: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .honor-item {
        padding: 20px;
    }
    
    .honor-item img {
        height: 120px;
    }
}

/* 在更小的屏幕上，核心价值和服务优势改为单列显示 */
    .articles {
        gap: 15px;
    }
    
    .article-image {
        height: 150px;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
    
    .excerpt {
        font-size: 13px;
    }
    
    .category-nav {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .category-nav a {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .pagination {
        gap: 5px;
        margin-top: 30px;
    }
    
    .pagination a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 0 12px;
        font-size: 12px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .prev-article a,
    .next-article a {
        padding: 15px;
    }
    
    .nav-content h4 {
        font-size: 14px;
    }

/* 生前契约页面样式 */
.pre-contract-banner {
    padding: 40px 0;
}

.pre-contract-banner .banner-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-pre-contract,
.pre-contract-development {
    padding: 60px 0;
    background-color: #fff;
}

.what-is-pre-contract .content-wrapper,
.pre-contract-development .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.what-is-pre-contract .image-content,
.pre-contract-development .image-content {
    flex: 1;
}

.what-is-pre-contract .image-content img,
.pre-contract-development .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.what-is-pre-contract .text-content,
.pre-contract-development .text-content {
    flex: 1;
}

.what-is-pre-contract .text-content p,
.pre-contract-development .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.tk-pre-contract-advantages {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.tk-pre-contract-advantages .banner-image {
    margin-bottom: 40px;
    text-align: center;
}

.tk-pre-contract-advantages .banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-item .number {
    width: 50px;
    height: 50px;
    background-color: #108775;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.advantage-item .content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item .content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.standard-process {
    padding: 60px 0;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step:hover .step-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.step-image {
    margin-bottom: 20px;
}

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

/* 步骤图标样式 */
.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: #108775;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 临终咨询图标 */
.icon-consultation::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
}

.icon-consultation::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #108775;
    border-radius: 50%;
}

/* 临终守护图标 */
.icon-guardian::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
}

.icon-guardian::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background-color: white;
    border-radius: 5px;
}

/* 拭·入·礼·更图标 */
.icon-ceremony::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 5px;
    background-color: white;
}

.icon-ceremony::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    border: 2px solid white;
    border-radius: 50%;
}

/* 陪伴服务图标 */
.icon-accompaniment::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 30px;
    width: 20px;
    height: 30px;
    background-color: white;
    border-radius: 10px 10px 0 0;
}

.icon-accompaniment::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 30px;
    width: 20px;
    height: 30px;
    background-color: white;
    border-radius: 10px 10px 0 0;
}

/* 治丧协调图标 */
.icon-coordination::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background-color: white;
}

.icon-coordination::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    border: 2px solid white;
    border-radius: 5px;
}

/* 告别追思图标 */
.icon-farewell::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
}

.icon-farewell::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: white;
}

/* 尊体归尘图标 */
.icon-cremation::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 25px;
    border: 2px solid white;
    border-radius: 5px;
}

.icon-cremation::after {
    content: "";
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
}

/* 后续关怀图标 */
.icon-followup::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
}

.icon-followup::after {
    content: "♥";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #108775 0%, #a88a55 100%);
    color: white;
    text-align: center;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.contact-image {
    flex: 1;
}

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

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
}

/* ==================== 关于我们页面样式 ==================== */

/* 页面标题副标题 */
.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* 园区简介 */
.about-intro {
    padding: 80px 0;
    background-color: #fff;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #108775, #a88a55);
}

.about-intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-height: 500px;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 园区特色 */
.about-features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-feature-item .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #108775 0%, #0d6b5d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.about-feature-item .feature-icon i {
    font-size: 32px;
    color: white;
}

.about-feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.about-feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 文化体验 */
.about-culture {
    padding: 80px 0;
    background-color: #fff;
}

.about-culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-culture-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.about-culture-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
}

.about-culture-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.culture-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.culture-tag {
    padding: 8px 20px;
    background: linear-gradient(135deg, #108775 0%, #0d6b5d 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.culture-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 135, 117, 0.3);
}

/* 文庙建筑 */
.about-buildings {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.building-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.building-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.building-item:hover .building-image img {
    transform: scale(1.1);
}

.building-info {
    padding: 25px;
}

.building-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.building-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 荣誉资质 */
.honors-certificates {
    padding: 80px 0;
    background-color: #fff;
}

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

.honor-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.honor-item:hover {
    border-color: #108775;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 135, 117, 0.1);
}

.honor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #108775 0%, #0d6b5d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.honor-icon i {
    font-size: 36px;
    color: white;
}

.honor-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.honor-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们板块 */
.contact-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #108775 0%, #0d6b5d 100%);
    color: white;
}

.contact-us-section .section-title h2,
.contact-us-section .section-title p {
    color: white;
}

.contact-section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon i {
    font-size: 28px;
    color: #108775;
}

.contact-info-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.contact-card-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.contact-card-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 关于我们页面响应式 */
@media (max-width: 992px) {
    .about-intro-content,
    .about-culture-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-intro-image {
        order: -1;
    }
    
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .buildings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro,
    .about-features,
    .about-culture,
    .about-buildings,
    .honors-certificates,
    .contact-us-section {
        padding: 60px 0;
    }
    
    .about-intro-text h2,
    .about-culture-text h2 {
        font-size: 24px;
    }
    
    .about-features-grid,
    .buildings-grid,
    .honors-grid,
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .about-feature-item {
        padding: 30px 20px;
    }
    
    .culture-tags {
        justify-content: center;
    }
}

.contact-info .btn-primary {
    background-color: white;
    color: #108775;
}

.contact-info .btn-primary:hover {
    background-color: #f0f0f0;
    color: #a88a55;
}

/* 响应式设计 - 生前契约页面 */
@media (max-width: 768px) {
    .what-is-pre-contract .content-wrapper,
    .pre-contract-development .content-wrapper,
    .contact-wrapper {
        flex-direction: column;
    }
    
    .advantages-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info h2 {
        font-size: 24px;
    }
    
    .contact-info p {
        font-size: 16px;
    }
    
    .phone-number {
        font-size: 20px;
        justify-content: center;
    }
}

/* 分页样式 */
.xpagination {
    display: table;           /* 关键：让 margin: auto 生效 */
    margin: 20px auto;        /* 上下 20px，左右自动 = 居中 */
    padding-left: 0;
    border-radius: 4px; }
.xpagination > li {
    display: inline; }
.xpagination > li > a,
.xpagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #108775;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.xpagination > li:first-child > a,
.xpagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.xpagination > li:last-child > a,
.xpagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.xpagination > li > a:hover, .xpagination > li > a:focus,
.xpagination > li > span:hover,
.xpagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.xpagination > .active > a, .xpagination > .active > a:hover, .xpagination > .active > a:focus,
.xpagination > .active > span,
.xpagination > .active > span:hover,
.xpagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #108775;
    border-color: #337ab7;
    cursor: default; }
