/* ========== Services Page ========== */

/* Hero */
.svc-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d1040 0%, #4a1942 40%, #6d295a 70%, #f96c9f 100%);
    overflow: hidden;
}
.svc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(249,108,159,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}
/* 装饰光晕 */
.svc-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,108,159,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}
.svc-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 0 20px;
}
.svc-hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
    letter-spacing: 1px;
}
.svc-hero-content h1 .text-primary { color: #ffb6d9; }
.svc-hero-content p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 48px;
    background: #fff;
    color: #d9658d;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    color: #f96c9f;
}

/* ========== Sticky Nav（服务分类导航） ========== */
.svc-nav {
    position: sticky;
    top: 72px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(249,108,159,0.12);
    box-shadow: 0 4px 20px rgba(249,108,159,0.06);
    z-index: 100;
}
.svc-nav-list {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
}
.svc-nav-list::-webkit-scrollbar { display: none; }

/* 滑动指示条 */
.svc-nav-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f96c9f, #d9658d, #f96c9f);
    opacity: 0.15;
    border-radius: 3px 3px 0 0;
}

.svc-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    border: 1.5px solid transparent;
    white-space: nowrap;
    position: relative;
}
.svc-nav-item i {
    font-size: 15px;
    transition: transform .3s;
}
.svc-nav-item:hover {
    color: #f96c9f;
    background: linear-gradient(135deg, #fef7fa, #fef0f5);
    border-color: rgba(249,108,159,0.25);
    transform: translateY(-1px);
}
.svc-nav-item:hover i { transform: scale(1.15); }

.svc-nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 4px 16px rgba(249,108,159,0.4);
    transform: translateY(-1px);
}
.svc-nav-item.active i { color: rgba(255,255,255,0.9); }
.svc-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #f96c9f, #d9658d);
    border-radius: 3px;
}

/* ========== Section ========== */
.svc-section {
    padding: 80px 0;
}
.svc-section-alt {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.svc-header {
    text-align: center;
    margin-bottom: 48px;
}
.svc-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    box-shadow: 0 6px 24px rgba(249,108,159,0.3);
    transition: transform .3s;
}
.svc-header:hover .svc-icon { transform: scale(1.08) rotate(3deg); }
.svc-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.svc-header p {
    font-size: 15px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== Info Grid ========== */
.svc-body {
    max-width: 900px;
    margin: 0 auto;
}
.svc-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.svc-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(249,108,159,0.08);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.svc-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f96c9f, #d9658d);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity .3s;
}
.svc-info-card:hover::before { opacity: 1; }
.svc-section-alt .svc-info-card { background: #fff; }
.svc-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(249,108,159,0.1);
}
.svc-info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fef0f5;
}
.svc-info-card h3 i {
    color: #f96c9f;
    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: #555;
    line-height: 1.6;
    border-bottom: 1px dashed rgba(249,108,159,0.08);
    transition: color .2s, padding-left .2s;
}
.svc-info-card ul li:last-child { border-bottom: none; }
.svc-info-card ul li:hover {
    color: #d9658d;
    padding-left: 26px;
}
.svc-info-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    transition: transform .2s;
}
.svc-info-card ul li:hover::before { transform: translateY(-50%) scale(1.4); }

/* ========== Service Items Grid ========== */
.svc-items {
    margin-top: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.svc-items-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 3px solid #f96c9f;
}
.svc-items-title i { color: #f96c9f; margin-right: 8px; }
.svc-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.svc-item-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(249,108,159,0.06);
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s;
}
.svc-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(249,108,159,0.12);
}
.svc-item-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.svc-item-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(255,255,255,0.6));
    pointer-events: none;
}
.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-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(249,108,159,0.3);
}
.svc-item-body {
    padding: 24px;
}
.svc-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.svc-item-top h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.svc-item-duration {
    font-size: 13px;
    color: #f96c9f;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.svc-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}
.svc-item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.svc-item-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fef7fa, #fef0f5);
    color: #d9658d;
    border-radius: 50px;
    font-size: 12px;
    transition: background .2s, transform .2s;
}
.svc-item-features span:hover {
    background: linear-gradient(135deg, #fef0f5, #fce4ec);
    transform: translateY(-1px);
}
.svc-item-features span i { font-size: 11px; }
.svc-item-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}
.svc-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(249,108,159,0.35);
}

/* ========== Bottom CTA ========== */
.svc-bottom-cta {
    background: linear-gradient(135deg, #f96c9f, #d9658d);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.svc-bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.svc-bottom-cta-inner {
    position: relative;
    text-align: center;
    color: #fff;
}
.svc-bottom-cta-inner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.svc-bottom-cta-inner p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
}
.svc-bottom-btns .btn-white {
    display: inline-block;
    padding: 14px 48px;
    background: #fff;
    color: #d9658d;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}
.svc-bottom-btns .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .svc-nav-list { flex-wrap: wrap; justify-content: center; }
    .svc-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .svc-hero { min-height: 300px; }
    .svc-hero-content h1 { font-size: 28px; }
    .svc-nav-list { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .svc-nav-item { padding: 8px 16px; font-size: 13px; }
    .svc-items-grid { grid-template-columns: 1fr; }
    .svc-section { padding: 48px 0; }
    .svc-header h2 { font-size: 24px; }
}
