/* ================================================================
   BunerCare Health Studio — Editorial front page (v2)
   Self-contained · no legacy landing dependencies
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bc-black: #000000;
    --bc-ink: #0a0a0a;
    --bc-surface: #111111;
    --bc-line: rgba(255, 255, 255, 0.07);
    --bc-line-strong: rgba(255, 255, 255, 0.14);
    --bc-white: #fafafa;
    --bc-muted: rgba(255, 255, 255, 0.48);
    --bc-dim: rgba(255, 255, 255, 0.28);
    --bc-accent: #5b9fd4;
    --bc-accent-soft: rgba(91, 159, 212, 0.12);
    --bc-portal-patient: #3ecf8e;
    --bc-portal-patient-soft: rgba(62, 207, 142, 0.14);
    --bc-portal-doctor: #5b9fd4;
    --bc-portal-doctor-soft: rgba(91, 159, 212, 0.14);
    --bc-portal-admin: #c4a35a;
    --bc-portal-admin-soft: rgba(196, 163, 90, 0.14);
    --bc-display: 'Syne', system-ui, sans-serif;
    --bc-body: 'Inter', system-ui, sans-serif;
    --bc-max: 1400px;
    --bc-pad: clamp(20px, 4vw, 56px);
    --bc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --bc-radius: 2px;
}

html { scroll-behavior: smooth; }

.bc-studio {
    background: var(--bc-black);
    color: var(--bc-white);
    font-family: var(--bc-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.bc-menu-open {
    overflow: hidden;
}

.bc-studio ::selection {
    background: rgba(91, 159, 212, 0.35);
    color: #fff;
}

.bc-studio a { color: inherit; text-decoration: none; }

.bc-studio img { max-width: 100%; display: block; }

/* —— Grain + progress —— */
.bc-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bc-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    width: 0;
    background: var(--bc-white);
    z-index: 9100;
}

/* —— Header —— */
.bc-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--bc-pad);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 100%);
    transition: background 0.4s var(--bc-ease);
}

.bc-nav.is-scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bc-line);
}

.bc-nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.bc-nav__icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.bc-nav__logo span {
    font-family: var(--bc-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bc-nav__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bc-nav__hire {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.25s;
}

.bc-nav__hire:hover { opacity: 0.6; }

.bc-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--bc-line-strong);
    border-radius: 999px;
    color: var(--bc-white);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.bc-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.bc-nav__toggle-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bc-nav__toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 18px;
}

.bc-nav__toggle-bars span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.4s var(--bc-ease), opacity 0.3s;
}

.bc-nav__toggle.is-open .bc-nav__toggle-bars span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.bc-nav__toggle.is-open .bc-nav__toggle-bars span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* —— Menu overlay —— */
.bc-menu {
    position: fixed;
    inset: 0;
    z-index: 9100;
    background: var(--bc-black);
    display: flex;
    flex-direction: column;
    padding: 96px var(--bc-pad) 40px;
    overflow-y: auto;
    overflow-x: visible;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--bc-ease), visibility 0.45s;
}

.bc-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.bc-menu__links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    max-width: var(--bc-max);
    width: 100%;
    margin: 0 auto;
    padding: 8px 0;
}

.bc-menu__link {
    font-family: var(--bc-display);
    font-size: clamp(2rem, 6.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--bc-dim);
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 3vw, 28px);
    padding: 4px 0 4px 4px;
    transition: color 0.35s, padding-left 0.35s var(--bc-ease);
}

.bc-menu__link:hover {
    color: var(--bc-white);
    padding-left: 16px;
}

.bc-menu__link small {
    font-family: var(--bc-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--bc-accent);
}

.bc-menu__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--bc-line);
    max-width: var(--bc-max);
    width: 100%;
    margin: 0 auto;
}

.bc-menu__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bc-muted);
    margin-bottom: 16px;
}

.bc-menu__foot-link {
    display: block;
    font-family: var(--bc-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--bc-muted);
    transition: color 0.2s;
}

.bc-menu__foot-link:hover { color: var(--bc-white); }

.bc-menu__portals .bc-portal-chips {
    flex-direction: column;
    align-items: stretch;
}

/* —— Hero —— */
.bc-hero {
    padding: 96px var(--bc-pad) 56px;
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    border-bottom: 1px solid var(--bc-line);
}

.bc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91, 159, 212, 0.08), transparent 60%);
    pointer-events: none;
}

.bc-hero__layout {
    position: relative;
    z-index: 1;
    max-width: var(--bc-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
}

.bc-hero__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
}

.bc-hero__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 3vw, 32px);
}

.bc-hero__logo-mark {
    width: min(100%, 320px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.bc-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bc-hero__eyebrow,
.bc-hero__loc {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bc-muted);
}

.bc-hero__title {
    font-family: var(--bc-display);
    font-size: clamp(2.75rem, 10vw, 7.5rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.bc-hero__title .bc-word {
    display: block;
    overflow: hidden;
}

.bc-hero__title .bc-word-inner {
    display: block;
    transform: translateY(110%);
    animation: bc-rise 1.1s var(--bc-ease) forwards;
}

.bc-hero__title .bc-word:nth-child(1) .bc-word-inner { animation-delay: 0.08s; }
.bc-hero__title .bc-word:nth-child(2) .bc-word-inner { animation-delay: 0.18s; }
.bc-hero__title .bc-word:nth-child(3) .bc-word-inner { animation-delay: 0.28s; color: var(--bc-accent); }

@keyframes bc-rise {
    to { transform: translateY(0); }
}

.bc-hero__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 40px);
    align-items: end;
    padding-top: clamp(20px, 3vw, 28px);
    border-top: 1px solid var(--bc-line);
}

.bc-hero__desc {
    max-width: 420px;
    color: var(--bc-muted);
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.75;
}

.bc-hero__cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.bc-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--bc-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: gap 0.3s var(--bc-ease), opacity 0.25s;
}

.bc-btn:hover { gap: 18px; opacity: 0.85; }

.bc-btn__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--bc-line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--bc-ease);
}

.bc-btn:hover .bc-btn__circle {
    background: var(--bc-white);
    color: var(--bc-black);
    border-color: var(--bc-white);
    transform: rotate(-45deg);
}

.bc-btn--fill .bc-btn__circle {
    background: var(--bc-white);
    color: var(--bc-black);
    border-color: var(--bc-white);
}

/* —— Platform showcase —— */
.bc-showcase {
    position: relative;
    padding: clamp(32px, 5vw, 64px) var(--bc-pad);
    border-top: 1px solid var(--bc-line);
    border-bottom: 1px solid var(--bc-line);
    background: var(--bc-ink);
    overflow: hidden;
}

.bc-showcase__glow {
    position: absolute;
    width: min(800px, 90vw);
    height: 400px;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(91, 159, 212, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.bc-showcase__frame {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid var(--bc-line);
    border-radius: 4px;
    background: linear-gradient(145deg, #0d0d0d, #050505);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.bc-showcase__frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.bc-showcase__bar {
    position: relative;
    z-index: 1;
    max-width: var(--bc-max);
    margin: clamp(32px, 5vw, 48px) auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
}

.bc-showcase__statement {
    font-family: var(--bc-display);
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 560px;
    color: var(--bc-white);
}

.bc-showcase__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.bc-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--bc-line-strong);
    border-radius: 999px;
    color: var(--bc-muted);
}

/* —— Marquee —— */
.bc-marquee {
    padding: 32px 0;
    border-top: 1px solid var(--bc-line);
    border-bottom: 1px solid var(--bc-line);
    overflow: hidden;
}

.bc-marquee__track {
    display: flex;
    width: max-content;
    animation: bc-marquee 50s linear infinite;
}

@keyframes bc-marquee {
    to { transform: translateX(-50%); }
}

.bc-marquee__item {
    font-family: var(--bc-display);
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bc-dim);
    padding: 0 40px;
    white-space: nowrap;
}

.bc-marquee__item em {
    font-style: normal;
    color: var(--bc-white);
}

/* —— Section shell —— */
.bc-section {
    padding: clamp(48px, 6vw, 88px) var(--bc-pad);
    max-width: var(--bc-max);
    margin: 0 auto;
}

.bc-section--full {
    max-width: none;
    padding-left: var(--bc-pad);
    padding-right: var(--bc-pad);
}

.bc-section--head-only {
    padding-bottom: clamp(16px, 3vw, 28px);
}

.bc-section--head-only .bc-section__head {
    margin-bottom: 0;
}

.bc-section__head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 4vw, 48px);
    margin-bottom: clamp(24px, 4vw, 48px);
    align-items: start;
}

.bc-section__num {
    font-family: var(--bc-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--bc-line-strong);
}

.bc-section__intro h2 {
    font-family: var(--bc-display);
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.bc-section__intro p {
    color: var(--bc-muted);
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.75;
    max-width: 520px;
}

/* —— Services list —— */
.bc-services { border-top: 1px solid var(--bc-line); }

.bc-service {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: clamp(16px, 3vw, 48px);
    align-items: center;
    padding: clamp(28px, 4vw, 48px) var(--bc-pad);
    border-bottom: 1px solid var(--bc-line);
    transition: background 0.4s;
    color: inherit;
}

.bc-service:hover {
    background: rgba(255, 255, 255, 0.02);
}

.bc-service__idx {
    font-family: var(--bc-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--bc-dim);
}

.bc-service__title {
    font-family: var(--bc-display);
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.bc-service__desc {
    color: var(--bc-muted);
    font-size: 14px;
    max-width: 560px;
    line-height: 1.65;
}

.bc-service__arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--bc-line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.4s var(--bc-ease), background 0.3s, border-color 0.3s;
    flex-shrink: 0;
}

.bc-service:hover .bc-service__arrow {
    transform: rotate(-45deg);
    background: var(--bc-white);
    color: var(--bc-black);
    border-color: var(--bc-white);
}

/* —— Work grid (asymmetric) —— */
.bc-work {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: var(--bc-max);
    margin: 0 auto;
    padding: 0 var(--bc-pad) clamp(48px, 7vw, 88px);
}

.bc-work__card {
    position: relative;
    border-radius: var(--bc-radius);
    overflow: hidden;
    background: var(--bc-surface);
    border: 1px solid var(--bc-line);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: border-color 0.4s;
}

.bc-work__card:hover { border-color: var(--bc-line-strong); }

.bc-work__card--large { grid-column: span 2; min-height: 520px; }
.bc-work__card--small { grid-column: span 1; min-height: 400px; }

.bc-work__visual--icon {
    background:
        radial-gradient(ellipse at 50% 35%, rgba(91,159,212,0.12), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(255,255,255,0.03), transparent 40%);
}

.bc-work__card--small .bc-work__visual--icon img {
    max-height: 62%;
    max-width: 72%;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.45));
}

.bc-work__visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: radial-gradient(ellipse at 50% 30%, rgba(91,159,212,0.08), transparent 60%);
}

.bc-work__visual img {
    max-height: 50%;
    max-width: 70%;
    width: auto;
    opacity: 0.9;
    transition: transform 0.7s var(--bc-ease), opacity 0.4s;
}

.bc-work__visual--photo img {
    max-height: 75%;
    max-width: 85%;
    object-fit: contain;
}

.bc-work__card:hover .bc-work__visual img {
    transform: scale(1.04);
    opacity: 1;
}

.bc-work__body {
    position: relative;
    z-index: 1;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
}

.bc-work__card--patient { --bc-card-accent: var(--bc-portal-patient); --bc-card-soft: var(--bc-portal-patient-soft); }
.bc-work__card--doctor  { --bc-card-accent: var(--bc-portal-doctor);  --bc-card-soft: var(--bc-portal-doctor-soft); }
.bc-work__card--admin   { --bc-card-accent: var(--bc-portal-admin);   --bc-card-soft: var(--bc-portal-admin-soft); }

.bc-work__card--patient:hover { border-color: rgba(62, 207, 142, 0.35); }
.bc-work__card--doctor:hover  { border-color: rgba(91, 159, 212, 0.35); }
.bc-work__card--admin:hover   { border-color: rgba(196, 163, 90, 0.35); }

.bc-work__type {
    font-family: var(--bc-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bc-card-accent, var(--bc-accent));
    margin-bottom: 10px;
}

.bc-work__name {
    font-family: var(--bc-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.bc-work__desc {
    font-size: 13px;
    color: var(--bc-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.bc-work__link {
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--bc-line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--bc-white);
    transition: background 0.3s, border-color 0.3s, transform 0.35s var(--bc-ease), gap 0.3s;
}

.bc-work__link-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: var(--bc-card-accent, var(--bc-accent));
    color: var(--bc-black);
    transition: transform 0.35s var(--bc-ease);
}

.bc-work__card:hover .bc-work__link {
    background: var(--bc-card-soft, var(--bc-accent-soft));
    border-color: var(--bc-card-accent, var(--bc-accent));
    gap: 14px;
}

.bc-work__card:hover .bc-work__link-icon {
    transform: rotate(-45deg);
}

/* —— Portal chips (shared) —— */
.bc-portal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bc-portal-chips--stack {
    flex-direction: column;
    align-items: stretch;
}

.bc-portal-chip {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--bc-line-strong);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.3s var(--bc-ease), border-color 0.3s, transform 0.3s var(--bc-ease);
}

.bc-portal-chip:hover {
    transform: translateY(-2px);
}

.bc-portal-chip__name {
    font-family: var(--bc-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bc-portal-chip__arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.35s var(--bc-ease);
}

.bc-portal-chip:hover .bc-portal-chip__arrow {
    transform: rotate(-45deg);
}

.bc-portal-chip--patient {
    border-color: rgba(62, 207, 142, 0.35);
    background: var(--bc-portal-patient-soft);
}

.bc-portal-chip--patient .bc-portal-chip__name { color: var(--bc-portal-patient); }
.bc-portal-chip--patient .bc-portal-chip__arrow { background: var(--bc-portal-patient); color: var(--bc-black); }

.bc-portal-chip--doctor {
    border-color: rgba(91, 159, 212, 0.35);
    background: var(--bc-portal-doctor-soft);
}

.bc-portal-chip--doctor .bc-portal-chip__name { color: var(--bc-portal-doctor); }
.bc-portal-chip--doctor .bc-portal-chip__arrow { background: var(--bc-portal-doctor); color: var(--bc-black); }

.bc-portal-chip--admin {
    border-color: rgba(196, 163, 90, 0.35);
    background: var(--bc-portal-admin-soft);
}

.bc-portal-chip--admin .bc-portal-chip__name { color: var(--bc-portal-admin); }
.bc-portal-chip--admin .bc-portal-chip__arrow { background: var(--bc-portal-admin); color: var(--bc-black); }

.bc-portal-chip--lg {
    padding: 14px 20px;
}

.bc-portal-chip--lg .bc-portal-chip__name {
    font-size: 13px;
    letter-spacing: 0.08em;
}

.bc-portal-chip--lg .bc-portal-chip__arrow {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

/* —— Portals section —— */
.bc-portals {
    padding: clamp(48px, 7vw, 88px) var(--bc-pad);
    border-bottom: 1px solid var(--bc-line);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 159, 212, 0.06), transparent 55%),
        var(--bc-black);
}

.bc-portals__head {
    max-width: var(--bc-max);
    margin: 0 auto clamp(28px, 5vw, 48px);
    text-align: center;
}

.bc-portals__eyebrow {
    display: block;
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bc-accent);
    margin-bottom: 14px;
}

.bc-portals__title {
    font-family: var(--bc-display);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 14px;
}

.bc-portals__lead {
    font-family: var(--bc-body);
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--bc-muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.bc-portals__grid {
    max-width: var(--bc-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bc-portal {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--bc-radius);
    border: 1px solid var(--bc-line);
    background: var(--bc-surface);
    overflow: hidden;
    transition: border-color 0.35s, transform 0.35s var(--bc-ease), box-shadow 0.35s;
}

.bc-portal::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.bc-portal:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.bc-portal:hover::before { opacity: 1; }

.bc-portal--patient { --portal-color: var(--bc-portal-patient); --portal-soft: var(--bc-portal-patient-soft); }
.bc-portal--doctor  { --portal-color: var(--bc-portal-doctor);  --portal-soft: var(--bc-portal-doctor-soft); }
.bc-portal--admin   { --portal-color: var(--bc-portal-admin);   --portal-soft: var(--bc-portal-admin-soft); }

.bc-portal--patient::before { background: radial-gradient(circle at 80% 0%, var(--portal-soft), transparent 55%); }
.bc-portal--doctor::before  { background: radial-gradient(circle at 80% 0%, var(--portal-soft), transparent 55%); }
.bc-portal--admin::before   { background: radial-gradient(circle at 80% 0%, var(--portal-soft), transparent 55%); }

.bc-portal--patient:hover { border-color: rgba(62, 207, 142, 0.4); }
.bc-portal--doctor:hover  { border-color: rgba(91, 159, 212, 0.4); }
.bc-portal--admin:hover   { border-color: rgba(196, 163, 90, 0.4); }

.bc-portal__num {
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--portal-color);
    margin-bottom: 20px;
}

.bc-portal__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-portal__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bc-portal__name {
    font-family: var(--bc-display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.bc-portal__desc {
    font-family: var(--bc-body);
    font-size: 13px;
    color: var(--bc-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
}

.bc-portal__cta {
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--bc-line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--bc-white);
    transition: background 0.3s, border-color 0.3s, gap 0.3s;
}

.bc-portal__cta-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: var(--portal-color);
    color: var(--bc-black);
    transition: transform 0.35s var(--bc-ease);
}

.bc-portal:hover .bc-portal__cta {
    background: var(--portal-soft);
    border-color: var(--portal-color);
    gap: 14px;
}

.bc-portal:hover .bc-portal__cta-icon {
    transform: rotate(-45deg);
}

/* —— Stats strip —— */
.bc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--bc-line);
    border-bottom: 1px solid var(--bc-line);
}

.bc-stat {
    padding: clamp(32px, 5vw, 56px) var(--bc-pad);
    border-right: 1px solid var(--bc-line);
    text-align: left;
}

.bc-stat:last-child { border-right: none; }

.bc-stat strong {
    display: block;
    font-family: var(--bc-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
}

.bc-stat span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bc-muted);
}

/* —— Philosophy quote —— */
.bc-quote-band {
    padding: clamp(48px, 8vw, 96px) var(--bc-pad);
    border-bottom: 1px solid var(--bc-line);
}

.bc-quote-band blockquote {
    max-width: var(--bc-max);
    margin: 0 auto;
    font-family: var(--bc-display);
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--bc-muted);
}

.bc-quote-band blockquote strong {
    color: var(--bc-white);
    font-weight: 800;
}

.bc-quote-band cite {
    display: block;
    margin-top: 32px;
    font-family: var(--bc-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bc-dim);
    font-style: normal;
}

/* —— Capabilities bento —— */
.bc-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bc-bento__cell {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    background: var(--bc-ink);
    transition: border-color 0.35s, background 0.35s;
}

.bc-bento__cell:hover {
    border-color: var(--bc-line-strong);
    background: var(--bc-surface);
}

.bc-bento__cell img {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.bc-bento__cell h3 {
    font-family: var(--bc-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.bc-bento__cell p {
    font-size: 13px;
    color: var(--bc-muted);
    line-height: 1.6;
}

/* —— Process —— */
.bc-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bc-process__step {
    padding: 32px 24px;
    border-left: 1px solid var(--bc-line);
}

.bc-process__step:first-child { border-left: none; padding-left: 0; }

.bc-process__num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--bc-accent);
    margin-bottom: 20px;
}

.bc-process__step h3 {
    font-family: var(--bc-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bc-process__step p {
    font-size: 13px;
    color: var(--bc-muted);
    line-height: 1.6;
}

/* —— MR block —— */
.bc-mr {
    background: var(--bc-ink);
    border-top: 1px solid var(--bc-line);
    border-bottom: 1px solid var(--bc-line);
    padding: clamp(48px, 7vw, 88px) var(--bc-pad);
}

.bc-mr__inner {
    max-width: var(--bc-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

.bc-mr-form label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bc-muted);
    margin-bottom: 16px;
}

.bc-mr-form__row {
    display: flex;
    border-bottom: 1px solid var(--bc-line-strong);
    padding-bottom: 12px;
}

.bc-mr-form input {
    flex: 1;
    background: none;
    border: none;
    color: var(--bc-white);
    font-family: var(--bc-display);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    min-width: 0;
}

.bc-mr-form input:focus { outline: none; }
.bc-mr-form input::placeholder { color: var(--bc-dim); }

.bc-mr-form button,
.bc-mr-form__scan {
    background: none;
    border: none;
    color: var(--bc-white);
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.2s;
}

.bc-mr-form button:hover { color: var(--bc-accent); }

.bc-mr-form__hint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--bc-dim);
}

.bc-mr-form__hint code {
    font-family: monospace;
    color: var(--bc-muted);
}

.bc-mr-form__scan {
    margin-right: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--bc-line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.bc-mr-form__scan:hover { color: var(--bc-accent); border-color: var(--bc-accent); }

.bc-mr-qr {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    background: rgba(255, 255, 255, 0.02);
}

.bc-mr-qr__reader {
    width: min(100%, 360px);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

/* —— Nearby care map (light / white block) —— */
.bc-nearby {
    --bc-nearby-bg: #f8fafc;
    --bc-nearby-card: #ffffff;
    --bc-nearby-text: #0f172a;
    --bc-nearby-muted: #64748b;
    --bc-nearby-border: #e2e8f0;
    --bc-nearby-accent: #2563eb;
    padding: clamp(48px, 7vw, 88px) var(--bc-pad);
    border-bottom: 1px solid var(--bc-nearby-border);
    background: var(--bc-nearby-bg);
    color: var(--bc-nearby-text);
}

.bc-nearby__head {
    max-width: var(--bc-max);
    margin: 0 auto clamp(24px, 4vw, 40px);
    text-align: center;
}

.bc-nearby__eyebrow {
    display: block;
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bc-accent);
    margin-bottom: 12px;
}

.bc-nearby__title {
    font-family: var(--bc-display);
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 12px;
    color: var(--bc-nearby-text);
}

.bc-nearby__lead {
    font-family: var(--bc-body);
    color: var(--bc-nearby-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.bc-nearby__toolbar {
    max-width: var(--bc-max);
    margin: 0 auto 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.bc-nearby__search-wrap {
    flex: 1 1 200px;
    min-width: min(100%, 200px);
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bc-nearby__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bc-nearby__search {
    width: 100%;
    font-family: var(--bc-body);
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--bc-nearby-border);
    background: var(--bc-nearby-card);
    color: var(--bc-nearby-text);
}

.bc-nearby__search::placeholder {
    color: var(--bc-nearby-muted);
}

.bc-nearby__search:focus {
    outline: none;
    border-color: var(--bc-nearby-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.bc-nearby__status {
    max-width: var(--bc-max);
    margin: 0 auto 16px;
    font-size: 12px;
    color: var(--bc-nearby-muted);
    min-height: 1.2em;
}

.bc-nearby__legend {
    max-width: var(--bc-max);
    margin: 0 auto 14px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    font-size: 12px;
    color: var(--bc-nearby-muted);
}

.bc-nearby__legend li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-nearby__legend-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid currentColor;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bc-nearby__legend-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.bc-nearby__legend-icon--hospital { color: #16a34a; }
.bc-nearby__legend-icon--pharmacy { color: #2563eb; }
.bc-nearby__legend-icon--lab { color: #d97706; }

.bc-nearby__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bc-nearby__filter,
.bc-nearby__locate {
    font-family: var(--bc-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--bc-nearby-border);
    background: var(--bc-nearby-card);
    color: var(--bc-nearby-muted);
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.bc-nearby__filter.is-active,
.bc-nearby__filter:hover,
.bc-nearby__locate:hover {
    color: #ffffff;
    border-color: var(--bc-nearby-accent);
    background: var(--bc-nearby-accent);
}

.bc-nearby__grid {
    max-width: var(--bc-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
    min-height: 420px;
}

.bc-nearby__map {
    min-height: 420px;
    border-radius: var(--bc-radius);
    border: 1px solid var(--bc-nearby-border);
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.bc-nearby__list-wrap {
    border: 1px solid var(--bc-nearby-border);
    border-radius: var(--bc-radius);
    background: var(--bc-nearby-card);
    overflow: auto;
    max-height: 420px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.bc-nearby__list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.bc-nearby__item {
    padding: 14px 12px;
    border-bottom: 1px solid var(--bc-nearby-border);
}

.bc-nearby__item:last-child { border-bottom: none; }

.bc-nearby__item-type {
    font-family: var(--bc-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bc-nearby__item-type--hospital { color: #16a34a; }
.bc-nearby__item-type--pharmacy { color: #2563eb; }
.bc-nearby__item-type--lab { color: #d97706; }

.bc-nearby__item-name {
    font-family: var(--bc-display);
    font-size: 1rem;
    font-weight: 700;
    margin: 6px 0;
    letter-spacing: -0.02em;
    color: var(--bc-nearby-text);
}

.bc-nearby__item-distance {
    font-family: var(--bc-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--bc-nearby-accent);
    margin: 4px 0 2px;
}

.bc-nearby__item-meta {
    font-size: 12px;
    color: var(--bc-nearby-muted);
    margin-bottom: 8px;
}

.bc-nearby__item-focus {
    font-family: var(--bc-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: none;
    border: none;
    color: var(--bc-nearby-accent);
    cursor: pointer;
    padding: 0;
}

.bc-nearby__empty {
    padding: 24px 16px;
    color: var(--bc-nearby-muted);
    font-size: 14px;
}

.bc-nearby__item.is-route-active {
    background: rgba(37, 99, 235, 0.06);
    border-left: 3px solid var(--bc-nearby-accent);
}

.bc-nearby__popup {
    min-width: 180px;
    font-size: 13px;
    line-height: 1.45;
}

.bc-nearby__popup-meta {
    margin: 6px 0;
    color: var(--bc-nearby-muted);
    font-size: 12px;
}

.bc-nearby__popup-phone a {
    color: var(--bc-nearby-accent);
    font-weight: 700;
    text-decoration: none;
}

.bc-nearby__popup-addr {
    margin: 4px 0 8px;
    font-size: 12px;
    color: var(--bc-nearby-muted);
}

.bc-nearby__popup-route {
    margin-top: 8px;
    font-family: var(--bc-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--bc-nearby-accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
}

.bc-nearby__route-line {
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.25));
}

.bc-nearby__map .leaflet-overlay-pane svg path.bc-nearby__route-line {
    pointer-events: none;
}

.bc-nearby__map .leaflet-overlay-pane {
    z-index: 450;
}

/* Leaflet map pins — white disc + type-colored icon */
.bc-map-pin-wrap {
    background: transparent !important;
    border: none !important;
}

.bc-map-pin {
    position: relative;
    width: 40px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.bc-map-pin__disc {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--pin-color, #16a34a);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pin-color, #16a34a);
}

.bc-map-pin__tail {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid var(--pin-color, #16a34a);
    margin-top: -2px;
}

.bc-nearby__map .leaflet-popup-content-wrapper {
    background: #ffffff;
    color: #0f172a;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.bc-nearby__map .leaflet-popup-tip {
    background: #ffffff;
}

/* —— FAQ —— */
.bc-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
}

.bc-faq__item {
    border-bottom: 1px solid var(--bc-line);
}

.bc-faq__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--bc-white);
    font-family: var(--bc-display);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.bc-faq__trigger span {
    font-size: 20px;
    font-weight: 300;
    color: var(--bc-dim);
    transition: transform 0.35s var(--bc-ease);
}

.bc-faq__item.is-open .bc-faq__trigger span {
    transform: rotate(45deg);
}

.bc-faq__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--bc-ease);
}

.bc-faq__item.is-open .bc-faq__body { max-height: 180px; }

.bc-faq__body p {
    padding-bottom: 24px;
    font-size: 14px;
    color: var(--bc-muted);
    line-height: 1.7;
}

/* —— CTA —— */
.bc-cta {
    padding: clamp(56px, 9vw, 120px) var(--bc-pad);
    text-align: center;
    border-top: 1px solid var(--bc-line);
}

.bc-cta h2 {
    font-family: var(--bc-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.95;
    margin-bottom: 40px;
}

.bc-cta p {
    color: var(--bc-muted);
    font-size: 16px;
    max-width: 440px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.bc-cta__portals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 32px;
}

.bc-cta__actions {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* —— Footer —— */
.bc-footer {
    padding: clamp(48px, 8vw, 80px) var(--bc-pad) 32px;
    border-top: 1px solid var(--bc-line);
}

.bc-footer__top {
    max-width: var(--bc-max);
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
}

.bc-footer__brand .bc-brand__wordmark {
    filter: brightness(0) invert(1);
    height: 32px !important;
    margin-bottom: 20px;
}

.bc-footer__brand p {
    font-size: 13px;
    color: var(--bc-muted);
    line-height: 1.65;
    max-width: 280px;
}

.bc-footer__portals .bc-portal-chips {
    margin-bottom: 16px;
}

.bc-footer__register {
    display: inline-block;
    font-family: var(--bc-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bc-muted);
    transition: color 0.2s;
}

.bc-footer__register:hover { color: var(--bc-white); }

.bc-footer h4 {
    font-family: var(--bc-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bc-dim);
    margin-bottom: 20px;
}

.bc-footer a,
.bc-footer p {
    display: block;
    font-size: 13px;
    color: var(--bc-muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.bc-footer a:hover { color: var(--bc-white); }

.bc-footer__bar {
    max-width: var(--bc-max);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--bc-line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--bc-dim);
    letter-spacing: 0.06em;
}

/* —— Reveal (optional scroll polish) —— */
.bc-reveal {
    opacity: 1;
    transform: none;
}

.bc-reveal.bc-reveal--motion {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--bc-ease), transform 0.7s var(--bc-ease);
}

.bc-reveal.bc-reveal--motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* —— Responsive —— */
@media (max-width: 1024px) {
    .bc-portals__grid { grid-template-columns: 1fr; }

    .bc-work { grid-template-columns: 1fr; }
    .bc-work__card--large,
    .bc-work__card--small { grid-column: span 1; min-height: 360px; }

    .bc-stats { grid-template-columns: repeat(2, 1fr); }
    .bc-stat:nth-child(2) { border-right: none; }
    .bc-stat { border-bottom: 1px solid var(--bc-line); }

    .bc-bento { grid-template-columns: repeat(2, 1fr); }
    .bc-process { grid-template-columns: repeat(2, 1fr); }
    .bc-process__step { border-left: none; border-top: 1px solid var(--bc-line); padding-left: 0; padding-top: 24px; }
    .bc-process__step:nth-child(-n+2) { border-top: none; }

    .bc-mr__inner { grid-template-columns: 1fr; }
    .bc-faq { grid-template-columns: 1fr; }
    .bc-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .bc-hero__layout {
        grid-template-columns: 1fr;
    }

    .bc-hero__brand {
        justify-content: flex-end;
    }

    .bc-hero__logo-mark {
        width: min(72vw, 260px);
    }

    .bc-nearby__grid {
        grid-template-columns: 1fr;
    }

    .bc-nearby__list-wrap {
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .bc-hero__foot { grid-template-columns: 1fr; }
    .bc-mr-form__row { flex-wrap: wrap; gap: 10px; }
    .bc-mr-form__scan { margin-right: 0; }
    .bc-hero__cta-group { align-items: flex-start; }
    .bc-service { grid-template-columns: 1fr; gap: 16px; }
    .bc-service__arrow { display: none; }
    .bc-section__head { grid-template-columns: 1fr; }
    .bc-bento { grid-template-columns: 1fr; }
    .bc-process { grid-template-columns: 1fr; }
    .bc-stats { grid-template-columns: 1fr; }
    .bc-stat { border-right: none; }
    .bc-menu__foot { grid-template-columns: 1fr; }
    .bc-footer__top { grid-template-columns: 1fr; }
    .bc-nav__hire { display: none; }
    .bc-showcase__bar { flex-direction: column; align-items: flex-start; }
    .bc-cta__portals { flex-direction: column; align-items: stretch; }
    .bc-cta__portals .bc-portal-chip { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
    .bc-word-inner, .bc-marquee__track { animation: none !important; }
    .bc-reveal, .bc-reveal.bc-reveal--motion { opacity: 1; transform: none; }
}
