.banner-section {
    background-image: url(/static/image/banner-3.jpg);
    background-position: center 30%;

    &::before {
        background-color: rgba(19, 19, 19, 0.76);
    }
}

/* 服務內容（參考服務特色卡片，六項 3×2） */
.service-content-section .feature-service-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-content-section .feature-service-item__title {
    margin: 0 0 8px;
}

.service-content-section .feature-service-item__title-en {
    margin: 0;
    font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
}

@media (hover: hover) {
    .service-content-section .feature-service-item:hover .feature-service-item__panel {
        max-height: min(88vh, 720px);
    }
}

/* 計劃品牌卡（spacer）：白底、logo 居中、中英文標題 */
.service-content-section .feature-service-item--brand {
    counter-increment: none;
    background: linear-gradient(165deg, #ffffff 0%, #f7f9fc 55%, #fff8f2 100%);
    border: 1px solid rgba(2, 33, 105, 0.08);
    box-shadow: 0 14px 36px rgba(2, 33, 105, 0.1);
    overflow: hidden;
}

.service-content-section .feature-service-item--brand::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 114, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

.service-content-section .feature-service-item--brand .feature-service-item__media::before {
    display: none;
}

.service-content-section .feature-service-item--brand .feature-service-item__media img {
    object-fit: contain;
    padding: clamp(28px, 10%, 44px) clamp(20px, 6%, 32px) clamp(72px, 18%, 96px);
    transform: none;
    transition: transform 0.45s ease;
}

.service-content-section .feature-service-item--brand .feature-service-item__panel--brand {
    left: clamp(12px, 2vw, 18px);
    right: clamp(12px, 2vw, 18px);
    bottom: clamp(12px, 2vw, 18px);
    padding: 14px 16px 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(2, 33, 105, 0.08);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-content-section .feature-service-item--brand .feature-service-item__title {
    font-size: 22px;
    margin: 0 0 6px;
    color: var(--deep-blue-color);
    font-size: clamp(17px, 1.2vw, 21px);
    font-weight: 800;
    line-height: 1.35;
}

.service-content-section .feature-service-item--brand .feature-service-item__title .title-sep {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    margin: 0 0.08em;
    font-size: 0.9em;
}

.service-content-section .feature-service-item--brand .feature-service-item__title-en {
    color: #5a6a82;
    font-size: clamp(12px, 0.85vw, 14px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (hover: hover) {
    .service-content-section .feature-service-item--brand:hover {
        z-index: 4;
    }

    .service-content-section .feature-service-item--brand:hover .feature-service-item__media img {
        transform: scale(1.04);
    }

    .service-content-section .feature-service-item--brand:hover .feature-service-item__panel--brand {
        border-color: rgba(255, 114, 0, 0.35);
        box-shadow: 0 8px 20px rgba(255, 114, 0, 0.12);
    }

    .service-content-section .feature-service-item--brand:hover .feature-service-item__panel--brand {
        max-height: none;
        overflow: visible;
    }
}

/* 社工到戶關顧及簡單健康評估 -start */
.cooling-formats-section .cooling-formats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* 社工到戶關顧及簡單健康評估 -end */

/* 計劃做什麼 */
.visit-plan-section {
    position: relative;
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 55%, #ffffff 100%);
    overflow: hidden;
}

.visit-plan-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(1, 93, 178, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.visit-plan-section .my-container {
    position: relative;
    z-index: 2;
}

.visit-plan-section .section-tip,
.visit-plan-section .section-title,
.visit-plan-section .section-sub-title {
    text-align: center;
}

.visit-plan-section .section-title {
    padding-bottom: clamp(14px, 1.8vw, 22px);
}

.visit-plan-section .section-sub-title {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: clamp(48px, 5vw, 64px);
}

.visit-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.4vw, 22px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.visit-plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
    border-radius: 16px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;

    &::after {
        content: "";
        position: absolute;
        inset: 0;
        width: 60px;
        height: 60px;
        left: 56%;
        top: 46%;
        transform: translate(-50%, -50%);
        border-radius: 30px 30px 10px 10px ;
        background: rgba(255, 114, 0, 0.7);
        z-index: -1;
    }
}

.visit-plan-card:hover {
    .visit-plan-card__icon {
        transform: rotateY(180deg);
    }
}

.visit-plan-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(56px, 4.5vw, 72px);
    height: clamp(56px, 4.5vw, 72px);
    margin-bottom: clamp(16px, 1.5vw, 20px);
    flex-shrink: 0;
    transition: all 0.35s ease;
}


.visit-plan-card__text {
    margin: 0;
    color: var(--deep-blue-color);
    font-size: clamp(14px, 0.9vw, 16px);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.01em;
    text-align: center;
}

/* 社工與工程師義工的全人評估 -start */
.cooling-goals-section {
    padding-bottom: 120px;
    
    .cooling-goals-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-bottom: 120px;
    }
}
/* 社工與工程師義工的全人評估 -end */

/* 數據與成效 -start */
.volunteer-stats-section {
    padding: clamp(72px, 8vw, 100px) 0;
    position: relative;
    background-image: url(/static/image/number-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-bottom: 180px;
    

    /* &::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
      
        z-index: 1;
    } */

    &::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.96);
        z-index: 1;
    }

    .my-container {
        position: relative;
        z-index: 3;
    }
}

.volunteer-stats-section .section-tip,
.volunteer-stats-section .section-title,
.volunteer-stats-section .section-sub-title {
    text-align: center;
}

.volunteer-stats-section .section-sub-title {
    /* color: #ffffff; */
    padding-bottom: clamp(40px, 5vw, 56px);
}

.volunteer-stats-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(32px, 8vw, 120px);
    flex-wrap: wrap;
}

.volunteer-stat-item {
    flex: 0 1 auto;
    min-width: 140px;
    text-align: center;
}

.volunteer-stat-item__num {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
    font-size: clamp(46px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--main-color);
}

.volunteer-stat-item__value {
    display: inline-block;
}

.volunteer-stat-item__label {
    margin: 0;
    color: var(--orange-color);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.volunteer-stat-item__subLabel {
    margin: clamp(10px, 1.2vw, 14px) auto 0;
    padding-top: clamp(10px, 1.2vw, 14px);
    max-width: 200px;
    border-top: 1px solid rgba(1, 93, 178, 0.12);
    color: #5a6478;
    font-size: clamp(13px, 0.85vw, 15px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

.volunteer-stats-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: clamp(36px, 4.5vw, 52px) auto 0;
    padding: 10px 24px 10px 20px;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(1, 93, 178, 0.14);
    box-shadow: 0 4px 20px rgba(1, 93, 178, 0.08);
    text-align: center;
}

.volunteer-stats-section .volunteer-stats-time {
    display: flex;
    width: fit-content;
}

.volunteer-stats-time__label {
    display: inline-flex;
    align-items: center;
    padding-right: 14px;
    margin-right: 14px;
    border-right: 1px solid rgba(1, 93, 178, 0.18);
    color: var(--main-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    white-space: nowrap;
}

/* .volunteer-stats-time__label::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--orange-color);
    flex-shrink: 0;
} */

.volunteer-stats-time__value {
    color: #4e5a70;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
/* 數據與成效 -end */

/* 服务对象 -start */
.service-object-section {
    background-color: var(--main-color);
    position: relative;
    padding: 120px 0;

    .section-title,
    .section-sub-title {
        color: #fff;
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(/static/image/testimonial-bg-3.webp) no-repeat;
        background-size: 120% auto;
        background-position: bottom center;
        opacity: 0.16;
    }

    .bg-icon {
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* 服務對象：圓形目標項（五欄） */
.service-object-section .object-list {
    position: relative;
    z-index: 2;
    margin-top: clamp(28px, 2.8vw, 48px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 30px);
    margin-left: auto;
    margin-right: auto;
}

.service-object-section .object-item {
    --object-item-bg: none;
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
    background-color: var(--deep-blue-color);
}

.service-object-section .object-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: var(--object-item-bg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.4s ease, transform 0.45s ease;
    z-index: 0;
}

.service-object-section .object-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(2, 18, 58, 0.62);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-object-section .object-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 1);
}

.service-object-section .object-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-object-section .object-item:hover::after {
    opacity: 1;
}

.service-object-section .object-item__icon {
    position: relative;
    z-index: 2;
    width: clamp(40px, 3.2vw, 60px);
    height: clamp(40px, 3.2vw, 60px);
    flex-shrink: 0;
    margin-bottom: clamp(6px, 0.6vw, 10px);
    border-radius: 10px;
    box-sizing: border-box;
}

.service-object-section .object-item__text {
    position: relative;
    z-index: 2;
    font-size: clamp(11px, 0.85vw, 16px);
    line-height: 1.45;
    font-weight: 600;
    color: #fff;
    display: block;
    max-width: 60%;
    padding-top: 36px;
}

@media (prefers-reduced-motion: reduce) {

    .service-object-section .object-item,
    .service-object-section .object-item::before,
    .service-object-section .object-item::after {
        transition: none;
    }

    .service-object-section .object-item:hover {
        transform: none;
    }
}

/* 服务对象 -end */

/* 抗熱節能小貼士 */
.heat-tips-section {
    position: relative;
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 50%, #f6f9fc 100%);
}

.heat-tips-section .section-tip,
.heat-tips-section .section-title,
.heat-tips-section .section-sub-title {
    text-align: center;
}

.heat-tips-section .section-title {
    padding-bottom: clamp(14px, 1.8vw, 22px);
}

.heat-tips-section .section-sub-title {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: clamp(40px, 4.5vw, 56px);
}

.heat-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 2.2vw, 36px);
    margin: 0;
    padding: 0 10px 10px 0;
    list-style: none;
    align-items: stretch;
}

.heat-tip-card {
    --heat-tip-shadow-offset: 12px;
    --heat-tip-shadow-color: #f58220;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(20px, 1.8vw, 26px) clamp(18px, 1.6vw, 22px);
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 16px;
    box-shadow: var(--heat-tip-shadow-offset) var(--heat-tip-shadow-offset) 0 0 var(--heat-tip-shadow-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    &:nth-child(2n) {
        box-shadow: var(--heat-tip-shadow-offset) var(--heat-tip-shadow-offset) 0 0 var(--main-color);

        &:hover {
            box-shadow: calc(var(--heat-tip-shadow-offset) + 2px) calc(var(--heat-tip-shadow-offset) + 2px) 0 0 var(--main-color);
        }
    }
/* 
    &::after {
        content: "";
        position: absolute;
        width: 100px;
        height: auto;
        aspect-ratio: 80 / 100;
        right: -16px;
        bottom: -2px;
        background-image: url(/static/image/visit-1.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.1;
    } */
}

.heat-tip-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: calc(var(--heat-tip-shadow-offset) + 2px) calc(var(--heat-tip-shadow-offset) + 2px) 0 0 var(--heat-tip-shadow-color);
}

.heat-tip-card__question {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 12px;
    color: #000000;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.heat-tip-card__question::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, #015db2 0%, rgba(1, 92, 178, 0.5) 100%);
}

.heat-tip-card__answer {
    margin: 0;
    flex: 1;
    color: #333333;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
}

.heat-tip-card--wide {
    grid-column: span 2;
}

.heat-tip-card__list {
    margin: 0;
    padding: 0;
    flex: 1;
    color: #333333;
    font-size: 16px;
    line-height: 1.75;
    list-style: none;
}

.heat-tip-card__list li {
    position: relative;
    margin-bottom: 0.55em;
    padding-left: 1.1em;
}

.heat-tip-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 2px;
    background: #f58220;
    border-radius: 1px;
}

.heat-tip-card__list li:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .heat-tip-card {
        transition: none;
    }

    .heat-tip-card:hover {
        transform: none;
    }
}

/* 暑熱迷思手風琴 */
.heat-mistakes-section {
    padding: 80px 0 180px 0;
    background: #ffffff;
}

.heat-mistakes-section .section-tip,
.heat-mistakes-section .section-title,
.heat-mistakes-section .section-sub-title {
    text-align: center;
}

.heat-mistakes-section .section-title {
    padding-bottom: clamp(14px, 1.8vw, 22px);
}

.heat-mistakes-section .section-sub-title {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: clamp(36px, 4vw, 48px);
}

.heat-mistakes-accordion {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.heat-mistake-item {
    --mistake-shadow-offset: 6px;
    border: 2px solid #000000;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--mistake-shadow-offset) var(--mistake-shadow-offset) 0 0 var(--main-color);
    overflow: hidden;
    transition: box-shadow 0.25s ease;

    /* &:nth-child(2n) {
        box-shadow: var(--mistake-shadow-offset) var(--mistake-shadow-offset) 0 0 #015db2;
    } */
}

.heat-mistake-item.is-open {
    box-shadow: calc(var(--mistake-shadow-offset) + 2px) calc(var(--mistake-shadow-offset) + 2px) 0 0 #f58220;
}

.heat-mistake-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: clamp(16px, 1.5vw, 20px) clamp(18px, 1.6vw, 24px);
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s ease;
}

/* .heat-mistake-item__header:hover {
    background: rgba(1, 93, 178, 0.04);
} */

/* .heat-mistake-item.is-open .heat-mistake-item__header {
    background: rgba(245, 130, 32, 0.06);
} */

.heat-mistake-item__label {
    flex: 1;
    min-width: 0;
    color: #000000;
    font-size: clamp(15px, 0.95vw, 17px);
    font-weight: 800;
    line-height: 1.45;
}

.heat-mistake-item__toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(1, 93, 178, 0.08);
    position: relative;
    transition: transform 0.35s ease, background 0.25s ease;
}

.heat-mistake-item__toggle::before,
.heat-mistake-item__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--main-color);
    border-radius: 1px;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.heat-mistake-item__toggle::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.heat-mistake-item__toggle::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.heat-mistake-item.is-open .heat-mistake-item__toggle {
    transform: rotate(180deg);
    background: rgba(245, 130, 32, 0.15);
}

.heat-mistake-item.is-open .heat-mistake-item__toggle::after {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}

.heat-mistake-item.is-open .heat-mistake-item__toggle::before {
    background-color: var(--orange-color);
}

.heat-mistake-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.heat-mistake-item.is-open .heat-mistake-item__panel {
    grid-template-rows: 1fr;
}

.heat-mistake-item__body {
    overflow: hidden;
    padding: 0 clamp(18px, 1.6vw, 24px);
    border-top: 0 solid transparent;
    color: #333333;
    font-size: clamp(14px, 0.88vw, 16px);
    line-height: 1.75;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.heat-mistake-item.is-open .heat-mistake-item__body {
    padding: clamp(14px, 1.2vw, 18px) clamp(18px, 1.6vw, 24px) clamp(20px, 1.8vw, 26px);
    border-top-color: rgba(0, 0, 0, 0.08);
    border-top-width: 1px;
}

.heat-mistake-item__wrong {
    margin: 0 0 8px;
    color: #e85d04;
    font-size: clamp(15px, 0.95vw, 17px);
    font-weight: 800;
}

.heat-mistake-item__body p {
    margin: 0 0 0.8em;
}

.heat-mistake-item__body p:last-child {
    margin-bottom: 0;
}

.heat-mistake-item__list {
    margin: 0.5em 0 0;
    padding: 0;
    list-style: none;
}

.heat-mistake-item__list li {
    position: relative;
    margin-bottom: 0.45em;
    padding-left: 1.1em;
}

.heat-mistake-item__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 2px;
    background: #f58220;
    border-radius: 1px;
}

.heat-mistake-item__list li:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .heat-mistake-item__panel,
    .heat-mistake-item__body,
    .heat-mistake-item__toggle,
    .heat-mistake-item__toggle::before,
    .heat-mistake-item__toggle::after {
        transition: none;
    }
}
