/* =========================================================
   ASTRA / ELEMENTOR OVERRIDES
   Source: Aditional CSS from Astra Theme/Aditional CSS from Astra Theme.html
========================================================= */
/* =========================================================
   KIRST GROUP — FOOTER COLORS BY URL
   Doar footer Astra, fără afectarea headerului
========================================================= */

body {
    --kirst-footer-bg: #080808;
    --kirst-footer-text: #f5f1e9;
    --kirst-footer-muted: rgba(245, 241, 233, 0.62);
    --kirst-footer-accent: #dfcba8;
}


/* =========================================================
   HOME
========================================================= */

body.kirst-url-home {
    --kirst-footer-bg: #080808;
    --kirst-footer-text: #f5f1e9;
    --kirst-footer-muted: rgba(245, 241, 233, 0.62);
    --kirst-footer-accent: #dfcba8;
}


/* =========================================================
   KIRST ESTATE
========================================================= */

body.kirst-url-estate {
    --kirst-footer-bg: #0E2A24;
    --kirst-footer-text: #f2f3ed;
    --kirst-footer-muted: rgba(242, 243, 237, 0.64);
    --kirst-footer-accent: #b9c9b8;
}


/* =========================================================
   KIRST ATELIER
========================================================= */

body.kirst-url-atelier {
    --kirst-footer-bg: #12110F;
    --kirst-footer-text: #eee9df;
    --kirst-footer-muted: rgba(238, 233, 223, 0.62);
    --kirst-footer-accent: #c7b491;
}


/* =========================================================
   KIRST INVESTMENT
========================================================= */

body.kirst-url-investment {
    --kirst-footer-bg: #061225;
    --kirst-footer-text: #edf3fb;
    --kirst-footer-muted: rgba(237, 243, 251, 0.62);
    --kirst-footer-accent: #9eb5d0;
}


/* =========================================================
   KIRST CERAMICA
========================================================= */

body.kirst-url-ceramica {
    --kirst-footer-bg: #1A1713;
    --kirst-footer-text: #f1ede5;
    --kirst-footer-muted: rgba(241, 237, 229, 0.62);
    --kirst-footer-accent: #c6aa83;
}


/* =========================================================
   FOOTER BACKGROUND
========================================================= */

body .site-footer,
body #colophon,
body .site-footer .site-above-footer-wrap,
body .site-footer .site-primary-footer-wrap,
body .site-footer .site-below-footer-wrap,
body .site-footer .ast-builder-grid-row-container,
body .site-footer .ast-builder-footer-grid-columns,
body .site-footer .ast-builder-layout-element,
body .site-footer .footer-widget-area,
body .site-footer .site-footer-section {
    background-color: var(--kirst-footer-bg) !important;
    background-image: none !important;
}


/* =========================================================
   ELIMINARE COMPLETĂ LINII ȘI DELIMITĂRI
========================================================= */

body .site-footer,
body #colophon,
body .site-footer .site-above-footer-wrap,
body .site-footer .site-primary-footer-wrap,
body .site-footer .site-below-footer-wrap,
body .site-footer .ast-builder-grid-row-container,
body .site-footer .ast-builder-footer-grid-columns,
body .site-footer .ast-builder-layout-element,
body .site-footer .footer-widget-area,
body .site-footer .site-footer-section,
body .site-footer .widget,
body .site-footer nav,
body .site-footer ul,
body .site-footer li,
body .site-footer hr {
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
}


/* Elimină eventualele delimitări create cu pseudo-elemente */

body .site-footer::before,
body .site-footer::after,
body #colophon::before,
body #colophon::after,
body .site-footer .site-above-footer-wrap::before,
body .site-footer .site-above-footer-wrap::after,
body .site-footer .site-primary-footer-wrap::before,
body .site-footer .site-primary-footer-wrap::after,
body .site-footer .site-below-footer-wrap::before,
body .site-footer .site-below-footer-wrap::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: transparent !important;
}


/* =========================================================
   TEXT PRINCIPAL
========================================================= */

body .site-footer,
body .site-footer h1,
body .site-footer h2,
body .site-footer h3,
body .site-footer h4,
body .site-footer h5,
body .site-footer h6,
body .site-footer .widget-title {
    color: var(--kirst-footer-text) !important;
}


/* =========================================================
   TEXT SECUNDAR
========================================================= */

body .site-footer p,
body .site-footer address,
body .site-footer li,
body .site-footer span,
body .site-footer .ast-footer-copyright,
body .site-footer .widget_text {
    color: var(--kirst-footer-muted);
}


/* =========================================================
   LINKS
========================================================= */

body .site-footer a {
    color: var(--kirst-footer-text);

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

body .site-footer a:hover,
body .site-footer a:focus {
    color: var(--kirst-footer-accent);
}


/* =========================================================
   ICONS
========================================================= */

body .site-footer svg {
    color: var(--kirst-footer-text);
    fill: currentColor;

    transition:
        color 0.3s ease,
        fill 0.3s ease;
}

body .site-footer a:hover svg {
    color: var(--kirst-footer-accent);
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

body .site-footer .ast-builder-social-element {
    color: var(--kirst-footer-text);
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body .site-footer .ast-builder-social-element:hover {
    color: var(--kirst-footer-accent);
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

body .site-footer input,
body .site-footer textarea,
body .site-footer select {
    color: var(--kirst-footer-text);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.22);
}

body .site-footer input::placeholder,
body .site-footer textarea::placeholder {
    color: var(--kirst-footer-muted);
}


/* =========================================================
   TRANZIȚIE
========================================================= */

body .site-footer,
body #colophon,
body .site-footer .site-above-footer-wrap,
body .site-footer .site-primary-footer-wrap,
body .site-footer .site-below-footer-wrap,
body .site-footer .ast-builder-grid-row-container {
    transition:
        background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* =========================================================
   KIRST — HOME STICKY INITIAL OVERLAP FIX
   Ascunde doar clona sticky inactivă
========================================================= */

/*
 * Astra păstrează #ast-fixed-header în pagină chiar înainte
 * ca sticky headerul să devină activ.
 *
 * Ascundem vizual întreaga clonă, fără display:none,
 * ca să nu afectăm măsurătorile sau comportamentul Astra.
 */

body.home
#ast-fixed-header:not(.ast-sticky-active):not(:has(.ast-sticky-active)) {
    opacity: 0 !important;
    visibility: hidden !important;

    pointer-events: none !important;

    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}


/*
 * Eliminăm blurul și de pe elementele interioare ale clonei,
 * numai cât timp sticky headerul este inactiv.
 */

body.home
#ast-fixed-header:not(.ast-sticky-active):not(:has(.ast-sticky-active))
.ast-primary-header-bar,

body.home
#ast-fixed-header:not(.ast-sticky-active):not(:has(.ast-sticky-active))
.main-header-bar,

body.home
#ast-fixed-header:not(.ast-sticky-active):not(:has(.ast-sticky-active))
.ast-builder-grid-row,

body.home
#ast-fixed-header:not(.ast-sticky-active):not(:has(.ast-sticky-active))
.ast-mobile-header-wrap {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}

/* =========================================================
   CURSOR — KIRST CORE 3.1.3
========================================================= */
:root {
    --kirst-scroll-offset: 110px;
    --kirst-cursor-size: 32px;
    --kirst-cursor-dot-size: 5px;
    --kirst-cursor-border: rgba(255, 255, 255, 0.72);
    --kirst-cursor-fill: rgba(255, 255, 255, 0.95);
    --kirst-cursor-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    body.kirst-custom-cursor-active,
    body.kirst-custom-cursor-active a,
    body.kirst-custom-cursor-active button,
    body.kirst-custom-cursor-active input,
    body.kirst-custom-cursor-active textarea,
    body.kirst-custom-cursor-active select,
    body.kirst-custom-cursor-active label,
    body.kirst-custom-cursor-active [role="button"] {
        cursor: none !important;
    }

    /* The only moving element. Width/height stay zero, so its transform is an
       exact mouse coordinate with no centering math and no hover-size drift. */
    .kirst-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        pointer-events: none;
        transform: translate3d(50vw, 50vh, 0);
        z-index: 2147483646;
        will-change: transform;
        contain: layout style;
    }

    .kirst-cursor-ring,
    .kirst-cursor-dot {
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
        opacity: 0;
        transform-origin: center center;
        mix-blend-mode: difference;
    }

    .kirst-cursor-ring {
        width: var(--kirst-cursor-size);
        height: var(--kirst-cursor-size);
        border: 1px solid var(--kirst-cursor-border);
        border-radius: 50%;
        transform: translate3d(-50%, -50%, 0) scale(1);
        will-change: width, height, opacity, background-color, border-color, transform;
        transition:
            width 0.36s var(--kirst-cursor-ease),
            height 0.36s var(--kirst-cursor-ease),
            opacity 0.2s ease,
            transform 0.24s var(--kirst-cursor-ease),
            background-color 0.3s ease,
            border-color 0.3s ease;
    }

    .kirst-cursor-dot {
        width: var(--kirst-cursor-dot-size);
        height: var(--kirst-cursor-dot-size);
        border-radius: 50%;
        background: var(--kirst-cursor-fill);
        transform: translate3d(-50%, -50%, 0) scale(1);
        z-index: 1;
        will-change: opacity, transform;
        transition:
            opacity 0.18s ease,
            transform 0.24s var(--kirst-cursor-ease);
    }

    .kirst-cursor.is-visible .kirst-cursor-ring,
    .kirst-cursor.is-visible .kirst-cursor-dot {
        opacity: 1;
    }

    .kirst-cursor.is-hovering .kirst-cursor-ring {
        width: 52px;
        height: 52px;
        border-color: rgba(255, 255, 255, 0.92);
        background-color: rgba(255, 255, 255, 0.08);
    }

    .kirst-cursor.is-hovering .kirst-cursor-dot {
        transform: translate3d(-50%, -50%, 0) scale(0.7);
    }

    .kirst-cursor.is-pressed .kirst-cursor-ring {
        transform: translate3d(-50%, -50%, 0) scale(0.78);
    }

    .kirst-cursor.is-pressed .kirst-cursor-dot {
        transform: translate3d(-50%, -50%, 0) scale(1.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    .kirst-cursor-ring,
    .kirst-cursor-dot {
        transition: none !important;
    }
}

/* =========================================================
   MENU ROLL
   Source: Widgets/Meniu si Animatii.php
========================================================= */
:root {
    --kirst-roll-height: 1.28em;
    --kirst-roll-duration: 0.78s;
    --kirst-roll-opacity-duration: 0.5s;
    --kirst-roll-ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   HEADER ASTRA
========================================================= */

#ast-hf-menu-1 .menu-link,
#ast-hf-menu-2 .menu-link {
    display: flex;
    align-items: center;
    gap: 0.38em;
}


/* Fereastra textului din header */

#ast-desktop-header .kirst-menu-roll {
    position: relative;
    display: inline-block;

    height: var(--kirst-roll-height);
    line-height: var(--kirst-roll-height);

    overflow: hidden;
    perspective: 600px;

    vertical-align: middle;
}


/* Liniile textului din header */

#ast-desktop-header .kirst-menu-line {
    display: block;

    height: var(--kirst-roll-height);
    line-height: var(--kirst-roll-height);

    color: inherit !important;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;

    white-space: nowrap;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    will-change: transform, opacity;

    transition:
        transform var(--kirst-roll-duration) var(--kirst-roll-ease),
        opacity var(--kirst-roll-opacity-duration) ease;
}


#ast-desktop-header .kirst-menu-line--front {
    position: relative;

    opacity: 1;

    transform:
        translate3d(0, 0, 0)
        rotateX(0deg);

    transform-origin: center bottom;
}


#ast-desktop-header .kirst-menu-line--back {
    position: absolute;
    top: 100%;
    left: 0;

    opacity: 0;

    transform:
        translate3d(0, 0, 0)
        rotateX(-70deg);

    transform-origin: center top;
}


/* Header — textul inițial urcă */

#ast-desktop-header
.menu-link:hover
.kirst-menu-line--front,

#ast-desktop-header
.menu-link:focus-visible
.kirst-menu-line--front,

#ast-desktop-header
.menu-item:focus-within
> .menu-link
.kirst-menu-line--front {
    opacity: 0;

    transform:
        translate3d(0, -100%, 0)
        rotateX(48deg);
}


/* Header — textul secundar intră */

#ast-desktop-header
.menu-link:hover
.kirst-menu-line--back,

#ast-desktop-header
.menu-link:focus-visible
.kirst-menu-line--back,

#ast-desktop-header
.menu-item:focus-within
> .menu-link
.kirst-menu-line--back {
    opacity: 1;

    transform:
        translate3d(0, -100%, 0)
        rotateX(0deg);
}


/* Săgețile dropdown Astra */

#ast-hf-menu-1 .menu-link > .ast-icon,
#ast-hf-menu-2 .menu-link > .ast-icon {
    flex: 0 0 auto;
}


/* =========================================================
   FOOTER
========================================================= */

.kirst-footer-roll {
    position: relative;
    display: inline-block;

    height: var(--kirst-roll-height);
    line-height: var(--kirst-roll-height);

    overflow: hidden;
    perspective: 600px;

    vertical-align: middle;
}


/* Liniile textului din footer */

.kirst-footer-line {
    display: block;

    height: var(--kirst-roll-height);
    line-height: var(--kirst-roll-height);

    color: inherit !important;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;

    white-space: nowrap;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    will-change: transform, opacity;

    transition:
        transform var(--kirst-roll-duration) var(--kirst-roll-ease),
        opacity var(--kirst-roll-opacity-duration) ease;
}


.kirst-footer-line--front {
    position: relative;

    opacity: 1;

    transform:
        translate3d(0, 0, 0)
        rotateX(0deg);

    transform-origin: center bottom;
}


.kirst-footer-line--back {
    position: absolute;
    top: 100%;
    left: 0;

    opacity: 0;

    transform:
        translate3d(0, 0, 0)
        rotateX(-70deg);

    transform-origin: center top;
}


/* Footer — textul inițial urcă */

.kirst-footer-roll-link:hover
.kirst-footer-line--front,

.kirst-footer-roll-link:focus-visible
.kirst-footer-line--front {
    opacity: 0;

    transform:
        translate3d(0, -100%, 0)
        rotateX(48deg);
}


/* Footer — textul secundar intră */

.kirst-footer-roll-link:hover
.kirst-footer-line--back,

.kirst-footer-roll-link:focus-visible
.kirst-footer-line--back {
    opacity: 1;

    transform:
        translate3d(0, -100%, 0)
        rotateX(0deg);
}


/* Nu modificăm stilurile linkurilor din footer */

#colophon .kirst-footer-roll-link,
.site-footer .kirst-footer-roll-link,
.ast-footer-overlay .kirst-footer-roll-link,
.elementor-location-footer .kirst-footer-roll-link,
[data-elementor-type="footer"] .kirst-footer-roll-link,
footer .kirst-footer-roll-link {
    color: inherit;
    font: inherit;
    text-decoration: inherit;
}


/* =========================================================
   MOBILE HEADER

   Meniul mobil păstrează textul normal.
========================================================= */

@media (max-width: 921px) {

    #ast-mobile-header .kirst-menu-line--back {
        display: none !important;
    }

    #ast-mobile-header .kirst-menu-roll {
        height: auto;
        line-height: inherit;
        overflow: visible;
    }

    #ast-mobile-header .kirst-menu-line--front {
        height: auto;
        line-height: inherit;

        opacity: 1 !important;
        transform: none !important;
    }
}


/* =========================================================
   DISPOZITIVE TOUCH

   Evităm blocarea stării hover în footer.
========================================================= */

@media (hover: none), (pointer: coarse) {

    .kirst-footer-line--back {
        display: none !important;
    }

    .kirst-footer-roll {
        height: auto;
        line-height: inherit;
        overflow: visible;
    }

    .kirst-footer-line--front {
        height: auto;
        line-height: inherit;

        opacity: 1 !important;
        transform: none !important;
    }
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    #ast-desktop-header .kirst-menu-line,
    .kirst-footer-line {
        transition: none !important;
    }

    #ast-desktop-header .kirst-menu-line--front,
    .kirst-footer-line--front {
        opacity: 1 !important;
        transform: none !important;
    }

    #ast-desktop-header .kirst-menu-line--back,
    .kirst-footer-line--back {
        display: none !important;
    }
}

/* =========================================================
   MOBILE MENU
   Source: Widgets/Mobile Menu.php
========================================================= */
:root {
        --kirst-mobile-menu-bg: #f8f8f6;
        --kirst-mobile-menu-text: #0d0d0d;
        --kirst-mobile-menu-muted: #878783;
        --kirst-mobile-menu-circle: #ededeb;

        --kirst-mobile-menu-duration: 900ms;
        --kirst-mobile-menu-ease: cubic-bezier(0.76, 0, 0.24, 1);
    }


    /* =====================================================
       MOBILE / TABLET ONLY
    ===================================================== */

    @media (max-width: 921px) {

        /* =================================================
           BODY
        ================================================= */

        html.kirst-mobile-menu-active,
        body.kirst-mobile-menu-active {
            overflow: hidden !important;
            overscroll-behavior: none !important;
        }


        /* =================================================
           ASTRA MOBILE HEADER
        ================================================= */

        body #ast-mobile-header {
            position: relative;

            width: 100%;

            z-index: 999999;
        }


        /* =================================================
           HEADER BAR ABOVE PANEL
        ================================================= */

        body.kirst-mobile-menu-active
        #ast-mobile-header
        > .ast-main-header-wrap {
            position: fixed !important;

            top: 0 !important;
            right: 0 !important;
            left: 0 !important;

            width: 100% !important;

            z-index: 1000002 !important;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        .ast-primary-header-bar,
        body.kirst-mobile-menu-active
        #ast-mobile-header
        .main-header-bar {
            background: transparent !important;
            background-color: transparent !important;
            background-image: none !important;

            border: 0 !important;
            box-shadow: none !important;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        .ast-builder-grid-row {
            position: relative;

            z-index: 1000003;
        }


        /* =================================================
           FULLSCREEN PANEL
        ================================================= */

        body
        #ast-mobile-header
        .ast-mobile-header-content {
            position: fixed !important;

            top: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            left: 0 !important;

            display: flex !important;
            align-items: center !important;
            justify-content: center !important;

            width: 100vw !important;
            max-width: none !important;

            height: 100vh !important;
            height: 100svh !important;
            height: 100dvh !important;

            max-height: none !important;

            margin: 0 !important;

            padding:
                max(110px, calc(env(safe-area-inset-top) + 90px))
                22px
                max(64px, calc(env(safe-area-inset-bottom) + 40px))
                !important;

            overflow-x: hidden !important;
            overflow-y: auto !important;

            background: var(--kirst-mobile-menu-bg) !important;
            background-color: var(--kirst-mobile-menu-bg) !important;
            background-image: none !important;

            opacity: 1 !important;
            visibility: visible !important;

            transform: translate3d(100%, 0, 0) !important;

            transition:
                transform
                var(--kirst-mobile-menu-duration)
                var(--kirst-mobile-menu-ease)
                !important;

            pointer-events: none !important;

            will-change: transform;

            z-index: 1000000 !important;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        .ast-mobile-header-content {
            transform: translate3d(0, 0, 0) !important;

            pointer-events: auto !important;
        }


        /* =================================================
           INNER MENU CONTAINERS
        ================================================= */

        body
        #ast-mobile-header
        .ast-builder-menu-mobile,
        body
        #ast-mobile-header
        .ast-main-header-bar-alignment,
        body
        #ast-mobile-header
        .main-header-bar-navigation,
        body
        #ast-mobile-header
        #ast-mobile-site-navigation,
        body
        #ast-mobile-header
        .main-navigation {
            position: relative !important;

            display: block !important;

            width: 100% !important;
            max-width: none !important;

            height: auto !important;

            margin: 0 !important;
            padding: 0 !important;

            background: transparent !important;

            border: 0 !important;
            box-shadow: none !important;
        }


        /* =================================================
           MENU LIST
        ================================================= */

        body
        #ast-mobile-header
        #ast-hf-mobile-menu {
            position: relative;

            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;

            gap: 0 !important;

            width: 100% !important;

            margin: 0 !important;
            padding: 0 !important;

            list-style: none !important;

            background: transparent !important;

            border: 0 !important;
            box-shadow: none !important;
        }


        /* =================================================
           MENU ITEMS
        ================================================= */

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item {
            position: relative;

            display: block !important;

            width: auto !important;
            max-width: 100% !important;

            margin: 0 !important;
            padding: 0 !important;

            overflow: hidden !important;

            background: transparent !important;

            border: 0 !important;
            box-shadow: none !important;

            opacity: 0;

            transform: translate3d(0, 115%, 0);

            transition:
                transform 720ms var(--kirst-mobile-menu-ease),
                opacity 350ms ease;

            will-change: transform, opacity;
        }


        /* =================================================
           LINKS
        ================================================= */

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item
        > .menu-link {
            position: relative;

            display: block !important;

            width: auto !important;
            min-height: 0 !important;

            margin: 0 !important;

            padding: 0.015em 0.08em !important;

            color: var(--kirst-mobile-menu-text) !important;

            background: transparent !important;

            border: 0 !important;

            font-family:
                "Manrope",
                "Helvetica Neue",
                Arial,
                sans-serif !important;

            font-size: clamp(32px, 9.5vw, 62px) !important;
            font-weight: 900 !important;
            line-height: 0.91 !important;

            letter-spacing: -0.068em !important;

            text-align: center !important;
            text-transform: capitalize !important;
            text-decoration: none !important;

            white-space: nowrap !important;

            transition:
                color 280ms ease !important;
        }

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item
        > .menu-link:hover,
        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item
        > .menu-link:focus-visible {
            color: var(--kirst-mobile-menu-muted) !important;
        }


        /* =================================================
           RESET EXISTING ROLL ANIMATION
        ================================================= */

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        .kirst-menu-roll {
            position: static !important;

            display: block !important;

            width: auto !important;
            height: auto !important;

            overflow: visible !important;

            transform: none !important;
        }

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        .kirst-menu-line {
            position: static !important;

            display: block !important;

            width: auto !important;
            height: auto !important;

            color: inherit !important;

            line-height: inherit !important;

            opacity: 1 !important;

            transform: none !important;
        }

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        .kirst-menu-line--back {
            display: none !important;
        }


        /* =================================================
           STAGGERED TEXT REVEAL
        ================================================= */

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item {
            opacity: 1;

            transform: translate3d(0, 0, 0);
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item:nth-child(1) {
            transition-delay: 420ms;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item:nth-child(2) {
            transition-delay: 485ms;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item:nth-child(3) {
            transition-delay: 550ms;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item:nth-child(4) {
            transition-delay: 615ms;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item:nth-child(5) {
            transition-delay: 680ms;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item:nth-child(6) {
            transition-delay: 745ms;
        }

        body:not(.kirst-mobile-menu-active)
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item {
            transition-delay: 0ms !important;
        }


        /* =================================================
           MENU BUTTON
        ================================================= */

        body
        #ast-mobile-header
        .main-header-menu-toggle {
            position: relative !important;

            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;

            width: 58px !important;
            min-width: 58px !important;

            height: 58px !important;
            min-height: 58px !important;

            margin: 0 !important;
            padding: 0 !important;

            color: #ffffff !important;

            background:
                rgba(255, 255, 255, 0.15)
                !important;

            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);

            border:
                1px solid rgba(255, 255, 255, 0.12)
                !important;

            border-radius: 50% !important;

            box-shadow: none !important;

            overflow: hidden !important;

            cursor: pointer;

            transition:
                color 380ms ease,
                background-color 380ms ease,
                border-color 380ms ease,
                transform 350ms var(--kirst-mobile-menu-ease)
                !important;

            z-index: 1000004 !important;
        }

        body
        #ast-mobile-header
        .main-header-menu-toggle:hover {
            transform: scale(1.04);
        }


        /* Ascundem SVG-ul Astra */

        body
        #ast-mobile-header
        .main-header-menu-toggle
        .mobile-menu-toggle-icon {
            opacity: 0 !important;
            visibility: hidden !important;
        }


        /* Hamburger custom */

        body
        #ast-mobile-header
        .main-header-menu-toggle::before,
        body
        #ast-mobile-header
        .main-header-menu-toggle::after {
            content: "";

            position: absolute;

            top: 50%;
            left: 50%;

            display: block;

            width: 20px;
            height: 1.5px;

            background-color: currentColor;

            border-radius: 20px;

            transform-origin: center;

            pointer-events: none;

            transition:
                transform 500ms var(--kirst-mobile-menu-ease),
                box-shadow 300ms ease,
                opacity 300ms ease;
        }

        body
        #ast-mobile-header
        .main-header-menu-toggle::before {
            transform:
                translate3d(-50%, -6px, 0);

            box-shadow:
                0 6px 0 currentColor,
                0 12px 0 currentColor;
        }

        body
        #ast-mobile-header
        .main-header-menu-toggle::after {
            opacity: 0;

            transform:
                translate3d(-50%, -50%, 0)
                rotate(-45deg);
        }


        /* =================================================
           OPEN BUTTON / X
        ================================================= */

        body.kirst-mobile-menu-active
        #ast-mobile-header
        .main-header-menu-toggle {
            color: #111111 !important;

            background:
                var(--kirst-mobile-menu-circle)
                !important;

            border-color: transparent !important;
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        .main-header-menu-toggle::before {
            box-shadow: none;

            transform:
                translate3d(-50%, -50%, 0)
                rotate(45deg);
        }

        body.kirst-mobile-menu-active
        #ast-mobile-header
        .main-header-menu-toggle::after {
            opacity: 1;

            transform:
                translate3d(-50%, -50%, 0)
                rotate(-45deg);
        }


        /* =================================================
           LOGO
        ================================================= */

        body
        #ast-mobile-header
        .site-branding,
        body
        #ast-mobile-header
        .site-logo-img,
        body
        #ast-mobile-header
        .custom-logo-link {
            position: relative;

            z-index: 1000004;
        }

        body
        #ast-mobile-header
        img.custom-logo {
            transition:
                filter 450ms ease,
                opacity 350ms ease,
                transform 500ms var(--kirst-mobile-menu-ease)
                !important;

            will-change: filter, opacity, transform;
        }


        /*
         * Logo-ul alb devine negru fără schimbarea
         * dimensiunii sau a proporțiilor.
         */

        body.kirst-mobile-menu-active
        #ast-mobile-header
        img.custom-logo {
            filter:
                brightness(0)
                saturate(100%)
                !important;
        }


        /* =================================================
           REMOVE ASTRA BORDERS
        ================================================= */

        body
        #ast-mobile-header
        .ast-mobile-header-content,
        body
        #ast-mobile-header
        .ast-builder-menu-mobile,
        body
        #ast-mobile-header
        #ast-hf-mobile-menu,
        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item,
        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item
        > .menu-link {
            border: 0 !important;
            border-top: 0 !important;
            border-right: 0 !important;
            border-bottom: 0 !important;
            border-left: 0 !important;

            box-shadow: none !important;
        }


        /* =================================================
           FOCUS
        ================================================= */

        body
        #ast-mobile-header
        .main-header-menu-toggle:focus-visible,
        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        .menu-link:focus-visible {
            outline:
                1px solid currentColor
                !important;

            outline-offset: 5px !important;
        }

    }


    /* =====================================================
       SMALL MOBILE
    ===================================================== */

    @media (max-width: 420px) {

        body
        #ast-mobile-header
        .main-header-menu-toggle {
            width: 54px !important;
            min-width: 54px !important;

            height: 54px !important;
            min-height: 54px !important;
        }

        body
        #ast-mobile-header
        .ast-mobile-header-content {
            padding-right: 12px !important;
            padding-left: 12px !important;
        }

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item
        > .menu-link {
            font-size:
                clamp(30px, 9.4vw, 40px)
                !important;
        }

    }


    /* =====================================================
       SHORT SCREENS
    ===================================================== */

    @media
        (max-width: 921px)
        and (max-height: 720px) {

        body
        #ast-mobile-header
        .ast-mobile-header-content {
            align-items: center !important;

            padding-top: 90px !important;
            padding-bottom: 36px !important;
        }

        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item
        > .menu-link {
            font-size:
                clamp(28px, 6.9vh, 46px)
                !important;

            line-height: 0.88 !important;
        }

    }


    /* =====================================================
       REDUCED MOTION
    ===================================================== */

    @media (prefers-reduced-motion: reduce) {

        body
        #ast-mobile-header
        .ast-mobile-header-content,
        body
        #ast-mobile-header
        #ast-hf-mobile-menu
        > .menu-item,
        body
        #ast-mobile-header
        .main-header-menu-toggle,
        body
        #ast-mobile-header
        .main-header-menu-toggle::before,
        body
        #ast-mobile-header
        .main-header-menu-toggle::after,
        body
        #ast-mobile-header
        img.custom-logo {
            transition-duration: 1ms !important;
            transition-delay: 0ms !important;
        }

    }

/* =========================================================
   ROUTE TRANSITION
   Source: Widgets/Mutare Pagini Custom.php
========================================================= */
:root {
        --kirst-route-bg: #f8f8f6;
        --kirst-route-duration: 920ms;

        --kirst-route-ease:
            cubic-bezier(0.76, 0, 0.24, 1);
    }


    /* =====================================================
       STRATUL TRANZIȚIEI

       Este complet izolat și nu modifică pagina,
       headerul sau secțiunile Elementor.
    ===================================================== */

    #kirst-route-transition-layer {
        position: fixed;
        inset: 0;

        display: block;

        width: 100vw;
        height: 100vh;
        height: 100svh;
        height: 100dvh;

        margin: 0;
        padding: 0;

        background-color:
            var(--kirst-route-bg);

        opacity: 1;

        transform:
            translate3d(var(--kirst-route-start-x, -101%), 0, 0);

        transition:
            transform
            var(--kirst-route-duration)
            var(--kirst-route-ease);

        pointer-events: none;

        will-change: transform;

        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;

        z-index: 2147483000;
    }


    /* =====================================================
       PLECAREA DE PE PAGINA CURENTĂ
    ===================================================== */

    body.kirst-route-leaving
    #kirst-route-transition-layer {
        transform:
            translate3d(0, 0, 0);

        pointer-events: auto;
    }


    /* =====================================================
       MENIUL MOBIL

       Se mută numai panoul meniului mobil care a fost
       utilizat. Headerul, logo-ul și pagina rămân intacte.
    ===================================================== */

    @media (max-width: 921px) {

        body.kirst-route-leaving
        .kirst-route-active-mobile
        .ast-mobile-header-content {
            opacity: 0;

            transform:
                translate3d(100%, 0, 0)
                !important;

            transition:
                transform
                var(--kirst-route-duration)
                var(--kirst-route-ease),
                opacity 360ms ease
                !important;

            pointer-events: none !important;

            will-change:
                transform,
                opacity;
        }


        /*
         * Retragere discretă a elementelor meniului.
         * Se aplică numai meniului mobil activ.
         */

        body.kirst-route-leaving
        .kirst-route-active-mobile
        [id^="ast-hf-mobile-menu"]
        > .menu-item {
            opacity: 0 !important;

            transform:
                translate3d(28px, 0, 0)
                !important;

            transition:
                opacity 220ms ease,
                transform 420ms
                var(--kirst-route-ease)
                !important;

            transition-delay:
                0ms !important;
        }

    }


    /* =====================================================
       MENIUL DESKTOP

       Se transformă numai containerul meniului din care
       a fost apăsat linkul. Logo-ul și headerul nu sunt
       modificate.
    ===================================================== */

    @media (min-width: 922px) {

        body.kirst-route-leaving
        .kirst-route-active-desktop {
            opacity: 0;

            transform:
                translate3d(44px, 0, 0)
                !important;

            transition:
                transform
                var(--kirst-route-duration)
                var(--kirst-route-ease),
                opacity 360ms ease
                !important;

            pointer-events: none !important;

            will-change:
                transform,
                opacity;
        }

    }


    /* =====================================================
       SOSIREA PE PAGINA NOUĂ

       Pagina și headerul nu primesc transformări.
       Numai stratul colorat este retras.
    ===================================================== */

    html.kirst-route-arriving
    #kirst-route-transition-layer {
        transform:
            translate3d(0, 0, 0);

        transition: none;

        pointer-events: auto;
    }


    html.kirst-route-arriving.kirst-route-reveal
    #kirst-route-transition-layer {
        transform:
            translate3d(var(--kirst-route-end-x, 101%), 0, 0);

        transition:
            transform
            var(--kirst-route-duration)
            var(--kirst-route-ease);
    }


    /* =====================================================
       FINALIZAREA TRANZIȚIEI
    ===================================================== */

    html.kirst-route-complete
    #kirst-route-transition-layer {
        display: none !important;

        transform:
            translate3d(var(--kirst-route-end-x, 101%), 0, 0)
            !important;

        transition: none !important;

        pointer-events: none !important;

        will-change: auto;
    }


    /* =====================================================
       REDUCED MOTION
    ===================================================== */

    @media (prefers-reduced-motion: reduce) {

        #kirst-route-transition-layer {
            display: none !important;
        }

        .kirst-route-active-mobile
        .ast-mobile-header-content,

        .kirst-route-active-mobile
        [id^="ast-hf-mobile-menu"]
        > .menu-item,

        .kirst-route-active-desktop {
            opacity: 1 !important;

            transform: none !important;

            transition: none !important;
        }

    }

/* =========================================================
   SMOOTH SCROLL / LENIS
   Source: Widgets/Smooth Scroll.php
========================================================= */
/* =========================================================
   KIRST LENIS CONFIGURATION
========================================================= */

:root {
    --kirst-scroll-offset: 110px;
}


/*
 * Dezactivăm smooth scroll-ul CSS pentru ca Lenis
 * să fie singurul sistem care controlează mișcarea.
 */

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


/*
 * Compensare pentru headerul sticky.
 */

[id] {
    scroll-margin-top: var(--kirst-scroll-offset);
}


/*
 * Zonele marcate cu data-lenis-prevent
 * folosesc scroll nativ.
 */

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


/*
 * Previne selectarea accidentală a iframe-urilor
 * în timpul scroll-ului animat.
 */

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


/*
 * Elementor Editor trebuie să rămână nativ.
 */

body.elementor-editor-active {
    scroll-behavior: auto !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

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