/* =====================================================
   CONTACTS PAGE
===================================================== */

.contacts-page {
    background: #f1eee7;
    color: #17211c;
    overflow-x: hidden;
}

.contacts-page *,
.contacts-page *::before,
.contacts-page *::after {
    box-sizing: border-box;
}


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

.contacts-hero {
    padding: 150px 0 110px;
    background: #07110e;
    overflow: hidden;
}

.contacts-hero-inner {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);

    align-items: center;
    gap: 90px;
}

.contacts-hero-copy {
    min-width: 0;
    padding-left: 30px;
}

.contacts-hero .section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;

    color: #c4a66c;

    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.contacts-hero .section-label::before {
    content: "";

    display: block;
    flex: 0 0 auto;

    width: 28px;
    height: 1px;

    background: #c4a66c;
}

.contacts-hero h1 {
    max-width: 700px;
    margin: 0;

    color: #f3efe7;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(60px, 6.2vw, 94px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.025em;
}

.contacts-intro {
    max-width: 470px;

    margin: 35px 0 0;

    color: #a9b0aa;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.85;
}

.contacts-hero-image {
    position: relative;

    width: 100%;
    height: 600px;

    overflow: hidden;
}

.contacts-hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 14, .18),
            transparent 35%
        );
}

.contacts-hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        saturate(.82)
        contrast(1.02);

    transform: scale(1.01);
}


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

.contacts-location {
    padding: 130px 0;
    background: #f1eee7;
}

.contacts-location-container {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);

    gap: 90px;
    align-items: stretch;
}


/* =====================================================
   ADDRESS
===================================================== */

.contacts-address {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px 20px 40px 30px;
}

.contacts-address h2,
.contacts-connect h2 {
    margin: 0;

    color: #18221d;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 4.5vw, 68px);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.02em;
}

.address-text {
    margin: 34px 0 0;

    color: #606963;

    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.85;
}

.address-distance {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 220px;

    margin-top: 35px;
    padding-top: 28px;

    border-top: 1px solid rgba(23, 33, 28, .13);
}

.address-distance > span {
    color: #18221d;

    font-family: "Cormorant Garamond", serif;
    font-size: 54px;
    line-height: .8;
}

.address-distance div {
    display: flex;
    flex-direction: column;
}

.address-distance strong {
    color: #a48750;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.address-distance small {
    margin-top: 4px;

    color: #747b76;

    font-family: "Manrope", sans-serif;
    font-size: 11px;
    line-height: 1.4;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    width: fit-content;
    max-width: 100%;

    margin-top: 38px;
    padding-bottom: 7px;

    border-bottom: 1px solid #a48750;

    color: #18221d;

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .04em;

    text-decoration: none;

    transition:
        color .3s ease,
        gap .3s ease;
}

.map-link span {
    flex: 0 0 auto;

    color: #a48750;
    font-size: 17px;
}

.map-link:hover {
    color: #a48750;
    gap: 17px;
}


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

.contacts-map {
    position: relative;

    min-width: 0;
    min-height: 580px;

    overflow: hidden;

    border: 1px solid rgba(23, 33, 28, .12);

    background: #dedbd3;
}

.contacts-map iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 580px;

    border: 0;

    filter:
        grayscale(.35)
        saturate(.7)
        contrast(.95);
}


/* =====================================================
   CONNECT
===================================================== */

.contacts-connect {
    padding: 125px 0 140px;
    background: #e5e1d8;
}

.contacts-connect-container {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
}

.contacts-connect-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
    margin-bottom: 65px;
}

.contacts-connect-heading .contact-section-label {
    margin-bottom: 24px;
}

.contacts-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid rgba(23, 33, 28, .14);
    border-bottom: 1px solid rgba(23, 33, 28, .14);
}

.contact-card {
    position: relative;

    min-width: 0;
    min-height: 245px;

    padding: 28px 30px 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border-right: 1px solid rgba(23, 33, 28, .14);

    color: #18221d;

    transition:
        background .35s ease,
        transform .35s ease;
}

.contact-card:first-child {
    border-left: 1px solid rgba(23, 33, 28, .14);
}

.contact-card:hover {
    background: #eeeae2;
}

.contact-card-number {
    color: #a48750;

    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
}

.contact-card-label {
    margin-top: 45px;

    color: #777e78;

    font-family: "Manrope", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.contact-card strong {
    max-width: 250px;

    margin-top: 12px;

    color: #18221d;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-card-arrow {
    position: absolute;

    right: 28px;
    bottom: 27px;

    color: #a48750;
    font-size: 20px;

    transition: transform .3s ease;
}

.contact-card:hover .contact-card-arrow {
    transform: translateX(5px);
}

.contact-card-note {
    margin-top: 8px;

    color: #8a918b;

    font-family: "Manrope", sans-serif;
    font-size: 11px;
    line-height: 1.5;
}


/* =====================================================
   BOOKING
===================================================== */

.contacts-booking {
    position: relative;

    min-height: 570px;

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

    overflow: hidden;

    background: #07110e;
}

.contacts-booking-image {
    position: absolute;
    inset: 0;

    background:
        url("/assets/images/estate/booking.jpg")
        center 52% / cover no-repeat;

    transform: scale(1.02);
}

.contacts-booking-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(5, 14, 11, .60),
            rgba(5, 14, 11, .72)
        );
}

.contacts-booking-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 720px;

    padding: 80px 30px;

    text-align: center;
}

.contacts-booking h2 {
    margin: 0;

    color: #f3efe7;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(54px, 5.2vw, 78px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.02em;
}

.contacts-booking .section-label {
    display: inline-flex;

    margin-bottom: 25px;
}

.contacts-booking p {
    max-width: 500px;

    margin: 30px auto 36px;

    color: #b2b8b2;

    font-family: "Manrope", sans-serif;
    font-size: 13px;
    line-height: 1.85;
}


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

@media (max-width: 1100px) {

    .contacts-hero-inner,
    .contacts-location-container,
    .contacts-connect-container {
        width: calc(100% - 60px);
    }

    .contacts-hero-inner {
        gap: 60px;
    }

    .contacts-hero-copy {
        padding-left: 0;
    }

    .contacts-location-container {
        gap: 60px;
    }

    .contact-card {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-card-arrow {
        right: 22px;
    }
}


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

@media (max-width: 900px) {

    /* HERO */

    .contacts-hero {
        padding: 120px 0 80px;
    }

    .contacts-hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacts-hero-copy {
        max-width: 720px;
    }

    .contacts-hero h1 {
        max-width: 750px;
        font-size: clamp(58px, 9vw, 82px);
    }

    .contacts-intro {
        max-width: 600px;
        margin-top: 28px;
    }

    .contacts-hero-image {
        height: 500px;
    }


    /* LOCATION */

    .contacts-location {
        padding: 105px 0;
    }

    .contacts-location-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contacts-address {
        max-width: 700px;
        padding: 0;
    }

    .contacts-map {
        min-height: 500px;
    }

    .contacts-map iframe {
        min-height: 500px;
    }


    /* CONNECT */

    .contacts-connect {
        padding: 105px 0 110px;
    }

    .contacts-connect-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
    }

    .contacts-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card {
        min-height: 220px;

        border-bottom: 1px solid rgba(23, 33, 28, .14);
    }

    .contact-card:nth-child(2) {
        border-right: 1px solid rgba(23, 33, 28, .14);
    }

    .contact-card:nth-child(3) {
        border-left: 1px solid rgba(23, 33, 28, .14);
    }

    .contact-card:nth-child(3),
    .contact-card:nth-child(4) {
        border-bottom: 0;
    }


    /* BOOKING */

    .contacts-booking {
        min-height: 560px;
    }

    .contacts-booking-content {
        padding: 75px 25px;
    }

    .contacts-booking h2 {
        font-size: clamp(56px, 8vw, 76px);
    }
}


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

@media (max-width: 600px) {

    .contacts-hero {
        padding: 105px 0 65px;
    }

    .contacts-hero-inner,
    .contacts-location-container,
    .contacts-connect-container {
        width: calc(100% - 32px);
    }


    /* HERO */

    .contacts-hero-inner {
        gap: 38px;
    }

    .contacts-hero .section-label {
        gap: 9px;
        margin-bottom: 20px;

        font-size: 9px;
        letter-spacing: .16em;
    }

    .contacts-hero .section-label::before {
        width: 20px;
    }

    .contacts-hero h1 {
        max-width: 100%;

        font-size: clamp(50px, 15vw, 68px);
        line-height: .92;
    }

    .contacts-intro {
        max-width: 100%;

        margin-top: 23px;

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

    .contacts-hero-image {
        height: 350px;
    }


    /* LOCATION */

    .contacts-location {
        padding: 75px 0;
    }

    .contacts-location-container {
        gap: 40px;
    }

    .contacts-address h2,
    .contacts-connect h2 {
        font-size: clamp(48px, 13vw, 62px);
        line-height: .92;
    }

    .address-text {
        margin-top: 25px;

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

    .address-distance {
        width: 100%;

        margin-top: 28px;
        padding-top: 23px;
    }

    .address-distance > span {
        font-size: 48px;
    }

    .address-distance strong {
        font-size: 10px;
    }

    .address-distance small {
        font-size: 10px;
    }

    .map-link {
        margin-top: 30px;
        font-size: 11px;
    }

    .contacts-map {
        min-height: 360px;
    }

    .contacts-map iframe {
        min-height: 360px;
    }


    /* CONNECT */

    .contacts-connect {
        padding: 75px 0;
    }

    .contacts-connect-heading {
        margin-bottom: 38px;
    }

    .contacts-connect-heading .contact-section-label {
        margin-bottom: 18px;
    }

    .contacts-cards {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .contact-card:nth-child(3) {
        min-height: 195px;

        padding: 23px 21px 25px;

        border-left: 1px solid rgba(23, 33, 28, .14);
        border-right: 1px solid rgba(23, 33, 28, .14);
        border-bottom: 1px solid rgba(23, 33, 28, .14);
    }

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

    .contact-card-number {
        font-size: 18px;
    }

    .contact-card-label {
        margin-top: 32px;
        font-size: 9px;
        letter-spacing: .13em;
    }

    .contact-card strong {
        max-width: calc(100% - 25px);

        margin-top: 10px;

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

    .contact-card-note {
        font-size: 10px;
    }

    .contact-card-arrow {
        right: 18px;
        bottom: 20px;
        font-size: 18px;
    }


    /* BOOKING */

    .contacts-booking {
        min-height: 500px;
    }

    .contacts-booking-image {
        background-position: center center;
    }

    .contacts-booking-overlay {
        background:
            linear-gradient(
                rgba(5, 14, 11, .64),
                rgba(5, 14, 11, .76)
            );
    }

    .contacts-booking-content {
        padding: 65px 18px;
    }

    .contacts-booking .section-label {
        margin-bottom: 20px;
    }

    .contacts-booking h2 {
        max-width: 100%;
        font-size: clamp(48px, 14vw, 64px);
        line-height: .92;
    }

    .contacts-booking p {
        max-width: 100%;

        margin: 23px auto 30px;

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


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .contacts-hero {
        padding: 90px 0 55px;
    }

    .contacts-hero-inner,
    .contacts-location-container,
    .contacts-connect-container {
        width: calc(100% - 28px);
    }

    .contacts-hero h1 {
        font-size: 48px;
    }

    .contacts-hero-image {
        height: 310px;
    }

    .contacts-location,
    .contacts-connect {
        padding: 65px 0;
    }

    .contacts-address h2,
    .contacts-connect h2 {
        font-size: 45px;
    }

    .contacts-map,
    .contacts-map iframe {
        min-height: 320px;
    }

    .contact-card {
        min-height: 185px;
    }

    .contacts-booking {
        min-height: 470px;
    }

    .contacts-booking-content {
        padding: 55px 15px;
    }

    .contacts-booking h2 {
        font-size: 46px;
    }
}