/* ==========================================================
   CONTACT PAGE
   All styles are scoped using .cux-contact-page
========================================================== */

.cux-contact-page {
    --cux-orange: #5e7f37;
    --cux-orange-dark: #ee493a;
    --cux-text: #181818;
    --cux-gray: #8f8f8f;
    --cux-light-gray: #f8f8f8;
    --cux-border: #eeeeee;
    --cux-white: #ffffff;

    width: 100%;
    overflow: hidden;

    background: #ffffff;
    color: var(--cux-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* Only reset elements inside this component */

.cux-contact-page *,
.cux-contact-page *::before,
.cux-contact-page *::after {
    box-sizing: border-box;
}


.cux-contact-page img {
    max-width: 100%;
}


.cux-contact-page button,
.cux-contact-page input,
.cux-contact-page textarea {
    font-family: inherit;
}


/* ==========================================================
   CONTAINER
========================================================== */

.cux-contact-page .cux-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================================
   TOP SECTION
========================================================== */

.cux-contact-page .cux-top-section {
    padding: 65px 0 70px;

    background:
        radial-gradient(
            circle at top center,
            rgba(255, 89, 72, 0.04),
            transparent 45%
        ),
        #ffffff;
}


.cux-contact-page .cux-heading-area {
    text-align: center;
}


.cux-contact-page .cux-small-heading {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-bottom: 12px;

    color: #9d9d9d;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;
}


.cux-contact-page .cux-small-heading::before,
.cux-contact-page .cux-small-heading::after {
    content: "";

    width: 15px;
    height: 1px;

    background: #f3aaa3;
}


.cux-contact-page .cux-main-heading {
    margin: 0;

    color: #202020;

    font-size: 40px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1.6px;
}


.cux-contact-page .cux-main-heading span {
    color: var(--cux-orange);
}


.cux-contact-page .cux-main-description {
    width: min(600px, 100%);

    margin: 14px auto 0;

    color: #9d9d9d;

    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================================
   INFO CARDS
========================================================== */

.cux-contact-page .cux-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-top: 42px;
}


.cux-contact-page .cux-info-card {
    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 105px;

    padding: 18px;

    border: 1px solid var(--cux-border);
    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.cux-contact-page .cux-info-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 89, 72, 0.25);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.07);
}


.cux-contact-page .cux-card-icon {
    display: grid;

    place-items: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background:#e7c320;

    color: #ffffff;
}


.cux-contact-page .cux-card-icon svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.cux-contact-page .cux-card-content {
    min-width: 0;
}


.cux-contact-page .cux-card-content h3 {
    margin: 0 0 5px;

    color: #171717;

    font-size: 11px;
    font-weight: 800;
}


.cux-contact-page .cux-card-content p {
    margin: 0;

    color: #686868;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;
}


.cux-contact-page .cux-card-content span {
    display: block;

    margin-top: 3px;

    color: #aaaaaa;

    font-size: 9px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================
   FORM SECTION
========================================================== */

.cux-contact-page .cux-form-section {
    padding: 75px 0 0;

    border-top: 1px solid #fafafa;

    background: #ffffff;
}


.cux-contact-page .cux-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(420px, 1.05fr);

    gap: 60px;

    align-items: end;
}


/* ==========================================================
   IMAGE AREA
========================================================== */

.cux-contact-page .cux-image-area {
    position: relative;

    min-height: 455px;
}


.cux-contact-page .cux-person-image-wrapper {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 74%;
    height: 440px;

    overflow: hidden;

    border-radius:
        180px
        180px
        0
        0;
}


.cux-contact-page .cux-person-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 20%;
}


/* ==========================================================
   CALL CARD
========================================================== */

.cux-contact-page .cux-call-card {
    position: absolute;

    z-index: 2;

    left: 0;
    bottom: 55px;

    width: 185px;

    padding: 22px 17px 18px;

    border-radius: 17px;

    background: var(--cux-orange);

    color: #ffffff;

    text-align: center;

    box-shadow:
        0 18px 38px
        rgba(255, 89, 72, 0.3);
}


.cux-contact-page .cux-call-icon {
    display: grid;

    place-items: center;

    width: 46px;
    height: 46px;

    margin: 0 auto 12px;

    border-radius: 50%;

    background: #ffffff;

    color: var(--cux-orange);
}


.cux-contact-page .cux-call-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.cux-contact-page .cux-call-card h3 {
    margin: 0;

    font-size: 13px;
    font-weight: 800;
}


.cux-contact-page .cux-call-card p {
    margin: 8px 0 14px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 9px;
    line-height: 1.55;
}


.cux-contact-page .cux-call-card a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 0 18px;

    border-radius: 30px;

    background: #ffffff;

    color: var(--cux-orange);

    font-size: 9px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.cux-contact-page .cux-call-card a:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 17px
        rgba(0, 0, 0, 0.13);
}


/* ==========================================================
   CONTACT FORM
========================================================== */

.cux-contact-page .cux-form-area {
    padding-bottom: 52px;
}


.cux-contact-page .cux-form-small-title {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    color: #999999;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;
}


.cux-contact-page .cux-form-small-title::before {
    content: "";

    width: 22px;
    height: 2px;

    border-radius: 5px;

    background: var(--cux-orange);
}


.cux-contact-page .cux-form-heading {
    margin: 0;

    color: #191919;

    font-size: 37px;
    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -1.5px;
}


.cux-contact-page .cux-form-heading span {
    color: var(--cux-orange);
}


.cux-contact-page .cux-form-description {
    max-width: 510px;

    margin: 12px 0 24px;

    color: #969696;

    font-size: 11px;
    line-height: 1.7;
}


.cux-contact-page .cux-contact-form {
    display: grid;

    gap: 12px;
}


.cux-contact-page .cux-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.cux-contact-page .cux-input,
.cux-contact-page .cux-textarea {
    display: block;

    width: 100%;

    margin: 0;

    border: 1px solid #eeeeee;

    outline: none;

    background: #fafafa;

    color: #222222;

    font-size: 11px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.cux-contact-page .cux-input {
    height: 44px;

    padding: 0 15px;

    border-radius: 9px;
}


.cux-contact-page .cux-textarea {
    min-height: 120px;

    padding: 14px 15px;

    border-radius: 10px;

    line-height: 1.6;

    resize: vertical;
}


.cux-contact-page .cux-input::placeholder,
.cux-contact-page .cux-textarea::placeholder {
    color: #b1b1b1;
}


.cux-contact-page .cux-input:focus,
.cux-contact-page .cux-textarea:focus {
    border-color:
        rgba(255, 89, 72, 0.5);

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(255, 89, 72, 0.08);
}


/* ==========================================================
   SUBMIT
========================================================== */

.cux-contact-page .cux-submit-area {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 3px;
}


.cux-contact-page .cux-submit-button {
    min-width: 130px;
    height: 38px;

    padding: 0 20px;

    border: 0;
    border-radius: 40px;

    outline: none;

    background: #e7c320;

    color: #ffffff;

    cursor: pointer;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.3px;

    box-shadow:
        0 9px 20px
        rgba(255, 89, 72, 0.24);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.cux-contact-page .cux-submit-button:hover {
    transform: translateY(-2px);

    background: var(--cux-orange-dark);

    box-shadow:
        0 12px 24px
        rgba(255, 89, 72, 0.3);
}


.cux-contact-page .cux-submit-button:active {
    transform: translateY(0);
}


.cux-contact-page .cux-submit-button:disabled {
    cursor: wait;

    opacity: 0.7;

    transform: none;
}


.cux-contact-page .cux-form-message {
    color: #36a064;

    font-size: 10px;
    font-weight: 600;
}


.cux-contact-page .cux-form-message.cux-error {
    color: #d94237;
}


/* ==========================================================
   MAP
========================================================== */

.cux-contact-page .cux-map-section {
    position: relative;

    width: 100%;
    height: 300px;

    background: #dce8d7;
}


.cux-contact-page .cux-map-frame {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


.cux-contact-page .cux-map-info {
    position: absolute;

    z-index: 2;

    top: 15px;
    left: 15px;

    display: flex;

    flex-direction: column;

    gap: 4px;

    max-width: 250px;

    padding: 11px 13px;

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 4px 18px
        rgba(0, 0, 0, 0.12);

    pointer-events: none;
}


.cux-contact-page .cux-map-info strong {
    color: #222222;

    font-size: 10px;
}


.cux-contact-page .cux-map-info span {
    color: #858585;

    font-size: 8px;
    line-height: 1.4;
}


/* ==========================================================
   LARGE TABLETS
========================================================== */

@media (max-width: 950px) {

    .cux-contact-page .cux-main-heading {
        font-size: 35px;
    }


    .cux-contact-page .cux-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .cux-contact-page .cux-contact-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 1fr);

        gap: 30px;
    }


    .cux-contact-page .cux-person-image-wrapper {
        width: 90%;
    }


    .cux-contact-page .cux-call-card {
        width: 165px;
    }


    .cux-contact-page .cux-form-heading {
        font-size: 32px;
    }

}


/* ==========================================================
   TABLET / MOBILE
========================================================== */

@media (max-width: 720px) {

    .cux-contact-page .cux-container {
        width: min(
            100% - 30px,
            1120px
        );
    }


    .cux-contact-page .cux-top-section {
        padding:
            48px
            0
            50px;
    }


    .cux-contact-page .cux-main-heading {
        font-size: 31px;

        letter-spacing: -1px;
    }


    .cux-contact-page .cux-main-description {
        font-size: 12px;
    }


    .cux-contact-page .cux-info-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 32px;
    }


    .cux-contact-page .cux-info-card {
        min-height: 90px;
    }


    .cux-contact-page .cux-form-section {
        padding-top: 50px;
    }


    .cux-contact-page .cux-contact-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .cux-contact-page .cux-form-area {
        order: 1;

        padding-bottom: 0;
    }


    .cux-contact-page .cux-image-area {
        order: 2;

        min-height: 460px;
    }


    .cux-contact-page .cux-person-image-wrapper {
        right: 0;

        width: 80%;
        height: 430px;
    }


    .cux-contact-page .cux-call-card {
        left: 0;
        bottom: 45px;

        width: 165px;
    }


    .cux-contact-page .cux-map-section {
        height: 260px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .cux-contact-page .cux-top-section {
        padding-top: 40px;
    }


    .cux-contact-page .cux-main-heading {
        font-size: 28px;
    }


    .cux-contact-page .cux-form-heading {
        font-size: 28px;

        letter-spacing: -1px;
    }


    .cux-contact-page .cux-form-row {
        grid-template-columns: 1fr;
    }


    .cux-contact-page .cux-image-area {
        min-height: 410px;
    }


    .cux-contact-page .cux-person-image-wrapper {
        width: 83%;
        height: 390px;
    }


    .cux-contact-page .cux-call-card {
        width: 150px;

        bottom: 32px;

        padding:
            18px
            13px
            15px;
    }


    .cux-contact-page .cux-call-icon {
        width: 40px;
        height: 40px;
    }


    .cux-contact-page .cux-call-card h3 {
        font-size: 11px;
    }


    .cux-contact-page .cux-call-card p {
        font-size: 8px;
    }


    .cux-contact-page .cux-submit-area {
        align-items: flex-start;

        flex-direction: column;
    }


    .cux-contact-page .cux-submit-button {
        width: 100%;
    }


    .cux-contact-page .cux-map-info {
        top: 10px;
        left: 10px;

        max-width: 200px;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 360px) {

    .cux-contact-page .cux-main-heading {
        font-size: 25px;
    }


    .cux-contact-page .cux-form-heading {
        font-size: 25px;
    }


    .cux-contact-page .cux-person-image-wrapper {
        width: 86%;
    }


    .cux-contact-page .cux-call-card {
        width: 138px;
    }

}


/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .cux-contact-page *,
    .cux-contact-page *::before,
    .cux-contact-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}