/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a, a:link, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}


body {
    font-weight: 300;
    margin: 0;
    background: #F4F4F4;
    color: #000000;
    font-family: 'Geist', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}

@font-face {
    font-family: 'Geist';
    src: local('Geist'), url('/bitrix/fonts/Geist/Geist-regular.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: 'Geist';
    src: local('Geist Light'), url('/bitrix/fonts/Geist/Geist-light.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: 'Geist';
    src: local('Geist Semibold'), url('/bitrix/fonts/Geist/Geist-semibold.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: 'Geist';
    src: local('Geist Bold'), url('/bitrix/fonts/Geist/Geist-bold.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal
}


@font-face {
    font-family: 'Geist-Regular';
    src: local('Geist'), url('/bitrix/fonts/Geist/Geist-Regular.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Geist-Light';
    src: local('Geist Light'), url('/bitrix/fonts/Geist/Geist-Light.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Geist-Semibold';
    src: local('Geist Semibold'), url('/bitrix/fonts/Geist/Geist-SemiBold.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Geist-Bold';
    src: local('Geist Bold'), url('/bitrix/fonts/Geist/Geist-Bold.woff') format('woff'), url('/bitrix/fonts/Geist/Geist-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal
}

:root {
    --black: #000;
    --white: #fff;
    --green: rgb(73, 162, 95);
    --purple: rgb(70, 8, 128);
    --purple-light: rgb(77, 9, 156);
    --grey: rgb(244, 244, 244);
    --grey-light: rgb(217, 217, 217);
    --grey-dark: rgb(110, 112, 130);
    --border-radius-btn: 0.3125rem;
    --border-radius-s18: 1.125rem;
    --border-radius-s20: 1.25rem;
    --border-radius-s16: 1rem;
    --border-std: 0.0625rem;
    --s12: 0.75rem;
    --s14: 0.875rem;
    --s16: 1rem;
    --s18: 1.125rem;
    --s20: 1.375rem;
    --s22: 1.5rem;
    --s24: 1.75rem;
    --s50: 2.2rem;
}

html {
    font-size: 16px;
    background: var(--grey);
    color: var(--black);
    scroll-behavior: smooth;

}

a {
    text-decoration: none;
    color: #000000;
}

header {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: max-content;
    aspect-ratio: 3 / 1;
    position: relative;
}

.container {
    width: 60%;
    margin: 0 auto;
}

@media screen and (orientation: landscape) and (max-width: 1920px) {
    .container {
        width: 70%;
    }
}

@media screen and (orientation: landscape) and (max-width: 1700px) {
    .container {
        width: 80%;
    }
}

@media screen and (orientation: landscape) and (max-width: 1600px) {
    .container {
        width: 90%;
    }
}


h1 {
    font-size: var(--s50);
    font-family: 'Geist-Bold';
}

p {
    font-size: var(--s18);
    font-weight: 300;
    margin-bottom: 1em;
}
p:first-child, p:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: var(--s24);
    font-weight: 600;
    color: var(--purple);
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
}
h3 {
    font-size: var(--s20);
    font-weight: 600;
    color: var(--purple);
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
}
.detail_text ul {
    display: grid;
    gap: 1em;
    list-style: disc;
    unicode-bidi: isolate;
}
.detail_text ul li {
    margin-left: 1.5rem;
    position: relative;
    text-align: left;
    list-style: disc;
    font-size: var(--s18);
}

.btn {
    text-align: center;
    box-sizing: border-box;
    padding: .5em 1em;
    border-radius: 0.3em;
    min-width: 7em;
    cursor: pointer;
}

.green {
    background: #49A25F;
    color: #ffffff;

}

.green:hover {
    background: #460880;
}

.transparent {
    border: .1em solid #000000;
    background-image: linear-gradient(to right, #ffffff00, #F4F4F4); /* Параметры градиента */
    background-repeat: no-repeat; /* Фон не повторяется */
    background-size: 0 100%; /* Градиент пока не показываем */
    transition: 0.3s; /* Время перехода */
}

.direction_btn {
    align-items: end;
    position: static;
    display: flex;
    gap: 2em;
    justify-content: flex-end;
}

header h1 {
    width: 56%;
    position: absolute;
    bottom: 12rem;
    color: #ffffff
}

.header {
    padding-top: 1.5em;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.logo {
    width: 12.5rem;
}


/* Стандартные стили */

section {
    margin: 5rem 0;
}

.std_block {
    border-radius: var(--border-radius-s20);
    background: var(--white);
    padding: 4.375rem 2.5rem;
}
.std_grid-col-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.375rem;
}

.std_grid-col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.375rem 1.25rem;
}

.std_grid-col-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.std_tags {
    border-radius: var(--border-radius-s16);
    box-sizing: border-box;
    border: var(--border-std) solid var(--purple-light);
    /* White */
    background: rgb(255, 255, 255);
    padding: 0.437rem 0.75rem;
    color: var(--purple-light);
    font-weight: 600;

}


.sections_span_title {
    display: block;
    color: var(--purple);
    font-size: var(--s24);
    font-weight: 500;
    margin: 0 0 2.5rem 0;
}

.std_purple_btn{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: var(--border-std) solid var(--purple);
    color: var(--purple);
    border-radius: var(--border-radius-btn);
    padding: 0.375rem 1.375rem;
}

.std_purple_btn img{
    flex: 0 0 1rem;

}

/* plus open*/

.plus-button {
    width: 2.25rem; /* Размер круга */
    height: 2.25rem;
    background-color: rgb(248, 242, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;

}

.plus {
    width: 1.25rem;
    height: 0.13rem;
    background-color: var(--purple-light); /* Фиолетовый цвет */
    position: absolute;
    border-radius: 2rem;
    transition: all 0.3s ease;

}

.plus::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    transform: rotate(90deg);
    border-radius: 2rem;

}


.plus-button.active{
    background: var(--purple-light);
}

.plus-button.active .plus {
    transform: rotate(45deg);
    background-color: var(--white);
}

.plus-button.active .plus::before {
    transform: rotate(-90deg);
}

/*popup form*/

/* Основной контейнер попапа */
.mfp-container {
    animation: .4s ease-in-out .1s forwards bg-show;
}



/* Контент попапа */

.mfp-content>div{
    max-width: 26rem;
    background: white;
    padding: 1.25rem;
    border-radius: var(--border-radius-s18);
    opacity: 0;
    animation: .4s ease-in-out .1s forwards show;


    position: absolute ;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}


.mfp-content>div#bpla_popup{
    max-width: 70%;
    width: 70%;
    background: none;

}

.mfp-removing .mfp-content {
    animation: hide 0.4s ease-in-out forwards;
}

.mfp-removing .mfp-container {
    animation: bg-hide 0.4s ease-in-out forwards;
}


@keyframes bg-show {
    0% {
        background-color: transparent;
    }
    100% {
        background-color: rgba(0, 0, 0, .75);
    }
}

@keyframes bg-hide {
    0% {
        background-color: rgba(0, 0, 0, .75);
    }
    100% {
        background-color: transparent;
    }
}


@keyframes show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Закрывающая кнопка */
.mfp-close {
    color: black;
    font-size: var(--s24);
    position: absolute;
    right: 0.875rem;
    top: 0.875rem;
    cursor: pointer;
}

.iti {
    position: relative !important; /* Оставляем относительное позиционирование */
    display: inline-block !important;
    width: 100% !important; /* Чтобы input не сжимался */
}


/* Поля формы */


/* Кнопка отправки */
.mfp-content form button {
    width: 100%;
}


/* std form*/


.std_form_block {
    margin-bottom: 1.375rem;
}

.std_form_label {
    margin-bottom: 0.875rem;
}

.std_form_label:last-of-type {
    margin-bottom: 1.375rem;
}

.std_form_label label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--grey-dark);
    font-size: var(--s18);
}


.std_form_label input {
    border: var(--border-std) solid var(--grey-dark);
    border-radius: var(--border-radius-btn);
    padding: 0.5rem 1.187rem;
    display: block;
    width: 100%;
}

.std_form_label input::placeholder {
    color: var(--grey-light);
    font-weight: 500;
}

.std_form_btn input[type="submit"] {
    display: block;
    width: 100%;
    font-weight: 400;
}

.std_form_label textarea{
    border: var(--border-std) solid var(--grey-dark);
    border-radius: var(--border-radius-btn);
    padding: 0.5rem 1.187rem;
    display: block;
    width: 100%;
    height: 10rem;
}

.std_form_label select{
    border: var(--border-std) solid var(--grey-dark);
    border-radius: var(--border-radius-btn);
    padding: 0.5rem 1.187rem;
    display: block;
    width: 100%;
}

.std_form_checkbox {
    margin-top: 1.375rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    /* базовые стили для кастомного оформления */
}

/* Стили для состояния "отмечено" */
input[type="checkbox"]:checked {
    /* стили для выбранного состояния */
}

/* Стили для состояния "отключено" */
input[type="checkbox"]:disabled {
    /* стили для отключённого состояния */
}

.std_form_checkbox input {
    flex: 0 0 1rem;
    appearance: none;
    height: 1rem;
    border: var(--border-std) solid var(--green);
    border-radius: 0.25rem;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
}

.std_form_checkbox a {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.std_form_checkbox input:checked {
    background-color: var(--green);
    border-color: var(--green);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}


/* end */

.courses_tags__section {
    margin-top: 1.687rem;
}

.promo_info_form__section .std_block {
    padding: 5rem 8.187rem;
}
.promo_info_form__section {
    background: rgb(230, 220, 235);
    padding: 5rem 0;
}
.promo_info_form__wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 auto;
}

.promo_info_form__content {
    flex: 0 0 52%;
}

.promo_info_form__content_title {
    display: block;
    font-size: var(--s24);
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.promo_info_form__content_purple {
    color: var(--white);
    font-weight: 700;
    line-height: 1.937rem;
    border-radius: var(--border-radius-btn);
    background: var(--purple-light);
    padding: 0.2rem 0.4rem;
    margin-right: 0.325rem;
}

.promo_info_form__content_company {
    font-weight: 700;
    font-size: var(--s24);
    margin-bottom: 1.125rem;
}

.promo_info_form__content_description {
    display: block;
    font-size: var(--s18);
    color: var(--grey-dark);
    margin-bottom: 1.3125rem;
}

.promo_info_form__content_list {
    font-size: var(--s18);
}

.promo_info_form__content_list p:not(:last-of-type) {
    margin-bottom: 1.312rem;
}

.promo_info_form__form_block {
    flex: 0 0 40%;
    z-index: 1;
}

.courses_info_block__section, .course_detail_info__section {
    position: relative;
    margin-top: -10em;
    z-index: 1;
}

footer {
    background: #460880;
    color: #ffffff;
    padding: 1rem 0 3rem;
    font-weight: 400;
    font-size: 1em;
    z-index: 2;
    position: sticky;
}

.footer_info_contact_wrap {
    display: grid;
    grid-template-columns: 33% 9rem 25% 3rem 1fr;
    grid-template-rows: 7.65rem 3rem 10rem 1fr;
}

.footer_phones_wrap {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding-bottom: 1rem;
}

footer a {
    color: white;
}

footer .green {
    display: inline-block;
    border: .1em solid #49A25F;
    width: 15rem;
}

.transparent:hover {
    background-size: 100% 100%;
}

.courses_tags__wrap a {
    cursor: pointer;
}

.footer__legal_info_wrap {
    grid-row: 3/6;
    grid-column: 1/4;
}

.footer_info_contact_wrap p {
    font-size: var(--s14);
    margin-bottom: 0.5rem;
}

.footer__legal_info_block_mrg {
    display: block;
    margin: 1rem 0 1.5rem;
}

.footer__legal_info_block_legal--s18 {
    font-weight: 400;
    display: block;
    margin-bottom: 1rem;
}


.footer__legal_info_police {
    flex: 1 1;
}

.footer__legal_info_police_link {
    color: var(--green);
    font-weight: 700;
}

.footer_info_contact_wrap_logo_wrap {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
    margin-bottom: 3.25rem;
}

.footer_contact_us_wrap {
    margin-bottom: 3rem;
}

.footer_adress_wrap p,
.footer_contact_us_wrap {
    font-size: var(--s16);
}

.footer__legal_info_police_first_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer_adress_wrap {
    grid-column: 3/4;
}

.footer__legal_info_police_first_wrap {
    grid-column: 5/6;
    grid-row: 3/5;

}

.footer__legal_info_server_wolf {
    grid-column: 5/6;
    grid-row: 5/6;
}

.footer_contact_us_wrap {
    grid-row: 1/2;
    grid-column: 5/6;
}

.footer_copy {
    margin: 3rem 0 0;
    display: flex;
    justify-content: center;
    text-align: center;
}
.find_about_course_block .btn{
    display: block;
    width: 100%;
    background-color: var(--green);
}

.find_about_course_block__description{
    display: block;
    color: var(--grey-dark);
    margin-bottom: 0.562rem;
}

.find_about_course_block__title{
    display: block;
    font-size: var(--s20);
    font-weight: 600;
    margin-bottom: 1.312rem;
}


.accordion, .course_plan_title {
    border: var(--border-std) solid var(--purple);
    border-radius: var(--border-radius-s18);
    padding: 1.75rem 2.25rem;
}

.accordion__item:not(:last-of-type) {
    padding: 0 0 1rem;
}

.accordion__content li:last-of-type{
    margin-bottom: 0;
}

.accordion__title {
    cursor: pointer;
}

.accordion__title,
.accordion__content{
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    align-items: center;
    gap: 2rem;
}

.accordion__content_description{
    grid-column:  2/3;
    padding: 1rem 0 0;
}

.accordion__content {
    max-height: 0;           /* Изначально скрыт */
    overflow: hidden;        /* Скрываем содержимое за границами */
    transition: max-height 0.3s ease; /* Плавный переход высоты */
}

.accordion__content--open {
    display: grid;
}
.accordion__title_text{
    font-weight: 500;
    font-size: var(--s20);
    color: var(--purple);

}
.accordion__title--active .accordion__title_text{
    color: var(--black);
}
.accordion__content{
    font-size: var(--s20);
}
.accordion__content ul,
.accordion__content li{
    list-style-type: disc;
    list-style-position: inside; /* Маркеры снаружи */

}
.accordion__content li{
    margin-bottom: 0.75rem;
}

.accordion h2{
    margin-top: 0;
}

.blog_list__block_content_title{
    font-weight: 600;
    color: var(--purple);
    display: block;
    margin-bottom: 1rem;
}

.course_plan_body ol li::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
font-weight: 500;
}
ol li {
    margin-left: 1em;
    font-size: var(--s18);
}
ol li::marker {
    color: var(--purple);
}
ol {
    display: grid;
    gap: 1em;
    margin-bottom: 1em;
}
.detail_text span {
    color: var(--purple);
    font-weight: 500;
}
.detail_text .course_detail_info__skill {
    padding: 1.375rem 1.5rem 2.5rem 1.5rem;
    margin: 2em 0;
}
.detail_text .course_detail_info__skill h3, .detail_text .course_detail_info__skill h2 {
    margin-top: 0;
}
.std_grid-col-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.375rem 1.25rem;
}
.course_detail_info__sale {
    background-image: url("/images/bank.webp");
    background-size: cover;
    background-repeat: no-repeat; /* Изображение повторяется по горизонтали */
    color: var(--white);
}

.table{
    overflow: hidden;
    margin-bottom: 1rem;
}

.table table {
    width: 100%;
    border: var(--border-std) solid var(--grey);
    border-radius: var(--border-radius-s16);
    overflow: hidden;
    border-collapse: separate;
    margin-bottom: 1rem;
}

.table th{
    color: var(--white);
}

.table th,
.table td {
    padding: 1rem;
    border-right: var(--border-std) solid var(--grey);
    border-bottom: var(--border-std) solid var(--grey);
    vertical-align: middle;
}

.table th:last-child,
.table td:last-child {
    border-right: none;
}

.table tr:last-child td {
    border-bottom: none;
}


.table tbody tr td {
    text-align: center;
}

.table tbody tr td img {
    width: 3rem;
    border-radius: 30%;
}

thead {
    background: linear-gradient(131.67deg, rgb(0, 185, 86) 1.103%, rgb(73, 162, 95) 42.091%, rgb(0, 140, 56) 100%);
}
tr:last-child {
    background: var(--grey);
}
tr:first-child {
    background: none;
}
.table tbody tr td {
    font-size: var(--s18);
}



.btn.purple{
    background: var(--purple);
    color: white;
    transition: all 0.3s ease;

}

.contacts_wrap{
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.contacts__information{
    flex: 1;
}

.contacts__img{
    flex: 0 0 50%;
}

.contacts__img img{
    width: 100%;
}

.contacts__information_block:not(:last-of-type){
    margin-bottom:2rem;
}

.contacts__information_block p{
    font-weight: 600;
    font-size: var(--s20);
    margin-bottom: 0.5rem;
}

.contacts__information_block a,
.contacts__information_block p span{
    font-weight: 400;
    font-size: var(--s20);
}


.requisites__wrap{
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 3rem;
}

.requisites p span{
    display: block;
    font-weight: 600;
    font-size: var(--s18);
    margin-bottom: 0.5rem;
}


.requisites p{
    font-weight: 400;
    font-size: var(--s18);
}

.mapWrapper {
    position: relative;
}

#map {
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

.mapOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: transparent;
    cursor: pointer;
}

.mapWrapper.active #map {
    filter: grayscale(0%);
}

.mapWrapper.active .mapOverlay {
    display: none;
}

.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 2.49rem;
    background-color: var(--purple);
    color: white;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: var(--s16);
    display: none;
    z-index: 10000;
}
.back-to-top.show {
    display: block;
}
.back-to-top img {
    width: 3rem;
    height: 3rem;
    aspect-ratio: 1 / 1;
    transform: rotate(90deg);
}
.error-box {
    display: flex;
    align-items: center;
}
.error-box img {
    width: 30em;
}