/**
 * Contact page
 *
 * @package NourishLearnEngage
 */

.nle-contact-page {
    padding-top: 90px;
    background-color: #f6f6f1;
}

.nle-contact-hero {
    padding: 4rem 0 2.5rem;
    text-align: center;
    background: #fff;
}

.nle-contact-hero__badge {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    background: rgba(144, 154, 120, 0.12);
    color: #909a78;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nle-contact-hero__title {
    margin: 0 0 1rem;
    font-family: 'Flatline Sans', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.05;
    color: rgb(74, 56, 54);
}

.nle-contact-hero__intro {
    max-width: 40rem;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgb(42, 37, 34);
    opacity: 0.8;
}

.nle-contact-main {
    padding: 3rem 0 4rem;
}

.nle-contact-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .nle-contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 2rem;
        align-items: start;
    }
}

.nle-contact-cards {
    display: grid;
    gap: 1rem;
}

.nle-contact-card {
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e6dfde;
    background: #fff;
}

.nle-contact-card__title {
    margin: 0 0 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgb(42, 37, 34);
}

.nle-contact-card__text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgb(42, 37, 34);
    opacity: 0.8;
}

.nle-contact-card__text a {
    color: #909a78;
    text-decoration: none;
}

.nle-contact-card__text a:hover {
    text-decoration: underline;
}

.nle-contact-card__meta {
    display: block;
    margin-top: 0.35rem;
}

.nle-contact-form-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid #e6dfde;
    background: #fff;
    box-shadow: 0 18px 45px rgba(74, 56, 54, 0.08);
}

@media (min-width: 768px) {
    .nle-contact-form-card {
        padding: 2rem;
    }
}

.nle-contact-form-card__title {
    margin: 0 0 0.375rem;
    font-family: 'Flatline Sans', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: rgb(74, 56, 54);
}

.nle-contact-form-card__copy {
    margin: 0 0 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgb(42, 37, 34);
    opacity: 0.75;
}

.nle-contact-field {
    margin-bottom: 1rem;
}

.nle-contact-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(42, 37, 34);
}

.nle-contact-field input,
.nle-contact-field select,
.nle-contact-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d9d4d3;
    border-radius: 0.75rem;
    background: #fff;
    color: rgb(42, 37, 34);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
}

.nle-contact-field input:focus,
.nle-contact-field select:focus,
.nle-contact-field textarea:focus {
    outline: 2px solid rgba(144, 154, 120, 0.45);
    outline-offset: 1px;
    border-color: #909a78;
}

.nle-contact-field--hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.nle-contact-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border: 0;
    border-radius: 0.75rem;
    background: #909a78;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 25px rgba(144, 154, 120, 0.28);
}

.nle-contact-submit:hover {
    background: #7f8968;
    transform: translateY(-1px);
}

.nle-contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.nle-contact-message {
    min-height: 1.25rem;
    margin: 0.875rem 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.nle-contact-message.is-success {
    color: #166534;
}

.nle-contact-message.is-error {
    color: #b91c1c;
}

.nle-contact-bottom {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e6dfde;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.nle-contact-bottom p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgb(42, 37, 34);
    opacity: 0.85;
}

.nle-contact-bottom a {
    color: #909a78;
    font-weight: 600;
    text-decoration: none;
}

.nle-contact-bottom a:hover {
    text-decoration: underline;
}
