.floating-contact-button {
    position: fixed;
    right: 22px;
    bottom: 500px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.floating-contact-button-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    border: 0;
    border-radius: 50%;
    background: #c96e43;

    box-shadow:
        0 8px 20px rgba(70, 48, 34, 0.2);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.floating-contact-button:hover
.floating-contact-button-circle {
    transform: translateY(-3px);

    box-shadow:
        0 12px 26px rgba(70, 48, 34, 0.26);
}

.floating-contact-button-icon-image {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.floating-contact-button-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #c96e43;
    background: transparent;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;

    box-shadow: none;
    white-space: normal;
}

.floating-contact-button-label span {
    display: block;
}

.floating-contact-button:focus-visible {
    outline: none;
}

.floating-contact-button:focus-visible
.floating-contact-button-circle {
    box-shadow:
        0 0 0 4px rgba(143, 77, 44, 0.2),
        0 8px 20px rgba(70, 48, 34, 0.2);
}

@media (max-width: 700px) {
    .floating-contact-button {
        right: 14px;
        bottom: 88px;
        gap: 7px;
        width: auto;
        height: auto;
        min-height: 0;
    }

    .floating-contact-button-circle {
        width: 60px;
        height: 60px;
    }

    .floating-contact-button-icon {
        font-size: 22px;
    }

    .floating-contact-button-label {
        display: flex;
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    .floating-contact-button {
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .floating-contact-button-circle {
        width: 78px;
        height: 78px;
    }

    .floating-contact-button-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .floating-contact-button-label {
        min-height: 34px;
        padding: 0 14px;
        font-size: 12px;
    }
}

.contact-popup[hidden] {
    display: none;
}

.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.contact-popup-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(35, 28, 23, 0.6);
    backdrop-filter: blur(5px);
}

.contact-popup-dialog {
    position: relative;
    z-index: 1;

    width: min(980px, 100%);
    max-height: calc(100vh - 48px);

    overflow-x: hidden;
    overflow-y: auto;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 26px 80px rgba(35, 24, 18, 0.3);
}

.contact-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    padding: 0;

    border: 1px solid #eadfd6;
    border-radius: 50%;

    color: #3b332e;
    background: #ffffff;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(50, 35, 26, 0.08);
}

.contact-popup-close:hover {
    color: #a9542e;
    background: #fff8f4;
}

.contact-popup-layout {
    display: grid;
    grid-template-columns:
        minmax(270px, 0.75fr)
        minmax(0, 1.35fr);
}

.contact-popup-intro {
    display: flex;
    flex-direction: column;

    min-height: 100%;
    padding: 52px 34px 38px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.18),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #c76c40,
            #934725
        );
}

.contact-popup-kicker {
    margin: 0 0 14px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-popup-intro h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 35px;
    line-height: 1.15;
}

.contact-popup-intro > p:not(.contact-popup-kicker) {
    margin: 20px 0 0;

    font-size: 15px;
    line-height: 1.65;
}

.contact-popup-decoration {
    margin-top: auto;
    padding-top: 36px;
}

.contact-popup-decoration > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
}

.contact-popup-decoration p {
    margin: 12px 0 0;

    font-size: 13px;
    line-height: 1.55;

    opacity: 0.9;
}

.contact-popup-form {
    padding: 34px 32px 30px;
    background: #ffffff;
}

.contact-popup-form .contact-form-component {
    padding: 0;
    border: 0;
    box-shadow: none;
}

body.contact-popup-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .floating-contact-button {
        right: 16px;
        bottom: 18px;

        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
    }

    .contact-popup {
        align-items: flex-end;
        padding: 10px;
    }

    .contact-popup-dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
    }

    .contact-popup-layout {
        grid-template-columns: 1fr;
    }

    .contact-popup-intro {
        min-height: auto;
        padding: 32px 24px 25px;
    }

    .contact-popup-intro h2 {
        padding-right: 42px;
        font-size: 27px;
    }

    .contact-popup-intro > p:not(
        .contact-popup-kicker
    ) {
        margin-top: 12px;
    }

    .contact-popup-decoration {
        display: none;
    }

    .contact-popup-form {
        padding: 24px 17px;
    }
}