
.bcc-contact {
    min-height: 100vh;
    padding: clamp(36px, 5vw, 76px) 24px;
    background: var(--bcc-color-background, #F5F1F7);
    color: var(--bcc-color-text, #171717);
    display: flex;
    align-items: center;
}

.bcc-contact *,
.bcc-contact *::before,
.bcc-contact *::after {
    box-sizing: border-box;
}

.bcc-contact__container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
}

.bcc-contact__intro {
    max-width: 510px;
    padding-block: 30px;
}

.bcc-contact__eyebrow {
    margin: 0 0 22px;
    color: var(--bcc-color-primary, #0D2230);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.6;
    text-transform: uppercase;
}

.bcc-contact__heading {
    margin: 0;
    color: var(--bcc-color-primary, #0D2230);
    font-size: clamp(44px, 5.2vw, 72px);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1.04;
    text-wrap: balance;
}

.bcc-contact__heading span {
    display: block;
}

.bcc-contact__description {
    max-width: 450px;
    margin: 26px 0 0;
    color: var(--bcc-color-text-muted, #6b6b6b);
    font-size: 16px;
    line-height: 1.9;
}

.bcc-contact__promise {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 36px;
}

.bcc-contact__promise-line {
    width: 3px;
    min-width: 3px;
    min-height: 42px;
    background: var(--bcc-color-accent, #f4d738);
}

.bcc-contact__promise p {
    max-width: 300px;
    margin: 0;
    color: var(--bcc-color-primary, #0D2230);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

.bcc-contact__panel {
    width: 100%;
    padding: clamp(24px, 3.5vw, 44px);
    background: var(--bcc-color-surface, #ffffff);
    border: 1px solid rgba(13, 34, 48, 0.07);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(13, 34, 48, 0.045);
}

.bcc-contact__panel-heading {
    margin-bottom: 26px;
}

.bcc-contact__panel-heading .bcc-contact__eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
}

.bcc-contact__panel-heading h2 {
    margin: 0;
    color: var(--bcc-color-primary, #0D2230);
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.bcc-contact__panel-heading > p:last-child {
    margin: 10px 0 0;
    color: var(--bcc-color-text-muted, #6b6b6b);
    font-size: 13px;
    line-height: 1.7;
}

.bcc-contact__progress {
    display: grid;
    grid-template-columns: auto minmax(24px, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.bcc-contact__progress-step {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #898989;
}

.bcc-contact__progress-number {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border: 1px solid #dedee0;
    border-radius: 50%;
    color: #777777;
    font-size: 10px;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.bcc-contact__progress-label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.bcc-contact__progress-step.is-active,
.bcc-contact__progress-step.is-complete {
    color: var(--bcc-color-primary, #0D2230);
}

.bcc-contact__progress-step.is-active .bcc-contact__progress-number,
.bcc-contact__progress-step.is-complete .bcc-contact__progress-number {
    border-color: var(--bcc-color-primary, #0D2230);
    background: var(--bcc-color-primary, #0D2230);
    color: #ffffff;
}

.bcc-contact__progress-track {
    height: 2px;
    overflow: hidden;
    background: #e6e3e8;
}

.bcc-contact__progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--bcc-color-primary, #0D2230);
    transition: width 220ms ease;
}

.bcc-contact__form {
    width: 100%;
}

.bcc-contact__step[hidden] {
    display: none !important;
}

.bcc-contact__step.is-active {
    animation: bcc-contact-step-in 240ms ease both;
}

.bcc-contact__step-heading {
    margin-bottom: 22px;
}

.bcc-contact__step-heading h3 {
    margin: 0;
    color: var(--bcc-color-primary, #0D2230);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

.bcc-contact__step-heading p {
    margin: 7px 0 0;
    color: var(--bcc-color-text-muted, #6b6b6b);
    font-size: 13px;
    line-height: 1.7;
}

.bcc-contact__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 16px;
}

.bcc-contact__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.bcc-contact__field--full {
    grid-column: 1 / -1;
}

.bcc-contact__field > label,
.bcc-contact__support legend {
    padding: 0;
    color: var(--bcc-color-text, #171717);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.bcc-contact__field > label span,
.bcc-contact__support legend span {
    color: var(--bcc-color-primary, #0D2230);
}

.bcc-contact__field input:not([type="radio"]),
.bcc-contact__field textarea,
.bcc-contact__field select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid #dfdfe2;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: var(--bcc-color-text, #171717);
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.bcc-contact__field textarea {
    min-height: 90px;
    resize: vertical;
}

.bcc-contact__field input::placeholder,
.bcc-contact__field textarea::placeholder {
    color: #99999e;
    opacity: 1;
}

.bcc-contact__field input:focus,
.bcc-contact__field textarea:focus,
.bcc-contact__field select:focus {
    border-color: var(--bcc-color-primary, #0D2230);
    box-shadow: 0 0 0 3px rgba(13, 34, 48, 0.08);
}

.bcc-contact__field [aria-invalid="true"] {
    border-color: #b42318 !important;
}

.bcc-contact__error {
    display: none;
    color: #b42318;
    font-size: 11px;
    line-height: 1.5;
}

.bcc-contact__error.is-visible {
    display: block;
}

.bcc-contact__support legend {
    margin-bottom: 12px;
}

.bcc-contact__support-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bcc-contact__support-option {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.bcc-contact__support-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.bcc-contact__support-card {
    display: flex;
    min-height: 105px;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    border: 1px solid #dfdfe2;
    border-radius: 4px;
    background: #ffffff;
    transition: border-color 180ms ease, background 180ms ease;
}

.bcc-contact__support-card strong {
    color: var(--bcc-color-primary, #0D2230);
    font-size: 13px;
    font-weight: 700;
}

.bcc-contact__support-card > span {
    color: var(--bcc-color-text-muted, #6b6b6b);
    font-size: 11px;
    line-height: 1.65;
}

.bcc-contact__support-option input:checked + .bcc-contact__support-card {
    border-color: var(--bcc-color-primary, #0D2230);
    background: rgba(13, 34, 48, 0.035);
}

.bcc-contact__support-option input:focus-visible + .bcc-contact__support-card {
    outline: 2px solid var(--bcc-color-primary, #0D2230);
    outline-offset: 3px;
}

.bcc-contact__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
}

.bcc-contact__actions--final {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.bcc-contact__button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 20px;
    border: 1px solid var(--bcc-color-primary, #0D2230);
    border-radius: 4px;
    background: var(--bcc-color-primary, #0D2230);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.bcc-contact__button:hover {
    transform: translateY(-1px);
    border-color: var(--bcc-color-primary-dark, #071923);
    background: var(--bcc-color-primary-dark, #071923);
    color: #ffffff;
}

.bcc-contact__button:focus-visible {
    outline: 2px solid var(--bcc-color-primary, #0D2230);
    outline-offset: 3px;
}

.bcc-contact__button--back {
    border-color: #dcdce0;
    background: transparent;
    color: var(--bcc-color-primary, #0D2230);
}

.bcc-contact__button--back:hover {
    border-color: var(--bcc-color-primary, #0D2230);
    background: rgba(13, 34, 48, 0.04);
    color: var(--bcc-color-primary, #0D2230);
}

.bcc-contact__privacy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    margin: 0;
    color: var(--bcc-color-text-muted, #6b6b6b);
    font-size: 11px;
    line-height: 1.7;
}

.bcc-contact__privacy span {
    color: var(--bcc-color-primary, #0D2230);
    font-weight: 700;
}

.bcc-contact__actions--final + .bcc-contact__privacy {
    margin-top: 15px;
}

@keyframes bcc-contact-step-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1100px) {
    .bcc-contact__container {
        gap: 90px;
    }
}

@media (max-width: 900px) {
    .bcc-contact {
        min-height: auto;
        padding: 56px 24px;
    }

    .bcc-contact__container {
        max-width: 680px;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .bcc-contact__intro {
        max-width: 620px;
        padding-block: 0;
    }

    .bcc-contact__heading {
        max-width: 620px;
        font-size: clamp(42px, 7vw, 62px);
    }

    .bcc-contact__description {
        max-width: 600px;
        margin-top: 18px;
    }

    .bcc-contact__promise {
        margin-top: 20px;
    }

    .bcc-contact__panel {
        padding: clamp(24px, 5vw, 38px);
    }
}

@media (max-width: 540px) {
    .bcc-contact {
        padding: 38px 16px;
    }

    .bcc-contact__container {
        gap: 26px;
    }

    .bcc-contact__eyebrow {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .bcc-contact__heading {
        font-size: clamp(39px, 10vw, 52px);
        letter-spacing: -0.055em;
    }

    .bcc-contact__description {
        font-size: 14px;
        line-height: 1.8;
    }

    .bcc-contact__promise {
        margin-top: 18px;
    }

    .bcc-contact__promise p {
        font-size: 13px;
    }

    .bcc-contact__panel {
        padding: 23px 18px;
        border-radius: 6px;
    }

    .bcc-contact__panel-heading {
        margin-bottom: 22px;
    }

    .bcc-contact__panel-heading h2 {
        font-size: 27px;
    }

    .bcc-contact__progress {
        gap: 8px;
        margin-bottom: 25px;
    }

    .bcc-contact__progress-step {
        gap: 6px;
    }

    .bcc-contact__progress-number {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .bcc-contact__progress-label {
        font-size: 10px;
    }

    .bcc-contact__fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .bcc-contact__field--full {
        grid-column: auto;
    }

    .bcc-contact__support-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .bcc-contact__support-card {
        min-height: auto;
    }

    .bcc-contact__actions--final {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
        gap: 9px;
    }

    .bcc-contact__button {
        min-height: 49px;
        gap: 8px;
        padding: 12px 10px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bcc-contact *,
    .bcc-contact *::before,
    .bcc-contact *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
