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


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

.contacts-hero {
    position: relative;

    height: 160px;

    overflow: hidden;

    display: flex;

    align-items: center;

    color: #ffffff;
}


.contacts-hero-image {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;
}


.contacts-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 14, 12, 0.78) 0%,
            rgba(8, 14, 12, 0.55) 40%,
            rgba(8, 14, 12, 0.20) 75%,
            rgba(8, 14, 12, 0.10) 100%
        );
}


.contacts-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
}


.contacts-hero .section-label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;

    letter-spacing: 1.5px;

    font-weight: 600;
}


.contacts-hero-title {
    display: flex;

    align-items: baseline;

    flex-wrap: wrap;

    gap: 12px;

    margin: 0;

    line-height: 1;

    font-size: clamp(34px, 4vw, 58px);

    font-weight: 800;

    letter-spacing: -1.5px;
}


.contacts-title-white {
    color: #ffffff;
}


.contacts-title-green {
    color: #8caf2d;
}


.contacts-hero-subtitle {
    margin: 12px 0 0;

    max-width: 760px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;

    line-height: 1.5;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.contacts-page-section {
    padding: 75px 0 85px;

    background: #ffffff;
}


.contacts-container {
    max-width: 1180px;
}


/* =========================================================
   MAIN GRID
========================================================= */

.contacts-main-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   LEFT COLUMN
========================================================= */

.contacts-left-column {
    min-width: 0;
}


.contacts-intro {
    margin-bottom: 24px;
}


.contacts-intro .section-label,
.contacts-form-header .section-label,
.contacts-bottom-content .section-label {
    display: block;

    margin-bottom: 10px;

    color: #7ca52b;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.contacts-intro h2 {
    margin: 0;

    font-size: 34px;

    line-height: 1.15;

    color: #30393a;

    font-weight: 700;
}


.section-line {
    width: 42px;

    height: 2px;

    background: #7ca52b;

    margin: 18px 0 22px;
}


.contacts-intro p {
    margin: 0;

    max-width: 650px;

    font-size: 16px;

    line-height: 1.6;

    color: #6c7375;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contacts-information h2 {
    margin: 0 0 12px;

    font-size: 28px;

    line-height: 1.2;

    color: #30393a;
}


.contacts-information-intro {
    margin: 0 0 25px;

    font-size: 15px;

    line-height: 1.6;

    color: #6c7375;
}


.contact-info-card {
    display: flex;

    align-items: flex-start;

    gap: 17px;

    padding: 21px 0;

    border-bottom: 1px solid #e1e3df;
}


.contact-info-card:first-of-type {
    border-top: 1px solid #e1e3df;
}


.contact-info-icon {
    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f3f6ee;

    color: #7ca52b;

    font-size: 19px;

    border-radius: 50%;
}


.contact-info-content {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.contact-info-content > span {
    margin-bottom: 5px;

    color: #7ca52b;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.contact-info-content strong,
.contact-info-content a {
    color: #30393a;

    font-size: 16px;

    line-height: 1.4;

    font-weight: 600;

    text-decoration: none;
}


.contact-info-content a:hover {
    color: #7ca52b;
}


.contact-info-content p {
    margin: 5px 0 0;

    color: #747a7b;

    font-size: 13px;

    line-height: 1.5;
}


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

.contacts-form-wrapper {
    padding: 38px 40px 40px;

    background: #ffffff;

    border: 1px solid #e2e4e1;
}


.contacts-form-header {
    margin-bottom: 28px;
}


.contacts-form-header h2 {
    margin: 0 0 12px;

    color: #30393a;

    font-size: 30px;

    line-height: 1.2;
}


.contacts-form-header p {
    margin: 0;

    color: #747a7b;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   FORM GRID
========================================================= */

.contact-form {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.contact-form-group {
    display: flex;

    flex-direction: column;
}


.contact-form-group-full {
    grid-column: 1 / -1;
}


.contact-form-group label {
    margin-bottom: 8px;

    color: #3b4344;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 600;
}


.contact-form-group label span {
    color: #7ca52b;
}


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

    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #d8dcda;

    background: #ffffff;

    color: #30393a;

    font-family: inherit;

    font-size: 14px;

    outline: none;

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


.contact-form-group textarea {
    min-height: 145px;

    resize: vertical;
}


.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #7ca52b;

    box-shadow:
        0 0 0 3px rgba(124, 165, 43, 0.08);
}


.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #a0a5a6;
}


/* =========================================================
   FORM FOOTER
========================================================= */

.contact-form-footer {
    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 4px;
}


.contact-form-footer p {
    margin: 0;

    color: #8a8f90;

    font-size: 11px;

    line-height: 1.4;
}


.contact-form-footer .btn {
    border: none;

    cursor: pointer;
}


/* =========================================================
   SUCCESS / ERROR
========================================================= */

.contact-form-success {
    margin-bottom: 25px;

    padding: 18px 20px;

    background: #f3f7ec;

    border-left: 3px solid #7ca52b;
}


.contact-form-success strong {
    display: block;

    margin-bottom: 4px;

    color: #405426;
}


.contact-form-success p {
    margin: 0;

    color: #5f6758;

    font-size: 13px;

    line-height: 1.6;
}


.contact-form-error {
    margin-bottom: 25px;

    padding: 15px 18px;

    background: #fff2f2;

    border-left: 3px solid #c74b4b;

    color: #8a3434;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.contacts-bottom-section {
    padding: 70px 0;

    background: #f5f6f3;

    border-top: 1px solid #e4e6e1;
}


.contacts-bottom-content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.contacts-bottom-content h2 {
    margin: 0 0 15px;

    color: #30393a;

    font-size: 34px;

    line-height: 1.2;
}


.contacts-bottom-content p {
    max-width: 650px;

    margin:
        0 auto
        28px;

    color: #6c7375;

    font-size: 15px;

    line-height: 1.7;
}


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

@media (max-width: 1000px) {

    .contacts-main-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .contacts-form-wrapper {
        width: 100%;

        box-sizing: border-box;
    }

}


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

@media (max-width: 768px) {

    .contacts-hero {
        height: 240px;
    }


    .contacts-hero-title {
        gap: 8px;

        font-size: 38px;
    }


    .contacts-hero-subtitle {
        font-size: 14px;
    }


    .contacts-page-section {
        padding: 55px 0 65px;
    }


    .contacts-intro h2 {
        font-size: 32px;
    }


    .contacts-form-wrapper {
        padding: 30px 22px;
    }


    .contact-form {
        grid-template-columns: 1fr;
    }


    .contact-form-group-full {
        grid-column: auto;
    }


    .contact-form-footer {
        grid-column: auto;

        flex-direction: column;

        align-items: flex-start;
    }


    .contacts-bottom-content h2 {
        font-size: 29px;
    }

}


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

@media (max-width: 500px) {

    .contacts-hero {
        height: 220px;
    }


    .contacts-hero-title {
        font-size: 32px;

        flex-direction: column;

        align-items: flex-start;

        gap: 2px;
    }


    .contacts-hero-subtitle {
        font-size: 13px;
    }


    .contact-info-card {
        gap: 13px;
    }


    .contact-info-icon {
        width: 38px;

        height: 38px;

        flex-basis: 38px;

        font-size: 17px;
    }

}