/* Minimal redesign. Loaded site-wide; every rule is scoped to .bm (page wrapper) or .bm-section. */
:root {
    --bm-ink: #16181d;
    --bm-muted: #6b7079;
    --bm-line: #ececef;
    --bm-soft: #f7f7f8;
    --bm-accent: var(--theme-main-color, #ba202c);
    --bm-radius: 14px;
}
.bm { color: var(--bm-ink); padding: 150px 0 96px; }
.bm, .bm-section, .bm-page-head { color: var(--bm-ink); }
.bm a, .bm-section a, .bm-page-head a { color: inherit; text-decoration: none; }
.bm a:focus-visible, .bm button:focus-visible, .bm input:focus-visible, .bm textarea:focus-visible,
.bm-section a:focus-visible, .bm-section button:focus-visible, .bm-section input:focus-visible, .bm-section textarea:focus-visible {
    outline: 2px solid var(--bm-accent); outline-offset: 2px;
}
.bm-wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.bm-narrow { max-width: 740px; margin: 0 auto; padding: 0 16px; }

/* Page head */
.bm-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--bm-muted); margin-bottom: 16px; flex-wrap: wrap; }
.bm-crumbs a:hover { color: var(--bm-ink); }
.bm-crumbs span[aria-current] { color: var(--bm-ink); }
.bm-title { font-family: IRANYekanX-ExtraBlack, inherit; font-size: clamp(28px, 4vw, 40px); line-height: 1.5; margin: 0 0 12px; color: var(--bm-ink); }
.bm-lead { color: var(--bm-muted); font-size: 16px; line-height: 2; margin: 0; max-width: 560px; }

/* Toolbar: search + categories */
.bm-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
    margin: 40px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--bm-line); }
.bm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bm-chip { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--bm-line); color: var(--bm-muted); transition: .15s; }
.bm-chip:hover { color: var(--bm-ink); border-color: #d5d6da; }
.bm-chip[aria-current="page"], .bm-chip[aria-pressed="true"] { background: var(--bm-ink); border-color: var(--bm-ink); color: #fff; }
.bm-search { position: relative; flex: 0 1 280px; }
.bm-search input { width: 100%; height: 42px; border: 1px solid var(--bm-line); border-radius: 999px; padding: 0 16px 0 42px; font-size: 14px; background: #fff; }
.bm-search button { position: absolute; left: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--bm-muted); }

/* Post grid */
.bm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.bm-card { display: flex; flex-direction: column; }
.bm-card-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--bm-radius); overflow: hidden; background: var(--bm-soft); margin-bottom: 16px; }
.bm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bm-card:hover .bm-card-img img { transform: scale(1.03); }
.bm-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--bm-muted); }
.bm-meta > * + *::before { content: "·"; margin-left: 6px; }
.bm-meta a:hover { color: var(--bm-accent); }
.bm-card-title { font-size: 18px; line-height: 1.8; margin: 8px 0; font-weight: 700; }
.bm-card-title a:hover { color: var(--bm-accent); }
.bm-card-sum { color: var(--bm-muted); font-size: 14px; line-height: 2; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* First post on page 1 spans the row */
.bm-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.bm-card--lead .bm-card-img { margin: 0; }
.bm-card--lead .bm-card-title { font-size: 26px; }
.bm-card--lead .bm-card-sum { -webkit-line-clamp: 3; font-size: 15px; }
.bm-empty { text-align: center; color: var(--bm-muted); padding: 64px 0; }

/* Pagination (vendor.pagination.front markup) */
:is(.bm, .bm-section) .page_pagination { display: flex; gap: 6px; justify-content: center; margin-top: 56px; }
:is(.bm, .bm-section) .page_pagination a { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--bm-line); font-size: 14px; color: var(--bm-muted); }
:is(.bm, .bm-section) .page_pagination a.current { background: var(--bm-ink); color: #fff; border-color: var(--bm-ink); }
:is(.bm, .bm-section) .page_pagination a.disabled { opacity: .4; }

/* Article */
.bm-article-head { margin-bottom: 32px; }
.bm-article-head .bm-meta { margin-top: 4px; }
.bm-cover { border-radius: var(--bm-radius); overflow: hidden; margin: 0 0 40px; background: var(--bm-soft); }
.bm-cover img { width: 100%; height: auto; display: block; }
.bm-prose { font-size: 17px; line-height: 2.2; color: #2a2d33; overflow-wrap: anywhere; }
.bm-prose h2, .bm-prose h3, .bm-prose h4 { color: var(--bm-ink); line-height: 1.7; margin: 2em 0 .6em; font-weight: 700; }
.bm-prose h2 { font-size: 24px; } .bm-prose h3 { font-size: 20px; } .bm-prose h4 { font-size: 18px; }
.bm-prose p { margin: 0 0 1.4em; }
.bm-prose a { color: var(--bm-accent); text-decoration: underline; text-underline-offset: 4px; }
.bm-prose img { border-radius: 10px; height: auto; margin: 1em 0; }
.bm-prose ul, .bm-prose ol { padding-right: 1.4em; margin: 0 0 1.4em; }
.bm-prose li { margin-bottom: .4em; }
.bm-prose blockquote { border-right: 3px solid var(--bm-accent); padding: 4px 20px; margin: 1.6em 0; color: var(--bm-muted); }
.bm-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.bm-prose th, .bm-prose td { border: 1px solid var(--bm-line); padding: 8px 12px; }

.bm-share { display: flex; align-items: center; gap: 8px; padding: 24px 0; margin-top: 40px; border-top: 1px solid var(--bm-line); border-bottom: 1px solid var(--bm-line); font-size: 14px; color: var(--bm-muted); }
.bm-share a { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--bm-line); color: var(--bm-muted); transition: .15s; }
.bm-share a:hover { color: #fff; background: var(--bm-ink); border-color: var(--bm-ink); }
.bm-share button { margin-right: auto; white-space: nowrap; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-muted); font-size: 13px; }
.bm-share button:hover { color: var(--bm-ink); }

.bm-section-title { font-size: 20px; font-weight: 700; margin: 56px 0 24px; }
.bm-related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bm-related .bm-card-title { font-size: 16px; }

/* Comments */
.bm-comment { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--bm-line); }
.bm-avatar { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--bm-soft); display: grid; place-items: center; font-weight: 700; color: var(--bm-muted); }
.bm-comment-name { font-weight: 700; font-size: 15px; margin: 0; }
.bm-comment-date { font-size: 12px; color: var(--bm-muted); }
.bm-comment p { margin: 8px 0 0; line-height: 2; color: #2a2d33; font-size: 15px; }
.bm-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bm-form .bm-full { grid-column: 1 / -1; }
.bm-form label { display: block; font-size: 13px; color: var(--bm-muted); margin-bottom: 6px; }
.bm-form input, .bm-form textarea { width: 100%; border: 1px solid var(--bm-line); border-radius: 10px; padding: 10px 14px; font-size: 15px; background: #fff; }
.bm-form textarea { min-height: 140px; resize: vertical; }
.bm-form input:focus, .bm-form textarea:focus { border-color: var(--bm-ink); outline: none; }
.bm-btn { height: 46px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--bm-ink); color: #fff; font-size: 15px; transition: .15s; }
.bm-btn:hover { background: var(--bm-accent); }
.bm-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.bm-alert--ok { background: #ecfdf3; color: #106a3a; }
.bm-alert--err { background: #fef2f2; color: #a01d1d; }
.bm-alert p { margin: 0; }

#read-progress { position: fixed; top: 0; right: 0; height: 3px; width: 0; background: var(--theme-main-color, #ba202c); z-index: 9999; }

@media (max-width: 991px) {
    .bm { padding-top: 120px; }
    .bm-grid { grid-template-columns: repeat(2, 1fr); }
    .bm-card--lead { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 575px) {
    .bm-grid, .bm-related { grid-template-columns: 1fr; }
    .bm-form { grid-template-columns: 1fr; }
    .bm-toolbar { flex-direction: column-reverse; align-items: stretch; }
    .bm-search { flex-basis: auto; }
    .bm-prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .bm * { transition: none !important; }
}

/* ---------- Home ---------- */
.bm-section { padding: 96px 0; }
.bm-section + .bm-section { border-top: 1px solid var(--bm-line); }
.bm-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.bm-h2 { font-family: IRANYekanX-ExtraBlack, inherit; font-size: clamp(24px, 3vw, 32px); line-height: 1.5; margin: 0 0 8px; color: var(--bm-ink); }
.bm-head .bm-lead { font-size: 15px; }
.bm-link { font-size: 15px; color: var(--bm-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.bm-link:hover { color: var(--bm-accent); }
.bm-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
a.bm-btn { color: #fff; }
.bm-btn--ghost { background: transparent; color: var(--bm-ink) !important; border: 1px solid var(--bm-line); }
.bm-btn--ghost:hover { background: transparent; border-color: var(--bm-ink); }

/* Hero: dot grid + tinted circle + orbit ring + floating cards. Pure CSS/SVG, no extra requests. */
.bm-hero { position: relative; overflow: hidden; padding: 150px 0 88px; }
.bm-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(#d9dbe0 1px, transparent 1.2px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 45% 70% at 22% 55%, #000 10%, transparent 75%);
            mask-image: radial-gradient(ellipse 45% 70% at 22% 55%, #000 10%, transparent 75%); }
.bm-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bm-muted);
    padding: 6px 14px 6px 16px; border: 1px solid var(--bm-line); border-radius: 999px; background: #fff; margin-bottom: 24px; }
.bm-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--bm-accent); box-shadow: 0 0 0 4px rgb(186 32 44 / .12); }
.bm-hero h1 { font-family: IRANYekanX-ExtraBlack, inherit; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.4; margin: 0 0 20px; color: var(--bm-ink); }
.bm-hero h1 em { position: relative; font-style: normal; color: var(--bm-accent); white-space: nowrap; }
.bm-hero h1 em svg { position: absolute; right: -2%; bottom: -.08em; width: 104%; height: .28em; overflow: visible; }
.bm-hero h1 em path { fill: none; stroke: var(--bm-accent); stroke-width: 4; stroke-linecap: round; opacity: .35;
    stroke-dasharray: 130; stroke-dashoffset: 130; animation: bm-draw .9s .5s cubic-bezier(.65,0,.35,1) forwards; }
.bm-hero .bm-lead { font-size: 17px; max-width: 520px; }
.bm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.bm-actions .bm-btn i { transition: transform .2s; }
.bm-actions .bm-btn:hover i { transform: translateX(-4px); }
.bm-stats { display: flex; gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; }
.bm-stats li + li { padding-right: 40px; border-right: 1px solid var(--bm-line); }
.bm-stats strong { display: block; font-family: IRANYekanX-ExtraBlack, inherit; font-size: 30px; line-height: 1.4; color: var(--bm-ink); }
.bm-stats span { font-size: 13px; color: var(--bm-muted); }

.bm-hero-media { position: relative; justify-self: center; width: 100%; max-width: 460px; aspect-ratio: 1; }
.bm-hero-circle { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
    background: radial-gradient(circle at 50% 35%, #fff 0, #fbeced 55%, #f6d9db 100%); animation: bm-pop .8s cubic-bezier(.2,.8,.2,1) both; }
.bm-hero-circle img { width: 84%; height: auto; display: block; }
.bm-orbit { position: absolute; inset: -6%; border: 1px dashed #e3c3c6; border-radius: 50%; animation: bm-spin 40s linear infinite; }
.bm-orbit::before { content: ""; position: absolute; top: 14%; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--bm-accent); box-shadow: 0 0 0 5px #fff; }
.bm-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff;
    border: 1px solid var(--bm-line); border-radius: 16px; box-shadow: 0 12px 32px -8px rgb(22 24 29 / .14); white-space: nowrap; }
.bm-float strong { display: block; font-size: 14px; color: var(--bm-ink); line-height: 1.6; }
.bm-float span { font-size: 12px; color: var(--bm-muted); }
.bm-float--a { top: 4%; right: -18%; animation: bm-in .7s .35s both, bm-bob 6s 1.1s ease-in-out infinite; }
.bm-float--b { bottom: 12%; left: -12%; animation: bm-in .7s .55s both, bm-bob 6s 1.3s ease-in-out infinite reverse; }
.bm-spark { width: 56px; height: 26px; flex: none; }
.bm-spark path { fill: none; stroke: #16a34a; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.bm-spark circle { fill: #16a34a; }
.bm-float-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fbeced; color: var(--bm-accent); font-size: 18px; flex: none; }
.bm-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; border: 0; background: #fff; color: var(--bm-accent); font-size: 20px; box-shadow: 0 10px 28px rgb(0 0 0 / .16); transition: transform .2s; }
.bm-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .8); animation: bm-ring 2.4s ease-out infinite; }
.bm-play:hover { transform: translate(-50%, -50%) scale(1.06); }

/* Entrance: text slides up; h1 uses transform only so it still counts for LCP immediately. */
.bm-hero h1 { animation: bm-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.bm-eyebrow, .bm-hero .bm-lead, .bm-actions, .bm-stats { animation: bm-in .7s cubic-bezier(.2,.8,.2,1) both; }
.bm-hero .bm-lead { animation-delay: .1s; } .bm-actions { animation-delay: .2s; } .bm-stats { animation-delay: .3s; }
@keyframes bm-rise { from { transform: translateY(16px); } }
@keyframes bm-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes bm-pop { from { transform: scale(.94); } }
@keyframes bm-draw { to { stroke-dashoffset: 0; } }
@keyframes bm-spin { to { transform: rotate(360deg); } }
@keyframes bm-bob { 50% { translate: 0 -8px; } }
@keyframes bm-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .bm-hero *, .bm-hero *::before, .bm-hero *::after { animation: none !important; }
    .bm-hero h1 em path { stroke-dashoffset: 0; }
}

.bm-kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--bm-accent); margin-bottom: 8px; }
.bm-services-section { background: var(--bm-soft); border-top: 0 !important; }
.bm-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bm-service { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--bm-line);
    border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.bm-service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--bm-accent);
    transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.bm-service:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 40px -16px rgb(22 24 29 / .18); }
.bm-service:hover::before { transform: scaleX(1); }
.bm-service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.bm-service-icon { width: 56px; height: 56px; border-radius: 16px; background: #fbeced; display: grid; place-items: center; transition: background .25s; }
.bm-service-icon img { width: 36px; height: 36px; object-fit: contain; }
.bm-service:hover .bm-service-icon { background: #f6d9db; }
.bm-service-num { font-family: IRANYekanX-ExtraBlack, inherit; font-size: 28px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #d5d6da; }
.bm-service-title { font-size: 18px; font-weight: 700; line-height: 1.7; margin: 0 0 8px; color: var(--bm-ink); }
.bm-service-sum { font-size: 14px; line-height: 2; color: var(--bm-muted); margin: 0 0 20px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bm-service-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--bm-ink); transition: color .2s; }
.bm-service-more i { transition: transform .2s; }
.bm-service:hover .bm-service-more { color: var(--bm-accent); }
.bm-service:hover .bm-service-more i { transform: translateX(-4px); }

.bm-about-section { border-top: 0 !important; }
.bm-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.bm-about-text { font-size: 16px; line-height: 2.2; color: #3a3d44; margin: 16px 0 24px; }
.bm-about-text * { font-size: inherit !important; }
.bm-about-text p { margin: 0; }
.bm-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bm-checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--bm-ink); }
.bm-checks i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: #fbeced; color: var(--bm-accent); font-size: 12px; }
.bm-about-art { position: relative; padding: 40px 32px; border-radius: 28px;
    background: radial-gradient(circle at 70% 20%, #fff 0, #fbeced 70%); }
.bm-about-art::before { content: ""; position: absolute; inset: auto auto -18px -18px; width: 120px; height: 120px; z-index: -1;
    background-image: radial-gradient(#e3c3c6 1.5px, transparent 1.7px); background-size: 14px 14px; }
.bm-about-art img { display: block; width: 100%; height: auto; }

.bm-works-section .bm-head { align-items: flex-end; margin-bottom: 48px; }
.bm-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.bm-works [hidden] { display: none; }
.bm-work { display: flex; flex-direction: column; }
/* Mockups are transparent PNGs: no box behind them, just a soft floor shadow. */
.bm-work-img { position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 20px; }
.bm-work-img::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 18px; z-index: -1;
    background: radial-gradient(ellipse at center, rgb(22 24 29 / .14), transparent 70%); transition: opacity .35s, transform .35s; }
.bm-work-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.bm-work:hover .bm-work-img img { transform: translateY(-8px); }
.bm-work:hover .bm-work-img::after { opacity: .6; transform: scaleX(.85); }
.bm-work-img:not(:has(img))::after { display: none; }
.bm-work-body { display: flex; align-items: flex-start; gap: 16px; padding-top: 16px; border-top: 1px solid var(--bm-line); }
.bm-work-text { flex: 1; min-width: 0; }
.bm-work-title { font-size: 18px; font-weight: 700; line-height: 1.7; margin: 0; color: var(--bm-ink); }
.bm-work-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13px; line-height: 1.9; color: var(--bm-muted); margin-top: 4px; }
.bm-work-go { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bm-line); display: grid; place-items: center;
    color: var(--bm-ink); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.bm-work:hover .bm-work-go { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; transform: rotate(-45deg); }
.bm-works-more { text-align: center; margin-top: 56px; }
.bm-chips button.bm-chip:not([aria-pressed="true"]) { background: #fff; }

.bm-clients-section { background: var(--bm-soft); border-top: 0 !important; overflow: hidden; }
.bm-head--center { justify-content: center; text-align: center; }
.bm-head--center .bm-lead { margin: 0 auto; }
.bm-marquee { direction: ltr; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.bm-marquee-track { display: flex; width: max-content; animation: bm-marquee 40s linear infinite; }
.bm-marquee:hover .bm-marquee-track { animation-play-state: paused; }
/* Each copy is at least as wide as the screen, so the loop never shows a gap even with few logos. */
.bm-marquee-list { display: flex; justify-content: space-around; gap: 20px; min-width: 100vw; margin: 0; padding: 8px 10px; list-style: none; }
.bm-logo { flex: none; width: 180px; height: 96px; display: grid; place-items: center; padding: 20px 28px;
    background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.bm-logo img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.bm-logo:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 14px 30px -14px rgb(22 24 29 / .2); }
.bm-logo:hover img { filter: none; opacity: 1; }
@keyframes bm-marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 575px) { .bm-logo { width: 140px; height: 80px; padding: 16px 20px; } .bm-marquee-track { animation-duration: 28s; } }
@media (prefers-reduced-motion: reduce) {
    .bm-marquee { -webkit-mask-image: none; mask-image: none; }
    .bm-marquee-track { animation: none; width: auto; }
    .bm-marquee-list { flex-wrap: wrap; justify-content: center; min-width: 0; }
    .bm-marquee-list[aria-hidden] { display: none; }
}

.bm-cta-section { border-top: 0 !important; }
.bm-cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
    padding: 64px; border-radius: 32px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, #2a1416 0%, #16181d 55%); }
/* Decoration: faint dot grid + concentric rings + a soft brand-red glow, all CSS. */
.bm-cta::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1.2px); background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.bm-cta-deco { position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%;
    border: 1px solid rgb(255 255 255 / .08); box-shadow: 0 0 0 70px rgb(255 255 255 / .02), 0 0 0 140px rgb(255 255 255 / .015); }
.bm-cta-deco::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--bm-accent); opacity: .35; filter: blur(70px); }
.bm-cta .bm-kicker { color: #ff7a85; }
.bm-cta .bm-h2 { color: #fff; }
.bm-cta .bm-lead { color: rgb(255 255 255 / .68); }
.bm-cta-contacts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.bm-cta-contacts a { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.bm-cta-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; font-size: 17px;
    background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .1); transition: background .2s, border-color .2s; }
.bm-cta-contacts a:hover .bm-cta-ico { background: var(--bm-accent); border-color: var(--bm-accent); }
.bm-cta-contacts small { display: block; font-size: 12px; color: rgb(255 255 255 / .55); }
.bm-cta-contacts b { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.bm-cta-card { background: #fff; color: var(--bm-ink); border-radius: 24px; padding: 32px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); }
.bm-cta .bm-form { grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-cta .bm-form label { color: var(--bm-ink); font-weight: 700; }
.bm-cta .bm-form input, .bm-cta .bm-form textarea { background: var(--bm-soft); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.bm-cta .bm-form input::placeholder, .bm-cta .bm-form textarea::placeholder { color: #a3a6ad; }
.bm-cta .bm-form input:focus, .bm-cta .bm-form textarea:focus { background: #fff; border-color: var(--bm-accent); box-shadow: 0 0 0 4px rgb(186 32 44 / .1); }
.bm-cta .bm-form textarea { min-height: 120px; }
.bm-btn--accent { width: 100%; height: 52px; background: var(--bm-accent); }
.bm-btn--accent:hover { background: #9c1a24; }
.bm-btn--accent i { transition: transform .2s; }
.bm-btn--accent:hover i { transform: translateX(-4px); }
.bm-err { color: #a01d1d; font-size: 12px; }

@media (max-width: 991px) {
    .bm-hero { padding-top: 120px; }
    .bm-hero-grid, .bm-about, .bm-cta { grid-template-columns: 1fr; }
    .bm-hero-media { max-width: 340px; margin-top: 16px; }
    .bm-hero::before { -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 75%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 40% at 50% 75%, #000 10%, transparent 75%); }
    .bm-services { grid-template-columns: repeat(2, 1fr); }
    .bm-works { grid-template-columns: repeat(2, 1fr); }
    .bm-cta { padding: 40px 32px; gap: 32px; }
    .bm-section { padding: 64px 0; }
}
@media (max-width: 575px) {
    .bm-services, .bm-works, .bm-cta .bm-form { grid-template-columns: 1fr; }
    .bm-stats { gap: 24px; }
    .bm-stats li + li { padding-right: 24px; }
    .bm-hero-media { max-width: 280px; }
    .bm-float { padding: 8px 12px; gap: 8px; border-radius: 12px; }
    .bm-float strong { font-size: 12px; } .bm-float span { font-size: 11px; }
    .bm-float--a { right: -14%; } .bm-float--b { left: -14%; }
    .bm-spark { width: 40px; } .bm-float-icon { width: 32px; height: 32px; font-size: 15px; }
    .bm-cta { padding: 28px 16px; border-radius: 20px; }
    .bm-cta-card { padding: 20px; border-radius: 18px; }
    .bm-actions .bm-btn { flex: 1; }
}

/* ---------- Footer ---------- */
.bm-footer { background: var(--bm-soft); padding: 72px 0 0; color: var(--bm-muted); font-size: 14px; }
.bm-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.bm-footer a:hover { color: var(--bm-ink); }
.bm-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.3fr; gap: 48px; padding-bottom: 40px; }
.bm-footer-logo img { height: 44px; width: auto; display: block; }
.bm-footer-brand p { line-height: 2; margin: 20px 0 24px; max-width: 280px; }
.bm-social { display: flex; gap: 8px; }
.bm-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px;
    background: #fff; border: 1px solid var(--bm-line); color: var(--bm-ink); transition: background .2s, color .2s, border-color .2s; }
.bm-social a:hover { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
.bm-footer-col h4 { font-size: 15px; font-weight: 700; color: var(--bm-ink); margin: 0 0 20px; }
.bm-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bm-footer-col > p { line-height: 2; margin: 0 0 16px; }
.bm-footer-contact { gap: 14px !important; }
.bm-footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.9; }
.bm-footer-contact i { color: var(--bm-accent); margin-top: 6px; width: 14px; text-align: center; }
.bm-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 24px 0 32px; font-size: 13px; }
.bm-footer-bottom p { margin: 0; }
.bm-footer-bottom p a { color: var(--bm-ink); font-weight: 700; }
.bm-footer-mini { display: flex; gap: 20px; }
@media (max-width: 991px) {
    .bm-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 575px) {
    .bm-footer { padding-top: 56px; }
    .bm-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .bm-footer-brand, .bm-footer-reach { grid-column: 1 / -1; }
    .bm-footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Header ---------- */
.bm-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: padding .25s, background .25s, box-shadow .25s; }
.bm-header.sticky { position: fixed; padding: 10px 0; background: rgb(255 255 255 / .88);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--bm-line), 0 10px 30px -18px rgb(22 24 29 / .25); animation: bm-header-in .35s ease both; }
@keyframes bm-header-in { from { transform: translateY(-100%); } }
.bm-header-inner { display: flex; align-items: center; gap: 32px; }
.bm-header-logo img { height: 44px; width: auto; display: block; transition: height .25s; }
.bm-header.sticky .bm-header-logo img { height: 38px; }

.bm-nav { flex: 1; }
.bm-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bm-nav li { position: relative; list-style: none; }
.bm-nav > ul > li > a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 14px;
    color: var(--bm-muted); text-decoration: none; border-radius: 10px; transition: color .2s, background .2s; }
.bm-nav > ul > li > a:hover, .bm-nav > ul > li:focus-within > a { color: var(--bm-ink); }
.bm-nav > ul > li.is-active > a { color: var(--bm-ink); font-weight: 700; }
.bm-nav > ul > li.is-active > a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--bm-accent); }
.bm-nav li.has-sub > a::before { content: "\f107"; font-family: "Font Awesome 5 Pro"; font-weight: 300; font-size: 12px; order: 2; transition: transform .2s; }
.bm-nav li.has-sub:hover > a::before { transform: rotate(180deg); }
.bm-sub { position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px; margin: 0; padding: 8px; list-style: none;
    background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; box-shadow: 0 20px 40px -16px rgb(22 24 29 / .22);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.bm-sub::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.bm-nav li.has-sub:hover > .bm-sub, .bm-nav li.has-sub:focus-within > .bm-sub { opacity: 1; visibility: visible; transform: none; }
.bm-sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--bm-ink); text-decoration: none; transition: background .15s, color .15s; }
.bm-sub a:hover { background: var(--bm-soft); color: var(--bm-accent); }

.bm-header-actions { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.bm-header-support { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; color: var(--bm-ink); text-decoration: none; border-radius: 999px; transition: background .2s; }
.bm-header-support:hover { background: var(--bm-soft); color: var(--bm-ink); }
.bm-header-support i { color: var(--bm-accent); }
.bm-header-cta { height: 42px; padding: 0 20px; font-size: 14px; }
a.bm-header-cta:hover { color: #fff; }
.bm-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--bm-line); border-radius: 12px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.bm-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--bm-ink); }
.bm-burger span + span { width: 12px; margin-right: 6px; }

@media (max-width: 1199px) {
    .bm-header-support span { display: none; }
    .bm-nav > ul > li > a { padding: 10px 8px; }
}
@media (max-width: 991px) {
    .bm-nav { display: none; }
    .bm-burger { display: inline-flex; }
}
@media (max-width: 575px) {
    .bm-header-cta { display: none; }
    .bm-header-logo img { height: 38px; }
}

/* ---------- Mobile side panel ---------- */
.side-info.bm-panel { left: auto; right: -110%; width: min(340px, 88vw); padding: 20px; background: #fff; overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px; box-shadow: -20px 0 50px -20px rgb(22 24 29 / .3); transition: right .35s cubic-bezier(.2,.8,.2,1); }
.side-info.bm-panel.info-open { right: 0; left: auto; }
.bm-panel > * { flex-shrink: 0; }
.offcanvas-overlay.overlay-open { opacity: .35; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.bm-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 4px; }
.bm-panel-logo img { height: 40px; width: auto; display: block; }
.bm-panel-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--bm-line) !important; background: #fff !important; color: var(--bm-ink) !important; font-size: 18px; display: grid; place-items: center; }

/* meanmenu's cloned list */
.bm-panel-menu .meanmenu-reveal { display: none !important; }
.bm-panel-menu .mean-bar, .bm-panel-menu .mean-nav { background: transparent; padding: 0; min-height: 0; float: none; width: 100%; }
.bm-panel-menu .mean-nav > ul { display: block !important; margin: 0; padding: 0; list-style: none; }
.bm-panel-menu .mean-nav ul li { position: relative; float: none; width: 100%; border: 0; list-style: none; }
.bm-panel-menu .mean-nav ul li a { display: block; float: none; width: 100%; padding: 13px 12px; margin: 0; border: 0;
    font-size: 15px; color: var(--bm-ink); text-transform: none; border-radius: 12px; text-align: right; }
.bm-panel-menu .mean-nav ul li a:hover { background: var(--bm-soft); color: var(--bm-ink); }
.bm-panel-menu .mean-nav > ul > li.is-active > a { background: var(--bm-soft); font-weight: 700; }
.bm-panel-menu .mean-nav > ul > li.is-active > a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--bm-accent); vertical-align: middle; }
.bm-panel-menu .mean-nav ul li a.mean-expand { position: absolute; top: 4px; left: 4px; right: auto; width: 38px !important; height: 38px; padding: 0 !important;
    display: grid !important; place-items: center; border-radius: 10px; background: transparent; font-size: 16px !important; color: var(--bm-muted); }
.bm-panel-menu .mean-nav ul li a.mean-expand { border: 0 !important; }
.bm-panel-menu .mean-nav ul li a.mean-expand:hover, .bm-panel-menu .mean-nav ul li a.mean-expand.mean-clicked { background: var(--bm-soft); color: var(--bm-ink); }
.bm-panel-menu .bm-sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 2px 12px 6px 0; padding: 0 12px 0 0;
    border: 0; border-right: 2px solid var(--bm-line); border-radius: 0; box-shadow: none; background: transparent; }
.bm-panel-menu .bm-sub::before { display: none; }
.bm-panel-menu .bm-sub li a { font-size: 14px !important; padding: 9px 12px !important; color: var(--bm-muted) !important; }

.bm-panel-cta { width: 100%; height: 48px; }
.bm-panel-cta + .bm-panel-cta { margin-top: -4px; }
.bm-panel-contact { margin-top: 12px; padding: 20px 4px 4px; border-top: 1px solid var(--bm-line); }
.bm-panel-contact h4 { font-size: 14px; font-weight: 700; color: var(--bm-ink); margin: 0 0 14px; }
.bm-panel-contact ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--bm-muted); }
.bm-panel-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.9; }
.bm-panel-contact li i { color: var(--bm-accent); margin-top: 6px; width: 14px; text-align: center; }
.bm-panel-contact a { color: inherit; text-decoration: none; }

/* ---------- Inner page head (services) ---------- */
.bm-page-head { position: relative; padding: 150px 0 56px; }
.bm-page-head .bm-kicker { display: block; }
.bm-page-head .bm-lead { max-width: 620px; }
.bm-services-section + .bm-clients-section, .bm-page-head + .bm-services-section { border-top: 0 !important; }

.bm-svc-hero { overflow: hidden; }
.bm-svc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(#d9dbe0 1px, transparent 1.2px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 40% 60% at 20% 45%, #000 10%, transparent 75%);
            mask-image: radial-gradient(ellipse 40% 60% at 20% 45%, #000 10%, transparent 75%); }
.bm-svc-hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.bm-svc-hero .bm-actions .bm-btn--ghost i { color: var(--bm-accent); }
.bm-svc-media { position: relative; justify-self: center; width: 100%; max-width: 360px; aspect-ratio: 1; display: grid; place-items: center; }
.bm-svc-badge { width: 72%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 35%, #fff 0, #fbeced 60%, #f6d9db 100%); animation: bm-pop .8s cubic-bezier(.2,.8,.2,1) both; }
.bm-svc-badge img { width: 44%; height: auto; }
.bm-svc-media .bm-orbit { inset: 4%; }
.bm-svc-video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: var(--bm-ink); box-shadow: 0 30px 60px -24px rgb(22 24 29 / .35); }
.bm-svc-media:has(.bm-svc-video) { aspect-ratio: 16 / 10; max-width: 520px; }

.bm-jump-bar { position: sticky; top: 74px; z-index: 20; padding: 8px 0; }
.bm-jump { display: flex; align-items: center; gap: 8px; padding: 6px; background: rgb(255 255 255 / .92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--bm-line); border-radius: 18px; box-shadow: 0 12px 32px -20px rgb(22 24 29 / .3); }
.bm-jump-links { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bm-jump-links::-webkit-scrollbar { display: none; }
.bm-jump a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 13px;
    font-size: 14px; color: var(--bm-muted); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.bm-jump a i { font-size: 15px; }
.bm-jump a small { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
    font-size: 11px; font-weight: 700; background: var(--bm-soft); color: var(--bm-muted); transition: background .2s, color .2s; }
.bm-jump-links a:hover { background: var(--bm-soft); color: var(--bm-ink); }
.bm-jump-links a.is-current { background: var(--bm-ink); color: #fff; }
.bm-jump-links a.is-current small { background: rgb(255 255 255 / .16); color: #fff; }
.bm-jump-links a.is-current i { color: #ff7a85; }
.bm-jump a.bm-jump-cta { margin-right: auto; background: var(--bm-accent); color: #fff; font-weight: 700; }
.bm-jump a.bm-jump-cta:hover { background: #9c1a24; color: #fff; }
html { scroll-padding-top: 150px; }

.bm-svc-about { border-top: 0 !important; padding-top: 32px; }
.bm-collapsible { position: relative; }
.bm-collapsible.is-collapsed { max-height: 560px; overflow: hidden; }
.bm-collapsible.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, #fff); }
.bm-more-wrap { text-align: center; margin-top: 16px; }

/* Steps */
/* Steps: minimal numbered timeline (horizontal on desktop, vertical on mobile) */
.bm-timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 0; }
.bm-timeline li { position: relative; text-align: center; padding: 0 12px; }
.bm-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 23px; inset-inline-start: 50%; width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--bm-line) 0 8px, transparent 8px 14px); }
.bm-tl-dot { position: relative; z-index: 1; width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 1px solid var(--bm-line); color: var(--bm-ink); font-family: IRANYekanX-ExtraBlack, inherit; font-size: 17px;
    box-shadow: 0 0 0 6px #fff; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.bm-timeline li:first-child .bm-tl-dot { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
.bm-timeline li:hover .bm-tl-dot { background: var(--bm-ink); border-color: var(--bm-ink); color: #fff; transform: scale(1.06); }
.bm-tl-body h3 { font-size: 15px; font-weight: 700; line-height: 1.8; margin: 0; color: var(--bm-ink); }
.bm-tl-body p { font-size: 13px; line-height: 2; color: var(--bm-muted); margin: 6px 0 0; }
@media (max-width: 767px) {
    .bm-timeline { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
    .bm-timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; text-align: right; padding: 0 0 28px; }
    .bm-timeline li:not(:last-child)::after { top: 54px; bottom: 6px; inset-inline-start: 23px; width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, var(--bm-line) 0 8px, transparent 8px 14px); }
    .bm-tl-dot { margin: 0; }
    .bm-tl-body { padding-top: 10px; }
}

/* Testimonials */
.bm-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bm-quote { margin: 0; padding: 28px; border: 1px solid var(--bm-line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; gap: 20px; }
.bm-quote blockquote { margin: 0; font-size: 15px; line-height: 2.1; color: #3a3d44; }
.bm-quote blockquote::before { content: "”"; display: block; font-size: 48px; line-height: .6; color: var(--bm-accent); margin-bottom: 12px; font-family: Georgia, serif; }
.bm-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.bm-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.bm-quote figcaption b { display: block; font-size: 14px; color: var(--bm-ink); }
.bm-quote figcaption small { display: block; font-size: 12px; color: var(--bm-muted); }
.bm-quote-video { margin-right: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-soft); color: var(--bm-accent); text-decoration: none; }

/* FAQ */
.bm-faq { display: grid; gap: 12px; }
.bm-faq details { border: 1px solid var(--bm-line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.bm-faq details[open] { border-color: transparent; box-shadow: 0 16px 36px -18px rgb(22 24 29 / .2); }
.bm-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; font-size: 15px; font-weight: 700; color: var(--bm-ink); line-height: 1.8; }
.bm-faq summary::-webkit-details-marker { display: none; }
.bm-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-soft); color: var(--bm-ink); font-size: 18px; font-weight: 400; transition: transform .25s, background .25s, color .25s; }
.bm-faq details[open] summary::after { transform: rotate(45deg); background: var(--bm-accent); color: #fff; }
.bm-faq details p { margin: 0; padding: 0 22px 20px; font-size: 14px; line-height: 2.1; color: var(--bm-muted); }

@media (max-width: 991px) {
    .bm-page-head { padding-top: 120px; }
    .bm-svc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .bm-svc-media { max-width: 260px; }
    .bm-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .bm-jump-bar { top: 64px; }
    .bm-jump a { padding: 9px 12px; font-size: 13px; }
    .bm-jump-cta span { display: none; }

    .bm-svc-media { max-width: 200px; }
    .bm-collapsible.is-collapsed { max-height: 460px; }
}

/* Theme sets overflow-x:hidden on html+body, which makes body a scroll container and breaks position:sticky.
   clip hides horizontal overflow the same way without creating a scroll container. */
@supports (overflow: clip) {
    html, body { overflow-x: clip !important; }
}

/* ---------- Contact page ---------- */
.bm-contact-section { border-top: 0 !important; padding-top: 16px; }
.bm-contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.bm-contact-info { display: grid; gap: 14px; }
.bm-contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--bm-line); border-radius: 18px; background: #fff;
    color: var(--bm-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.bm-contact-card:hover { border-color: transparent; box-shadow: 0 16px 36px -18px rgb(22 24 29 / .22); transform: translateY(-2px); color: var(--bm-ink); }
.bm-contact-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; background: #fbeced; color: var(--bm-accent); transition: background .2s, color .2s; }
a.bm-contact-card:hover .bm-contact-ico { background: var(--bm-accent); color: #fff; }
.bm-contact-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bm-contact-text small { font-size: 12px; color: var(--bm-muted); }
.bm-contact-text b { font-size: 16px; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
.bm-contact-text b[dir="ltr"] { text-align: right; }
.bm-contact-go { flex: none; font-size: 13px; color: var(--bm-muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
a.bm-contact-card:hover .bm-contact-go { color: var(--bm-accent); }
.bm-contact-routes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.bm-contact-routes a { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--bm-soft); color: var(--bm-ink); text-decoration: none; transition: background .2s, color .2s; }
.bm-contact-routes a:hover { background: var(--bm-ink); color: #fff; }
.bm-contact-social { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 1px dashed var(--bm-line); border-radius: 18px; }
.bm-contact-social small { font-size: 13px; color: var(--bm-muted); }

.bm-contact-form { padding: 36px; border-radius: 24px; background: var(--bm-soft); }
.bm-contact-form .bm-h2 { font-size: 24px; }
.bm-contact-form .bm-lead { font-size: 14px; margin-bottom: 24px; }
.bm-contact-form .bm-form { grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-contact-form .bm-form label { color: var(--bm-ink); font-weight: 700; }
.bm-contact-form .bm-form input, .bm-contact-form .bm-form textarea { background: #fff; border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.bm-contact-form .bm-form input:focus, .bm-contact-form .bm-form textarea:focus { border-color: var(--bm-accent); box-shadow: 0 0 0 4px rgb(186 32 44 / .1); }
.bm-contact-form .bm-form textarea { min-height: 150px; }

.bm-map-section { padding: 0 0 96px; }
.bm-map { border-radius: 24px; overflow: hidden; border: 1px solid var(--bm-line); aspect-ratio: 21 / 8; background: var(--bm-soft); }
.bm-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35); }

@media (max-width: 991px) {
    .bm-contact { grid-template-columns: 1fr; }
    .bm-map { aspect-ratio: 4 / 3; }
}
@media (max-width: 575px) {
    .bm-contact-form { padding: 24px 16px; border-radius: 18px; }
    .bm-contact-form .bm-form { grid-template-columns: 1fr; }
    .bm-contact-go { display: none; }
    .bm-map-section { padding-bottom: 64px; }
}

/* ---------- Portfolio list ---------- */
.bm-works-filter { margin-top: 32px; }
.bm-chip small { font-size: 11px; opacity: .7; margin-right: 4px; }
.bm-works-page { border-top: 0 !important; padding-top: 24px; }

/* ---------- Portfolio detail ---------- */
.bm-pf-head { padding-bottom: 32px; }
.bm-pf-head-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bm-pf-head-grid .bm-actions { margin-top: 0; }
.bm-pf-head a.bm-kicker:hover { color: var(--bm-ink); }
.bm-pf-cover { margin: 8px 0 0; padding: 24px 0 8px; position: relative; }
.bm-pf-cover::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 28px; z-index: -1;
    background: radial-gradient(ellipse at center, rgb(22 24 29 / .16), transparent 70%); }
.bm-pf-cover img { display: block; width: 100%; max-width: 980px; height: auto; margin: 0 auto; }

.bm-pf-body { border-top: 0 !important; }
.bm-pf-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.bm-pf-facts { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--bm-line); border-radius: 20px; background: #fff; }
.bm-pf-facts dl { margin: 0; display: grid; gap: 0; }
.bm-pf-facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--bm-line); font-size: 14px; }
.bm-pf-facts dl > div:first-child { padding-top: 0; }
.bm-pf-facts dt { color: var(--bm-muted); font-weight: 400; }
.bm-pf-facts dd { margin: 0; font-weight: 700; color: var(--bm-ink); text-align: left; overflow-wrap: anywhere; }
.bm-pf-facts dd a { color: var(--bm-accent); text-decoration: none; }
.bm-pf-share { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; font-size: 13px; color: var(--bm-muted); }
.bm-pf-share .bm-social a { width: 34px; height: 34px; font-size: 14px; border-radius: 10px; }

.bm-pf-story { max-width: 720px; }
.bm-pf-story h2 { font-size: 20px; font-weight: 700; color: var(--bm-ink); margin: 0 0 12px; }
.bm-pf-story h2:not(:first-child) { margin-top: 40px; }
.bm-pf-story p { font-size: 16px; line-height: 2.2; color: #3a3d44; margin: 0; }
.bm-pf-activities ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.bm-pf-activities li { position: relative; padding: 12px 44px 12px 14px; border-radius: 14px; background: var(--bm-soft); font-size: 14px; line-height: 1.9; color: var(--bm-ink); }
.bm-pf-activities li::before { content: "\f00c"; font-family: "Font Awesome 5 Pro"; font-weight: 300; position: absolute; right: 12px; top: 12px;
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #fbeced; color: var(--bm-accent); }

.bm-pf-preview-section { background: var(--bm-soft); border-top: 0 !important; }
.bm-browser { max-width: 1000px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--bm-line);
    box-shadow: 0 30px 60px -30px rgb(22 24 29 / .3); }
.bm-browser-bar { direction: ltr; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--bm-line); background: #fafafa; }
.bm-browser-dots { display: flex; gap: 6px; }
.bm-browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #e2e3e7; }
.bm-browser-dots i:first-child { background: #ff6159; } .bm-browser-dots i:nth-child(2) { background: #ffbd2e; } .bm-browser-dots i:last-child { background: #28c941; }
.bm-browser-url { flex: 1; max-width: 420px; margin: 0 auto; padding: 5px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--bm-line);
    font-size: 12px; color: var(--bm-muted); text-align: center; font-family: system-ui, sans-serif; }
.bm-browser-view { height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.bm-browser-view:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: -2px; }
.bm-browser-view img { display: block; width: 100%; height: auto; }

@media (max-width: 991px) {
    .bm-pf-grid { grid-template-columns: 1fr; gap: 32px; }
    .bm-pf-facts { position: static; order: 2; }
}
@media (max-width: 575px) {
    .bm-pf-activities ul { grid-template-columns: 1fr; }
    .bm-browser-view { height: 60vh; }
    .bm-pf-head-grid .bm-actions { width: 100%; }
}

/* Blog card without a cover image */
.bm-card-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 40px; color: var(--bm-accent);
    background: radial-gradient(circle at 30% 20%, #fff 0, #fbeced 60%, #f6d9db 100%); }
