/* ========== Services Page ========== */
/* 品牌色板：陶土 #A67B5B / 深暖棕 #8B6448 / 暖杏粉 #E8B89D / 奶油白 #FAF6F0 / 正文 #5A4A3A */

/* Hero —— 顶部深暖棕天幕（保证透明 header 白字可见）+ 奶油米底排版区 */
.svc-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background: #FAF6F0;
    overflow: hidden;
}
/* 顶部深棕天幕：覆盖固定 header 区域，下缘圆弧过渡 */
.svc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, #5F4327 0%, #7A5638 55%, #96714E 100%);
    pointer-events: none;
    z-index: 0;
}
/* 天幕下缘奶油白大椭圆弧线 —— 与圆弧 signature 呼应 */
.svc-hero-overlay::after {
    content: '';
    position: absolute;
    top: calc(100% - 20px);
    left: 50%;
    transform: translateX(-50%);
    width: 170%;
    height: 260px;
    border-radius: 50%;
    background: #FAF6F0;
}
/* 顶部陶土圆弧 —— 全页唯一的大胆造型元素 */
.svc-hero::before {
    content: '';
    position: absolute;
    top: -340px;
    right: -180px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: linear-gradient(145deg, #E8B89D 0%, #A67B5B 100%);
    opacity: 0.92;
    pointer-events: none;
    z-index: 1;
}
/* 同心细环装饰 */
.svc-hero::after {
    content: '';
    position: absolute;
    top: -390px;
    right: -230px;
    width: 860px;
    height: 860px;
    border-radius: 50%;
    border: 1.5px solid rgba(166,123,91,0.22);
    pointer-events: none;
}
/* 左下淡陶土衬底 + 月牙装饰 */
.svc-hero-moon {
    position: absolute;
    top: 96px;
    right: 118px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,252,248,0.32);
    pointer-events: none;
    z-index: 1;
}
.svc-hero-moon::before {
    content: '';
    position: absolute;
    top: -46px;
    left: 64px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,252,248,0.20);
}
.svc-hero-moon::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: -36px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139,100,72,0.16);
}
.svc-hero-content {
    position: relative;
    text-align: left;
    padding: 150px 0 88px 20px;
    z-index: 2;
    max-width: 640px;
}
.svc-hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    color: #3A2A1A;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
/* 暖杏粉“记号笔”高亮 —— 点睛细节 */
.svc-hero-content h1 .text-primary {
    position: relative;
    color: #8B6448;
    padding: 0 6px;
}
.svc-hero-content h1 .text-primary::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 12px;
    background: rgba(232,184,157,0.55);
    z-index: -1;
    border-radius: 2px;
}
.svc-hero-content p {
    font-size: 16px;
    color: #5A4A3A;
    line-height: 1.8;
    margin-bottom: 40px;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 44px;
    background: #A67B5B;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 2px;
    transition: background .25s, transform .25s;
    box-shadow: 0 3px 14px rgba(166,123,91,0.28);
}
.btn-hero:hover {
    background: #8B6448;
    color: #fff;
    transform: translateY(-2px);
}

/* ========== Sticky Nav（服务分类索引条） ========== */
.svc-nav {
    position: sticky;
    top: 72px;
    background: rgba(250,246,240,0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(166,123,91,0.15);
    z-index: 100;
}
.svc-nav-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 2px;
    padding: 11px 0;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
}
.svc-nav-list::-webkit-scrollbar {
    display: none;
}
/* 溢出时右侧渐隐提示（JS 切换） */
.svc-nav-list.svc-nav-fade {
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), rgba(0,0,0,0.25) calc(100% - 12px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 88px), rgba(0,0,0,0.25) calc(100% - 12px), transparent 100%);
}
/* 首项偏移容差，避免第一条被 mask 齐根切掉 */
.svc-nav-list::before {
    content: '';
    flex: 0 0 2px;
}

.svc-nav-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 6px;
    text-decoration: none;
    color: #6E5B49;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .25s, color .25s;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}
.svc-nav-num {
    color: #C4956A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Georgia', 'Times New Roman', serif;
    transition: color .25s;
}
.svc-nav-item:hover {
    color: #8B6448;
    background: rgba(166,123,91,0.08);
}
.svc-nav-item:hover .svc-nav-num { color: #A67B5B; }

.svc-nav-item.active {
    color: #fff;
    background: #A67B5B;
    box-shadow: 0 3px 12px rgba(166,123,91,0.30);
}
.svc-nav-item.active .svc-nav-num { color: rgba(255,255,255,0.75); }

/* ========== Section ========== */
.svc-section {
    padding: 88px 0;
    scroll-margin-top: 150px;
}
.svc-section-alt {
    background: linear-gradient(180deg, #FAF6F0 0%, #fff 100%);
}
.svc-header {
    position: relative;
    text-align: center;
    margin-bottom: 48px;
}
/* 幽灵编号 —— 居中大号衬线数字，衬托分类标题 */
.svc-ghost {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 88px;
    font-weight: 700;
    line-height: 1;
    color: rgba(166,123,91,0.10);
    font-family: 'Georgia', 'Times New Roman', serif;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.svc-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #A67B5B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 18px rgba(166,123,91,0.25);
    z-index: 1;
}
.svc-header:hover .svc-icon { transform: rotate(3deg); }
.svc-header h2 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #3A2A1A;
    margin-bottom: 12px;
    z-index: 1;
}
.svc-header p {
    position: relative;
    font-size: 15px;
    color: #8A7A6A;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    z-index: 1;
}

/* ========== Info Grid ========== */
.svc-body {
    max-width: 900px;
    margin: 0 auto;
}
.svc-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.svc-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(90,74,58,0.06);
    border: 1px solid rgba(166,123,91,0.10);
    transition: box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.svc-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #A67B5B;
    opacity: 0;
    transition: opacity .3s;
}
.svc-info-card:hover::before { opacity: 1; }
.svc-info-card:hover {
    box-shadow: 0 10px 32px rgba(166,123,91,0.13);
}
.svc-section-alt .svc-info-card { background: #fff; }
.svc-info-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #3A2A1A;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(166,123,91,0.14);
}
.svc-info-card h3 i {
    color: #A67B5B;
    margin-right: 8px;
}
.svc-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.svc-info-card ul li {
    position: relative;
    padding: 10px 0 10px 22px;
    font-size: 14px;
    color: #5A4A3A;
    line-height: 1.6;
    border-bottom: 1px dashed rgba(166,123,91,0.10);
    transition: color .2s;
}
.svc-info-card ul li:last-child { border-bottom: none; }
.svc-info-card ul li:hover { color: #8B6448; }
.svc-info-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E8B89D;
}
.svc-info-card ul li:hover::before { background: #A67B5B; }

/* ========== Service Items Grid ========== */
.svc-items {
    margin-top: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.svc-items-title {
    font-size: 19px;
    font-weight: 600;
    color: #3A2A1A;
    margin-bottom: 22px;
    padding-left: 14px;
    border-left: 3px solid #A67B5B;
}
.svc-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
/* 服务卡 —— 图左文右横向布局，增加层次 */
.svc-item-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(90,74,58,0.06);
    border: 1px solid rgba(166,123,91,0.10);
    transition: box-shadow .3s, transform .3s;
    display: flex;
    align-items: stretch;
}
.svc-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(166,123,91,0.14);
}
.svc-item-img {
    position: relative;
    width: 200px;
    min-height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}
.svc-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.svc-item-card:hover .svc-item-img img { transform: scale(1.06); }
.svc-item-body {
    padding: 26px 26px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.svc-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
}
.svc-item-top h4 {
    font-size: 18px;
    font-weight: 600;
    color: #3A2A1A;
}
.svc-item-duration {
    font-size: 13px;
    color: #A67B5B;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.svc-item-desc {
    font-size: 14px;
    color: #8A7A6A;
    line-height: 1.7;
    margin-bottom: 14px;
}
.svc-item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
/* 特点标签 —— 提高对比度 */
.svc-item-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #F5EFE8;
    color: #8B6448;
    border-radius: 4px;
    font-size: 12px;
    transition: background .2s;
}
.svc-item-features span:hover { background: #EFE4D8; }
.svc-item-features span i { font-size: 11px; color: #A67B5B; }
.svc-item-btn {
    display: inline-block;
    margin-top: auto;
    padding: 9px 26px;
    background: transparent;
    color: #A67B5B;
    border: 1.5px solid #A67B5B;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .25s, color .25s;
}
.svc-item-btn:hover {
    background: #A67B5B;
    color: #fff;
}

/* ========== Bottom CTA ========== */
.svc-bottom-cta {
    background: #A67B5B;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
/* 同心细环呼应 hero */
.svc-bottom-cta::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 640px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.14);
    pointer-events: none;
}
.svc-bottom-cta::after {
    content: '';
    position: absolute;
    top: -360px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.08);
    pointer-events: none;
}
.svc-bottom-cta-inner {
    position: relative;
    text-align: center;
    color: #fff;
}
.svc-bottom-cta-inner h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}
.svc-bottom-cta-inner p {
    font-size: 15px;
    opacity: 0.92;
    margin-bottom: 28px;
}
.svc-bottom-btns .btn-white {
    display: inline-block;
    padding: 14px 46px;
    background: #fff;
    color: #8B6448;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    transition: transform .25s;
}
.svc-bottom-btns .btn-white:hover {
    transform: translateY(-2px);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .svc-info-grid { grid-template-columns: 1fr; }
    .svc-item-img { width: 160px; min-height: 200px; }
}
@media (max-width: 768px) {
    .svc-hero { min-height: 380px; }
    .svc-hero-overlay { height: 130px; }
    .svc-hero-content { padding: 120px 0 60px 20px; }
    .svc-hero-content h1 { font-size: 30px; }
    .svc-nav-list { gap: 6px; }
    .svc-nav-item { padding: 8px 14px 8px 10px; font-size: 13px; }
    .svc-items-grid { grid-template-columns: 1fr; }
    .svc-section { padding: 48px 0; scroll-margin-top: 120px; }
    .svc-header h2 { font-size: 24px; }
    .svc-ghost { font-size: 64px; top: -24px; }
    .svc-item-card { flex-direction: column; }
    .svc-item-img { width: 100%; min-height: 180px; }
    .svc-bottom-cta-inner h2 { font-size: 24px; }
}
