/* =====================================================
   Zesty Events - Quote request form (contact.htm)
   Added Oct 2026. All classes start with "zq-" so they
   don't clash with the theme styles.
   ===================================================== */

.zq-card {
    --zq-green: #3f9a1e;
    --zq-green-dark: #2f7a14;
    --zq-lime: #8cc63f;
    --zq-ink: #1d2318;
    --zq-muted: #5b6355;
    --zq-line: #d9ddd5;
    --zq-req: #f08a00;
    font-family: 'Plus Jakarta Sans', 'Open Sans', Arial, sans-serif;
    max-width: 800px;
    margin: 10px auto 60px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(29, 35, 24, 0.10);
    color: var(--zq-ink);
    text-align: left;
}

/* ---------- green header ---------- */
.zq-head {
    background: var(--zq-green);
    background: linear-gradient(135deg, #3f9a1e 0%, #4fae25 100%);
    color: #ffffff;
    padding: 22px 22px 24px;
}
.zq-head-top {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.zq-logo {
    background: #ffffff;
    border-radius: 12px;
    width: 188px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}
.zq-logo img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
}
.zq-stats {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.zq-stats li {
    margin: 0;
    padding: 0;
}
.zq-stats strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}
.zq-stats span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 4px;
}
.zq-promise {
    margin-top: 22px;
}
.zq-promise .zq-promise-title {
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    border: 0;
    background: none;
    line-height: 1.4;
}
.zq-promise p:not(.zq-promise-title) {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* ---------- form body ---------- */
.zq-body {
    padding: 26px 24px 28px;
}
.zq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}
.zq-field {
    margin-bottom: 16px;
}
.zq-full {
    grid-column: 1 / -1;
}
.zq-field label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--zq-ink);
    margin: 0 0 10px;
}
.zq-field label .zq-req {
    color: var(--zq-req);
    margin-left: 2px;
}
.zq-card .zq-field input,
.zq-card .zq-field select,
.zq-card .zq-field textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 16px; /* 16px stops iPhones zooming in on tap */
    color: var(--zq-ink);
    background: #ffffff;
    border: 1px solid var(--zq-line);
    border-radius: 10px;
    padding: 14px 16px;
    height: auto;
    min-height: 54px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.zq-card .zq-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.5;
}
.zq-card .zq-field input::placeholder,
.zq-card .zq-field textarea::placeholder {
    color: #8a9184;
}
.zq-card .zq-field input:focus,
.zq-card .zq-field select:focus,
.zq-card .zq-field textarea:focus {
    outline: none;
    border-color: var(--zq-green);
    box-shadow: 0 0 0 3px rgba(63, 154, 30, 0.18);
}

/* ---------- terms + button ---------- */
.zq-terms {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 6px 0 24px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--zq-muted);
    font-weight: 400;
    cursor: pointer;
}
.zq-terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    flex-shrink: 0;
    accent-color: var(--zq-green);
    cursor: pointer;
}
.zq-terms strong {
    color: var(--zq-ink);
    font-weight: 600;
}
.zq-terms a {
    color: var(--zq-green-dark);
    text-decoration: underline;
}
.zq-actions {
    text-align: right;
}
.zq-btn {
    display: inline-block;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    background: var(--zq-green);
    border: 0;
    border-radius: 8px;
    padding: 16px 36px;
    min-width: 230px;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.zq-btn:hover,
.zq-btn:focus {
    background: var(--zq-green-dark);
    color: #ffffff;
}
.zq-btn:active {
    transform: translateY(1px);
}
.zq-alt {
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--zq-muted);
    text-align: right;
}
.zq-alt a {
    color: var(--zq-green-dark);
    font-weight: 600;
}

/* honeypot: hidden from people, catches spam bots */
.zq-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
    .zq-card {
        border-radius: 14px;
        margin-bottom: 40px;
    }
    .zq-head {
        padding: 18px 16px 20px;
    }
    .zq-head-top {
        gap: 18px;
    }
    .zq-logo {
        width: 100%;
        height: 120px;
    }
    .zq-stats {
        gap: 18px;
        width: 100%;
        justify-content: space-between;
    }
    .zq-stats strong {
        font-size: 20px;
    }
    .zq-stats span {
        font-size: 13px;
    }
    .zq-body {
        padding: 22px 16px 24px;
    }
    .zq-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .zq-actions,
    .zq-alt {
        text-align: center;
    }
    .zq-btn {
        width: 100%;
    }
}

/* ---------- narrow version (slide-out menu panel) ---------- */
.zq-card.zq-compact {
    margin: 20px auto 30px;
    max-width: 520px;
}
.zq-compact .zq-head {
    padding: 18px 16px 20px;
}
.zq-compact .zq-head-top {
    gap: 16px;
}
.zq-compact .zq-logo {
    width: 100%;
    height: 110px;
}
.zq-compact .zq-stats {
    width: 100%;
    gap: 14px;
    justify-content: space-between;
}
.zq-compact .zq-stats strong {
    font-size: 19px;
}
.zq-compact .zq-stats span {
    font-size: 12px;
}
.zq-compact .zq-body {
    padding: 20px 16px 22px;
}
.zq-compact .zq-grid {
    grid-template-columns: 1fr;
    gap: 0;
}
.zq-compact .zq-actions,
.zq-compact .zq-alt {
    text-align: center;
}
.zq-compact .zq-btn {
    width: 100%;
    min-width: 0;
}
