/* =========================================================
   ToolZen Hub
   Contact Page
   Page-Specific Styles
========================================================= */


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;

    box-sizing: border-box;
}


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

.contact-page__hero {
    width: 100%;

    padding: 55px 20px 40px;

    text-align: center;

    background: #f7fbf9;

    border-bottom: 1px solid #e7eeeb;

    box-sizing: border-box;
}


.contact-page__hero .container {
    width: calc(100% - 40px);

    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   LEGAL BREADCRUMB
========================================================= */

.legal-breadcrumb {
    width: 100%;

    margin-bottom: 22px;

    text-align: left;
}


.legal-breadcrumb .calculator-breadcrumb {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 8px;

    font-size: 13px;

    color: #667085;
}


.legal-breadcrumb .calculator-breadcrumb a {
    color: #0b9f58;

    text-decoration: none;
}


.legal-breadcrumb .calculator-breadcrumb strong {
    color: #334155;

    font-weight: 600;
}


.contact-page__hero h1 {
    margin: 0 0 10px;

    color: #101828;

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

    font-size: 40px;

    font-weight: 800;

    line-height: 1.2;
}


.contact-page__hero p {
    max-width: 650px;

    margin: 0 auto;

    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   CONTACT CONTENT
========================================================= */

.contact-page__content {
    width: 100%;

    box-sizing: border-box;
}


.contact-page__content .container {
    width: calc(100% - 40px);

    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;

    padding-top: 50px;
    padding-bottom: 65px;

    box-sizing: border-box;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.contact-page__card {
    max-width: 850px;

    margin-left: auto;
    margin-right: auto;

    padding: 30px;

    border: 1px solid #e4e9e7;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(16, 24, 40, 0.05);

    box-sizing: border-box;
}


.contact-page__card h2 {
    margin: 0 0 10px;

    color: #101828;

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

    font-size: 25px;

    font-weight: 700;

    line-height: 1.3;
}


.contact-page__card > p {
    margin: 0 0 25px;

    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


.contact-form__group {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.contact-form__group label {
    color: #344054;

    font-size: 12px;

    font-weight: 700;
}


.contact-form__group input,
.contact-form__group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #d9e0dd;

    border-radius: 7px;

    outline: none;

    background: #ffffff;

    color: #101828;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-form__group textarea {
    min-height: 130px;

    resize: vertical;
}


.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
    color: #98a2b3;
}


.contact-form__group input:focus,
.contact-form__group textarea:focus {
    border-color: #0b9f58;

    box-shadow:
        0 0 0 3px rgba(11, 159, 88, 0.10);
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.contact-form__button {
    align-self: flex-start;

    padding: 11px 22px;

    border: 0;

    border-radius: 7px;

    background: #0b9f58;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.contact-form__button:hover {
    background: #087d46;

    transform: translateY(-1px);
}


/* =========================================================
   CONTACT FORM - NOT CONNECTED YET
========================================================= */

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

    padding: 12px 14px;

    border: 1px solid #fde68a;

    border-radius: 8px;

    background: #fffbeb;

    color: #92400e;

    font-size: 13px;

    line-height: 1.6;
}


.contact-form__status {
    margin: 14px 0 0;

    color: #b42318;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.6;
}


.contact-form__status:empty {
    display: none;
}


.contact-form__button:disabled {
    background: #98a2b3;

    cursor: not-allowed;

    transform: none;
}


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

@media (max-width: 600px) {

    .contact-page__hero {
        padding: 40px 16px 30px;
    }


    .contact-page__hero .container {
        width: calc(100% - 24px);
    }


    .contact-page__hero h1 {
        font-size: 31px;
    }


    .contact-page__hero p {
        font-size: 13px;
    }


    .contact-page__content .container {
        width: calc(100% - 24px);

        padding-top: 35px;
        padding-bottom: 45px;
    }


    .contact-page__card {
        padding: 20px;
    }


    .contact-page__card h2 {
        font-size: 22px;
    }

}
