/* ==========================================================================
   KRASNOV Hybrid Single Landing - Production Stylesheet (hybrid.css)
   Architecture: rokystroi.online cognitive clarity + KRASNOV monochrome style
   Typography: AA Stetica (300, 400, 500) across all headings and body
   Palette: #FFFFFF / #121212 / #F5F5F5 (0 yellow gold, 0 serif fallback)
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "AA Stetica";
  src: url("/landing-family-assets/family-v6/stetica-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AA Stetica";
  src: url("/landing-family-assets/family-v6/stetica-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AA Stetica";
  src: url("/landing-family-assets/stetica-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2. Design Tokens -------------------------------------------------------- */
:root {
  --bg-white: #FFFFFF;
  --bg-neutral: #F5F5F5;
  --bg-dark: #121212;
  --bg-dark-elevated: #1A1A1D;
  --bg-dark-card: #1F2024;

  --accent-dark: #121212;
  --accent-dark-hover: #2A2A2E;
  --accent-light: #FFFFFF;
  --accent-light-hover: #EAEAEA;
  --stone-badge: #EAEAEA;
  --stone-border: #D4D6DC;

  --text: #121212;
  --text-muted: #555860;
  --text-on-dark: #F5F5F7;
  --text-on-dark-muted: #A6AAB4;
  --online: #22C55E;
  --danger: #DC2626;

  --border: #E2E4E8;
  --border-dark: rgba(255, 255, 255, 0.14);

  --font-sans: "AA Stetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "AA Stetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-btn: 4px;
  --radius-card: 8px;
  --radius-pill: 999px;

  --header-h: 72px;
  --container: 1220px;
  --gutter: clamp(16px, 3vw, 36px);
  --shadow-card: 0 10px 28px rgba(18, 18, 18, 0.06);
  --shadow-dark: 0 18px 44px rgba(0, 0, 0, 0.42);
}

/* 3. Base Reset & Overflow Safety ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-white);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

body.bm-dialog-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  flex-shrink: 0;
}

section[id],
#sec-calc,
#sec-form {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

[hidden] {
  display: none !important;
}

[data-hs-seg^="rem_"] [data-hs-hide-rem] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bm-nowrap {
  white-space: nowrap;
}

/* 4. Layout & Typography -------------------------------------------------- */
.bm-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.bm-section {
  padding: 76px 0;
  position: relative;
}

.bm-section--white {
  background: var(--bg-white);
  color: var(--text);
}

.bm-section--neutral {
  background: var(--bg-neutral);
  color: var(--text);
}

.bm-section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.bm-terms-sec {
  padding-bottom: 24px;
}

.bm-terms-sec .bm-terms-details:last-child {
  margin-bottom: 0;
}

.bm-calc-sec {
  padding-top: 0;
}

.bm-faq-sec {
  padding-bottom: 36px;
}

.bm-faq-sec .bm-faq-list:last-child {
  margin-bottom: 0;
}

.bm-form-sec {
  padding-top: 0;
}

.bm-section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.bm-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bm-section--dark .bm-eyebrow {
  color: var(--text-on-dark-muted);
}

.bm-h2 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.bm-h2__accent {
  display: inline;
  font-weight: 500;
}

.bm-h2__rest {
  display: inline;
  font-weight: 300;
}

.bm-section-lead {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--text-muted);
}

.bm-section--dark .bm-section-lead {
  color: var(--text-on-dark-muted);
}

/* 5. Buttons -------------------------------------------------------------- */
.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.bm-btn--lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 15px;
}

.bm-btn--sm {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}

.bm-btn--full {
  width: 100%;
}

.bm-btn-primary {
  background: var(--accent-dark);
  color: #FFFFFF;
  border: 1px solid var(--accent-dark);
}

.bm-btn-primary:hover {
  background: var(--accent-dark-hover);
  border-color: var(--accent-dark-hover);
}

.bm-section--dark .bm-btn-primary,
.bm-hero .bm-btn-primary,
.bm-header .bm-btn-primary,
.bm-calc-output .bm-btn-primary,
.bm-drawer .bm-btn-primary {
  background: #FFFFFF;
  color: #121212;
  border-color: #FFFFFF;
}

.bm-section--dark .bm-btn-primary:hover,
.bm-hero .bm-btn-primary:hover,
.bm-header .bm-btn-primary:hover,
.bm-calc-output .bm-btn-primary:hover,
.bm-drawer .bm-btn-primary:hover {
  background: var(--accent-light-hover);
  border-color: var(--accent-light-hover);
}

.bm-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
}

.bm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
}

.bm-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .bm-btn-outline:hover {
    background: var(--text);
    color: #FFFFFF;
  }
}

.bm-section--dark .bm-btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.bm-section--dark .bm-btn-outline:hover {
  background: #FFFFFF;
  color: #121212;
}

/* 6. Header & Mobile Drawer ----------------------------------------------- */
.bm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.bm-header__inner {
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1vw, 14px);
}

.bm-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: #FFFFFF;
  flex-shrink: 0;
  min-width: 0;
  line-height: 1.15;
}

.bm-brand__name {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.05;
  white-space: nowrap;
}

.bm-brand__sub {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
}

.bm-nav {
  display: flex;
  align-items: center;
  gap: clamp(9px, 0.85vw, 12px);
  flex-shrink: 0;
}

.bm-nav a {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.bm-nav a:hover {
  color: #FFFFFF;
}

.bm-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bm-header__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  flex-shrink: 0;
}

.bm-header__phone {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
}

.bm-header__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.bm-dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--online);
  display: inline-block;
  flex-shrink: 0;
}

.bm-msg-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.bm-msg-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s ease;
}

.bm-msg-item:hover {
  color: #FFFFFF;
}

.bm-msg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bm-msg-item:hover .bm-msg-icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.56);
}

.bm-msg-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.bm-header__cta {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.bm-burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-btn);
  flex-shrink: 0;
}

.bm-drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: #121212;
  color: #FFFFFF;
  padding: 20px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.bm-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bm-drawer__close {
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  color: #FFFFFF;
}

.bm-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.bm-drawer__nav a {
  font-size: 18px;
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-drawer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-drawer__phone {
  font-size: 20px;
  font-weight: 500;
}

.bm-drawer__msg-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* 7. Screen 1: Hero (#sec-hero) ------------------------------------------- */
.bm-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 44px) 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
  background: #121212;
  overflow: hidden;
}

.bm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bm-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 12, 15, 0.82) 0%, rgba(11, 12, 15, 0.72) 45%, rgba(11, 12, 15, 0.92) 100%);
}

.bm-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: auto;
  padding: 0 var(--gutter);
}

.bm-hero__main {
  max-width: 780px;
}

.bm-hero__kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  color: #E7CCA0;
  background: rgba(14, 15, 18, 0.62);
  border: 1px solid rgba(216, 187, 137, 0.38);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bm-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.bm-hero__title-accent {
  color: #E7CCA0;
}

.bm-hero__sub {
  margin: 0 0 24px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.96);
  padding-left: 14px;
  border-left: 2px solid #D8BB89;
  max-width: 680px;
}

.bm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.bm-hero__micro {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.bm-hero__pillars {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 var(--gutter);
}

.bm-hero__pillars-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  background: rgba(18, 18, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.bm-hero__pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bm-hero__pillar strong {
  font-size: 18px;
  font-weight: 500;
  color: #E7CCA0;
}

.bm-hero__pillar span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

/* 8. Swipe Helpers & Dots ------------------------------------------------- */
.bm-swipe-hint {
  display: none;
  font-size: 12px;
  color: var(--text-muted);
  margin: -18px 0 14px;
}

.bm-swipe-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 10px;
}

.bm-swipe-dot {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.bm-swipe-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8CBD2;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.bm-swipe-dot.is-active {
  width: 38px;
  background: transparent;
}

.bm-swipe-dot.is-active::before {
  width: 22px;
  border-radius: 999px;
  background: #121212;
}

/* 9. Screen 2: 3 Problems -> KRASNOV Solution (#sec-problems) -------------- */
.bm-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bm-problem-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.bm-problem-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1A1A1D;
  overflow: hidden;
}

.bm-problem-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bm-problem-card__content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}

.bm-problem-card__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-problem-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.86);
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
}

.bm-problem-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.bm-problem-card__pain {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bm-problem-card__solution {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.bm-problem-card__sol-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.bm-problem-card__sol-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.bm-problems-interlude {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-card);
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bm-problems-interlude__text h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 500;
}

.bm-problems-interlude__text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* 10. Screen 3: Portfolio 4 Cases + Before/After + Open PDFs (#sec-portfolio) */
.bm-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bm-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.bm-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1A1A1D;
  overflow: hidden;
}

.bm-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bm-card:hover .bm-card__media img {
  transform: scale(1.02);
}

.bm-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.84);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.bm-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.bm-card__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.bm-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.bm-card__desc {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.bm-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.bm-card__pdf-row {
  margin: 0 0 10px;
}

.bm-card__pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.bm-card__pdf-link:hover {
  opacity: 0.78;
}

/* Before / After Interactive Slider */
.bm-ba-block {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: center;
}

.bm-ba-info h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.bm-ba-info__meta {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.bm-ba-info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.bm-ba-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #121212;
  user-select: none;
}

.bm-ba-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.bm-ba-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-ba__overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.bm-ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.bm-ba__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #121212;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.bm-ba__label {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.78);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
}

.bm-ba__label--before {
  left: 12px;
}

.bm-ba__label--after {
  right: 12px;
}

.bm-ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

/* Open Documents Strip */
.bm-docs-open {
  margin-top: 28px;
}

.bm-docs-open__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
}

.bm-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bm-doc-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-white);
}

.bm-doc-card__thumb {
  width: 112px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-neutral);
  padding: 0;
}

.bm-doc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-doc-card__body h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.bm-doc-card__body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* 11. Screen 4: Terms, 3 Contours, Timelines & 3-Step Calculator (#sec-terms) */
.bm-contours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.bm-contour-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
}

.bm-contour-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bm-contour-card__share {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bm-contour-card__price {
  font-size: 14px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-neutral);
}

.bm-contour-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.bm-contour-card__note {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bm-honest-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid #121212;
  border-radius: var(--radius-card);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.bm-honest-box__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}

.bm-honest-box__summary::-webkit-details-marker {
  display: none;
}

.bm-honest-box__icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.bm-honest-box[open] .bm-honest-box__icon {
  transform: rotate(45deg);
}

.bm-honest-box__body {
  padding-top: 10px;
}

.bm-honest-box p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
}

.bm-honest-box p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

@media (min-width: 769px) {
  .bm-honest-box__icon {
    display: none;
  }
  .bm-honest-box__body {
    display: block !important;
  }
}

.bm-terms-details {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid #121212;
  border-radius: var(--radius-card);
  padding: 14px 20px;
  margin-bottom: 24px;
}

.bm-terms-details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.bm-terms-details > summary::-webkit-details-marker {
  display: none;
}

.bm-terms-details__icon {
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.bm-terms-details[open] .bm-terms-details__icon {
  transform: rotate(45deg);
}

.bm-terms-details__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

.bm-terms-details__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.bm-terms-details__body strong {
  color: var(--text);
  font-weight: 500;
}

.bm-reviews-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.bm-timelines-block {
  margin-bottom: 18px;
}

.bm-timelines-block h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
}

.bm-timelines-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bm-timeline-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
}

.bm-timeline-card__area {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bm-timeline-card__term {
  display: block;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.bm-timeline-card__term:last-child {
  margin-bottom: 0;
}

.bm-timeline-card__detail {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.bm-early-start {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: #EAECEF;
  font-size: 13px;
  line-height: 1.5;
}

.bm-early-start strong {
  display: inline-block;
  margin-right: 8px;
  font-weight: 500;
}

/* 3-Step Calculator Box (#sec-calc) */
.bm-calc-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.bm-calc-box__head {
  margin-bottom: 24px;
}

.bm-calc-box__head h3 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
}

.bm-calc-box__head p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.bm-calc-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.bm-calc-step {
  margin-bottom: 22px;
}

.bm-calc-step:last-child {
  margin-bottom: 0;
}

.bm-calc-step__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.bm-calc-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bm-calc-fmt-btn,
.bm-calc-stage-btn,
.bm-calc-preset-btn {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-neutral);
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  transition: all 0.15s ease;
}

.bm-calc-fmt-btn.is-active,
.bm-calc-stage-btn.is-active,
.bm-calc-preset-btn.is-active {
  background: #121212;
  color: #FFFFFF;
  border-color: #121212;
  font-weight: 500;
}

.bm-calc-area-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bm-calc-area-badge {
  font-size: 22px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  background: #121212;
  color: #FFFFFF;
}

.bm-calc-range {
  width: 100%;
  height: 6px;
  accent-color: #121212;
  cursor: pointer;
  margin: 8px 0 12px;
}

.bm-calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm-calc-preset-btn {
  min-height: 36px;
  padding: 6px 12px;
  text-align: center;
}

.bm-calc-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.bm-calc-stage-btn {
  text-align: center;
}

.bm-calc-opt-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  min-height: 40px;
}

.bm-calc-opt-label input {
  width: 18px;
  height: 18px;
  accent-color: #121212;
}

.bm-calc-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.bm-calc-output {
  background: #121212;
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-calc-output__eyebrow {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
}

.bm-calc-output__total {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.15;
}

.bm-calc-output__range {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.bm-calc-output__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.bm-calc-output__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.bm-calc-output__row span {
  color: var(--text-on-dark-muted);
}

.bm-calc-output__bots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bm-calc-output__bots .bm-btn {
  padding: 8px 10px;
  font-size: 12px;
}

.bm-calc-output__sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  text-align: center;
}

.bm-calc-output__saving {
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(231, 204, 160, 0.1);
  border: 1px solid rgba(231, 204, 160, 0.28);
  font-size: 12.5px;
  line-height: 1.4;
  color: #F5E6C8;
}

.bm-calc-output__saving strong {
  color: #E7CCA0;
  font-weight: 500;
}

.bm-calc-output__small-note {
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.bm-calc-ladder {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-calc-ladder__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.bm-calc-ladder__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm-calc-ladder__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.bm-calc-ladder__chip:hover {
  background: #FFFFFF;
  color: #121212;
  border-color: #FFFFFF;
}

.bm-calc-tg-soft {
  min-height: 46px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.25;
  white-space: normal;
  border-color: rgba(255, 255, 255, 0.42);
}

.bm-calc-output__alt-bots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

.bm-calc-output__alt-link {
  color: #FFFFFF;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 2px;
}

.bm-calc-output__alt-link:hover {
  opacity: 0.82;
}

.bm-calc-output__includes {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bm-calc-output__includes-title {
  font-size: 13px;
  font-weight: 500;
  color: #E7CCA0;
  line-height: 1.3;
}

.bm-calc-output__includes-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bm-calc-output__includes-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.88);
}

.bm-calc-output__includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D8BB89;
}

/* Avito WebView In-Page Mini Lead Form (Calc + PDF Dialog) */
.bm-webview-fallback {
  margin-top: 6px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-webview-fallback--dark {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bm-webview-fallback--light {
  margin-top: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 6px;
  background: var(--bg-neutral);
  border: 1px solid var(--border);
}

.bm-webview-fallback__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.bm-webview-fallback--dark .bm-webview-fallback__hint {
  color: rgba(255, 255, 255, 0.88);
}

.bm-webview-fallback--light .bm-webview-fallback__hint {
  color: var(--text);
}

.bm-mini-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bm-mini-form__row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bm-mini-form__field input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--radius-btn);
  font-size: 16px;
}

.bm-webview-fallback--dark .bm-mini-form__field input {
  background: #FFFFFF;
  color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.bm-webview-fallback--dark .bm-mini-form__field input::placeholder {
  color: #6B7280;
}

.bm-mini-form__submit {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
}

.bm-webview-fallback--dark .bm-mini-form__submit {
  background: #D8BB89;
  color: #121212;
  border-color: #D8BB89;
  font-weight: 600;
}

.bm-webview-fallback--dark .bm-mini-form__submit:hover {
  background: #E7CCA0;
  border-color: #E7CCA0;
}

.bm-mini-form__consent {
  font-size: 11px;
  line-height: 1.3;
  min-height: 24px;
}

.bm-webview-fallback--dark .bm-mini-form__consent {
  color: rgba(255, 255, 255, 0.74);
}

.bm-webview-fallback--dark .bm-mini-form__consent a {
  color: #E7CCA0;
  text-decoration-color: rgba(231, 204, 160, 0.45);
}

.bm-webview-fallback--dark .bm-mini-form__consent input {
  accent-color: #D8BB89;
}

.bm-mini-form__trust {
  margin: 0;
  font-size: 11px;
  line-height: 1.32;
}

.bm-webview-fallback--dark .bm-mini-form__trust {
  color: rgba(255, 255, 255, 0.68);
}

.bm-webview-fallback--light .bm-mini-form__trust {
  color: #6B7280;
}

.bm-webview-fallback--dark .bm-field__error {
  color: #FCA5A5;
}

/* 12. Screen 5: Reviews & Press (#sec-reviews) ---------------------------- */
.bm-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bm-review-card {
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-review-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.bm-review-card__thumb img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.bm-review-card__quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}

.bm-review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.bm-review-card__author strong {
  font-size: 14px;
  font-weight: 500;
}

.bm-review-card__author span {
  font-size: 12px;
  color: var(--text-muted);
}

.bm-press-strip {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bm-press-strip__label {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.bm-press-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.bm-press-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg-neutral);
  border: 1px solid rgba(18, 19, 22, 0.08);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: opacity 0.2s ease, filter 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  a.bm-press-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: rgba(18, 19, 22, 0.24);
    transform: translateY(-1px);
  }
}

a.bm-press-item:focus-visible {
  outline: 2px solid #121316;
  outline-offset: 2px;
}

.bm-press-item img {
  max-height: 24px;
  width: auto;
  object-fit: contain;
}

/* 13. Screen 6: Team 2x2 & Excursion (#sec-team) -------------------------- */
.bm-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.bm-team-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bm-team-card__photo {
  aspect-ratio: 4 / 5;
  background: #16171A;
  overflow: hidden;
}

.bm-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.bm-team-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bm-team-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: #FFFFFF;
}

.bm-team-card__role {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
}

.bm-team-card__bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.bm-team-extended {
  margin: 18px 0 32px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.bm-excursion-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
}

.bm-video-trigger {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 0;
  background: #0E0F12;
  border: 1px solid var(--border-dark);
  text-align: left;
}

.bm-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-video-trigger__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #FFFFFF;
}

.bm-video-trigger__play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.bm-video-trigger__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bm-video-trigger__cap {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.bm-excursion-body h3 {
  margin: 6px 0 12px;
  font-size: 24px;
  font-weight: 500;
  color: #FFFFFF;
}

.bm-excursion-body p {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

/* 14. Screen 7: 5 FAQs + Summary + Form (#sec-faq / #sec-form) ------------ */
.bm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.bm-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-white);
  overflow: hidden;
}

.bm-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bm-faq-item summary::-webkit-details-marker {
  display: none;
}

.bm-faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-neutral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.bm-faq-item[open] .bm-faq-item__icon {
  transform: rotate(45deg);
  background: #121212;
  color: #FFFFFF;
}

.bm-faq-item__body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Final Form Split Box (#sec-form) */
.bm-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--bg-neutral);
  border: 1px solid var(--border);
}

.bm-precontract h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
}

.bm-precontract__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-precontract__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.bm-precontract__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
  color: #121212;
}

.bm-lead-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.bm-lead-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.bm-lead-card__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.bm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bm-calc-pill {
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
}

.bm-channels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bm-channels__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.bm-channels__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bm-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid #D9DCE1;
  background: #FFFFFF;
  color: #2A2D34;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.bm-channel-btn:hover {
  border-color: #AEB5C0;
  background: #FAFAFB;
}

.bm-channel-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

[data-channel-select="telegram"] .bm-channel-btn__icon {
  color: #229ED9;
}

[data-channel-select="whatsapp"] .bm-channel-btn__icon {
  color: #1FA855;
}

[data-channel-select="max"] .bm-channel-btn__icon {
  color: #5B5CE6;
}

[data-channel-select="phone"] .bm-channel-btn__icon {
  color: #4B5563;
}

.bm-channel-btn.is-active {
  background: #F1F5F9;
  color: #121212;
  border-color: #475569;
  box-shadow: inset 0 0 0 1px #475569;
}

[data-channel-select="telegram"].is-active {
  background: #EEF7FD;
  color: #121212;
  border-color: #229ED9;
  box-shadow: inset 0 0 0 1px #229ED9;
}

[data-channel-select="whatsapp"].is-active {
  background: #EDFBF2;
  color: #121212;
  border-color: #1FA855;
  box-shadow: inset 0 0 0 1px #1FA855;
}

[data-channel-select="max"].is-active {
  background: #F1F1FE;
  color: #121212;
  border-color: #5B5CE6;
  box-shadow: inset 0 0 0 1px #5B5CE6;
}

.bm-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bm-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bm-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.bm-field input {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--stone-border);
  background: #FFFFFF;
  font-size: 16px;
}

.bm-field input:focus {
  outline: 2px solid #121212;
  outline-offset: 1px;
}

.bm-field__error {
  font-size: 12px;
  color: var(--danger);
}

.bm-consent-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bm-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.35;
  color: #6B7280;
  cursor: pointer;
}

.bm-consent-item {
  min-height: 28px;
  align-items: flex-start;
}

.bm-consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  color-scheme: light;
  accent-color: #121212;
}

#project-dialog input[type="checkbox"] {
  color-scheme: light;
  accent-color: #121212;
}

.bm-consent a {
  text-decoration: underline;
  text-decoration-color: rgba(75, 85, 99, 0.4);
  color: #4B5563;
}

.bm-form-status {
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  line-height: 1.45;
}

.bm-form-status.is-error,
.bm-form-status[data-state^="invalid"],
.bm-form-status[data-state="error"] {
  background: #FEF2F2;
  color: var(--danger);
  border: 1px solid #FECACA;
}

.bm-form-status.is-success,
.bm-form-status[data-state="saved"] {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.bm-form-status[data-state="sending"] {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
}

.bm-form__status-text {
  margin: 0;
}

.bm-form__status-bot {
  margin-top: 8px;
  display: inline-flex;
  background: #121212;
  color: #FFFFFF;
  border: 1px solid #121212;
}

.bm-bot-alt {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  color: var(--text);
}

/* 15. Footer (#bm-footer) ------------------------------------------------- */
.bm-footer {
  background: #121212;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 84px;
  font-size: 13px;
}

.bm-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bm-footer__summary {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.bm-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bm-footer__phone {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
}

.bm-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.bm-footer__links a,
button.bm-footer__legal-btn {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

button.bm-footer__legal-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bm-footer__links a:hover,
button.bm-footer__legal-btn:hover {
  color: #FFFFFF;
}

.bm-footer__bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
}

.bm-analytics-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.45;
}

.bm-analytics-inline__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-width: 0;
  flex: 1 1 320px;
}

.bm-analytics-inline__links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bm-analytics-inline__links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bm-analytics-inline__links a:hover {
  color: #FFFFFF;
}

.bm-analytics-inline [data-analytics-status]:empty {
  display: none;
}

.bm-analytics-inline [data-analytics-status] {
  flex-basis: 100%;
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.bm-analytics-inline__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.bm-analytics-inline__btns button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bm-analytics-inline__btns button[data-analytics-allow] {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #121212;
}

.bm-analytics-inline__btns button[data-analytics-allow]:hover {
  background: #EAEAEA;
  border-color: #EAEAEA;
}

.bm-analytics-inline__btns button[data-analytics-deny]:hover,
.bm-analytics-inline__btns button[data-analytics-withdraw]:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 16. Dialogs (#project-dialog, #bm-lightbox, #bm-video-dialog) ----------- */
.bm-dialog {
  padding: 0;
  border: none;
  border-radius: var(--radius-card);
  background: #FFFFFF;
  color: var(--text);
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  box-shadow: var(--shadow-dark);
}

.bm-dialog--wide {
  width: min(860px, calc(100vw - 24px));
}

.bm-dialog::backdrop {
  background: rgba(12, 13, 16, 0.76);
  backdrop-filter: blur(4px);
}

.bm-dialog__shell {
  position: relative;
  padding: 22px 20px 20px;
}

.bm-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-neutral);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-dialog__title {
  margin: 0 0 6px;
  padding-right: 46px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.bm-dialog__sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.bm-dialog__trust {
  margin: -4px 0 0;
  text-align: center;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.35;
}

.bm-dialog__bot-alt {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #ECEEF2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  font-size: 12.5px;
  color: #6B7280;
  text-align: center;
}

.bm-dialog__bot-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bm-dialog__bot-links a {
  color: #121212;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bm-lightbox__stage {
  position: relative;
  background: #121212;
  border-radius: 6px;
  overflow: hidden;
  max-height: 58svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-lightbox__img {
  max-height: 58svh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.bm-lightbox__prev,
.bm-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.75);
  color: #FFFFFF;
  font-size: 24px;
}

.bm-lightbox__prev {
  left: 10px;
}

.bm-lightbox__next {
  right: 10px;
}

.bm-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.bm-lightbox__dossier {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bm-lightbox__dossier p {
  margin: 0;
}

.bm-lightbox__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}

.bm-lightbox__facts span {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-neutral);
  font-size: 12px;
  font-weight: 500;
}

.bm-video-dialog__stage {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000000;
  border-radius: 6px;
  overflow: hidden;
}

.bm-video-dialog__stage video {
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: #000000;
}

/* PDF Bot Dialog (#bm-pdf-bot-dialog) */
.bm-pdf-dialog__meta {
  margin-bottom: 6px;
  padding-right: 46px;
}

.bm-pdf-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}

.bm-pdf-preview__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 6px;
  background: var(--bg-neutral);
  border: 1px solid var(--border);
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

@media (hover: hover) {
  .bm-pdf-preview__card:hover {
    border-color: #121212;
    box-shadow: 0 6px 16px rgba(18, 18, 18, 0.08);
  }
}

.bm-pdf-preview__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 4px;
  overflow: hidden;
  padding: 4px;
}

.bm-pdf-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
}

.bm-pdf-preview__zoom {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(18, 18, 18, 0.8);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.bm-pdf-preview__cap {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--text);
  font-weight: 500;
}

.bm-pdf-fallback {
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-neutral);
}

.bm-pdf-fallback__toggle {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bm-pdf-fallback__toggle::-webkit-details-marker {
  display: none;
}

.bm-pdf-fallback__toggle::after {
  content: "+";
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bm-pdf-fallback[open] .bm-pdf-fallback__toggle::after {
  content: "-";
}

.bm-pdf-fallback .bm-webview-fallback--light {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0 0 6px 6px;
  padding-top: 10px;
}

.bm-pdf-fallback--open .bm-webview-fallback--light {
  border-top: 0;
  border-radius: 6px;
  padding: 12px;
}

/* DP Segment Sheet Preview (#sec-dp-sheet) */
.bm-dp-sheet-sec {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.bm-dp-sheet-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--bg-neutral);
  border: 1px solid var(--border);
}

.bm-dp-sheet-card__media {
  min-width: 0;
}

.bm-dp-sheet-card__zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: left;
}

.bm-dp-sheet-card__zoom img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 4px;
}

.bm-dp-sheet-card__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.84);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
}

.bm-dp-sheet-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.bm-dp-sheet-card__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bm-dp-sheet-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.bm-dp-sheet-card__actions {
  margin-top: 4px;
}

.bm-pdf-dialog__btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 10px;
}

.bm-pdf-dialog__btns-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#bm-pdf-bot-dialog [data-pdf-modal-tg] {
  background: #D8BB89;
  color: #121212;
  border: 1px solid #D8BB89;
  font-weight: 600;
}

#bm-pdf-bot-dialog [data-pdf-modal-tg]:hover {
  background: #E7CCA0;
  color: #121212;
  border-color: #E7CCA0;
}

#bm-pdf-bot-dialog [data-pdf-modal-max],
#bm-pdf-bot-dialog [data-pdf-modal-wa] {
  background: transparent;
  color: #121212;
  border: 1px solid rgba(18, 19, 22, 0.28);
}

@media (hover: hover) {
  #bm-pdf-bot-dialog [data-pdf-modal-max]:hover,
  #bm-pdf-bot-dialog [data-pdf-modal-wa]:hover {
    background: rgba(18, 19, 22, 0.06);
    color: #121212;
    border-color: rgba(18, 19, 22, 0.42);
  }
}

.bm-pdf-dialog__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* 17. Mobile Sticky Bottom Bar (#mobile-sticky-bar) ----------------------- */
.bm-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 880;
  height: 56px;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 18, 18, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.15fr;
  gap: 6px;
  align-items: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.bm-mobile-bar.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.bm-mobile-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.bm-mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  color: #FFFFFF;
  font-size: 11px;
}

.bm-mobile-bar__item svg {
  width: 16px;
  height: 16px;
}

.bm-mobile-bar__cta {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  background: #FFFFFF;
  color: #121212;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 18. Responsive & Mobile Compaction (<= 1380px, <= 1180px, <= 959px, <= 1024px & <= 768px) */
@media (max-width: 1380px) {
  .bm-header__inner {
    gap: 12px;
  }

  .bm-brand__name {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .bm-brand__sub {
    font-size: 9.5px;
    letter-spacing: 0.03em;
  }

  .bm-nav {
    gap: clamp(8px, 0.85vw, 11px);
  }

  .bm-nav a {
    font-size: 12px;
  }

  .bm-header__right {
    gap: 9px;
  }

  .bm-header__phone {
    font-size: 13.5px;
  }

  .bm-msg-strip {
    gap: 6px;
  }

  .bm-header__cta {
    padding: 8px 13px;
    font-size: 12px;
  }
}

@media (max-width: 1180px) {
  .bm-header__inner {
    gap: 10px;
    padding: 0 20px;
  }

  .bm-nav {
    display: none;
  }

  .bm-burger {
    display: inline-flex;
  }
}

@media (max-width: 959px) {
  .bm-header .bm-header__status,
  .bm-msg-strip .bm-msg-item > span:not(.bm-msg-icon) {
    display: none;
  }

  .bm-msg-strip .bm-msg-item {
    min-width: 32px;
    height: 32px;
  }

  .bm-msg-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1024px) {
  .bm-calc-layout,
  .bm-ba-block,
  .bm-dp-sheet-card,
  .bm-excursion-card,
  .bm-lead-grid,
  .bm-footer__top {
    grid-template-columns: 1fr;
  }

  .bm-timelines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  .bm-section {
    padding: 24px 0;
  }

  .bm-terms-sec {
    padding-bottom: 12px;
  }

  .bm-terms-sec .bm-terms-details:last-child {
    margin-bottom: 0;
  }

  .bm-calc-sec {
    padding-top: 0;
  }

  .bm-faq-sec {
    padding-bottom: 12px;
  }

  .bm-faq-sec .bm-faq-list:last-child {
    margin-bottom: 0;
  }

  .bm-form-sec {
    padding-top: 0;
  }

  .bm-section-head {
    margin-bottom: 12px;
  }

  .bm-eyebrow {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .bm-h2 {
    font-size: 21px;
    margin-bottom: 6px;
  }

  .bm-section-lead {
    font-size: 13px;
    line-height: 1.4;
  }

  .bm-header__inner {
    gap: 8px;
    padding: 0 var(--gutter);
  }

  .bm-brand__sub {
    display: none;
  }

  .bm-brand__name {
    font-size: 16px;
    letter-spacing: 0.12em;
  }

  .bm-header__right {
    gap: 6px;
    flex-shrink: 0;
  }

  .bm-msg-strip {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .bm-msg-strip .bm-msg-item > span:not(.bm-msg-icon) {
    display: none;
  }

  .bm-msg-strip .bm-msg-item {
    min-width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }

  .bm-msg-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-btn);
  }

  .bm-msg-icon svg {
    width: 16px;
    height: 16px;
  }

  .bm-burger {
    width: 38px;
    height: 38px;
  }

  .bm-header__phone-wrap,
  .bm-header__cta {
    display: none;
  }

  .bm-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 14px) 0 18px;
  }

  .bm-hero__scrim {
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.88) 0%, rgba(10, 11, 14, 0.80) 48%, rgba(10, 11, 14, 0.96) 100%);
  }

  .bm-hero__kicker {
    margin-bottom: 10px;
    padding: 4px 10px;
    font-size: 10.5px;
    line-height: 1.3;
    white-space: normal;
  }

  .bm-hero__title {
    font-size: 26px;
    line-height: 1.14;
    font-weight: 600;
    margin-bottom: 14px;
  }

  .bm-hero__sub {
    font-size: 14.5px;
    line-height: 1.35;
    color: #FFFFFF;
    padding-left: 12px;
    border-left: 2px solid #D8BB89;
    margin-bottom: 16px;
  }

  .bm-hero__actions {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }

  .bm-hero__actions .bm-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .bm-hero__actions .bm-btn-primary {
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  }

  .bm-hero__actions .bm-btn-ghost {
    background: rgba(14, 15, 18, 0.56);
    border-color: rgba(255, 255, 255, 0.44);
  }

  .bm-hero__micro {
    font-size: 11.5px;
    line-height: 1.32;
    color: rgba(255, 255, 255, 0.86);
  }

  .bm-hero__pillars {
    margin-top: 14px;
  }

  .bm-hero__pillars-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 12px;
    background: rgba(14, 15, 18, 0.84);
    border-color: rgba(216, 187, 137, 0.24);
  }

  .bm-hero__pillar {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .bm-hero__pillar + .bm-hero__pillar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 7px;
    margin-top: 7px;
  }

  .bm-hero__pillar strong {
    font-size: 13.5px;
    font-weight: 600;
    color: #E7CCA0;
    white-space: nowrap;
  }

  .bm-hero__pillar span {
    font-size: 11.5px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
  }

  /* Horizontal Swipe Tracks for Problems, Portfolio, Docs, Contours, Reviews */
  .bm-swipe-hint {
    display: block;
    margin: -4px 0 8px;
    font-size: 11px;
  }

  .bm-swipe-dots {
    display: flex;
    gap: 0;
    margin-top: 6px;
  }

  .bm-swipe-dot {
    width: 36px;
    height: 36px;
  }

  .bm-swipe-dot.is-active {
    width: 42px;
  }

  .bm-swipe-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .bm-swipe-track::-webkit-scrollbar {
    display: none;
  }

  .bm-swipe-item {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: start;
  }

  .bm-problem-card {
    padding: 0;
  }

  .bm-problem-card__media {
    max-height: 156px;
  }

  .bm-problem-card__content {
    padding: 12px 14px 14px;
    gap: 8px;
  }

  .bm-problem-card__title {
    font-size: 16px;
  }

  .bm-problem-card__pain,
  .bm-problem-card__sol-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .bm-problems-interlude {
    margin-top: 10px;
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .bm-problems-interlude__text h3 {
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
  }

  .bm-problems-interlude__text p {
    display: none;
  }

  .bm-problems-interlude .bm-btn {
    white-space: nowrap;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 11.5px;
  }

  /* Screen 3: Portfolio + Before/After + Docs */
  .bm-card__media {
    aspect-ratio: 16 / 9;
  }

  .bm-card__body {
    padding: 10px 12px 12px;
    gap: 4px;
  }

  .bm-card__title {
    font-size: 16px;
  }

  .bm-card__desc {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bm-ba-block {
    margin-top: 12px;
    padding: 12px;
    gap: 8px;
  }

  .bm-ba-info h3 {
    font-size: 16px;
    margin: 2px 0 2px;
  }

  .bm-ba-info__meta {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .bm-ba-info p:last-child {
    font-size: 12px;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bm-ba-wrap {
    aspect-ratio: 16 / 9;
  }

  .bm-docs-open {
    margin-top: 10px;
  }

  .bm-docs-open__title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .bm-doc-card {
    grid-template-columns: 52px 1fr;
    padding: 8px 10px;
    gap: 8px;
  }

  .bm-doc-card__thumb {
    width: 52px;
  }

  .bm-doc-card__body h4 {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .bm-doc-card__body p {
    font-size: 11px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Screen 4: Contours, Honest Box, Timelines & Calculator */
  .bm-contours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  .bm-contour-card {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .bm-contour-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 2px;
  }

  .bm-contour-card__share {
    font-size: 20px;
    line-height: 1.1;
  }

  .bm-contour-card__price {
    font-size: 10.5px;
    line-height: 1.2;
    padding: 2px 6px;
    white-space: nowrap;
  }

  .bm-contour-card__title {
    font-size: 12px;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: break-word;
  }

  .bm-contour-card__note {
    display: none;
  }

  .bm-terms-details {
    padding: 11px 14px;
    margin: 8px 0 12px;
  }

  .bm-terms-details > summary {
    font-size: 13px;
    line-height: 1.35;
  }

  .bm-terms-details__body {
    margin-top: 8px;
    padding-top: 8px;
    gap: 6px;
  }

  .bm-terms-details__body p {
    font-size: 12px;
    line-height: 1.4;
  }

  .bm-honest-box {
    padding: 8px 12px;
    margin: 8px 0 10px;
  }

  .bm-honest-box__summary {
    margin: 0 0 4px;
    font-size: 13px;
  }

  .bm-honest-box__body {
    padding-top: 0;
  }

  .bm-honest-box p {
    font-size: 11.5px;
    line-height: 1.32;
    margin-bottom: 4px;
  }

  .bm-timelines-block {
    margin-bottom: 10px;
  }

  .bm-timelines-block h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .bm-timelines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .bm-timeline-card {
    padding: 8px 10px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
  }

  .bm-timeline-card__area {
    font-size: 11.5px;
    margin: 0;
  }

  .bm-timeline-card__term {
    font-size: 13.5px;
    margin: 0;
    white-space: nowrap;
  }

  .bm-timeline-card__detail {
    display: none;
  }

  .bm-early-start {
    margin-top: 6px;
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  .bm-calc-box {
    padding: 12px;
  }

  .bm-calc-box__head {
    margin-bottom: 8px;
  }

  .bm-calc-box__head h3 {
    font-size: 17px;
    margin: 2px 0 0;
  }

  .bm-calc-box__head p {
    display: none;
  }

  .bm-calc-layout {
    gap: 10px;
  }

  .bm-calc-step {
    margin-bottom: 8px;
  }

  .bm-calc-step__label {
    font-size: 12.5px;
    margin-bottom: 4px;
  }

  .bm-calc-formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .bm-calc-fmt-btn {
    min-height: 36px;
    padding: 5px 8px;
    font-size: 11.5px;
    line-height: 1.2;
  }

  .bm-calc-area-top {
    margin-bottom: 4px;
  }

  .bm-calc-area-badge {
    font-size: 15px;
    padding: 2px 8px;
  }

  .bm-calc-presets {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    margin-top: 4px;
    scrollbar-width: none;
  }

  .bm-calc-presets::-webkit-scrollbar {
    display: none;
  }

  .bm-calc-preset-btn {
    min-height: 28px;
    padding: 3px 8px;
    font-size: 11px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .bm-calc-stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .bm-calc-stage-btn {
    min-height: 44px;
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }

  .bm-calc-hint {
    display: none;
  }

  .bm-calc-opt-label {
    margin-top: 6px;
    font-size: 11.5px;
  }

  .bm-calc-output {
    padding: 12px;
  }

  .bm-calc-output__eyebrow {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .bm-calc-output__total {
    font-size: 21px;
    margin-bottom: 2px;
  }

  .bm-calc-output__range {
    font-size: 11.5px;
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .bm-calc-output__rows {
    gap: 4px;
    margin-bottom: 8px;
  }

  .bm-calc-output__row {
    font-size: 11px;
  }

  .bm-calc-output__bots {
    margin-top: 6px;
    gap: 6px;
  }

  .bm-calc-output__sub {
    display: none;
  }

  .bm-calc-output__saving {
    padding: 8px 10px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .bm-calc-output__includes {
    padding: 8px 10px;
    gap: 5px;
  }

  .bm-calc-output__includes-title {
    font-size: 12px;
  }

  .bm-calc-output__includes-list li {
    font-size: 11.5px;
    line-height: 1.34;
  }

  .bm-dp-sheet-sec {
    padding: 20px 0;
  }

  .bm-dp-sheet-card {
    padding: 12px;
    gap: 12px;
  }

  .bm-dp-sheet-card__zoom {
    padding: 6px;
  }

  .bm-dp-sheet-card__badge {
    right: 10px;
    bottom: 10px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .bm-dp-sheet-card__body {
    gap: 8px;
  }

  .bm-dp-sheet-card__title {
    font-size: 18px;
    line-height: 1.2;
  }

  .bm-dp-sheet-card__desc {
    font-size: 13px;
    line-height: 1.4;
  }

  .bm-dp-sheet-card__actions .bm-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .bm-pdf-preview {
    gap: 8px;
    margin: 8px 0 10px;
  }

  .bm-pdf-preview__card {
    padding: 6px;
    gap: 4px;
  }

  .bm-pdf-preview__cap {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .bm-pdf-fallback__toggle {
    padding: 9px 10px;
    font-size: 12px;
  }

  .bm-webview-fallback {
    margin-top: 4px;
    padding-top: 10px;
    gap: 6px;
  }

  .bm-webview-fallback__hint {
    font-size: 11.5px;
    line-height: 1.34;
  }

  .bm-mini-form__submit {
    font-size: 12.5px;
    padding: 9px 12px;
  }

  /* Screen 5: Reviews & Press */
  .bm-review-card {
    padding: 12px;
    gap: 6px;
  }

  .bm-review-card__thumb {
    aspect-ratio: auto;
    height: 185px;
    padding: 6px;
  }

  .bm-review-card__quote {
    font-size: 12.5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bm-reviews-note {
    margin-top: 6px;
    font-size: 11px;
  }

  .bm-press-strip {
    margin-top: 10px;
    padding-top: 10px;
  }

  .bm-press-strip__label {
    margin-bottom: 6px;
    font-size: 10.5px;
  }

  .bm-press-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .bm-press-item {
    min-height: 32px;
    padding: 4px 8px;
  }

  /* Screen 6: Team 2x2 Compact Mobile Grid & Excursion */
  .bm-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bm-team-card__photo {
    aspect-ratio: 4 / 5;
  }

  .bm-team-card__body {
    padding: 8px 10px;
  }

  .bm-team-card__name {
    font-size: 13px;
    margin-bottom: 1px;
  }

  .bm-team-card__role {
    font-size: 10.5px;
    margin-bottom: 2px;
  }

  .bm-team-card__bio {
    font-size: 11px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bm-team-extended {
    margin: 8px 0 10px;
    font-size: 11.5px;
    line-height: 1.35;
  }

  .bm-excursion-card {
    margin-top: 12px;
    padding: 12px;
    gap: 8px;
  }

  .bm-video-trigger {
    aspect-ratio: 2 / 1;
  }

  .bm-excursion-body h3 {
    font-size: 16px;
    margin: 2px 0 4px;
  }

  .bm-excursion-body p {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Screen 7: FAQ + Lead Form */
  .bm-faq-list {
    gap: 5px;
    margin-bottom: 12px;
  }

  .bm-faq-item summary {
    padding: 9px 12px;
    font-size: 13px;
  }

  .bm-faq-item__body {
    padding: 0 12px 10px;
    font-size: 12.5px;
  }

  .bm-lead-grid {
    padding: 0;
    background: transparent;
    border: none;
    gap: 8px;
  }

  .bm-lead-grid > * {
    min-width: 0;
  }

  .bm-precontract h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .bm-precontract__list {
    gap: 3px;
  }

  .bm-precontract__list li {
    font-size: 12px;
    line-height: 1.28;
    padding-left: 14px;
  }

  .bm-lead-card {
    padding: 10px 12px;
    min-width: 0;
  }

  .bm-lead-card h3 {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .bm-lead-card__sub {
    font-size: 11.5px;
    line-height: 1.28;
    margin-bottom: 6px;
  }

  .bm-form {
    gap: 8px;
    min-width: 0;
  }

  .bm-lead-card .bm-form {
    gap: 5px;
  }

  .bm-lead-card .bm-channel-btn {
    min-height: 38px;
  }

  .bm-lead-card .bm-dialog__trust {
    margin: 0;
    font-size: 11px;
    line-height: 1.25;
  }

  .bm-lead-card .bm-dialog__bot-alt {
    margin-top: 2px;
    padding-top: 6px;
    font-size: 11.5px;
    gap: 2px 6px;
  }

  .bm-form__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .bm-field {
    min-width: 0;
  }

  .bm-channel-btn {
    min-height: 44px;
    padding: 6px 8px;
    font-size: 12.5px;
    gap: 6px;
  }

  .bm-field input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 16px;
  }

  .bm-consent-list {
    gap: 4px;
  }

  .bm-consent {
    font-size: 11px;
    line-height: 1.28;
  }

  /* Footer */
  .bm-footer {
    padding: 18px 0 68px;
  }

  .bm-footer__top {
    gap: 8px;
    padding-bottom: 10px;
  }

  .bm-footer__summary {
    display: none;
  }

  .bm-footer__contacts {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
  }

  .bm-footer__phone {
    font-size: 15px;
  }

  .bm-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 6px 10px;
  }

  button.bm-footer__legal-btn {
    justify-self: start;
  }

  .bm-footer__bottom {
    padding-top: 8px;
    gap: 6px;
    font-size: 11px;
  }

  .bm-analytics-inline {
    padding: 10px 12px;
    font-size: 11px;
    gap: 8px;
  }

  .bm-analytics-inline__info {
    flex-basis: 100%;
    gap: 4px 10px;
  }

  .bm-analytics-inline__btns {
    width: 100%;
  }

  .bm-analytics-inline__btns button {
    flex: 1 1 auto;
    min-height: 36px;
    padding: 6px 10px;
  }

  .bm-mobile-bar {
    display: grid;
  }
}

/* Compact Modal Fit on 375x600 and short viewports */
@media (max-width: 768px), (max-height: 640px) {
  #project-dialog .bm-dialog__shell {
    padding: 10px 14px 10px;
  }

  #project-dialog .bm-dialog__close {
    top: 6px;
    right: 6px;
  }

  #project-dialog .bm-dialog__title {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 3px;
    padding-right: 44px;
  }

  #project-dialog .bm-dialog__sub {
    font-size: 11.5px;
    line-height: 1.28;
    margin-bottom: 6px;
    padding-right: 44px;
  }

  #project-dialog .bm-calc-pill {
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1.25;
  }

  #project-dialog .bm-form {
    gap: 5px;
  }

  #project-dialog .bm-channels {
    gap: 3px;
  }

  #project-dialog .bm-channels__row {
    gap: 5px;
  }

  #project-dialog .bm-channel-btn {
    min-height: 42px;
    padding: 6px 8px;
    font-size: 12.5px;
    gap: 6px;
  }

  #project-dialog .bm-field {
    gap: 2px;
  }

  #project-dialog .bm-field label {
    font-size: 11.5px;
    line-height: 1.2;
  }

  #project-dialog .bm-field input {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 16px;
  }

  #project-dialog .bm-consent-list {
    gap: 3px;
  }

  #project-dialog .bm-consent,
  #project-dialog .bm-consent-item {
    min-height: 28px;
    font-size: 10.5px;
    line-height: 1.24;
    align-items: flex-start;
  }

  #project-dialog .bm-form__submit {
    min-height: 44px;
    padding: 9px 14px;
    font-size: 14px;
  }

  #project-dialog .bm-dialog__trust {
    margin: -2px 0 0;
    font-size: 11px;
  }

  #project-dialog .bm-dialog__bot-alt {
    padding-top: 8px;
    font-size: 11.5px;
    gap: 3px 6px;
  }
}

@media (max-width: 390px) {
  .bm-brand__name {
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .bm-msg-strip {
    gap: 4px;
  }

  .bm-msg-strip .bm-msg-item {
    min-width: 36px;
    height: 36px;
  }

  .bm-msg-icon {
    width: 36px;
    height: 36px;
  }

  .bm-burger {
    width: 36px;
    height: 36px;
  }

  .bm-hero__kicker {
    font-size: 9.5px;
    padding: 4px 8px;
    letter-spacing: 0.04em;
  }

  .bm-hero__title {
    font-size: 24px;
    line-height: 1.13;
    margin-bottom: 12px;
  }

  .bm-hero__sub {
    font-size: 13.5px;
    line-height: 1.34;
    margin-bottom: 14px;
  }

  .bm-mobile-bar__item {
    font-size: 10px;
  }

  .bm-contours-grid {
    gap: 6px;
  }

  .bm-contour-card {
    padding: 8px 6px;
  }

  .bm-contour-card__share {
    font-size: 18px;
  }

  .bm-contour-card__price {
    font-size: 9.5px;
    padding: 2px 5px;
  }

  .bm-contour-card__title {
    font-size: 11px;
  }
}
