.sg-contact-form-wrap,
.sg-contact-form-wrap * {
    box-sizing: border-box;
}

.sg-contact-form-wrap {
    --sg-form-red: #ef101d;
    --sg-form-red-dark: #c70914;
    --sg-form-black: #18181b;
    --sg-form-text: #4d4d56;
    --sg-form-muted: #73737d;
    --sg-form-border: #dedee3;
    --sg-form-bg: #ffffff;

    width: min(820px, 100%);
    margin: 0 auto;
    color: var(--sg-form-black);
    font-family: Arial, Helvetica, sans-serif;
}

.sg-contact-form,
.sg-form-message {
    width: 100%;
}

.sg-contact-form {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid #e5e5e9;
    border-top: 5px solid var(--sg-form-red);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(239, 16, 29, .09), transparent 28%),
        var(--sg-form-bg);
    box-shadow: 0 16px 42px rgba(18, 18, 20, .09);
}

.sg-contact-form__header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.sg-contact-form__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--sg-form-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.sg-contact-form__eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    background: var(--sg-form-red);
}

.sg-contact-form__header h2 {
    margin: 0 0 10px;
    color: var(--sg-form-black);
    font-family: "Arial Narrow", Impact, Arial, sans-serif;
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.8px;
    text-transform: uppercase;
}

.sg-contact-form__header p {
    margin: 0;
    color: var(--sg-form-muted);
    font-size: 16px;
    line-height: 1.65;
}

.sg-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sg-field {
    margin-bottom: 20px;
}

.sg-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--sg-form-black);
    font-size: 14px;
    font-weight: 800;
}

.sg-field label span {
    color: var(--sg-form-red);
}

.sg-field input,
.sg-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--sg-form-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--sg-form-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

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

.sg-field input:hover,
.sg-field textarea:hover {
    border-color: #bcbcc4;
}

.sg-field input:focus,
.sg-field textarea:focus {
    outline: 0;
    border-color: var(--sg-form-red);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(239, 16, 29, .12);
}

.sg-consent {
    margin: 5px 0 25px;
    padding: 17px;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 10px;
    background: #f7f7f9;
}

.sg-consent label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--sg-form-text);
    font-size: 14px;
    line-height: 1.6;
}

.sg-consent input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: var(--sg-form-red);
}

.sg-consent a {
    color: var(--sg-form-red-dark) !important;
    font-weight: 800;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.sg-submit {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 29px;
    border: 2px solid var(--sg-form-red);
    border-radius: 7px;
    background: var(--sg-form-red);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(239, 16, 29, .24);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sg-submit:hover,
.sg-submit:focus-visible {
    border-color: var(--sg-form-black);
    background: var(--sg-form-black);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(24, 24, 27, .2);
}

.sg-submit:focus-visible {
    outline: 3px solid rgba(239, 16, 29, .25);
    outline-offset: 3px;
}

.sg-required-note {
    margin: 13px 0 0;
    color: var(--sg-form-muted);
    font-size: 13px;
}

.sg-form-message {
    margin-bottom: 20px;
    padding: 17px 19px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.55;
}

.sg-form-message p,
.sg-form-message ul {
    margin: 0;
}

.sg-form-message ul {
    padding-left: 21px;
}

.sg-form-message--success {
    border: 1px solid #88c89f;
    background: #eaf8ef;
    color: #174d2c;
}

.sg-form-message--error {
    border: 1px solid #e1a0a0;
    background: #fff0f0;
    color: #762121;
}

.sg-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 680px) {
    .sg-contact-form {
        padding: 27px 19px;
        border-radius: 14px;
    }

    .sg-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sg-contact-form__header {
        margin-bottom: 25px;
    }

    .sg-contact-form__header h2 {
        font-size: clamp(36px, 12vw, 48px);
    }

    .sg-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-field input,
    .sg-field textarea,
    .sg-submit {
        transition: none;
    }
}

.sg-security-question {
    margin: 3px 0 22px;
    padding: 18px;
    border: 1px solid rgba(239, 16, 29, .2);
    border-radius: 10px;
    background: rgba(239, 16, 29, .045);
}

.sg-security-question .sg-field {
    margin-bottom: 0;
}

.sg-field--security input {
    width: 110px;
    max-width: 100%;
    font-weight: 800;
    text-align: center;
}

.sg-field-help {
    margin: 8px 0 0;
    color: var(--sg-form-muted);
    font-size: 13px;
    line-height: 1.5;
}

.sg-submit:disabled,
.sg-submit[aria-disabled="true"] {
    cursor: wait;
    opacity: .72;
    transform: none;
}
