/* ==========================================================================
   Contact Page — page banner, form card, info band, map
   Reuses the design tokens, .eyebrow, .section-title, .corner-marks and
   .reveal-item system already defined in styles.css.
   ========================================================================== */

/* ---------- Page banner ---------- */
.page-banner {
    position: relative;
    padding: 3.5rem 0 3rem;
    background-color: var(--blue-deep);
    background-image: linear-gradient(120deg, var(--color-primary-blue) 0%, var(--blue-deep) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Faint chevron pattern so the banner still looks intentional before a
   real background photo is dropped in. Safe to leave in place even after
   an image is added — it sits under the color overlay. */
.page-banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.6) 47%, transparent 47%),
        linear-gradient(135deg, transparent 60%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0.6) 62%, transparent 62%);
    background-size: 220px 220px;
    pointer-events: none;
}

.page-banner .eyebrow {
    position: relative;
    z-index: 1;
}

.page-banner-title {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
}

@media (min-width: 768px) {
    .page-banner {
        padding: 3rem 4.5rem;
    }

    .page-banner-title {
        font-size: 3rem;
    }
}

/* ---------- Contact form section ---------- */
.contact-form-section {
    padding: 3rem 0;
    background: var(--steel-50);
    padding-bottom: 1rem;
}

.contact-lead {
    max-width: 560px;
    margin: 0.5rem auto 0;
    color: var(--slate);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    /* background: #FFFFFF; */
    border-radius: 22px;
    /* box-shadow: var(--shadow-floating-card); */
    overflow: hidden;
}

.contact-card-media {
    position: relative;
    min-height: 220px;
    /* background: linear-gradient(160deg, var(--color-primary-blue) 0%, var(--blue-deep) 100%); */
}

.contact-card-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.contact-card-form {
    padding: 2rem 1.5rem 2.25rem;
}

.contact-form-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary-blue);
    margin: 0.35rem 0 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--slate);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--steel-300);
    background: var(--steel-50);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.88rem;
    transition: border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--slate-light);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary-blue);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(28, 100, 242, 0.12);
}

.contact-submit {
    align-self: flex-start;
    margin-top: 0.25rem;
}

.contact-card .reveal-item {
    transition-delay: 0s;
}

.contact-card-form.reveal-item {
    transition-delay: 0.12s;
    border: 0.19rem solid #427be7;
    border-radius: 3rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
    margin: 2.53rem 0;
    margin-bottom: 0;
}

@media (min-width: 700px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .contact-card {
        grid-template-columns: 0.45fr 0.9fr;
    }

    .contact-card-media,
    .contact-card-img {
        min-height: 55%;
    }

    .contact-card-form {
        padding: 3rem 3.25rem;
    }
}

/* ---------- Info band + map ---------- */
.contact-info-section {
    background: var(--ink);
}

.contact-info-band {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0 2.5rem;
}

.contact-info-item {
    text-align: center;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--blue-deep);
    margin-bottom: 0.9rem;
}

.contact-info-title {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-info-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.55;
    max-width: 260px;
    margin: 0 auto;
}

.contact-map-wrap {
    padding-bottom: 0;
}

.contact-map {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    filter: grayscale(0.15) contrast(1.02);
}

@media (min-width: 700px) {
    .contact-info-band {
        grid-template-columns: repeat(3, 1fr);
        padding: 3.5rem 0;
    }
}

@media (min-width: 992px) {
    .contact-map {
        height: 420px;
    }
}

@media (max-width: 699px) {
    .contact-card-form.reveal-item {

        margin-top: 0;
        border: 0;
    }
}