

/* Start:/bitrix/templates/mn/components/bitrix/form.result.new/contact/style.css?177496622910113*/
.cp-contact-form{
  border:1px solid var(--tg-border-1);
  background:linear-gradient(140deg, #222325 0%, rgba(21, 21, 21, 0) 100%);
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  border-radius:10px;
  padding:34px;
  color:#fff;
}

.cp-contact-form__head{
  margin-bottom:28px;
}

.cp-contact-form__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(253,224,71,.9);
  font-weight:700;
}

.cp-contact-form__title{
  margin:14px 0 0;
  font-size:40px;
  line-height:1.08;
  font-weight:700;
  color:#fff;
}

.cp-contact-form__lead{
  margin:16px 0 0;
  font-size:16px;
  line-height:1.75;
  color:rgba(255,255,255,.68);
}

.cp-contact-form__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.cp-contact-form__field{
  display:grid;
  gap:10px;
}

.cp-contact-form__field--wide{
  grid-column:1 / -1;
}

.cp-contact-form__label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:16px;
  line-height:1.4;
  font-weight:600;
  color:#fff;
}

.cp-contact-form__required{
  color:#fde047;
}

.cp-contact-form__control-wrap{
  position:relative;
  display:block;
}

.cp-contact-form__control{
  width:100%;
  min-height:54px;
  padding:0 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgb(28 28 30);
  color:#fff;
  font-size:16px;
  line-height:1.5;
  box-sizing:border-box;
  outline:none;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.cp-contact-form__control::placeholder{
  color:rgba(255,255,255,.42);
  font-size:14px;
}

.cp-contact-form__control:focus{
  border-color:rgba(253,224,71,.55);
  background:rgba(255,255,255,.06);
  box-shadow:0 0 0 4px rgba(253,224,71,.08);
}

.cp-contact-form__control--textarea{
  min-height:160px;
  padding:16px;
  resize:vertical;
}

.cp-contact-form__control--select{
  appearance:none;
}

.cp-contact-form__field--contact .cp-contact-form__control{
  padding-right:210px;
}

.cp-contact-form__hint{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:6px;
  z-index:2;
}

.cp-contact-form__hint-item{
  width:24px;
  height:24px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:help;
}

.cp-contact-form__hint-item img{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}

.cp-contact-form__hint-item::after{
  content:attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 8px);
  transform:translateX(-50%) translateY(6px);
  padding:6px 8px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(18,18,18,.96);
  color:#fff;
  font-size:11px;
  line-height:1.2;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events:none;
  z-index:5;
}

.cp-contact-form__hint-item::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:calc(100% + 2px);
  width:8px;
  height:8px;
  background:rgba(18,18,18,.96);
  border-left:1px solid rgba(255,255,255,.12);
  border-top:1px solid rgba(255,255,255,.12);
  transform:translateX(-50%) rotate(45deg);
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease;
  pointer-events:none;
  z-index:5;
}

.cp-contact-form__hint-item:hover::after,
.cp-contact-form__hint-item:hover::before,
.cp-contact-form__hint-item:focus::after,
.cp-contact-form__hint-item:focus::before{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.cp-contact-form__field--has-error .cp-contact-form__control{
  border-color:rgba(248,113,113,.45);
  background:rgba(127,29,29,.10);
  box-shadow:0 0 0 4px rgba(248,113,113,.08);
}

.cp-contact-form__field--has-error .cp-contact-form__control:focus{
  border-color:rgba(248,113,113,.6);
  box-shadow:0 0 0 4px rgba(248,113,113,.12);
}

.cp-contact-form__field--has-error .cp-contact-form__control{
  padding-right:56px;
}

.cp-contact-form__field--wide.cp-contact-form__field--has-error .cp-contact-form__control--textarea{
  padding-right:52px;
}

.cp-contact-form__field--contact.cp-contact-form__field--has-error .cp-contact-form__control{
  padding-right:248px;
}

.cp-contact-form__error-badge{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(239,68,68,.16);
  border:1px solid rgba(248,113,113,.45);
  color:#fca5a5;
  font-size:14px;
  font-weight:700;
  line-height:1;
  cursor:help;
  z-index:3;
}

.cp-contact-form__field--wide .cp-contact-form__error-badge{
  top:16px;
  transform:none;
}

.cp-contact-form__field--contact .cp-contact-form__error-badge{
  right:222px;
}

.cp-contact-form__error-tooltip{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:180px;
  max-width:260px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(248,113,113,.35);
  background:rgba(24,10,10,.96);
  color:#fecaca;
  font-size:12px;
  line-height:1.45;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:4;
}

.cp-contact-form__error-tooltip::before{
  content:"";
  position:absolute;
  top:-6px;
  right:18px;
  width:10px;
  height:10px;
  background:rgba(24,10,10,.96);
  border-left:1px solid rgba(248,113,113,.35);
  border-top:1px solid rgba(248,113,113,.35);
  transform:rotate(45deg);
}

.cp-contact-form__error-badge:hover + .cp-contact-form__error-tooltip,
.cp-contact-form__error-badge:focus + .cp-contact-form__error-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.cp-contact-form__captcha{
  display:grid;
  gap:14px;
}

.cp-contact-form__captcha-image{
  display:block;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
}

.cp-contact-form__consent{
  margin-top:20px;
}

.cp-contact-form__consent-label{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:flex-start;
  cursor:pointer;
}

.cp-contact-form__consent-checkbox{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.cp-contact-form__consent-box{
  position:relative;
  width:22px;
  height:22px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
  margin-top:2px;
}

.cp-contact-form__consent-box::after{
  content:"";
  position:absolute;
  left:7px;
  top:3px;
  width:6px;
  height:11px;
  border-right:2px solid #151515;
  border-bottom:2px solid #151515;
  transform:rotate(45deg) scale(0);
  transform-origin:center;
  transition:transform .2s ease;
}

.cp-contact-form__consent-checkbox:checked + .cp-contact-form__consent-box{
  border-color:rgba(253,224,71,.55);
  background:linear-gradient(90deg, #fde047 0%, #f59e0b 55%, #f97316 100%);
  box-shadow:0 0 0 4px rgba(253,224,71,.08);
}

.cp-contact-form__consent-checkbox:checked + .cp-contact-form__consent-box::after{
  transform:rotate(45deg) scale(1);
}

.cp-contact-form__consent-checkbox:focus-visible + .cp-contact-form__consent-box{
  box-shadow:0 0 0 4px rgba(253,224,71,.12);
}

.cp-contact-form__consent-text{
  font-size:13px;
  line-height:1.65;
  color:rgba(255,255,255,.74);
}

.cp-contact-form__consent-text a{
  color:#fde047;
  text-decoration:none;
}

.cp-contact-form__consent-text a:hover{
  text-decoration:underline;
}

.cp-contact-form__consent-error{
  margin-top:10px;
  padding-left:34px;
  font-size:12px;
  line-height:1.5;
  color:#fecaca;
}

.cp-contact-form__consent--has-error .cp-contact-form__consent-box{
  border-color:rgba(248,113,113,.5);
  background:rgba(127,29,29,.12);
  box-shadow:0 0 0 4px rgba(248,113,113,.08);
}

.cp-contact-form__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:28px;
}

.cp-contact-form__meta{
  font-size:13px;
  line-height:1.5;
  color:rgba(255,255,255,.5);
}

.cp-contact-form__submit{
  min-width:220px;
  min-height:54px;
  padding:0 26px;
  border:none;
  border-radius:999px;
  cursor:pointer;
  font-size:16px;
  font-weight:600;
  color:#151515;
  text-transform:uppercase;
  background:linear-gradient(90deg, #fde047 0%, #f59e0b 55%, #f97316 100%);
  transition:transform .2s ease, filter .2s ease;
}

.cp-contact-form__submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  color:#000;
}

.cp-contact-form__submit[disabled]{
  opacity:.5;
  cursor:not-allowed;
  transform:none;
}

.cp-contact-form__success{
  display:grid;
  gap:14px;
}

.cp-contact-form__success-icon{
  width:54px;
  height:54px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:700;
  color:#151515;
  background:linear-gradient(90deg, #fde047 0%, #f59e0b 55%, #f97316 100%);
}

.cp-contact-form__success-title{
  font-size:28px;
  line-height:1.15;
  font-weight:700;
  color:#fff;
}

.cp-contact-form__success-text{
  font-size:16px;
  line-height:1.7;
  color:rgba(255,255,255,.72);
}

@media (max-width:767px){
  .cp-contact-form{
    padding:20px;
  }

  .cp-contact-form__title{
    font-size:30px;
  }

  .cp-contact-form__grid{
    grid-template-columns:1fr;
  }

  .cp-contact-form__footer{
    flex-direction:column;
    align-items:stretch;
  }

  .cp-contact-form__submit{
    width:100%;
  }

  .cp-contact-form__field--contact .cp-contact-form__control{
    padding-right:180px;
  }

  .cp-contact-form__field--contact.cp-contact-form__field--has-error .cp-contact-form__control{
    padding-right:214px;
  }

  .cp-contact-form__field--contact .cp-contact-form__error-badge{
    right:186px;
  }

  .cp-contact-form__hint{
    right:12px;
    gap:4px;
  }

  .cp-contact-form__hint-item,
  .cp-contact-form__hint-item img{
    width:22px;
    height:22px;
  }
}

/* End */
/* /bitrix/templates/mn/components/bitrix/form.result.new/contact/style.css?177496622910113 */
