/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    padding: 52px 0 80px;
    background: #faf9f7;
}


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-page__hero {
    margin-bottom: 34px;

    border-radius: 22px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(212, 183, 120, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #171717 0%,
            #080808 100%
        );
}

.contact-page__hero-inner {
    min-height: 185px;

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

    gap: 30px;

    padding: 38px 42px;
}

.contact-page__hero .section-kicker {
    margin-bottom: 8px;

    color: #d4b778;
}

.contact-page__hero h1 {
    margin: 0;

    color: #ffffff;

    font-family: "Nunito", sans-serif;

    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.035em;
}


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

.contact-page__hero-icon {
    position: relative;

    flex: 0 0 auto;

    width: 88px;
    height: 88px;

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

    border:
        1px solid rgba(212, 183, 120, 0.22);

    border-radius: 50%;

    background:
        rgba(173, 132, 54, 0.08);

    color: #d4b778;

    font-size: 34px;
}

.contact-page__hero-icon::after {
    content: "";

    position: absolute;

    width: 118px;
    height: 118px;

    border:
        1px solid rgba(212, 183, 120, 0.08);

    border-radius: 50%;
}


/* =========================================================
   CONTACT DETAILS CARD
   ========================================================= */

.contact-details-card {
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border:
        1px solid #e8e4dc;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.contact-details-card__header {
    padding: 30px 28px 25px;

    background:
        linear-gradient(
            145deg,
            #f7f2e9 0%,
            #eee3cf 100%
        );

    border-bottom:
        1px solid #e4dac7;
}

.contact-details-card__header > span {
    display: block;

    margin-bottom: 7px;

    color: #8d6826;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.contact-details-card__header h2 {
    margin:
        0
        0
        12px;

    color: #111111;

    font-family: "Nunito", sans-serif;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.15;
}

.contact-details-card__header p {
    margin: 0;

    color: #756e63;

    font-size: 12.5px;

    line-height: 1.65;
}


/* =========================================================
   CONTACT LIST
   ========================================================= */

.contact-details-list {
    flex: 1;

    padding: 12px 26px;
}

.contact-details-item {
    display: grid;

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

    gap: 14px;

    align-items: start;

    padding: 19px 0;
}

.contact-details-item + .contact-details-item {
    border-top:
        1px solid #eeeae3;
}


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

.contact-details-item__icon {
    width: 43px;
    height: 43px;

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

    flex: 0 0 auto;

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            #f6f0e4,
            #ede1cc
        );

    border:
        1px solid #e3d5bc;

    color: #ad8436;

    font-size: 17px;
}


/* =========================================================
   CONTACT CONTENT
   ========================================================= */

.contact-details-item__content {
    min-width: 0;
}

.contact-details-item__label {
    display: block;

    margin-bottom: 5px;

    color: #9a8b74;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.contact-details-item p {
    margin: 0;

    color: #373531;

    font-size: 12.5px;

    line-height: 1.55;

    overflow-wrap: anywhere;
}

.contact-details-item a {
    color: #373531;

    font-weight: 600;
}

.contact-details-item a:hover {
    color: #ad8436;
}


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

.contact-details-card__footer {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 0 26px 25px;

    padding: 14px 15px;

    background: #faf7f1;

    border:
        1px solid #ece3d5;

    border-radius: 10px;

    color: #817666;

    font-size: 11px;

    line-height: 1.55;
}

.contact-details-card__footer i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: #ad8436;

    font-size: 14px;
}


/* =========================================================
   MAP CARD
   ========================================================= */

.contact-map-card {
    height: 100%;
    min-height: 550px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border:
        1px solid #e8e4dc;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   MAP HEADING
   ========================================================= */

.contact-map-card__heading {
    min-height: 92px;

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

    gap: 20px;

    padding: 21px 26px;

    border-bottom:
        1px solid #ece8e1;
}

.contact-map-card__heading span {
    display: block;

    margin-bottom: 4px;

    color: #ad8436;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.contact-map-card__heading h2 {
    margin: 0;

    color: #111111;

    font-family: "Nunito", sans-serif;

    font-size: 23px;
    font-weight: 700;

    line-height: 1.15;
}

.contact-map-card__heading > i {
    width: 45px;
    height: 45px;

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

    border-radius: 50%;

    background: #f6f0e4;

    color: #ad8436;

    font-size: 19px;
}


/* =========================================================
   MAP AREA
   ========================================================= */

.contact-map-card__map {
    position: relative;

    flex: 1;

    min-height: 455px;

    overflow: hidden;

    background: #efede8;
}

.contact-map-card__map iframe {
    display: block;

    width: 100% !important;
    height: 100% !important;

    min-height: 455px;

    border: 0 !important;
}


/* =========================================================
   MAP EMPTY FALLBACK
   If MapUrl outputs nothing
   ========================================================= */

.contact-map-card__map:empty {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 455px;
}

.contact-map-card__map:empty::after {
    content: "Location map is currently unavailable.";

    color: #8c857b;

    font-size: 12px;
}


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

@media (max-width: 991.98px) {

    .contact-page {
        padding-top: 38px;
    }

    .contact-map-card {
        min-height: 480px;
    }

    .contact-map-card__map,
    .contact-map-card__map iframe {
        min-height: 390px;
    }

}


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

@media (max-width: 767.98px) {

    .contact-page {
        padding:
            24px
            0
            50px;
    }

    .contact-page__hero {
        margin-bottom: 20px;

        border-radius: 16px;
    }

    .contact-page__hero-inner {
        min-height: 135px;

        padding: 26px 24px;
    }

    .contact-page__hero h1 {
        font-size: 34px;
    }

    .contact-page__hero-icon {
        width: 60px;
        height: 60px;

        font-size: 24px;
    }

    .contact-page__hero-icon::after {
        width: 78px;
        height: 78px;
    }


    /* Contact card */

    .contact-details-card {
        border-radius: 16px;
    }

    .contact-details-card__header {
        padding: 24px 22px 21px;
    }

    .contact-details-card__header h2 {
        font-size: 23px;
    }

    .contact-details-list {
        padding: 9px 21px;
    }

    .contact-details-item {
        grid-template-columns:
            40px
            minmax(0, 1fr);

        gap: 12px;

        padding: 16px 0;
    }

    .contact-details-item__icon {
        width: 39px;
        height: 39px;

        font-size: 15px;
    }

    .contact-details-card__footer {
        margin:
            0
            21px
            21px;
    }


    /* Map */

    .contact-map-card {
        min-height: auto;

        border-radius: 16px;
    }

    .contact-map-card__heading {
        min-height: 80px;

        padding: 18px 21px;
    }

    .contact-map-card__heading h2 {
        font-size: 21px;
    }

    .contact-map-card__heading > i {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }

    .contact-map-card__map,
    .contact-map-card__map iframe {
        min-height: 340px;
    }

}


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

@media (max-width: 575.98px) {

    .contact-page__hero-icon {
        display: none;
    }

    .contact-details-card__header p {
        font-size: 12px;
    }

    .contact-details-item p {
        font-size: 12px;
    }

    .contact-map-card__map,
    .contact-map-card__map iframe {
        min-height: 300px;
    }

}