/* =========================================================
   MOBILE CONTACT DRAWER
   Source: EXTRAS, Buttons, HTML, etc./Contact US Desktop Button.html
========================================================= */
/* =========================================================
   RESET
========================================================= */

#kirst-mobile-contact,
#kirst-mobile-contact *,
#kirst-mobile-contact *::before,
#kirst-mobile-contact *::after {
    box-sizing: border-box;
}


/* =========================================================
   VARIABLES
========================================================= */

#kirst-mobile-contact {
    --kcm-bg: #f4f2f1;
    --kcm-text: #292827;
    --kcm-muted: rgba(41, 40, 39, 0.58);
    --kcm-line: rgba(41, 40, 39, 0.2);
    --kcm-circle: #e7e5e4;
    --kcm-dark: #171717;
    --kcm-error: #a7483d;

    --kcm-ease:
        cubic-bezier(0.76, 0, 0.24, 1);

    --kcm-panel-duration: 900ms;

    display: none;

    font-family:
        "Manrope",
        Arial,
        sans-serif;
}


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

@media (max-width: 921px) {

    #kirst-mobile-contact {
        display: block;
    }


    /* =====================================================
       LAUNCHER
    ===================================================== */

    .kcm-launcher {
        position: fixed;

        top: max(
            18px,
            env(safe-area-inset-top)
        );

        right: 18px;

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

        width: 58px;
        height: 58px;

        margin: 0;
        padding: 0;

        color: #ffffff;

        background:
            rgba(26, 26, 26, 0.68);

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

        border:
            1px solid rgba(255, 255, 255, 0.14);

        border-radius: 50%;

        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.12);

        cursor: pointer;

        opacity: 1;

        transform: scale(1);

        transition:
            opacity 300ms ease,
            transform 450ms var(--kcm-ease),
            background-color 300ms ease;

        z-index: 999990;
    }

    .kcm-launcher:hover {
        background:
            rgba(26, 26, 26, 0.82);

        transform: scale(1.045);
    }

    .kcm-launcher svg {
        display: block;

        width: 27px;
        height: 27px;

        overflow: visible;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.45;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .kirst-mobile-contact.is-open
    .kcm-launcher {
        opacity: 0;

        transform: scale(0.72);

        pointer-events: none;
    }


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

    .kcm-panel {
        position: fixed;
        inset: 0;

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

        overflow: hidden;

        visibility: hidden;

        pointer-events: none;

        z-index: 999999;
    }

    .kcm-panel__background {
        position: absolute;
        inset: 0;

        background-color: var(--kcm-bg);

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

        transition:
            transform
            var(--kcm-panel-duration)
            var(--kcm-ease);

        will-change: transform;
    }

    .kirst-mobile-contact.is-open
    .kcm-panel {
        visibility: visible;

        pointer-events: auto;
    }

    .kirst-mobile-contact.is-open
    .kcm-panel__background {
        transform:
            translate3d(0, 0, 0);
    }


    /* =====================================================
       CLOSE BUTTON
    ===================================================== */

    .kcm-close {
        position: fixed;

        top: max(
            21px,
            env(safe-area-inset-top)
        );

        right: 18px;

        display: inline-flex;
        align-items: center;

        gap: 12px;

        min-height: 58px;

        margin: 0;
        padding:
            6px
            7px
            6px
            23px;

        color: var(--kcm-text);

        background-color:
            rgba(226, 224, 223, 0.94);

        border: 0;
        border-radius: 100px;

        opacity: 0;

        transform:
            translate3d(24px, 0, 0);

        transition:
            opacity 350ms ease,
            transform 650ms var(--kcm-ease),
            background-color 250ms ease;

        cursor: pointer;

        pointer-events: none;

        z-index: 1000001;
    }

    .kirst-mobile-contact.is-open
    .kcm-close {
        opacity: 1;

        transform:
            translate3d(0, 0, 0);

        transition-delay: 520ms;

        pointer-events: auto;
    }

    .kcm-close__text {
        font-size: 14px;
        font-weight: 500;
        line-height: 1;

        letter-spacing: -0.025em;

        text-transform: uppercase;
    }

    .kcm-close__icon {
        position: relative;

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

        width: 44px;
        height: 44px;

        background-color:
            rgba(41, 40, 39, 0.055);

        border-radius: 50%;
    }

    .kcm-close__icon span {
        position: absolute;

        width: 14px;
        height: 1.4px;

        background-color: currentColor;

        border-radius: 20px;
    }

    .kcm-close__icon span:first-child {
        transform: rotate(45deg);
    }

    .kcm-close__icon span:last-child {
        transform: rotate(-45deg);
    }


    /* =====================================================
       SCROLL / CONTENT
    ===================================================== */

    .kcm-scroll {
        position: relative;

        width: 100%;
        height: 100%;

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

        overscroll-behavior: contain;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

        opacity: 0;

        transform:
            translate3d(0, 25px, 0);

        transition:
            opacity 350ms ease,
            transform 650ms var(--kcm-ease);
    }

    .kcm-scroll::-webkit-scrollbar {
        display: none;
    }

    .kirst-mobile-contact.is-open
    .kcm-scroll {
        opacity: 1;

        transform:
            translate3d(0, 0, 0);

        transition-delay: 410ms;
    }

    .kcm-content {
        position: relative;

        width: 100%;
        min-height: 100%;

        padding:
            max(
                150px,
                calc(
                    env(safe-area-inset-top) +
                    125px
                )
            )
            22px
            max(
                48px,
                calc(
                    env(safe-area-inset-bottom) +
                    30px
                )
            );
    }


    /* =====================================================
       STEPS
    ===================================================== */

    .kcm-step {
        display: none;

        width: 100%;
        max-width: 560px;

        margin: 0 auto;
    }

    .kcm-step.is-active {
        display: block;
    }

    .kcm-step-index {
        margin-bottom: 18px;

        color: var(--kcm-muted);

        font-size: 11px;
        font-weight: 600;
        line-height: 1.4;

        letter-spacing: 0.08em;
    }


    /* =====================================================
       TYPOGRAPHY
    ===================================================== */

    .kcm-eyebrow {
        margin-bottom: clamp(
            58px,
            9vh,
            92px
        );

        color: var(--kcm-text);

        font-size: 17px;
        font-weight: 700;
        line-height: 1.1;

        letter-spacing: -0.04em;

        text-transform: uppercase;
    }

    .kcm-heading {
        max-width: 510px;

        margin: 0 0 clamp(
            68px,
            10vh,
            105px
        );

        color: var(--kcm-text);

        font-size: clamp(
            27px,
            7.3vw,
            39px
        );

        font-weight: 400;
        line-height: 0.98;

        letter-spacing: -0.065em;

        text-transform: uppercase;
    }


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

    .kcm-form {
        width: 100%;
    }

    .kcm-field {
        position: relative;

        width: 100%;

        margin-bottom: 54px;
    }

    .kcm-field label {
        display: block;

        margin: 0 0 14px;

        color: var(--kcm-text);

        font-size: clamp(
            18px,
            5.2vw,
            24px
        );

        font-weight: 400;
        line-height: 1;

        letter-spacing: -0.055em;

        text-transform: uppercase;
    }

    .kcm-field input,
    .kcm-field select,
    .kcm-field textarea {
        display: block;

        width: 100%;

        margin: 0;
        padding:
            2px
            0
            14px;

        color: var(--kcm-text);

        background: transparent;

        border: 0;
        border-radius: 0;

        outline: 0;

        box-shadow: none;

        font-family:
            "Manrope",
            Arial,
            sans-serif;

        font-size: 18px;
        font-weight: 400;
        line-height: 1.3;

        letter-spacing: -0.025em;

        appearance: none;
        -webkit-appearance: none;
    }

    .kcm-field textarea {
        min-height: 112px;

        resize: vertical;
    }

    .kcm-field-line {
        position: absolute;

        right: 0;
        bottom: 0;
        left: 0;

        height: 1px;

        overflow: hidden;

        background-color: var(--kcm-line);
    }

    .kcm-field-line::after {
        content: "";

        position: absolute;
        inset: 0;

        background-color: var(--kcm-text);

        transform:
            translate3d(-101%, 0, 0);

        transition:
            transform 500ms var(--kcm-ease);
    }

    .kcm-field:focus-within
    .kcm-field-line::after {
        transform:
            translate3d(0, 0, 0);
    }

    .kcm-field.is-invalid label {
        color: var(--kcm-error);
    }

    .kcm-field.is-invalid
    .kcm-field-line {
        background-color: var(--kcm-error);
    }


    /* =====================================================
       PHONE ROW
    ===================================================== */

    .kcm-phone-row {
        display: grid;

        grid-template-columns:
            minmax(106px, 0.32fr)
            minmax(0, 1fr);

        gap: 12px;
    }

    .kcm-phone-row .kcm-field {
        min-width: 0;
    }

    .kcm-field--code label {
        white-space: nowrap;
    }


    /* =====================================================
       SELECT
    ===================================================== */

    .kcm-select-wrap {
        position: relative;

        width: 100%;
    }

    .kcm-select-wrap select {
        padding-right: 28px;

        cursor: pointer;
    }

    .kcm-select-arrow {
        position: absolute;

        top: 50%;
        right: 4px;

        width: 0;
        height: 0;

        border-top:
            7px solid var(--kcm-text);

        border-right:
            5px solid transparent;

        border-left:
            5px solid transparent;

        transform:
            translate3d(0, -65%, 0);

        pointer-events: none;
    }


    /* =====================================================
       CONSENT
    ===================================================== */

    .kcm-consent {
        display: grid;

        grid-template-columns:
            22px
            minmax(0, 1fr);

        align-items: start;

        gap: 13px;

        margin:
            -10px
            0
            45px;

        cursor: pointer;
    }

    .kcm-consent input {
        position: absolute;

        width: 1px;
        height: 1px;

        opacity: 0;

        pointer-events: none;
    }

    .kcm-consent-box {
        position: relative;

        display: block;

        width: 22px;
        height: 22px;

        border:
            1px solid rgba(41, 40, 39, 0.38);

        transition:
            background-color 250ms ease,
            border-color 250ms ease;
    }

    .kcm-consent-box::after {
        content: "";

        position: absolute;

        top: 4px;
        left: 7px;

        width: 6px;
        height: 10px;

        border-right:
            1.5px solid #ffffff;

        border-bottom:
            1.5px solid #ffffff;

        opacity: 0;

        transform:
            rotate(45deg)
            scale(0.6);

        transition:
            opacity 200ms ease,
            transform 300ms var(--kcm-ease);
    }

    .kcm-consent input:checked
    + .kcm-consent-box {
        background-color: var(--kcm-dark);

        border-color: var(--kcm-dark);
    }

    .kcm-consent input:checked
    + .kcm-consent-box::after {
        opacity: 1;

        transform:
            rotate(45deg)
            scale(1);
    }

    .kcm-consent-text {
        color: var(--kcm-muted);

        font-size: 11px;
        font-weight: 500;
        line-height: 1.5;
    }


    /* =====================================================
       BUTTONS
    ===================================================== */

    .kcm-actions {
        display: flex;
        align-items: center;

        width: 100%;

        margin-top: 4px;
    }

    .kcm-actions--split {
        justify-content: space-between;

        gap: 12px;
    }

    .kcm-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        gap: 10px;

        min-height: 47px;

        margin: 0;
        padding:
            11px
            23px;

        color: var(--kcm-text);

        background-color:
            rgba(226, 224, 223, 0.94);

        border: 0;
        border-radius: 100px;

        font-family:
            "Manrope",
            Arial,
            sans-serif;

        font-size: 15px;
        font-weight: 500;
        line-height: 1;

        letter-spacing: -0.035em;

        text-transform: uppercase;

        cursor: pointer;

        transition:
            color 300ms ease,
            background-color 300ms ease,
            transform 350ms var(--kcm-ease);
    }

    .kcm-button:hover {
        color: #ffffff;

        background-color: var(--kcm-dark);

        transform:
            translate3d(0, -2px, 0);
    }

    .kcm-button svg {
        width: 18px;
        height: 18px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .kcm-button--secondary {
        color: var(--kcm-muted);

        background: transparent;

        padding-right: 5px;
        padding-left: 5px;
    }


    /* =====================================================
       SUCCESS
    ===================================================== */

    .kcm-success {
        padding-top: clamp(
            45px,
            8vh,
            90px
        );
    }

    .kcm-success-icon {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 66px;
        height: 66px;

        margin-bottom: 54px;

        color: #ffffff;

        background-color: var(--kcm-dark);

        border-radius: 50%;
    }

    .kcm-success-icon svg {
        width: 30px;
        height: 30px;

        fill: none;
        stroke: currentColor;

        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .kcm-success .kcm-eyebrow {
        margin-bottom: 30px;
    }

    .kcm-success .kcm-heading {
        margin-bottom: 25px;
    }

    .kcm-success-text {
        max-width: 390px;

        margin:
            0
            0
            48px;

        color: var(--kcm-muted);

        font-size: 15px;
        font-weight: 400;
        line-height: 1.55;
    }


    /* =====================================================
       REVEAL
    ===================================================== */

    .kcm-reveal {
        opacity: 0;

        transform:
            translate3d(0, 32px, 0);

        transition:
            opacity 550ms ease,
            transform 750ms var(--kcm-ease);
    }

    .kirst-mobile-contact.is-open
    .kcm-step.is-active
    .kcm-reveal {
        opacity: 1;

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

    .kirst-mobile-contact.is-open
    .kcm-step.is-active
    .kcm-reveal:nth-child(1) {
        transition-delay: 600ms;
    }

    .kirst-mobile-contact.is-open
    .kcm-step.is-active
    .kcm-reveal:nth-child(2) {
        transition-delay: 665ms;
    }

    .kirst-mobile-contact.is-open
    .kcm-step.is-active
    .kcm-reveal:nth-child(3) {
        transition-delay: 730ms;
    }

    .kirst-mobile-contact.is-open
    .kcm-step.is-active
    .kcm-reveal:nth-child(4) {
        transition-delay: 795ms;
    }

    .kirst-mobile-contact.is-open
    .kcm-step.is-active
    .kcm-reveal:nth-child(5) {
        transition-delay: 860ms;
    }


    /* =====================================================
       HONEYPOT
    ===================================================== */

    .kcm-honeypot {
        position: absolute !important;

        left: -9999px !important;

        width: 1px !important;
        height: 1px !important;

        overflow: hidden !important;

        opacity: 0 !important;
    }

}


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

@media (max-width: 390px) {

    .kcm-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .kcm-heading {
        font-size: clamp(
            24px,
            7vw,
            29px
        );
    }

    .kcm-field label {
        font-size: 18px;
    }

    .kcm-phone-row {
        grid-template-columns:
            102px
            minmax(0, 1fr);
    }

}


/* =========================================================
   SHORT MOBILE
========================================================= */

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

    .kcm-content {
        padding-top: 122px;
    }

    .kcm-eyebrow {
        margin-bottom: 43px;
    }

    .kcm-heading {
        margin-bottom: 54px;

        font-size: clamp(
            24px,
            6.8vw,
            32px
        );
    }

    .kcm-field {
        margin-bottom: 38px;
    }

}


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

html.kcm-page-locked,
body.kcm-page-locked {
    overflow: hidden !important;

    overscroll-behavior: none !important;
}


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

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

    #kirst-mobile-contact *,
    #kirst-mobile-contact *::before,
    #kirst-mobile-contact *::after {
        transition-duration: 1ms !important;
        transition-delay: 0ms !important;
    }

}

/* =========================================================
   HEADER CONTACT PANEL
   Source: EXTRAS, Buttons, HTML, etc./Widget 3 Header Mobile Contact Button.html
========================================================= */
/* =========================================================
   VARIABILE
========================================================= */

:root {
    --kirst-contact-bg: #f8f8f6;
    --kirst-contact-text: #0d0d0d;
    --kirst-contact-muted: #878783;
    --kirst-contact-circle: #ededeb;
    --kirst-contact-line: rgba(13, 13, 13, 0.13);

    --kirst-contact-duration: 900ms;

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


/* =========================================================
   BLOCARE SCROLL
========================================================= */

html.kirst-contact-panel-active,
body.kirst-contact-panel-active {
    overflow: hidden !important;

    overscroll-behavior: none !important;
}


/* =========================================================
   CONTAINER ÎN HEADER
========================================================= */

.kirst-header-contact {
    position: relative;

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

    flex: 0 0 auto;

    width: var(--kirst-contact-button-size, 58px);
    height: var(--kirst-contact-button-size, 58px);

    margin: 0;
    padding: 0;

    line-height: 1;

    z-index: 1000004;
}


/* =========================================================
   BUTON AVION

   Același stil precum butonul meniului mobil.
========================================================= */

.kirst-header-contact__trigger {
    position: relative !important;

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

    width: var(--kirst-contact-button-size, 58px) !important;
    min-width: var(--kirst-contact-button-size, 58px) !important;

    height: var(--kirst-contact-button-size, 58px) !important;
    min-height: var(--kirst-contact-button-size, 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;

    -webkit-appearance: none;
    appearance: none;

    -webkit-tap-highlight-color:
        transparent;

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

    z-index: 1000004 !important;
}

.kirst-header-contact__trigger:hover {
    transform:
        scale(1.04);
}

.kirst-header-contact__trigger:focus-visible {
    outline:
        1px solid currentColor
        !important;

    outline-offset:
        5px !important;
}


/* =========================================================
   ICON
========================================================= */

.kirst-header-contact__icon-wrap {
    position: relative;

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

    width: 28px;
    height: 28px;

    pointer-events: none;
}

.kirst-header-contact__icon {
    position: absolute;

    width: 25px;
    height: 25px;

    transition:
        opacity 300ms ease,
        transform 500ms var(--kirst-contact-ease);
}

.kirst-header-contact__icon--plane {
    opacity: 1;

    transform:
        scale(1)
        rotate(0deg);
}

.kirst-header-contact__icon--close {
    opacity: 0;

    transform:
        scale(0.55)
        rotate(-90deg);
}


/* =========================================================
   BUTON ACTIV
========================================================= */

body.kirst-contact-panel-active
.kirst-header-contact
.kirst-header-contact__trigger {
    color:
        #111111 !important;

    background:
        var(--kirst-contact-circle)
        !important;

    border-color:
        transparent !important;

    transform:
        none !important;
}

body.kirst-contact-panel-active
.kirst-header-contact
.kirst-header-contact__icon--plane {
    opacity: 0;

    transform:
        scale(0.55)
        rotate(90deg);
}

body.kirst-contact-panel-active
.kirst-header-contact
.kirst-header-contact__icon--close {
    opacity: 1;

    transform:
        scale(1)
        rotate(0deg);
}


/* =========================================================
   HEADER ACTIV DEASUPRA PANOULUI

   Astra poate reda simultan headerul normal si sticky.
   Doar headerul din care a fost apasat butonul primeste
   stilul activ, evitand logo dublu si deschidere aparenta
   de doua ori.
========================================================= */

body.kirst-contact-panel-active
.kirst-contact-host-active {
    position: relative;
    z-index: 1000002 !important;
}

body.kirst-contact-panel-active
.kirst-contact-host-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-contact-panel-active
.kirst-contact-host-active
.ast-primary-header-bar,
body.kirst-contact-panel-active
.kirst-contact-host-active
.main-header-bar {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.kirst-contact-panel-active
.kirst-contact-host-active
.ast-builder-grid-row {
    position: relative;
    z-index: 1000003 !important;
}

/* Logo black only in the header that opened the panel. */
body
img.custom-logo {
    transition:
        filter 450ms ease,
        opacity 350ms ease,
        transform 500ms var(--kirst-contact-ease)
        !important;
}

body.kirst-contact-panel-active
.kirst-contact-host-active
img.custom-logo,
body.kirst-contact-panel-active
.kirst-contact-host-active
.site-logo-img svg,
body.kirst-contact-panel-active
.kirst-contact-host-active
.custom-logo-link svg {
    filter: brightness(0) saturate(100%) !important;
}

/* Hide only the menu toggle belonging to the active header. */
body
.main-header-menu-toggle {
    transition:
        color 380ms ease,
        background-color 380ms ease,
        border-color 380ms ease,
        transform 400ms var(--kirst-contact-ease),
        opacity 280ms ease,
        visibility 0ms linear 0ms
        !important;
}

body.kirst-contact-panel-active
.kirst-contact-host-active
.main-header-menu-toggle {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.72) rotate(-12deg) !important;
    transition:
        transform 400ms var(--kirst-contact-ease),
        opacity 240ms ease,
        visibility 0ms linear 240ms
        !important;
}

/* =========================================================
   X GLOBAL DEASUPRA ASTRA + PANOU

   Astra poate crea stacking contexts separate pentru headerul
   normal si sticky. Butonul de inchidere este randat direct in
   body si pozitionat peste butonul care a deschis panoul.
========================================================= */

body.kirst-contact-panel-active
.kirst-header-contact__trigger {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.kirst-header-contact__floating-close {
    position: fixed !important;

    top: var(--kirst-floating-close-top, 20px) !important;
    left: var(--kirst-floating-close-left, auto) !important;
    right: auto !important;

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

    width: var(--kirst-floating-close-size, 58px) !important;
    min-width: var(--kirst-floating-close-size, 58px) !important;
    height: var(--kirst-floating-close-size, 58px) !important;
    min-height: var(--kirst-floating-close-size, 58px) !important;

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

    color: #111111 !important;
    background: var(--kirst-contact-circle) !important;

    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;

    overflow: hidden !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: scale(0.72) rotate(-35deg) !important;
    transform-origin: center !important;

    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent;

    transition:
        opacity 220ms ease,
        visibility 0ms linear 220ms,
        transform 420ms var(--kirst-contact-ease)
        !important;

    /* Maximum practical layer: always above Astra and the panel. */
    z-index: 2147483647 !important;
}

.kirst-header-contact__floating-close.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: scale(1) rotate(0deg) !important;

    transition:
        opacity 220ms ease,
        visibility 0ms linear 0ms,
        transform 520ms var(--kirst-contact-ease)
        !important;
}

.kirst-header-contact__floating-close:hover {
    transform: scale(1.04) rotate(0deg) !important;
}

.kirst-header-contact__floating-close:focus-visible {
    outline: 1px solid currentColor !important;
    outline-offset: 5px !important;
}

.kirst-header-contact__floating-close svg {
    display: block;
    width: 25px;
    height: 25px;
    pointer-events: none;
}

/* =========================================================
   PANOU FULLSCREEN
========================================================= */

.kirst-header-contact__panel {
    position:
        fixed !important;

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

    display:
        block !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:
        0 !important;

    color:
        var(--kirst-contact-text);

    background:
        var(--kirst-contact-bg) !important;

    background-color:
        var(--kirst-contact-bg) !important;

    background-image:
        none !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    opacity:
        1 !important;

    visibility:
        visible !important;

    overflow:
        hidden !important;

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

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

    pointer-events:
        none !important;

    will-change:
        transform;

    z-index:
        1000000 !important;
}

.kirst-header-contact__panel.is-open {
    transform:
        translate3d(0, 0, 0)
        !important;

    pointer-events:
        auto !important;
}


/* =========================================================
   STRUCTURĂ INTERIOARĂ
========================================================= */

.kirst-header-contact__panel-inner {
    position: relative;

    display: grid;

    grid-template-rows:
        auto
        minmax(0, 1fr)
        auto;

    width: 100%;
    height: 100%;

    min-height: 0;

    padding:
        max(
            28px,
            calc(env(safe-area-inset-top) + 20px)
        )
        clamp(22px, 5vw, 72px)
        max(
            24px,
            calc(env(safe-area-inset-bottom) + 18px)
        );

    box-sizing:
        border-box;

    overflow:
        hidden;
}


/* Linie decorativă verticală */

.kirst-header-contact__panel-inner::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left:
        clamp(46px, 7.2vw, 104px);

    width: 1px;

    background:
        var(--kirst-contact-line);

    pointer-events:
        none;
}


/* =========================================================
   HEADER PANOU
========================================================= */

.kirst-header-contact__panel-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 58px;

    padding:
        0
        78px
        20px
        clamp(42px, 5vw, 72px);

    color:
        var(--kirst-contact-text);

    border-bottom:
        1px solid var(--kirst-contact-line);

    box-sizing:
        border-box;
}

.kirst-header-contact__panel-name,
.kirst-header-contact__panel-number {
    font-family:
        "Manrope",
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size:
        10px;

    font-weight:
        600;

    line-height:
        1;

    letter-spacing:
        0.15em;

    text-transform:
        uppercase;
}

.kirst-header-contact__panel-number {
    color:
        var(--kirst-contact-muted);
}


/* =========================================================
   CONȚINUT
========================================================= */

.kirst-header-contact__content {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(320px, 1.08fr);

    align-items: center;

    gap:
        clamp(40px, 8vw, 130px);

    min-width: 0;
    min-height: 0;

    padding:
        clamp(36px, 7vh, 84px)
        0
        clamp(30px, 6vh, 70px)
        clamp(42px, 5vw, 72px);

    overflow-x:
        hidden;

    overflow-y:
        auto;

    box-sizing:
        border-box;

    scrollbar-width:
        none;
}

.kirst-header-contact__content::-webkit-scrollbar {
    display:
        none;
}


/* =========================================================
   INTRO
========================================================= */

.kirst-header-contact__intro {
    width:
        min(100%, 580px);
}

.kirst-header-contact__eyebrow {
    display:
        block;

    margin:
        0 0 20px;

    color:
        var(--kirst-contact-muted);

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

    font-size:
        10px;

    font-weight:
        600;

    line-height:
        1;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}

.kirst-header-contact__title {
    max-width:
        570px;

    margin:
        0 0
        clamp(20px, 3vh, 34px)
        !important;

    padding:
        0 !important;

    color:
        var(--kirst-contact-text)
        !important;

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

    font-size:
        clamp(42px, 5.6vw, 88px)
        !important;

    font-weight:
        800 !important;

    line-height:
        0.93 !important;

    letter-spacing:
        -0.065em !important;

    text-transform:
        none !important;
}

.kirst-header-contact__description {
    max-width:
        470px;

    margin:
        0 !important;

    padding:
        0 !important;

    color:
        var(--kirst-contact-muted)
        !important;

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

    font-size:
        clamp(13px, 1.1vw, 16px)
        !important;

    font-weight:
        400 !important;

    line-height:
        1.65 !important;

    letter-spacing:
        -0.015em !important;
}


/* =========================================================
   DATE CONTACT
========================================================= */

.kirst-header-contact__details {
    width:
        100%;

    min-width:
        0;

    border-top:
        1px solid var(--kirst-contact-line);
}

.kirst-header-contact__item {
    display: grid;

    grid-template-columns:
        34px
        minmax(0, 1fr)
        auto;

    align-items:
        center;

    gap:
        16px;

    width:
        100%;

    min-height:
        86px;

    margin:
        0;

    padding:
        14px 0;

    color:
        var(--kirst-contact-text)
        !important;

    background:
        transparent !important;

    text-decoration:
        none !important;

    border-bottom:
        1px solid var(--kirst-contact-line);

    box-sizing:
        border-box;

    transition:
        padding-left 400ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

a.kirst-header-contact__item:hover {
    padding-left:
        10px;
}

.kirst-header-contact__item-index {
    color:
        var(--kirst-contact-muted);

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

    font-size:
        9px;

    font-weight:
        500;

    line-height:
        1;

    letter-spacing:
        0.08em;
}

.kirst-header-contact__item-main {
    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

    min-width:
        0;
}

.kirst-header-contact__item-label {
    color:
        var(--kirst-contact-muted);

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

    font-size:
        9px;

    font-weight:
        600;

    line-height:
        1;

    letter-spacing:
        0.15em;

    text-transform:
        uppercase;
}

.kirst-header-contact__item-value {
    color:
        var(--kirst-contact-text);

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

    font-size:
        clamp(14px, 1.2vw, 18px);

    font-weight:
        500;

    line-height:
        1.35;

    letter-spacing:
        -0.025em;

    overflow-wrap:
        anywhere;
}

.kirst-header-contact__item-arrow {
    color:
        var(--kirst-contact-text);

    font-family:
        Arial,
        sans-serif;

    font-size:
        20px;

    line-height:
        1;

    transition:
        transform 350ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

a.kirst-header-contact__item:hover
.kirst-header-contact__item-arrow {
    transform:
        translate3d(4px, -4px, 0);
}


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

.kirst-header-contact__footer {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding:
        20px
        0
        0
        clamp(42px, 5vw, 72px);

    color:
        var(--kirst-contact-muted);

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

    font-size:
        9px;

    font-weight:
        600;

    line-height:
        1.3;

    letter-spacing:
        0.13em;

    text-transform:
        uppercase;

    border-top:
        1px solid var(--kirst-contact-line);
}


/* =========================================================
   REVEAL CONȚINUT
========================================================= */

.kirst-header-contact__panel-header,
.kirst-header-contact__intro,
.kirst-header-contact__details,
.kirst-header-contact__footer {
    opacity:
        0;

    transform:
        translate3d(0, 38px, 0);

    transition:
        opacity 500ms ease,
        transform 760ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.kirst-header-contact__panel.is-open
.kirst-header-contact__panel-header {
    opacity:
        1;

    transform:
        translate3d(0, 0, 0);

    transition-delay:
        280ms;
}

.kirst-header-contact__panel.is-open
.kirst-header-contact__intro {
    opacity:
        1;

    transform:
        translate3d(0, 0, 0);

    transition-delay:
        360ms;
}

.kirst-header-contact__panel.is-open
.kirst-header-contact__details {
    opacity:
        1;

    transform:
        translate3d(0, 0, 0);

    transition-delay:
        440ms;
}

.kirst-header-contact__panel.is-open
.kirst-header-contact__footer {
    opacity:
        1;

    transform:
        translate3d(0, 0, 0);

    transition-delay:
        520ms;
}


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

@media (max-width: 921px) {

    .kirst-header-contact__content {
        grid-template-columns:
            minmax(0, 1fr);

        align-content:
            center;

        gap:
            clamp(34px, 6vh, 56px);

        padding:
            clamp(36px, 7vh, 76px)
            0
            clamp(28px, 5vh, 54px)
            clamp(34px, 7vw, 60px);
    }

    .kirst-header-contact__intro {
        width:
            min(100%, 570px);
    }

    .kirst-header-contact__title {
        max-width:
            520px;

        font-size:
            clamp(38px, 10.5vw, 68px)
            !important;
    }

    .kirst-header-contact__description {
        max-width:
            440px;
    }

    .kirst-header-contact__details {
        max-width:
            620px;
    }

}


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

@media (max-width: 600px) {

    .kirst-header-contact__panel-inner {
        padding:
            max(
                18px,
                calc(env(safe-area-inset-top) + 14px)
            )
            18px
            max(
                18px,
                calc(env(safe-area-inset-bottom) + 14px)
            );
    }

    .kirst-header-contact__panel-inner::before {
        left:
            44px;
    }

    .kirst-header-contact__panel-header {
        min-height:
            58px;

        padding:
            0
            68px
            16px
            38px;
    }

    .kirst-header-contact__content {
        align-content:
            center;

        gap:
            clamp(28px, 5vh, 42px);

        padding:
            clamp(30px, 5vh, 52px)
            0
            clamp(24px, 4vh, 42px)
            38px;
    }

    .kirst-header-contact__eyebrow {
        margin-bottom:
            15px;
    }

    .kirst-header-contact__title {
        max-width:
            360px;

        margin-bottom:
            17px !important;

        font-size:
            clamp(34px, 10.2vw, 48px)
            !important;

        line-height:
            0.94 !important;
    }

    .kirst-header-contact__description {
        max-width:
            350px;

        font-size:
            13px !important;

        line-height:
            1.55 !important;
    }

    .kirst-header-contact__item {
        grid-template-columns:
            26px
            minmax(0, 1fr)
            auto;

        gap:
            10px;

        min-height:
            68px;

        padding:
            10px 0;
    }

    .kirst-header-contact__item-value {
        font-size:
            14px;
    }

    .kirst-header-contact__footer {
        padding:
            16px
            0
            0
            38px;

        font-size:
            8px;
    }

}


/* =========================================================
   MOBILE MIC
========================================================= */

@media (max-width: 420px) {

    .kirst-header-contact {
        width:
            var(--kirst-contact-button-mobile-size, 54px);

        height:
            var(--kirst-contact-button-mobile-size, 54px);
    }

    .kirst-header-contact__trigger {
        width:
            var(--kirst-contact-button-mobile-size, 54px) !important;

        min-width:
            var(--kirst-contact-button-mobile-size, 54px) !important;

        height:
            var(--kirst-contact-button-mobile-size, 54px) !important;

        min-height:
            var(--kirst-contact-button-mobile-size, 54px) !important;
    }

    .kirst-header-contact__panel-inner {
        padding-right:
            14px;

        padding-left:
            14px;
    }

    .kirst-header-contact__panel-inner::before {
        left:
            38px;
    }

    .kirst-header-contact__panel-header {
        padding-right:
            64px;

        padding-left:
            33px;
    }

    .kirst-header-contact__content {
        padding-left:
            33px;
    }

    .kirst-header-contact__title {
        font-size:
            clamp(31px, 9.8vw, 41px)
            !important;
    }

    .kirst-header-contact__footer {
        padding-left:
            33px;
    }

}


/* =========================================================
   ECRANE SCURTE

   Reduce spațiile și dimensiunile pentru ca toate datele
   să rămână în interiorul viewportului.
========================================================= */

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

    .kirst-header-contact__panel-inner {
        padding-top:
            max(
                14px,
                env(safe-area-inset-top)
            );

        padding-bottom:
            max(
                14px,
                env(safe-area-inset-bottom)
            );
    }

    .kirst-header-contact__panel-header {
        min-height:
            52px;

        padding-bottom:
            12px;
    }

    .kirst-header-contact__content {
        align-content:
            start;

        gap:
            24px;

        padding-top:
            24px;

        padding-bottom:
            20px;
    }

    .kirst-header-contact__eyebrow {
        margin-bottom:
            10px;
    }

    .kirst-header-contact__title {
        max-width:
            420px;

        margin-bottom:
            12px !important;

        font-size:
            clamp(30px, 7.2vh, 44px)
            !important;
    }

    .kirst-header-contact__description {
        font-size:
            12px !important;

        line-height:
            1.45 !important;
    }

    .kirst-header-contact__item {
        min-height:
            58px;

        padding:
            7px 0;
    }

    .kirst-header-contact__footer {
        padding-top:
            12px;
    }

}


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

@media (min-width: 922px) {
    body.kirst-contact-panel-active
    .kirst-contact-host-active {
        position: relative;
        z-index: 1000002 !important;
    }
}


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

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

    .kirst-header-contact__trigger,
    .kirst-header-contact__icon,
    .kirst-header-contact__panel,
    .kirst-header-contact__panel-header,
    .kirst-header-contact__intro,
    .kirst-header-contact__details,
    .kirst-header-contact__footer,

    body
    #ast-mobile-header
    .main-header-menu-toggle,

    body
    #ast-mobile-header
    img.custom-logo {
        transition-duration:
            1ms !important;

        transition-delay:
            0ms !important;
    }

}
