.contact-wizard-page .contact-section {
    padding-block: 2.5rem 5rem;
}

.contact-wizard-page .contact-eyebrow,
.contact-wizard-page .contact-info-kicker {
    margin-bottom: 0.75rem;
    color: #22d3ee;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.contact-wizard-page .contact-layout > * {
    min-width: 0;
}

.contact-wizard-page .contact-info h2 {
    text-wrap: balance;
}

.contact-wizard-page #contact-wizard {
    scroll-margin-top: 7rem;
}

.contact-wizard-page #contact-wizard [hidden] {
    display: none !important;
}

.contact-wizard-page .wizard-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.contact-wizard-page .wizard-progress {
    margin-bottom: 1.5rem;
}

.contact-wizard-page .wizard-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-wizard-page .wizard-steps li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.contact-wizard-page .wizard-step-number {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #475569;
    border-radius: 50%;
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.contact-wizard-page .wizard-steps .is-current {
    color: #fff;
}

.contact-wizard-page .wizard-steps .is-current .wizard-step-number {
    border-color: #22d3ee;
    background: #22d3ee;
    color: #0f172a;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.contact-wizard-page .wizard-steps .is-complete .wizard-step-number {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(6, 182, 212, 0.12);
    color: #22d3ee;
}

.contact-wizard-page .wizard-progress-track {
    height: 3px;
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: 2px;
    background: #334155;
}

.contact-wizard-page .wizard-progress-track span {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: #22d3ee;
    transition: width 0.2s ease;
}

.contact-wizard-page .wizard-status {
    margin-top: 0.875rem;
    color: #94a3b8;
    font-size: 0.75rem;
}

.contact-wizard-page .wizard-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.contact-wizard-page .wizard-title:focus {
    outline: none;
}

.contact-wizard-page .wizard-fields {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.contact-wizard-page .wizard-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.contact-wizard-page .wizard-field-grid > * {
    min-width: 0;
}

.contact-wizard-page .wizard-site {
    padding-top: 0.75rem;
}

.contact-wizard-page .wizard-site > .wizard-fields {
    margin-top: 1.25rem;
}

.contact-wizard-page .wizard-fields label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.contact-wizard-page .wizard-timing-grid label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.125rem;
    min-height: 2.625rem;
}

.contact-wizard-page .wizard-fields input:not([type="checkbox"], [type="hidden"]),
.contact-wizard-page .wizard-fields textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid #475569;
    border-radius: 0.625rem;
    background-color: #0f172a;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-wizard-page .wizard-fields input[type="date"] {
    padding-inline: 0.5rem;
    color-scheme: dark;
}

.contact-wizard-page .wizard-fields input::placeholder,
.contact-wizard-page .wizard-fields textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.contact-wizard-page .wizard-fields textarea {
    min-height: 8rem;
    resize: vertical;
}

.contact-wizard-page .wizard-fields :is(input:not([type="checkbox"], [type="hidden"]), textarea):focus {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
    border-color: #22d3ee;
}

.contact-wizard-page .wizard-fields :is(input, textarea)[aria-invalid="true"] {
    border-color: #f87171;
}

.contact-wizard-page .wizard-service-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.contact-wizard-page .wizard-service-fieldset legend {
    padding: 0;
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-wizard-page .wizard-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    margin-top: 0;
}

.contact-wizard-page .wizard-fields .wizard-service {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    min-height: 56px;
    margin: 0;
    padding: 0.625rem 0.75rem;
    border: 1px solid #475569;
    border-radius: 0.625rem;
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.4;
    cursor: pointer;
}

.contact-wizard-page .wizard-service span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-wizard-page .wizard-service input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #22d3ee;
    cursor: pointer;
}

.contact-wizard-page .wizard-service input:focus {
    outline: none;
    box-shadow: none;
}

.contact-wizard-page .wizard-service:has(input:checked) {
    border-color: #22d3ee;
    background: rgba(6, 182, 212, 0.08);
    color: #fff;
}

.contact-wizard-page .wizard-service:has(input:focus-visible) {
    outline: 2px solid #22d3ee;
    outline-offset: 3px;
}

.contact-wizard-page .wizard-service-fieldset[aria-invalid="true"] .wizard-services {
    outline: 1px solid #f87171;
    outline-offset: 4px;
    border-radius: 0.625rem;
}

.contact-wizard-page .wizard-field-error {
    margin-top: 0.5rem;
    color: #fca5a5;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.contact-wizard-page .wizard-optional {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
}

.contact-wizard-page .wizard-hint {
    margin-top: 0.625rem;
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.6;
}

.contact-wizard-page .wizard-send-hint {
    margin-top: 1.25rem;
}

.contact-wizard-page .wizard-captcha {
    min-height: 76px;
    margin-top: 1.25rem;
}

.contact-wizard-page .wizard-actions {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-wizard-page .wizard-primary,
.contact-wizard-page .wizard-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.contact-wizard-page .wizard-primary {
    flex: 1;
    gap: 0.75rem;
    background: #22d3ee;
    color: #0f172a;
}

.contact-wizard-page .wizard-primary:hover {
    background: #67e8f9;
}

.contact-wizard-page .wizard-primary:active {
    background: #06b6d4;
}

.contact-wizard-page .wizard-back {
    flex: none;
    border-color: #475569;
    color: #e2e8f0;
}

.contact-wizard-page .wizard-back:hover {
    border-color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
}

.contact-wizard-page #contact-wizard :is(button, a):focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 4px;
}

.contact-wizard-page #contact-wizard:not([data-wizard-enhanced]) .wizard-panel + .wizard-panel {
    margin-top: 2rem;
}

@media (max-width: 39.999rem) {
    .contact-wizard-page .contact-layout > * {
        padding: 1rem;
    }
}

@media (max-width: 374px) {
    .contact-wizard-page .wizard-captcha {
        transform: scale(0.9);
        transform-origin: top left;
        margin-bottom: -0.5rem;
    }
}

@media (max-width: 359px) {
    .contact-wizard-page .wizard-services,
    .contact-wizard-page .wizard-timing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-wizard-page .wizard-timing-grid label {
        min-height: 0;
    }

    .contact-wizard-page .wizard-captcha {
        transform: scale(0.82);
        margin-bottom: -0.75rem;
    }
}

@media (min-width: 640px) {
    .contact-wizard-page .wizard-steps li {
        flex-direction: row;
        align-items: center;
        gap: 0.625rem;
        font-size: 0.8125rem;
    }

    .contact-wizard-page .wizard-timing-grid label {
        min-height: 0;
    }
}

@media (min-width: 1024px) {
    .contact-wizard-page .contact-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 0.8fr);
    }

    .contact-wizard-page .contact-info {
        position: sticky;
        top: 7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-wizard-page #contact-wizard * {
        transition: none;
    }
}
