@font-face {
    font-family: "PT Astra Fact";
    src: url("./fonts/PTAstraFact-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: "PT Astra Fact";
    src: url("./fonts/PTAstraFact-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
  }

  
:root {
  
    --accent-900: #004779;
    --accent-700: #0578B1;
    --accent-600: #008DD4;
    --accent-500: #21A8DE;
    --accent-400: #57C7FF;
    --neutral-900: #0B0C0E;
    --neutral-700: #3D404E;
    --neutral-600: #53596B;
    --neutral-400: #8F97AA;
    --neutral-50: #F1F3F9;

    font-family: "PT Astra Fact", "Arial", "Verdana", sans-serif !important;
  }

  h4{
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
  }

  h5{
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
  }

  .text-xlarge{
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: var(--neutral-900);
    margin: 0;
  }

  .text-large{
    font-size: 17px;
    line-height: 26px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
  }

  .text-regular{
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
    color: var(--neutral-900);
    margin: 0;
  }

  .text-small{
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    color: var(--neutral-900);
    margin: 0;
  }

  .text-xsmall{
    font-size: 11px;
    line-height: 18px;
    font-weight: 400;
    color: var(--neutral-700);
    margin: 0;
  }

  .white{
    color: #fff;
  }

  .gray{
    color: var(--neutral-600);
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    background-color: #28334E; 
  }
  
  .conf-container {
    width: 1400px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
  }

  .desktop{
    display: block;
  }

  .mobile{
    display: none;
  }

  .section-header {
    background-color: #fff;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .section-body .conf-container{
    padding: 40px;
  }
  .section-body__block{
    width: 870px;
    background-color: #fff;
    border-radius: 24px;
    box-sizing: border-box;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 40px;
  }

  .section-body__block__header{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
.section-body__block__details{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
  .section-body__block__details img{
    min-width: 288px;
  }
  .section-body__block__date{
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    border-radius: 20px;
    border: 2px solid var(--neutral-900);
    flex-grow: 1;
    flex: 0;
  }
  .section-body__block__reg{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
  }
  .section-body__block__reg__title{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .section-body__block__comment{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .label{
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 4px 12px;
    background-color: transparent;
    border: 1px solid var(--neutral-600);
    border-radius: 8px;
  }
  .label .text-small, .label .text-xsmall{
    color: var(--neutral-700);
  }

  .section-footer .conf-container{
    padding: 0 40px;
  }

  .section-footer__block{
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 24px 24px 0 0;
    padding: 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 40px;
  }

  .section-footer__block__info{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .section-footer__block__info img{
    width: 242px;
    height: auto;
    min-width: 242px;
  }

  .section-footer__block__contacts{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    position: relative;
    background-color: var(--neutral-50);
    border-radius: 16px;
    padding: 32px 40px;
    box-sizing: border-box;
  }
.section-footer__block__contacts__desc{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    align-items: flex-start;
}
.section-footer__block__contacts__item:first-child{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 186px;
}
.section-footer__block__contacts__item:last-child{
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.section-footer__block__contacts__item a{
    color: var(--accent-600);
    transition: all ease 0.3s;
}
.section-footer__block__contacts__item a:hover{
    color: var(--accent-700);
}
.section-footer__block__contacts__item a:active{
    color: var(--accent-900);
}
.section-footer__block__bottom{
    width: 100%;
    box-sizing: border-box;
    padding-top: 40px;
    border-top: 1px solid var(--neutral-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-footer__block__policy{
    display: flex;
    align-items: center;
    gap: 40px;
}

.section-footer__block__policy a{
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: var(--neutral-600);
    transition: all ease 0.3s;
}
.section-footer__block__policy a:hover{
    color: var(--neutral-800);
}
.section-footer__block__policy a:active{
    color: var(--neutral-900);
}

form {
    width: 100%;
    position: relative;
}
  .form-row {
    width: 100%;
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
  }

  .form-group {
    position: relative;
    flex: 1;
  }

  .form-input {
    width: 100%;
    padding: 30px 16px 16px 16px;
    border: 1px solid var(--neutral-400);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: transparent;
    box-sizing: border-box;
    height: 60px;
    color: var(--neutral-900);
  }

  .form-input:focus {
    outline: none;
    border-color: var(--accent-500);
  }

  .form-label {
    position: absolute;
    left: 16px;
    top: 22px;
    color: var(--neutral-700);
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0 4px;
  }

  .form-input:focus + .form-label,
  .form-input:not(:placeholder-shown) + .form-label {
    top: 10px;
    font-size: 11px;
  }

  .checkbox-group {
    margin-top: 32px;
  }
  .checkbox-group:last-of-type {
    margin-top: 12px;
  }

  .custom-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 15px;
    line-height: 25px;
    color: var(--neutral-900);
  }

  .custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .checkmark {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid var(--neutral-400);
    border-radius: 6px;
    margin-right: 12px;
    margin-top: 6px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
  }

  .custom-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-500);
    border-color: var(--accent-500);
  }

  .custom-checkbox input[type="checkbox"]:hover + .checkmark {
    border-color: var(--accent-500);
  }

  .custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .checkbox-text {
    margin-top: 3px;
  }
  .checkbox-text a {
    color: var(--neutral-900);
    text-decoration: underline;
    transition: all ease 0.3s;
  }
  .checkbox-text a:hover {
    color: var(--neutral-600);
  }
  .btn {
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--accent-500);
    border-radius: 12px;
    height: 60px;
    box-sizing: border-box;
    padding: 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    transition: all ease 0.3s;
  }
  .btn_icon{
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 7px;
    
  }
  .btn_icon svg{
    transition: all ease 0.3s;
  }
  .btn_icon svg path{
    stroke: var(--accent-500);
    transition: all ease 0.3s;
  }
  .btn:hover {
    background-color: var(--accent-700);
  }
  .btn:hover svg, .btn:active svg{
    transform: rotate(45deg);
  }
  .btn:active {
    background-color: var(--accent-900);
  }
  .btn:hover svg path {
    stroke: var(--accent-700);
  }
  .btn:active svg path {
    stroke: var(--accent-900);
  }
  .radio-row {
    gap: 32px;
    margin-bottom: 24px;
  }
  
  .custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--neutral-900);
  }
  
  .custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .radio-mark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--neutral-400);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .custom-radio input[type="radio"]:hover + .radio-mark {
    border-color: var(--accent-500);
  }
  
  .custom-radio input[type="radio"]:checked + .radio-mark {
    border-color: var(--accent-500);
  }
  
  .custom-radio input[type="radio"]:checked + .radio-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  
  .radio-text {
    margin-top: 2px;
  }

  @media (max-width: 1399px) {
    .conf-container{
        width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }
    .section-footer__block__contacts__desc{
        gap: 28px;
    }
  }
  @media (max-width: 1139px) {
    .section-footer__block__bottom{
      flex-direction: column;
      gap: 40px;
  }
  .section-footer__block__copyright{
      order: 2;
  }
  .section-footer__block__policy{
      order: 1;
  }
  }
  @media (max-width: 1024px) {
    .section-body__block{
        width: 100%;
    }
  }
  @media (max-width: 991px) {
    .conf-container{
        width: 768px;
    }

    .desktop{
        display: none;
    }
    .mobile{
        display: block;
    }
    .section-body__block{
        padding: 48px 40px;
    }
    .section-body__block__details{
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .section-body__block__date{
        width: 100%;
        flex-direction: row;
        padding: 10px;
    }
    .section-body__block__date .text-xlarge{
        width: 50%;
        text-align: center;
    }
    .section-body__block__slogan{
        display: flex;
        justify-content: center;
    }
    .section-body__block__reg__title{
        align-items: center;
    }
    .section-body__block__reg__title h4{
        text-align: center;
    }
    .section-body__block__comment{
        justify-content: center;
        flex-wrap: wrap;
    }
    .section-body__block__comment .text-regular{
        text-align: center;
    }
    .form-row.radio-row{
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .form-row{
        flex-direction: column;
        align-items: center;
    }
    .form-group{
        width: 100%;
    }
    .section-footer__block{
        padding: 60px 40px;
    }
    .section-footer__block__info{
        flex-direction: column;
        gap: 60px;
        width: 100%;
    }
    .section-footer__block__contacts{
        width: 100%;
    }
    .section-footer__block__contacts__title{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .section-footer__block__contacts__desc{
        flex-direction: column;
        align-items: center;
    }
    .section-footer__block__contacts__item{
        align-items: center;
        width: 100%;
        max-width: 100%!important;
    }
    .section-footer__block__contacts__item .text-small{
        text-align: center;
    }

    .section-footer__block__policy{
        flex-direction: column;
        gap: 12px;
    }
  }
  @media (max-width: 789px) {
    .conf-container{
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 570px) {
    .conf-container{
        padding-left: 0;
        padding-right: 0;
    }
    .section-body .conf-container,
    .section-footer .conf-container{
        padding-left: 0;
        padding-right: 0;
    }
    .section-body__block{
        padding: 48px 20px;
    }
    form{
        padding-left: 8px;
        padding-right: 8px;
    }
    .section-footer__block{
        padding: 60px 20px;
    }
    .radio-row{
        gap: 16px;
    }
    .custom-radio{
        font-size: 14px;
    }
    .radio-mark{
        margin-right: 8px;
    }
    .label{
        width: 100%;
    }

}