/* 生日／開幕／交車 佈置內頁 */
.page-celebration .ce-section {
    display: block !important;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.ce-wrap {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* --- Hero --- */
.ce-hero {
    position: relative;
    isolation: isolate;
    min-height: 56vh;
    padding: 150px 5% 88px;
    background:
        linear-gradient(120deg, rgba(10, 10, 14, 0.94) 0%, rgba(18, 12, 22, 0.88) 45%, rgba(10, 10, 14, 0.78) 100%),
        url('images/photo-1492684223066-81342ee5ff30.jpg') center/cover;
    background-attachment: scroll;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.ce-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px 56px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}
.ce-hero__label {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.88rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.5);
    margin-bottom: 18px;
}
.ce-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.55rem);
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--gold-light);
    line-height: 1.32;
    margin-bottom: 22px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}
.ce-hero__lead {
    font-size: 1.05rem;
    color: rgba(230, 230, 235, 0.92);
    line-height: 2;
    max-width: 32em;
    margin-bottom: 28px;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}
.ce-hero__lead strong {
    color: var(--gold-light);
    font-weight: 600;
}
.ce-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.ce-hero__chips span {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.06);
    color: rgba(245, 245, 245, 0.88);
}
.ce-hero__aside {
    width: 100%;
    max-width: min(26rem, 100%);
    margin: 5rem 0 0 0;
    padding: 0 0 0 22px;
    border-left: 1px solid rgba(212, 175, 55, 0.38);
    box-sizing: border-box;
}
.ce-hero__aside-kicker {
    margin: 0 0 20px 0;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: rgba(212, 175, 55, 0.55);
    font-weight: 400;
    line-height: 1.5;
}
.ce-hero__aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}
.ce-hero__aside-list li {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ce-hero__aside-lead {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    color: rgba(212, 175, 55, 0.78);
    font-weight: 500;
    line-height: 1.45;
}
.ce-hero__aside-txt {
    font-size: 1rem;
    line-height: 1.82;
    letter-spacing: 0.02em;
    color: rgba(242, 240, 236, 0.93);
    font-weight: 400;
}

/* --- 三主題 --- */
.ce-trio {
    background: var(--bg-lighter);
    padding: 88px 5% 96px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.ce-trio__head {
    text-align: center;
    margin-bottom: 48px;
    max-width: 42em;
    margin-left: auto;
    margin-right: auto;
}
.ce-trio__head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 14px;
}
.ce-trio__head p {
    color: var(--text-sub);
    font-size: 1.02rem;
    line-height: 1.9;
}

/* --- 三場景：交錯左圖右文／左文右圖 --- */
.ce-trio__scenes {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3.25rem);
    max-width: 1120px;
    margin: 0 auto;
}
.ce-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3.5vw, 2.75rem);
    align-items: center;
    min-width: 0;
}
.ce-scene__media {
    position: relative;
    min-height: 0;
    min-width: 0;
    aspect-ratio: 4 / 3;
    max-height: min(340px, 52vw);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background-size: cover;
    background-position: center;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.06) inset;
}
.ce-scene__media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 10, 14, 0.12) 0%, transparent 45%, rgba(8, 8, 12, 0.35) 100%);
}
.ce-scene--birthday .ce-scene__media {
    background-image: url('images/photo-1466978913421-dad2ebd01d17.jpg');
}
.ce-scene--opening .ce-scene__media {
    background-image: url('images/photo-1441986300917-64674bd600d8.jpg');
}
.ce-scene--handover .ce-scene__media {
    background-image: url('images/photo-1511837008003-71eca36ceb70.jpg');
}
.ce-scene__body {
    position: relative;
    min-width: 0;
    padding: 8px 0 8px clamp(16px, 3vw, 26px);
    border-left: 2px solid rgba(212, 175, 55, 0.28);
}
.ce-scene--reverse .ce-scene__body {
    border-left: none;
    border-right: 2px solid rgba(212, 175, 55, 0.28);
    padding-left: 0;
    padding-right: clamp(16px, 3vw, 26px);
}
.ce-scene__idx {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1;
    color: rgba(212, 175, 55, 0.12);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
    user-select: none;
}
.ce-scene__tag {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.55);
    margin-bottom: 8px;
}
.ce-scene__body h3 {
    font-size: clamp(1.08rem, 2.2vw, 1.22rem);
    color: var(--gold-light);
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.35;
}
.ce-scene__lead {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.82;
    margin-bottom: 16px;
}
.ce-scene__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ce-scene__list li {
    font-size: 0.88rem;
    color: rgba(220, 220, 225, 0.9);
    padding: 5px 0 5px 18px;
    position: relative;
    line-height: 1.65;
}
.ce-scene__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

/* --- 流程 --- */
.ce-flow {
    background: var(--bg-dark);
    padding: 92px 5% 100px !important;
}
.ce-flow__head {
    text-align: center;
    margin-bottom: 44px;
}
.ce-flow__head h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.ce-flow__head p {
    color: var(--text-sub);
    font-size: 1rem;
    max-width: 38em;
    margin: 0 auto;
    line-height: 1.85;
}
.ce-flow__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
}
.ce-flow__step {
    text-align: center;
    padding: 22px 14px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: rgba(255, 255, 255, 0.02);
}
.ce-flow__num {
    width: 36px;
    height: 36px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ce-flow__step h3 {
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}
.ce-flow__step p {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* --- 手風琴（你可能想先問的）：全幅底圖 + 遮罩 --- */
.ce-details {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(165deg, rgba(10, 10, 14, 0.88) 0%, rgba(12, 10, 16, 0.82) 45%, rgba(8, 8, 12, 0.9) 100%),
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(70, 45, 55, 0.22) 0%, transparent 58%),
        url('images/photo-1515934751635-c81c6bc9a2d8.jpg') center/cover;
    background-attachment: scroll;
    padding: 88px 5% 100px !important;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}
.ce-details__head {
    text-align: center;
    margin-bottom: 40px;
}
.ce-details__head h2 {
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    color: var(--gold);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}
.ce-details__head p {
    color: var(--text-sub);
    font-size: 1rem;
    max-width: 38em;
    margin: 0 auto;
    line-height: 1.85;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}
.ce-details__list {
    max-width: 760px;
    margin: 0 auto;
}
.ce-details__list details {
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 12px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, rgba(22, 18, 24, 0.82) 0%, rgba(10, 10, 14, 0.9) 100%);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}
.ce-details__list summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-size: 1rem;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    position: relative;
    padding-right: 48px;
}
.ce-details__list summary::-webkit-details-marker { display: none; }
.ce-details__list summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(212, 175, 55, 0.65);
    transition: transform 0.35s ease, color 0.25s ease;
}
.ce-details__list details[open] summary::after {
    content: '−';
}
.ce-details__list .ce-details__body {
    padding: 0 22px 22px;
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.9;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
}

/* --- CTA --- */
.ce-cta {
    padding: 80px 5% 96px !important;
    background: radial-gradient(ellipse 100% 80% at 50% 100%, rgba(80, 45, 60, 0.2) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0e 100%);
    text-align: center;
}
.ce-cta__frame {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.06) inset, 0 24px 60px rgba(0, 0, 0, 0.4);
    background: rgba(10, 10, 14, 0.65);
}
.ce-cta__frame h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    color: var(--gold-light);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 14px;
}
.ce-cta__frame p {
    color: var(--text-sub);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 24px;
}
.ce-cta .gold-btn { margin-top: 0; }

@media (max-width: 960px) {
    .ce-hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 72px;
    }
    .ce-hero__grid {
        grid-template-columns: 1fr;
    }
    .ce-hero__aside {
        order: -1;
        margin-top: 0;
        max-width: none;
        padding-left: 18px;
    }
    .ce-scene {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .ce-scene__media {
        max-height: none;
        aspect-ratio: 16 / 10;
    }
    .ce-scene .ce-scene__media {
        order: 1;
    }
    .ce-scene .ce-scene__body {
        order: 2;
    }
    .ce-scene--reverse .ce-scene__body {
        border-right: none;
        border-left: 2px solid rgba(212, 175, 55, 0.28);
        padding-right: 0;
        padding-left: clamp(16px, 3vw, 26px);
    }
    .ce-flow__steps {
        grid-template-columns: 1fr;
    }
}
