/* ===== Интериорен дизайн — допълнения към общите bp- стилове ===== */

/* по-компактни секции */
.bd-sm.bp-section { padding: 90px 0; }
.bd-sm h2 { font-size: clamp(28px, 2.8vw, 40px); }
.bd-sm .bp-panel-head { margin-bottom: 40px; gap: 16px; }
.bd-sm .bp-panel-head p { font-size: 16.5px; }

/* HERO: планът се начертава, визуализацията изплува под него — цикълът се повтаря */
.bd-hero { position: relative; background: var(--k); color: var(--w); overflow: hidden; }
.bd-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(223,185,71,.10), transparent 70%); }
.bd-hero .bp-wrap { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; min-height: 740px; padding: 130px 0 80px; }
.bd-hero h1 { font-size: clamp(38px, 4.4vw, 62px); margin: 18px 0 20px; }
.bd-hero h1 em { display: block; font-style: normal; font-weight: 300; font-size: .4em; letter-spacing: 0; color: #d6d6d6; margin-top: 12px; line-height: 1.35; }
.bd-hero .bp-lead { font-size: 16.5px; color: #d0d0d0; max-width: 540px; }
.bd-hero .bp-lead-h { font-size: 19px; }
.bd-hero .bp-hero-cta { margin-top: 34px; }
.bd-stage { position: relative; aspect-ratio: 6 / 4.4; }
.bd-render { position: absolute; inset: 0; background: center/cover; opacity: 0; transform: scale(1.04); box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.bd-plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.bd-plan .w { fill: none; stroke: var(--y); stroke-width: 6; stroke-linecap: square; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.bd-plan .f { fill: none; stroke: #cfcfcf; stroke-width: 2; stroke-dasharray: 900; stroke-dashoffset: 900; }
.bd-plan .d { fill: none; stroke: #8d8d8d; stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0; }
.bd-plan text { fill: #a9a9a9; font: 600 13px Montserrat, sans-serif; letter-spacing: .14em; opacity: 0; }
.bd-stage.play .w { animation: bd-draw 1.8s var(--ease) .2s forwards; }
.bd-stage.play .f { animation: bd-draw 1.4s var(--ease) 1.1s forwards; }
.bd-stage.play .d, .bd-stage.play text { animation: bd-show .6s ease 1.7s forwards; }
.bd-stage.play .bd-render { animation: bd-render 7.6s var(--ease) 2.4s forwards; }
.bd-stage.play .bd-plan { animation: bd-planfade 7.6s var(--ease) 2.4s forwards; }
@keyframes bd-draw { to { stroke-dashoffset: 0; } }
@keyframes bd-show { to { opacity: 1; } }
/* визуализацията се показва, стои и се скрива, преди планът да се начертае отново */
@keyframes bd-render { 0% { opacity: 0; transform: scale(1.04); } 14% { opacity: 1; transform: scale(1); } 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes bd-planfade { 0% { opacity: 1; } 14% { opacity: .22; } 88% { opacity: .22; } 100% { opacity: 0; } }
.bd-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(18,18,18,.82); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); padding: 11px 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; animation: bp-float 6s ease-in-out infinite; }
.bd-chip b { color: var(--y); font-weight: 800; }
.bd-chip.c1 { left: -22px; top: 10%; }
.bd-chip.c2 { right: -16px; top: 46%; animation-delay: 1.5s; }
.bd-chip.c3 { left: 8%; bottom: -20px; animation-delay: 3s; }

/* бягаща лента */
.bd-marquee { background: var(--y); color: var(--k); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.bd-marquee div { display: inline-flex; gap: 44px; padding-right: 44px; animation: bd-mq 40s linear infinite; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.bd-marquee span::after { content: "✦"; margin-left: 44px; font-size: 13px; vertical-align: middle; }
@keyframes bd-mq { to { transform: translateX(-100%); } }

/* подход — нисък: заглавие | текст, отдолу три предимства в ред */
.bd-appr.bp-section { padding: 70px 0 60px; }
.bd-appr h2 { font-size: clamp(26px, 2.6vw, 36px); }
.bd-approach { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.bd-approach p { font-size: 15.5px; color: #3c3c3c; }
.bd-approach p + p { margin-top: 10px; }
.bd-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.bd-pkgsec.bp-section { padding-top: 70px; }
.bd-pr { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); background: var(--w); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.bd-pr:hover { transform: translateX(8px); box-shadow: 0 26px 50px -32px rgba(0,0,0,.35); border-color: var(--y); }
.bd-pr .ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--k); }
.bd-pr .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--y); stroke-width: 1.6; stroke-linejoin: round; }
.bd-pr h3 { font-size: 17px; margin-bottom: 5px; }
.bd-pr p { font-size: 14.5px; color: var(--mute); margin: 0; }

/* сравнение чертеж / визуализация */
.bd-cmp { position: relative; max-width: 1040px; margin: 0 auto; height: clamp(280px, 34vw, 460px); overflow: hidden; cursor: ew-resize; user-select: none; touch-action: pan-y; box-shadow: 0 40px 80px -50px rgba(0,0,0,.5); background: #e9e5dc; }
.bd-cmp > div { position: absolute; inset: 0; background: center/cover no-repeat; }
.bd-cmp .top { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.bd-cmp .bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--y); transform: translateX(-1px); }
.bd-cmp .knob { position: absolute; top: 50%; left: var(--x, 50%); width: 56px; height: 56px; border-radius: 50%; background: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; font-weight: 800; color: var(--k); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.bd-cmp .lbl { position: absolute; top: 18px; padding: 8px 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--k); color: var(--w); }
.bd-cmp .lbl.l { left: 18px; } .bd-cmp .lbl.r { right: 18px; background: var(--y); color: var(--k); }
.bd-note { max-width: 1040px; margin: 12px auto 0; font-size: 12.5px; color: var(--mute); }

/* етапи: снимката отгоре се сменя заедно с етапа */
.bd-stages { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; }
.bd-sticky { position: sticky; top: 100px; align-self: start; }
.bd-sticky .imgs { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--k3); }
.bd-sticky .imgs .im { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.bd-sticky .imgs .im.on { opacity: 1; transform: scale(1); }
.bd-sticky .imgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,14,14,.75), transparent 40%); pointer-events: none; }
.bd-sticky .num { position: absolute; z-index: 1; left: 24px; bottom: 16px; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--w); }
.bd-sticky .num small { font-size: 17px; color: var(--y); letter-spacing: .1em; vertical-align: top; margin-left: 4px; }
.bd-sticky .cap { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.bd-sticky .cap b { font-size: 16px; font-weight: 700; }
.bd-prog { display: flex; gap: 6px; flex: none; }
.bd-prog i { width: 30px; height: 4px; background: rgba(255,255,255,.2); transition: background .5s; }
.bd-prog i.on { background: var(--y); }
.bd-stage-a { min-height: 58vh; padding: 30px 0; display: flex; flex-direction: column; justify-content: center; }
.bd-stage-a .k { font-size: 12.5px; font-weight: 800; letter-spacing: .2em; color: var(--y); }
.bd-stage-a h3 { font-size: 27px; font-weight: 800; margin: 12px 0 14px; }
.bd-stage-a p { color: #c8c8c8; font-size: 16px; }
.bd-stage-a p + p { margin-top: 12px; }
.bd-stage-a .note { margin-top: 16px; padding: 14px 16px; border-left: 2px solid var(--y); background: rgba(255,255,255,.04); font-size: 14.5px; color: #bdbdbd; }
.bd-pk { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.bd-pk span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1px solid #3a3a3a; color: #7c7c7c; }
.bd-pk span.in { border-color: var(--y); color: var(--y); }
.bd-stage-a .mimg { display: none; }
/* ако нещо над страницата блокира position: sticky — подредба като на телефон */
.bd-stages.bd-nosticky { grid-template-columns: 1fr; max-width: 820px; }
.bd-nosticky .bd-sticky { display: none; }
.bd-nosticky .bd-stage-a { min-height: 0; padding: 30px 0; border-bottom: 1px solid var(--lineK); }
.bd-nosticky .bd-stage-a .mimg { display: block; aspect-ratio: 16 / 9; background: center/cover; margin-bottom: 20px; }

/* какво получавате: филтър по пакет */
.bd-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 30px; }
.bd-filter .bp-seg { border-color: var(--line); min-width: 380px; }
.bd-filter .bp-seg button { color: var(--mute); padding: 11px 10px; }
.bd-filter .bp-seg button.on { color: var(--k); }
.bd-count { font-size: 14px; color: var(--mute); }
.bd-count b { font-size: 24px; font-weight: 800; color: var(--ink); margin-right: 4px; }
.bd-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bd-doc { position: relative; border: 1px solid var(--line); background: var(--w); padding: 20px 20px 18px; transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s, border-color .4s, box-shadow .5s; }
.bd-doc .ic { width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper); margin-bottom: 14px; transition: background .4s; }
.bd-doc .ic svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.bd-doc h3 { font-size: 15.5px; margin-bottom: 6px; }
.bd-doc p { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.bd-doc .tier { position: absolute; top: 18px; right: 18px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #b2b2b2; }
.bd-doc.in { border-color: var(--y); box-shadow: 0 24px 46px -34px rgba(0,0,0,.35); }
.bd-doc.in .ic { background: var(--y); }
.bd-doc.out { opacity: .35; filter: grayscale(1); transform: scale(.97); }

/* пакети */
.bd-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; align-items: stretch; }
.bd-pkg { position: relative; display: flex; flex-direction: column; background: var(--w); border: 1px solid var(--line); padding: 36px 32px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bd-pkg:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -36px rgba(0,0,0,.4); }
.bd-pkg.hl { background: var(--k); color: var(--w); border-color: var(--k); }
.bd-pkg .badge { position: absolute; top: -14px; left: 32px; background: var(--y); color: var(--k); font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 6px 12px; text-transform: uppercase; }
.bd-pkg .nm { font-size: 28px; font-weight: 800; }
.bd-pkg .pr { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.bd-pkg .pr b { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bd-pkg .pr span { color: var(--y); font-size: 24px; font-weight: 700; }
.bd-pkg .per { font-size: 13px; color: var(--mute); }
.bd-pkg.hl .per { color: #9c9c9c; }
.bd-pkg p.d { margin: 20px 0 24px; flex: 1; font-size: 15px; }
.bd-pkg.hl p.d { color: #cfcfcf; }
.bd-pkg .bp-btn { justify-content: center; }
.bd-pkg .bp-tier { margin: 16px 0 0; }
.bd-pkg:not(.hl) .bp-tier i:not(.f) { background: var(--line); }

/* защо BiOND */
.bd-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); }
.bd-why > div { padding: 32px 26px 10px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.bd-why > div:last-child { border-right: 0; margin-right: 0; }
.bd-why .n { font-size: 42px; font-weight: 800; color: var(--y); letter-spacing: -.03em; line-height: 1; }
.bd-why h3 { font-size: 18px; margin: 16px 0 10px; }
.bd-why p { font-size: 14.5px; color: var(--mute); }

/* въпроси — по-компактни */
.bd-faq .bp-q button { font-size: 17px; padding: 20px 0; }
.bd-faq .bp-q .bp-svc-b .in { padding-bottom: 20px; }
.bd-faq .bp-q p { font-size: 15.5px; }

@media (max-width: 980px) {
  .bd-hero .bp-wrap, .bd-approach, .bd-stages, .bd-pkgs, .bd-principles { grid-template-columns: 1fr; }
  .bd-approach { gap: 18px; }
  .bd-hero .bp-wrap { min-height: 0; padding: 110px 0 70px; gap: 50px; }
  .bd-chip.c1 { left: 0; } .bd-chip.c2 { right: 0; }
  .bd-sticky { display: none; }
  .bd-stage-a { min-height: 0; opacity: 1; padding: 26px 0; border-bottom: 1px solid var(--lineK); }
  .bd-stage-a .mimg { display: block; aspect-ratio: 16 / 10; background: center/cover; margin-bottom: 20px; }
  .bd-docs { grid-template-columns: 1fr 1fr; }
  .bd-filter .bp-seg { min-width: 0; width: 100%; }
  .bd-why { grid-template-columns: 1fr 1fr; }
  .bd-why > div { border-right: 0; margin-right: 0; padding-right: 10px; }
}
@media (max-width: 560px) {
  .bd-docs, .bd-why { grid-template-columns: 1fr; }
  .bd-marquee div { font-size: 16px; }
  .bd-stage-a h3 { font-size: 23px; }
  .bd-cmp { height: 260px; }
}
/* без движение: показваме крайния вид */
.bp.bp-static .bd-render { opacity: 1 !important; transform: none !important; }
.bp.bp-static .bd-plan { opacity: .22 !important; }
.bp.bp-static .bd-plan .w, .bp.bp-static .bd-plan .f { stroke-dashoffset: 0 !important; }
.bp.bp-static .bd-stage-a { opacity: 1 !important; min-height: 0; padding: 40px 0; }
@media (prefers-reduced-motion: reduce) {
  .bd-render { opacity: 1 !important; transform: none !important; }
  .bd-plan { opacity: .22 !important; }
  .bd-plan .w, .bd-plan .f { stroke-dashoffset: 0 !important; }
  .bd-marquee div { animation: none !important; }
}
