/* BORA Visual Blocks — corrections from review PDFs + responsive editing layer */
:root{--bvb-radius-pill:8px}

/* Global corrections */
.btn,.channel,.channel-wide,.form-button,.cta-button,input[type=submit],button[type=submit]{border-radius:var(--bvb-radius-pill)!important}
.hero .eyebrow,.page-intro .eyebrow{color:var(--gold-dark)!important}
.bora-gold-word,.bora-project-meta-gold{color:var(--gold-dark)!important}
.bora-gold-frame{border:1px solid var(--gold-dark);border-radius:var(--radius-card);margin-inline:auto;width:min(calc(100% - 44px),var(--max));padding-inline:18px}
.bora-gold-frame>.container{width:100%}
.bora-badge-inline{display:flex!important;align-items:center;gap:8px;max-width:310px!important;padding:11px 14px!important;line-height:1.25}
.bora-badge-inline img,.bora-badge-inline svg{width:25px!important;height:25px!important;flex:0 0 auto}
.stats-4{grid-template-columns:repeat(4,1fr)!important}

/* Icons: larger, sharper, no decorative tile */
.iconbox{width:58px!important;height:58px!important;background:transparent!important;border:0!important;border-radius:0!important}
.iconbox .ico,.feature .ico{width:46px!important;height:46px!important}
.contact-list .ico,.footer .ico{width:26px!important;height:26px!important}

/* Messenger buttons: white button, brand-colored mark */
a.channel[href*="t.me"],a.channel-wide[href*="t.me"],a.channel[href*="max.ru"],a.channel-wide[href*="max.ru"]{background:#fff!important;border:1px solid var(--line)!important;color:var(--ink)!important}
a.channel[href*="t.me"] img,a.channel-wide[href*="t.me"] img{width:24px!important;height:24px!important}
a.channel[href*="max.ru"] img,a.channel-wide[href*="max.ru"] img{width:24px!important;height:24px!important;background:linear-gradient(135deg,#4185F6 0%,#4930E0 52%,#964BDA 100%);border-radius:50%;padding:4px;object-fit:contain}

/* About */
.about-founder .media img{object-position:50% 65%}
.values strong,.values span{color:var(--ink)!important}
.channels-wide.bora-gold-frame,.bora-gold-frame .channels-wide{border-top:0}

/* Design */
.bora-project-meta-gold{font-weight:600}

/* Renovation */
.bora-negative-list .checklist li:before{content:'×'!important;border-color:#D7B7AA!important;color:#9C3F30!important;font-size:16px!important;line-height:1}
.bora-docs-single .docs-contact{grid-template-columns:1fr!important}

/* Acceptance */
.bora-acceptance-stats{grid-template-columns:repeat(5,1fr)!important}
.bora-accept-trust-corrected .trust-copy{max-width:570px}
.bora-accept-trust-corrected .trust-copy p{font-size:15px}

/* Cases */
.bora-excursion-corrected .split{grid-template-columns:.9fr 1.1fr}
.bora-excursion-corrected h2{font-size:clamp(31px,2.5vw,45px)}
.bora-excursion-corrected .btn{min-height:44px;padding-inline:18px}

/* Contacts */
.bora-three-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bora-three-actions .btn,.bora-three-actions .channel{width:100%;min-width:0}
.bora-contact-methods-corrected .card,.bora-contact-methods-corrected .contact-method-card{min-height:0!important;padding:16px 18px!important}
.bora-contact-methods-corrected .social-svg,.bora-contact-methods-corrected .ico{width:42px!important;height:42px!important}
.bora-contact-trust-corrected{padding-block:34px!important}
.bora-contact-trust-corrected .avatar,.bora-contact-trust-corrected .bora-avatar-large{width:110px!important;height:110px!important;object-fit:cover!important;object-position:50% 28%!important}
.bora-contact-trust-corrected p{max-width:none}

/* Blog */
@media(min-width:1025px){.bora-blog-corrected h1{font-size:clamp(43px,3.7vw,66px);white-space:nowrap}.bora-blog-corrected .blog-card .body{display:flex;flex-direction:column;height:calc(100% - 210px)}.bora-blog-corrected .blog-card .btn{margin-top:auto}}

/* Footer */
.bora-corrected-footer{background:#F8F6F2}
.bora-corrected-footer .footer-socials a[href^="tel:"]{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
.bora-corrected-footer .footer-socials a[href^="tel:"] img{width:22px!important;height:22px!important}
.bora-footer-address{line-height:1.45!important}

/* Responsive correction pass */
@media(max-width:1024px){
  .bora-gold-frame{width:calc(100% - 36px)}
  .bora-acceptance-stats{grid-template-columns:repeat(3,1fr)!important}
  .bora-three-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:767px){
  .bora-gold-frame{width:calc(100% - 24px);padding-inline:10px}
  .stats-4{grid-template-columns:repeat(2,1fr)!important}
  .bora-acceptance-stats{grid-template-columns:repeat(2,1fr)!important}
  .bora-three-actions{grid-template-columns:1fr}
  .bora-badge-inline{right:10px!important;bottom:10px!important;max-width:calc(100% - 20px)!important}
  .bora-excursion-corrected .split{grid-template-columns:1fr}
  .bora-contact-trust-corrected .avatar,.bora-contact-trust-corrected .bora-avatar-large{width:96px!important;height:96px!important}
  .bora-blog-corrected h1{white-space:normal}
}
@media(max-width:480px){.bora-acceptance-stats{grid-template-columns:1fr!important}}

/* Review-pass refinements */
@media(min-width:1025px){
  .bora-acceptance-eyebrow-one-line{font-size:11px!important;letter-spacing:.11em!important;white-space:nowrap}
  .bora-contact-trust-one-line{white-space:nowrap}
}
.bora-supervision-stacked .bora-supervision-row{margin-top:12px;align-items:stretch}
.bora-supervision-stacked .bora-supervision-row:first-child{margin-top:0}
.bora-supervision-stacked .bora-supervision-row>.media{min-height:300px;border-radius:var(--radius-card)}
.bora-supervision-stacked .bora-supervision-row>.card{display:flex;flex-direction:column;justify-content:center}
.bora-faq-stacked .faq-cta{grid-template-columns:1fr!important;gap:14px}
.bora-faq-stacked .faq-photo{min-height:360px}
.bora-docs-with-image .docs-contact{grid-template-columns:1fr 1.15fr!important;align-items:stretch}
.bora-docs-with-image .bora-docs-image{min-height:280px;border-radius:var(--radius-card)}
.bora-excursion-object .office{grid-template-columns:.75fr 1.25fr}
.bora-excursion-corrected .excursion-cta{grid-template-columns:.9fr 1.1fr}
.bora-excursion-corrected .excursion-cta>.trust-copy{order:1}
.bora-excursion-corrected .excursion-cta>.media{order:2;min-height:310px}
.bora-excursion-corrected .hero-channels{max-width:480px}
.bora-contact-methods-corrected .contact-method-arrow{font-size:25px!important;margin-left:auto}
@media(max-width:767px){
  .bora-acceptance-eyebrow-one-line{white-space:normal}
  .bora-contact-trust-one-line{white-space:normal}
  .bora-supervision-stacked .bora-supervision-row,.bora-docs-with-image .docs-contact,.bora-excursion-corrected .excursion-cta{grid-template-columns:1fr!important}
  .bora-excursion-corrected .excursion-cta>.trust-copy,.bora-excursion-corrected .excursion-cta>.media{order:initial}
}

/* Renovation: block-by-block PDF corrections */
@media(min-width:768px){
  .bora-negative-list .split>.media{margin-top:42px}
  .bora-renovation-why .side-icon-cards .card{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:start}
  .bora-renovation-why .side-icon-cards .card .iconbox{grid-row:1}
  .bora-renovation-why .side-icon-cards .card h3{grid-column:2;align-self:center}
  .bora-renovation-why .side-icon-cards .card p{grid-column:1/-1;margin-top:8px}
  .bora-quality-corrected .quality-copy{align-self:start;padding-top:0}
  .bora-quality-corrected .quality-copy h2{white-space:nowrap;font-size:clamp(30px,2.55vw,44px)}
  .bora-quality-corrected .quality-copy>p{margin-top:8px}
  .bora-quality-corrected .media{align-self:end;transform:translateY(24px)}
  .bora-online-control-corrected .bora-phone-video-content{align-self:start;padding-top:4px}
  .bora-online-control-corrected .bora-phone-video-points{grid-template-columns:1fr!important;max-width:520px}
  .bora-fixed-estimate-corrected .side-icon-cards .card{text-align:left!important;align-items:flex-start!important}
  .bora-first-meeting-corrected .split>div:first-child{align-self:start;padding-top:0}
  .bora-first-meeting-corrected .media{min-height:270px!important;max-height:330px!important;align-self:center}
  .bora-first-meeting-corrected .media img{height:100%;object-fit:cover}
  .bora-brands-corrected{padding-top:24px!important}
  .bora-brands-corrected .brands{margin-top:10px}
  .bora-brands-corrected .brand-logo svg{transform:scale(1.12);transform-origin:center}
}
.remont-gift-highlight{gap:14px;flex-wrap:wrap}
.remont-gift-highlight>span{min-width:240px}
.remont-gift-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.remont-gift-actions .channel{min-width:132px;justify-content:center}
.bora-payment-corrected .payment-card{position:relative}
.bora-payment-corrected .payment-card:not(:last-child)::after{content:'→';position:absolute;right:-19px;top:50%;transform:translateY(-50%);font-size:24px;line-height:1;color:var(--gold-dark)}
@media(max-width:767px){
  .bora-negative-list .split>.media{margin-top:8px}
  .bora-quality-corrected .quality-copy h2{white-space:normal}
  .bora-quality-corrected .media{transform:none}
  .remont-gift-highlight{align-items:flex-start!important}
  .remont-gift-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .remont-gift-actions .channel{min-width:0;width:100%}
  .bora-payment-corrected .payment-card::after{display:none!important}
}

/* Design: exact review-pass layout corrections */
.bora-design-advantages-corrected{background:#fff!important}
@media(min-width:768px){
  .bora-design-advantages-corrected .split{align-items:end}
  .bora-design-advantages-corrected .media{align-self:end;min-height:360px;transform:translateY(18px)}
  .bora-design-advantages-corrected .media img{height:100%;object-fit:cover;object-position:50% 34%}
  .bora-design-deadlines-corrected .media{transform:translateY(-20px)}
  .bora-design-team-corrected .bora-team-title{white-space:nowrap;font-size:clamp(34px,3.15vw,52px)}
  .bora-design-supervision-corrected .container.split{min-height:360px;align-items:stretch}
  .bora-design-supervision-corrected .card{display:flex;flex-direction:column;justify-content:center}
  .bora-design-supervision-corrected .media{min-height:360px}
}
.bora-design-guarantees-corrected{background:#fff!important}
.bora-design-guarantee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bora-design-guarantee-item{display:grid;grid-template-columns:minmax(140px,.42fr) minmax(0,.58fr);border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;background:#fff;min-height:330px}
.bora-design-guarantee-item>.media{border-radius:0;min-height:100%;height:100%}
.bora-design-guarantee-item>.media img{width:100%;height:100%;object-fit:cover}
.bora-design-guarantee-item>.card{border:0!important;border-radius:0!important;box-shadow:none!important;display:flex;flex-direction:column;justify-content:center}
.bora-design-economics-corrected .metric-strip{margin-top:14px}
@media(max-width:767px){
  .bora-design-advantages-corrected .media,.bora-design-deadlines-corrected .media{transform:none}
  .bora-design-team-corrected .bora-team-title{white-space:normal}
  .bora-design-guarantee-grid{grid-template-columns:1fr}
  .bora-design-guarantee-item{grid-template-columns:1fr;min-height:0}
  .bora-design-guarantee-item>.media{min-height:230px}
}

/* Renovation: remaining positional corrections from marked PDF */
.bora-cost-merged .price-grid{gap:0!important;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden}
.bora-cost-merged .price-panel{border:0!important;border-radius:0!important;background:#fff!important}
.bora-cost-merged .price-panel:last-child{position:relative;overflow:hidden}
.bora-cost-merged .price-panel:last-child:before{content:'';position:absolute;z-index:2;inset:0 auto 0 0;width:34%;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.82) 36%,rgba(255,255,255,0) 100%);pointer-events:none}
.bora-cost-merged .price-panel .media{height:100%;min-height:100%}
.bora-cost-merged .price-panel .media img{height:100%;object-fit:cover}
@media(min-width:768px){
  .bora-renovation-deadlines .price-table{width:74%;max-width:460px}
  .bora-renovation-guarantees .quality-copy{align-self:start;padding-top:0}
  .bora-renovation-guarantees .media{align-self:stretch;min-height:330px;max-height:390px;overflow:hidden}
  .bora-renovation-guarantees .media img{height:100%;object-fit:cover;object-position:50% 34%}
  .bora-renovation-dmitry-trust{padding-block:34px!important}
  .bora-renovation-dmitry-trust .trust{min-height:310px}
  .bora-renovation-dmitry-trust .media{min-height:310px;max-height:340px}
  .bora-renovation-partners> .container>p{margin-top:4px}
  .bora-renovation-partners .brands{margin-top:12px}
  .bora-renovation-partners .brand-logo svg{transform:scale(1.13);transform-origin:center}
  .bora-estimate-corrected .form{align-content:start}
}
@media(max-width:767px){
  .bora-cost-merged .price-grid{grid-template-columns:1fr!important}
  .bora-cost-merged .price-panel:last-child:before{width:100%;height:28%;inset:0 0 auto;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 100%)}
  .bora-renovation-deadlines .price-table{width:100%}
}

/* Acceptance */
.bora-acceptance-included-corrected .split{align-items:stretch}
.bora-acceptance-inspector-media{position:relative;overflow:hidden;border-radius:var(--radius-card)}
.bora-acceptance-inspector-media:before{content:'';position:absolute;z-index:2;inset:0 auto 0 0;width:20%;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,0) 100%);pointer-events:none}
.bora-acceptance-inspector-media img{width:100%;height:100%;min-height:330px;object-fit:cover;object-position:52% 50%}
@media(min-width:768px){
  .bora-accept-trust-corrected .accept-trust-split{grid-template-columns:1.22fr .78fr!important;align-items:start}
  .bora-accept-trust-corrected #form-consultation{padding:18px!important}
  .bora-accept-trust-corrected #form-consultation,.bora-accept-trust-corrected #form-consultation input,.bora-accept-trust-corrected #form-consultation select,.bora-accept-trust-corrected #form-consultation button{font-size:12px}
}
@media(max-width:767px){.bora-acceptance-inspector-media:before{display:none}}

/* Contacts personal block */
@media(min-width:768px){
  .bora-contact-trust-corrected .contacts-trust{min-height:250px;max-height:285px;overflow:hidden}
  .bora-contact-trust-corrected .contacts-trust>.media{min-height:250px}
  .bora-contact-trust-corrected .contacts-trust>.media img{height:100%;object-fit:cover;object-position:50% 42%}
  .bora-contact-trust-corrected .contacts-trust-copy{align-items:center}
}

/* Cases hero and excursion compression */
@media(min-width:768px){
  .bvb-managed-page .hero .hero-photo{max-height:560px}
  .bora-excursion-corrected{padding-block:42px!important}
  .bora-excursion-corrected .excursion-cta>.media{max-height:360px;overflow:hidden}
}

/* =========================================================
   v1.2.3 — geometry corrections from live-site screenshots
   ========================================================= */

/* 1. Subscribe channels: keep the gold frame, but align all three cells to one grid. */
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"].bora-channels-corrected{
  padding:0!important;
  overflow:hidden;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:18px 20px!important;
  border:0!important;
  display:grid!important;
  grid-template-columns:minmax(300px,.92fr) minmax(300px,1fr) minmax(300px,1fr)!important;
  gap:12px!important;
  align-items:stretch!important;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide>div:first-child{
  align-self:center;
  min-width:0;
  padding-right:8px;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .eyebrow{
  margin:0!important;
  line-height:1.25!important;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide>div:first-child>p{
  margin:6px 0 0!important;
  color:var(--muted)!important;
  font-size:var(--bvb-card-desktop)!important;
  line-height:1.45!important;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .channel-wide{
  width:100%;
  min-height:72px!important;
  padding:12px 18px!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:14px!important;
  border-color:var(--line)!important;
  background:#fff!important;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .channel-wide>div{
  min-width:0;
  line-height:1.2;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .channel-wide strong{
  display:block;
  font-size:var(--bvb-card-desktop)!important;
  line-height:1.25!important;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .channel-wide .social-svg{
  flex:0 0 28px;
  width:28px!important;
  height:28px!important;
}
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .subscribe-pill{
  margin-top:5px!important;
  padding:3px 11px!important;
  font-size:12px!important;
  line-height:1.15!important;
}

/* 2. Design / How we work: photo must occupy the complete height of the text column. */
@media(min-width:1025px){
  body.bvb-managed-page [data-bvb-block="design:kak-my-rabotaem"] .bora-design-work-stretch{
    align-items:stretch!important;
  }
  body.bvb-managed-page [data-bvb-block="design:kak-my-rabotaem"] .bora-design-work-stretch>.media{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:stretch!important;
  }
  body.bvb-managed-page [data-bvb-block="design:kak-my-rabotaem"] .bora-design-work-stretch>.media>img{
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    object-fit:cover!important;
  }
}

/* 3. Design price block: drawing sits to the RIGHT of the list and stays compact. */
@media(min-width:1100px){
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 270px!important;
    grid-template-rows:auto 1fr!important;
    column-gap:18px!important;
    align-items:start!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>h2{
    grid-column:1/-1!important;
    margin-bottom:20px!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.checklist{
    grid-column:1!important;
    grid-row:2!important;
    align-self:start!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media{
    grid-column:2!important;
    grid-row:2!important;
    width:270px!important;
    height:220px!important;
    min-height:220px!important;
    max-height:220px!important;
    margin:0!important;
    justify-self:end!important;
    align-self:start!important;
    background:transparent!important;
    border-radius:0!important;
    overflow:visible!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media::after{
    display:none!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media>img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center top!important;
  }
}
@media(min-width:768px) and (max-width:1099px){
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media{
    width:min(300px,72%)!important;
    height:220px!important;
    min-height:220px!important;
    max-height:220px!important;
    margin:18px auto 0!important;
    background:transparent!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media::after{display:none!important}
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media>img{object-fit:contain!important}
}

/* 4. Author / engineering supervision: these are text+photo rows, not bordered cards. */
body.bvb-managed-page .bora-supervision-clean .card{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:18px 18px 18px 0!important;
}
body.bvb-managed-page .bora-supervision-clean .card:first-child{
  margin:0!important;
}
body.bvb-managed-page .bora-supervision-clean .container.split{
  align-items:stretch!important;
}

@media(max-width:1024px){
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide{
    grid-template-columns:1fr 1fr!important;
  }
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide>div:first-child{
    grid-column:1/-1;
    padding:0 2px 4px;
  }
}
@media(max-width:767px){
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide{
    grid-template-columns:1fr!important;
    padding:16px 14px!important;
    gap:10px!important;
  }
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide>div:first-child{
    grid-column:auto;
  }
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]>.channels-wide>div:first-child>p,
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .channel-wide strong{
    font-size:var(--bvb-card-mobile)!important;
  }
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"] .channel-wide{
    min-height:66px!important;
    padding:10px 14px!important;
  }
  body.bvb-managed-page [data-bvb-block="design:kak-my-rabotaem"] .bora-design-work-stretch>.media{
    height:280px!important;
    min-height:280px!important;
    max-height:280px!important;
  }
  body.bvb-managed-page [data-bvb-block="design:kak-my-rabotaem"] .bora-design-work-stretch>.media>img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media{
    width:min(260px,78%)!important;
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
    margin:16px auto 0!important;
    background:transparent!important;
  }
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media::after{display:none!important}
  body.bvb-managed-page [data-bvb-block="design:stoimost-dizayn-proekta"] .bora-design-composition>.media>img{object-fit:contain!important}
  body.bvb-managed-page .bora-supervision-clean .card{
    padding:0 0 16px!important;
  }
}

/* v1.2.4: real editable client portraits in testimonial avatars */
body.bvb-managed-page .bora-review-avatar {
  overflow: hidden;
  background: #f5f0e6;
  border: 1px solid rgba(201,169,110,.28);
}
body.bvb-managed-page .bora-review-avatar img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 50%;
  object-fit: cover !important;
  object-position: 50% 32%;
}
@media (max-width: 767px) {
  body.bvb-managed-page .bora-review-avatar,
  body.bvb-managed-page .bora-review-avatar img {
    width: 44px;
    height: 44px !important;
  }
}


/* =========================================================
   Contacts v1.2.5 - grid pass based on contacts.pdf
   Decorative frames removed; inputs retain functional borders.
   ========================================================= */
[data-bvb-block^="contacts:"]{box-sizing:border-box}
[data-bvb-block^="contacts:"] *,[data-bvb-block^="contacts:"] *::before,[data-bvb-block^="contacts:"] *::after{box-sizing:border-box}

/* Hero: 5/7 grid, raised image and three aligned actions. */
[data-bvb-block="contacts:kontakty"]{padding-top:12px;padding-bottom:26px}
[data-bvb-block="contacts:kontakty"] .contacts-hero-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);min-height:520px;gap:0;align-items:stretch}
[data-bvb-block="contacts:kontakty"] .contacts-hero-copy{padding:42px 44px 34px 0;justify-content:center}
[data-bvb-block="contacts:kontakty"] .contacts-hero-copy .eyebrow{color:var(--gold-dark)!important;margin-bottom:8px}
[data-bvb-block="contacts:kontakty"] .contacts-hero-copy h1{margin:8px 0 18px!important}
[data-bvb-block="contacts:kontakty"] .contacts-hero-copy>p{max-width:510px;margin:0 0 18px}
[data-bvb-block="contacts:kontakty"] .contacts-hero-photo{height:520px!important;min-height:520px!important;border-radius:var(--radius-card)!important;align-self:start;transform:translateY(-6px)}
[data-bvb-block="contacts:kontakty"] .contacts-hero-photo>img{object-fit:cover!important;object-position:65% 24%!important}
[data-bvb-block="contacts:kontakty"] .hero-badge{right:18px;bottom:18px;border-radius:8px;padding:14px 16px}
[data-bvb-block="contacts:kontakty"] .bora-three-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:8px;max-width:570px}
[data-bvb-block="contacts:kontakty"] .bora-three-actions .channel,
[data-bvb-block="contacts:kontakty"] .bora-three-actions .btn{height:48px;min-height:48px;padding:0 14px;border-radius:var(--bvb-button-radius)!important;justify-content:center}
[data-bvb-block="contacts:kontakty"] .bora-three-actions .channel{background:transparent!important;border:1px solid var(--line)!important}
[data-bvb-block="contacts:kontakty"] .bora-three-actions .channel .social-svg{width:25px!important;height:25px!important;flex:0 0 25px}

/* Contact facts: no card borders/background, one clean four-column baseline. */
[data-bvb-block="contacts:telefon"]{padding-top:22px!important;padding-bottom:32px!important}
[data-bvb-block="contacts:telefon"] .four-info{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;align-items:start}
[data-bvb-block="contacts:telefon"] .four-info .card{min-height:0!important;padding:8px 8px 0!important;border:0!important;background:transparent!important;box-shadow:none!important}
[data-bvb-block="contacts:telefon"] .four-info .iconbox{width:64px!important;height:64px!important;margin:0 auto 8px!important}
[data-bvb-block="contacts:telefon"] .four-info .ico{width:48px!important;height:48px!important}
[data-bvb-block="contacts:telefon"] .four-info h3{margin:6px 0 3px!important;text-align:center}
[data-bvb-block="contacts:telefon"] .four-info p{margin:0!important;text-align:center;color:#666159!important}

/* Find us + form: 7/5 grid, no outer frames; inputs remain clearly defined. */
[data-bvb-block="contacts:kak-nas-nayti"]{padding-top:34px!important;padding-bottom:38px!important}
[data-bvb-block="contacts:kak-nas-nayti"]>.container>.title-md{margin-bottom:20px}
[data-bvb-block="contacts:kak-nas-nayti"] .contacts-find-split{grid-template-columns:minmax(0,7fr) minmax(360px,5fr)!important;gap:32px!important;margin-top:0!important;align-items:stretch}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-map-box{min-height:420px!important;border:0!important;background:linear-gradient(135deg,#F8F5EF 0%,#FCFBF8 100%)!important;border-radius:var(--radius-card)!important;box-shadow:none!important}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-map-box .ico{width:42px!important;height:42px!important;margin-bottom:14px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form-card{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;align-self:center}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form-card h2{margin:0 0 12px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form-card>p{margin:0 0 18px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form{gap:10px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form input{height:48px;min-height:48px;border-radius:var(--bvb-button-radius)!important;border:1px solid #DEDAD3!important;background:#fff!important;padding-inline:14px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form .btn{height:48px;min-height:48px;width:100%;border-radius:var(--bvb-button-radius)!important}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form-actions .channel{height:48px;min-height:48px;border-radius:var(--bvb-button-radius)!important;background:transparent!important;border:1px solid var(--line)!important;padding:0 12px}
[data-bvb-block="contacts:kak-nas-nayti"] .contact-form-actions .social-svg{width:25px!important;height:25px!important}

/* Contact methods: narrow rectangular tiles, no borders, arrows on the right. */
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"]{background:#fff!important;padding-top:28px!important;padding-bottom:36px!important}
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-methods{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important;margin-top:20px!important}
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-method-card{min-height:78px!important;padding:12px 16px!important;border:0!important;border-radius:10px!important;background:#F8F6F2!important;box-shadow:none!important;grid-template-columns:44px minmax(0,1fr) 34px!important;gap:12px!important;align-items:center}
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-method-card:hover{transform:none!important;box-shadow:none!important;background:#F3F0EA!important}
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-method-card .ico,
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-method-card .social-svg{width:38px!important;height:38px!important}
[data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-method-arrow{font-size:28px!important;line-height:1!important;text-align:right;margin:0!important}

/* Personal responsibility block: no outer frame, larger editable portrait, lower height. */
[data-bvb-block="contacts:blok-6"]{padding-top:28px!important;padding-bottom:36px!important}
[data-bvb-block="contacts:blok-6"] .contacts-personal-block{grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important;min-height:230px!important;max-height:250px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;gap:0}
[data-bvb-block="contacts:blok-6"] .contacts-trust-copy{min-height:230px;padding:28px 30px 28px 22px!important;gap:20px!important;background:#fff;align-items:center!important}
[data-bvb-block="contacts:blok-6"] .contacts-avatar{width:120px!important;height:120px!important;flex:0 0 120px!important;border-radius:50%!important;object-fit:cover!important;object-position:50% 36%!important}
[data-bvb-block="contacts:blok-6"] .contacts-trust-copy b{display:block;font-size:17px!important;line-height:1.35}
[data-bvb-block="contacts:blok-6"] .contacts-trust-copy p{margin-top:5px!important;white-space:nowrap;max-width:none!important}
[data-bvb-block="contacts:blok-6"] .contacts-personal-media{height:230px!important;min-height:230px!important;border-radius:var(--radius-card)!important;overflow:hidden}
[data-bvb-block="contacts:blok-6"] .contacts-personal-media img{height:100%!important;object-fit:cover!important;object-position:50% 52%!important}

/* Footer grid alignment on Contacts. */
[data-bvb-block="contacts:footer"] .footer-grid{grid-template-columns:1.15fr repeat(4,minmax(0,1fr));gap:34px;align-items:start}
[data-bvb-block="contacts:footer"] .footer-grid>div{min-width:0}
[data-bvb-block="contacts:footer"] .footer-grid h4{margin:0 0 12px}
[data-bvb-block="contacts:footer"] .footer-grid a{line-height:1.5}

@media(max-width:1024px){
  [data-bvb-block="contacts:kontakty"] .contacts-hero-grid{grid-template-columns:1fr 1.15fr;min-height:470px}
  [data-bvb-block="contacts:kontakty"] .contacts-hero-copy{padding-right:28px}
  [data-bvb-block="contacts:kontakty"] .contacts-hero-photo{height:470px!important;min-height:470px!important;transform:translateY(-4px)}
  [data-bvb-block="contacts:kontakty"] .bora-three-actions{grid-template-columns:1fr 1fr!important}
  [data-bvb-block="contacts:kontakty"] .bora-three-actions .btn{grid-column:1/-1}
  [data-bvb-block="contacts:telefon"] .four-info{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  [data-bvb-block="contacts:kak-nas-nayti"] .contacts-find-split{grid-template-columns:1fr 1fr!important;gap:24px!important}
  [data-bvb-block="contacts:blok-6"] .contacts-personal-block{grid-template-columns:1fr 1fr!important}
  [data-bvb-block="contacts:footer"] .footer-grid{grid-template-columns:1.2fr repeat(2,minmax(0,1fr));gap:28px}
}
@media(max-width:767px){
  [data-bvb-block="contacts:kontakty"]{padding-top:8px!important}
  [data-bvb-block="contacts:kontakty"] .contacts-hero-grid{display:flex;flex-direction:column;min-height:0}
  [data-bvb-block="contacts:kontakty"] .contacts-hero-copy{padding:28px 0 20px;order:1}
  [data-bvb-block="contacts:kontakty"] .contacts-hero-photo{order:2;height:390px!important;min-height:390px!important;transform:none}
  [data-bvb-block="contacts:kontakty"] .bora-three-actions{grid-template-columns:1fr!important;max-width:none}
  [data-bvb-block="contacts:kontakty"] .bora-three-actions .btn{grid-column:auto}
  [data-bvb-block="contacts:telefon"] .four-info{grid-template-columns:1fr 1fr;gap:24px 12px}
  [data-bvb-block="contacts:telefon"] .four-info .iconbox{width:56px!important;height:56px!important}
  [data-bvb-block="contacts:telefon"] .four-info .ico{width:42px!important;height:42px!important}
  [data-bvb-block="contacts:kak-nas-nayti"] .contacts-find-split{grid-template-columns:1fr!important;gap:28px!important}
  [data-bvb-block="contacts:kak-nas-nayti"] .contact-map-box{min-height:300px!important}
  [data-bvb-block="contacts:kak-nas-nayti"] .contact-form-actions{grid-template-columns:1fr}
  [data-bvb-block="contacts:vyberite-udobnyy-sposob-svyazi"] .contact-methods{grid-template-columns:1fr!important;gap:10px!important}
  [data-bvb-block="contacts:blok-6"] .contacts-personal-block{display:flex!important;flex-direction:column;max-height:none!important;min-height:0!important}
  [data-bvb-block="contacts:blok-6"] .contacts-trust-copy{min-height:0;padding:22px 0 22px!important;gap:16px!important}
  [data-bvb-block="contacts:blok-6"] .contacts-avatar{width:96px!important;height:96px!important;flex-basis:96px!important}
  [data-bvb-block="contacts:blok-6"] .contacts-trust-copy p{white-space:normal}
  [data-bvb-block="contacts:blok-6"] .contacts-personal-media{height:260px!important;min-height:260px!important}
  [data-bvb-block="contacts:footer"] .footer-grid{grid-template-columns:1fr 1fr!important;gap:24px 18px}
  [data-bvb-block="contacts:footer"] .footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:480px){
  [data-bvb-block="contacts:telefon"] .four-info{grid-template-columns:1fr}
  [data-bvb-block="contacts:footer"] .footer-grid{grid-template-columns:1fr!important}
  [data-bvb-block="contacts:footer"] .footer-grid>div:first-child{grid-column:auto}
}


/* v1.2.7 — Acceptance / “Что входит в приёмку”: grid cleanup */
[data-bvb-block="acceptance:chto-vhodit-v-priemku"]{
  overflow:hidden;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-title{
  margin-bottom:24px;
  font-size:13px;
  line-height:1.35;
  letter-spacing:.08em;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-layout{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:56px;
  align-items:stretch;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-copy{
  display:flex;
  align-items:center;
  min-width:0;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-list{
  width:100%;
  display:grid;
  gap:0;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-list li{
  min-height:43px;
  display:flex;
  align-items:center;
  padding:9px 0 9px 34px;
  font-size:16px;
  line-height:1.45;
  color:var(--ink);
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-list li:before{
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  font-size:11px;
  background:#fff;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery{
  display:block!important;
  width:100%;
  min-width:0;
  min-height:360px;
  border-radius:var(--radius-img);
  overflow:hidden;
  background:var(--soft2);
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-inspector-media:before{
  display:none!important;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
  display:block;
  width:100%!important;
  height:100%!important;
  min-height:360px!important;
  object-fit:cover!important;
  object-position:50% 46%!important;
  border-radius:var(--radius-img);
}
@media(max-width:1024px){
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:32px;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery,
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
    min-height:340px!important;
  }
}
@media(max-width:767px){
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-title{
    margin-bottom:16px;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-layout{
    grid-template-columns:1fr;
    gap:24px;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-list li{
    min-height:0;
    padding:7px 0 7px 30px;
    font-size:15px;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery{
    min-height:260px;
    aspect-ratio:16/10;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
    min-height:260px!important;
  }
}
@media(max-width:480px){
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery{
    min-height:220px;
    aspect-ratio:4/3;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
    min-height:220px!important;
  }
}

/* =========================================================
   v1.2.8 — centering + final grid pass
   ========================================================= */

/* Equal rows for centered icon cards across the project. */
body.bvb-managed-page .cards-icon-center{
  align-items:stretch;
}
body.bvb-managed-page .cards-icon-center>.card{
  height:100%;
  display:grid!important;
  grid-template-rows:42px minmax(44px,auto) 1fr!important;
  justify-items:center!important;
  align-items:start!important;
  text-align:center!important;
}
body.bvb-managed-page .cards-icon-center>.card .iconbox{
  width:42px!important;
  height:42px!important;
  margin:0 auto!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
}
body.bvb-managed-page .cards-icon-center>.card h3{
  min-height:44px;
  margin:4px 0 6px!important;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center!important;
  line-height:1.3!important;
}
body.bvb-managed-page .cards-icon-center>.card p{
  width:100%;
  margin:0!important;
  text-align:center!important;
  align-self:start;
}

/* Feature strips: identical optical centers. */
body.bvb-managed-page .feature-row:not(.feature-row-inline)>.feature{
  min-height:112px;
  display:flex!important;
  flex-direction:column;
  align-items:center!important;
  justify-content:center!important;
  gap:8px;
  text-align:center!important;
}
body.bvb-managed-page .feature-row:not(.feature-row-inline)>.feature .ico{
  margin:0 auto!important;
  flex:0 0 auto;
}
body.bvb-managed-page .feature-row:not(.feature-row-inline)>.feature strong{
  margin:0!important;
  line-height:1.35!important;
}
/* Inline feature row keeps copy left, but icon is vertically centered. */
body.bvb-managed-page .feature-row-inline>.feature{
  min-height:116px;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  justify-items:start!important;
  text-align:left!important;
}
body.bvb-managed-page .feature-row-inline>.feature>.ico{
  width:36px!important;
  height:36px!important;
  margin:0!important;
  justify-self:center!important;
}
body.bvb-managed-page .feature-row-inline>.feature>div{
  align-self:center;
}
body.bvb-managed-page .feature-row-inline>.feature strong,
body.bvb-managed-page .feature-row-inline>.feature span{
  text-align:left!important;
}

/* Fixed estimate cards: one baseline for icon/title/description in all cards. */
body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card,
body.bvb-managed-page [data-bvb-block="renovation:fiksirovannaya-smeta-kak-eto-rabotaet"] .cards>.card{
  min-height:160px;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:58px 1fr!important;
  column-gap:14px!important;
  row-gap:4px!important;
  align-items:start!important;
  text-align:left!important;
}
body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card .iconbox,
body.bvb-managed-page [data-bvb-block="renovation:fiksirovannaya-smeta-kak-eto-rabotaet"] .cards>.card .iconbox{
  grid-column:1!important;
  grid-row:1!important;
  width:48px!important;
  height:58px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
}
body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card h3,
body.bvb-managed-page [data-bvb-block="renovation:fiksirovannaya-smeta-kak-eto-rabotaet"] .cards>.card h3{
  grid-column:2!important;
  grid-row:1!important;
  min-height:58px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  line-height:1.35!important;
}
body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card p{
  grid-column:2!important;
  grid-row:2!important;
  margin:0!important;
  align-self:start!important;
}

/* Subscribe-to-footer rhythm and identical social icon sizes. */
body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]{
  margin-bottom:34px!important;
}
body.bvb-managed-page .bora-corrected-footer .footer-socials{
  gap:7px!important;
  margin-top:14px!important;
}
body.bvb-managed-page .bora-corrected-footer .footer-socials .social-link,
body.bvb-managed-page .bora-corrected-footer .footer-socials a[href^="tel:"]{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border-radius:50%!important;
}
body.bvb-managed-page .bora-corrected-footer .footer-socials .social-svg,
body.bvb-managed-page .bora-corrected-footer .footer-socials a[href^="tel:"] img{
  width:17px!important;
  height:17px!important;
  margin:0!important;
}

/* Contacts final block: clean 5/7 grid, one Dmitry photo, content preserved. */
body.bvb-managed-page [data-bvb-block="contacts:blok-6"].bora-contact-final{
  padding-top:42px!important;
  padding-bottom:48px!important;
  background:#fff!important;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-grid{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  min-height:330px;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  overflow:hidden;
  background:#fff;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:46px 54px;
  min-width:0;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-copy .title-md{
  margin:0 0 16px!important;
  max-width:470px;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-copy p{
  margin:0!important;
  max-width:520px;
  line-height:1.6!important;
  white-space:normal!important;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo{
  min-height:330px!important;
  height:100%!important;
  border-radius:0!important;
  background:#EEEAE3;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo::after{
  background:linear-gradient(90deg,rgba(255,255,255,.28),transparent 20%)!important;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 38%!important;
}

@media(max-width:1024px){
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-grid{
    grid-template-columns:1fr 1fr;
    min-height:300px;
  }
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-copy{padding:34px 30px}
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo{min-height:300px!important}
}
@media(max-width:767px){
  body.bvb-managed-page .cards-icon-center>.card{
    grid-template-rows:40px auto auto!important;
  }
  body.bvb-managed-page .cards-icon-center>.card h3{min-height:0}
  body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card,
  body.bvb-managed-page [data-bvb-block="renovation:fiksirovannaya-smeta-kak-eto-rabotaet"] .cards>.card{
    min-height:0;
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
  }
  body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card .iconbox,
  body.bvb-managed-page [data-bvb-block="renovation:fiksirovannaya-smeta-kak-eto-rabotaet"] .cards>.card .iconbox{
    width:44px!important;height:44px!important;
  }
  body.bvb-managed-page [data-bvb-block="design:fiksirovannaya-smeta-kak-eto-rabotaet"] .side-icon-cards>.card h3,
  body.bvb-managed-page [data-bvb-block="renovation:fiksirovannaya-smeta-kak-eto-rabotaet"] .cards>.card h3{
    min-height:44px!important;
  }
  body.bvb-managed-page [data-bvb-block="about:podpisyvaytes-na-nashi-kanaly"]{margin-bottom:24px!important}
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-grid{
    grid-template-columns:1fr;
    min-height:0;
  }
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-copy{
    padding:28px 22px 30px;
  }
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo{
    min-height:340px!important;
    height:340px!important;
  }
}


/* =========================================================
   EXACT BORA SOCIAL SVG ASSETS — v1.3.1
========================================================= */
body.bvb-managed-page a[href*="t.me"] img.social-svg,
body.bvb-managed-page a[href*="max.ru"] img.social-svg,
body.bvb-managed-page a[href*="wa.me"] img.social-svg,
body.bvb-managed-page a[href*="whatsapp"] img.social-svg{
  padding:0!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  object-fit:contain!important;
}

/* The SVG artwork already contains its own round brand silhouette. */
body.bvb-managed-page a[href*="t.me"] img.social-svg,
body.bvb-managed-page a[href*="max.ru"] img.social-svg,
body.bvb-managed-page a[href*="wa.me"] img.social-svg,
body.bvb-managed-page a[href*="whatsapp"] img.social-svg{
  border-radius:0!important;
}

/* Global Yandex map */
body.bvb-managed-page .contact-map-box{padding:0!important;overflow:hidden!important;min-height:430px!important;background:#F6F3EE!important}
body.bvb-managed-page .contact-map-box .bora-yandex-map{width:100%;height:100%;min-height:430px;border:0;display:block}
@media(max-width:767px){body.bvb-managed-page .contact-map-box,body.bvb-managed-page .contact-map-box .bora-yandex-map{min-height:340px!important}}


/* =========================================================
   v1.3.3 — Acceptance final consultation block
   Rebuilt on one grid: copy 7/12 + form 5/12.
========================================================= */

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"]{
  padding-top:72px!important;
  padding-bottom:72px!important;
  background:#F8F7F4!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] > .container{
  width:min(calc(100% - 48px),1280px)!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-layout{
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(360px,5fr);
  gap:clamp(48px,6vw,86px);
  align-items:center;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-copy{
  min-width:0;
  max-width:720px;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-copy .title-md{
  max-width:680px;
  margin:0 0 38px!important;
  font-family:"Playfair Display",Georgia,serif!important;
  font-size:var(--bvb-heading-desktop)!important;
  font-weight:400!important;
  line-height:1.05!important;
  letter-spacing:-.025em!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-list{
  width:100%;
  max-width:650px;
  margin:0!important;
  display:grid;
  gap:0;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-list li{
  position:relative;
  min-height:48px;
  margin:0!important;
  padding:12px 0 12px 34px!important;
  display:flex;
  align-items:center;
  color:var(--ink);
  font-size:16px!important;
  line-height:1.45!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-list li:before{
  top:50%!important;
  transform:translateY(-50%)!important;
  width:19px!important;
  height:19px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  font-size:11px!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form{
  width:100%;
  max-width:490px;
  justify-self:end;
  padding:30px;
  border:1px solid #E5E3DF;
  border-radius:14px;
  background:#fff;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form-title{
  margin:0 0 18px;
  color:var(--ink);
  font-size:14px;
  font-weight:700;
  line-height:1.35;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form .form{
  display:grid;
  gap:10px;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form input{
  width:100%;
  height:52px;
  margin:0!important;
  padding:0 15px!important;
  border:1px solid #DDD9D2!important;
  border-radius:var(--bvb-button-radius)!important;
  background:#fff!important;
  color:var(--ink)!important;
  font-family:Manrope,sans-serif!important;
  font-size:14px!important;
  line-height:1!important;
  box-shadow:none!important;
  outline:none!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form input:focus{
  border-color:#C9A96E!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form .btn{
  width:100%;
  min-height:52px!important;
  margin:2px 0 0!important;
  border-radius:var(--bvb-button-radius)!important;
  font-size:13px!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-divider{
  position:relative;
  margin:20px 0 14px;
  text-align:center;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-divider:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:#ECE8E2;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-divider span{
  position:relative;
  z-index:1;
  padding:0 10px;
  background:#fff;
  color:#969189;
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px!important;
  margin:0!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels .channel{
  width:100%;
  min-width:0;
  min-height:50px;
  margin:0!important;
  padding:8px 11px!important;
  border:1px solid #E5E3DF!important;
  border-radius:var(--bvb-button-radius)!important;
  display:grid!important;
  grid-template-columns:25px minmax(0,1fr);
  gap:9px!important;
  align-items:center;
  justify-content:stretch!important;
  background:#fff!important;
  color:var(--ink)!important;
  text-decoration:none!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels .channel:hover{
  border-color:#C9A96E!important;
  background:#FCFAF6!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels .social-svg{
  width:25px!important;
  height:25px!important;
  margin:0!important;
  object-fit:contain!important;
}

[data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels .channel span{
  min-width:0;
  text-align:left;
  font-size:11px!important;
  font-weight:600;
  line-height:1.25;
}

@media(max-width:1024px){
  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] > .container{
    width:min(calc(100% - 36px),960px)!important;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-layout{
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
    gap:36px;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form{
    padding:24px;
  }
}

@media(max-width:820px){
  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"]{
    padding-top:54px!important;
    padding-bottom:54px!important;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-layout{
    grid-template-columns:1fr;
    gap:34px;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-copy,
  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form{
    max-width:none;
    width:100%;
    justify-self:stretch;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-copy .title-md{
    max-width:620px;
    margin-bottom:26px!important;
  }
}

@media(max-width:600px){
  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] > .container{
    width:calc(100% - 20px)!important;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-copy .title-md{
    margin-bottom:22px!important;
    font-size:var(--bvb-heading-mobile)!important;
    line-height:1.08!important;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-list li{
    min-height:0;
    padding:9px 0 9px 30px!important;
    font-size:15px!important;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-form{
    padding:18px;
    border-radius:12px;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels{
    grid-template-columns:1fr;
  }

  [data-bvb-block="acceptance:my-ne-prosto-osmatrivaem-my-zaschischaem-vashi-p"] .bora-accept-contact-channels .channel{
    min-height:48px;
  }
}



/* =========================================================
   v1.3.4 — Dynamic video testimonials
========================================================= */
.bora-video-reviews .bora-vr-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}
.bora-video-reviews .bora-vr-nav{display:flex;gap:8px;flex:0 0 auto}
.bora-video-reviews .bora-vr-track-prev,.bora-video-reviews .bora-vr-track-next{width:44px;height:44px;padding:0;border:1px solid #E5E3DF!important;border-radius:var(--bvb-button-radius)!important;background:#fff!important;color:#1A1917!important;font-size:18px;cursor:pointer;transition:.2s}
.bora-video-reviews .bora-vr-track-prev:hover,.bora-video-reviews .bora-vr-track-next:hover{border-color:#C9A96E!important;background:#FCFAF6!important}
.bora-video-reviews .bora-vr-track{display:flex;gap:16px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain}
.bora-video-reviews .bora-vr-track::-webkit-scrollbar{display:none}
.bora-video-reviews .bora-vr-card{flex:0 0 calc((100% - 32px)/3);height:430px;scroll-snap-align:start;position:relative;overflow:hidden;border:1px solid #E5E3DF!important;border-radius:12px!important;padding:0!important;background:#E8E2D8!important;cursor:pointer;text-align:left;isolation:isolate;box-shadow:none!important;transform:none!important}
.bora-video-reviews .bora-vr-preview{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;background:#DDD4C6;transition:transform .45s ease,filter .3s ease}
.bora-video-reviews .bora-vr-card:hover .bora-vr-preview{transform:scale(1.025)}
.bora-video-reviews .bora-vr-card-shade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(10,10,10,.04) 30%,rgba(10,10,10,.68) 100%)}
.bora-video-reviews .bora-vr-stars{z-index:2;top:16px;right:16px;color:#E7BC72;text-shadow:0 1px 8px rgba(0,0,0,.18)}
.bora-video-reviews .bora-vr-play{z-index:2;width:56px;height:56px;background:rgba(255,255,255,.28);border:1px solid rgba(255,255,255,.52);backdrop-filter:blur(7px)}
.bora-video-reviews .bora-vr-card-info{z-index:2;left:20px;right:20px;bottom:20px;display:block}
.bora-video-reviews .bora-vr-name,.bora-video-reviews .bora-vr-project{display:block}
.bora-video-reviews .bora-vr-name{font-size:18px}.bora-video-reviews .bora-vr-project{margin-top:6px;font-size:13px}
.bora-video-reviews .bora-vr-modal{z-index:1000001}
@media(max-width:1024px){.bora-video-reviews .bora-vr-card{flex-basis:calc((100% - 16px)/2);height:410px}}
@media(max-width:767px){.bora-video-reviews .bora-vr-head{align-items:center;margin-bottom:20px}.bora-video-reviews .bora-vr-nav{display:none}.bora-video-reviews .bora-vr-track{gap:12px}.bora-video-reviews .bora-vr-card{flex-basis:82%;height:430px}.bora-video-reviews .bora-vr-modal{padding:58px 10px 68px}}
@media(max-width:480px){.bora-video-reviews .bora-vr-card{flex-basis:88%;height:390px}.bora-video-reviews .bora-vr-name{font-size:16px}.bora-video-reviews .bora-vr-project{font-size:12px}}


/* v1.3.6 — Design / Guarantees + Mistakes block redesign */
.bora-design-guarantees-editorial{background:#fff!important}
.bora-design-guarantees-stack{display:grid;gap:16px}
.bora-design-guarantee-panel{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:0;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  overflow:hidden;
  background:#fff;
  min-height:440px;
}
.bora-design-guarantee-panel--mistakes{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr)}
.bora-design-guarantee-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px 42px 42px 46px;
  background:#fff;
}
.bora-design-guarantee-eyebrow{
  width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:22px;border:1px solid rgba(201,169,110,.34);border-radius:999px;
  color:var(--gold-dark);font:600 13px/1 Manrope,sans-serif;letter-spacing:.08em;
}
.bora-design-guarantee-title{margin:0 0 22px!important;max-width:520px;font-size:clamp(38px,3vw,58px);line-height:1.02}
.bora-design-guarantee-list{gap:14px!important;max-width:560px}
.bora-design-guarantee-list li{font-size:16px!important;line-height:1.65!important}
.bora-design-guarantee-media-shell{
  position:relative;display:flex;align-items:center;justify-content:center;
  min-height:100%;padding:28px;background:linear-gradient(180deg,#FBFAF7 0%,#F4F1EB 100%);
}
.bora-design-guarantee-media-shell:before{
  content:'';position:absolute;inset:0 auto 0 0;width:120px;
  background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.7) 52%,rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.bora-design-guarantee-panel--mistakes .bora-design-guarantee-media-shell:before{
  inset:0 0 0 auto;
  background:linear-gradient(270deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.7) 52%,rgba(255,255,255,0) 100%);
}
.bora-design-guarantee-media-note{
  position:absolute;top:24px;left:24px;z-index:2;padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.86);border:1px solid rgba(201,169,110,.18);
  color:#8E7A55;font:600 11px/1.2 Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;
}
.bora-design-guarantee-panel--mistakes .bora-design-guarantee-media-note{left:auto;right:24px}
.bora-design-guarantee-media{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:380px;border-radius:18px;overflow:hidden;background:#fff;border:1px solid rgba(26,25,23,.06);box-shadow:0 20px 40px rgba(26,25,23,.06)}
.bora-design-guarantee-media img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;background:#F3F2EF}
@media(max-width:991px){
  .bora-design-guarantee-panel,.bora-design-guarantee-panel--mistakes{grid-template-columns:1fr}
  .bora-design-guarantee-copy{padding:34px 28px}
  .bora-design-guarantee-media-shell{padding:22px}
  .bora-design-guarantee-media{min-height:320px}
  .bora-design-guarantee-media-shell:before,.bora-design-guarantee-panel--mistakes .bora-design-guarantee-media-shell:before{display:none}
  .bora-design-guarantee-panel--mistakes .bora-design-guarantee-media-shell{order:-1}
}
@media(max-width:640px){
  .bora-design-guarantees-stack{gap:12px}
  .bora-design-guarantee-copy{padding:26px 18px 24px}
  .bora-design-guarantee-title{font-size:37px}
  .bora-design-guarantee-list li{font-size:14px!important}
  .bora-design-guarantee-eyebrow{width:42px;height:42px;margin-bottom:16px;font-size:12px}
  .bora-design-guarantee-media-shell{padding:14px}
  .bora-design-guarantee-media-note{top:14px;left:14px;padding:7px 10px;font-size:10px}
  .bora-design-guarantee-panel--mistakes .bora-design-guarantee-media-note{right:14px;left:auto}
  .bora-design-guarantee-media{min-height:240px;border-radius:14px}
}


/* =========================================================
   v1.3.8 — Contacts final image + left white transparency
========================================================= */
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo{
  position:relative!important;
  overflow:hidden!important;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  inset:0 auto 0 0!important;
  width:52%!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,
    #FFFFFF 0%,
    rgba(255,255,255,.96) 10%,
    rgba(255,255,255,.76) 22%,
    rgba(255,255,255,.38) 34%,
    rgba(255,255,255,0) 100%)!important;
}
body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo img{
  object-position:50% 50%!important;
}
@media(max-width:767px){
  body.bvb-managed-page [data-bvb-block="contacts:blok-6"] .bora-contact-final-photo::after{
    width:34%!important;
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.7) 34%,rgba(255,255,255,0) 100%)!important;
  }
}


/* =========================================================
   v1.8.1 — Cases hero: lighter image height
   Only the Cases hero is affected.
========================================================= */
[data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-grid{
  min-height:500px!important;
  align-items:stretch!important;
}

[data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-photo{
  height:500px!important;
  min-height:500px!important;
  max-height:500px!important;
  align-self:start!important;
}

[data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-photo>img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}

@media(max-width:1280px) and (min-width:1025px){
  [data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-grid{
    min-height:470px!important;
  }

  [data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-photo{
    height:470px!important;
    min-height:470px!important;
    max-height:470px!important;
  }
}

@media(max-width:1024px){
  [data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-grid{
    min-height:0!important;
  }

  [data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-photo{
    height:430px!important;
    min-height:430px!important;
    max-height:430px!important;
  }
}

@media(max-width:767px){
  [data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-photo{
    height:360px!important;
    min-height:360px!important;
    max-height:360px!important;
  }
}

@media(max-width:430px){
  [data-bvb-block="cases:realnye-proekty-bora-pod-kontrolem-dmitriya"] .hero-photo{
    height:320px!important;
    min-height:320px!important;
    max-height:320px!important;
  }
}


/* =========================================================
   v1.8.8 — Acceptance process: editable step icons 1–5
========================================================= */
[data-bvb-block="acceptance:zayavka"] .bora-acceptance-step-icon{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  margin:0 auto 14px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  color:inherit!important;
  font-family:inherit!important;
  overflow:visible!important;
}

[data-bvb-block="acceptance:zayavka"] .bora-acceptance-step-icon img{
  width:44px!important;
  height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  margin:0!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Arrow is optically aligned to the centre of the 44px icon. */
[data-bvb-block="acceptance:zayavka"] .accept-process-arrows .card:not(:last-child)::after{
  top:13px!important;
}

/* When Icon Manager controls a custom slot/size, its generated inline rules win. */
[data-bvb-block="acceptance:zayavka"] .bora-acceptance-step-icon img[data-bvb-icon-managed="1"]{
  max-width:none!important;
  max-height:none!important;
}

@media(max-width:1024px){
  [data-bvb-block="acceptance:zayavka"] .bora-acceptance-step-icon{
    margin-bottom:12px!important;
  }
}

@media(max-width:480px){
  [data-bvb-block="acceptance:zayavka"] .bora-acceptance-step-icon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    margin:0 0 12px!important;
  }
  [data-bvb-block="acceptance:zayavka"] .bora-acceptance-step-icon img{
    width:42px!important;
    height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
  }
}


/* v1.8.14 — design page: deadlines CTA placement and economics layout */
.bora-design-deadlines-copy{display:flex;flex-direction:column;align-items:flex-start}
.bora-design-deadlines-action{margin-top:28px}
.bora-design-deadlines-action .btn{min-width:290px;justify-content:center}

.bora-design-economics-grid{display:grid;grid-template-columns:minmax(240px,1.15fr) repeat(3,minmax(180px,1fr));gap:12px;align-items:stretch}
.bora-design-economics-intro,
.bora-design-economics-grid .metric{border:1px solid var(--line);border-radius:var(--radius-card);background:#fff;min-height:124px}
.bora-design-economics-intro{display:flex;flex-direction:column;justify-content:center;padding:20px 22px;background:linear-gradient(135deg,#FEFBF6 0%,#FCF6EA 100%);border-color:#E9D6AF}
.bora-design-economics-title{margin:0;font-size:clamp(22px,2.1vw,34px);line-height:1.05}
.bora-design-economics-title span{display:inline-block}
.bora-design-economics-desc{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.bora-design-economics-grid .metric{display:flex;flex-direction:column;justify-content:center;padding:20px 18px;background:#fff8ed;border-color:#E9D6AF;text-align:left}
.bora-design-economics-grid .metric strong{display:block;margin:0 0 8px;font-size:clamp(22px,2.2vw,26px);line-height:1.05;font-family:var(--font-display);font-weight:500;color:var(--ink)}
.bora-design-economics-grid .metric small{display:block;font-size:14px;line-height:1.45;color:var(--muted)}

@media(min-width:768px){
  .bora-design-deadlines-corrected .price-table{max-width:620px}
}
@media(max-width:1024px){
  .bora-design-economics-grid{grid-template-columns:1fr 1fr}
  .bora-design-economics-intro{grid-column:1/-1}
}
@media(max-width:767px){
  .bora-design-deadlines-action{margin-top:20px;width:100%}
  .bora-design-deadlines-action .btn{width:100%;min-width:0}
  .bora-design-economics-grid{grid-template-columns:1fr}
  .bora-design-economics-intro,
  .bora-design-economics-grid .metric{min-height:0}
}


/* =========================================================
   v1.8.17 — Renovation page polish
========================================================= */
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .quality-panel{
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)!important;
  align-items:stretch!important;
}
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .quality-copy{
  padding:34px 34px 28px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .quality-copy h2{
  white-space:nowrap!important;
  font-size:clamp(30px,2.5vw,44px)!important;
  margin-bottom:10px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .quality-copy>p{
  margin-top:0!important;
  margin-bottom:18px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .bora-quality-check-grid{
  gap:8px 22px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .bora-quality-media{
  min-height:420px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .bora-quality-media img{
  object-position:center bottom!important;
}

body.bvb-managed-page [data-bvb-block="renovation:onlayn-kontrol-remonta-v-realnom-vremeni"] .bora-phone-video-inner{
  padding:46px 44px!important;
  gap:52px!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,.86fr)!important;
}
body.bvb-managed-page [data-bvb-block="renovation:onlayn-kontrol-remonta-v-realnom-vremeni"] .bora-online-control-content{
  max-width:640px!important;
  justify-self:start!important;
}
body.bvb-managed-page [data-bvb-block="renovation:onlayn-kontrol-remonta-v-realnom-vremeni"] .bora-block-label{
  margin-bottom:12px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:onlayn-kontrol-remonta-v-realnom-vremeni"] .bora-phone-video-points{
  grid-template-columns:1fr!important;
  max-width:560px!important;
}

body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .remont-gift-highlight{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:18px 16px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .remont-gift-copy{
  flex:1 1 420px!important;
  color:#534F48!important;
}
body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .remont-gift-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex:0 0 auto!important;
}
body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .channel{
  flex:0 0 auto!important;
  min-width:116px!important;
  height:50px!important;
  min-height:50px!important;
  padding:0 16px!important;
  background:#fff!important;
  white-space:nowrap!important;
}
body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .channel span{
  white-space:nowrap!important;
}

body.bvb-managed-page [data-bvb-block="renovation:proverka-smety"] .form{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
body.bvb-managed-page [data-bvb-block="renovation:proverka-smety"] .form input{
  width:100%!important;
}

body.bvb-managed-page [data-bvb-block="renovation:otzyvy-nashih-klientov-s-drugih-ploschadok"] .review-platform-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

@media (max-width: 1024px){
  body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .quality-panel{
    grid-template-columns:1fr!important;
  }
  body.bvb-managed-page [data-bvb-block="renovation:kak-my-kontroliruem-kachestvo"] .quality-copy h2{
    white-space:normal!important;
  }
  body.bvb-managed-page [data-bvb-block="renovation:onlayn-kontrol-remonta-v-realnom-vremeni"] .bora-phone-video-inner{
    grid-template-columns:1fr 290px!important;
    padding:42px 32px!important;
    gap:30px!important;
  }
}
@media (max-width: 767px){
  body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .remont-gift-highlight{
    align-items:flex-start!important;
  }
  body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .remont-gift-actions{
    width:100%!important;
    justify-content:flex-start!important;
  }
  body.bvb-managed-page [data-bvb-block="renovation:blok-11"] .channel{
    min-width:132px!important;
  }
  body.bvb-managed-page [data-bvb-block="renovation:otzyvy-nashih-klientov-s-drugih-ploschadok"] .review-platform-grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v1.8.18 — Acceptance facts + included inspection photo
========================================================= */
body.bvb-managed-page [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-inspector-media{
  min-height:430px!important;
}
body.bvb-managed-page [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-inspector-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
body.bvb-managed-page [data-bvb-block="acceptance:blok-3"] .feature strong{
  white-space:normal!important;
}
@media(max-width:767px){
  body.bvb-managed-page [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-inspector-media{
    min-height:300px!important;
  }
}


/* =========================================================
   v1.8.20 — Acceptance / Наши услуги supplied images
========================================================= */
body.bvb-managed-page [data-bvb-block="acceptance:priemka-kvartiry"] .accept-service .media{
  height:156px!important;
  background:#F5F1EB!important;
}
body.bvb-managed-page [data-bvb-block="acceptance:priemka-kvartiry"] .accept-service .media>img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
@media(max-width:767px){
  body.bvb-managed-page [data-bvb-block="acceptance:priemka-kvartiry"] .accept-service .media{
    height:190px!important;
  }
}


/* =========================================================
   v1.8.22 — Acceptance / Кейсы по ЖК Москвы supplied images
========================================================= */
body.bvb-managed-page [data-bvb-block="acceptance:zhk-ostrov"] .portfolio-grid{
  align-items:stretch!important;
}
body.bvb-managed-page [data-bvb-block="acceptance:zhk-ostrov"] .project-card .media{
  height:250px!important;
  overflow:hidden!important;
  background:#F3F1ED!important;
}
body.bvb-managed-page [data-bvb-block="acceptance:zhk-ostrov"] .project-card .media img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
}
@media(max-width:1024px){
  body.bvb-managed-page [data-bvb-block="acceptance:zhk-ostrov"] .project-card .media{
    height:230px!important;
  }
}
@media(max-width:480px){
  body.bvb-managed-page [data-bvb-block="acceptance:zhk-ostrov"] .project-card .media{
    height:220px!important;
  }
}


/* =========================================================
   v1.8.23 — Acceptance / Что входит в приёмку
   - image height follows the checklist text block
   - soft left gradient overlay restored
========================================================= */
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-layout{
  align-items:stretch!important;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-copy{
  align-items:stretch!important;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-included-list{
  align-self:stretch!important;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border-radius:var(--radius-img)!important;
  overflow:hidden!important;
  background:var(--soft2)!important;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,
    rgba(243,241,237,0.98) 0%,
    rgba(243,241,237,0.88) 8%,
    rgba(243,241,237,0.42) 20%,
    rgba(243,241,237,0.10) 32%,
    rgba(243,241,237,0.00) 42%);
  pointer-events:none;
  z-index:2;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .bora-acceptance-inspector-media:before{
  display:block!important;
}
[data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:var(--radius-img)!important;
}
@media(max-width:1024px){
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery{
    min-height:340px!important;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
    min-height:340px!important;
  }
}
@media(max-width:767px){
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery{
    min-height:280px!important;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery img{
    min-height:280px!important;
  }
  [data-bvb-block="acceptance:chto-vhodit-v-priemku"] .accept-included-gallery::before{
    background:linear-gradient(180deg,
      rgba(243,241,237,0.30) 0%,
      rgba(243,241,237,0.10) 16%,
      rgba(243,241,237,0.00) 34%);
  }
}
