:root {
  --bh-bg: #f4f7fb;
  --bh-surface: #ffffff;
  --bh-text: #0f172a;
  --bh-muted: #64748b;
  --bh-border: #e2e8f0;
  --bh-primary: #1d4ed8;
  --bh-primary-dark: #1e3a8a;
  --bh-accent: #7c3aed;
  --bh-radius: 18px;
  --bh-radius-sm: 12px;
  --bh-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --bh-shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.14);
  --bh-font: "DM Sans", system-ui, sans-serif;
  --bh-display: "Outfit", "DM Sans", sans-serif;
  --bh-container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bh-font);
  color: var(--bh-text);
  background: var(--bh-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.bh-container {
  width: min(100% - 2rem, var(--bh-container));
  margin-inline: auto;
}

.bh-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.bh-icon--sm {
  width: 18px;
  height: 18px;
}

.bh-icon--btn {
  width: 20px;
  height: 20px;
}

/* Language switcher */
.bh-lang {
  position: relative;
}

.bh-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--bh-border);
  border-radius: 999px;
  background: #fff;
  color: var(--bh-text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.bh-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 190px;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 12px;
  box-shadow: var(--bh-shadow-lg);
  z-index: 120;
}

.bh-lang__menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--bh-text);
  font-size: 0.88rem;
}

.bh-lang__menu a:hover,
.bh-lang__menu a.is-active {
  background: #eff6ff;
  color: var(--bh-primary);
}

/* SEO regions */
.bh-seo-regions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-seo-region {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  border: 2px solid var(--bh-border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bh-seo-region:hover {
  border-color: var(--bh-primary);
  box-shadow: var(--bh-shadow);
  transform: translateY(-2px);
}

.bh-seo-region.is-active {
  border-color: var(--bh-primary);
  background: linear-gradient(180deg, #fff, #f0f9ff);
}

.bh-seo-region__flag {
  font-size: 1.35rem;
}

.bh-seo-region strong {
  font-size: 0.92rem;
}

.bh-seo-region em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--bh-muted);
}

.bh-seo-regions__note {
  margin: 1.25rem 0 0;
  color: var(--bh-muted);
  font-size: 0.92rem;
}

.bh-seo-regions__note a {
  color: var(--bh-primary);
  font-weight: 600;
}

/* Header */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.bh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.bh-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.bh-logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--bh-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.bh-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.bh-logo__text strong {
  font-family: var(--bh-display);
  font-size: 1.1rem;
}

.bh-logo__text small {
  color: var(--bh-muted);
  font-size: 0.78rem;
}

.bh-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bh-nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-nav-list a {
  color: var(--bh-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.bh-nav-list a:hover,
.bh-nav-list .current-menu-item a {
  color: var(--bh-primary);
}

.bh-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.bh-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--bh-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bh-btn:hover {
  transform: translateY(-2px);
}

.bh-btn--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.bh-btn--secondary {
  background: #fff;
  color: var(--bh-text);
  border-color: var(--bh-border);
}

.bh-btn--ghost {
  background: transparent;
  border-color: var(--bh-border);
  color: var(--bh-text);
}

.bh-btn--light {
  background: #fff;
  color: var(--bh-primary-dark);
}

.bh-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.bh-btn--sm {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

/* Hero */
.bh-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.bh-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.16), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.14), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(8, 145, 178, 0.1), transparent 28%),
    linear-gradient(180deg, #eef4ff 0%, var(--bh-bg) 100%);
}

.bh-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.bh-badge {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--bh-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bh-hero__title {
  margin: 1rem 0 1.25rem;
  font-family: var(--bh-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.bh-hero__title span {
  display: block;
  background: linear-gradient(135deg, #2563eb, #7c3aed 55%, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bh-hero__lead {
  max-width: 58ch;
  color: var(--bh-muted);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.bh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.bh-hero__visual {
  position: relative;
  min-height: 360px;
}

.bh-hero-card {
  position: absolute;
  width: min(280px, 80%);
  padding: 1.2rem 1.3rem;
  border-radius: var(--bh-radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--bh-shadow);
  backdrop-filter: blur(10px);
  animation: bh-float 6s ease-in-out infinite;
}

.bh-hero-card strong {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--bh-display);
}

.bh-hero-card span {
  color: var(--bh-muted);
  font-size: 0.88rem;
}

.bh-hero-card--1 {
  top: 8%;
  left: 4%;
  color: #2563eb;
}

.bh-hero-card--2 {
  top: 38%;
  right: 0;
  animation-delay: -2s;
  color: #7c3aed;
}

.bh-hero-card--3 {
  bottom: 4%;
  left: 18%;
  animation-delay: -4s;
  color: #0891b2;
}

.bh-hero-card--4 {
  top: 2%;
  right: 12%;
  animation-delay: -6s;
  color: #0033a0;
  border-color: rgba(0, 51, 160, 0.15);
}

@keyframes bh-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats */
.bh-stats {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.bh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem;
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: calc(var(--bh-radius) + 4px);
  box-shadow: var(--bh-shadow);
}

.bh-stat {
  text-align: center;
  padding: 0.5rem;
}

.bh-stat strong {
  display: block;
  font-family: var(--bh-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--bh-primary-dark);
}

.bh-stat span {
  color: var(--bh-muted);
  font-size: 0.92rem;
}

/* Sections */
.bh-section {
  padding: 5rem 0;
}

.bh-section--alt {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.bh-section__head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.bh-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--bh-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bh-section__head h2 {
  margin: 0 0 0.8rem;
  font-family: var(--bh-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

.bh-section__head p {
  margin: 0;
  color: var(--bh-muted);
  font-size: 1.05rem;
}

/* Plugin carousel — stacked cards */
.bh-plugin-carousel {
  margin-top: 0.5rem;
}

.bh-plugin-carousel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.bh-plugin-carousel__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.bh-plugin-stack {
  position: relative;
  width: min(440px, 100%);
  height: clamp(520px, 62vh, 620px);
  perspective: 1200px;
}

.bh-plugin-stack::before {
  content: "";
  position: absolute;
  inset: 30px 0 0 30px;
  border-radius: calc(var(--bh-radius) + 6px);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  z-index: 0;
}

.bh-plugin-card {
  position: absolute;
  inset: 0;
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: calc(var(--bh-radius) + 6px);
  padding: 1.6rem;
  box-shadow: var(--bh-shadow);
  overflow: auto;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease;
  will-change: transform;
  pointer-events: none;
}

.bh-plugin-card[data-stack="0"] {
  z-index: 12;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
  pointer-events: auto;
}

.bh-plugin-card[data-stack="1"] {
  z-index: 11;
  transform: translate3d(16px, 16px, -20px) scale(0.97);
  opacity: 0.9;
  filter: brightness(0.98);
}

.bh-plugin-card[data-stack="2"] {
  z-index: 10;
  transform: translate3d(32px, 32px, -40px) scale(0.94);
  opacity: 0.72;
  filter: brightness(0.96);
}

.bh-plugin-card[data-stack="hidden"] {
  z-index: 1;
  transform: translate3d(44px, 44px, -60px) scale(0.9);
  opacity: 0;
}

.bh-plugin-card.is-exiting-left {
  transform: translate3d(-108%, 0, 0) rotate(-7deg) scale(0.94) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.bh-plugin-card.is-exiting-right {
  transform: translate3d(108%, 0, 0) rotate(7deg) scale(0.94) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.bh-plugin-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 440px;
}

.bh-carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--bh-border);
  border-radius: 50%;
  background: #fff;
  color: var(--bh-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--bh-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bh-carousel-btn:hover {
  transform: translateY(-2px);
  border-color: var(--bh-primary);
  color: var(--bh-primary);
}

.bh-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.bh-carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.bh-carousel-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bh-primary), #7c3aed);
}

.bh-plugin-carousel__sidebar {
  padding: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--bh-border);
  border-radius: calc(var(--bh-radius) + 4px);
  box-shadow: var(--bh-shadow);
}

.bh-plugin-carousel__counter {
  margin: 0 0 1.25rem;
  font-family: var(--bh-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--bh-primary-dark);
}

.bh-plugin-carousel__counter-sep,
.bh-plugin-carousel__counter-total {
  color: var(--bh-muted);
  font-size: 1.4rem;
}

.bh-plugin-carousel__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.bh-plugin-carousel__menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bh-plugin-carousel__menu-btn:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, #fff);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.bh-plugin-carousel__menu-btn.is-active {
  border-color: var(--accent);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translateX(4px);
}

.bh-plugin-carousel__menu-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
  flex-shrink: 0;
}

.bh-plugin-carousel__menu-icon .bh-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.bh-plugin-carousel__menu-text {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.bh-plugin-carousel__menu-text strong {
  font-size: 0.92rem;
  color: var(--bh-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-plugin-carousel__menu-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--bh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-icon--flip {
  transform: scaleX(-1);
}

.bh-plugin-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bh-plugin-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
}

.bh-plugin-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.bh-plugin-card__status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.bh-plugin-card__status--live {
  background: #dcfce7;
  color: #166534;
}

.bh-plugin-card__status--review {
  background: #fef3c7;
  color: #92400e;
}

.bh-plugin-card__version {
  color: var(--bh-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.bh-plugin-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--bh-display);
  font-size: 1.35rem;
}

.bh-plugin-card__tagline {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

.bh-plugin-card__desc {
  margin: 0 0 1rem;
  color: var(--bh-muted);
}

.bh-plugin-card__features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.bh-plugin-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.bh-plugin-card__features .bh-icon {
  color: var(--accent);
}

.bh-plugin-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.bh-plugin-card__tags span {
  font-size: 0.78rem;
  color: var(--bh-muted);
  background: #f1f5f9;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.bh-plugin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* About */
.bh-about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.bh-about__content h2 {
  margin: 0 0 1rem;
  font-family: var(--bh-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.bh-about__content p {
  color: var(--bh-muted);
}

.bh-about__list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.bh-about__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.bh-about__list .bh-icon {
  color: #16a34a;
}

.bh-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bh-code-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--bh-radius);
  overflow: hidden;
  box-shadow: var(--bh-shadow-lg);
}

.bh-code-card__dots {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: #111827;
}

.bh-code-card__dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #334155;
}

.bh-code-card__dots span:nth-child(1) { background: #ef4444; }
.bh-code-card__dots span:nth-child(2) { background: #f59e0b; }
.bh-code-card__dots span:nth-child(3) { background: #22c55e; }

.bh-code-card pre {
  margin: 0;
  padding: 1.2rem 1.3rem 1.4rem;
  overflow: auto;
  font-size: 0.86rem;
  line-height: 1.55;
}

.bh-code-card .c { color: #94a3b8; }
.bh-code-card .k { color: #93c5fd; }
.bh-code-card .s { color: #86efac; }

.bh-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.bh-tech-stack span {
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bh-muted);
}

/* Projects */
.bh-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.bh-project-card {
  position: relative;
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius);
  padding: 1.4rem;
  box-shadow: var(--bh-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bh-project-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.bh-project-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--bh-primary);
  margin-bottom: 1rem;
}

.bh-project-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--bh-display);
}

.bh-project-card p {
  margin: 0;
  color: var(--bh-muted);
  font-size: 0.95rem;
}

.bh-project-card__link {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  color: var(--bh-primary);
}

/* CTA */
.bh-cta {
  padding: 0 0 5rem;
}

.bh-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.2rem 2rem;
  border-radius: calc(var(--bh-radius) + 6px);
  background: linear-gradient(135deg, #1e3a8a, #2563eb 45%, #7c3aed);
  color: #fff;
  box-shadow: var(--bh-shadow-lg);
}

.bh-cta__inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--bh-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.bh-cta__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.bh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.bh-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
}

.bh-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.bh-footer h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: var(--bh-display);
}

.bh-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.bh-footer__links a:hover {
  color: #fff;
}

.bh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.9rem;
}

.bh-footer__powered {
  color: #94a3b8;
}

.bh-logo--footer .bh-logo__text small,
.bh-footer .bh-logo__text strong {
  color: #fff;
}

/* Blog / page */
.bh-posts,
.bh-empty,
.bh-page {
  max-width: 820px;
}

.bh-post-card,
.bh-empty {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius);
  padding: 1.5rem;
  box-shadow: var(--bh-shadow);
}

.bh-post-card + .bh-post-card {
  margin-top: 1rem;
}

.bh-page__title {
  font-family: var(--bh-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.bh-page__content > *:first-child {
  margin-top: 0;
}

/* Faktura showcase */
.bh-faktura-showcase {
  background: linear-gradient(180deg, #fff 0%, #f0f6ff 55%, var(--bh-bg) 100%);
}

.bh-faktura-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.bh-faktura-showcase__copy h2 {
  font-family: var(--bh-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin: 0.35rem 0 1rem;
}

.bh-faktura-showcase__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.bh-faktura-showcase__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bh-muted);
  font-weight: 500;
}

.bh-faktura-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bh-faktura-showcase__demo {
  position: relative;
}

.bh-faktura-demo-card {
  background: #fff;
  border: 1px solid rgba(0, 51, 160, 0.12);
  border-radius: calc(var(--bh-radius) + 2px);
  box-shadow: var(--bh-shadow-lg);
  overflow: hidden;
}

.bh-faktura-demo-card__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, #0033a0, #2563eb);
  color: #fff;
}

.bh-faktura-demo-card__head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.bh-faktura-demo-card__head strong {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
}

.bh-faktura-demo-card__body {
  padding: 1rem;
}

.bh-faktura-demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.bh-faktura-demo-pills span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #e8f0ff;
  color: #1e3a8a;
}

.bh-faktura-demo-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bh-faktura-demo-services button {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #fff, #f8fafc);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bh-text);
  cursor: default;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  transition: transform 0.2s ease;
}

.bh-faktura-demo-services button:hover {
  transform: translateY(-2px);
}

.bh-faktura-demo-services button em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-weight: 700;
  color: #0033a0;
}

.bh-faktura-demo-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #86efac;
}

.bh-faktura-demo-total span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #166534;
  font-weight: 700;
}

.bh-faktura-demo-total strong {
  font-size: 1.35rem;
  color: #0033a0;
}

.bh-faktura-showcase__embed {
  margin-top: 1rem;
  border-radius: var(--bh-radius);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  box-shadow: var(--bh-shadow);
}

.bh-faktura-showcase__embed .fkcr-wrap {
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .bh-faktura-showcase__grid {
    grid-template-columns: 1fr;
  }
  .bh-hero__inner,
  .bh-about,
  .bh-footer__grid {
    grid-template-columns: 1fr;
  }

  .bh-hero__visual {
    min-height: 280px;
  }

  .bh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bh-projects {
    grid-template-columns: 1fr;
  }

  .bh-plugin-carousel__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .bh-plugin-carousel__sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .bh-nav-toggle {
    display: block;
  }

  .bh-nav {
    position: fixed;
    inset: 76px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--bh-border);
    border-radius: var(--bh-radius);
    padding: 1rem;
    box-shadow: var(--bh-shadow-lg);
  }

  .bh-nav.is-open {
    display: flex;
  }

  .bh-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .bh-nav-list a {
    display: block;
    padding: 0.65rem 0.4rem;
  }

  .bh-plugin-stack {
    height: clamp(500px, 70vh, 580px);
  }

  .bh-stats__grid {
    grid-template-columns: 1fr;
  }

  .bh-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bh-hero {
    padding-top: 3.5rem;
  }

  .bh-faktura-demo-services {
    grid-template-columns: 1fr;
  }

  .bh-faktura-showcase__actions .bh-btn {
    width: 100%;
  }
}