.smp-contact-form-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 34px 32px;
    background: linear-gradient(180deg, #f6f4f7 0%, #efedf1 100%);
    border: 1px solid #ebe7ee;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(27, 32, 50, 0.08);
}

.smp-contact-form-title {
    margin: 0 0 24px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #252a3b;
}

.smp-contact-form {
    display: grid;
    gap: 18px;
    width: 100%;
}

.smp-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.smp-field label {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #666b95;
}

.smp-field label span {
    color: #d71919;
}

.smp-field input,
.smp-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfd3df;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2430;
    padding: 15px 16px;
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.smp-field input {
    min-height: 56px;
}

.smp-field textarea {
    min-height: 170px;
    resize: vertical;
}

.smp-field input::placeholder,
.smp-field textarea::placeholder {
    color: #7d8597;
}

.smp-field input:focus,
.smp-field textarea:focus {
    outline: none;
    border-color: #d71919;
    box-shadow: 0 0 0 4px rgba(215, 25, 25, 0.10);
}

.smp-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    padding: 16px 26px;
    background: linear-gradient(180deg, #eb1c1c 0%, #cf1111 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(207, 17, 17, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.smp-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(207, 17, 17, 0.28);
}

.smp-submit:active {
    transform: translateY(0);
}

.smp-hp-wrap {
    position: absolute !important;
    left: -99999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.smp-submit:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.smp-form-response {
    display: none;
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.smp-form-response:not(:empty) {
    display: block;
}

.smp-success {
    background: #e8f8ee;
    color: #126b33;
    border: 1px solid #bde8ca;
}

.smp-error {
    background: #fdecec;
    color: #9f1c1c;
    border: 1px solid #f5c2c2;
}

@media (max-width: 767px) {
    .smp-contact-form-wrapper {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .smp-contact-form-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .smp-field input,
    .smp-field textarea {
        font-size: 15px;
    }

    .smp-submit {
        font-size: 16px;
        min-height: 54px;
    }
}
