/* ========== 健身 详情页 ========== */

/* Hero */
.fd-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fd-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 9, 0.55), rgba(12, 16, 9, 0.3));
    pointer-events: none;
}

.fd-hero-text {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.fd-hero-title {
    font-family: 'Ma Shan Zheng', 'Noto Sans SC', serif;
    font-size: 48px;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.fd-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

/* 通用 section */
.fd-section {
    padding: 90px 0;
}

.fd-section-head {
    margin-bottom: 48px;
}

/* 空间实拍 */
.fd-space-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 48px;
}

.fd-space-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fd-space-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 24, 15, 0.1);
}

.fd-space-wide {
    grid-column: 1 / -1;
}

.fd-space-img {
    overflow: hidden;
}

.fd-space-wide .fd-space-img {
    aspect-ratio: 21 / 8;
}

.fd-space-card:not(.fd-space-wide) .fd-space-img {
    aspect-ratio: 16 / 10;
}

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

.fd-space-card:hover .fd-space-img img {
    transform: scale(1.05);
}

.fd-space-info {
    padding: 22px 26px;
}

.fd-space-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.fd-space-info p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 视频 */
.fd-video-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.fd-video-inner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.fd-video video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--bg-dark);
}

.fd-video-cap {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* 产品说明 */
.fd-products {
    background: var(--bg-soft);
}

.fd-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.fd-product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fd-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 24, 15, 0.1);
}

.fd-product-featured {
    border: 2px solid var(--lime);
    box-shadow: 0 12px 36px rgba(200, 245, 66, 0.18);
}

.fd-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 700;
}

.fd-product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.fd-product-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 24px;
}

.fd-product-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

.fd-product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fd-product-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 22px;
    position: relative;
}

.fd-product-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--lime);
    border-radius: 2px;
}

/* 私教方向 */
.fd-coach-directions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fd-direction {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.fd-direction:hover {
    transform: translateY(-3px);
    border-color: var(--lime);
}

.fd-direction-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(200, 245, 66, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fd-direction-icon svg {
    width: 26px;
    height: 26px;
    color: var(--lime-deep);
}

.fd-direction h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.fd-direction p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* 私教团队 */
.fd-coach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fd-coach-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fd-coach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 24, 15, 0.1);
}

.fd-coach-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.fd-coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.fd-coach-card:hover .fd-coach-photo img {
    transform: scale(1.05);
}

.fd-coach-info {
    padding: 22px 20px;
}

.fd-coach-info h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.fd-coach-role {
    font-size: 12px;
    color: var(--lime-deep);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.fd-coach-info p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.fd-coach-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fd-coach-tags span {
    font-size: 11px;
    color: var(--text-secondary);
    background: var(--bg-soft);
    padding: 3px 10px;
    border-radius: 999px;
}

/* CTA */
.fd-cta {
    background: var(--bg-dark);
    padding: 70px 0;
}

.fd-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.fd-cta-text h2 {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.fd-cta-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式 */
@media (max-width: 1024px) {
    .fd-section {
        padding: 70px 0;
    }

    .fd-space-grid {
        grid-template-columns: 1fr;
    }

    .fd-product-grid {
        grid-template-columns: 1fr;
    }

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

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

    .fd-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .fd-hero {
        height: 240px;
    }

    .fd-hero-title {
        font-size: 36px;
    }

    .fd-section {
        padding: 56px 0;
    }

    .fd-coach-directions {
        grid-template-columns: 1fr;
    }

    .fd-coach-grid {
        grid-template-columns: 1fr;
    }

    .fd-cta-text h2 {
        font-size: 22px;
    }
}
