.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lead-form__field {
    position: relative;
}

.lead-form__field input.is-invalid,
.lead-form__field textarea.is-invalid {
    border-color: #d92d20;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.form-error {
    display: block;
    margin-top: 8px;
    color: #d92d20;
    font-size: 13px;
    line-height: 1.4;
}

.button--form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.button.loading .button-loader {
    display: inline-block;
}

.button.loading .button-text {
    display: none;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.success-modal.active {
    visibility: visible;
    opacity: 1;
}

.success-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 20, 0.72);
    backdrop-filter: blur(6px);
}

.success-modal__content {
    position: relative;
    width: 460px;
    max-width: calc(100% - 40px);
    padding: 48px;
    background: #ffffff;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.25s ease;
}

.success-modal.active .success-modal__content {
    transform: translateY(0) scale(1);
}

.success-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f4f4f5;
    color: #111114;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.success-check {
    width: 86px;
    height: 86px;
    margin-bottom: 26px;
}

.success-check circle {
    fill: #ff9700;
    stroke: #ff9700;
    stroke-width: 2;
}

.success-check path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.success-modal.active .success-check path {
    animation: draw-check 0.45s ease 0.15s forwards;
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

.success-modal h3 {
    margin: 0 0 14px;
    color: #111114;
    font-family: Manrope, sans-serif;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.success-modal p {
    margin: 0 0 30px;
    color: #5f6368;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.success-modal__button {
    border: 0;
    border-radius: 999px;
    padding: 15px 32px;
    background: #ff9700;
    color: #111114;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 575px) {
    .success-modal__content {
        padding: 38px 24px;
    }

    .success-modal h3 {
        font-size: 26px;
    }
}
