/* ==========================================================================
   NICKY'S HAIR BOUTIQUE — CONTACT
   ========================================================================== */


.contact-page {
    background: #f4f3ef;
    color: #181818;
}


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


.contact-intro {
    padding: 110px 32px 92px;
    text-align: center;
}


.contact-intro-inner {
    width: min(760px, 100%);
    margin: 0 auto;
}


.contact-eyebrow {
    margin: 0 0 20px;

    color: #9a7a27;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


.contact-intro h1 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(58px, 7vw, 96px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.045em;
}


.contact-intro-copy {
    width: min(540px, 100%);

    margin:
        30px auto 0;

    color: #77736d;

    font-size: 14px;
    line-height: 1.8;
}


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


.contact-details {
    padding:
        0 32px 110px;
}


.contact-details-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    width: min(1120px, 100%);
    margin: 0 auto;

    border-top: 1px solid #d6d2ca;
    border-bottom: 1px solid #d6d2ca;
}


.contact-detail {
    min-height: 320px;

    padding:
        54px 44px;

    border-right: 1px solid #d6d2ca;
}


.contact-detail:last-child {
    border-right: 0;
}


.contact-detail-number {
    display: block;

    margin-bottom: 48px;

    color: #aa8935;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}


.contact-detail-label {
    margin:
        0 0 20px;

    color: #77736d;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.contact-detail h2 {
    margin:
        0 0 22px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;
    font-weight: 400;
    line-height: 1.1;
}


.contact-detail a {
    color: #181818;
    text-decoration: none;
}


.contact-detail a:hover {
    text-decoration: underline;
}


.contact-detail p {
    margin: 0;

    color: #69655f;

    font-size: 13px;
    line-height: 1.8;
}


.contact-email {
    overflow-wrap: anywhere;
}


/* ==========================================================================
   OPENING HOURS
   ========================================================================== */


.opening-hours {
    margin: 0;
    padding: 0;

    list-style: none;
}


.opening-hours li {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 5px 0;

    color: #69655f;

    font-size: 12px;
    line-height: 1.5;
}


.opening-hours span:last-child {
    text-align: right;
}


/* ==========================================================================
   LOCATION
   ========================================================================== */


.contact-location {
    padding:
        0 32px 120px;
}


.contact-location-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}


.contact-location-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}


.contact-location-heading h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
}


.contact-directions {
    display: inline-flex;
    align-items: center;

    min-height: 46px;

    padding:
        0 22px;

    border: 1px solid #1d1d1d;

    color: #1d1d1d;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background 160ms ease,
        color 160ms ease;
}


.contact-directions:hover {
    background: #1d1d1d;
    color: #ffffff;
}


.contact-map {
    width: 100%;
    height: 500px;

    border: 0;

    display: block;

    filter: grayscale(1) contrast(0.92);
}


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


@media (max-width: 900px) {

    .contact-intro {
        padding:
            80px 24px 70px;
    }


    .contact-details {
        padding:
            0 24px 80px;
    }


    .contact-details-grid {
        grid-template-columns: 1fr;
    }


    .contact-detail {
        min-height: auto;

        padding:
            42px 0;

        border-right: 0;
        border-bottom: 1px solid #d6d2ca;
    }


    .contact-detail:last-child {
        border-bottom: 0;
    }


    .contact-detail-number {
        margin-bottom: 28px;
    }


    .contact-location {
        padding:
            0 24px 80px;
    }


    .contact-location-heading {
        display: block;
    }


    .contact-directions {
        margin-top: 24px;
    }


    .contact-map {
        height: 420px;
    }

}


@media (max-width: 560px) {

    .contact-intro {
        padding-top: 64px;
    }


    .contact-intro h1 {
        font-size: 56px;
    }


    .contact-location-heading h2 {
        font-size: 42px;
    }


    .contact-map {
        height: 350px;
    }

}
