/* =================================
   CONTACT PAGE SETTINGS
================================= */

.contact-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* =================================
   CONTACT INTRODUCTION
================================= */

.contact-introduction {
    padding: 48px 0 28px;
    background-color: #ffffff;
}

.contact-intro-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, 1fr);
    gap: 15px;

    align-items: center;
}

.contact-heading h1 {
    margin: 0;

    color: #163d31;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1.5px;
}

.contact-heading h1 span {
    color: #d99517;
}

.contact-fact {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;

    min-height: 72px;
    padding-left: 15px;

    align-items: flex-start;

    border-left: 1px solid rgba(226, 160, 29, 0.55);
}

.fact-icon {
    display: flex;
    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    color: #004331;
    background-color: #f7f5ef;
    border-radius: 50%;

    font-size: 22px;
}

.contact-fact h2 {
    margin: 1px 0 5px;

    color: #1d302a;

    font-size: 12px;
}

.contact-fact p {
    margin: 0;

    color: #53605b;

    font-size: 10px;
    line-height: 1.55;
}


/* =================================
   CONTACT PANELS
================================= */

.contact-options {
    padding: 10px 0 34px;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 18px;
}

.contact-panel {
    padding: 25px;

    background-color: #ffffff;
    border: 1px solid #e7e1d8;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 59, 43, 0.04);
}

.contact-panel > h2,
.panel-title-row h2,
.whatsapp-heading h2 {
    margin: 0;

    color: #163d31;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.panel-introduction,
.whatsapp-heading p {
    margin: 4px 0 17px;

    color: #57635e;

    font-size: 11px;
    line-height: 1.5;
}


/* =================================
   CONTACT FORM
================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form label span {
    display: block;
    margin-bottom: 5px;

    color: #47534e;

    font-size: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 11px 12px;

    color: #263630;
    background-color: #ffffff;
    border: 1px solid #ddd8cf;
    border-radius: 4px;
    outline: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.ai-input-wrapper input:focus {
    border-color: #d99517;
    box-shadow: 0 0 0 3px rgba(217, 149, 23, 0.12);
}

.contact-form textarea {
    resize: vertical;
}

.privacy-consent {
    display: flex;
    gap: 8px;

    align-items: flex-start;
}

.privacy-consent input {
    width: auto;
    margin-top: 2px;
}

.privacy-consent span {
    margin: 0 !important;
    line-height: 1.5;
}

.privacy-consent a {
    color: #004331;
    font-weight: 700;
}

.contact-submit,
.whatsapp-button {
    display: inline-flex;
    min-height: 45px;
    padding: 0 18px;

    align-items: center;
    justify-content: center;
    gap: 18px;

    color: #ffffff;
    background-color: #004331;
    border: 1px solid #004331;
    border-radius: 4px;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-submit {
    align-self: flex-start;
}

.contact-submit:hover,
.whatsapp-button:hover {
    color: #004331;
    background-color: #ffffff;
    transform: translateY(-2px);
}

.form-success {
    display: none;
    margin: 0;
    padding: 12px;

    color: #07533b;
    background-color: #e5f5ed;
    border-radius: 4px;

    font-size: 11px;
}

.form-success.show {
    display: block;
}


/* =================================
   AI ASSISTANT
================================= */

.panel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.available-label {
    padding: 3px 7px;

    color: #c77f00;
    background-color: #fff6e5;
    border: 1px solid #e8c373;
    border-radius: 4px;

    font-size: 10px;
    font-weight: 700;
}

.ai-welcome {
    display: flex;
    gap: 9px;

    padding: 15px;
    margin-bottom: 12px;

    align-items: flex-start;

    background-color: #faf7f1;
    border: 1px solid #eadfce;
    border-radius: 6px;
}

.ai-welcome p {
    margin: 0;

    color: #394740;

    font-size: 11px;
    line-height: 1.5;
}

.ai-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;

    margin-bottom: 14px;
}

.question-button {
    padding: 8px 9px;

    color: #3d4c45;
    background-color: #ffffff;
    border: 1px solid #e2d9cb;
    border-radius: 4px;

    font-size: 9px;
    text-align: left;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.question-button:hover {
    color: #004331;
    border-color: #d99517;
}

.ai-input-wrapper {
    display: grid;
    grid-template-columns: 1fr 42px;
}

.ai-input-wrapper input {
    width: 100%;
    padding: 11px;

    border: 1px solid #ddd8cf;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;

    font-size: 11px;
}

.ai-input-wrapper button {
    color: #ffffff;
    background-color: #004331;
    border: none;
    border-radius: 0 4px 4px 0;

    cursor: pointer;
}


/* =================================
   WHATSAPP
================================= */

.whatsapp-heading {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
}

.whatsapp-icon {
    display: flex;
    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #18ad61;
    border-radius: 50%;
}

.whatsapp-qr {
    display: block;
    width: 155px;
    height: 155px;
    margin: 15px auto 8px;

    object-fit: contain;
}

.scan-text {
    margin: 0 0 13px;

    color: #56615d;

    font-size: 10px;
    text-align: center;
}

.whatsapp-button {
    width: 100%;
}


/* =================================
   BRANDS
================================= */

.brands-section {
    padding: 5px 0 30px;
}

.contact-section-heading {
    display: flex;
    margin-bottom: 20px;

    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-section-heading span {
    width: 40px;
    height: 1px;

    background-color: #d99517;
}

.contact-section-heading h2 {
    margin: 0;

    color: #d99517;

    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.brand-item {
    padding: 14px;

    text-align: center;

    border-right: 1px solid #e6ded2;
}

.brand-item:last-child {
    border-right: none;
}

.brand-item strong {
    display: block;

    color: #163d31;

    font-size: 15px;
    text-transform: uppercase;
}

.brand-item span {
    display: block;

    color: #6c746f;

    font-size: 8px;
    text-transform: uppercase;
}


/* =================================
   TESTIMONIALS
================================= */

.testimonials-section {
    padding: 10px 0 70px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    padding: 22px;

    border: 1px solid #e6e0d7;
    border-radius: 7px;
}

.testimonial-stars {
    margin-bottom: 8px;

    color: #e29a13;
    letter-spacing: 2px;
}

.testimonial-card p {
    margin: 0 0 13px;

    color: #3f4c46;

    font-size: 12px;
    line-height: 1.6;
}

.testimonial-card strong {
    color: #57635e;

    font-size: 10px;
}


/* =================================
   TABLET
================================= */

@media (max-width: 1000px) {

    .contact-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-heading {
        grid-column: 1 / -1;
    }

    .contact-options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .whatsapp-panel {
        grid-column: 1 / -1;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =================================
   MOBILE
================================= */

@media (max-width: 650px) {

    .contact-container {
        width: calc(100% - 28px);
    }

    .contact-introduction {
        padding-top: 40px;
    }

    .contact-intro-grid,
    .contact-options-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-heading {
        grid-column: auto;
        margin-bottom: 15px;
    }

    .contact-heading h1 {
        font-size: 45px;
    }

    .contact-fact {
        padding: 14px 0;

        border-left: none;
        border-bottom: 1px solid #e8dfd1;
    }

    .whatsapp-panel {
        grid-column: auto;
    }

    .contact-panel {
        padding: 21px;
    }

    .form-row,
    .ai-questions {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 100%;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-item:nth-child(even) {
        border-right: none;
    }

    .testimonials-section {
        padding-bottom: 55px;
    }
}