* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    padding: 10px 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #0a4d87;
    background: #ffffff;
}

form {
    width: 98%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
    color: #0a4d87;
    font-weight: bold;
}

.required {
    margin-left: 4px;
    color: #777777;
    font-size: 10px;
    font-weight: normal;
}

input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 5px 18px;
    border: 1px solid #d71d57;
    border-radius: 7px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

input[type="email"],
input[type="tel"] {
    height: 25px;
    background: #ffffe8;
}

textarea {
    min-height: 100px;
    resize: vertical;
    background: #ffffff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #a9003b;
    box-shadow: 0 0 3px rgba(180, 0, 69, 0.25);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.captcha-row label {
    margin: 0;
    white-space: nowrap;
}

.captcha-row input {
    width: 80px;
    height: 25px;
    background: #ffffe8;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    text-align: center;
    color: #0a4d87;
}

.contact-info img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

button[type="submit"] {
    padding: 5px 14px;
    border: 1px solid #7c0032;
    border-radius: 7px;
    background: linear-gradient(#d82a69, #a80c43);
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: linear-gradient(#e43a78, #940b3c);
}

button[type="submit"]:active {
    transform: translateY(1px);
}

.response-time {
    color: #0a4d87;
    font-weight: bold;
}

@media (max-width: 500px) {
    body {
        padding: 8px;
    }

    form {
        width: 95%;
    }

    textarea {
        min-height: 130px;
    }

    .contact-info {
        line-height: 1.4;
    }

    .form-footer {
        flex-direction: column;
        gap: 8px;
    }
}