/* 彰化高週波水管清洗・彰化冷氣清洗・彰化洗衣機清洗：頁面專屬樣式 */
/* Home-only photographic sections; each background has room to move. */
.scenic-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.scene-background {
    position: absolute;
    inset: -90px 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    transform: translate3d(0, var(--parallax-shift, 0px), 0);
}

.services-home.scenic-section {
    background: #174e4c;
}

.services-home .scene-background {
    background-image:
        linear-gradient(105deg, rgba(11, 56, 55, .87), rgba(17, 67, 62, .53) 65%, rgba(26, 76, 66, .46)),
        url('../images/living.jpg');
    background-position: center, center 54%;
}

.services-home .section-top h2,
.services-home .section-desc {
    color: #fff;
}

.services-home .section-top .eyebrow {
    color: #ddedb1;
}

.services-home .section-top .button {
    color: var(--ink);
    background: #fff;
}

.services-home .section-top .button span {
    color: #fff;
    background: var(--teal);
}

.services-home .rail-controls {
    color: #fff;
}

.services-home .rail-controls button {
    color: #fff;
    border-color: #ffffff8c;
    background: #15423e60;
}

.services-home .rail-controls button:hover {
    color: var(--ink);
    background: #fff;
}

.services-home .water-word {
    color: #ffffff14;
    pointer-events: none;
}

.home-offer .scene-background {
    background-image:
        linear-gradient(90deg, rgba(249, 250, 240, .95), rgba(249, 250, 240, .85) 40%, rgba(247, 250, 238, .30)),
        url('../images/kitchen-background.jpg');
    background-position: center, center 55%;
}

.home-offer.scenic-section::after {
    display: none;
}

.home-offer.scenic-section .offer-price {
    padding: 28px 32px;
    border: 1px solid #ffffffd6;
    border-radius: 18px 48px 18px 18px;
    background: #fffffff0;
    box-shadow: 0 10px 45px #23473e08;
}

.faq-home .scene-background {
    background-image:
        linear-gradient(100deg, rgba(245, 251, 247, .70), rgba(244, 250, 247, .22)),
        url('../images/water-background.jpg');
}

.faq-home.scenic-section details {
    background: #ffffffed;
    border: 1px solid #ffffff;
    box-shadow: 0 5px 22px #174c4209;
}

.faq-home.scenic-section .section-desc {
    color: #365953;
}

@media (max-width: 800px), (prefers-reduced-motion: reduce) {
    .scene-background {
        transform: none;
    }
}

@media (max-width: 800px) {
    .scene-background {
        inset: 0;
    }

    .services-home .scene-background {
        background-position: center, 65% center;
    }

    .home-offer .scene-background {
        background-image:
            linear-gradient(180deg, rgba(249, 250, 240, .94), rgba(249, 250, 240, .64)),
            url('../images/kitchen-background.jpg');
        background-position: center, 65% center;
    }

    .home-offer.scenic-section .offer-price {
        padding: 22px;
    }

    .faq-home .scene-background {
        background-position: center, 70% center;
    }
}

.hero {
    position: relative;
    min-height: 650px;
    height: min(760px, 78vw);
    margin: 0 20px;
    border-radius: 24px 24px 75px 24px;
    overflow: hidden;
    background: #f0f1e8;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    position: absolute;
    inset: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f9f9f0db 0, #f9f9f087 27%, transparent 65%);
    pointer-events: none;
}

.hero-topline {
    position: absolute;
    z-index: 2;
    top: 30px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    letter-spacing: .18em;
    color: #4b6b63;
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: 7%;
    top: 20%;
}

.hero-copy .eyebrow {
    font-size: 13px;
}

.hero h1 {
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 500;
    line-height: 1.4;
}

.hero h1 span {
    color: var(--teal);
}

.hero-copy > p:not(.eyebrow) {
    margin: 25px 0 28px;
    color: #526a63;
    font-size: 16px;
    line-height: 2;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    z-index: 3;
    left: 0;
    width: 66%;
    padding: 20px 30px 18px;
    border-top-right-radius: 28px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.hero-bottom a {
    font-size: 13px;
    letter-spacing: .12em;
}

.hero-seal {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: 9%;
    border: 1px solid #ffffffbb;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #ffffff9e;
    backdrop-filter: blur(5px);
    color: var(--teal);
    font-size: 13px;
    letter-spacing: .02em;
    transform: rotate(8deg);
}

.hero-seal span {
    font-family: Georgia, "Microsoft JhengHei", serif;
    font-size: 21px;
    margin: 4px 0;
}

.about-home {
    padding-block: 120px 100px;
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 90px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding-bottom: 105px;
}

.about-visual > img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 90px 15px 110px 15px;
}

.photo-caption {
    position: absolute;
    right: -22px;
    top: 110px;
    writing-mode: vertical-rl;
    font-size: 13px;
    letter-spacing: .15em;
}

.outline-word {
    position: absolute;
    bottom: 0;
    left: 20px;
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 700;
    line-height: .95;
    color: #e0eae2;
    letter-spacing: -.035em;
}

.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 15px;
    margin-top: 20px;
}

.about-copy > p.lead {
    font-size: 19px;
    color: var(--ink);
}

.about-copy .button {
    margin-top: 27px;
}

.about-values {
    display: flex;
    gap: 25px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 35px;
}

.about-values span {
    font-size: 13px;
}

.about-values b {
    display: block;
    font-weight: 400;
    color: var(--teal);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 7px;
}

.services-home {
    position: relative;
    overflow: hidden;
    padding: 80px 0 75px;
    background: radial-gradient(ellipse at 5% 110%, #9bcdb840, transparent 65%), linear-gradient(115deg,#edf5ec,#e4f4f1);
    border-radius: 100px 0 100px 0;
}

.services-home .wrap {
    position: relative;
    z-index: 1;
}

.service-rail {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: 5px 20px;
}

.service-rail::-webkit-scrollbar {
    display: none;
}

.service-rail .service-card {
    flex: 0 0 calc((100% - 56px) / 3);
    scroll-snap-align: start;
}

.rail-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 15px;
}

.rail-controls button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #a3c2b9;
    background: transparent;
    margin-left: 8px;
}

.rail-controls button:hover {
    background: var(--teal);
    color: white;
}

.water-word {
    position: absolute;
    right: -15px;
    bottom: -90px;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 250px;
    line-height: 1;
    color: #ffffff55;
}

.home-promise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-block: 105px;
    align-items: center;
}

.home-promise h2 {
    font-size: 30px;
}

.home-promise h2 span {
    color: #78968c;
}

.promise-points p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

.promise-points b {
    font-size: 16px;
    font-weight: 600;
}

.promise-points span {
    font-size: 14px;
    color: var(--muted);
}

.cases-home {
    padding-block: 75px;
    background: linear-gradient(170deg,#f9f8f1, #fff 75%);
    border-top-left-radius: 120px;
}

.cases-home .case-card:nth-child(3n + 2) {
    padding-top: 35px;
}

.cases-home .case-card:nth-child(3n + 3) {
    padding-top: 70px;
}

.home-offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    padding: 50px 65px;
    background: #eff4e5;
    border-radius: 18px 90px 18px 70px;
    margin-block: 35px 90px;
    position: relative;
    overflow: hidden;
}

.home-offer::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -140px;
    bottom: -270px;
    border: 1px solid #c4d6ac;
    border-radius: 50%;
    box-shadow: 0 0 0 30px #d3dfbf55, 0 0 0 65px #d3dfbf30;
}

.home-offer p:not(.eyebrow) {
    margin: 15px 0 20px;
    font-size: 15px;
    color: var(--muted);
}

.offer-price {
    border-left: 1px solid #cfdcc2;
    padding-left: 50px;
}

.offer-price > span {
    font-size: 14px;
}

.offer-price p {
    font-size: 83px !important;
    color: var(--teal) !important;
    font-family: Georgia, serif;
    line-height: 1.25;
    margin: 12px 0 !important;
}

.offer-price small {
    display: block;
    font-size: 16px;
    font-family: sans-serif;
}

.news-home {
    padding-bottom: 95px;
}

.faq-home {
    padding: 75px 0;
    border-radius: 110px 110px 0 0;
    background: radial-gradient(ellipse at 0 30%, #d6e9dd80, transparent 65%), #f1f7f3;
}

.faq-home details {
    border: 0;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px #294f3f04;
}

.faq-home .button {
    margin-top: 15px;
}

@media (min-width: 1600px) {
    .hero {
        height: 790px;
    }

}
@media (max-width: 1000px) {
    .hero {
        min-height: 610px;
    }

    .about-home {
        gap: 50px;
    }

    .about-visual > img {
        height: 390px;
    }

    .service-rail .service-card {
        flex-basis: calc((100% - 28px) / 2);
    }

    .home-promise {
        gap: 40px;
    }

    .home-offer {
        padding: 40px;
    }

    .offer-price {
        padding-left: 30px;
    }

    .offer-price p {
        font-size: 64px !important;
    }

}
@media (max-width: 800px) {
    .hero {
        margin-inline: 12px;
        min-height: 650px;
        height: calc(100svh - 105px);
        max-height: 780px;
    }

    .hero-photo {
        object-position: 65% center;
    }

    .hero::after {
        background: linear-gradient(90deg,#fbfbf2dc, #fbfbf265 65%,transparent);
    }

    .hero-topline {
        left: 25px;
        right: 25px;
    }

    .hero-topline span:last-child {
        display: none;
    }

    .hero-copy {
        top: 20%;
        left: 7%;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-bottom {
        width: 85%;
        padding: 16px 20px;
    }

    .hero-bottom > span {
        display: none;
    }

    .hero-seal {
        width: 145px;
        height: 145px;
        bottom: 10%;
        right: 7%;
        font-size: 13px;
    }

    .hero-seal span {
        font-size: 17px;
    }

    .about-home {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 65px;
    }

    .about-visual {
        padding-bottom: 50px;
        margin-right: 15px;
    }

    .about-visual > img {
        height: 350px;
    }

    .outline-word {
        font-size: 70px;
        bottom: -10px;
    }

    .about-values {
        gap: 45px;
    }

    .services-home {
        padding-block: 55px;
        border-radius: 65px 0 65px 0;
    }

    .home-promise {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 60px;
    }

    .home-promise h2 {
        font-size: 27px;
    }

    .cases-home {
        padding-block: 50px;
    }

    .cases-home .case-card:nth-child(n) {
        padding-top: 0;
    }

.home-offer {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 30px;
        margin-block: 25px 60px;
    }

    .offer-price {
        border-left: 0;
        border-top: 1px solid #cfdcc2;
        padding: 25px 0 0;
    }

    .news-home {
        padding-bottom: 55px;
    }

    .faq-home {
        padding-block: 50px;
        border-radius: 65px 65px 0 0;
    }

}

.hero-topline {
    letter-spacing: .07em;
}

.hero-bottom {
    width: 76%;
}

.rail-controls {
    gap: 15px;
}

.rail-controls > div {
    display: flex;
    flex-shrink: 0;
}

.about-values {
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .hero-bottom {
        width: 80%;
    }
}
@media (max-width: 520px) {
    .hero {
        min-height: 630px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-copy {
        top: 18%;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 14px;
    }

    .hero-seal {
        bottom: 9%;
    }

    .service-rail .service-card {
        flex-basis: 88%;
    }

    .about-visual > img {
        height: 290px;
    }

    .cases-home .case-grid {
        grid-template-columns: 1fr;
    }

}
