/* =========================================
   CONTACT US PAGE
   Forest & Walnut Theme
========================================= */

.contact-page {
    --contact-forest: #263D32;
    --contact-copper: #B87950;
    --contact-ivory: #F8F6F1;
    --contact-linen: #E5E0D5;
    --contact-white: #FFFFFF;
    --contact-text: #353932;
    --contact-muted: #73766F;
    --contact-border: rgba(38, 61, 50, 0.15);

    background: var(--contact-ivory);
    color: var(--contact-text);
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p {
    margin-top: 0;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
    color: var(--contact-forest);
    line-height: 1.3;
}

.contact-container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.contact-page p {
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--contact-copper);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* HERO */

.contact-hero {
    padding: 75px 0 85px;
    background: var(--contact-ivory);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    align-items: center;
    gap: 75px;
}

.contact-hero-content {
    max-width: 590px;
}

.contact-hero-content h1 {
    margin-bottom: 23px;
    font-size: clamp(36px, 4.4vw, 57px);
    font-weight: 500;
    letter-spacing: -1.6px;
}

.contact-hero-content h1 span {
    color: var(--contact-copper);
}

.contact-hero-content > p {
    max-width: 550px;
    margin-bottom: 24px;
}

.contact-hero-points {
    display: grid;
    gap: 13px;
    margin-top: 26px;
}

.contact-hero-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--contact-forest);
    font-size: 13px;
}

.contact-check {
    display: grid;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: var(--contact-linen);
    color: var(--contact-forest);
    font-size: 12px;
}

.contact-hero-image {
    position: relative;
    height: 480px;
}

.contact-hero-image > img {
    border-radius: 4px;
}

.contact-image-note {
    position: absolute;
    right: -20px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 285px;
    padding: 19px 22px;
    background: var(--contact-white);
    box-shadow: 0 12px 35px rgba(38, 61, 50, 0.12);
}

.contact-note-symbol {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    background: var(--contact-linen);
    color: var(--contact-copper);
    font-size: 22px;
}

.contact-image-note strong,
.contact-image-note div span {
    display: block;
}

.contact-image-note strong {
    margin-bottom: 4px;
    color: var(--contact-forest);
    font-size: 12px;
    font-weight: 600;
}

.contact-image-note div span {
    color: var(--contact-muted);
    font-size: 11px;
}


/* SECTION HEADINGS */

.contact-section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-section-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(29px, 3.2vw, 41px);
    font-weight: 500;
    letter-spacing: -0.8px;
}

.contact-section-heading p {
    max-width: 620px;
    margin: 0 auto;
}


/* CONTACT INFORMATION CARDS */

.contact-details {
    padding: 85px 0;
    background: var(--contact-white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.contact-info-card {
    min-width: 0;
    padding: 32px 27px;
    border: 1px solid var(--contact-border);
    background: var(--contact-white);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: var(--contact-copper);
}

.contact-info-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    place-items: center;
    background: var(--contact-linen);
}

.contact-info-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: var(--contact-forest);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-card h3 {
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 500;
}

.contact-info-card p {
    min-height: 54px;
    margin-bottom: 15px;
    font-size: 12px;
}

.contact-info-card > a,
.contact-info-placeholder {
    display: inline-block;
    max-width: 100%;
    color: var(--contact-forest);
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-info-card > a:hover {
    color: var(--contact-copper);
}


/* FORM SECTION */

.contact-form-section {
    padding: 100px 0;
    background: var(--contact-ivory);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
    gap: 65px;
}

.contact-form-intro {
    padding-top: 15px;
}

.contact-form-intro h2 {
    max-width: 460px;
    margin-bottom: 20px;
    font-size: clamp(30px, 3.5vw, 43px);
    font-weight: 500;
    letter-spacing: -1px;
}

.contact-form-intro > p {
    max-width: 490px;
}

.contact-form-benefits {
    display: grid;
    gap: 24px;
    margin-top: 38px;
}

.contact-form-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-benefit-number {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    background: var(--contact-linen);
    color: var(--contact-forest);
    font-size: 12px;
    font-weight: 600;
}

.contact-form-benefit h3 {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.contact-form-benefit p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.8;
}

.contact-form-side-image {
    height: 250px;
    margin-top: 35px;
    overflow: hidden;
}

.contact-form-side-image img {
    border-radius: 3px;
}


/* FORM CARD */

.contact-form-card {
    min-width: 0;
    padding: 38px;
    border: 1px solid var(--contact-border);
    background: var(--contact-white);
    box-shadow: 0 15px 45px rgba(38, 61, 50, 0.045);
}

.contact-form-heading {
    margin-bottom: 28px;
}

.contact-form-heading h2 {
    margin-bottom: 9px;
    font-size: 27px;
    font-weight: 500;
}

.contact-form-heading p {
    margin-bottom: 0;
    font-size: 12px;
}

.contact-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.contact-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: var(--contact-forest);
    font-size: 12px;
    font-weight: 500;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--contact-border);
    border-radius: 2px;
    outline: none;
    background: #FCFBF8;
    color: var(--contact-text);
    font: inherit;
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #96978F;
    opacity: 1;
}

.contact-field select {
    cursor: pointer;
}

.contact-field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--contact-copper);
    background: var(--contact-white);
    box-shadow: 0 0 0 3px rgba(184, 121, 80, 0.10);
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.8;
    cursor: pointer;
}

.contact-consent input {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    accent-color: var(--contact-forest);
    cursor: pointer;
}

.contact-consent a {
    color: var(--contact-forest);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-submit-btn {
    display: flex;
    width: 100%;
    min-height: 53px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 24px;
    padding: 14px 19px;
    border: 1px solid var(--contact-forest);
    border-radius: 2px;
    background: var(--contact-forest);
    color: var(--contact-white);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.contact-submit-btn span {
    font-size: 21px;
    transition: transform 0.25s ease;
}

.contact-submit-btn:hover {
    border-color: var(--contact-copper);
    background: var(--contact-copper);
}

.contact-submit-btn:hover span {
    transform: translateX(4px);
}

.contact-form-disclaimer {
    margin: 14px 0 0;
    font-size: 10px !important;
    line-height: 1.7 !important;
}


/* FAQ */

.contact-faq {
    padding: 90px 0;
    background: var(--contact-white);
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-faq-item {
    padding: 25px 26px;
    border: 1px solid var(--contact-border);
    background: var(--contact-white);
}

.contact-faq-item h3 {
    margin-bottom: 11px;
    font-size: 15px;
    font-weight: 600;
}

.contact-faq-item p {
    margin-bottom: 0;
    font-size: 12px;
}


/* BOTTOM CTA */

.contact-bottom-cta {
    padding: 65px 0;
    background: var(--contact-forest);
}

.contact-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.contact-bottom-inner > div {
    max-width: 760px;
}

.contact-bottom-cta .contact-eyebrow {
    color: #D8B08E;
}

.contact-bottom-cta h2 {
    margin-bottom: 12px;
    color: var(--contact-white);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -0.6px;
}

.contact-bottom-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.contact-bottom-btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 13px 20px;
    background: var(--contact-ivory);
    color: var(--contact-forest);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.contact-bottom-btn span {
    font-size: 19px;
}

.contact-bottom-btn:hover {
    background: var(--contact-copper);
    color: var(--contact-white);
}


/* TABLET */

@media (max-width: 1024px) {
    .contact-hero-grid {
        gap: 40px;
    }

    .contact-hero-image {
        height: 420px;
    }

    .contact-form-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 35px;
    }

    .contact-form-card {
        padding: 28px;
    }

    .contact-info-card {
        padding: 26px 22px;
    }
}


/* MOBILE */

@media (max-width: 700px) {
    .contact-container {
        width: min(100% - 32px, 520px);
    }

    .contact-hero,
    .contact-details,
    .contact-form-section,
    .contact-faq {
        padding: 62px 0;
    }

    .contact-hero-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .contact-hero-content h1 {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -1px;
    }

    .contact-hero-image {
        height: 340px;
        margin-right: 10px;
    }

    .contact-image-note {
        right: -10px;
        bottom: 16px;
        max-width: 255px;
        padding: 14px;
    }

    .contact-section-heading {
        margin-bottom: 32px;
    }

    .contact-section-heading h2,
    .contact-form-intro h2 {
        font-size: 30px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-info-card {
        padding: 24px;
    }

    .contact-info-icon {
        margin-bottom: 17px;
    }

    .contact-info-card p {
        min-height: auto;
    }

    .contact-form-intro {
        padding-top: 0;
    }

    .contact-form-benefits {
        gap: 20px;
        margin-top: 28px;
    }

    .contact-form-side-image {
        height: 220px;
        margin-top: 28px;
    }

    .contact-form-card {
        padding: 24px 19px;
    }

    .contact-form-heading h2 {
        font-size: 25px;
    }

    .contact-field-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-faq-item {
        padding: 22px;
    }

    .contact-bottom-cta {
        padding: 55px 0;
    }

    .contact-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .contact-bottom-btn {
        width: 100%;
    }
}


/* SMALL MOBILE */

@media (max-width: 380px) {
    .contact-container {
        width: calc(100% - 24px);
    }

    .contact-form-card {
        padding: 20px 14px;
    }

    .contact-hero-image {
        height: 290px;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
