/* Page builder: layout grid and widgets. Uses the site's design tokens (--bg, --surface, --ink, --muted, --line, --accent, --gold). */
.b-page { color: var(--ink); }
.b-section { position: relative; padding: 56px 16px; }
.b-section > .b-container { position: relative; z-index: 1; margin-inline: auto; width: 100%; max-width: 1152px; }
.b-layout-wide > .b-container { max-width: 1400px; }
.b-layout-full { padding-inline: 0; }
.b-layout-full > .b-container { max-width: none; }
.b-row { display: flex; flex-wrap: wrap; }
.b-gap-0 { gap: 0; } .b-gap-sm { gap: 12px; } .b-gap-md { gap: 24px; } .b-gap-lg { gap: 40px; }
.b-valign-stretch { align-items: stretch; } .b-valign-start { align-items: flex-start; } .b-valign-center { align-items: center; } .b-valign-end { align-items: flex-end; }
.b-col { position: relative; display: flex; flex-direction: column; gap: var(--b-cgap, 20px); min-width: 0; flex: 0 0 calc(var(--b-w) - var(--b-g, 24px) * (1 - var(--b-w) / 100%)); }
.b-gap-0 > .b-col { --b-g: 0px; } .b-gap-sm > .b-col { --b-g: 12px; } .b-gap-lg > .b-col { --b-g: 40px; }
.b-cvalign-center { justify-content: center; } .b-cvalign-end { justify-content: flex-end; }
.b-widget { position: relative; min-width: 0; }
@media (max-width: 1023px) { .b-stack-tablet .b-col { flex-basis: 100%; } }
@media (max-width: 767px) {
    .b-section { padding: 40px 14px; }
    .b-col { flex-basis: 100% !important; }
    .b-reverse-mobile .b-row { flex-direction: column-reverse; }
}
@media (min-width: 1024px) { .b-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023px) { .b-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .b-hide-mobile { display: none !important; } }

/* Section patterns and shape dividers */
.b-pattern-dots { background-image: radial-gradient(rgba(93,103,122,.22) 1px, transparent 1px); background-size: 24px 24px; }
.b-pattern-grid { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; }
.b-pattern-aurora { background-image: radial-gradient(50rem 26rem at 85% 0%, rgba(50,116,246,.16), transparent 60%), radial-gradient(36rem 22rem at 0% 100%, rgba(220,187,115,.12), transparent 62%); }
.b-shape { position: absolute; inset-inline: 0; height: 60px; line-height: 0; z-index: 0; pointer-events: none; }
.b-shape svg { width: 100%; height: 100%; fill: var(--bg); }
.b-shape-top { top: -1px; transform: rotate(180deg); }
.b-shape-bottom { bottom: -1px; }

/* Motion */
.b-anim { opacity: 0; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--b-delay, 0ms); }
.b-anim-fade-up { transform: translateY(28px); }
.b-anim-zoom { transform: scale(.92); }
.b-anim-slide-right { transform: translateX(40px); }
.b-anim-slide-left { transform: translateX(-40px); }
.b-anim-flip { transform: perspective(900px) rotateX(18deg) translateY(20px); transform-origin: top; }
.b-anim.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .b-anim { opacity: 1; transform: none; transition: none; } }
.b-hover-lift { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.b-hover-lift:hover { transform: translateY(-6px); }
.b-hover-grow { transition: transform .35s var(--ease-out); }
.b-hover-grow:hover { transform: scale(1.03); }
[data-b-tilt] { transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }

/* Shared bits */
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1, 'ss01' 0; }
.bw-icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; color: var(--accent); background: linear-gradient(180deg, rgba(31,90,224,.12), rgba(31,90,224,.04)); border: 1px solid rgba(31,90,224,.18); font-size: 18px; }
.dark .bw-icon-badge { background: linear-gradient(180deg, rgba(90,152,255,.16), rgba(90,152,255,.04)); border-color: rgba(90,152,255,.22); }
.bw-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 18px; font-size: 13px; width: 100%; height: 100%; }
.bw-placeholder i { font-size: 22px; opacity: .6; }
.bw-grid { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 1023px) { .bw-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 639px) { .bw-grid { grid-template-columns: 1fr; } }
.bw-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(135deg, #2b66ea, #1a47b8); color: #fff; font-weight: 800; }
.bw-avatar-lg { width: 96px; height: 96px; font-size: 34px; }
.b-eyebrow { margin-bottom: 14px; }

/* Heading & text */
.bw-heading { font-weight: 900; line-height: 1.25; color: inherit; margin: 0; }
.bw-heading a { color: inherit; text-decoration: none; }
.bw-size-sm { font-size: 1rem; } .bw-size-md { font-size: 1.25rem; } .bw-size-lg { font-size: 1.5rem; } .bw-size-xl { font-size: 1.875rem; }
.bw-size-2xl { font-size: clamp(1.6rem, 3vw, 2.25rem); } .bw-size-3xl { font-size: clamp(1.9rem, 4vw, 3rem); } .bw-size-4xl { font-size: clamp(2.3rem, 6vw, 4.25rem); }
.bw-text { line-height: 2; color: var(--b-text, var(--muted)); }
.bw-text :where(p, ul, ol, blockquote, pre, table) { margin: 0 0 1em; }
.bw-text :where(p:last-child) { margin-bottom: 0; }
.bw-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bw-text strong { color: var(--ink); }
.bw-text ul { list-style: disc; padding-inline-start: 1.4em; } .bw-text ol { list-style: decimal; padding-inline-start: 1.4em; }
.bw-text blockquote { border-inline-start: 3px solid var(--gold); padding-inline-start: 1em; font-style: italic; }
.bw-text h2, .bw-text h3, .bw-text h4 { color: var(--ink); font-weight: 800; margin: 1.2em 0 .5em; }
.bw-text h2 { font-size: 1.6rem; } .bw-text h3 { font-size: 1.3rem; }
.bw-text-sm { font-size: .875rem; } .bw-text-md { font-size: 1rem; } .bw-text-lg { font-size: 1.15rem; } .bw-text-xl { font-size: 1.35rem; }
.bw-cols-2 { columns: 2; column-gap: 32px; } .bw-cols-3 { columns: 3; column-gap: 32px; }
@media (max-width: 767px) { .bw-cols-2, .bw-cols-3 { columns: 1; } }
.bw-dropcap > p:first-child::first-letter { float: right; font-size: 3.4em; line-height: .9; font-weight: 900; margin-inline-end: 10px; color: var(--accent); }

/* Image */
.bw-image { margin: 0; }
.bw-img { display: block; width: 100%; height: auto; border-radius: 20px; }
.bw-image-wauto .bw-img { width: auto; max-width: 100%; margin-inline: auto; }
.bw-image-w75 { width: 75%; margin-inline: auto; } .bw-image-w50 { width: 50%; margin-inline: auto; } .bw-image-w33 { width: 33%; margin-inline: auto; }
.bw-image figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.bw-fx-zoom { overflow: hidden; border-radius: 20px; } .bw-fx-zoom .bw-img { transition: transform .6s var(--ease-out); } .bw-fx-zoom:hover .bw-img { transform: scale(1.06); }
.bw-fx-float .bw-img { animation: floatSlow 5s ease-in-out infinite; }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Buttons */
.bw-btn { text-decoration: none; }
.bw-btn-sm { padding: 10px 18px !important; font-size: 12px !important; } .bw-btn-lg { padding: 18px 34px !important; font-size: 16px !important; }
.bw-btn-full { width: 100%; justify-content: center; display: flex !important; }
.bw-btn-gold, .bw-btn-dark, .bw-btn-light { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 16px; padding: 14px 28px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .25s var(--ease-out), filter .2s; }
.bw-btn-gold { color: #1a1205; background: linear-gradient(180deg, #e2bd6c, #b98a36); box-shadow: 0 10px 24px -10px rgba(185,138,54,.7); }
.bw-btn-dark { color: #fff; background: #0e131d; }
.dark .bw-btn-dark { background: #f3f5f8; color: #0e131d; }
.bw-btn-light { color: #1a47b8; background: #fff; }
.bw-btn-gold:hover, .bw-btn-dark:hover, .bw-btn-light:hover { transform: translateY(-2px); filter: brightness(1.05); }
.bw-btn-link { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 800; text-decoration: none; }
.bw-btn-link:hover { text-decoration: underline; }

/* Spacer & divider */
.bw-spacer { height: var(--h); } @media (max-width: 767px) { .bw-spacer { height: var(--hm); } }
.bw-divider { display: flex; align-items: center; gap: 14px; width: var(--dw); margin-inline: auto; }
.bw-divider-line { flex: 1; height: 1px; background: var(--line); }
.bw-divider-hairline .bw-divider-line { background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.bw-divider-dashed .bw-divider-line { background: none; border-top: 1.5px dashed var(--line); }
.bw-divider-dots .bw-divider-line { background: none; border-top: 3px dotted var(--line); }
.bw-divider-gold .bw-divider-line { background: linear-gradient(90deg, transparent, var(--gold), transparent); height: 2px; }
.bw-divider-label { font-size: 13px; font-weight: 700; color: var(--muted); }

/* Icon box, icon list */
.bw-iconbox { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; height: 100%; }
.bw-iconbox.light-card { padding: 26px; }
.bw-iconbox-side { flex-direction: row; align-items: flex-start; }
.bw-iconbox-body { display: flex; flex-direction: column; gap: 6px; }
.bw-iconbox-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.bw-iconbox-text { color: var(--muted); line-height: 1.9; font-size: .925rem; }
.bw-iconlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bw-iconlist-inline { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
.bw-iconlist li, .bw-iconlist a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; }
.bw-iconlist i { color: var(--accent); }

/* Counter & progress */
.bw-counter { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bw-counter-num { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; background: linear-gradient(120deg, #1a47b8, #3274f6 55%, #02acee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dark .bw-counter-num { background-image: linear-gradient(120deg, #fff, #bcd6ff 45%, #5a98ff); }
.bw-counter-label { color: var(--muted); font-weight: 700; font-size: .95rem; }
.bw-progress { display: flex; flex-direction: column; gap: 18px; }
.bw-progress-head { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.bw-progress-track { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bw-progress-bar { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #02acee, #2b66ea); transition: width 1.4s var(--ease-out); }
.is-in .bw-progress-bar, .bw-progress.is-in .bw-progress-bar { width: var(--p); }

/* Video, map */
.bw-video { position: relative; width: 100%; border-radius: 22px; overflow: hidden; background: #000; }
.bw-video iframe, .bw-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.bw-video .bw-placeholder { position: absolute; inset: 0; background: var(--surface); }
.bw-map { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.bw-map iframe { width: 100%; height: 100%; border: 0; }
.bw-map-address { position: absolute; bottom: 14px; inset-inline-start: 14px; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); font-size: 13px; font-weight: 700; }
.bw-map-address i { color: var(--accent); }

/* Gallery */
.bw-gallery { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.bw-gallery-masonry { display: block; columns: var(--cols); column-gap: 12px; }
.bw-gallery-masonry .bw-gallery-item { break-inside: avoid; margin-bottom: 12px; }
.bw-gallery-item { margin: 0; border-radius: 18px; overflow: hidden; position: relative; }
.bw-gallery-grid .bw-gallery-item img { aspect-ratio: 1; object-fit: cover; }
.bw-gallery-item img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.bw-gallery-item:hover img { transform: scale(1.05); }
.bw-gallery-item figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 10px 12px; color: #fff; font-size: 12px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
@media (max-width: 767px) { .bw-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bw-gallery-masonry { columns: 2; } }

/* Slider */
.bw-slider { position: relative; height: var(--h); border-radius: 26px; overflow: hidden; background: #0d121c; }
.bw-slides, .bw-slide { position: absolute; inset: 0; }
.bw-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 6s ease; display: flex; align-items: flex-end; }
.bw-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,8,13,calc(var(--ov) + .25)), rgba(6,8,13,var(--ov)) 60%, transparent); }
.bw-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.bw-slide-body { position: relative; padding: clamp(24px, 5vw, 56px); color: #fff; max-width: 680px; }
.bw-slide-body h3 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; margin: 0 0 10px; }
.bw-slide-body p { color: rgba(255,255,255,.82); line-height: 1.9; margin: 0 0 18px; }
.bw-slider-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); cursor: pointer; }
.bw-prev { right: 16px; } .bw-next { left: 16px; }
.bw-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.bw-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s; padding: 0; }
.bw-dots button.is-active { width: 26px; background: #fff; }

/* Hero */
.bw-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; padding: clamp(32px, 6vw, 72px) 0; }
.bw-hero-split { flex-direction: row; text-align: right; justify-content: space-between; }
.bw-hero-split .bw-hero-actions { justify-content: flex-start; }
.bw-hero-text { display: flex; flex-direction: column; gap: 20px; align-items: inherit; max-width: 760px; }
.bw-hero-split .bw-hero-text { align-items: flex-start; }
.bw-hero-title { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.2; margin: 0; }
.bw-hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); line-height: 2; margin: 0; }
.bw-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bw-hero-media { max-width: 480px; width: 100%; }
.bw-hero-media img { width: 100%; border-radius: 32px; box-shadow: 0 40px 80px -40px rgba(18,44,110,.6); }
.bw-hero-bg-aurora::before { content: ''; position: absolute; inset: -10% -20%; z-index: -1; background: radial-gradient(40rem 20rem at 70% 20%, rgba(50,116,246,.2), transparent 60%), radial-gradient(30rem 18rem at 20% 80%, rgba(220,187,115,.16), transparent 60%); filter: blur(10px); }
.bw-hero-bg-grid::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.bw-hero-bg-dots::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(93,103,122,.3) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
@media (max-width: 1023px) { .bw-hero-split { flex-direction: column; text-align: center; } .bw-hero-split .bw-hero-text { align-items: center; } .bw-hero-split .bw-hero-actions { justify-content: center; } }

/* CTA */
.bw-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; flex-wrap: wrap; }
.bw-cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin: 0 0 8px; }
.bw-cta p { margin: 0; line-height: 1.9; opacity: .85; }
.bw-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bw-cta-accent { color: #fff; background: linear-gradient(135deg, #1a47b8, #2b66ea 55%, #02acee); box-shadow: 0 30px 60px -30px rgba(31,90,224,.7); }
.bw-cta-gold { color: #1a1205; background: linear-gradient(135deg, #cfa24c, #f5ecd5); }
.bw-cta-accent .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }

/* Feature cards, pricing, testimonials, team, posts */
.bw-feature { display: flex; flex-direction: column; gap: 12px; padding: 26px; color: inherit; text-decoration: none; }
.bw-feature strong { font-size: 1.1rem; font-weight: 800; }
.bw-feature p { margin: 0; color: var(--muted); line-height: 1.9; font-size: .925rem; }
.bw-pricing-toggle { display: inline-flex; margin: 0 auto 24px; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.bw-pricing { display: flex; flex-direction: column; align-items: stretch; }
.bw-pricing-toggle { align-self: center; }
.bw-pricing-toggle button { border: 0; background: none; padding: 8px 20px; border-radius: 99px; font-weight: 700; color: var(--muted); cursor: pointer; font-family: inherit; }
.bw-pricing-toggle button.is-active { background: var(--accent); color: #fff; }
.bw-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.bw-plan.is-featured { border-color: rgba(31,90,224,.45); box-shadow: 0 0 0 1px rgba(31,90,224,.3), 0 40px 80px -40px rgba(31,90,224,.6); }
.bw-plan-badge { position: absolute; top: -12px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 99px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2b66ea, #1a47b8); }
.bw-plan-name { font-size: 1.2rem; font-weight: 900; }
.bw-plan-desc { color: var(--muted); font-size: .875rem; }
.bw-plan-price { font-size: 2rem; font-weight: 900; }
.bw-plan-price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.bw-plan ul { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bw-plan li { display: flex; gap: 10px; align-items: center; font-size: .925rem; }
.bw-plan li i { color: #10b981; }
.bw-testimonial { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.bw-stars { color: #f5b301; font-size: 13px; display: flex; gap: 2px; }
.bw-testimonial blockquote { margin: 0; line-height: 2; color: var(--ink); }
.bw-testimonial figcaption { display: flex; gap: 12px; align-items: center; }
.bw-testimonial figcaption img { width: 44px; height: 44px; border-radius: 99px; object-fit: cover; }
.bw-testimonial figcaption span { display: flex; flex-direction: column; }
.bw-testimonial small { color: var(--muted); font-size: 12px; }
.bw-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.bw-carousel > * { scroll-snap-align: start; }
.bw-member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 20px; }
.bw-member img { width: 104px; height: 104px; border-radius: 30px; object-fit: cover; margin-bottom: 6px; }
.bw-member strong { font-size: 1.1rem; font-weight: 900; }
.bw-member-role { color: var(--accent); font-weight: 700; font-size: .875rem; }
.bw-member p { color: var(--muted); font-size: .875rem; line-height: 1.8; margin: 0; }
.bw-socials { display: flex; gap: 8px; margin-top: 6px; }
.bw-socials a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); }
.bw-socials a:hover { color: var(--accent); border-color: var(--accent); }
.bw-post { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; }
.bw-post img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.bw-post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.bw-post-body strong { font-weight: 800; line-height: 1.7; }
.bw-post-body span { color: var(--muted); font-size: .875rem; line-height: 1.8; }
.bw-post-price { color: var(--accent) !important; font-weight: 800; }

/* Portfolio */
.bw-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.bw-filters button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 8px 16px; border-radius: 99px; font-weight: 700; font-family: inherit; cursor: pointer; }
.bw-filters button.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.bw-project { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: right; cursor: pointer; font-family: inherit; color: inherit; }
.bw-project img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease-out); }
.bw-project:hover img { transform: scale(1.05); }
.bw-project-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.bw-project-body small { color: var(--accent); font-weight: 700; font-size: 12px; }
.bw-project-body strong { font-weight: 800; }
.bw-project.is-hidden { display: none; }
.bw-modal { width: min(720px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--ink); overflow: hidden; }
.bw-modal::backdrop { background: rgba(6,8,13,.6); backdrop-filter: blur(6px); }
.bw-modal > img { width: 100%; max-height: 360px; object-fit: cover; }
.bw-modal-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bw-modal-body small { color: var(--accent); font-weight: 700; }
.bw-modal-body h3 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.bw-modal-body p { margin: 0; color: var(--muted); line-height: 2; }
.bw-modal-close { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 99px; border: 0; background: rgba(6,8,13,.55); color: #fff; cursor: pointer; z-index: 2; }
.bw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bw-tags span { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(31,90,224,.08); color: var(--accent); font-weight: 700; }

/* Timeline, FAQ, tabs, alert */
.bw-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.bw-timeline::before { content: ''; position: absolute; top: 0; bottom: 0; right: 54px; width: 2px; background: linear-gradient(var(--accent), transparent); }
.bw-timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; position: relative; }
.bw-timeline-date { font-weight: 900; color: var(--accent); text-align: center; padding-top: 18px; position: relative; }
.bw-timeline-item .light-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.bw-timeline-item p { margin: 0; color: var(--muted); line-height: 1.9; font-size: .925rem; }
.bw-faq { display: flex; flex-direction: column; gap: 12px; }
.bw-faq-item { padding: 0; }
.bw-faq-item:hover { transform: none; }
.bw-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; font-weight: 800; list-style: none; }
.bw-faq-item summary::-webkit-details-marker { display: none; }
.bw-faq-item summary i { color: var(--accent); transition: transform .3s; }
.bw-faq-item[open] summary i { transform: rotate(45deg); }
.bw-faq-answer { padding: 0 22px 20px; color: var(--muted); line-height: 2; }
.bw-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bw-tabs-pills .bw-tablist button { border: 1px solid var(--line); background: var(--surface); padding: 10px 18px; border-radius: 14px; font-weight: 700; color: var(--muted); font-family: inherit; cursor: pointer; }
.bw-tabs-pills .bw-tablist button.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.bw-tabs-underline .bw-tablist { border-bottom: 1px solid var(--line); gap: 20px; }
.bw-tabs-underline .bw-tablist button { border: 0; background: none; padding: 10px 2px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: inherit; cursor: pointer; }
.bw-tabs-underline .bw-tablist button.is-active { color: var(--accent); border-color: var(--accent); }
.bw-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1px solid; }
.bw-alert > i { font-size: 18px; margin-top: 3px; }
.bw-alert strong { display: block; margin-bottom: 4px; }
.bw-alert p { margin: 0; line-height: 1.9; font-size: .925rem; }
.bw-alert-info { background: rgba(31,90,224,.07); border-color: rgba(31,90,224,.2); color: #1a47b8; }
.bw-alert-success { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.25); color: #047857; }
.bw-alert-warning { background: rgba(245,158,11,.09); border-color: rgba(245,158,11,.28); color: #b45309; }
.bw-alert-danger { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.25); color: #b91c1c; }
.dark .bw-alert-info { color: #93c5fd; } .dark .bw-alert-success { color: #6ee7b7; } .dark .bw-alert-warning { color: #fcd34d; } .dark .bw-alert-danger { color: #fca5a5; }

/* Countdown */
.bw-countdown { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bw-countdown-title { font-weight: 800; font-size: 1.1rem; }
.bw-countdown-units { display: flex; gap: 10px; flex-direction: row-reverse; }
.bw-countdown-units span { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; padding: 14px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.bw-countdown-units b { font-size: 1.8rem; font-weight: 900; }
.bw-countdown-units small { font-size: 11px; color: var(--muted); font-family: var(--font-vazir); }

/* Logos */
.bw-logos { overflow: hidden; }
.bw-logos-track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px; }
.bw-logos-marquee .bw-logos-track { flex-wrap: nowrap; width: max-content; animation: bwMarquee 30s linear infinite; }
.bw-logos-marquee:hover .bw-logos-track { animation-play-state: paused; }
@keyframes bwMarquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
.bw-logo { display: inline-flex; align-items: center; color: var(--muted); font-weight: 900; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
.bw-logo img { height: 40px; width: auto; }
.bw-logos-gray .bw-logo { filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.bw-logos-gray .bw-logo:hover { filter: none; opacity: 1; }

/* Messenger buttons */
.bw-messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.bw-msg { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; color: #fff; font-weight: 800; text-decoration: none; transition: transform .25s var(--ease-out); }
.bw-messengers-icons .bw-msg { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 15px; }
.bw-msg:hover { transform: translateY(-2px); }
.bw-msg-tg { background: #229ed9; } .bw-msg-wa { background: #25d366; } .bw-msg-bale { background: #13a89e; } .bw-msg-ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .bw-msg-tel { background: #1f5ae0; } .bw-msg-mail { background: #0e131d; }

/* Form */
.bw-form { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.bw-form:hover { transform: none; }
.bw-form h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.bw-form-text { margin: 0; color: var(--muted); font-size: .9rem; }
.bw-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.bw-form input, .bw-form textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 14px; }
.bw-form input:focus, .bw-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.bw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.bw-form-status { margin: 0; font-size: 13px; font-weight: 700; min-height: 1em; }
.bw-form-status.is-ok { color: #059669; } .bw-form-status.is-err { color: #dc2626; }

/* Lightbox */
.bw-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(6,8,13,.88); backdrop-filter: blur(6px); padding: 24px; cursor: zoom-out; }
.bw-lightbox img { max-width: 100%; max-height: 100%; border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }

/* Editor-only helpers inside the preview frame */
.b-editing [data-b-id] { outline: 1px dashed transparent; outline-offset: -1px; transition: outline-color .15s; }
.b-editing [data-b-kind="section"]:hover { outline-color: rgba(31,90,224,.35); }
.b-editing [data-b-kind="widget"]:hover { outline: 1.5px solid rgba(31,90,224,.55); cursor: pointer; }
.b-editing [data-b-id].is-selected { outline: 2px solid #1f5ae0 !important; }
.b-editing [data-b-kind="section"].is-selected { outline-style: solid; }
.b-editing .b-anim { opacity: 1; transform: none; }
.b-empty-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; border: 1.5px dashed rgba(31,90,224,.35); border-radius: 18px; color: var(--accent); font-size: 12px; font-weight: 700; background: rgba(31,90,224,.03); }
.b-editing [data-b-inline][contenteditable="true"] { outline: 2px solid #b98a36 !important; outline-offset: 4px; border-radius: 6px; cursor: text; }
.b-badge { position: absolute; top: -1px; right: -1px; z-index: 5; padding: 2px 8px; border-radius: 0 0 0 8px; background: #1f5ae0; color: #fff; font-size: 10px; font-weight: 800; pointer-events: none; }

/* ---------- Live chat bubble ---------- */
.hc { position: fixed; left: 16px; bottom: 88px; z-index: 64; font-size: 14px; }
@media (min-width: 1024px) { .hc { bottom: 24px; } }
.hc-fab { width: 56px; height: 56px; border-radius: 18px; color: #fff; font-size: 22px; background: linear-gradient(180deg, #2b66ea, #1a47b8); box-shadow: 0 14px 30px -12px rgba(31,90,224,.8); position: relative; transition: transform .2s; }
.hc-fab:hover { transform: translateY(-2px); }
.hc-dot { position: absolute; top: 8px; right: 8px; width: 11px; height: 11px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 3px #fff; }
.hc-dot[hidden] { display: none; }
.hc-panel { position: absolute; left: 0; bottom: 68px; width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 180px)); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(7,10,17,.45); overflow: hidden; }
.hc-panel[hidden] { display: none; }
.hc-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, #1a47b8, #2b66ea); color: #fff; }
.hc-avatar { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.hc-head-text { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.hc-head-text small { opacity: .8; font-size: 11px; }
.hc-x { width: 34px; height: 34px; border-radius: 10px; color: #fff; }
.hc-x:hover { background: rgba(255,255,255,.15); }
.hc-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.hc-msg { display: flex; flex-direction: column; max-width: 85%; gap: 3px; }
.hc-bubble { padding: 9px 13px; border-radius: 16px; line-height: 1.9; word-break: break-word; }
.hc-bubble a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hc-visitor { align-self: flex-start; }
.hc-visitor .hc-bubble { background: #1f5ae0; color: #fff; border-bottom-right-radius: 6px; }
.hc-ai, .hc-admin { align-self: flex-end; }
.hc-ai .hc-bubble, .hc-admin .hc-bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.hc-admin .hc-bubble { border-color: rgba(185,138,54,.45); }
.hc-system { align-self: center; max-width: 95%; }
.hc-system .hc-bubble { background: transparent; color: var(--muted); font-size: 12px; text-align: center; padding: 4px 8px; }
.hc-who { font-size: 10px; color: var(--muted); font-weight: 700; }
.hc-time { font-size: 10px; color: var(--muted); }
.hc-typing .hc-bubble { display: flex; gap: 4px; padding: 13px; }
.hc-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: hcDot 1s infinite; }
.hc-typing span:nth-child(2) { animation-delay: .15s; } .hc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes hcDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hc-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.hc-input textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; background: var(--bg); color: var(--ink); max-height: 120px; font: inherit; }
.hc-input textarea:focus, .hc-human input:focus { outline: none; border-color: var(--accent); }
.hc-input button { width: 42px; border-radius: 14px; background: #1f5ae0; color: #fff; }
.hc-link { font-size: 12px; font-weight: 700; color: var(--accent); padding: 0 12px 10px; background: var(--surface); text-align: center; }
.hc-link[hidden], .hc-human[hidden] { display: none; }
.hc-human { padding: 12px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); background: var(--surface); font-size: 12px; color: var(--muted); }
.hc-human input { border: 1px solid var(--line); border-radius: 12px; padding: 8px 11px; background: var(--bg); color: var(--ink); font: inherit; }
.hc-row { display: flex; gap: 8px; }
.hc-row button { flex: 1; border-radius: 12px; padding: 8px; font-weight: 700; background: #1f5ae0; color: #fff; }
.hc-row .hc-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .hc-typing span { animation: none; } .hc-fab { transition: none; } }
