.zappx-quote-form-wrap {
    width: 100%;
    max-width: 980px;
    margin: 30px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.zappx-quote-form-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(13, 73, 118, 0.12);
    border: 1px solid rgba(27, 116, 188, 0.12);
    overflow: hidden;
    font-family: inherit;
}

.zappx-quote-form-heading {
    background: linear-gradient(135deg, #164f7f 0%, #1d7fd1 100%);
    color: #ffffff;
    padding: 34px 36px 30px;
    position: relative;
}

.zappx-quote-form-heading::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 130px;
    height: 130px;
    border: 22px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.zappx-quote-form-heading span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.zappx-quote-form-heading h2 {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
    font-weight: 800;
}

.zappx-quote-form-heading p {
    margin: 0;
    max-width: 640px;
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.6;
}

.zappx-quote-form {
    padding: 34px 36px 38px;
}

.zappx-grid {
    display: grid;
    gap: 18px;
}

.zappx-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zappx-field,
.zappx-services {
    margin-bottom: 18px;
}

.zappx-field label,
.zappx-services legend {
    display: block;
    color: #162f45;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.zappx-field label span,
.zappx-services legend span {
    color: #1e8ee7;
}

.zappx-field input[type="text"],
.zappx-field input[type="tel"],
.zappx-field input[type="email"],
.zappx-field input[type="file"],
.zappx-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe7f1;
    background: #f8fbfe;
    border-radius: 12px;
    color: #20384c;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    padding: 14px 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.zappx-field input[type="file"] {
    padding: 13px;
    cursor: pointer;
}

.zappx-field textarea {
    resize: vertical;
    min-height: 135px;
}

.zappx-field input:focus,
.zappx-field textarea:focus {
    background: #ffffff;
    border-color: #1e8ee7;
    box-shadow: 0 0 0 4px rgba(30, 142, 231, 0.12);
}

.zappx-field small {
    display: block;
    margin-top: 7px;
    color: #60798f;
    font-size: 12px;
    line-height: 1.5;
}

.zappx-services {
    border: 1px solid #dbe7f1;
    background: #f8fbfe;
    border-radius: 16px;
    padding: 18px;
}

.zappx-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.zappx-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e0ecf5;
    border-radius: 12px;
    padding: 12px 13px;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.zappx-checkbox:hover {
    border-color: #1e8ee7;
    box-shadow: 0 8px 18px rgba(13, 73, 118, 0.08);
    transform: translateY(-1px);
}

.zappx-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #b8cfe0;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.zappx-checkbox input[type="checkbox"]:checked {
    border-color: #1e8ee7;
    background: #1e8ee7;
}

.zappx-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.zappx-checkbox span {
    color: #24445c;
    font-size: 14px;
    font-weight: 600;
}

.zappx-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 180px;
    border: 0;
    border-radius: 12px;
    background: #1e8ee7;
    color: #ffffff;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(30, 142, 231, 0.28);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.zappx-submit-button:hover,
.zappx-submit-button:focus {
    background: #164f7f;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(22, 79, 127, 0.30);
}

.zappx-form-message {
    margin: 26px 36px 0;
    border-radius: 14px;
    padding: 15px 18px;
    font-size: 14px;
    line-height: 1.6;
}

.zappx-form-message ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.zappx-form-success {
    background: #eaf8f0;
    border: 1px solid #b8e6c9;
    color: #176336;
}

.zappx-form-error {
    background: #fff1f1;
    border: 1px solid #ffc9c9;
    color: #8c1f1f;
}

.zappx-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .zappx-quote-form-wrap {
        margin: 22px auto;
        padding: 0 12px;
    }

    .zappx-quote-form-heading {
        padding: 28px 22px 24px;
    }

    .zappx-quote-form {
        padding: 26px 22px 30px;
    }

    .zappx-grid-2,
    .zappx-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .zappx-form-message {
        margin: 20px 22px 0;
    }

    .zappx-submit-button {
        width: 100%;
    }
}
