.brg-calculator{
  width:100%;
  box-sizing:border-box;
  display:block;
  max-width:800px;
  margin:0 auto !important;
  float:none;
  clear:both;
  align-self:center;
  padding:82px 42px 38px;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  background:linear-gradient(90deg,#12212c 0%,#0f1c25 55%,#132731 100%);
  box-shadow:
    0 18px 55px rgba(8,16,24,.16),
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 26px 48px rgba(255,255,255,.02),
    inset 0 -26px 48px rgba(0,0,0,.08);
  color:#fff;
  text-align:center;
}
.brg-calculator::before,
.brg-calculator::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
.brg-calculator::before{
  border-radius:16px;
  box-shadow:inset 0 0 60px rgba(255,255,255,.025);
}
.brg-calculator::after{
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.025) 0%,rgba(255,255,255,0) 18%,rgba(0,0,0,0) 82%,rgba(0,0,0,.08) 100%);
}
.brg-progress{max-width:640px;margin:0 auto 28px;position:relative;z-index:1}
.brg-progress-bar{height:8px;background:rgba(255,255,255,.12);border-radius:999px;overflow:hidden;margin-bottom:8px}
.brg-progress-bar span{display:block;height:100%;background:#d39b2f;border-radius:999px}
.brg-progress small{color:rgba(255,255,255,.75)}
.brg-form,.brg-result,.brg-powered{position:relative;z-index:1}
.brg-step,.brg-result{max-width:560px;margin:0 auto}
.brg-step h3,.brg-result h3{font-size:34px;line-height:1.3;margin:0 0 34px;font-weight:800}
.brg-subtitle{margin:0 0 30px;color:rgba(255,255,255,.82);font-size:18px}
.brg-field{margin:0 auto 30px;text-align:center}
.brg-label{display:block;font-weight:800;font-size:22px;line-height:1.35;margin:0 0 16px;color:#fff}
.brg-field input[type=text],
.brg-field input[type=email],
.brg-field input[type=tel],
.brg-field input[type=number],
.brg-field select{
  width:100%;
  padding:0 24px;
  height:88px;
  border:1px solid rgba(255,255,255,.05);
  border-radius:10px;
  font-size:20px;
  background:rgba(95,106,112,.95);
  color:#fff;
  box-sizing:border-box;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.brg-field input:focus,
.brg-field select:focus{
  border-color:rgba(211,155,47,.7);
  box-shadow:0 0 0 4px rgba(211,155,47,.12);
  background:rgba(103,114,120,.98);
}
.brg-field input::placeholder{color:rgba(255,255,255,.72)}
.brg-field select{
  background-color:rgba(95,106,112,.95);
  color:#ffffff;
  border-color:rgba(255,255,255,.05);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12' fill='none'%3E%3Cpath d='M1.5 1.5L9 9L16.5 1.5' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 24px center;
  padding-right:64px
}
.brg-field select option{background:#fff;color:#111}
.brg-field select option[disabled][hidden]{display:none}
.brg-field select option[disabled]{color:#111;background:#fff}
.brg-navigation{display:flex;justify-content:center;gap:16px;margin-top:18px}
.brg-navigation button,.brg-cta{
  display:inline-flex;justify-content:center;align-items:center;min-height:60px;padding:0 42px;border-radius:8px;text-decoration:none;border:1px solid #d39b2f;background:rgba(211,155,47,.17);color:#d39b2f;font-weight:500;font-size:18px;cursor:pointer;transition:.2s ease
}
.brg-navigation button:hover,.brg-cta:hover{background:#d39b2f;color:#0f1c25}
.brg-navigation .brg-back{background:transparent;color:#fff;border-color:rgba(255,255,255,.22)}
.brg-navigation .brg-back:hover{background:rgba(255,255,255,.08);color:#fff}
.brg-price{font-size:54px;font-weight:800;margin:12px 0 18px;color:#fff}
.brg-success{color:rgba(255,255,255,.86);font-size:18px}
.brg-error{margin-top:10px;color:#ffd7d7;font-size:14px;text-align:center;line-height:1.45}
.brg-invalid{border-color:#ffb7b7 !important;box-shadow:0 0 0 4px rgba(255,90,90,.14) !important}
.brg-cta{margin-top:18px}
.brg-type-checkbox{text-align:left;max-width:640px}
.brg-checkbox{display:flex;gap:8px;align-items:flex-start;justify-content:flex-start;font-size:12px;line-height:1.45;color:rgba(255,255,255,.78);text-align:left}
.brg-checkbox input{width:14px;height:14px;margin-top:1px;accent-color:#d39b2f;flex:0 0 auto}
.brg-checkbox span{display:block}
.brg-type-checkbox .brg-label{display:none}
.brg-powered{
  display:flex;
  justify-content:center;
  margin:28px auto 0;
  padding-top:16px;
  padding-bottom:0;
}
.brg-powered img{
  width:auto;
  max-width:min(100%, 420px);
  height:160px;
  opacity:.82;
  filter:brightness(1.08);
}
.brg-result .brg-cta{margin-bottom:18px}
.brg-result{padding-bottom:12px}
@media (max-width:1024px){
  .brg-calculator{max-width:760px;padding:66px 30px 32px;margin-left:auto;margin-right:auto}
}

@media (max-width:820px){
  .brg-calculator{max-width:100%;padding:44px 16px 26px;border-radius:14px;margin-left:auto;margin-right:auto}
  .brg-calculator::before,.brg-calculator::after{border-radius:12px}
  .brg-step h3,.brg-result h3{font-size:28px;margin-bottom:24px}
  .brg-label{font-size:18px}
  .brg-field input[type=text],
  .brg-field input[type=email],
  .brg-field input[type=tel],
  .brg-field input[type=number],
  .brg-field select{height:74px;font-size:18px;padding:0 18px}
  .brg-field select{padding-right:56px;background-position:right 18px center}
  .brg-navigation{flex-direction:column}
  .brg-navigation>*{width:100%}
  .brg-price{font-size:40px}
  .brg-powered img{height:72px;max-width:260px}
}