.zb-contact {
    padding: 76px 0;
    background: linear-gradient(180deg, var(--zb-white) 0%, #fbfaf8 100%);
}

.zb-contact__intro {
    max-width: 860px;
    margin-right: auto;
    margin-bottom: 34px;
    margin-left: auto;
    text-align: center;
}

.zb-contact__intro h2 {
    font-size: clamp(2rem, 3.3vw, 3.35rem);
}

.zb-contact__intro p:not(.zb-eyebrow) {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    color: #545454;
    font-size: 1.06rem;
}

.zb-contact__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 42px;
}

.zb-contact-card {
    min-width: 0;
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--zb-border);
    border-radius: 8px;
    background: var(--zb-white);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.zb-contact-card:hover {
    border-color: rgba(240, 122, 0, 0.36);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.zb-contact-card__icon,
.zb-contact__section-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--zb-primary);
    font-size: 1.22rem;
    background: rgba(240, 122, 0, 0.1);
}

.zb-contact-card__icon {
    margin-bottom: 18px;
}

.zb-contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.zb-contact-card p,
.zb-contact-card a {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
    color: #555555;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
}

.zb-contact-card a:hover {
    color: var(--zb-primary);
}

.zb-contact__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}

.zb-contact__map,
.zb-contact__form {
    min-width: 0;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--zb-border);
    border-radius: 8px;
    background: var(--zb-white);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
}

.zb-contact__section-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.zb-contact__section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.zb-contact__section-head p {
    margin: 0;
    color: #555555;
}

.zb-contact__map-frame {
    overflow: hidden;
    min-height: 420px;
    border-radius: 8px;
    background: var(--zb-muted);
}

.zb-contact__map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.zb-contact__shortcode {
    margin-top: 18px;
}

.zb-contact__shortcode input,
.zb-contact__shortcode select,
.zb-contact__shortcode textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    border: 1px solid var(--zb-border);
    border-radius: 6px;
}

.zb-contact__shortcode button,
.zb-contact__shortcode input[type="submit"] {
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid var(--zb-primary);
    border-radius: 6px;
    color: var(--zb-white);
    font-weight: 700;
    background: var(--zb-primary);
    cursor: pointer;
}

.zb-contact__notice {
    display: grid;
    min-height: 120px;
    align-items: center;
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--zb-primary);
    border-radius: 8px;
    color: var(--zb-dark);
    font-weight: 700;
    background: rgba(240, 122, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .zb-contact-card {
        transition: none;
    }

    .zb-contact-card:hover {
        transform: none;
    }
}

@media (max-width: 1020px) {
    .zb-contact__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zb-contact__main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .zb-contact {
        padding: 56px 0;
    }

    .zb-contact__cards {
        grid-template-columns: 1fr;
    }

    .zb-contact-card {
        min-height: auto;
        padding: 22px;
    }

    .zb-contact__map,
    .zb-contact__form {
        padding: 22px;
    }

    .zb-contact__section-head {
        display: block;
    }

    .zb-contact__section-icon {
        margin-bottom: 14px;
    }

    .zb-contact__map-frame,
    .zb-contact__map-frame iframe {
        min-height: 320px;
        height: 320px;
    }
}
