.health-banner {
    background-image: url(/static/image/h-bg-2.jpg);
    background-position: center center;

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

/* CFSC 服務概況 */
.cfsc-services-section {
    position: relative;
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 55%, #ffffff 100%);
    overflow: hidden;
}

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

.cfsc-services-section .my-container {
    position: relative;
    z-index: 2;
}

.cfsc-services-section .section-tip,
.cfsc-services-section .section-title,
.cfsc-services-section .section-sub-title {
    text-align: center;
}

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

.cfsc-services-section .section-sub-title {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: clamp(36px, 4vw, 52px);
}

.cfsc-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfsc-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: clamp(22px, 2vw, 28px) clamp(20px, 1.8vw, 26px) clamp(24px, 2.2vw, 30px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 42, 59, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;

    .server-img-box {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -50px;
        right: 0;

        .server-img {
            width: 100%;
            height: auto;
            object-fit: contain;

            &.active {
                display: none;
            }
        }
    }

    &:hover {
        .server-img {
            &.def {
                display: none;
            }

            &.active {
                display: block;
            }
        }
    }
}

.cfsc-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(1, 93, 178, 0.18);
    box-shadow: 0 16px 40px rgba(1, 93, 178, 0.12);
}

.cfsc-service-card:hover::before {
    opacity: 1;
}

.cfsc-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(56px, 4.5vw, 68px);
    height: clamp(56px, 4.5vw, 68px);
    margin-bottom: clamp(14px, 1.4vw, 18px);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(1, 93, 178, 0.1) 0%, rgba(255, 114, 0, 0.08) 100%);
    border: 1px dashed rgba(1, 93, 178, 0.22);
    flex-shrink: 0;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.cfsc-service-card__icon::after {
    content: "";
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015db2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.45'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cfsc-service-card:hover .cfsc-service-card__icon {
    background: linear-gradient(135deg, rgba(1, 93, 178, 0.14) 0%, rgba(255, 114, 0, 0.12) 100%);
    border-color: rgba(1, 93, 178, 0.35);
    transform: scale(1.04);
}

.cfsc-service-card:nth-child(4n + 2) .cfsc-service-card__icon {
    background: linear-gradient(135deg, rgba(255, 114, 0, 0.1) 0%, rgba(1, 93, 178, 0.08) 100%);
}

.cfsc-service-card:nth-child(4n + 3) .cfsc-service-card__icon {
    background: linear-gradient(135deg, rgba(0, 117, 194, 0.1) 0%, rgba(255, 114, 0, 0.06) 100%);
}

.cfsc-service-card__title {
    font-size: 22px;
    margin: 0 0 10px;
    color: var(--deep-blue-color);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.cfsc-service-card__desc {
    margin: 0;
    flex: 1;
    color: #5a6478;
    font-size: clamp(15px, 0.85vw, 15px);
    line-height: 1.7;
    font-weight: 400;
}

/* 關於PHC - start */
.feature-section {
    padding: 120px 0;
    background-image: url(/static/image/design1.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #f5f5f5;
        opacity: 0.92;
        z-index: 0;
    }
}

.feature-section .section-tip {
    color: var(--orange-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cards-wrapper {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(2, 33, 105, 0.1);
    border-radius: 14px;
    padding: 22px 20px 24px;
    box-shadow: 0 8px 24px rgba(2, 33, 105, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(235, 83, 16, 0.08);
    transform: scale(0.7);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(235, 83, 16, 0.5);
    box-shadow: 0 18px 30px rgba(2, 33, 105, 0.15);
}

.feature-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.feature-card-top {
    margin-bottom: 16px;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, background 0.35s ease;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px dashed #ffffff;
        animation: 10s linear 0s infinite normal none running rotated;
    }
}

@keyframes rotated {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feature-card:hover .feature-card-icon {
    transform: rotate(-8deg) scale(1.08);
    background: var(--orange-color);
}

.feature-card-title {
    margin: 0;
    color: var(--deep-blue-color);
    font-size: clamp(21px, 1.3vw, 25px);
    line-height: 1.35;
    font-weight: 700;
    min-height: 64px;
}

.feature-card-desc {
    margin: 12px 0 0;
    color: #667085;
    font-size: clamp(14px, 0.9vw, 17px);
    line-height: 1.75;
}

/* 關於PHC - end */

.contact-section {
    padding: 80px 0 180px 0;

    position: relative;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10%;
        width: 100%;
        height: 80%;
        background-image: url(/static/image/map.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.06;
    }

    &::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(245, 245, 245, 0.575);
    }

    .my-container {
        width: 1280px;
        padding: 0;

        .form-item-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
    }
}

.contact-layout {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 64px);
}

.contact-intro {
    flex: 1 1 42%;
    max-width: 570px;
}

.contact-intro .section-tip {
    text-align: left;
}

.contact-title.section-title {
    text-align: left;
    padding-bottom: 16px;
}

.contact-lead {
    margin: 0 0 28px;
    color: #4e5a70;
    font-size: clamp(15px, 0.95vw, 17px);
    line-height: 1.8;
}

.contact-info-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(1, 93, 178, 0.08);
}

.contact-info-item__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-info-item__label {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-color);
    font-size: 15px;
    font-weight: 700;
}

.contact-info-item__value {
    margin: 0;
    color: var(--deep-blue-color);
    font-size: 16px;
    font-weight: 600;
}

.contact-info-item__value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item__value a:hover {
    color: var(--main-color);
}

.contact-social__label {
    display: block;
    margin-bottom: 12px;
    color: var(--deep-blue-color);
    font-size: 15px;
    font-weight: 700;
}

.contact-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-social__link {
    display: block;
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-social__link:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}

.contact-social__link img {
    display: block;
    width: 28px;
    height: 28px;

    &.in {
        width: 26px;
        height: 26px;
    }

    &.ins {
        width: 30px;
        height: 30px;
        margin-bottom: -2px;
    }

    &.youtube {
        width: 32px;
        height: 32px;
        margin-bottom: -4px;
    }
}

.contact-form-wrap {
    flex: 1 1 58%;
    min-width: 0;
}

.contact-form {
    padding: 56px 48px;
    border-radius: 16px;
    /* background: rgba(1, 93, 178, 0.08);
    box-shadow: 0 16px 48px rgba(1, 93, 178, 0.08); */
    background-color: var(--main-color);
    position: relative;

    .layui-input-block {
        margin-left: 0 !important;
    }

    &::before {
        content: "";
        position: absolute;
        right: -92px;
        top: -130px;
        width: 360px;
        height: 360px;
        border-radius: 360px;
        background: rgba(245, 245, 245, 0.2);
    }

    /* &::after {
        content: "";
        position: absolute;
        right: -150px;
        bottom: -150px;
        width: 400px;
        height: 400px;
        border-radius: 400px;
        background: rgba(245, 245, 245, 0.2);
    } */
}

.contact-form .layui-input {
    height: 58px;
}

.contact-form .layui-form-item {
    flex: 1;
    margin-bottom: 18px;

    .layui-textarea {
        padding: 12px;
    }
}

.contact-form .layui-input,
.contact-form .layui-textarea {
    font-size: 16px;
}

.contact-form .layui-form-label {
    width: 100px;
    font-size: 16px;
    padding: 9px 12px 9px 0;
    color: var(--deep-blue-color);
    font-weight: 600;
}

.contact-form .layui-input-block {
    margin-left: 116px;
}

.contact-form .layui-input,
.contact-form .layui-textarea,
.contact-form select {
    border-radius: 8px;
    border-color: none;
}

.contact-form .layui-input:focus,
.contact-form .layui-textarea:focus {
    border-color: var(--main-color) !important;
}

.contact-form .layui-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-actions {
    padding-top: 18px;
}

.contact-form-actions .layui-input-block {
    display: flex;
    justify-content: center;
    margin-left: 116px;
}

.contact-submit.layui-btn {
    width: 80%;
    height: 48px;
    line-height: 48px;
    padding: 0 48px;
    border: none;
    border-radius: 999px;
    background: var(--orange-color);
    font-size: 18px;
    font-weight: 700;
}

.contact-submit.layui-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-social {
    display: flex;
    align-items: flex-end;
    gap: 12px;

    .contact-social__label {
        margin-bottom: 0;
    }
}

/* 創老工作室聯絡資訊 */
.contact-office-section {
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 55%, #ffffff 100%);
    padding-bottom: 180px;
}

.contact-office-section .section-tip,
.contact-office-section .section-title,
.contact-office-section .section-sub-title {
    text-align: center;
}

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

.contact-office-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 44px);
    background: #ffffff;
    border: 1px solid rgba(2, 33, 105, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(2, 33, 105, 0.08);
}

.contact-office-card__header {
    margin-bottom: clamp(20px, 2.4vw, 28px);
    padding-bottom: clamp(16px, 2vw, 22px);
    border-bottom: 1px solid rgba(2, 33, 105, 0.08);
}

.contact-office-card__org {
    margin: 0;
    color: var(--deep-blue-color);
    font-size: clamp(20px, 1.5vw, 24px);
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.contact-office-card__info {
    margin-bottom: clamp(8px, 1.2vw, 16px);
}

.contact-office-hours {
    padding-top: clamp(8px, 1.2vw, 12px);
    border-top: 1px dashed rgba(2, 33, 105, 0.12);
}

.contact-office-hours__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-office-hours__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0;
    color: var(--deep-blue-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-office-hours__day {
    color: #4e5a70;
    font-weight: 500;
}

.contact-office-hours__row time {
    color: var(--deep-blue-color);
    font-weight: 700;
}

.contact-office-hours__row--closed span:last-child {
    color: #8a94a6;
    font-weight: 600;
}

/* 我們的榮譽 */
.honor-section {
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;

    /* &::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100px;
        height: 300px;
        transform: rotate(-90deg);
        background: url(/static/image/about-vector-1.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    } */

    .my-container {
        width: 1280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;

        .section-title {
            padding-bottom: 36px;
        }

    }
}

.honor-grid {
    width: 100%;
    overflow: hidden;
}

.honor-grid__track {
    display: flex;
    width: 100%;
    justify-content: center;
}

.honor-grid__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    margin-top: 24px;
}

.honor-grid__list img {
    display: block;
    height: 126px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.honor-grid__list img:hover {
    transform: rotateY(360deg);
}

.honor-grid__list--clone {
    display: none;
}