/* ── HERO BANNER ── */
.contact-hero {
    background: linear-gradient(163.79deg, #EBDB73 33.49%, #49B06D 84.49%);
    min-height: 400px;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.contact-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: clamp(72px, 13vw, 160px);
    color: transparent;
    letter-spacing: -1%;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    -webkit-text-stroke: 3px #FFFFFF66;
    text-shadow: 0px 16px 32px -12px #585C5F1A;
}

.contact-banner {
    position: relative;
    z-index: 2;
}

/* ── CONTACT GRID ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

.contact-image {
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.placeholder-person {
    width: 200px;
    height: 240px;
    background: linear-gradient(180deg, #b8d898 0%, #78b848 100%);
    border-radius: 12px 12px 80px 80px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* ── MAPS ── */
.maps-section {
    padding: 64px 0;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 0;
}

.map-card h3 {
    font-family: inherit;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 48px;
    letter-spacing: -1%;
    margin-bottom: 32px;
}

.map-meta {
    margin-bottom: 32px;
}

.map-meta p {
    color: var(--color-500);
    margin-bottom: 16px;
}

.map-meta span {
    color: var(--primary);
}

.map-frame {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 292px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ─────────────────────────
   NINJA FORMS CARD
───────────────────────── */
#nf-form-1-cont {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    padding: 24px;
}

/* Hide default required text */
#nf-form-1-cont .nf-form-fields-required {
    display: none;
}

/* Title */
#nf-form-1-cont .nf-form-title h3 {
    font-family: inherit;
    font-weight: 600;
    font-size: clamp(20px, 3vw, 24px);
    color: var(--color-500);
    line-height: 32px;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-200);
}


/* Field wrapper */
#nf-form-1-cont .nf-field-container {
    margin-bottom: 0;
}

/* Labels */
#nf-form-1-cont .nf-field-label label {
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-900);
    margin-bottom: 8px;
}

/* Inputs + Textarea */
#nf-form-1-cont input:not([type="submit"]),
#nf-form-1-cont textarea {
    width: 100%;
    border: 1px solid var(--color-200);
    border-radius: var(--radius-sm);
    padding: 24px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg-white);
    color: var(--color-500);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

#nf-form-1-cont textarea  {
    height: 158px;
}

/* Focus state */
#nf-form-1-cont input:not([type="submit"]):focus,
#nf-form-1-cont textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 164, 74, .12);
}

/* Textarea */
#nf-form-1-cont textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit button */
#nf-form-1-cont input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s, transform .15s;
}

#nf-form-1-cont input[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

#nf-form-1-cont input[type="submit"]:active {
    transform: translateY(0);
}

/* Error messages */
#nf-form-1-cont .nf-error-msg,
#nf-form-1-cont .nf-error-wrap {
    font-size: 12px;
    margin-top: 6px;
}


@media (max-width: 1024px) {

    .contact-hero {
        min-height: 33.2vw;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .maps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.34vw;
    }

}


@media (max-width: 768px) {

    .contact-wrap {
        margin-top: 1.56vw;
    }

    .contact-hero {
        min-height: 36.46vw;
        border-radius: var(--radius-sm);
    }

    .contact-title {
        font-size: clamp(48px, 10vw, 80px);
    }
    

    .maps-section {
        padding: 6.25vw 0;
    }

    .maps-grid {
        grid-template-columns: 1fr;
    }
    
    #nf-form-1-cont .nf-field-container{
        width: 100%;
        margin: 0;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .contact-wrap {
        margin-top: 1.67vw;
    }

    .contact-hero {
        min-height: 33.33vw;
        border-radius: 14px;
    }
    
    
    .contact-grid {
        gap: 3.33vw;
    }


    .maps-section {
        padding: 6vw 0;
    }

    .maps-grid {
        gap: 4vw;
    }


}