/* ===== 房源详情页 — Apple 风格 ===== */

/* ===== 页面Hero ===== */
.rooms-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rooms-hero-bg {
    position: absolute; inset: 0;
}
.rooms-hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 30%;
}
.rooms-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.45) 0%,
        rgba(0,0,0,.2) 45%,
        rgba(0,0,0,.55) 100%
    );
}
.rooms-hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 0 32px;
}
.rooms-hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-shadow: 0 2px 40px rgba(0,0,0,.35);
    margin-bottom: 20px;
}
.rooms-hero-sub {
    font-size: 21px;
    color: rgba(255,255,255,.9);
    font-weight: 400;
}

/* ===== 产品线导航 ===== */
.product-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 48px 24px;
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid #d2d2d7;
}
.product-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 16px;
    transition: all .35s cubic-bezier(0.25, 0.1, 0.25, 1);
    color: #1d1d1f;
}
.product-nav-item:hover {
    background: #EFB806;
    opacity: 1;
    color: #1d1d1f;
}
.pnav-icon { font-size: 28px; }
.pnav-name {
    font-size: 17px;
    font-weight: 600;
}
.pnav-price {
    font-size: 12px;
    color: #86868b;
}

/* ===== 房型1详情区 ===== */
.room-detail-section {
    padding: 120px 0 80px;
}
.rd-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
    padding: 0 24px;
}
.rd-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 980px;
    margin-bottom: 16px;
    background: #f5f5f7;
    color: #6e6e73;
}
.rd-tag.hot {
    background: #A0103A;
    color: #fff;
}
.rd-tag.premium {
    background: linear-gradient(135deg, #EFB806, #F6E803);
    color: #1d1d1f;
}

/* 详情页产品线品牌色条 */
.rd-color-bar {
    width: 56px; height: 6px; border-radius: 3px; margin: 0 auto 20px;
}
.rd-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}
.rd-title .rd-subtitle {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: #86868b;
    margin-top: 6px;
    letter-spacing: 0;
}
.rd-desc {
    font-size: 17px;
    color: #86868b;
    line-height: 1.65;
}

/* ===== 图片画廊 ===== */
.rd-gallery {
    max-width: 980px;
    margin: 0 auto 80px;
    padding: 0 24px;
}
.gallery-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,.12);
}
.gallery-main img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: opacity .3s ease, transform .8s ease;
}
.gallery-main:hover img {
    transform: scale(1.02);
}
.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.gallery-thumb {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: .45;
    border: 2px solid transparent;
    transition: all .3s ease;
}
.gallery-thumb.active {
    opacity: 1;
    border-color: #EFB806;
}
.gallery-thumb:hover {
    opacity: .8;
}
.gallery-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ===== 产品信息卡片 ===== */
.rd-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 980px;
    margin: 0 auto 80px;
    padding: 0 24px;
}
.info-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all .35s ease;
}
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.info-card.highlight {
    background: #f5f5f7;
}
.info-card.highlight .info-card-label {
    color: #86868b;
}
.info-card.highlight .info-card-value {
    color: #1d1d1f;
    font-weight: 500;
    font-size: 17px;
}
.info-card-label {
    font-size: 12px;
    color: #86868b;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.info-card-value {
    font-size: 17px;
    font-weight: 500;
    color: #1d1d1f;
}

/* ===== 特色亮点 ===== */
.rd-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}
.feature-item {
    background: linear-gradient(160deg, #EFB806 0%, #F6E803 100%);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    transition: all .35s ease;
}
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(239,184,6,.3);
}
.feature-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.feature-item h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}
.feature-item p {
    font-size: 14px;
    color: rgba(0,0,0,.55);
    line-height: 1.6;
}

/* ===== 分隔装饰 ===== */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #EFB806, #F6E803);
    border-radius: 2px;
    margin: 0 auto;
}

/* ===== 门店覆盖 ===== */
.stores-section {
    padding: 120px 0;
    background: #f5f5f7;
}
.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 56px auto 0;
    padding: 0 24px;
}
.store-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all .35s ease;
    border: 1px solid #d2d2d7;
}
.store-item:hover {
    transform: translateY(-3px);
    border-color: #EFB806;
    box-shadow: 0 8px 32px rgba(239,184,6,.15);
}
.store-icon { font-size: 24px; margin-bottom: 10px; }
.store-name {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}
.store-count {
    font-size: 14px;
    color: #EFB806;
    font-weight: 700;
}

/* ===== 公区设施展示 ===== */
.facilities-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}
.facility-hero {
    position: absolute; inset: 0;
}
.facility-hero img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 40%;
}
.facility-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(239,184,6,.75) 0%,
        rgba(239,184,6,.15) 50%,
        rgba(239,184,6,.4) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}
.facility-content {
    text-align: center;
    max-width: 800px;
}
.facility-title {
    font-size: 84px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -.02em;
    margin-bottom: 22px;
}
.facility-desc {
    font-size: 24px;
    color: rgba(0,0,0,.6);
    line-height: 1.9;
}

/* ===== 预约看房 ===== */
.booking-section {
    padding: 120px 0;
}
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    max-width: 1040px;
    margin: 56px auto 0;
    padding: 0 24px;
    align-items: start;
}
.booking-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bi-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #d2d2d7;
}
.bi-icon { font-size: 24px; }
.bi-label { font-size: 12px; color: #86868b; margin-bottom: 2px; }
.bi-value { font-size: 17px; font-weight: 500; }
.bi-link { color: #3D7FE9; font-weight: 600; }
.bi-link:hover { opacity: .8; }

.qr-card {
    margin: 8px 0 20px; padding: 24px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 18px;
    text-align: center;
    max-width: 240px;
}
.qr-img {
    width: 100%; max-width: 180px;
    border-radius: 12px; margin: 0 auto 12px;
}
.qr-caption {
    font-size: 12px;
    color: #86868b;
}
.rooms-qr { margin-left: 0; }

/* ===== 响应式 ===== */
@media (max-width: 1068px) {
    .rd-info-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-layout { grid-template-columns: 1fr; gap: 48px; }
    .store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --font-hero: clamp(36px, 10vw, 64px); --font-3xl: 40px; --font-2xl: 32px; }
    .rooms-hero-title { font-size: 36px; }
    .rooms-hero-sub { font-size: 16px; }
    .product-nav { flex-direction: column; gap: 12px; }
    .rd-title { font-size: 36px; }
    .rd-features { grid-template-columns: 1fr; }
    .rd-info-grid { grid-template-columns: 1fr; }
    .gallery-thumbs { gap: 8px; }
    .store-grid { grid-template-columns: 1fr; }
    .facility-title { font-size: 52px; }
    .facility-desc { font-size: 21px; }
    .rooms-hero { height: 50vh; min-height: 360px; }

    /* 移动端导航 */
    .nav-list {
        position: fixed; top: 52px; left: 0; right: 0;
        background: rgba(250,250,250,.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 20px 24px; gap: 0;
        box-shadow: 0 10px 40px rgba(0,0,0,.1);
        transform: translateY(-120%); opacity: 0;
        transition: all .4s ease;
        pointer-events: none;
    }
    .nav-list.open {
        transform: translateY(0); opacity: 1; pointer-events: all;
    }
    .nav-list li { width: 100%; }
    .nav-list a { display: block; padding: 14px 0; font-size: 17px; border-bottom: none; }
    .nav-hamburger { display: block; }
}

@media (max-width: 480px) {
    .booking-form { padding: 28px 20px; }
}
