/* ==========================================================
   CONTACT PAGE (templates/page-contact.php)
   Builds on css/home.css; only what the Contact page adds.
   Scoped to .ajva-contact.
========================================================== */

/* ---------- hero: text only ---------- */

.ac-hero__inner {
    position: relative;
    max-width: 920px;
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
}

.ajva-contact .ac-hero__inner .ah-hero__lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- details and form ---------- */

.ac-main__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.ajva-contact .ac-details__title,
.ajva-contact .ac-form__title {
    margin-bottom: 24px;
    font-size: clamp(24px, 2.2vw, 30px);
}

.ajva-contact .ac-list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.ac-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    background: #fff;
}

.ac-item .ah-card__icon {
    flex: none;
    width: 46px;
    height: 46px;
    margin-bottom: 0;
    border-radius: 14px;
    font-size: 18px;
}

.ajva-contact .ac-item h3 {
    margin-bottom: 2px;
    color: var(--ah-navy);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.ajva-contact .ac-item p,
.ajva-contact .ac-item address {
    margin: 0;
    font-size: 15px;
    font-style: normal;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.ajva-contact .ac-item a,
.ajva-contact .ah-card a,
.ajva-contact .ah-lead a {
    color: var(--ah-orange-hover);
    text-decoration: underline;
}

.ac-form {
    padding: 32px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 22, 40, .06);
}

.ajva-contact .ac-form__title {
    margin-bottom: 8px;
}

.ajva-contact .ac-form__lead {
    margin-bottom: 24px;
    color: var(--ah-muted);
    font-size: 15px;
}

/* Fluent Forms keeps its own styles; only undo the .ajva-home resets
   that would collapse its spacing. */
.ajva-contact .ac-form .ff-el-group {
    margin-bottom: 18px;
}

.ajva-contact .ac-form .ff-el-input--label label {
    color: var(--ah-navy);
    font-weight: 600;
}

/* ---------- map ---------- */

.ac-map {
    overflow: hidden;
    border-radius: var(--ah-radius);
    background: var(--ah-tint);
}

.ac-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    .ac-main__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .ac-hero__inner {
        padding-top: 44px;
        padding-bottom: 44px;
        text-align: left;
    }

    .ac-form {
        padding: 22px 18px;
    }

    .ac-map iframe {
        height: 340px;
    }
}
