.banner {
    width: 100%;
    height: 100%;
}

.banner__bg {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #5f4b8b;
}

.banner__bg--img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
}

.banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner__content {
    position: relative;
    z-index: 2;
    padding: 158px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.banner__content--tag {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 122%;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.banner__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 56px;
    line-height: 110%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.banner__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.8);
}

.tabs-nav {
    background: #fff;
    border-bottom: 1px solid rgba(95, 75, 139, 0.12);
    position: relative;
}

.tabs-nav__wrap {
    position: relative;
}

.tabs-nav__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-nav__scroll::-webkit-scrollbar {
    display: none;
}

.tabs-nav__list {
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
}

.tabs-nav__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: #565656;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.tabs-nav__item::before {
    content: '';
    position: absolute;
    inset: 8px 4px;
    border-radius: 8px;
    background: rgba(95, 75, 139, 0.08);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: -1;
}

.tabs-nav__item span {
    position: relative;
    transition: color 0.25s ease;
}

.tabs-nav__item:hover span {
    color: #5f4b8b;
}

.tabs-nav__item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.tabs-nav__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #5f4b8b;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.tabs-nav__item.is-active span {
    font-weight: 700;
    color: #5f4b8b;
}

.tabs-nav__item.is-active::after {
    opacity: 1;
}

.tabs-nav__fade {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tabs-nav__fade--left {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.tabs-nav__fade--right {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.tabs-nav__fade.is-visible {
    opacity: 1;
}


.primary {
    padding: 80px 0;
    background: #fff;
}

.title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 34px;
    line-height: 150%;
    color: #000;
    margin-bottom: 36px;
}

.primary__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 24px;
}

.primary__card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #f4f3f8;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(95, 75, 139, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px 0 rgba(95, 75, 139, 0.16);
}

.primary__card--img {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.primary__card--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.primary__card:hover .primary__card--img img {
    transform: scale(1.08);
}

.primary__card--content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
}

.primary__card--content h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 150%;
    color: #000;
    transition: color 0.25s ease;
}

.primary__card:hover .primary__card--content h3 {
    color: #5f4b8b;
}

.primary__card--content p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 170%;
    color: #565656;
}

.primary__card--text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
}

.primary__card--text h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 150%;
    color: #5f4b8b;
}

.primary__card--text p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 170%;
    color: #565656;
}







.grading__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 860px;
}

.grading__subtitle {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 150%;
    color: #5f4b8b;
}

.grading__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    color: #565656;
}

.grading__card {
    border-radius: 12px;
    padding: 24px;
    background: #f4f3f8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    box-shadow: 0 2px 12px 0 rgba(95, 75, 139, 0.06);
}

.grading__card-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #5f4b8b;
}

.grading__list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

.grading__row {
    border-bottom: 1px solid rgba(95, 75, 139, 0.1);
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.grading__row:last-child {
    border-bottom: none;
}

.grading__row:hover {
    background: rgba(95, 75, 139, 0.06);
}

.grading__label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: #252525;
    transition: color 0.2s ease;
}

.grading__row:hover .grading__label {
    color: #5f4b8b;
}

.grading__value {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    line-height: 150%;
    color: #5f4b8b;
}





.primary__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 580px;
}

.primary__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.primary__text h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 150%;
    color: #5f4b8b;
}

.primary__text h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #5f4b8b;
    margin-bottom: -6px;
}

.primary__text p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    color: #565656;
}

.primary__text ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.primary__text ul li {
    position: relative;
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: #565656;
    max-width: 100%;
    transition: color 0.2s ease, transform 0.2s ease;
}

.primary__text ul li:hover {
    color: #5f4b8b;
    transform: translateX(4px);
}

.primary__text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5f4b8b;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.primary__text ul li:hover::before {
    transform: translateY(-50%) scale(1.4);
}





.teachers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
}

.teacher__card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #f4f3f8;
    box-shadow: 0 2px 12px 0 rgba(95, 75, 139, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px 0 rgba(95, 75, 139, 0.16);
}

.teacher__card--img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.teacher__card--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.teacher__card:hover .teacher__card--img img {
    transform: scale(1.08);
}

.teacher__card--info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 12px 14px;
}

.teacher__card--info p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 130%;
    color: #5f4b8b;
}

.teacher__card--info span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    color: #565656;
}

.teacher__card--details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    margin-top: 2px;
}

.teacher__card--details p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #565656;
    margin: 0;
}

.teacher__card--details ul {
    list-style: disc;
    padding-left: 18px;
    margin: 4px 0 0;
}

.teacher__card--details ol {
    list-style: decimal;
    padding-left: 18px;
    margin: 4px 0 0;
}

.teacher__card--details li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #565656;
}






.schedule__table-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: auto;
    box-shadow: 0 2px 16px 0 rgba(95, 75, 139, 0.08);
}

.schedule__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.schedule__table thead tr {
    background: #5f4b8b;
}

.schedule__table thead th {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 13px;
    line-height: 150%;
    color: #fff;
    text-align: left;
    white-space: nowrap;
    padding: 14px 16px;
}

.schedule__table tbody tr {
    transition: background 0.2s ease;
}

.schedule__table tbody tr:nth-child(even) {
    background: #f4f3f8;
}

.schedule__table tbody tr:hover {
    background: #e9e6f4;
}

.schedule__table tbody td {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #252525;
    padding: 12px 16px;
    white-space: nowrap;
}

.schedule__table .schedule__time {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 13px;
    line-height: 150%;
    color: #5f4b8b;
}






.title.short {
    margin-bottom: 16px;
}

.events__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 720px;
}

.events__text h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 150%;
    color: #5f4b8b;
}

.events__text p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    color: #565656;
}

.events__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    gap: 16px;
}

.event__card {
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 2px 12px 0 rgba(95, 75, 139, 0.07);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px 0 rgba(95, 75, 139, 0.16);
}

.event__card--img {
    border-radius: 28px;
    width: 56px;
    height: 56px;
    background: #f4f3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.event__card:hover .event__card--img {
    transform: scale(1.1);
}

.event__card p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 150%;
    text-align: center;
    color: #252525;
    transition: color 0.25s ease;
}

.event__card:hover p {
    color: #5f4b8b;
}







@media (max-width: 991px) {
    .banner__content {
        padding: 130px 0 48px;
    }

    .banner__title {
        font-size: 42px;
    }

    .banner__desc {
        font-size: 16px;
    }

    .primary {
        padding: 56px 0;
    }

    .title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .primary__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .events__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .banner__content {
        padding: 110px 0 40px;
        gap: 12px;
    }

    .banner__title {
        font-size: 32px;
    }

    .banner__content--tag {
        font-size: 14px;
    }

    .banner__desc {
        font-size: 15px;
    }

    .tabs-nav__item {
        padding: 12px 16px;
        font-size: 12px;
    }

    .primary {
        padding: 48px 0;
    }

    .title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .primary__grid {
        gap: 16px;
    }

    .primary__card--img {
        height: 250px;
    }

    .grading__subtitle {
        font-size: 19px;
    }

    .grading__card {
        padding: 20px;
    }

    .teachers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .primary__text h3 {
        font-size: 19px;
    }

    .events__text h3 {
        font-size: 19px;
    }

    .events__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .banner__content {
        padding: 100px 0 32px;
    }

    .banner__title {
        font-size: 26px;
    }

    .banner__desc br {
        display: none;
    }

    .teachers__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .teacher__card--info {
        padding: 12px;
    }

    .teacher__card--info > p {
        font-size: 13px;
    }

    .teacher__card--info > span {
        font-size: 11px;
    }

    .teacher__card--details p,
    .teacher__card--details li {
        font-size: 11px;
    }

    .grading__row {
        padding: 12px 0;
        gap: 10px;
    }

    .events__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .event__card {
        padding: 16px 12px;
    }

    .event__card--img {
        width: 48px;
        height: 48px;
    }

    .primary__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 410px) {
    .teachers__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}