/* =========================================================
   RYNA WOMAN - CONTACT PAGE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #fff7f9;
    color: #44373d;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   PAGE
========================================================= */

.contact-page {
    width: 100%;
    min-height: 100vh;

    padding:
        44px 0 80px;

    background:
        linear-gradient(
            180deg,
            #fff7f9 0%,
            #fffafb 100%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.contact-container {
    width:
        min(
            1080px,
            calc(100% - 40px)
        );

    margin:
        0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.contact-header {
    margin-bottom:
        31px;
}

.contact-eyebrow {
    display:
        block;

    margin-bottom:
        7px;

    color:
        #b66d81;

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        1.8px;
}

.contact-header h1 {
    margin:
        0;

    color:
        #34272d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        32px;

    line-height:
        1.2;

    font-weight:
        400;
}

.contact-header p {
    max-width:
        580px;

    margin:
        9px 0 0;

    color:
        #86767d;

    font-size:
        10px;

    line-height:
        1.6;
}


/* =========================================================
   MAIN GRID
========================================================= */

.contact-grid {
    display:
        grid;

    grid-template-columns:
        0.83fr
        1.17fr;

    gap:
        20px;

    align-items:
        start;
}


/* =========================================================
   LEFT DETAILS
========================================================= */

.contact-details {
    display:
        grid;

    gap:
        12px;
}

.contact-detail-card {
    display:
        flex;

    gap:
        13px;

    padding:
        17px;

    border:
        1px solid
        #eadde1;

    background:
        #fffafb;
}

.contact-icon {
    width:
        38px;

    height:
        38px;

    flex:
        0 0 38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        #fae9ee;

    color:
        #b66d81;

    font-size:
        12px;
}

.contact-detail-card span {
    display:
        block;

    margin-bottom:
        4px;

    color:
        #b66d81;

    font-size:
        7px;

    font-weight:
        700;

    letter-spacing:
        1.3px;
}

.contact-detail-card h3 {
    margin:
        0 0 5px;

    color:
        #44363c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        15px;

    font-weight:
        400;
}

.contact-detail-card a {
    display:
        inline-block;

    color:
        #8e6e79;

    font-size:
        9px;

    text-decoration:
        underline;

    text-decoration-color:
        #d2bbc3;

    text-underline-offset:
        2px;
}

.contact-detail-card a:hover {
    color:
        #b66d81;
}

.contact-detail-card small,
.contact-detail-card p {
    display:
        block;

    margin:
        5px 0 0;

    color:
        #928289;

    font-size:
        8px;

    line-height:
        1.55;
}

.contact-detail-card p {
    margin-top:
        4px;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.contact-quick-links {
    padding:
        17px;

    border:
        1px solid
        #eadde1;

    background:
        rgba(
            250,
            233,
            238,
            .42
        );
}

.contact-quick-links > span {
    display:
        block;

    margin-bottom:
        11px;

    color:
        #a8677a;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        1.2px;
}

.contact-quick-links a {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        8px 0;

    border-bottom:
        1px solid
        #eee1e5;

    color:
        #67575e;

    font-size:
        8px;
}

.contact-quick-links a:last-child {
    border-bottom:
        0;
}

.contact-quick-links a:hover {
    color:
        #b66d81;
}

.contact-quick-links i {
    width:
        15px;

    color:
        #b66d81;
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-card {
    padding:
        22px;

    border:
        1px solid
        #eadde1;

    background:
        #fffafb;

    box-shadow:
        0 10px 28px
        rgba(
            70,
            45,
            53,
            .04
        );
}

.contact-form-heading {
    margin-bottom:
        19px;

    padding-bottom:
        15px;

    border-bottom:
        1px solid
        #f0e5e8;
}

.contact-form-heading > span {
    display:
        block;

    margin-bottom:
        5px;

    color:
        #b66d81;

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        1.4px;
}

.contact-form-heading h2 {
    margin:
        0;

    color:
        #44363c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        20px;

    font-weight:
        400;
}


/* =========================================================
   MESSAGES
========================================================= */

.contact-success,
.contact-error {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        10px;

    margin-bottom:
        17px;

    padding:
        11px 12px;
}

.contact-success {
    border:
        1px solid
        #dbe9df;

    background:
        #f5faf7;

    color:
        #617568;
}

.contact-error {
    border:
        1px solid
        #edd3da;

    background:
        #fff4f6;

    color:
        #965d70;
}

.message-icon {
    width:
        26px;

    height:
        26px;

    flex:
        0 0 26px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(
            255,
            255,
            255,
            .7
        );

    font-size:
        9px;
}

.contact-success strong,
.contact-error strong {
    display:
        block;

    margin-bottom:
        3px;

    font-size:
        8px;
}

.contact-success p,
.contact-error p {
    margin:
        0;

    font-size:
        8px;

    line-height:
        1.5;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        14px 12px;
}

.contact-field {
    min-width:
        0;
}

.contact-field:nth-child(5) {
    grid-column:
        1 / -1;
}

.contact-field label {
    display:
        block;

    margin-bottom:
        6px;

    color:
        #5c4d54;

    font-size:
        8px;

    font-weight:
        600;
}

.contact-field label span {
    color:
        #b66d81;
}

.contact-field label small {
    color:
        #aaa0a5;

    font-size:
        7px;

    font-weight:
        400;
}


/* =========================================================
   INPUT
========================================================= */

.contact-input {
    position:
        relative;
}

.contact-input > i {
    position:
        absolute;

    left:
        11px;

    top:
        50%;

    transform:
        translateY(-50%);

    color:
        #b68a98;

    font-size:
        10px;

    pointer-events:
        none;
}

.contact-input input,
.contact-input select,
.contact-input textarea {
    width:
        100%;

    border:
        1px solid
        #dfd2d6;

    outline:
        none;

    background:
        #fff;

    color:
        #44363c;

    font-size:
        9px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-input input,
.contact-input select {
    height:
        40px;

    padding:
        0 11px 0 31px;
}

.contact-input select {
    appearance:
        none;

    -webkit-appearance:
        none;

    cursor:
        pointer;
}

.contact-input textarea {
    min-height:
        130px;

    resize:
        vertical;

    padding:
        11px 11px 11px 31px;

    line-height:
        1.5;
}

.textarea-input > i {
    top:
        16px;

    transform:
        none;
}

.contact-input input::placeholder,
.contact-input textarea::placeholder {
    color:
        #aaa0a5;
}

.contact-input input:focus,
.contact-input select:focus,
.contact-input textarea:focus {
    border-color:
        #c68e9e;

    box-shadow:
        0 0 0 3px
        rgba(
            198,
            142,
            158,
            .08
        );
}


/* =========================================================
   SELECT ARROW
========================================================= */

.select-input::after {
    content:
        "\f078";

    position:
        absolute;

    right:
        11px;

    top:
        50%;

    transform:
        translateY(-50%);

    color:
        #a69198;

    font-family:
        "Font Awesome 6 Free";

    font-size:
        8px;

    font-weight:
        900;

    pointer-events:
        none;
}


/* =========================================================
   NOTE
========================================================= */

.contact-field-note {
    display:
        block;

    margin-top:
        5px;

    color:
        #a3989d;

    font-size:
        7px;

    line-height:
        1.4;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    grid-column:
        1 / -1;

    width:
        100%;

    min-height:
        43px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    margin-top:
        2px;

    border:
        1px solid
        #302629;

    background:
        #302629;

    color:
        #fff;

    font-size:
        9px;

    font-weight:
        600;

    transition:
        .2s ease;
}

.contact-submit:hover {
    border-color:
        #b66d81;

    background:
        #b66d81;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-page {
        padding:
            29px 0 60px;
    }

    .contact-container {
        width:
            calc(100% - 18px);
    }

    .contact-header h1 {
        font-size:
            28px;
    }

    .contact-form-card {
        padding:
            16px;
    }

    .contact-form {
        grid-template-columns:
            1fr;
    }

    .contact-field:nth-child(5) {
        grid-column:
            auto;
    }

    .contact-submit {
        grid-column:
            auto;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-detail-card {
        padding:
            14px;
    }

    .contact-icon {
        width:
            34px;

        height:
            34px;

        flex-basis:
            34px;
    }

    .contact-form-heading h2 {
        font-size:
            18px;
    }

}