/* 讓家電深呼吸，讓生活更清新：頁面專屬樣式 */
.hero {
    min-height: 640px;
    height: min(740px, 76vw);
    position: relative;
    overflow: hidden;
}
.hero > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-position: center;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248,251,246,.87), rgba(248,251,246,.5) 40%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 135px;
}
.hero h1 {
    margin-bottom: 26px;
}
.hero h1 span {
    color: var(--teal);
}
.hero-content > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 2;
    color: #4a6666;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 32px;
}
.hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 26px;
    left: 50px;
    right: 50px;
    display: flex;
    justify-content: space-between;
    color: #456664;
    font-size: 13px;
    letter-spacing: .16em;
}
.hero-bottom a {
    font-size: 13px;
}
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 6%;
    background: var(--pale);
    gap: 25px;
    font-size: 13px;
    color: var(--teal);
}
.trust-strip span {
    border-right: 1px solid #c9dcd6;
}
.trust-strip span:last-child {
    border: 0;
}
.trust-strip b {
    font-weight: 400;
    color: var(--ink);
    margin-left: 18px;
    font-size: 14px;
}
.intro-photo {
    position: relative;
    padding: 0 22px 25px 0;
}
.intro-photo::before {
    content: '';
    position: absolute;
    inset: 30px 0 0 35px;
    background: #e8f1ed;
    z-index: -1;
}
.intro-photo img {
    aspect-ratio: 1.08;
    object-fit: cover;
}
.photo-note {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 17px 25px;
    background: white;
    font-size: 15px;
    letter-spacing: .1em;
}
.service-section {
    background: #f5f8f5;
}
.step {
    border-top: 1px solid #bdd4cb;
    padding-top: 25px;
}
.step > span {
    font-size: 42px;
    color: #83aba3;
    font-weight: 300;
}
.step h3 {
    margin-top: 20px;
}
.step p {
    font-size: 14px;
}
.news-preview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}
.news-row {
    display: grid;
    grid-template-columns: 105px 1fr 20px;
    gap: 18px;
    align-items: center;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}
.news-row:first-child {
    border-top: 1px solid var(--line);
}
.news-row h3 {
    font-size: 18px;
    margin: 0;
}
.news-category {
    font-size: 13px;
    color: var(--teal);
}
.news-row:hover h3 {
    color: var(--teal);
}
.hero-bubble {
    position: absolute;
    right: 10%;
    top: -80px;
    width: 420px;
    height: 420px;
    border: 1px solid #d5e5df;
    border-radius: 50%;
}
.hero-bubble::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #dfede660;
    left: 190px;
    top: 160px;
}

/* Page responsive adjustments */
@media (min-width: 1600px) {
.hero-content {

    padding-top: 160px;
}
}
@media (max-width: 950px) {
.hero {

    min-height: 610px;
}
.hero-content {

    padding-top: 120px;
}
.hero h1 {

    font-size: 44px;
}
.trust-strip {

    grid-template-columns: 1fr 1fr;
    padding: 22px 35px;
}
.trust-strip span:nth-child(2) {

    border: 0;
}
.news-preview {

    gap: 40px;
    grid-template-columns: 1fr 1.7fr;
}
.news-row {

    grid-template-columns: 1fr 20px;
}
.news-category {

    grid-column: 1 / -1;
}
}
@media (max-width: 640px) {
.hero {

    min-height: 690px;
    height: auto;
}
.hero > img {

    object-position: 63% center;
}
.hero::after {

    background: linear-gradient(180deg, rgba(250,252,246,.97), rgba(250,252,246,.8) 45%, rgba(250,252,246,.1) 80%);
}
.hero-content {

    padding-top: 58px;
}
.hero .eyebrow {

    font-size: 13px;
    letter-spacing: .16em;
}
.hero h1 {

    font-size: 35px;
    line-height: 1.65;
    letter-spacing: .01em;
}
.hero-content > p:not(.eyebrow) {

    font-size: 14px;
}
.hero-actions {

    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.hero-actions .button {

    padding: 12px 20px;
    gap: 22px;
}
.hero-bottom {

    left: 20px;
    right: 20px;
    bottom: 20px;
}
.hero-bottom > span {

    max-width: 170px;
    font-size: 13px;
}
.trust-strip {

    gap: 14px;
    padding: 20px;
}
.trust-strip b {

    font-size: 13px;
    margin-left: 9px;
}
.trust-strip span {

    font-size: 13px;
}
.news-preview {

    grid-template-columns: 1fr;
}
.intro-photo img {

    aspect-ratio: 1.2;
}
.step h3 {

    font-size: 18px;
}
.step p {

    font-size: 13px;
}
.news-preview {

    gap: 35px;
}
.news-row {

    padding: 22px 0;
    gap: 10px;
}
.news-row h3 {

    font-size: 17px;
}
.hero-bubble {

    right: -220px;
}
}
/* Quiet backgrounds with restrained photographic accents */
.home-page {
    background: #ffffff;
}
.hero h1 {
    font-weight: 700;
}
.hero-content > p:not(.eyebrow), .intro p, .card p, .step p {
    font-size: 16px;
}
.trust-strip {
    background: linear-gradient(100deg, #e5f2ef, #edf5f6);
}
.trust-strip b {
    font-size: 15px;
}
#intro {
    position: relative;
}
.intro-photo::before {
    background: #e5efeb;
}
.service-section {
    background: #eff6f7;
    position: relative;
}
.service-section .grid {
    row-gap: 38px;
}
.service-section .service-card {
    background: rgba(255,255,255,.93);
    border: 1px solid #dce9e9;
    box-shadow: 0 8px 30px #406c7310;
    padding: 0 0 22px;
}
.service-card a > p, .service-card a > h3 {
    margin-inline: 22px;
}



.home-cases {
    position: relative;
}
.home-cases::before {
    content: '';
    position: absolute;
    inset: 0 calc((100vw - 100%) / -2);
    background: #ffffff;
    z-index: -1;
}
.home-cases .grid {
    row-gap: 38px;
}
.home-page .process {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #e3f0ed;
}
.home-page .process::before {
    content: '';
    position: absolute;
    inset: -85px 0;
    z-index: -2;
    background: url('../images/hero.jpg') center / cover;
    transform: translate3d(0, var(--parallax-offset, 0px), 0);
    will-change: transform;
}
.home-page .process::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(221,241,236,.94), rgba(224,240,244,.89) 55%, rgba(244,233,211,.83));
}
.process .step {
    padding: 25px;
    background: rgba(255,255,255,.78);
    border-top: 1px solid #c3d9d4;
    backdrop-filter: blur(5px);
}
.process .step:nth-child(even) {
    border-top-color: #c3d9d4;
}
.step > span {
    color: #448d87;
    font-weight: 600;
}
.news-preview {
    position: relative;
    background: transparent;
}
.news-row {
    background: rgba(255,255,255,.8);
    padding-inline: 20px;
}
.home-page .cta {
    border-top: 0;
}
@media (max-width: 950px) {
    .process .step {
        padding: 20px;
    }
}
@media (max-width: 640px) {
    .hero .eyebrow {
        font-size: 13px;
        letter-spacing: .08em;
    }
    .hero-bottom > span {
        max-width: 200px;
        font-size: 13px;
        letter-spacing: .04em;
    }
    .trust-strip {
        gap: 14px 10px;
        padding-inline: 16px;
    }
    .trust-strip b {
        margin-left: 5px;
        font-size: 13px;
    }
    .process .four {
        grid-template-columns: 1fr;
    }
    .home-page .process::before {
        transform: none;
        will-change: auto;
    }
    .news-row {
        padding-inline: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .process::before {
        transform: none;
        will-change: auto;
    }
}
/* Focused color fields and a few oversized graphic accents */
.hero .eyebrow {
    display: inline-block;
    padding: 6px 13px;
    background: #f8cd49;
    color: #123e56;
    letter-spacing: .12em;
}
.hero h1 span {
    color: #087f87;
    text-decoration: underline;
    text-decoration-color: #f8cd49;
    text-decoration-thickness: 9px;
    text-underline-offset: 8px;
    text-decoration-skip-ink: none;
}
.hero .button {
    background: #123e56;
    border-color: #123e56;
}
.hero .button:hover {
    background: #087f87;
    border-color: #087f87;
}
.trust-strip {
    background: #f8cd49;
    color: #123e56;
}
.trust-strip span {
    border-right-color: #bb982d;
}
.trust-strip b {
    color: #123e56;
    font-weight: 600;
}
#intro::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    right: -20px;
    top: 45px;
    border-radius: 50%;
    background: #f07860;
    z-index: -1;
}
.intro-photo::before {
    background: #a9ddd3;
    transform: rotate(3deg);
}
.photo-note {
    background: #f8cd49;
    color: #123e56;
    font-weight: 600;
}
.service-section {
    isolation: isolate;
    overflow: hidden;
    background: #087f87;
}
.service-section::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -150px;
    width: 480px;
    height: 440px;
    background: url('../images/brand-shapes.svg') center / contain no-repeat;
    z-index: -1;
    opacity: .95;
}
.service-section .section-heading h2 {
    color: #fff;
}
.service-section .section-heading p {
    color: #e0f4ed;
}
.service-section .section-heading .eyebrow {
    color: #ffe284;
}
.service-section .section-row > .text-link,
.service-section .section-row > .text-link span {
    color: #fff;
    border-color: #82c8c5;
}
.service-section .subtle {
    color: #e0f4ed;
}
.service-section .service-card {
    background: #fff;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 25px #03484c20;
}
.service-section .service-card:nth-child(3n + 1) {
    border-bottom: 5px solid #f8cd49;
}
.service-section .service-card:nth-child(3n + 2) {
    border-bottom: 5px solid #f07860;
}
.service-section .service-card:nth-child(3n) {
    border-bottom: 5px solid #91d4c4;
}
.home-cases::before {
    background: #fff9eb;
}
.home-cases .section-heading .eyebrow {
    color: #a34833;
}
.home-cases .card h3 > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f8cd49;
    color: #123e56;
}
.home-page .process::after {
    background: linear-gradient(100deg, rgba(18,62,86,.97), rgba(18,62,86,.88) 65%, rgba(8,127,135,.8));
}
.home-page .process .section-heading h2 {
    color: #fff;
}
.home-page .process .section-heading .eyebrow {
    color: #ffe284;
}
.process .step {
    background: #fff;
    border-top: 5px solid #f8cd49;
    backdrop-filter: none;
}
.process .step:nth-child(even) {
    border-top-color: #f07860;
}
.step > span {
    color: #087f87;
}
.news-preview {
    background: none;
}
.news-preview::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 75px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #f8cd49;
    z-index: -1;
}
.news-category {
    background: #d8f0e9;
    color: #155e62;
    padding: 4px 8px;
    text-align: center;
    font-weight: 600;
}
.news-row:nth-child(2) .news-category {
    background: #ffdfd4;
    color: #8e3c29;
}
.news-row:nth-child(3) .news-category {
    background: #fff0b9;
    color: #705519;
}
@media (max-width: 950px) {
    .news-category {
        justify-self: start;
    }
}
@media (max-width: 640px) {
    #intro::before {
        right: 0;
        top: 35px;
        width: 60px;
        height: 60px;
    }
    .service-section::before {
        width: 250px;
        height: 250px;
        right: -100px;
        top: -110px;
    }
    .hero .eyebrow {
        letter-spacing: .04em;
        padding-inline: 9px;
    }
    .hero h1 span {
        text-decoration-thickness: 6px;
    }
    .news-preview::before {
        left: 0;
        top: 40px;
        width: 50px;
        height: 50px;
    }
}
/* Rounded home-page cards and photo frames */
.service-section .service-card {
    border-radius: 22px;
}
.service-section .service-card .image-wrap {
    border-radius: 0;
}
.process .step {
    border-radius: 22px;
    overflow: hidden;
}
.news-row {
    border-radius: 16px;
    margin-bottom: 10px;
    border: 1px solid #e0eae6;
}
.news-row:first-child {
    border-top: 1px solid #e0eae6;
}
.hero .eyebrow {
    border-radius: 999px;
}
