/* First-paint: avoid white flash without changing section design */
html {
    background-color: #f5f1ee;
    color-scheme: light;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background-color: #ffffff;
    color: #1f2540;
}

.service-page-wrap {
    min-height: 100vh;
    background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 55%);
}

/* Owl fallback before JS only */
.owl-carousel:not(.owl-loaded) {
    display: block;
    width: 100%;
    overflow: hidden;
}

.owl-carousel:not(.owl-loaded) > *:not(:first-child) {
    display: none;
}

.owl-carousel:not(.owl-loaded) > *:first-child {
    display: block;
    width: 100%;
}

/* Slick: first slide before init */
.slick-slider:not(.slick-initialized) .slick-slide:first-child {
    display: block;
}

.wow,
.animated {
    visibility: visible !important;
}

.stats-item.anim,
.anim[data-anim] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
}
