
/* =========================================================
   RANSARA — CONTACT SECTION
========================================================= */

.rs-contact-section {
    position: relative;

    background: #f6f2eb;

    color: #171612;

    padding: 135px 0 110px;

    overflow: hidden;

    scroll-margin-top: 130px;
}

.rs-contact-wrap {
    width: min(1220px, 91%);

    margin: 0 auto;
}


/* =========================================================
   TOP EDITORIAL LINE
========================================================= */

.rs-contact-top {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 75px;
}

.rs-contact-top span {
    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: .22em;

    color: #8d7b61;

    white-space: nowrap;
}

.rs-contact-top div {
    flex: 1;

    height: 1px;

    background: rgba(23,22,18,.15);
}


/* =========================================================
   HEADING
========================================================= */

.rs-contact-heading {
    max-width: 900px;

    margin-bottom: 90px;
}

.rs-contact-kicker {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: .25em;

    color: #9a7846;
}

.rs-contact-kicker i {
    width: 42px;

    height: 1px;

    background: #b99a5e;
}

.rs-contact-heading h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(65px, 8vw, 110px);

    font-weight: 400;

    line-height: .78;

    letter-spacing: -.055em;
}

.rs-contact-heading h2 em {
    display: block;

    color: #9a7846;

    font-style: italic;

    margin-left: 155px;
}

.rs-contact-heading p {
    max-width: 540px;

    margin: 38px 0 0 158px;

    color: #706b63;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   MAIN GRID
========================================================= */

.rs-contact-main {
    display: grid;

    grid-template-columns: .82fr 1.18fr;

    gap: 75px;

    align-items: start;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.rs-contact-info {
    display: flex;

    flex-direction: column;

    border-top: 1px solid rgba(23,22,18,.18);
}

.rs-contact-card {
    position: relative;

    display: block;

    padding: 28px 5px 30px;

    color: inherit;

    text-decoration: none;

    border-bottom: 1px solid rgba(23,22,18,.14);

    transition:
        padding .35s ease,
        background .35s ease;
}

.rs-contact-card:hover {
    padding-left: 18px;

    background: rgba(255,255,255,.4);
}

.rs-contact-card-top {
    display: grid;

    grid-template-columns: 35px 1fr 25px;

    align-items: center;

    gap: 15px;

    margin-bottom: 28px;
}

.rs-contact-card-top span,
.rs-contact-card-top strong {
    font-family: "DM Sans", sans-serif;
}

.rs-contact-card-top span {
    font-size: 9px;

    letter-spacing: .16em;

    color: #9b7947;
}

.rs-contact-card-top strong {
    font-size: 8px;

    letter-spacing: .22em;

    color: #8c877f;
}

.rs-contact-card-top i {
    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    color: #a18355;

    font-size: 20px;

    font-style: normal;

    text-align: right;
}

.rs-contact-card-main h3 {
    margin: 0 0 7px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 31px;

    font-weight: 400;

    line-height: 1;
}

.rs-contact-card-main p {
    max-width: 360px;

    margin: 0;

    color: #777168;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    line-height: 1.75;
}

.rs-contact-card-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 25px;
}

.rs-contact-card-bottom span {
    color: #9a7846;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 19px;
}

.rs-contact-card-bottom small {
    color: #a09a90;

    font-family: "DM Sans", sans-serif;

    font-size: 7px;

    letter-spacing: .15em;

    text-align: right;
}


/* WhatsApp card */

.rs-contact-whatsapp {
    background: rgba(185,154,94,.06);
}

.rs-contact-whatsapp:hover {
    background: rgba(185,154,94,.11);
}


/* =========================================================
   FORM PANEL
========================================================= */

.rs-contact-form-panel {
    position: relative;

    background: #1a1916;

    color: #f6f1e8;

    padding: 52px 55px 48px;

    box-shadow:
        0 30px 80px rgba(23,22,18,.10);
}

.rs-contact-form-panel::before {
    content: "";

    position: absolute;

    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;

    border: 1px solid rgba(185,154,94,.15);

    pointer-events: none;
}


/* =========================================================
   FORM HEADING
========================================================= */

.rs-contact-form-heading {
    position: relative;

    z-index: 2;

    margin-bottom: 38px;
}

.rs-contact-form-heading > span {
    font-family: "DM Sans", sans-serif;

    color: #b99a5e;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .25em;
}

.rs-contact-form-heading h3 {
    margin: 18px 0 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 48px;

    font-weight: 400;

    line-height: .9;

    letter-spacing: -.035em;
}

.rs-contact-form-heading h3 em {
    color: #c5a76d;

    font-style: italic;
}


/* =========================================================
   FORM
========================================================= */

.rs-contact-form {
    position: relative;

    z-index: 2;
}

.rs-contact-field {
    position: relative;

    margin-bottom: 25px;
}

.rs-contact-field label {
    display: block;

    margin-bottom: 9px;

    font-family: "DM Sans", sans-serif;

    color: #aaa298;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: .2em;
}

.rs-contact-field input,
.rs-contact-field textarea,
.rs-contact-field select {
    width: 100%;

    border: 0;

    border-bottom: 1px solid rgba(255,255,255,.17);

    background: transparent;

    color: #f5f0e8;

    padding: 10px 0 12px;

    outline: none;

    border-radius: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    transition:
        border-color .3s ease;
}

.rs-contact-field input::placeholder,
.rs-contact-field textarea::placeholder {
    color: #77736d;
}

.rs-contact-field input:focus,
.rs-contact-field textarea:focus,
.rs-contact-field select:focus {
    border-color: #b99a5e;
}

.rs-contact-field textarea {
    min-height: 100px;

    resize: vertical;

    line-height: 1.7;
}

.rs-contact-select {
    position: relative;
}

.rs-contact-select select {
    appearance: none;

    cursor: pointer;

    padding-right: 30px;
}

.rs-contact-select select option {
    background: #1a1916;

    color: #f5f0e8;
}

.rs-contact-select span {
    position: absolute;

    right: 3px;

    bottom: 12px;

    color: #b99a5e;

    font-size: 13px;

    pointer-events: none;
}

#rsContactCounter {
    position: absolute;

    right: 0;

    bottom: -18px;

    color: #6f6b65;

    font-family: "DM Sans", sans-serif;

    font-size: 8px;
}


/* =========================================================
   SUBMIT
========================================================= */

.rs-contact-submit {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 35px;

    padding: 17px 20px;

    border: 1px solid #b99a5e;

    background: #b99a5e;

    color: #171612;

    cursor: pointer;

    font-family: "DM Sans", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .17em;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.rs-contact-submit:hover {
    background: transparent;

    color: #d1b477;

    transform: translateY(-2px);
}

.rs-contact-submit i {
    font-size: 18px;

    font-style: normal;

    transition:
        transform .3s ease;
}

.rs-contact-submit:hover i {
    transform: translate(4px,-4px);
}

.rs-contact-form-note {
    min-height: 20px;

    margin: 15px 0 0;

    text-align: center;

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   BOTTOM
========================================================= */

.rs-contact-bottom {
    margin-top: 105px;
}

.rs-contact-bottom-line {
    height: 1px;

    background: rgba(23,22,18,.15);
}

.rs-contact-bottom-content {
    display: grid;

    grid-template-columns: 1fr 2fr 80px;

    align-items: center;

    gap: 30px;

    padding-top: 28px;
}

.rs-contact-bottom-content > span {
    font-family: "DM Sans", sans-serif;

    color: #938b80;

    font-size: 8px;

    letter-spacing: .2em;
}

.rs-contact-bottom-content p {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 22px;

    color: #3c3933;
}

.rs-contact-bottom-content p em {
    color: #9a7846;

    font-style: italic;
}

.rs-contact-bottom-content strong {
    justify-self: end;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #b99a5e;

    border-radius: 50%;

    color: #a08152;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 30px;

    font-style: italic;

    font-weight: 400;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .rs-contact-section {
        padding-top: 130px;
    }

    .rs-contact-heading h2 em {
        margin-left: 80px;
    }

    .rs-contact-heading p {
        margin-left: 83px;
    }

    .rs-contact-main {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .rs-contact-info {
        display: grid;

        grid-template-columns: repeat(2,1fr);

        border-top: 0;

        gap: 0 30px;
    }

    .rs-contact-card {
        border-top: 1px solid rgba(23,22,18,.15);
    }

    .rs-contact-location {
        grid-column: 1 / -1;
    }

    .rs-contact-form-panel {
        max-width: 720px;

        width: 100%;

        margin: 0 auto;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .rs-contact-section {
        padding:
            115px
            0
            70px;

        scroll-margin-top: 120px;
    }

    .rs-contact-wrap {
        width: 90%;
    }


    /* top */

    .rs-contact-top {
        margin-bottom: 55px;

        gap: 12px;
    }

    .rs-contact-top span:last-child {
        display: none;
    }


    /* heading */

    .rs-contact-heading {
        margin-bottom: 70px;
    }

    .rs-contact-heading h2 {
        font-size:
            clamp(
                57px,
                15vw,
                76px
            );

        line-height: .82;
    }

    .rs-contact-heading h2 em {
        margin-left: 30px;
    }

    .rs-contact-heading p {
        margin:
            30px
            0
            0
            30px;

        font-size: 13px;
    }


    /* info */

    .rs-contact-info {
        display: flex;

        flex-direction: column;

        gap: 0;
    }

    .rs-contact-card {
        padding: 25px 3px 28px;
    }

    .rs-contact-card:hover {
        padding-left: 10px;
    }

    .rs-contact-card-main h3 {
        font-size: 29px;
    }

    .rs-contact-card-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 6px;
    }

    .rs-contact-card-bottom small {
        text-align: left;
    }


    /* form */

    .rs-contact-form-panel {
        padding:
            42px
            25px
            35px;
    }

    .rs-contact-form-panel::before {
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .rs-contact-form-heading h3 {
        font-size: 43px;
    }

    .rs-contact-field {
        margin-bottom: 23px;
    }


    /* bottom */

    .rs-contact-bottom {
        margin-top: 75px;
    }

    .rs-contact-bottom-content {
        display: flex;

        flex-wrap: wrap;

        gap: 15px;
    }

    .rs-contact-bottom-content p {
        width: 100%;

        order: 3;

        font-size: 21px;
    }

    .rs-contact-bottom-content strong {
        margin-left: auto;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .rs-contact-heading h2 {
        font-size: 53px;
    }

    .rs-contact-heading h2 em {
        margin-left: 18px;
    }

    .rs-contact-heading p {
        margin-left: 18px;
    }

    .rs-contact-form-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rs-contact-form-heading h3 {
        font-size: 38px;
    }

}
