*{
    margin: 0;
    padding: 0;
}

html{
    background: white;
}

html, body {
    font-size: var(--access-font-size, 20px) !important;
}

@font-face {
    font-family: "Jeko Light";
    src: url("/static/jeko/Jeko Light.ttf");
}

@font-face {
    font-family: "JekoVariable";
    src: url("/static/jeko/Jeko Variable.ttf");
}

@font-face {
    font-family: "Jeko-Medium";
    src: url("/static/jeko/Jeko Medium.ttf");
}

@font-face {
    font-family: "Jeko-Semibold";
    src: url("/static/jeko/Jeko Semi Bold.ttf");
}

@font-face {
    font-family: "Jeko Bold";
    src: url("/static/jeko/Jeko Bold.ttf");
}

@font-face {
    font-family: "Jeko Regular";
    src: url("/static/jeko/Jeko Regular.ttf");
}

.wrapper{
    position: relative;
    /* width: 80%; */
    max-width: 1140px;
    /* background: rgb(198, 198, 198); */
    margin: auto;
    padding: 10px;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 87px;
    background: #fff;
    z-index: 999;
    display: flex;
    justify-content: center;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.container-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.navigation{
    height: 100%;
    width: 60%;
    /* padding: 0px 30px; */
}

.nav-property{
    position: relative;
    color: #000;
    font-family: "Jeko Regular";
    font-size: 18px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;

}

span.logotext{
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.logo{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    flex-grow: 0;
    min-width: 250px;
}

.brdnav{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0px;
    height: 2px;
    background: #000;
    transition: all 0.3s;
    translate: 0px 3px;

}

.nav-property:hover .brdnav{
    width: 100%;
}

.bgimg-wrap{
    position: relative;
    margin-top: 87px;
}

.bgimg{
    width: 100%;
    z-index: 1;
}

.text-conbg{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 40%;
    padding: 5%;
}

.bgimgtextmain{
    color: white;
    z-index: 2;
    color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3.5vw;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.bgimgtextpar{
    color: #C9C9C9;
    font-family: "Jeko Light";
    font-size: 1.2vw;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.title-text{
    position: relative;
    color: #000;
    font-family: Jeko-SemiBold;
    font-size: 29px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.title-text-border{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 79px;
    height: 3px;
    background: #537473;
}

.program-container{
    width: 100%;
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.program-card{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;
}

.content-card{
    max-width: 715px;
    min-width: 100px;
    min-height: 227px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    flex-grow: 1;
}

.title-card{
    color: #212A29;
    font-family: Jeko-SemiBold;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    margin-top: 31px;
    margin-left: 21px;
}

.description-card{
    color: #000;
    font-family: Jeko-Medium;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    margin-top: 8px;
    margin-left: 21px;
}

.option-card{
    display: flex;
    flex-direction: column;
    margin-left: 21px;
    margin-top: 21px;
    margin-bottom: 8px;
}

.option-text{
    color: #000;
    font-family: Jeko-Medium;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.dot-opt-card{
    width: 6px;
    height: 6px;
    background: #537473;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .program-card{
        flex-wrap: wrap;
    }
}

.line{
    width: 100%;
    background: #9E9E9E;
    height: 1px;
    margin-top: 35px;
}

.consultate-block{
    margin-top: 30px;
}

.parent-text{
    color: #000;
    font-family: Jeko Regular;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.button-block{
    display: flex;
    flex-direction: row;
    gap: 28px;
    flex-wrap: wrap;
}

.button-type1{
    width: 239px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #345150;
    color: #FFF;
    font-family: Jeko Regular;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.button-type2{
    width: 239px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #345150;
    color: #000;
    font-family: Jeko Regular;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.consultate-block{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer{
    position: relative;
    margin-top: 100px;
    width: 100%;
    height: 417px;
    background: #345150;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.block-content{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 100px;
}

.footer-block{
    text-align: left;
    max-width: 376px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.title-footer-block{
    color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.text-footer-block{
    color: #CCC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.down-block{
    position: relative;
    border-top: solid 1px #979797;
    max-width: 1046px;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.text-footer-down{
    max-width: 60%;
    margin-top: 10px;
    color: #D0D0D0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.watermark{
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.route-div{
    position: relative;
    margin-top: 87px;
    width: 100%;
    height: 185px;
    background: #f5f5f5;
    margin-bottom: 30px;
}

.parent-text{
    margin-top: 20px;
    color: #000;
    font-family: Jeko Regular;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.text-route{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    margin-left: 10%;
    width: 100%;
    height: 127px;
}

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

.black-route{
    color: #000;
    font-family: Jeko Regular;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.gray-route{
    color: #6B6B6B;
    font-family: Jeko Regular;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.title-route{
    color: #000;    
    font-family: JekoVariable;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.file-block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px 40px;
    row-gap: 60px;
    column-gap: 40px;
    align-items: flex-start;
}
.file-card {
    width: 180px;
    min-height: 120px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    word-break: break-word;
}
.file-text{
    color: #000;
    font-family: Jeko-SemiBold;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 10px;
    font-size: 1.1rem;
    line-height: 1.3;
    word-break: break-word;
}
@media (max-width: 900px) {
    .file-block {
        gap: 30px 10px;
    }
    .file-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .file-block {
        flex-direction: column;
        gap: 20px;
    }
    .file-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}
body.bvi-contrast .file-text {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-top: 10px !important;
}

.req-block{
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.strong-text-r{
    color: #000;
    font-family: Jeko-SemiBold;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.light-text-r{
    color: #000;
    font-family: Jeko Regular;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-block{
    display: flex;
    flex-direction: row;
}

.text-block{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.header-text{
    color: #000;
    font-family: JekoVariable;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.img-program{
    width: 281px;
    height: 202px;
}

/* --- BVI override fix --- */
.bvi-panel, .bvi-link-fixed-top {
    z-index: 1000000 !important;
    position: fixed !important;
}
.bvi-panel {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}
.bvi-link-fixed-top {
    top: 80px !important;
    right: 20px !important;
}

/* --- BVI custom mode: белый фон, чёрный текст --- */
html.bvi-contrast, body.bvi-contrast {
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1.6 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}
body.bvi-contrast,
body.bvi-contrast .wrapper,
body.bvi-contrast .parent-text,
body.bvi-contrast .text-block,
body.bvi-contrast .file-text,
body.bvi-contrast .text-footer-block,
body.bvi-contrast .description-card,
body.bvi-contrast .option-text {
    font-size: 2rem !important;
}
body.bvi-contrast h1,
body.bvi-contrast .title-text {
    font-size: 2.5rem !important;
    font-weight: bold !important;
}
body.bvi-contrast .logo,
body.bvi-contrast .logo * {
    font-size: 1.2rem !important;
}
body.bvi-contrast .logo img {
    width: 48px !important;
    height: auto !important;
}
html.bvi-contrast a, body.bvi-contrast a {
    color: #0057b8 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}
html.bvi-contrast .logo img, body.bvi-contrast .logo img {
    filter: none !important;
}
html.bvi-contrast .bvi-images-eye {
    filter: none !important;
}
html.bvi-contrast .program-card, body.bvi-contrast .program-card {
    background: #fff !important;
    color: #111 !important;
    border: 2px solid #111 !important;
}
html.bvi-contrast .footer, body.bvi-contrast .footer {
    background: #fff !important;
    color: #111 !important;
    border-top: 2px solid #111 !important;
}
html.bvi-contrast img, body.bvi-contrast img {
    display: none !important;
}
.custom-bvi-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 18px 36px;
    font-size: 1.5rem;
    font-family: 'Jeko Bold', Arial, sans-serif;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1.5px 4px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    margin: 0 0 0 20px;
    justify-content: center;
    align-items: center;
}
.custom-bvi-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.custom-bvi-btn:focus {
    box-shadow: 0 0 0 4px #0057b8, 0 4px 24px rgba(0,0,0,0.12);
    background: linear-gradient(90deg, #0057b8 0%, #232526 100%);
}
.custom-bvi-btn:hover {
    background: linear-gradient(90deg, #0057b8 0%, #232526 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.12);
}
.custom-bvi-btn .bvi-images-eye {
    background: url('/static/img/eye.svg') no-repeat center center / contain;
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(2);
}

/* BVI режим — кнопка тоже контрастная */
html.bvi-contrast .custom-bvi-btn, body.bvi-contrast .custom-bvi-btn {
    background: #111 !important;
    color: #fff !important;
    border: 2px solid #111 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    box-shadow: 0 0 10px #111;
}
html.bvi-contrast .custom-bvi-btn .bvi-images-eye, body.bvi-contrast .custom-bvi-btn .bvi-images-eye {
    filter: brightness(10) invert(1) !important;
}
.custom-bvi-btn:hover, .custom-bvi-btn:focus {
    background: #232526 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transform: translateY(-2px) scale(1.03);
}

/* Цветовые схемы для BVI */
html.bvi-scheme-blackwhite, body.bvi-scheme-blackwhite {
    background: #fff !important;
    color: #111 !important;
}
html.bvi-scheme-whiteblack, body.bvi-scheme-whiteblack {
    background: #111 !important;
    color: #fff !important;
}
html.bvi-scheme-blue, body.bvi-scheme-blue {
    background: #e3f0ff !important;
    color: #002b5c !important;
}
html.bvi-scheme-brown, body.bvi-scheme-brown {
    background: #f7f3d6 !important;
    color: #4d4b43 !important;
}
/* --- END BVI custom mode --- */

.custom-bvi-btn::before, .custom-bvi-btn::after, .bvi-images-eye::before, .bvi-images-eye::after {
    content: none !important;
    display: none !important;
}

.custom-bvi-btn {
    padding: 6px 12px;
    min-width: unset;
    min-height: unset;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: linear-gradient(90deg, #353637 0%, #414345 100%);
    width: 44px;
    height: 44px;
}
.custom-bvi-btn .bvi-images-eye {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(10) invert(1) !important;
}

.font-size-btn.active, .zoom-btn.active, .color-scheme-btn.active {
    background: #0057b8 !important;
    color: #fff !important;
    border: 2px solid #0057b8 !important;
    font-weight: bold;
}