/* ═══════════════════════════════════════════════════════════════════
   BLUE OCEAN BUSINESS COMMUNITY — /business-community, /join, /update,
   /success, /policies. Loaded per page (@section Styles), never in the
   site bundle.

   Logical properties throughout (margin-inline, inset-inline-start, …) so
   the same rules lay out correctly in Arabic RTL and English LTR without a
   second stylesheet. Colours come from tokens.css only. Transitions name
   paint/composite properties only — see FrontEndPerformanceTests.
   ═══════════════════════════════════════════════════════════════════ */

.bc {
    --bc-radius: 18px;
    --bc-radius-sm: 12px;
    --bc-shadow: 0 18px 40px -24px rgba(var(--brand-700-rgb), 0.35);
    --bc-nav-offset: 64px;
    color: var(--color-text);
    line-height: var(--lh-normal);
}
@media (max-width: 767.98px) {
    .bc { --bc-nav-offset: 56px; }
}
.bc *, .bc *::before, .bc *::after { box-sizing: border-box; }

.bc-wrap {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 16px;
}
@media (min-width: 768px) {
    .bc-wrap { padding-inline: 24px; }
}

.bc-icon { flex-shrink: 0; vertical-align: middle; }
[dir="rtl"] .bc-icon--dir { transform: scaleX(-1); }

/* ── Type ─────────────────────────────────────────────────────────── */
.bc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-block-end: 14px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-500);
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    letter-spacing: 0.02em;
}
.bc-eyebrow--on-dark {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent-300);
}
.bc-h2 {
    font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
    line-height: var(--lh-tight);
    font-weight: var(--fw-bold);
    color: var(--brand-700);
    margin: 0 0 14px;
}
.bc-lead {
    font-size: var(--text-md);
    color: var(--text-2);
    margin: 0 0 12px;
}
.bc-help {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 6px 0 0;
}

/* ── Buttons & links ──────────────────────────────────────────────── */
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--brand-500);
    color: #fff;
    font-weight: var(--fw-semi);
    font-size: var(--text-base);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bc-btn:hover, .bc-btn:focus-visible {
    background: var(--brand-700);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(var(--brand-500-rgb), 0.8);
}
.bc-btn:focus-visible, .bc-link:focus-visible, .bc-choice:focus-within, .bc-tabs__tab:focus-visible {
    outline: 3px solid var(--brand-300);
    outline-offset: 2px;
}
.bc-btn[disabled] { opacity: 0.6; cursor: progress; }
.bc-btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--text-sm); }
.bc-btn--light { background: #fff; color: var(--brand-700); }
.bc-btn--light:hover, .bc-btn--light:focus-visible { background: var(--accent-300); color: var(--brand-700); }
.bc-btn--outline { background: transparent; color: var(--brand-500); border-color: var(--brand-500); }
.bc-btn--outline:hover, .bc-btn--outline:focus-visible { background: var(--brand-500); color: #fff; }
.bc-btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--color-border); }
.bc-btn--ghost:hover, .bc-btn--ghost:focus-visible { background: var(--color-surface); color: var(--brand-700); box-shadow: none; }
.bc-btn--whatsapp { background: var(--brand-whatsapp); }
.bc-btn--whatsapp:hover, .bc-btn--whatsapp:focus-visible { background: var(--accent-700); }

.bc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-500);
    font-weight: var(--fw-semi);
    font: inherit;
    font-weight: var(--fw-semi);
    text-decoration: none;
    cursor: pointer;
}
.bc-link:hover { color: var(--brand-700); text-decoration: underline; }

.bc-support {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--brand-whatsapp);
    color: #fff;
    font-weight: var(--fw-semi);
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.bc-support:hover, .bc-support:focus-visible { background: var(--accent-700); color: #fff; text-decoration: none; }
.bc-support--inline { margin-block-start: 18px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.bc-hero {
    position: relative;
    overflow: hidden;
    padding-block: 56px 72px;
    background:
        radial-gradient(circle at 85% 15%, rgba(var(--brand-300-rgb), 0.35), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(150, 234, 232, 0.18), transparent 40%),
        linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 100%);
    color: #fff;
}
.bc-hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .bc-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.bc-hero__title {
    font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
    line-height: var(--lh-tight);
    font-weight: var(--fw-bold);
    color: #fff;
    margin: 0 0 12px;
}
.bc-hero__title span { display: block; color: var(--accent-300); }
.bc-hero__strap { font-size: var(--text-lg); font-weight: var(--fw-semi); margin: 0 0 14px; color: #fff; }
.bc-hero__lead { font-size: var(--text-md); color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin: 0 0 26px; }
.bc-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
}

/* Two ways in */
.bc-paths {
    display: grid;
    gap: 14px;
}
@media (min-width: 576px) {
    .bc-paths { grid-template-columns: 1fr 1fr; }
}
.bc-paths__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: var(--bc-radius-sm);
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.bc-paths__item:hover, .bc-paths__item:focus-visible { transform: translateY(-2px); text-decoration: none; }
.bc-paths__item strong { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-md); }
.bc-paths__item span { font-size: var(--text-sm); }
.bc-paths__item--join { background: #fff; color: var(--brand-700); box-shadow: var(--bc-shadow); }
.bc-paths__item--join span { color: var(--color-text-muted); }
.bc-paths__item--update { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.bc-paths__item--update span { color: rgba(255, 255, 255, 0.82); }
.bc-paths--compact { margin-block-start: 22px; }
.bc-paths--compact .bc-paths__item--join { background: var(--brand-500); color: #fff; box-shadow: none; }
.bc-paths--compact .bc-paths__item--join span { color: rgba(255, 255, 255, 0.85); }
.bc-paths--compact .bc-paths__item--update { background: var(--color-surface); border-color: var(--color-border); color: var(--brand-700); }
.bc-paths--compact .bc-paths__item--update span { color: var(--color-text-muted); }

/* Film */
.bc-film { margin: 0; }
.bc-film__frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--bc-radius);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    background: var(--brand-700);
    aspect-ratio: 16 / 10;
}
.bc-film__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.bc-film__sound {
    position: absolute;
    inset-block-end: 14px;
    inset-inline-start: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 27, 110, 0.75);
    color: #fff;
    font-size: var(--text-sm);
    cursor: pointer;
}
.bc-film__sound-icon--on { display: none; }
.bc-film__sound.is-on .bc-film__sound-icon--on { display: inline-flex; }
.bc-film__sound.is-on .bc-film__sound-icon--off { display: none; }
.bc-film__caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-block-start: 12px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
}
.bc-film__caption i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: 8px;
    border-radius: 50%;
    background: var(--accent-300);
    box-shadow: 0 0 0 4px rgba(150, 234, 232, 0.25);
}

/* ── Sticky in-page nav ───────────────────────────────────────────── */
.bc-subnav {
    position: sticky;
    top: var(--bc-nav-offset);
    z-index: 20;
    background: var(--nav-surface-fallback);
    border-block-end: 1px solid var(--color-border);
}
@supports (backdrop-filter: blur(8px)) {
    .bc-subnav { background: var(--nav-surface); backdrop-filter: blur(10px); }
}
.bc-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
}
.bc-subnav__links {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.bc-subnav__links::-webkit-scrollbar { display: none; }
.bc-subnav__links a {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--brand-700);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.bc-subnav__links a:hover, .bc-subnav__links a.is-current { background: var(--brand-50); color: var(--brand-500); }
.bc-subnav__actions { display: none; align-items: center; gap: 16px; }
.bc-subnav__actions .bc-link { font-size: var(--text-sm); }
@media (min-width: 1100px) {
    .bc-subnav__actions { display: flex; }
}

/* ── Stats ────────────────────────────────────────────────────────── */
.bc-stats { padding-block: 28px; background: var(--color-bg); border-block-end: 1px solid var(--color-surface-2); }
.bc-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 768px) {
    .bc-stats__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
.bc-stats__cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-radius: var(--bc-radius-sm);
    background: var(--color-surface);
    text-align: center;
}
.bc-stats__cell strong { font-size: var(--text-2xl); color: var(--brand-500); line-height: 1.1; }
.bc-stats__cell span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── Sections ─────────────────────────────────────────────────────── */
.bc-section { padding-block: 64px; scroll-margin-top: calc(var(--bc-nav-offset) + 64px); }
@media (min-width: 992px) {
    .bc-section { padding-block: 88px; }
}
.bc-section--tint { background: var(--color-surface); }
.bc-section--tight { padding-block: 48px; }
.bc-section--dark {
    background: linear-gradient(160deg, var(--brand-700) 0%, #0d2a8f 100%);
    color: #fff;
}
.bc-section--dark .bc-h2 { color: #fff; }

.bc-heading { max-width: 760px; margin-block-end: 36px; }
.bc-heading--split {
    max-width: none;
    display: grid;
    gap: 16px;
    align-items: end;
}
@media (min-width: 992px) {
    .bc-heading--split { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.bc-split { display: grid; gap: 28px; }
@media (min-width: 992px) {
    .bc-split { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}
.bc-prose p { font-size: var(--text-md); color: var(--text-2); }
.bc-callout {
    padding: 18px 20px;
    border-inline-start: 4px solid var(--accent-500);
    border-radius: var(--bc-radius-sm);
    background: var(--color-surface);
}
.bc-callout strong { display: block; color: var(--brand-700); font-size: var(--text-lg); margin-block-end: 4px; }
.bc-quote { font-weight: var(--fw-semi); color: var(--brand-700) !important; }
.bc-ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.bc-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.bc-ticks .bc-icon { color: var(--accent-500); margin-block-start: 3px; }

/* ── Cards ────────────────────────────────────────────────────────── */
.bc-cards {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 640px) {
    .bc-cards--3, .bc-cards--paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .bc-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bc-cards--paths { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.bc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--bc-radius);
    background: var(--color-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bc-card:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow); border-color: var(--brand-100); }
.bc-card p { margin: 0; color: var(--text-2); font-size: var(--text-base); }
.bc-card__num { font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--color-text-subtle); letter-spacing: 0.08em; }
.bc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand-500);
}
.bc-card__title { font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--brand-700); margin: 0; }
.bc-card__latin { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: var(--fw-semi); }
.bc-card--path .bc-link { margin-block-start: auto; font-size: var(--text-sm); }

/* ── Audience tabs ────────────────────────────────────────────────── */
.bc-tabs__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-block-end: 6px;
    margin-block-end: 18px;
    scrollbar-width: thin;
}
.bc-tabs__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 18px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--brand-700);
    font: inherit;
    font-weight: var(--fw-semi);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bc-tabs__tab[aria-selected="true"] { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.bc-tabs__panel {
    padding: 28px;
    border-radius: var(--bc-radius);
    background: var(--color-surface);
}
.bc-tabs__question { font-size: var(--text-xl); color: var(--brand-700); font-weight: var(--fw-bold); margin: 0 0 10px; }
.bc-tabs__panel > p { font-size: var(--text-md); color: var(--text-2); max-width: 70ch; }

/* ── Social proof ─────────────────────────────────────────────────── */
.bc-proof { display: grid; gap: 28px; }
@media (min-width: 992px) {
    .bc-proof { grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 48px; }
    .bc-proof__note { grid-column: 1 / -1; }
}
.bc-proof__copy p, .bc-proof__note { color: rgba(255, 255, 255, 0.85); font-size: var(--text-md); margin: 0; }
.bc-proof__media { display: grid; gap: 16px; }
@media (min-width: 576px) {
    .bc-proof__media { grid-template-columns: 1fr 1fr; }
}
.bc-proof__item { margin: 0; }
.bc-proof__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 56 / 38;
    object-fit: cover;
    border-radius: var(--bc-radius);
}
.bc-proof__item figcaption { margin-block-start: 10px; font-weight: var(--fw-semi); }
.bc-proof__item figcaption b { color: var(--accent-300); }
.bc-proof__item figcaption span { display: block; font-weight: var(--fw-normal); color: rgba(255, 255, 255, 0.75); font-size: var(--text-sm); }

/* ── Events ───────────────────────────────────────────────────────── */
.bc-event { display: flex; }
.bc-event__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--bc-radius);
    background: var(--color-bg);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bc-event__link:hover, .bc-event__link:focus-visible { transform: translateY(-3px); box-shadow: var(--bc-shadow); text-decoration: none; color: inherit; }
.bc-event__cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-surface); }
.bc-event__cover--brand { display: flex; align-items: center; justify-content: center; background: var(--brand-gradient); }
.bc-event__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.bc-event__title { font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--brand-700); }
.bc-event time { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--color-text-muted); }
.bc-event__cta { display: inline-flex; align-items: center; gap: 6px; margin-block-start: auto; color: var(--brand-500); font-weight: var(--fw-semi); }
.bc-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-surface-2);
    color: var(--text-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
}
.bc-badge--live { background: rgba(0, 154, 158, 0.12); color: var(--accent-700); }
.bc-empty { padding: 28px; border-radius: var(--bc-radius); background: var(--color-surface); color: var(--color-text-muted); text-align: center; }

/* ── Join / update CTA pair ───────────────────────────────────────── */
.bc-cta-pair { display: grid; gap: 20px; }
@media (min-width: 992px) {
    .bc-cta-pair { grid-template-columns: 1fr 1fr; }
}
.bc-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 32px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--bc-radius);
    background: var(--color-surface);
    scroll-margin-top: calc(var(--bc-nav-offset) + 64px);
}
.bc-cta p { color: var(--text-2); }
/* Royal → navy, not --brand-gradient: that one starts at mint, where white
   text and the on-dark eyebrow drop well below AA. */
.bc-cta--primary { background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%); border-color: transparent; color: #fff; }
.bc-cta--primary .bc-h2 { color: #fff; }
.bc-cta--primary p { color: rgba(255, 255, 255, 0.92); }
.bc-cta__note { margin: 10px 0 0; font-size: var(--text-sm); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.bc-faq { display: grid; gap: 32px; }
@media (min-width: 992px) {
    .bc-faq { grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
    .bc-faq__intro { position: sticky; top: calc(var(--bc-nav-offset) + 80px); }
}
.bc-faq__list { display: grid; gap: 10px; }
.bc-faq__item {
    border: 1px solid var(--color-surface-2);
    border-radius: var(--bc-radius-sm);
    background: var(--color-bg);
}
.bc-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}
.bc-faq__item summary::-webkit-details-marker { display: none; }
.bc-faq__item summary h3 { margin: 0; font-size: var(--text-md); font-weight: var(--fw-semi); color: var(--brand-700); }
.bc-faq__chevron { color: var(--brand-500); transition: transform 0.2s ease; }
.bc-faq__item[open] .bc-faq__chevron { transform: rotate(180deg); }
.bc-faq__answer { padding: 0 20px 18px; color: var(--text-2); }
.bc-faq__answer p:last-of-type { margin-block-end: 10px; }

/* ── Community strip ──────────────────────────────────────────────── */
.bc-strip { padding-block: 22px; background: var(--brand-700); color: rgba(255, 255, 255, 0.9); }
.bc-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.bc-strip__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: var(--fw-semi); }
.bc-strip__links { display: inline-flex; flex-wrap: wrap; gap: 20px; }
.bc-strip__links a { color: var(--accent-300); text-decoration: none; font-size: var(--text-sm); }
.bc-strip__links a:hover { color: #fff; text-decoration: underline; }

/* ═══ FORMS ═════════════════════════════════════════════════════════ */
.bc-form-page { padding-block: 40px 72px; background: var(--color-surface); }
.bc-form-layout { display: grid; gap: 28px; }
@media (min-width: 992px) {
    .bc-form-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
    .bc-form-aside { position: sticky; top: calc(var(--bc-nav-offset) + 24px); }
}
.bc-form-aside__title {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
    line-height: var(--lh-tight);
    font-weight: var(--fw-bold);
    color: var(--brand-700);
    margin: 0 0 12px;
}
.bc-form-aside > p { color: var(--text-2); }
.bc-form-context {
    margin-block: 20px;
    padding: 18px;
    border-radius: var(--bc-radius-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-surface-2);
}
.bc-form-context strong { display: block; color: var(--brand-700); margin-block-end: 6px; }
.bc-form-context p { font-size: var(--text-sm); color: var(--text-2); margin-block-end: 10px; }
.bc-form-trust { display: flex; align-items: center; gap: 10px; color: var(--accent-700); font-weight: var(--fw-semi); font-size: var(--text-sm); }

.bc-form-main {
    padding: 24px 18px;
    border-radius: var(--bc-radius);
    background: var(--color-bg);
    box-shadow: var(--bc-shadow);
    scroll-margin-top: calc(var(--bc-nav-offset) + 16px);
}
.bc-form-main:focus { outline: none; }
@media (min-width: 768px) {
    .bc-form-main { padding: 36px; }
}

.bc-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
}
.bc-progress li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bc-progress i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-surface-2);
    color: var(--text-2);
    font-style: normal;
    font-weight: var(--fw-bold);
}
.bc-progress .is-active { color: var(--brand-700); font-weight: var(--fw-semi); }
.bc-progress .is-active i { background: var(--brand-500); color: #fff; }
.bc-progress .is-done i { background: var(--accent-500); color: #fff; }
@media (max-width: 575.98px) {
    .bc-progress span { display: none; }
}
.bc-progress-bar { height: 6px; border-radius: 999px; background: var(--color-surface-2); overflow: hidden; }
.bc-progress-bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    transform-origin: left center;
    transform: scaleX(var(--bc-progress, 0.25));
    transition: transform 0.3s ease;
}
[dir="rtl"] .bc-progress-bar span { transform-origin: right center; }
.bc-step-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-block: 18px 6px;
    font-size: var(--text-sm);
}
.bc-step-head__kicker { color: var(--brand-500); font-weight: var(--fw-semi); }
.bc-step-head__draft { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-muted); }
.bc-step__title { font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--brand-700); margin: 0 0 20px; }
.bc-step__block { display: grid; gap: 4px; margin-block-start: 8px; }

.bc-fields { display: grid; gap: 16px; margin-block: 8px 16px; }
@media (min-width: 768px) {
    .bc-fields { grid-template-columns: 1fr 1fr; }
    .bc-field--full { grid-column: 1 / -1; }
}
.bc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bc-field label, .bc-q__legend { font-weight: var(--fw-semi); color: var(--brand-700); font-size: var(--text-base); margin: 0; }
.bc-form input[type="text"], .bc-form input[type="email"], .bc-form input[type="tel"],
.bc-form select, .bc-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bc-form textarea { min-height: 96px; resize: vertical; }
.bc-form input:focus, .bc-form select:focus, .bc-form textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px var(--brand-50);
}
.bc-form [aria-invalid="true"] { border-color: var(--error) !important; }
.bc-error { margin: 4px 0 0; color: var(--error); font-size: var(--text-sm); font-weight: var(--fw-medium); }
.bc-field--other { margin-block-start: 10px; }

.bc-phone { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px; }
.bc-phone__other { margin-block-start: 8px; max-width: 220px; }
.bc-phone__preview { color: var(--accent-700); font-weight: var(--fw-semi); }

.bc-q { margin: 18px 0 8px; padding: 0; border: 0; min-width: 0; }
.bc-q__legend { display: block; width: 100%; margin-block-end: 8px; }
.bc-q__count {
    display: flex;
    justify-content: space-between;
    margin-block-end: 10px;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.bc-choices { display: grid; gap: 8px; }
@media (min-width: 576px) {
    .bc-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bc-choices--inline { grid-template-columns: repeat(2, minmax(0, 160px)); }
.bc-choices--rating { grid-template-columns: repeat(5, minmax(0, 72px)); }
.bc-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--bc-radius-sm);
    background: var(--color-bg);
    cursor: pointer;
    font-size: var(--text-base);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.bc-choices--rating .bc-choice { justify-content: center; }
.bc-choice input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand-500); margin: 0; }
.bc-choice:hover { border-color: var(--brand-300); }
.bc-choice.is-selected, .bc-choice:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); }
.bc-choice.is-disabled, .bc-choice:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }

.bc-acc {
    margin-block: 12px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--bc-radius-sm);
    padding: 0 16px;
}
.bc-acc > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 14px;
    cursor: pointer;
    font-weight: var(--fw-semi);
    color: var(--brand-700);
}
.bc-acc[open] > summary { border-block-end: 1px solid var(--color-surface-2); }
.bc-acc__badge {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-500);
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
}
.bc-acc--optional { background: var(--color-surface); }

.bc-panel {
    margin-block: 16px;
    padding: 18px;
    border-radius: var(--bc-radius-sm);
    border-inline-start: 4px solid var(--accent-500);
    background: var(--color-surface);
}

/* Photo */
.bc-photo { margin-block-end: 14px; }
.bc-photo__drop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 2px dashed var(--brand-300);
    border-radius: var(--bc-radius-sm);
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: var(--fw-semi);
    cursor: pointer;
}
.bc-photo__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bc-photo__crop { display: grid; gap: 16px; margin-block-start: 14px; }
@media (min-width: 576px) {
    .bc-photo__crop { grid-template-columns: 200px 1fr; align-items: center; }
}
.bc-photo__crop canvas { width: 200px; height: 200px; border-radius: 50%; background: var(--color-surface); }
.bc-photo__controls { display: grid; gap: 10px; }
.bc-photo__controls label { display: grid; gap: 4px; font-size: var(--text-sm); color: var(--text-2); }
.bc-photo__controls .bc-btn { justify-self: start; }
.bc-photo__current { display: flex; align-items: center; gap: 16px; }
.bc-photo__current img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-100); }
.bc-photo__pick > .bc-link { margin-block-end: 10px; }

/* Policy */
.bc-policy {
    display: flex;
    gap: 14px;
    margin-block: 20px 8px;
    padding: 18px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--bc-radius-sm);
}
.bc-policy > .bc-icon { color: var(--brand-500); margin-block-start: 2px; }
.bc-policy strong { display: block; color: var(--brand-700); }
.bc-policy p { margin: 4px 0 8px; font-size: var(--text-sm); color: var(--text-2); }
.bc-policy.is-accepted { border-color: var(--accent-500); background: rgba(0, 154, 158, 0.06); }
.bc-policy.is-accepted > .bc-icon { color: var(--accent-500); }

.bc-alert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-block: 16px;
    padding: 14px 16px;
    border-radius: var(--bc-radius-sm);
    background: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: #b3261e;
}
.bc-notice {
    margin-block: 20px;
    padding: 16px;
    border-radius: var(--bc-radius-sm);
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.35);
    color: var(--color-text);
}
.bc-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 24px; }
.bc-form-footnote { margin: 14px 0 0; font-size: var(--text-sm); color: var(--color-text-muted); }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.bc-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Policy dialog */
.bc-dialog {
    width: min(760px, calc(100vw - 24px));
    max-height: min(86vh, 900px);
    padding: 0;
    border: 0;
    border-radius: var(--bc-radius);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
    color: var(--color-text);
}
.bc-dialog[open] { display: flex; flex-direction: column; }
.bc-dialog::backdrop { background: rgba(11, 27, 110, 0.55); }
.bc-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-block-end: 1px solid var(--color-surface-2);
}
.bc-dialog__head h2 { margin: 0; font-size: var(--text-xl); color: var(--brand-700); }
.bc-dialog__close { border: 0; background: none; color: var(--text-2); cursor: pointer; padding: 6px; }
.bc-dialog__body { padding: 8px 22px; overflow-y: auto; }
.bc-dialog__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 22px;
    border-block-start: 1px solid var(--color-surface-2);
}

/* ═══ SUCCESS ═══════════════════════════════════════════════════════ */
.bc-success { padding-block: 48px 80px; background: var(--color-surface); }
.bc-success__inner {
    max-width: 720px;
    padding: 36px 22px;
    border-radius: var(--bc-radius);
    background: var(--color-bg);
    box-shadow: var(--bc-shadow);
    text-align: center;
}
.bc-success__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent-500);
    color: #fff;
}
.bc-success__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: var(--fw-bold); color: var(--brand-700); margin: 0 0 12px; }
.bc-receipt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-block: 22px;
    padding: 14px;
    border-radius: var(--bc-radius-sm);
    background: var(--color-surface);
}
.bc-receipt span { font-size: var(--text-sm); color: var(--color-text-muted); }
.bc-receipt time { font-weight: var(--fw-bold); color: var(--brand-700); }
.bc-receipt small { color: var(--color-text-subtle); }
.bc-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-block: 22px;
    padding: 22px;
    border: 2px dashed var(--brand-300);
    border-radius: var(--bc-radius);
}
.bc-code > span { color: var(--text-2); font-weight: var(--fw-semi); }
.bc-code strong { font-size: var(--text-2xl); letter-spacing: 0.12em; color: var(--brand-500); }
.bc-whatsapp { margin-block: 24px; padding: 22px; border-radius: var(--bc-radius); background: rgba(18, 140, 126, 0.07); }
.bc-whatsapp h2 { font-size: var(--text-xl); color: var(--brand-700); margin: 0 0 8px; }
.bc-whatsapp__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-block: 14px 4px; }
.bc-success__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin: 24px 0 0; }
.bc-success__actions .bc-support--inline { margin: 0; }

/* ═══ POLICIES DOCUMENT ═════════════════════════════════════════════ */
.bc-doc { padding-block: 48px 80px; }
.bc-doc__inner { max-width: 860px; }
.bc-doc__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: var(--fw-bold); color: var(--brand-700); margin: 0 0 24px; }
.bc-policies h3 { font-size: var(--text-lg); color: var(--brand-700); margin: 26px 0 8px; font-weight: var(--fw-bold); }
.bc-policies h4 { font-size: var(--text-md); color: var(--brand-500); margin: 16px 0 6px; font-weight: var(--fw-bold); }
.bc-policies p, .bc-policies li { color: var(--text-2); }
.bc-policies ul { padding-inline-start: 22px; }
.bc-policies__ack { margin-block-start: 26px; padding: 16px; border-radius: var(--bc-radius-sm); background: var(--color-surface); }
.bc-doc__note { margin-block-start: 22px; color: var(--color-text-muted); font-size: var(--text-sm); }
.bc-doc__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-block-start: 22px; }

@media (prefers-reduced-motion: reduce) {
    .bc *, .bc *::before, .bc *::after { transition-duration: 0.01ms !important; }
    .bc-card:hover, .bc-event__link:hover, .bc-paths__item:hover { transform: none; }
}
