
/* =========================================================
   ESAR DIGITAL — CONTACT LOCATION
   Premium Location & Contact Section
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.contact-location {
    position: relative;

    padding: 145px 0 155px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f7f8fa 0%,
            #eef1f5 100%
        );

    color: #111b2c;
}


/* =========================================================
   BACKGROUND ATMOSPHERE
   ========================================================= */

.contact-location__background {
    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;
}


.contact-location__orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(10px);
}


.contact-location__orb--one {
    width: 520px;
    height: 520px;

    right: -230px;
    top: -180px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.12),
            rgba(97,124,255,.035) 45%,
            transparent 72%
        );
}


.contact-location__orb--two {
    width: 360px;
    height: 360px;

    left: -220px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.08),
            transparent 70%
        );
}


/* =========================================================
   CONTAINER
   ========================================================= */

.contact-location__container {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 112px),
        1320px
    );

    margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.contact-location__intro {
    max-width: 820px;

    margin-bottom: 78px;
}


.contact-location__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 25px;

    color: #ffcc00;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.contact-location__eyebrow span {
    width: 24px;
    height: 1px;

    display: block;

    background: #ffcc00;
}


.contact-location__title {
    margin: 0;

    max-width: 760px;

    color: #07101f;

    font-size: clamp(
        45px,
        5.8vw,
        76px
    );

    font-weight: 620;

    line-height: .99;

    letter-spacing: -.06em;
}


.contact-location__title span {
    color: #ffcc00;
}


.contact-location__description {
    max-width: 680px;

    margin: 29px 0 0;

    color: #68758a;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.contact-location__layout {
    display: grid;

    grid-template-columns:
        minmax(280px, .72fr)
        minmax(0, 1.28fr);

    gap: 85px;

    align-items: stretch;
}


/* =========================================================
   DETAILS
   ========================================================= */

.contact-location__details {
    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 500px;
}


.contact-location__detail {
    padding: 0 0 28px;

    border-bottom: 1px solid #d9dee6;
}


.contact-location__detail + .contact-location__detail {
    padding-top: 28px;
}


.contact-location__detail-label {
    display: block;

    margin-bottom: 13px;

    color: #8b97a9;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .17em;

    text-transform: uppercase;
}


.contact-location__detail-value {
    display: inline-block;

    color: #172235;

    font-size: 20px;

    font-weight: 620;

    letter-spacing: -.025em;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.contact-location__detail-value:hover {
    color: #617cff;

    transform: translateX(4px);
}


/* =========================================================
   SOCIALS
   ========================================================= */

.contact-location__socials {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.contact-location__socials a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    border: 1px solid #d8dee7;

    border-radius: 7px;

    background: rgba(255,255,255,.55);

    color: #253146;

    font-size: 12px;

    font-weight: 650;

    text-decoration: none;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.contact-location__socials a span {
    color: #7e8ba0;

    transition:
        transform .25s ease,
        color .25s ease;
}


.contact-location__socials a:hover {
    border-color: rgba(97,124,255,.35);

    background: #fff;

    color: #617cff;

    transform: translateY(-2px);
}


.contact-location__socials a:hover span {
    color: #617cff;

    transform: translate(2px,-2px);
}


/* =========================================================
   AVAILABILITY
   ========================================================= */

.contact-location__availability {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 40px;

    padding: 18px 20px;

    border: 1px solid #d9dee6;

    border-radius: 10px;

    background: rgba(255,255,255,.45);
}


.contact-location__availability-dot {
    width: 8px;
    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #617cff;

    box-shadow:
        0 0 0 5px rgba(97,124,255,.10),
        0 0 18px rgba(97,124,255,.35);
}


.contact-location__availability strong {
    display: block;

    margin-bottom: 4px;

    color: #253146;

    font-size: 11px;

    font-weight: 750;
}


.contact-location__availability span:not(
    .contact-location__availability-dot
) {
    color: #8290a3;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   MAP WRAPPER
   ========================================================= */

.contact-location__map-wrapper {
    position: relative;

    min-height: 500px;

    padding: 10px;

    border: 1px solid #d9dee6;

    border-radius: 20px;

    background: rgba(255,255,255,.58);

    box-shadow:
        0 30px 80px rgba(7,16,31,.08);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   MAP HEADER
   ========================================================= */

.contact-location__map-header {
    min-height: 64px;

    padding: 10px 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.contact-location__map-header div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.contact-location__map-header span {
    color: #8a96a8;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.contact-location__map-header strong {
    color: #1b273a;

    font-size: 14px;

    font-weight: 700;
}


.contact-location__map-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #617cff;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .25s ease,
        transform .25s ease;
}


.contact-location__map-link span {
    color: inherit;

    font-size: 14px;

    letter-spacing: 0;

    transition: transform .25s ease;
}


.contact-location__map-link:hover {
    color: #3f5de0;

    transform: translateX(3px);
}


.contact-location__map-link:hover span {
    transform: translate(2px,-2px);
}


/* =========================================================
   MAP
   ========================================================= */

.contact-location__map {
    position: relative;

    height: 425px;

    overflow: hidden;

    border-radius: 13px;

    background: #dfe4eb;
}


.contact-location__map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    filter:
        saturate(.75)
        contrast(.96);
}


/* =========================================================
   MAP OVERLAY
   ========================================================= */

.contact-location__map-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    box-shadow:
        inset 0 0 0 1px rgba(7,16,31,.06),
        inset 0 -70px 90px rgba(7,16,31,.08);
}


.contact-location__map-marker {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translate(-50%,-50%);

    border-radius: 50%;

    background: rgba(97,124,255,.16);

    box-shadow:
        0 0 0 10px rgba(97,124,255,.08),
        0 12px 30px rgba(7,16,31,.18);
}


.contact-location__map-marker span {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #617cff;

    box-shadow:
        0 0 0 5px rgba(255,255,255,.85);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .contact-location {
        padding: 120px 0 130px;
    }


    .contact-location__container {
        width: min(
            calc(100% - 80px),
            1000px
        );
    }


    .contact-location__layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .contact-location__details {
        min-height: auto;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 0 40px;
    }


    .contact-location__availability {
        grid-column: 1 / -1;
    }


    .contact-location__map-wrapper {
        min-height: 480px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .contact-location {
        padding: 90px 0 100px;
    }


    .contact-location__container {
        width: calc(100% - 50px);
    }


    .contact-location__intro {
        margin-bottom: 55px;
    }


    .contact-location__title {
        font-size: clamp(
            40px,
            11vw,
            56px
        );
    }


    .contact-location__description {
        margin-top: 24px;

        font-size: 15px;

        line-height: 1.8;
    }


    .contact-location__details {
        display: flex;

        flex-direction: column;

        gap: 0;
    }


    .contact-location__detail {
        padding-bottom: 24px;
    }


    .contact-location__detail + .contact-location__detail {
        padding-top: 24px;
    }


    .contact-location__detail-value {
        font-size: 18px;
    }


    .contact-location__map-wrapper {
        min-height: auto;

        padding: 7px;

        border-radius: 15px;
    }


    .contact-location__map-header {
        min-height: 60px;

        padding: 10px 12px;
    }


    .contact-location__map {
        height: 340px;

        border-radius: 10px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .contact-location__container {
        width: calc(100% - 36px);
    }


    .contact-location__title {
        font-size: 43px;

        letter-spacing: -.055em;
    }


    .contact-location__socials {
        gap: 8px;
    }


    .contact-location__socials a {
        padding: 9px 11px;

        font-size: 11px;
    }


    .contact-location__availability {
        padding: 16px;
    }


    .contact-location__map-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;

        padding-bottom: 14px;
    }


    .contact-location__map {
        height: 300px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.contact-location a:focus-visible {
    outline: 2px solid #617cff;

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-location *,
    .contact-location *::before,
    .contact-location *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

}

