:root {
    --clean-tint-soft: color-mix(in srgb, var(--em-primary) 3.5%, #ffffff);
    --clean-tint-mid: color-mix(in srgb, var(--em-primary) 8%, #ffffff);
    --clean-border: color-mix(in srgb, var(--em-primary) 13%, #e2e8f0);
    --clean-shadow: color-mix(in srgb, var(--em-primary) 10%, rgba(15, 23, 42, 0.05));
    --clean-bubble-rim: color-mix(in srgb, var(--em-primary) 26%, rgba(255, 255, 255, 0.78));
    --clean-bubble-core: color-mix(in srgb, var(--em-primary) 14%, rgba(255, 255, 255, 0.35));
}

.em-navbar-wrap.scrolled {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--clean-border) !important;
    box-shadow: 0 6px 22px color-mix(in srgb, var(--em-primary) 6%, rgba(15, 23, 42, 0.04)) !important;
}

.em-hero-bubbles-layer,
.em-section-bubbles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.em-hero-bubbles-layer {
    z-index: 2;
}

.em-section-bubbles {
    z-index: 0;
}

.em-soap-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

.em-soap-bubble::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 18%;
    width: 26%;
    height: 16%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    transform: rotate(-35deg);
}

.em-hero-bubbles-layer .em-soap-bubble {
    background: radial-gradient(
        circle at 30% 28%,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.1) 24%,
        rgba(255, 255, 255, 0.02) 58%,
        color-mix(in srgb, var(--em-primary) 24%, rgba(255, 255, 255, 0.18)) 88%,
        rgba(255, 255, 255, 0.48) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.45);
}

.em-section-bubbles .em-soap-bubble {
    background: radial-gradient(
        circle at 30% 28%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.35) 22%,
        var(--clean-bubble-core) 85%,
        rgba(255, 255, 255, 0.65) 100%
    );
    border: 1px solid var(--clean-bubble-rim);
}

@keyframes emBubbleSoftA {
    0% {
        transform: translate3d(0, 24px, 0) scale(0.94);
        opacity: 0;
    }
    20% {
        opacity: 0.42;
    }
    55% {
        transform: translate3d(12px, -130px, 0) scale(1.02);
        opacity: 0.36;
    }
    100% {
        transform: translate3d(-6px, -290px, 0) scale(0.98);
        opacity: 0;
    }
}

@keyframes emBubbleSoftB {
    0% {
        transform: translate3d(0, 20px, 0) scale(0.95);
        opacity: 0;
    }
    22% {
        opacity: 0.34;
    }
    60% {
        transform: translate3d(-14px, -150px, 0) scale(1.03);
        opacity: 0.28;
    }
    100% {
        transform: translate3d(8px, -310px, 0) scale(0.98);
        opacity: 0;
    }
}

.em-squeegee-track {
    position: relative;
    width: 76px;
    height: 16px;
    margin: 6px auto 14px auto;
    display: flex;
    align-items: center;
    pointer-events: none;
    user-select: none;
}

.em-squeegee-track--left {
    margin: 2px 0 16px 0;
}

.em-squeegee-rail {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--em-primary) 14%, #e2e8f0);
    overflow: hidden;
}

.em-squeegee-clean-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--em-primary) 65%, #ffffff) 0%, var(--em-primary) 100%);
}

.em-squeegee-wiper {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 15px;
    height: 15px;
    transform: translate(-45%, -54%) rotate(-16deg);
    color: var(--em-primary);
    opacity: 0;
    z-index: 2;
}

.em-squeegee-wiper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.em-squeegee-end-sparkle {
    position: absolute;
    right: -10px;
    top: -2px;
    width: 11px;
    height: 11px;
    color: var(--em-primary);
    opacity: 0;
}

.em-squeegee-end-sparkle svg {
    width: 100%;
    height: 100%;
    display: block;
}

.em-squeegee-track.is-wiped .em-squeegee-clean-fill {
    animation: emSqueegeeOnceFill 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.em-squeegee-track.is-wiped .em-squeegee-wiper {
    animation: emSqueegeeOnceHead 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.em-squeegee-track.is-wiped .em-squeegee-end-sparkle {
    animation: emSqueegeeOnceSparkle 1.35s ease-out forwards;
}

@keyframes emSqueegeeOnceFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes emSqueegeeOnceHead {
    0% {
        left: 0%;
        opacity: 0;
    }
    12% {
        opacity: 0.92;
    }
    82% {
        left: 100%;
        opacity: 0.92;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes emSqueegeeOnceSparkle {
    0%, 68% {
        opacity: 0;
        transform: scale(0.5);
    }
    84% {
        opacity: 0.85;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(0.75);
    }
}

.em-wipe-surface,
.em-prod-thumb-link,
.em-gallery-card,
.em-blog-img-box {
    position: relative;
    overflow: hidden;
}

.em-about-photo-box {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.em-about-photo-box .em-about-img {
    display: block;
    box-shadow: none;
}

.em-card-wiper-fx {
    position: absolute;
    top: -15%;
    bottom: -15%;
    left: -75%;
    width: 46%;
    pointer-events: none;
    z-index: 3;
    transform: skewX(-16deg);
    opacity: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 72%,
        rgba(255, 255, 255, 0.58) 100%
    );
}

.em-card-wiper-blade {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1.5px;
    background: rgba(255, 255, 255, 0.85);
}

.is-clean-wiped > .em-card-wiper-fx,
.is-hover-wiping > .em-card-wiper-fx {
    animation: emSoftGlassSweep 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes emSoftGlassSweep {
    0% {
        left: -75%;
        opacity: 0;
    }
    18% {
        opacity: 0.72;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        left: 140%;
        opacity: 0;
    }
}

.em-page-hero {
    position: relative;
}

.em-hero-foam-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 14px;
    z-index: 2;
    pointer-events: none;
    line-height: 0;
}

.em-hero-foam-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.em-services-section {
    position: relative;
    overflow-x: hidden;
    overflow-x: clip;
    background: linear-gradient(180deg, #ffffff 0%, var(--clean-tint-soft) 50%, #ffffff 100%) !important;
}

.em-services-section > .em-container {
    position: relative;
    z-index: 2;
}

.em-page-hero + .em-gallery-section,
.em-page-hero + .em-blog-section,
.em-page-hero + .em-detail-section,
.em-page-hero + .em-projects-section,
.em-page-hero + .em-pro-detail-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 70px, #f8fafc 100%) !important;
}

.em-prod-card:hover {
    box-shadow: 0 16px 34px var(--clean-shadow) !important;
}

.em-faq-item.active {
    box-shadow: 0 10px 26px color-mix(in srgb, var(--em-primary) 8%, rgba(15, 23, 42, 0.04)) !important;
}

.em-clean-form-card {
    border-color: var(--clean-border) !important;
}

@media (max-width: 768px) {
    .em-hide-mobile {
        display: none !important;
    }
    .em-hero-foam-wave {
        height: 9px;
    }
    .em-squeegee-track {
        width: 62px;
        height: 14px;
        margin: 4px auto 12px auto;
    }
    .em-squeegee-track--left {
        margin: 2px 0 12px 0;
    }
    .em-squeegee-wiper {
        width: 13px;
        height: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .em-soap-bubble,
    .em-squeegee-clean-fill,
    .em-squeegee-wiper,
    .em-squeegee-end-sparkle {
        animation: none !important;
    }
    .em-squeegee-clean-fill {
        width: 100% !important;
    }
}
