/* Parcours réservation & paiement — Direction A */

.foum-bk-page {
    width: 100%;
    min-height: 100vh;
    background: #fff;
    color: #0f1b3a;
}

.foum-bk-shell {
    width: 100%;
    max-width: min(1536px, calc(100vw - 3rem));
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .foum-bk-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .foum-bk-shell {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1280px) {
    .foum-bk-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.foum-bk-page .btn-primary,
.foum-bk-page .btn-secondary {
    border-radius: 9999px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.foum-bk-top {
    background: #0f1b3a;
    color: #fff;
    padding: 0.875rem 0;
}

@media (min-width: 768px) {
    .foum-bk-top {
        display: none;
    }

    .foum-bk-page--booking-flow .foum-messages-wrap {
        margin-bottom: 0.5rem;
    }
}

.foum-bk-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.foum-bk-top__ref {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.foum-bk-stepper {
    padding: 0.875rem 0 1rem;
    border-bottom: 1px solid rgba(15, 27, 58, 0.08);
}

.foum-bk-stepper__progress {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b6b72;
    margin: 0 0 0.625rem;
}

.foum-bk-stepper__track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 767px) {
    .foum-bk-stepper__track {
        gap: 0.5rem;
    }

    .foum-bk-stepper__label {
        display: none;
    }

    .foum-bk-stepper__line {
        min-width: 0.75rem;
    }
}

.foum-bk-stepper__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.foum-bk-stepper__dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.foum-bk-stepper__dot--done {
    background: #0f1b3a;
    color: #f5b800;
}

.foum-bk-stepper__dot--active {
    background: #f5b800;
    color: #0f1b3a;
}

.foum-bk-stepper__dot--todo {
    background: #f1eadc;
    color: #6b6b72;
}

.foum-bk-stepper__label {
    font-size: 0.75rem;
    color: #6b6b72;
    white-space: nowrap;
}

.foum-bk-stepper__label--active {
    font-weight: 700;
    color: #0f1b3a;
}

.foum-bk-stepper__line {
    flex: 1;
    height: 1px;
    background: rgba(15, 27, 58, 0.15);
    min-width: 1.5rem;
}

.foum-bk-stepper__line--done {
    background: #0f1b3a;
}

.foum-bk-layout {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem 0 2rem;
}

@media (min-width: 1024px) {
    .foum-bk-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 22rem);
        gap: 2.5rem;
        padding: 2rem 0 3rem;
        align-items: start;
    }
}

.foum-bk-title {
    font-family: inherit;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.foum-bk-title--sm {
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
}

.foum-bk-lead {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #6b6b72;
    margin: 0 0 1.25rem;
    max-width: 36rem;
}

.foum-bk-panel {
    min-width: 0;
}

.foum-bk-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.foum-bk-section-label {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c18c00;
    margin: 0 0 0.625rem;
}

.foum-bk-status-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.875rem;
    margin-bottom: 0.25rem;
    border: 1px solid rgba(15, 27, 58, 0.1);
    border-radius: 0.75rem;
    background: #faf6ee;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #3f3f46;
}

.foum-bk-status-banner__icon {
    font-size: 0.5rem;
    line-height: 1.8;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .foum-bk-title {
        font-size: 1.5rem;
    }
}

.foum-bk-pay-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.foum-bk-pay-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    border: 1px solid rgba(15, 27, 58, 0.15);
    border-radius: 0.875rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.22s ease, box-shadow 0.28s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.foum-bk-pay-option:hover {
    border-color: rgba(15, 27, 58, 0.28);
}

.foum-bk-pay-option:focus-visible {
    outline: 2px solid #f5b800;
    outline-offset: 2px;
}

.foum-bk-pay-option.is-selected {
    border: 2px solid #f5b800;
    background: #fffaec;
    padding: calc(0.875rem - 1px);
    box-shadow: 0 8px 22px rgba(245, 184, 0, 0.18);
}

.foum-bk-pay-option.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.foum-bk-pay-option__icon {
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.foum-bk-pay-option__icon--om {
    background: #ff7900;
    color: #fff;
}

.foum-bk-pay-option__icon--mtn {
    background: #ffcc00;
    color: #0f1b3a;
}

.foum-bk-pay-option__icon--card {
    width: 2.625rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #1a1f71, #eb001b);
}

.foum-bk-pay-option__body {
    flex: 1;
    min-width: 0;
}

.foum-bk-pay-option__title {
    font-size: 0.8125rem;
    font-weight: 600;
}

.foum-bk-pay-option__sub {
    font-size: 0.6875rem;
    color: #6b6b72;
    margin-top: 0.125rem;
}

.foum-bk-pay-option__check {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: #f5b800;
    color: #0f1b3a;
    font-size: 0.625rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.foum-bk-pay-option.is-selected .foum-bk-pay-option__check {
    display: inline-flex;
}

.foum-bk-pay-option--pulse {
    animation: foum-bk-pay-pulse 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes foum-bk-pay-pulse {
    0% { transform: scale(1); }
    45% { transform: scale(1.015); }
    100% { transform: scale(1); }
}

.foum-bk-phone-section {
    scroll-margin-top: 5rem;
    scroll-margin-bottom: calc(7rem + env(safe-area-inset-bottom, 0px));
    margin-top: 1rem;
}

.foum-bk-field-group--reveal {
    animation: foum-bk-field-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes foum-bk-field-reveal {
    0% { opacity: 0.55; transform: translateY(10px); }
    100% { opacity: 1; transform: none; }
}

.foum-bk-phone {
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.32s ease, transform 0.22s ease;
}

.foum-bk-phone--pulse {
    animation: foum-bk-phone-pulse 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.foum-bk-phone--valid {
    animation: foum-bk-phone-valid 0.45s ease;
}

.foum-bk-phone--focused {
    box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.16);
}

@keyframes foum-bk-phone-pulse {
    0% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(245, 184, 0, 0); }
    40% { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 184, 0, 0.2); }
    100% { transform: translateY(0); box-shadow: none; }
}

@keyframes foum-bk-phone-valid {
    0% { border-color: rgba(15, 27, 58, 0.15); }
    40% { border-color: #16a34a; background: #f0fdf4; }
    100% { border-color: rgba(15, 27, 58, 0.15); background: #fff; }
}

.foum-bk-submit--ready:not(:disabled) {
    animation: foum-bk-submit-ready 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 6px 20px rgba(245, 184, 0, 0.38);
}

@keyframes foum-bk-submit-ready {
    0% { transform: scale(0.98); }
    60% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.foum-bk-submit.is-loading {
    opacity: 0.78;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .foum-bk-pay-option--pulse,
    .foum-bk-field-group--reveal,
    .foum-bk-phone--pulse,
    .foum-bk-phone--valid,
    .foum-bk-submit--ready {
        animation: none !important;
    }
    .foum-bk-pay-option,
    .foum-bk-phone {
        transition: none !important;
    }
}

.foum-bk-note {
    margin-top: 1.125rem;
    background: #faf6ee;
    border-left: 3px solid #f5b800;
    border-radius: 0.75rem;
    padding: 0.875rem;
}

.foum-bk-note__eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #c18c00;
    margin-bottom: 0.25rem;
}

.foum-bk-note__text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #3f3f46;
    margin: 0;
}

.foum-bk-phone-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #6b6b72;
    margin: 1.125rem 0 0.375rem;
}

.foum-bk-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(15, 27, 58, 0.15);
    border-radius: 0.625rem;
    padding: 0.75rem;
    background: #fff;
}

.foum-bk-phone:focus-within {
    border: 2px solid #f5b800;
    padding: calc(0.75rem - 1px);
    background: #fff8e2;
}

.foum-bk-phone__prefix {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.foum-bk-phone__input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    font-family: inherit;
    color: #0f1b3a;
}

.foum-bk-summary {
    background: #fff;
    border: 1px solid rgba(15, 27, 58, 0.12);
    border-radius: 0.875rem;
    padding: 1.125rem;
}

.foum-bk-summary__heading {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6b72;
    margin: 0 0 0.875rem;
}

.foum-bk-summary--inline,
.foum-bk-summary--compact {
    position: static;
}

.foum-bk-summary--compact {
    margin-bottom: 1rem;
}

.foum-bk-summary__empty {
    font-size: 0.75rem;
    color: #6b6b72;
    text-align: center;
    padding: 0.875rem 0.5rem;
    margin: 0.5rem 0 0;
    border: 1px dashed rgba(15, 27, 58, 0.12);
    border-radius: 0.625rem;
}

.foum-bk-summary__rows--trip {
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid rgba(15, 27, 58, 0.08);
}

.foum-bk-summary__rows--price {
    margin-top: 0;
}

.foum-bk-summary__hint {
    font-weight: 400;
    font-size: 0.6875rem;
}

.foum-bk-summary__footnote {
    font-size: 0.6875rem;
    color: #6b6b72;
    text-align: center;
    margin: 0.625rem 0 0;
    line-height: 1.4;
}

.foum-bk-summary__meta--dates {
    margin-top: 0.375rem;
}

@media (min-width: 1024px) {
    .foum-bk-summary {
        position: sticky;
        top: 1rem;
    }

    .foum-bk-receipt {
        position: sticky;
        top: 1rem;
    }
}

.foum-bk-summary__listing {
    display: flex;
    gap: 0.625rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid rgba(15, 27, 58, 0.08);
}

.foum-bk-summary__thumb {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1eadc;
}

.foum-bk-summary__name,
.foum-bk-summary__listing-price {
    font-size: 1rem;
    font-weight: 700;
    color: #0f1b3a;
}

.foum-bk-summary__listing-price .foum-price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.foum-bk-summary__meta {
    font-size: 0.6875rem;
    color: #6b6b72;
    margin-top: 0.125rem;
}

.foum-bk-summary__rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #3f3f46;
}

.foum-bk-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.foum-bk-summary__row strong {
    font-weight: 600;
    color: #0f1b3a;
}

.foum-bk-summary__total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.875rem;
    color: #0f1b3a;
    padding-top: 0.5rem;
    margin-top: 0.375rem;
    border-top: 1px solid rgba(15, 27, 58, 0.08);
}

.foum-bk-summary__cta {
    width: 100%;
    margin-top: 0.875rem;
}

.foum-bk-mobile-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0 0.75rem;
    border-bottom: 1px solid rgba(15, 27, 58, 0.08);
    margin-bottom: 0.875rem;
}

.foum-bk-mobile-bar__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-left: -0.25rem;
    font-size: 1.125rem;
    color: #0f1b3a;
    text-decoration: none;
    line-height: 1;
    border-radius: 50%;
    transition: background-color 0.15s ease;
}

.foum-bk-mobile-bar__back:active {
    background: rgba(15, 27, 58, 0.06);
}

.foum-bk-mobile-bar__title {
    font-weight: 700;
    font-size: 0.8125rem;
}

.foum-bk-mobile-bar__step {
    margin-left: auto;
    font-size: 0.625rem;
    color: #6b6b72;
}

.foum-bk-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    background: #fff;
    border-top: 1px solid rgba(15, 27, 58, 0.08);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(15, 27, 58, 0.08);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.foum-bk-mobile-dock--reveal {
    box-shadow: 0 -14px 36px rgba(245, 184, 0, 0.28);
    animation: foum-bk-dock-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes foum-bk-dock-reveal {
    0% { transform: translateY(12px); }
    55% { transform: translateY(-4px); }
    100% { transform: none; }
}

.foum-bk-ussd-steps {
    margin: 0.25rem 0 0;
    padding: 0.875rem 0.875rem 0.875rem 1.75rem;
    border: 1px solid rgba(15, 27, 58, 0.08);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #3f3f46;
    scroll-margin-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
}

/* Page attente CamPay USSD */
.foum-bk-pending {
    text-align: center;
}

.foum-bk-pending__spinner {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    border: 3px solid rgba(245, 184, 0, 0.25);
    border-top-color: #f5b800;
    border-radius: 50%;
    animation: foum-bk-spin 0.9s linear infinite;
}

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

.foum-bk-pending__ussd {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #fff8e6;
    border: 1px solid rgba(245, 184, 0, 0.35);
}

.foum-bk-pending__ussd-label {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.foum-bk-pending__ussd-code {
    margin: 0.375rem 0 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f1b3a;
}

.foum-bk-pending__status {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f1b3a;
}

.foum-bk-mobile-dock--confirm {
    padding-top: 0.625rem;
}

@media (min-width: 768px) {
    .foum-bk-mobile-dock {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .foum-bk-mobile-dock--reveal {
        animation: none !important;
    }
}

.foum-bk-mobile-dock__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: #6b6b72;
}

.foum-bk-mobile-dock__row strong {
    color: #0f1b3a;
}

.foum-bk-page--checkout,
.foum-bk-page--create,
.foum-bk-page--confirm {
    padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
}

.foum-bk-create-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.foum-bk-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    scroll-margin-top: 4.5rem;
    scroll-margin-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

.foum-bk-field-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6b72;
}

.foum-bk-field-hint {
    font-size: 0.6875rem;
    color: #6b6b72;
    margin: 0.125rem 0 0;
    line-height: 1.4;
}

.foum-bk-field-error {
    font-size: 0.6875rem;
    color: #b91c1c;
    margin: 0.125rem 0 0;
}

.foum-bk-field,
.foum-bk-page--create .input-field,
.foum-bk-page--checkout .foum-bk-phone__input {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid rgba(15, 27, 58, 0.15);
    border-radius: 0.625rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #0f1b3a;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.foum-bk-field:focus,
.foum-bk-page--create .input-field:focus,
.foum-bk-phone__input:focus {
    outline: none;
    border-color: #f5b800;
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.2);
}

.foum-bk-field[aria-invalid='true'],
.foum-bk-phone[aria-invalid='true'] {
    border-color: #b91c1c;
}

.foum-bk-alert {
    padding: 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(185, 28, 28, 0.2);
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.foum-bk-trust {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #6b6b72;
}

.foum-bk-trust li {
    position: relative;
    padding-left: 1rem;
}

.foum-bk-trust li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 0.625rem;
    font-weight: 700;
}

.foum-bk-pay-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.foum-bk-ussd-steps li + li {
    margin-top: 0.375rem;
}

.foum-bk-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.foum-bk-submit.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.foum-bk-submit.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(15, 27, 58, 0.15);
    border-top-color: #0f1b3a;
    border-radius: 50%;
    animation: foum-bk-spin 0.65s linear infinite;
}

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

.foum-bk-link {
    color: #c18c00;
    font-weight: 600;
    text-decoration: none;
}

.foum-bk-link:hover {
    text-decoration: underline;
}

.foum-bk-link--center {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-height: 2.5rem;
    align-items: center;
    font-size: 0.8125rem;
}

.foum-bk-sim-wrap {
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .foum-bk-page--checkout,
    .foum-bk-page--create,
    .foum-bk-page--confirm {
        padding-bottom: 0;
    }
}

.foum-bk-layout--confirm {
    padding-top: 0;
}

.foum-bk-success-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    background: linear-gradient(180deg, #fff8e2 0%, #fff 100%);
    border-bottom: 1px solid rgba(15, 27, 58, 0.08);
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .foum-bk-success-hero {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
    }
}

@media (min-width: 768px) {
    .foum-bk-success-hero {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        width: calc(100% + 2.5rem);
        padding: 3rem 2rem 2.5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1280px) {
    .foum-bk-success-hero {
        margin-left: -2rem;
        margin-right: -2rem;
        width: calc(100% + 4rem);
    }
}

.foum-bk-success-hero__icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: #3f6b4f;
    color: #fff;
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.foum-bk-success-hero__eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    color: #c18c00;
    margin-bottom: 0.5rem;
}

.foum-bk-success-hero__title {
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.625rem;
}

.foum-bk-success-hero__title em {
    color: #c18c00;
    font-style: normal;
}

.foum-bk-success-hero__lead {
    font-size: 0.875rem;
    color: #6b6b72;
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.55;
}

.foum-bk-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.foum-bk-step-card {
    display: flex;
    gap: 0.875rem;
    padding: 0.875rem;
    background: #faf6ee;
    border-radius: 0.75rem;
}

.foum-bk-step-card__num {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #0f1b3a;
    color: #f5b800;
    font-size: 0.6875rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.foum-bk-step-card__title {
    font-size: 0.8125rem;
    font-weight: 600;
}

.foum-bk-step-card__text {
    font-size: 0.6875rem;
    color: #6b6b72;
    margin-top: 0.125rem;
    line-height: 1.45;
}

.foum-bk-receipt {
    background: #fff;
    border: 1px solid rgba(15, 27, 58, 0.12);
    border-radius: 0.875rem;
    padding: 1.125rem;
}

.foum-bk-receipt__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.875rem;
    font-weight: 700;
    font-size: 0.8125rem;
}

.foum-bk-receipt__ref {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.625rem;
    color: #6b6b72;
    font-weight: 500;
}

.foum-bk-receipt__method {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem;
    background: #fff8e2;
    border-radius: 0.625rem;
    margin-bottom: 0.875rem;
    font-size: 0.6875rem;
}

.foum-bk-host-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    border: 1px solid rgba(15, 27, 58, 0.1);
    border-radius: 0.875rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.foum-bk-host-card__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #f1eadc;
    flex-shrink: 0;
    object-fit: cover;
}

.foum-bk-host-card__body {
    flex: 1;
    min-width: 0;
}

.foum-bk-host-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
}

.foum-bk-host-card__meta {
    font-size: 0.6875rem;
    color: #6b6b72;
}

.foum-bk-host-card__cta {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    min-height: 0;
    white-space: nowrap;
}

.foum-bk-receipt__date {
    font-size: 0.6875rem;
    color: #6b6b72;
    margin: 0 0 0.875rem;
}

.foum-bk-receipt__method-name {
    font-weight: 600;
}

.foum-bk-receipt__method-phone {
    color: #6b6b72;
}

.foum-bk-receipt__method-icon {
    width: 1.75rem !important;
    height: 1.75rem !important;
    font-size: 0.625rem !important;
}

.foum-bk-receipt__cta {
    margin-top: 1rem;
}

.foum-bk-note--compact {
    margin-top: 1rem;
}

.foum-bk-note__strong {
    color: #c18c00;
    font-weight: 700;
}

.foum-bk-fail-hero {
    text-align: center;
    padding: 2rem 1rem 1.25rem;
}

.foum-bk-fail-hero__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
}

.foum-bk-fail-hero__lead {
    font-size: 0.8125rem;
    color: #6b6b72;
    max-width: 28rem;
    margin: 0.5rem auto 0;
    line-height: 1.55;
}

.foum-bk-fail-hero__code {
    margin: 0.75rem 0 0;
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 0.6875rem;
    color: #6b6b72;
}

.foum-bk-fail-layout {
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.foum-bk-fail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.foum-bk-sim-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.6875rem;
    color: #6b6b72;
    text-decoration: underline;
}

.foum-r-page--about .foum-r-about-hero {
    margin: 0 -1rem;
    padding: 3rem 1.5rem;
    background: #0f1b3a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .foum-r-page--about .foum-r-about-hero {
        margin-left: -2rem;
        margin-right: -2rem;
        width: calc(100% + 4rem);
        padding: 3.75rem 2rem;
    }

    .foum-r-page--about .foum-r-about-stats {
        margin-left: -2rem;
        margin-right: -2rem;
        width: calc(100% + 4rem);
        border-radius: 0;
        padding: 2rem;
    }
}

.foum-r-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(245, 184, 0, 0.14) 1.4px, transparent 1.4px);
    background-size: 28px 28px;
    opacity: 0.45;
    pointer-events: none;
}

.foum-r-about-hero__inner {
    position: relative;
    max-width: 48rem;
}

.foum-r-about-hero h1 {
    font-family: inherit;
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
    color: #fff;
}

.foum-r-about-hero h1 em {
    color: #f5b800;
    font-style: normal;
}

.foum-r-about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #faf6ee;
    border-radius: 0.875rem;
}

@media (min-width: 768px) {
    .foum-r-about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        text-align: center;
        border-radius: 0;
    }
}

.foum-r-about-stat__value {
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f1b3a;
}

@media (min-width: 768px) {
    .foum-r-about-stat__value {
        font-size: 2.375rem;
    }
}

.foum-r-about-stat__label {
    font-size: 0.6875rem;
    color: #6b6b72;
    margin-top: 0.25rem;
}

.foum-r-about-story {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .foum-r-about-story {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
        align-items: center;
    }

    .foum-r-about-story__visual {
        aspect-ratio: 4 / 3;
        min-height: 18rem;
    }
}

.foum-r-about-story__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 14rem;
    border-radius: 1.5rem;
    overflow: hidden;
    isolation: isolate;
    background: #e5dac2;
    transform: translateZ(0);
}

.foum-r-about-story__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    clip-path: inset(0 round 1.5rem);
}

.foum-r-about-story__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    clip-path: inset(0 round 1.5rem);
    background: linear-gradient(180deg, transparent 45%, rgba(15, 27, 58, 0.55) 100%);
    pointer-events: none;
}

.foum-r-about-story__caption {
    position: absolute;
    bottom: 0.875rem;
    left: 0.875rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    font-style: italic;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.foum-r-about-values {
    display: grid;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .foum-r-about-values {
        grid-template-columns: repeat(3, 1fr);
    }
}

.foum-r-about-value {
    background: #faf6ee;
    border-radius: 0.875rem;
    padding: 1.375rem;
}

.foum-r-about-value__icon {
    font-size: 1.75rem;
    margin-bottom: 0.625rem;
}

.foum-r-about-value__title {
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
}

.foum-r-about-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

@media (min-width: 768px) {
    .foum-r-about-team {
        grid-template-columns: repeat(4, 1fr);
    }
}

.foum-r-about-team__photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #f1eadc, #d4e8d4);
}

.foum-r-about-team__name {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.foum-r-about-team__role {
    font-size: 0.625rem;
    color: #6b6b72;
}

.foum-r-page--about .foum-r-shell {
    max-width: min(1536px, calc(100vw - 3rem));
}

.foum-r-page--about .foum-r-page__back {
    display: none;
}

.foum-r-page--about .foum-r-page__body {
    padding-top: 0;
}
