/* =========================================
   ГЛОБАЛНИ СТИЛОВЕ И ПРОМЕНЛИВИ
   ========================================= */
   :root {
    --primary-color: linear-gradient(135deg, #1e131d 0%, #2a1c24 50%, #150d14 100%);
    --transition-speed: 0.4s;
    --header-bg: rgba(61, 49, 52, 0.94);
--header-bg-scrolled: rgba(61, 49, 52, 0.58);
    --header-text: rgba(255, 255, 255, 0.88);
    --header-text-hover: #ffffff;
    --header-underline: rgba(255, 255, 255, 0.72);
    --header-underline-soft: rgba(255, 255, 255, 0.28);
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Playfair Display', serif;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
#main-navbar {
    background: var(--header-bg) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        padding 0.3s ease,
        border-color 0.3s ease;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

#main-navbar.bg-white {
    background: var(--header-bg-scrolled) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18) !important;
}

#main-navbar.bg-light {
    background: var(--header-bg) !important;
}

#main-navbar .navbar-brand {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: opacity var(--transition-speed) ease;
}

#main-navbar .navbar-brand:hover {
    opacity: 0.9;
}

#main-navbar .navbar-toggler {
    border: 0;
    padding: 0.4rem 0.6rem;
}

#main-navbar .navbar-toggler:focus {
    box-shadow: none;
}

#main-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

#main-navbar .navbar-nav {
    align-items: center;
    gap: 0.2rem;
}

#main-navbar .navbar-nav .nav-item {
    position: relative;
}

#main-navbar .navbar-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-text) !important;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.7rem 0.55rem;
    transition:
        color 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease;
}

#main-navbar .navbar-nav .nav-link:hover {
    color: var(--header-text-hover) !important;
}

#main-navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.28rem;
    width: 30px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        var(--header-underline-soft) 20%,
        var(--header-underline-soft) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

#main-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.28rem;
    width: 22px;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.2) 0%,
        var(--header-underline) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}

#main-navbar .navbar-nav .nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

#main-navbar .navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(0.72);
    opacity: 0.9;
}

#main-navbar .navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: 600 !important;
}

#main-navbar .navbar-nav .nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

#main-navbar .navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

#main-navbar .navbar-collapse {
    align-items: center;
}

#main-navbar .btn-primary {
    padding: 10px 25px;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    #main-navbar {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    #main-navbar .navbar-collapse {
        margin-top: 1rem;
        padding-top: 0.9rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #main-navbar .navbar-nav {
        align-items: flex-start;
        gap: 0.15rem;
    }

    #main-navbar .navbar-nav .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.8rem 0;
    }

    #main-navbar .navbar-nav .nav-link::before,
    #main-navbar .navbar-nav .nav-link::after {
        left: 0;
        transform: scaleX(0);
        transform-origin: left center;
    }

    #main-navbar .navbar-nav .nav-link:hover::before,
    #main-navbar .navbar-nav .nav-link:hover::after,
    #main-navbar .navbar-nav .nav-link.active::before,
    #main-navbar .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }

    #main-navbar .d-flex.ms-lg-4 {
        width: 100%;
        margin-top: 1rem !important;
    }

    #main-navbar .d-flex.ms-lg-4 .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   БУТОНИ
   ========================================= */
.custom-hover-btn {
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-hover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px linear-gradient(135deg, #1e131d 0%, #2a1c24 50%, #150d14 100%) !important;
}

/* =========================================
   ГАЛЕРИЯ / PORTFOLIO (Hover ефекти)
   ========================================= */
.gallery-card {
    position: relative;
    cursor: pointer;
}

.gallery-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease-in-out;
    z-index: 1;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4,
.gallery-overlay .badge {
    transform: translateY(20px);
    transition: transform var(--transition-speed) ease-in-out;
}

.gallery-card:hover .gallery-overlay h4,
.gallery-card:hover .gallery-overlay .badge {
    transform: translateY(0);
}

/* =========================================
   LENIS СТАНДАРТНИ СТИЛОВЕ (ЗА ПРОИЗВОДИТЕЛНОСТ)
   ========================================= */
html.lenis,
html.lenis body {
    height: auto;
    width: 100%;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* =========================================
   PREMIUM FOOTER (Тъмен градиент)
   ========================================= */
.custom-footer {
    background: linear-gradient(135deg, #1e131d 0%, #2a1c24 50%, #150d14 100%);
    color: #e0e0e0;
}

.custom-footer .footer-brand {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.custom-footer .footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-links a {
    color: #a39ca3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact i {
    color: #a39ca3;
    width: 20px;
    text-align: center;
}

.footer-contact span {
    font-size: 0.95rem;
    color: #a39ca3;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.social-circle:hover {
    background-color: #8b5cf6;
    color: #ffffff;
    transform: translateY(-3px);
}

.custom-footer .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #8b5cf6;
    color: #ffffff;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background-color: #7c3aed;
    color: #ffffff;
    transform: translateY(-4px);
}

/* =========================================
   ФИКСИРАН БУТОН BACK TO TOP
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8b5cf6;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #7c3aed;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

/* =========================================
   БУТОНИ С PREMIUM ГРАДИЕНТ
   ========================================= */
.btn-primary,
.custom-hover-btn {
    background: linear-gradient(135deg, #1e131d 0%, #2a1c24 50%, #150d14 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary:hover,
.custom-hover-btn:hover {
    filter: brightness(1.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 28, 36, 0.4) !important;
    color: #ffffff !important;
}

.navbar .btn-primary {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.back-to-top {
    background: linear-gradient(135deg, #1e131d 0%, #2a1c24 50%, #150d14 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-primary {
    background: linear-gradient(135deg, #1e131d 0%, #2a1c24 50%, #150d14 100%) !important;
}

.text-primary {
    color: #8b5cf6 !important;
}

/* =========================================
   DEMO RIBBON / MUSTERSEITE BADGE
   ========================================= */
   .template-demo-ribbon {
    position: fixed;
    top: 28px;
    right: -78px;
    z-index: 1200;
    width: 320px;
    min-height: 74px;
    transform: rotate(45deg);
    pointer-events: auto;
    isolation: isolate;
}

.template-demo-ribbon__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    width: 100%;
    min-height: 74px;
    padding: 0.78rem 2.7rem 0.72rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.96);
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(30, 19, 29, 0.86) 0%,
            rgba(72, 48, 68, 0.78) 36%,
            rgba(139, 92, 246, 0.54) 70%,
            rgba(30, 19, 29, 0.86) 100%
        );
    background-size: 220% 220%;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.28),
        0 0 34px rgba(139, 92, 246, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    transition:
        background-position 0.85s ease,
        box-shadow 0.45s ease,
        filter 0.45s ease,
        transform 0.45s ease;
    animation: demoRibbonBreath 7s ease-in-out infinite;
}

.template-demo-ribbon__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 28%,
            rgba(255, 255, 255, 0.34) 48%,
            rgba(255, 255, 255, 0.08) 68%,
            transparent 100%
        );
    transform: translateX(-130%) skewX(-18deg);
    animation: demoRibbonShimmer 6.8s ease-in-out infinite;
}

.template-demo-ribbon__inner::after {
    content: '';
    position: absolute;
    inset: 7px 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 22%,
            rgba(255, 255, 255, 0.18) 50%,
            rgba(255, 255, 255, 0.1) 78%,
            rgba(255, 255, 255, 0) 100%
        );
    opacity: 0.65;
}

.template-demo-ribbon__label {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.template-demo-ribbon__subtitle {
    display: block;
    font-size: 0.70rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.template-demo-ribbon:hover .template-demo-ribbon__inner {
    background-position: 100% 50%;
    filter: saturate(1.28) brightness(1.1);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.32),
        0 0 42px rgba(139, 92, 246, 0.28),
        0 0 34px rgba(236, 72, 153, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -1px 0 rgba(0, 0, 0, 0.14);
    animation: demoRibbonChameleon 2.6s linear infinite;
}

.template-demo-ribbon:hover .template-demo-ribbon__inner::before {
    animation-duration: 2.2s;
}

@keyframes demoRibbonShimmer {
    0% {
        transform: translateX(-130%) skewX(-18deg);
        opacity: 0;
    }

    16% {
        opacity: 0.85;
    }

    34% {
        transform: translateX(130%) skewX(-18deg);
        opacity: 0;
    }

    100% {
        transform: translateX(130%) skewX(-18deg);
        opacity: 0;
    }
}

@keyframes demoRibbonBreath {
    0%,
    100% {
        filter: saturate(1) brightness(1);
    }

    50% {
        filter: saturate(1.08) brightness(1.05);
    }
}

@keyframes demoRibbonChameleon {
    0% {
        background:
            linear-gradient(
                135deg,
                rgba(30, 19, 29, 0.88) 0%,
                rgba(139, 92, 246, 0.72) 34%,
                rgba(236, 72, 153, 0.62) 68%,
                rgba(30, 19, 29, 0.88) 100%
            );
    }

    25% {
        background:
            linear-gradient(
                135deg,
                rgba(30, 19, 29, 0.88) 0%,
                rgba(236, 72, 153, 0.68) 34%,
                rgba(245, 158, 11, 0.58) 68%,
                rgba(30, 19, 29, 0.88) 100%
            );
    }

    50% {
        background:
            linear-gradient(
                135deg,
                rgba(30, 19, 29, 0.88) 0%,
                rgba(245, 158, 11, 0.62) 34%,
                rgba(34, 197, 94, 0.54) 68%,
                rgba(30, 19, 29, 0.88) 100%
            );
    }

    75% {
        background:
            linear-gradient(
                135deg,
                rgba(30, 19, 29, 0.88) 0%,
                rgba(34, 197, 94, 0.58) 34%,
                rgba(14, 165, 233, 0.6) 68%,
                rgba(30, 19, 29, 0.88) 100%
            );
    }

    100% {
        background:
            linear-gradient(
                135deg,
                rgba(30, 19, 29, 0.88) 0%,
                rgba(139, 92, 246, 0.72) 34%,
                rgba(236, 72, 153, 0.62) 68%,
                rgba(30, 19, 29, 0.88) 100%
            );
    }
}

@media (max-width: 767.98px) {
    .template-demo-ribbon {
        top: 18px;
        right: -78px;
        width: 270px;
        min-height: 62px;
    }

    .template-demo-ribbon__inner {
        min-height: 62px;
        padding: 0.64rem 2.3rem 0.60rem;
    }

    .template-demo-ribbon__label {
        font-size: 0.76rem;
        letter-spacing: 0.11em;
    }

    .template-demo-ribbon__subtitle {
        font-size: 0.61rem;
        letter-spacing: 0.07em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .template-demo-ribbon__inner,
    .template-demo-ribbon__inner::before {
        animation: none !important;
    }

    .template-demo-ribbon:hover .template-demo-ribbon__inner {
        animation: none !important;
    }
}

section {
    padding: 100px 0;
}
/* =======================================================
   Reinigungsservice Template Overrides
   Bewusst auf dem stabilen agency-template Standard aufgebaut.
   ======================================================= */

:root {
    --clean-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --clean-gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --clean-text: #333333;
    --clean-text-muted: #666666;
    --clean-surface: rgba(255, 255, 255, 0.96);
    --clean-border: rgba(15, 23, 42, 0.08);
    --clean-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --clean-shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.16);
}

body {
    color: var(--clean-text);
    background: #ffffff;
}

#main-navbar {
    background: var(--clean-surface) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

#main-navbar .navbar-brand {
    background: var(--clean-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#main-navbar .btn-primary,
.btn-primary,
.btn-clean-accent {
    color: #ffffff !important;
    border: 0;
    background: var(--clean-gradient-accent) !important;
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.3);
}

.btn-clean-outline {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.68) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-clean-outline:hover,
.btn-clean-outline:focus-visible {
    color: #333333 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(255, 255, 255, 0.94) !important;
}

.text-primary,
.section-eyebrow,
#main-navbar .navbar-nav .nav-link.active {
    color: #667eea !important;
}

.clean-hero {
    padding: calc(84px + 48px) 0 72px;
    isolation: isolate;
}

.clean-hero__image {
    object-fit: cover;
    z-index: 0;
}

.clean-hero__overlay {
    z-index: 1;
}

.clean-hero__content {
    z-index: 3;
    max-width: 980px;
}

.clean-hero__eyebrow {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.clean-hero__title {
    font-size: clamp(2.35rem, 6vw, 4.35rem);
    line-height: 1.08;
    text-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.clean-hero__lead {
    max-width: 780px;
    font-size: clamp(1.05rem, 2.3vw, 1.45rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.94);
}

.clean-hero__trust li {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.96);
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.clean-hero__trust i {
    color: #ffffff;
}

.clean-hero__bubbles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.clean-hero__bubbles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    animation: cleanBubbleFloat 6s ease-in-out infinite;
}

.clean-hero__bubbles span:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.clean-hero__bubbles span:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 62%;
    right: 15%;
    animation-delay: 2s;
}

.clean-hero__bubbles span:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 18%;
    left: 20%;
    animation-delay: 4s;
}

.clean-services {
    background:
        linear-gradient(135deg, rgba(248, 249, 250, 0.94) 0%, rgba(248, 249, 250, 0.94) 100%),
        url("https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center;
}

.clean-service-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 1.25rem;
    background-size: cover;
    background-position: center;
    box-shadow: var(--clean-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clean-service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: var(--clean-gradient-primary);
    z-index: 3;
}

.clean-service-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.86) 0%, rgba(118, 75, 162, 0.86) 100%);
    transition: background 0.3s ease;
}

.clean-service-card__body {
    position: relative;
    z-index: 2;
    min-height: 340px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: #ffffff;
}

.clean-service-card__icon {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.17);
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.clean-service-card__title {
    margin-bottom: 0.85rem;
    font-size: 1.35rem;
    line-height: 1.22;
    font-weight: 800;
}

.clean-service-card__text {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.clean-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--clean-shadow-strong);
}

.clean-service-card:hover .clean-service-card__overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.76) 0%, rgba(118, 75, 162, 0.76) 100%);
}

.clean-about__image {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.clean-about__media::before {
    content: "";
    position: absolute;
    inset: -18px auto auto -18px;
    width: 44%;
    height: 44%;
    border-radius: 1.5rem;
    background: var(--clean-gradient-primary);
    opacity: 0.16;
    z-index: 0;
}

.clean-about__media > img,
.clean-about__stat {
    position: relative;
    z-index: 1;
}

.clean-about__stat {
    background: linear-gradient(135deg, #222222 0%, #111827 100%);
    transform: translate(-10%, 15%);
}

.clean-about__stat strong {
    color: #ffb3a8;
}

#contact {
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.92) 0%, rgba(118, 75, 162, 0.92) 100%),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center;
}

#contact .section-eyebrow,
#contact h2,
#contact .lead,
#contact .form-label,
#contact .form-check-label,
#contact .form-check-label a {
    color: #ffffff !important;
}

#contact .bg-light {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#contact .bg-light h3,
#contact .bg-light h6,
#contact .bg-light p {
    color: #ffffff !important;
}

#contact form {
    padding: 2rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#contact .form-control {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #333333;
}

.custom-footer {
    margin-top: 0 !important;
}

@keyframes cleanBubbleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.72;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .clean-hero {
        padding-top: calc(76px + 56px);
        min-height: auto !important;
    }

    .clean-service-card,
    .clean-service-card__body {
        min-height: 320px;
    }

    .clean-about__image {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .clean-hero__trust {
        flex-direction: column;
        align-items: stretch;
    }

    .clean-hero__trust li {
        justify-content: center;
    }

    .clean-service-card,
    .clean-service-card__body {
        min-height: auto;
    }

    .clean-service-card__body {
        padding: 1.5rem;
    }

    #contact form {
        padding: 1.35rem;
    }
}

@media (hover: none) {
    .clean-service-card:hover {
        transform: none;
    }
}
