.__acc-box {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    /* transform: scaleY(0.95); */
    transition: max-height 0.3s ease, opacity 0.3s ease,  margin 0.3s ease;
    margin-top: 0;
}

.__acc-box.open {
    max-height: 100%;
    opacity: 1;
    /* transform: scaleY(1); */
    margin-top: 2rem;
}

/* .__acc-svg {
    transition: all .5s ease;
}
.__acc-svg.open {
    transform: rotate(180deg);
} */




/* ==================== burger ==================== */

.__burger_icon {
    display: block;
    position: relative;
    width: 2.4375rem;
    height: 1.75rem;
    overflow: hidden;
    cursor: pointer;
    margin-top: 9px;
    margin-bottom: 9px;

    span {
        display: block;
        width: 1.875rem;
        height: 0.25rem;
        /* margin-left: auto; */
        /* margin-right: auto; */
        background-color: #3082FE;
        transition: all .3s ease-in-out;
        border-radius: 1.875rem;
    }

    span:nth-child(1) {
        position: absolute;
        top: 0;
        left: 0;
    }
    span:nth-child(2) {
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 1.875rem;
        width: 0.25rem;
        height: 0.25rem;
    }
    span:nth-child(3) {
        position: absolute;
        top: .5rem;
        right: 0;
        /* left: 50%; */
        /* transform: translate3d(-50%, -50%, 0); */
        /* width: 2.375rem; */
    }
    span:nth-child(4) {
        position: absolute;
        top: .5rem;
        left: 0;
        border-radius: 1.875rem;
        width: 0.25rem;
        height: 0.25rem;
    }
    p {
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translate3d(-50%, 0, 0);
    }
}
.__burger_icon.open {
    width: 2rem;
    height: 2rem;

    span {
        background-color: #fff;
    }
    span:nth-child(1) {
        position: absolute;
        top: 50%;
        transform: rotate(45deg) translateY(-50%);
    }
    span:nth-child(2) {
        position: absolute;
        transform: translate(-5rem);
    }
    span:nth-child(3) {
        position: absolute;
        top: 50%;
        transform: rotate(-45deg) translateY(-50%);
    }
    span:nth-child(4) {
        position: absolute;
        transform: translate(-5rem);
    }
    P {
        position: absolute;
        transform: translate(-5rem);
    }
}




@media (max-width: 1024px) {
    .content {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #3082FE;
        z-index: -1;
        gap: 1.75rem;
        align-items: end;
        display: flex;
        flex-direction: column;
        padding: 1rem 1rem 4.5rem;
        color: #F5F7FA;
        opacity: 0;
        visibility: hidden;
        transition: all .3s;
        max-width: 100%;
        height: 100%;
        justify-content: end;
    }

    .content--open {
        opacity: 1;
        visibility: visible;
        /* padding-top: 11.5rem; */
        /* padding-bottom: 3rem; */
    }
}


/* ==================== radio-button ==================== */

.__radio-checkbox {
    display: flex;
    position: relative;
    align-items: center;
}

.__radio-checkbox input[type="checkbox"],
.__radio-checkbox input[type="radio"] {
    display: none;
}

.__radio-checkbox input[type="checkbox"] + ._custom,
.__radio-checkbox input[type="radio"] + ._custom {
    display: block;
    position: relative;
    min-width: 14px;
    width: 14px;
    height: 14px;
    border: 1px solid var(--black-color);
    cursor: pointer;
    border-radius: 50%;
    margin-right: .3em;
}

.__radio-checkbox input[type="checkbox"]:checked + ._custom {
    background: orange;
    background-position: center;
    background-repeat: no-repeat;
}



/* ==================== modal ==================== */

/* .__modal {
    display: flex;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    transition: .3s;
    opacity: 0;
    visibility: hidden
}

.__modal.show {
    opacity: 1;
    visibility: visible;
    z-index: 260;
    overflow-y: auto;
}

.__modal ._fade {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 6;
    background-color: rgba(36, 36, 36, 0.4);
    backdrop-filter: blur(0.35rem);
    position: fixed;
}

.__modal ._item-modal {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 202;
	overflow-y: auto;
}

.__modal ._body {
    display: block;
    width: 25em;
    margin: 0 auto;
    background-color: var(--white-blue-color);
    position: relative;
    z-index: 300;
    padding: 2.5em;
    transition: .3s;
    margin-top: 5em;
    margin-bottom: 5em;
} */



.__modal{
    visibility: hidden;
    opacity: 0; 
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    top: 0em;
    left: 0em;
    right: 0em;
    bottom: 0em;
    padding: 2em 1em;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
    z-index: 1000;
    overflow: auto;
  }
  
  .__modal_window{
    box-sizing: border-box;
    position: relative; 
    margin: auto;
    min-height: 5em;
    visibility: hidden; 
    opacity: 0; 
    transition: opacity 0.2s;
    box-shadow: 0em 0em 1em rgb(0 0 0 / 50%);
    z-index: 1001;
    flex: 1;
    padding: 2rem 1rem 3rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 57.75rem;
    border-radius: .625rem;
    /* background-color: #DEDF55; */
    background: #fff;
    /* background-size: cover; */
    /* background-position: center; */
  }
  
  .__modal_close{
    font-size: 2em;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    border-radius: 50%;
    padding: 0.5em;
    cursor: pointer;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
  }
  
  .__modal_close:before, .__modal_close:after{
    content: "";
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    height: 2px;
    background: rgb(128 128 128 / 90%);
  }
  
  .__modal_close:before {transform: rotate(45deg);}
  .__modal_close:after {transform: rotate(-45deg);}
  
  .__modal_close:hover{
    opacity: 1;
  }
  
  
  body.is-modal{
    overflow: hidden;
  }
  
  body.is-modal .__modal.is-active{
    transition-delay: 0s;
    visibility: visible;
    opacity: 1;
    z-index: 999999;
  }
  
  body.is-modal .__modal.is-active .__modal_window{
    visibility: visible;
    opacity: 1;
  }
  

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

h2 {
    margin-top: 0;
}

form {
    /* max-width: 31.375rem; */
    width: 100%;
    display: flex;
    flex-direction: column;
}

label {
}

input {
    width: 100%;
    padding: .5rem 1.25rem !important;
    border-radius: .625rem;
    border: 1px solid #505050;
    background: #DAE2EE;   
}

input::placeholder {
    color: #141414 !important;
}

button[type="submit"] {
    padding: .62rem 3rem;
    border: 1px solid #505050;
    border-radius: 2.5rem;
    color: #141414;
    background: #fff;
    cursor: pointer;
    transition: .2s;
}

button[type="submit"]:hover {
    background: #3082FE;
    color: #fff;
}




  .radio-label {
    color: #083872; /* Цвет текста */
    display: flex;
    align-items: start;
    justify-content: center;
  }
  
  .radio-input {
    display: none; /* Прячем стандартную радиокнопку */
  }
  
  .custom-radio {
    margin-top: 0.4rem;
    display: inline-block;
    max-width: 0.8125rem;
    max-height: 0.8125rem;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%; /* Округлая форма */
    border: 1px solid #F1779C; /* Цвет рамки */
    margin-right: .4rem; /* Отступ справа от радиокнопки */
    position: relative;
  }
  
  .radio-input:checked + .custom-radio::before {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    left: 1px;
    border-radius: 50%;
    background-color: #002B55; /* Цвет заливки при выборе */
  }




/* ==================== form ==================== */

._form {
	position: relative;
    width: 100%;
}

._form .__label-name {
    color: var(--black-color);
    font-weight: 500;
    font-size: 1.1em;
}

._form.--modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

._form .__form-field {
    width: 100%;
}

._form .__form-field input,
._form .__form-field textarea {
    width: 100%;
    padding: 1.1em;
	background-color: transparent;
	resize: none;
    color: var(--dark-grey-color);
    border: 2px solid var(--black-color);
    font-size: 1em;
    font-family: "Nekst", sans-serif;
    font-weight: 500;
    font-size: 1em;
}

._form .__form-field textarea {
    height: 8em;
}

._form a:hover {
    text-decoration: underline;
}



/* ==================== map ==================== */
.__map iframe {
    width: 100%;
    height: 100%;
}



/* ==================== link ===================== */

.__link{
	font-size: 1em;
	padding: 0;
	border: 0;
	color: inherit;
	background-color: transparent;
	cursor: pointer;
	transition: color 0.2s ease-out, opacity 0.2s ease-out;
}

.__link.underline:not(:hover){
	text-decoration: underline;
}

.__link.hover-underline:hover, .__link.hover-underline.is-active{
	text-decoration: underline;
}

.__link.hover-opacity:hover, .__link.mod-hover-opacity.is-active{
	opacity: 0.65;
}

.__link.hover-opacity:active{
	opacity: 0.45;
}



/* ==================== scroll ==================== */

.__scroll::-webkit-scrollbar{
	width: 0.5em;
	height: 0.5em;
}

.__scroll::-webkit-scrollbar-button{
	background-color: transparent;
	display: none;
}

.__scroll::-webkit-scrollbar-track{
	background-color: transparent;
}

.__scroll::-webkit-scrollbar-thumb{
	border-radius: 1em;
	background-color: #c1c1c1;
}

.__scroll::-webkit-scrollbar-thumb:hover{
	background-color: #909090;
}



/* ==================== breadcrumbs ==================== */

.__breadcrumbs > *{
	opacity: 0.75;
}
.__breadcrumbs a:hover{
	opacity: 1;
}


/* ==================== the_content ==================== */
.__the_content p{
	margin: 0.75em 0;
}

.__the_content > *:first-child{
	margin-top: 0;
}

.__the_content > *:last-child{
	margin-bottom: 0;
}

.__the_content strong{
	font-weight: 500;
}

.__the_content h1,
.__the_content h2,
.__the_content h3,
.__the_content h4,
.__the_content h5,
.__the_content h6{
	font-weight: 600;
	margin: 1.5rem 0 0.75rem;
}

.__the_content ul{
	list-style: disc;
}

.__the_content ol{
	list-style: decimal;
}

.__the_content ul, .__the_content ol{
	margin: 0 0 0 1.2em;
}

.__the_content ul li, .__the_content ol li{
	margin: 0.5em 0;
}

.__the_content a{
	text-decoration: underline;
}

.__the_content a:hover{
	text-decoration: none;
}
