/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-page {
    background: #f6f7fa;
    padding: 45px 0 70px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =====================================================
   BREADCRUMB
   ===================================================== */

.contact-breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 35px;
}

.contact-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: #a80f17;
}

.contact-breadcrumb span {
    margin: 0 8px;
    color: #bbb;
}

.contact-breadcrumb strong {
    color: #333;
    font-weight: 600;
}


/* =====================================================
   PAGE INTRO
   ===================================================== */

.contact-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.contact-label {
    display: inline-block;
    color: #a90f17;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-intro h1 {
    margin: 0 0 15px;
    color: #242831;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-intro p {
    margin: 0;
    color: #777f8b;
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   MAIN CONTENT
   ===================================================== */

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr);
    gap: 28px;
}


/* =====================================================
   COMMON BOX
   ===================================================== */

.contact-form-box,
.contact-office-box {
    background: #fff;
    border: 1px solid #e8ebef;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(20, 30, 50, .07);
}


/* =====================================================
   FORM BOX
   ===================================================== */

.contact-form-box {
    padding: 36px;
}

.contact-box-title {
    margin-bottom: 28px;
}

.contact-box-title>span {
    display: block;
    color: #a90f17;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 7px;
}

.contact-box-title h2 {
    margin: 0 0 7px;
    color: #252a32;
    font-size: 25px;
    font-weight: 700;
}

.contact-box-title p {
    margin: 0;
    color: #8a919c;
    font-size: 13px;
}


/* =====================================================
   FORM
   ===================================================== */

.contact-form {
    width: 100%;
}

.contact-row {
    display: flex;
    margin: 0 -7px;
}

.contact-field {
    width: 50%;
    padding: 0 7px;
    margin-bottom: 18px;
}

.contact-field label {
    display: block;
    color: #3e4550;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.contact-field label em {
    color: #b10e17;
    font-style: normal;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid #dfe3e8;
    background: #fafbfc;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    border-radius: 8px;
    transition: .2s ease;
}

.contact-field input,
.contact-field select {
    height: 48px;
    padding: 0 13px;
}

.contact-field textarea {
    height: 120px;
    padding: 13px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    background: #fff;
    border-color: #b10e17;
    box-shadow: 0 0 0 3px rgba(177, 14, 23, .07);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #a7adb5;
}

.contact-message {
    width: 100%;
}


/* =====================================================
   SUBMIT BUTTON
   ===================================================== */

.contact-submit {
    border: 0;
    outline: none;
    cursor: pointer;

    background: linear-gradient(135deg,
            #a70e16 0%,
            #d02830 100%);

    color: #fff;

    border-radius: 8px;

    padding: 13px 23px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 7px 18px rgba(169, 14, 22, .20);

    transition: all .25s ease;
}

.contact-submit span {
    margin-left: 8px;
    font-size: 17px;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 25px rgba(169, 14, 22, .28);
}


/* =====================================================
   RIGHT SIDE
   ===================================================== */

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-office-box {
    padding: 36px;
}


/* =====================================================
   CONTACT DETAILS
   ===================================================== */

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 17px 0;

    border-bottom: 1px solid #edf0f3;
}

.contact-detail:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-detail-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff0f1;
    color: #ae1018;

    border-radius: 11px;

    font-size: 20px;
    font-weight: bold;
}

.contact-detail-text {
    min-width: 0;
}

.contact-detail-text h3 {
    margin: 0 0 5px;

    color: #303640;

    font-size: 13px;
    font-weight: 700;
}

.contact-detail-text p {
    margin: 0;

    color: #737b86;

    font-size: 13px;
    line-height: 1.7;
}

.contact-detail-text a {
    color: #737b86;
    text-decoration: none;
}

.contact-detail-text a:hover {
    color: #ae1018;
}


/* =====================================================
   CALL BOX
   ===================================================== */

.contact-call-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 25px;

    border-radius: 15px;

    background: linear-gradient(135deg,
            #272a30,
            #3b3f47);

    color: #fff;
}

.contact-call-box small {
    display: block;

    color: #bfc3c9;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 3px;
}

.contact-call-box h3 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;
}

.contact-call-box a {
    flex-shrink: 0;

    display: inline-block;

    background: #fff;
    color: #a70e16;

    padding: 10px 17px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}

.contact-call-box a:hover {
    background: #fcecee;
}


/* =====================================================
   ALERTS
   ===================================================== */

.contact-success {
    padding: 12px 15px;

    background: #eaf8f0;
    border: 1px solid #ccebd9;

    color: #176b3a;

    border-radius: 8px;

    font-size: 13px;

    margin-bottom: 20px;
}

.contact-error {
    padding: 12px 15px;

    background: #fff0f1;
    border: 1px solid #f2c7ca;

    color: #9b1c24;

    border-radius: 8px;

    font-size: 13px;

    margin-bottom: 20px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-office-box {
        padding: 30px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .contact-page {
        padding: 30px 0 50px;
    }

    .contact-container {
        width: 94%;
    }

    .contact-intro {
        margin-bottom: 30px;
    }

    .contact-intro h1 {
        font-size: 31px;
    }

    .contact-intro p {
        font-size: 14px;
    }

    .contact-form-box,
    .contact-office-box {
        padding: 23px 18px;
        border-radius: 14px;
    }

    .contact-row {
        display: block;
        margin: 0;
    }

    .contact-field {
        width: 100%;
        padding: 0;
    }

    .contact-call-box {
        display: block;
    }

    .contact-call-box a {
        margin-top: 15px;
    }
}

.contact-validation-errors {
    display: block !important;
    position: relative !important;
    z-index: 99999 !important;

    width: 100%;
    box-sizing: border-box;

    margin: 0 0 25px 0;
    padding: 18px 22px;

    background: #fff1f2 !important;
    border: 1px solid #fda4af !important;
    border-left: 5px solid #e11d48 !important;

    color: #9f1239 !important;

    border-radius: 10px;

    font-size: 15px;
    line-height: 1.6;

    visibility: visible !important;
    opacity: 1 !important;
}

.contact-validation-errors strong {
    display: block;
    margin-bottom: 8px;
    color: #881337 !important;
}

.contact-validation-errors ul {
    margin: 0;
    padding-left: 20px;
}

.contact-validation-errors li {
    color: #9f1239 !important;
    margin-bottom: 3px;
}

.contact-alert {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    margin: 0 0 24px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 4px solid #e11d48;
    color: #9f1239;
}

.contact-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #10b981;
    color: #047857;
}

.contact-alert-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-alert ul {
    margin: 0;
    padding-left: 20px;
}

.contact-alert li {
    margin: 3px 0;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #e11d48;
    font-size: 13px;
    line-height: 1.4;
}

/* ==========================================
   CAPTCHA
========================================== */

.contact-captcha {
    margin-top: 10px;
    margin-bottom: 28px;
    padding: 20px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}


/* HEADER */

.contact-captcha-header {
    margin-bottom: 16px;
}

.contact-captcha-label {
    display: block;

    margin-bottom: 4px;

    color: #64748b;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-captcha-header h3 {
    margin: 0;

    color: #0f172a;

    font-size: 16px;
    font-weight: 700;
}


/* ==========================================
   CAPTCHA SINGLE ROW
========================================== */

.contact-captcha-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;

    width: 100%;
}


/* ==========================================
   CAPTCHA IMAGE
========================================== */

.contact-captcha-image {
    flex: 0 0 180px;

    width: 180px;
    height: 50px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.04);
}

.contact-captcha-image img {
    display: block;

    width: 180px;
    height: 50px;

    object-fit: cover;
}


/* ==========================================
   CAPTCHA INPUT
========================================== */

.contact-captcha-input {
    flex: 1;

    min-width: 0;
}

.contact-captcha-input label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;
    font-weight: 600;
}

.contact-captcha-input label em {
    color: #e11d48;
    font-style: normal;
}


/* Make textbox look like your normal form inputs */

.contact-captcha-input input {
    display: block;

    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    color: #0f172a;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.contact-captcha-input input::placeholder {
    color: #94a3b8;

    font-size: 13px;
    font-weight: 400;

    letter-spacing: normal;
    text-transform: none;
}

.contact-captcha-input input:hover {
    border-color: #94a3b8;
}

.contact-captcha-input input:focus {
    background: #ffffff;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* ==========================================
   REFRESH BUTTON
========================================== */

.contact-captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    padding: 0;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 9px;

    color: #334155;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-captcha-refresh:hover {
    background: #0f172a;

    border-color: #0f172a;

    color: #ffffff;

    transform: rotate(-25deg);
}

.contact-captcha-refresh:active {
    transform: rotate(-25deg) scale(0.94);
}


/* ==========================================
   CAPTCHA ERROR
========================================== */

.captcha-error {
    margin-top: 8px;
}

/* ==========================================
   RIGHT SIDE GOOGLE MAP
========================================== */

.contact-map-box {
    margin-top: 20px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.05);
}


/* MAP HEADER */

.contact-map-header {
    margin-bottom: 13px;
}

.contact-map-label {
    display: block;

    margin-bottom: 4px;

    color: #64748b;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-map-header h3 {
    margin: 0;

    color: #0f172a;

    font-size: 18px;
    font-weight: 700;
}


/* MAP */

.contact-map {
    width: 100%;

    overflow: hidden;

    background: #e2e8f0;

    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 280px;

    border: 0;
}


/* GET DIRECTIONS */

.contact-map-link {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    box-sizing: border-box;

    margin-top: 12px;
    padding: 11px 15px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #2563eb;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s ease;
}

.contact-map-link:hover {
    background: #2563eb;

    border-color: #2563eb;

    color: #ffffff;
}

/* =========================================================
   TELEPHONE + MOBILE
========================================================= */

.contact-phone-mobile-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

.contact-phone-mobile-row .contact-detail {
    padding: 0;
    border: 0;
    min-width: 0;
}

.contact-detail-compact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-detail-compact .contact-detail-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.contact-detail-compact .contact-detail-text h3 {
    margin-bottom: 4px;
}

.contact-detail-compact .contact-detail-text p {
    font-size: 12px;
    line-height: 1.7;
}

.contact-detail-compact .contact-detail-text a {
    white-space: nowrap;
}

/* =========================================================
   EMAIL + NEED HELP
========================================================= */

.contact-email-call-row {
    display: flex;
    width: 100%;
    gap: 16px;
    margin-top: 20px;
}


/* =========================================================
   EMAIL
========================================================= */

.contact-email-box {
    flex: 1.15;
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px 20px;

    background: #f8fafc;

    border: 1px solid #e6eaf0;

    border-radius: 14px;

    box-sizing: border-box;
}


.contact-email-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #fff0f1;

    color: #a90000;

    font-size: 25px;
    font-weight: 700;
}


.contact-email-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.contact-email-content span {
    color: #172033;

    font-size: 16px;
    font-weight: 700;
}


.contact-email-content a {
    color: #667085;

    font-size: 14px;

    text-decoration: none;

    white-space: nowrap;
}


.contact-email-content a:hover {
    color: #a90000;
}


/* =========================================================
   NEED HELP
========================================================= */

.contact-help-box {
    flex: 0.85;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 18px 18px;

    background: #182337;

    border-radius: 14px;

    box-sizing: border-box;
}


.contact-help-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.contact-help-content span {
    color: #9eacc4;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;

    line-height: 1.2;
}


.contact-help-content strong {
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}


/* =========================================================
   CALL BUTTON
========================================================= */

.contact-help-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 42px;

    padding: 0 14px;

    border-radius: 9px;

    background: #ffffff;

    color: #a90000;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: all .2s ease;
}


.contact-help-button b {
    margin-left: 5px;

    font-size: 16px;
}


.contact-help-button:hover {
    background: #a90000;

    color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .contact-email-call-row {
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .contact-email-call-row {
        gap: 12px;
    }


    .contact-email-box,
    .contact-help-box {
        padding: 16px;
    }


    .contact-help-content strong {
        font-size: 15px;
    }


    .contact-help-button {
        height: 40px;

        padding: 0 12px;

        font-size: 12px;
    }

}