:root{
  --brenta-container-max: 1344px;
}

.brenta-container{
  width: min(94vw, var(--brenta-container-max)) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 1100px){
  .brenta-container{
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }
}

/* =========================
   B-Renta: FINAL FIXES (site-wide)
   paste at the very end of Additional CSS / custom.css
   ========================= */

/* Единый отступ заголовков секций (как у тебя было, но расширено на WHY/FORM) */
#brenta-directions-luxe .brenta-dirL__head,
#brenta-how-clean .br-howC__head,
#brenta-why .brenta-why__head,
#brenta-contact .br-form__head{
  padding-left: 12px !important;
}
@media (max-width: 640px){
  #brenta-directions-luxe .brenta-dirL__head,
  #brenta-how-clean .br-howC__head,
  #brenta-why .brenta-why__head,
  #brenta-contact .br-form__head{
    padding-left: 8px !important;
  }
}

/* HERO: оставляем только итоговые фиксы (снимаем “вуаль”, возвращаем контраст) */
#brenta-hero .br-glass::before{ opacity: .32 !important; }
#brenta-hero .brenta-hero__title{ color: rgba(11,27,51,.98) !important; }

/* Акцент заголовка без клипа/градиента (как у тебя в финале) */
#brenta-hero .brenta-hero__titleAccent{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: rgba(47,93,154,1) !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Primary button HERO: финальный стиль */
#brenta-hero .br-btn--primary{
  border-color: rgba(47,93,154,.28) !important;
  color: rgba(11,27,51,.95) !important;
  background: linear-gradient(135deg, rgba(47,93,154,.26), rgba(74,168,185,.22)) !important;
  box-shadow: 0 14px 28px rgba(11,27,51,.10) !important;
  position: relative;
  overflow: hidden;
}
#brenta-hero .br-btn--primary::after{
  content:"";
  position:absolute;
  inset: 1px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events:none;
  opacity: .65;
}
#brenta-hero .br-btn--primary:hover{
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(47,93,154,.38), rgba(74,168,185,.32)) !important;
  box-shadow: 0 18px 36px rgba(11,27,51,.12) !important;
}

/* HOW: фикс Safari/Tilda “роста карточек” (у тебя был — оставляем) */
#brenta-how-clean .br-howC__grid{
  align-items: start !important;
  margin-bottom: 18px !important;
}
#brenta-how-clean .br-howC__item{
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
}
#brenta-how-clean .br-howC__pill{ margin-top: 10px !important; }
#brenta-how-clean .br-howC__item:hover{ transform: none !important; }

/* Footer full width (как у тебя) */
#brenta-footer{
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
html, body{ overflow-x: hidden; }


/* скрываем тильдовский блок, но оставляем в DOM для работы формы */
#rec1890382721{
  position: absolute !important;
  left: -99999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
