@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Montserrat", sans-serif;
    position: relative;
    outline: none;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    background: #FFF;
    overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
}

.wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 2.6vw;
}

.wrapper.without-block {
    padding: 0 4.17vw;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.header .wrapper {
    background: #FFF;
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.19vw 0;
    height: 100px;
}

.top-header--logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.top-header--logo a {
    display: block;
    font-size: 0;
}

.top-header--logo a svg,
.top-header--logo .header-logo-img {
    width: 9.22vw;
    height: auto;
    max-height: 2.2vw;
    object-fit: contain;
}
.top-header--logo a svg {
    fill: #000;
}

.top-header--logo-registration {
    margin-top: 0.52vw;
    font-size: 0.55vw;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

.top-header--menu ul {
    display: flex;
    margin: 0;
    align-items: center;
    list-style: none;
    gap: 3.65vw;
}

/* Скрываем кнопку "Связаться с нами" в десктопном меню */
.top-header--menu ul .mobile-menu-contact-btn {
    display: none;
}

.top-header--menu ul a {
    display: block;
    padding: 5px 10px;
    font-size: 1vw;
    font-weight: 300;
    color: #000;
    border-radius: 50px;
    border: 2px solid transparent;
    line-height: normal;
    text-decoration: none;
    transition: border-color .3s ease-in-out;
}

/* .top-header--menu ul a:hover {
    border-color: #000;
} */

.top-header--callback-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.top-header--callback-text {
    color: #000;
    font-size: 1vw;
    font-weight: 500;
}

.top-header--callback-img {
    padding-left: 1.56vw;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-header--callback-img img,
.top-header--callback-img svg {
    width: 1.77vw;
    height: 1.77vw;
    color: #000;
}

.video {
    position: sticky;
    top: 100px;
    transform: scale(1);
    opacity: 1;
    transition: .03s ease-in-out;
}

.video-container {
    width: 100%;
    height: calc(100vh - 100px - 7vh);
    border-radius: 30px;
    overflow: hidden;
    background-color: #000;
}

.video-container > div {
    visibility: hidden;
}

.video-container > .video-container--frame {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container--frame video {
    min-width: 100%;
    min-height: 100%;
}

.video-container--frame {
    transform: scale(2);
    width: 100%;
    height: 100%;
}

.video-container--text {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 3;
    top: 30px;
    left: 40px;
    max-width: 680px;
    mix-blend-mode: difference;
}

.video-container--text-title {
    color: #FFF;
    font-weight: 600;
    font-size: 3.85vw;
}

.video-container--noise {
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.05;
    background: url("../img/noise.png");
    animation: 5s linear 0s infinite noise;
}

.video-container--text-description {
    margin-top: 20px;
    color: #FFF;
    font-size: 2.34vw;
    font-weight: 600;
}

.video-container--text span {
    display: block;
}

.video-container--scroll {
    position: absolute;
    z-index: 3;
    right: 2.34vw;
    bottom: 1.88vw;
    font-size: 0;
    visibility: hidden;
}

.video-container--scroll.animate__animated {
    opacity: 1;
}

.video-container--scroll-text {
    width: 6.98vw;
    height: 6.98vw;
    background: url("../img/scroll-text.png") no-repeat;
    background-size: contain;
    animation: 10s linear 0s infinite scroll-text;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container--scroll-arrow {
    width: 1.46vw;
    height: 2.71vw;
    background: url("../img/scroll-arrow.png") no-repeat;
    background-size: cover;
    animation: 10s linear 0s infinite scroll-arrow;
}

.product {
    margin-top: 7vh;
}

.product-text {
    display: flex;
    flex-direction: column;
    max-width: 40.6vw;
}

.product-text--title {
    color: #FFF;
    font-weight: 600;
    font-size: 3.85vw;
}

.product-text--description {
    margin-top: 20px;
    color: #FFF;
    font-size: 2.34vw;
    font-weight: 600;
}

.product-container {
    background: url("../img/product-20252.png") no-repeat #000;
    background-position: 40vw 0;
    background-size: 45vw;
    width: 100%;
    min-height: 56.7vw;
    border-radius: 30px;
    overflow: hidden;
    padding: 2.19vw 1.98vw 5.21vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-advantages {
    display: flex;
    gap: 100px;
    margin-top: 9vw;
}

.product-advantages--item {
    font-size: 1.46vw;
    font-weight: 400;
    color: #FFF;
    max-width: 33.33%;
    width: 100%;
}

.product-order--text {
    font-size: 2.7vw;
    color: #FFF;
}

.product-order {
    max-width: 31vw;
    margin-top: 10.4vw;
}

.product-order--btn {
    margin-top: 1.72vw;
}

.product-order--btn a {
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    padding: 0.6vw 2.08vw;
    border-radius: 50px;
    border: 2px solid #FFF;
    font-size: 1.35vw;
    font-weight: 500;
    background: transparent;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    min-width: fit-content;
    text-align: center;
    white-space: nowrap;
}

.product-order--btn a:hover {
    /* background: #9765ED; */
    border-color: #9765ED;
}

.advantages {
    padding-top: 3.13vw;
    background: #FFF;
}

.advantages-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.advantages-header--title {
    font-size: 4.69vw;
    font-weight: 600;
}

.advantages-header--info {
    font-size: 1.46vw;
    font-weight: 400;
    width: 100%;
    max-width: 31.24vw;
}

.advantages-header--info span {
    display: block;
    font-weight: 600;
}

.advantages-item {
    margin-top: 4.32vw;
    width: 100%;
    max-width: 31.24vw;
}

.advantages-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advantages-item--title {
    font-size: 2.34vw;
    font-weight: 600;
}

.advantages-item--description {
    margin-top: 1.72vw;
    font-size: 1.46vw;
    font-weight: 400;
}

.advantages-footer {
    display: flex;
    justify-content: space-between;
    gap: 1.56vw;
    margin-top: 4.9vw;
}

.advantages-box--item {
    width: 100%;
    padding: 2.34vw 1.57vw 3.12vw;
    border: 2px solid #000;
    border-radius: 26px;
    background: transparent;
    transition: .3s ease-in-out;
}

.advantages-box--item-title {
    font-size: 2.34vw;
    font-weight: 600;
}

.advantages-box--item-description {
    margin-top: 0.94vw;
    font-weight: 400;
    font-size: 1.46vw;
}

.advantages-box--item:hover {
    border-color:#9765ED;
    background:#9765ED;
    color: #FFF;
    cursor:default;
}

.advantages-btn {
    margin-top: 2.6vw;
}

.advantages-btn a {
    display: inline-block;
    font-size: 1.35vw;
    text-decoration: none;
    color: #000;
    padding: 0.6vw 2.08vw;
    border-radius: 50px;
    border: 2px solid #000;
    background: transparent;
    transition: background .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
    min-width: fit-content;
    text-align: center;
    white-space: nowrap;
}

.advantages-btn a:hover {
    /* background:#9765ED; */
    border-color: #9765ED;
    color: #FFF;
}

.readings {
    padding-top: 3.85vw;
    background: #FFF;
}

.readings-container {
    display: grid;
    grid: 1fr 1fr 1fr / 1fr 1fr 1fr;
    grid-gap: 1.56vw;
    margin-top: 3.91vw;
}

.readings-title {
    font-size: 4.69vw;
    font-weight: 600;
}

.readings-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.34vw 1.57vw;
    border-radius: 26px;
    border: 2px solid #000;
    width: 100%;
    background: #FFF;
    font-size: 1.46vw;
    font-weight: 400;
}

.readings-item.transparent {
    opacity: 0;
}

.readings-br {
    display: none;
}

.protocol {
    background: #FFF;
    padding-top: 5.21vw;
    min-height: 550px;
}

.protocol-container {
    background: url("../img/protocol.png") top right no-repeat #9765ED;
    background-size: 51.93vw;
    padding: 2.81vw 1.57vw;
    min-height: 550px;
    border-radius: 40px;
    width: 100%;
}

.protocol-container > div {
    opacity: 0;
}

.education-item--content {
    margin-bottom: 15px;
}

.protocol-container {
    /* transform: scale(0.5);
    border-radius:300px; */
    /* top: calc(-40vh + 5.21vw); */
    transform: translateY(-70%) scale(0.2);
    border-radius: 300px;
    width: 100%;
}

.protocol-text {
    font-size: 3.07vw;
    font-weight: 600;
    color: #FFF;
    max-width: 53.54vw;
}

.protocol-btn {
    margin-top: 3.54vw;
}

.protocol-btn a {
    display: inline-block;
    font-size: 1.35vw;
    text-decoration: none;
    color: #FFF;
    padding: 0.6vw 2.08vw;
    border-radius: 50px;
    border: 2px solid #FFF;
    background: transparent;
    transition: background .3s ease-in-out, color .3s ease-in-out;
    min-width: fit-content;
    text-align: center;
    white-space: nowrap;
}

.protocol-btn a:hover {
    /* background: #FFF; */
    color: #9765ED;
}

.education {
    padding: 3.91vw 0;
    background: #FFF;
    z-index: 2;
}

.education-title {
    font-size: 4.69vw;
    font-weight: 600;
}

.education-description {
    margin-top: 2.19vw;
    font-size: 2.34vw;
    font-weight: 500;
    max-width: 54vw;
}

/* Календарь обучения */
.education-calendar-container {
    display: grid;
    grid-template-columns: 0.65fr 1.85fr;
    gap: 3.91vw;
    margin-top: 4.18vw;
}

/* Левая колонка - информация о тренере */
.education-calendar--trainer {
    background: #9765ED;
    border-radius: 26px;
    padding: 3.91vw;
    color: #FFF;
    display: flex;
    flex-direction: column;
    position: relative;
}

.education-calendar--trainer-photo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.6vw;
}

.education-calendar--trainer-photo {
    width: 85%;
    max-width: 280px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.trainer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFF;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.trainer-nav[style*="display: flex"],
.trainer-nav[style*="display:flex"] {
    display: flex !important;
}

.trainer-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.trainer-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.trainer-nav--prev {
    left: -10px;
}

.trainer-nav--next {
    right: -10px;
}

.trainer-nav svg {
    width: 24px;
    height: 24px;
}

.education-calendar--trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.education-calendar--trainer-photo img[src=""] {
    opacity: 0;
}

.education-calendar--trainer-name {
    font-size: 1.4vw;
    font-weight: 600;
    margin-bottom: 1.56vw;
    line-height: 1.4;
    text-align: center;
}

.education-calendar--trainer-bio {
    font-size: 1.0vw;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
    text-align: center;
}

/* Правая колонка - детали события и календарь */
.education-calendar--content {
    display: flex;
    flex-direction: column;
    gap: 3.91vw;
}

/* Обертка для события и календаря */
.education-calendar--event-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2.6vw;
    align-items: start;
}

/* Детали события */
.education-calendar--event {
    background: #FFF;
    border: 2px solid #000;
    border-radius: 26px;
    padding: 2.6vw;
    border-right: none;
    border-bottom: none;
}

.education-calendar--event-date {
    font-size: 1.4vw;
    font-weight: 500;
    color: #9765ED;
    margin-bottom: 1.04vw;
}

.education-calendar--event-type {
    font-size: 1.1vw;
    font-weight: 500;
    color: #9765ED;
    margin-bottom: 1.56vw;
}

.education-calendar--event-title {
    font-size: 2.2vw;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 2.6vw;
    text-transform: uppercase;
}

.education-calendar--event-title .event-subtitle {
    font-size: 1.4vw;
    font-weight: 400;
    margin-top: 0.52vw;
    text-transform: none;
}

.education-calendar--event-info {
    display: flex;
    flex-direction: column;
    gap: 1.04vw;
    margin-bottom: 2.6vw;
}

.education-calendar--event-info-item {
    display: flex;
    font-size: 1.0vw;
    line-height: 1.5;
}

.education-calendar--event-info-item .info-label {
    font-weight: 600;
    min-width: 180px;
    color: #000;
}

.education-calendar--event-info-item .info-value {
    color: #666;
    flex: 1;
}

.education-calendar--event-buttons {
    display: flex;
    gap: 1.56vw;
    flex-wrap: wrap;
    margin-top: 1.56vw;
}

.education-calendar--event-register {
    display: inline-block;
    font-size: 1.1vw;
    text-decoration: none;
    color: #FFF;
    padding: 0.6vw 2.08vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    font-weight: 500;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.education-calendar--event-register:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
}

/* Календарь */
.education-calendar--calendar {
    background: #FFF;
    border-radius: 26px;
    padding: 2.08vw;
    border: 2px solid #000;
    max-width: 100%;
}

.education-calendar--calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.08vw;
}

.calendar-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.52vw;
    color: #9765ED;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.calendar-nav:hover {
    opacity: 0.7;
}

.calendar-nav svg {
    width: 20px;
    height: 20px;
}

.calendar-month-year {
    font-size: 1.1vw;
    font-weight: 600;
    color: #9765ED;
}

.education-calendar--calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.52vw;
    margin-bottom: 1.04vw;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.8vw;
    font-weight: 600;
    color: #666;
    padding: 0.52vw;
}

.education-calendar--calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.52vw;
    margin-bottom: 2.08vw;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8vw;
    font-weight: 400;
    color: #000;
    cursor: default;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.calendar-day--other {
    color: #ccc;
    cursor: default;
}

.calendar-day--has-event {
    color: #9765ED;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #9765ED;
}

.calendar-day--has-event:hover {
    background: rgba(151, 101, 237, 0.1);
}

.calendar-day--selected {
    background: #9765ED;
    color: #FFF;
    font-weight: 600;
    border: 2px solid #9765ED;
}

.education-calendar--calendar-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.56vw;
    padding-top: 2.08vw;
    border-top: 1px solid #e0e0e0;
}

.calendar-footer-text {
    font-size: 0.8vw;
    color: #666;
    text-align: center;
}

.education-calendar--calendar-footer .btn-animate {
    display: inline-block;
    font-size: 0.8vw;
    text-decoration: none;
    color: #FFF;
    padding: 0.6vw 1.56vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    font-weight: 500;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.education-calendar--calendar-footer .btn-animate:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
}

.education-calendar--calendar-footer .btn-animate span {
    position: relative;
    z-index: 2;
}

.contacts {
    background: #FFF;
    padding-bottom: 6.77vw;
}

.contacts-title {
    font-size: 4.69vw;
    font-weight: 600;
}

.contacts-container {
    margin-top: 3.91vw;
    display: grid;
    grid: 1fr / 1fr 1fr;
    grid-gap: 6.77vw;
}

.contacts-info--description {
    font-size: 2.34vw;
    font-weight: 500;
}

.contacts-info--text {
    margin-top: 4.4vw;
    font-size: 2.34vw;
    font-weight: 600;
}

.contacts-form form {
    display: flex;
    flex-direction: column;
    gap: 1.77vw;
}

.contacts-form--actions {
    margin-top: 1.56vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.6vw;
    flex-wrap: wrap;
}

.contacts-whatsapp-btn {
    display: inline-block;
    text-decoration: none;
}

.contacts-form form input[type="submit"] {
    display: inline-block;
    font-size: 1.35vw;
    text-decoration: none;
    color: #000;
    padding: 0.52vw 1.15vw;
    border-radius: 50px;
    border: 2px solid #000;
    background: transparent;
    transition: background .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
    cursor: pointer;
}

.contacts-form form input[type="submit"]:hover {
    background:#9765ED;
    border-color: #9765ED;
    color: #FFF;
    cursor: pointer;
}

.contacts-form--input input {
    border-radius: 26px;
    border: 2px solid #000;
    width: 100%;
    padding: 1.4vw 1.56vw;
    font-size: 1.35vw;
    font-weight: 300;
}

.contacts-form--input input::placeholder {
    color: #BFBFBF;
}

.footer {
    padding: 3.13vw 0 4.43vw;
    background: #000;
}

.footer-container--row {
    display: flex;
    gap: 2.6vw;
    align-items: center;
}

.footer-container--logo {
    font-size: 0;
    max-width: 4.79vw;
}

.footer-container--logo img {
    max-width: 100%;
}

.footer-container--about {
    color: #FFF;
    font-size: 1.3vw;
    font-weight: 500;
}

.footer-container--menu {
    margin-top: 2.71vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container--menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.82vw;
}

.footer-container--menu ul a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFF;
    font-size: 1.67vw;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-container--menu ul a::after {
    content: "";
    width: 1.82vw;
    height: 1.82vw;
    background: url("../img/footer-arrow.svg") no-repeat;
    background-size: contain;
    margin-left: 0.3vw;
}

.footer-container--menu-phone a {
    display: inline-block;
    color: #FFF;
    font-size: 1.67vw;
    font-weight: 600;
    text-decoration: none;
}

.footer-container--privacy {
    display: block;
    margin-top: 2.71vw;
    text-align: left;
}

.footer-privacy-link {
    display: inline-block;
    color: #FFF;
    font-size: 1.04vw;
    font-weight: 400;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-privacy-link:hover {
    opacity: 1;
}

.btn-animate {
    overflow: hidden;
}

.btn-animate span {
    z-index: 2;
}

.btn-circle {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    animation: 1s linear 0s 1 btn-circle;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
}

.btn-circle-animate {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    width: 0;
    height: 0;
    background: transparent;
    transition: width .3s ease-in-out, height .3s ease-in-out, background .3s ease-in-out;
}

.purple .btn-circle-animate {
    background: #9765ED;
}

.white .btn-circle-animate {
    background: #FFF;
}

.btn-animate:hover .btn-circle-animate {
    width: 600px;
    height: 600px;
}

.overlay-welcome--content {
    z-index: 200;
    position: fixed;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10vw;
    top:0;
    left:0;
    right: 0;
    pointer-events: none;
    bottom: 0;
}

.overlay-welcome {
    position: fixed;
    background: #000;
    display: flex;
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
    pointer-events: none;
}

.overlay-welcome--title {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 7vw;
}

.overlay-welcome--description {
    margin-top: 1.5vw;
    font-size: 4vw;
    font-weight: 500;
}

.mobile-first {
    display: none;
}

.mobile-first--container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.mobile-first--img-container {
    display: flex;
    align-items: center;
}

.mobile-first--letter,
.mobile-first--img-bracket {
    font-size: 20vw;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-first--container--scroll {
    position: absolute;
    z-index: 3;
    right: 2.34vw;
    bottom: 1.88vw;
    font-size: 0;
    visibility: hidden;
}

.mobile-first--container--scroll.animate__animated {
    opacity: 1;
}

.mobile-first--container--scroll-text {
    width: 12vw;
    height: 12vw;
    background: url("../img/scroll-text-black.png") no-repeat;
    background-size: contain;
    animation: 10s linear 0s infinite scroll-text;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-first--container--scroll-arrow {
    width: 2.92vw;
    height: 5.42vw;
    background: url("../img/scroll-arrow-black.png") no-repeat;
    background-size: cover;
    animation: 10s linear 0s infinite scroll-arrow;
}

.mobile-first--img {
    pointer-events: none;
}

.form-container {
    pointer-events: none;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    transition: opacity .3s ease-in-out;
    padding: 0;
}

.form-container.active {
    opacity: 1;
    pointer-events: all;
}

.form-box {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    padding: 15px;
    width: 100%;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 0 30px 15px rgba(0, 0, 0, .5);
}

.form-request-link .form-box,
.form-seminar .form-box,
.form-seminar-gabueva .form-box,
.form-seminar-hanukaeva .form-box {
    max-width: 600px;
    padding: 2.6vw;
}

.form-title {
    text-align: left;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 8px;
}

/* Модальное окно выбора мессенджера */
.contact-modal .form-box {
    max-width: 500px;
    padding: 2.6vw;
}

.contact-modal--buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-modal--btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

.contact-modal--btn-tg {
    background: #0088cc;
    color: #FFF;
    border-color: #0088cc;
}

.contact-modal--btn-tg:hover {
    background: #0077b5;
    border-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.contact-modal--btn-wa {
    background: #25D366;
    color: #FFF;
    border-color: #25D366;
}

.contact-modal--btn-wa:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.contact-modal--btn-max {
    background: #000;
    color: #FFF;
    border-color: #000;
}

.contact-modal--btn-max:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-modal--btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.form-request-link .form-title,
.form-seminar .form-title,
.form-seminar-gabueva .form-title,
.form-seminar-hanukaeva .form-title {
    font-size: 2.08vw;
    margin-bottom: 2.08vw;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
}

.form-subtitle {
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    color: #444;
    margin-bottom: 10px;
}

.form-body--input {
    margin: 15px 0;
}

.form-request-link .form-body--grid,
.form-seminar .form-body--grid,
.form-seminar-gabueva .form-body--grid,
.form-seminar-hanukaeva .form-body--grid,
.form-webinar .form-body--grid,
.form-protocol .form-body--grid,
.form-order .form-body--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.56vw;
    margin-bottom: 1.56vw;
}

.form-request-link .form-body--input,
.form-seminar .form-body--input,
.form-seminar-gabueva .form-body--input,
.form-seminar-hanukaeva .form-body--input,
.form-webinar .form-body--input,
.form-protocol .form-body--input,
.form-order .form-body--input {
    margin: 0;
}

.form-request-link .form-body--textarea,
.form-seminar .form-body--textarea,
.form-seminar-gabueva .form-body--textarea,
.form-seminar-hanukaeva .form-body--textarea,
.form-webinar .form-body--textarea,
.form-protocol .form-body--textarea,
.form-order .form-body--textarea {
    grid-column: 1 / -1;
    margin-bottom: 1.56vw;
}

.form-request-link .form-body--input textarea,
.form-seminar .form-body--input textarea,
.form-seminar-gabueva .form-body--input textarea,
.form-seminar-hanukaeva .form-body--input textarea,
.form-webinar .form-body--input textarea,
.form-protocol .form-body--input textarea,
.form-order .form-body--input textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 1.04vw;
    font-size: 1.04vw;
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
    resize: vertical;
    min-height: 100px;
}

.form-request-link .form-body--input textarea::placeholder,
.form-seminar .form-body--input textarea::placeholder,
.form-seminar-gabueva .form-body--input textarea::placeholder,
.form-seminar-hanukaeva .form-body--input textarea::placeholder,
.form-webinar .form-body--input textarea::placeholder,
.form-protocol .form-body--input textarea::placeholder,
.form-order .form-body--input textarea::placeholder {
    color: #BFBFBF;
}

.form-request-link .form-body--input input,
.form-seminar .form-body--input input,
.form-seminar-gabueva .form-body--input input,
.form-seminar-hanukaeva .form-body--input input,
.form-webinar .form-body--input input,
.form-protocol .form-body--input input,
.form-order .form-body--input input {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 1.04vw;
    font-size: 1.04vw;
    font-weight: 300;
    transition: border-color .3s ease-in-out;
}

.form-request-link .form-body--input input:focus,
.form-seminar .form-body--input input:focus,
.form-seminar-gabueva .form-body--input input:focus,
.form-seminar-hanukaeva .form-body--input input:focus,
.form-webinar .form-body--input input:focus,
.form-protocol .form-body--input input:focus,
.form-order .form-body--input input:focus,
.form-request-link .form-body--input textarea:focus,
.form-seminar .form-body--input textarea:focus,
.form-seminar-gabueva .form-body--input textarea:focus,
.form-seminar-hanukaeva .form-body--input textarea:focus,
.form-webinar .form-body--input textarea:focus,
.form-protocol .form-body--input textarea:focus,
.form-order .form-body--input textarea:focus {
    outline: none;
    border-color: #9765ED;
}

.form-request-link .form-body--footer,
.form-seminar .form-body--footer,
.form-seminar-gabueva .form-body--footer,
.form-seminar-hanukaeva .form-body--footer,
.form-webinar .form-body--footer,
.form-protocol .form-body--footer,
.form-order .form-body--footer {
    display: flex;
    flex-direction: column;
    gap: 1.56vw;
    margin-top: 1.56vw;
}

.form-request-link .form-body--legal,
.form-seminar .form-body--legal,
.form-seminar-gabueva .form-body--legal,
.form-seminar-hanukaeva .form-body--legal,
.form-webinar .form-body--legal,
.form-protocol .form-body--legal,
.form-order .form-body--legal {
    font-size: 0.73vw;
    color: #666;
    line-height: 1.5;
}

.form-request-link .form-body--legal a,
.form-seminar .form-body--legal a,
.form-seminar-gabueva .form-body--legal a,
.form-seminar-hanukaeva .form-body--legal a,
.form-webinar .form-body--legal a,
.form-protocol .form-body--legal a,
.form-order .form-body--legal a {
    color: #9765ED;
    text-decoration: underline;
}

.form-request-link--btn,
.form-seminar--btn {
    align-self: flex-end;
    background: #FFF !important;
    border: 3px solid #9765ED !important;
    color: #000 !important;
    font-size: 0.9vw !important;
    font-weight: 600 !important;
    padding: 0.78vw 2.6vw !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    transition: background .3s ease-in-out, color .3s ease-in-out !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.form-request-link--btn:hover,
.form-seminar--btn:hover {
    background: #9765ED !important;
    color: #FFF !important;
    border-color: #9765ED !important;
}

.form-request-link--btn .btn-circle-animate,
.form-seminar--btn .btn-circle-animate {
    background: #9765ED !important;
}

.form-request-link--btn span,
.form-seminar--btn span {
    position: relative;
    z-index: 2;
}

.form-body--input input {
    border-radius: 26px;
    border: 2px solid #000;
    width: 100%;
    padding: 1vw 1vw;
    font-size: 16px;
    font-weight: 300;
}

.form-body--input input::placeholder {
    color: #BFBFBF;
}

.form-body input[type="submit"] {
    display: inline-block;
    font-size: 1.35vw;
    text-decoration: none;
    color: #000;
    padding: 0.52vw 1.15vw;
    border-radius: 50px;
    border: 2px solid #000;
    background: transparent;
    align-self: flex-start;
    display: block;
    margin: 30px auto 0;
    transition: background .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}

.form-body input[type="submit"]:hover {
    border-color: #9765ED;
    background: #9765ED;
    color: #FFF;
    cursor: pointer;
}

.form-footer {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    font-weight: 300;
    color: #888;
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    pointer-events: none;
    opacity: 0;
    background: rgba(0, 0, 0, .8);
    transition: opacity .3s ease-in-out;
}

.form-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.education-item--speaker {
    display: none;
}

.header-mobile {
    display: none;
}
/* На мобильных устройствах header-mobile показывается */
@media screen and (max-width: 480px) {
    .header-mobile {
        display: flex;
    }
}

.white-block {
    border-radius: 34px;
    background: #FFF;
    overflow: hidden;
}

.mobile-first--container {
    display: none;
}

.result-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background:rgba(0, 0, 0, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}

.result-box {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
    background: #FFF;
    font-size: 18px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .8);
    position: relative;
    z-index: 101;
}

.result-container.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.menu-bar {
    border-radius: 50px;
    border: 1px solid #000;
    position: absolute;
    z-index: 1;
    opacity: 0;
    left: 0;
    width: 0;
    height: 0;
    transition: .3s ease-in-out;
}

.top-header--menu ul {
    z-index: 2;
}

.form-close {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background:url("../img/close.svg") center center no-repeat;
    background-size: contain;
    cursor: pointer;
}

.getcourse-mini {
    padding: 5.2vw 0;
    background: #F6F3FF;
}

.getcourse-mini__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.56vw;
}

.getcourse-mini__title {
    font-size: 3.13vw;
    font-weight: 600;
    color: #000;
}

.getcourse-mini__text {
    font-size: 1.35vw;
    color: #444;
    max-width: 52vw;
}

.getcourse-mini__btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.78vw 2.6vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    color: #FFF;
    font-size: 1.04vw;
    font-weight: 600;
    transition: background .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}

.getcourse-mini__btn:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
    color: #FFF;
}

.articles-section {
    padding: 5.2vw 0 6.25vw;
    background: #FFF;
}

.articles-section__header {
    display: flex;
    flex-direction: column;
    gap: 1.04vw;
    margin-bottom: 3.12vw;
}

.articles-section__catalog-btn-mobile {
    display: none;
}

.articles-section__title {
    font-size: 4.69vw;
    font-weight: 600;
    color: #000;
}

.articles-section__subtitle {
    font-size: 1.35vw;
    color: #444;
    max-width: 60vw;
}

.articles-section__catalog-btn {
    text-align: center;
    margin-top: 3.65vw;
}

.articles-catalog-btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.8vw 2.6vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    color: #FFF;
    font-size: 1.15vw;
    font-weight: 600;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.articles-catalog-btn:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
}

.error-404 {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5.2vw 0;
}

.error-404__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-404__number {
    font-size: 12vw;
    font-weight: 700;
    color: #9765ED;
    line-height: 1;
    margin-bottom: 1.56vw;
    opacity: 0.2;
}

.error-404__title {
    font-size: 3.13vw;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.04vw;
}

.error-404__text {
    font-size: 1.15vw;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3.12vw;
}

.error-404__actions {
    display: flex;
    gap: 1.56vw;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404__btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.8vw 2.6vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    color: #FFF;
    font-size: 1.15vw;
    font-weight: 600;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.error-404__btn:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
}

.error-404__btn--outline {
    background: transparent;
    color: #9765ED;
}

.error-404__btn--outline:hover {
    background: #9765ED;
    color: #FFF;
}

.articles-cards-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1.04vw;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #9765ED rgba(151, 101, 237, 0.2);
}

.articles-cards-scroll::-webkit-scrollbar {
    height: 8px;
}

.articles-cards-scroll::-webkit-scrollbar-track {
    background: rgba(151, 101, 237, 0.1);
    border-radius: 10px;
}

.articles-cards-scroll::-webkit-scrollbar-thumb {
    background: #9765ED;
    border-radius: 10px;
}

.articles-cards-scroll::-webkit-scrollbar-thumb:hover {
    background: #7d4fc7;
}

.articles-cards {
    display: flex;
    gap: 2.6vw;
    width: max-content;
}

.articles-section .articles-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.articles-carousel-wrapper {
    position: relative;
    margin: 0 -2.6vw;
    padding: 0 4.5vw;
}

.articles-section .articles-cards-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
    scroll-snap-type: x mandatory;
}

.articles-section .articles-cards-scroll::-webkit-scrollbar {
    display: none;
}

.articles-section .articles-cards-scroll .articles-cards {
    display: flex;
    width: max-content;
    gap: 2.6vw;
}

.articles-section .articles-cards-scroll .articles-card {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.articles-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #9765ED;
    border: 2px solid #9765ED;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(151, 101, 237, 0.3);
    vertical-align: middle;
}

.articles-carousel__btn:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
    box-shadow: 0 4px 12px rgba(151, 101, 237, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.articles-carousel__btn:active {
    transform: translateY(-50%) scale(0.95);
}

.articles-carousel__btn svg {
    width: 24px;
    height: 24px;
}

.articles-carousel__btn--prev {
    left: 0;
}

.articles-carousel__btn--next {
    right: 0;
}

.articles-carousel__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.articles-card {
    border: 2px solid #000;
    border-radius: 26px;
    padding: 2.6vw;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.08vw;
    background: #FFF;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.articles-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.articles-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(151, 101, 237, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.articles-card__icon--alt {
    background: rgba(151, 101, 237, 0.2);
}

.articles-card__icon-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #9765ED;
    box-shadow: 0 0 0 12px rgba(151, 101, 237, 0.15);
    animation: articles-pulse 2.6s ease-in-out infinite;
}

.articles-card__content {
    display: flex;
    flex-direction: column;
    gap: 1.04vw;
}

.articles-card__title {
    font-size: 1.56vw;
    font-weight: 600;
    color: #000;
}

.articles-card__text {
    font-size: 1.15vw;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1.04vw;
}

.articles-card__author {
    font-size: 0.94vw;
    line-height: 1.5;
    color: #9765ED;
    font-weight: 500;
    margin-bottom: 1.56vw;
    font-style: italic;
}

.articles-card__btn {
    align-self: flex-start;
    display: inline-block;
    text-decoration: none;
    padding: 0.6vw 2.08vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    color: #FFF;
    font-size: 0.95vw;
    font-weight: 600;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
    overflow: hidden;
}

@keyframes articles-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(151, 101, 237, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(151, 101, 237, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(151, 101, 237, 0.35);
        transform: scale(1);
    }
}

.article-page {
    padding: 5.2vw 0 6.25vw;
    background: #FFF;
}

.article-page__header {
    display: flex;
    flex-direction: column;
    gap: 1.56vw;
    margin-bottom: 3.12vw;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-page__header-content {
    display: flex;
    gap: 2.6vw;
    align-items: flex-start;
}

.article-page__header-left {
    flex: 1 1 auto;
    min-width: 0;
}

.article-page__header-right {
    flex: 0 0 auto;
    min-width: 250px;
}

.article-page__intro {
    font-size: 1.04vw;
    line-height: 1.6;
    color: #333;
    margin-top: 1.04vw;
}

.article-page__back a {
    color: #9765ED;
    text-decoration: none;
}

.article-page__title {
    font-size: 3.13vw;
    font-weight: 600;
    color: #000;
}

.article-page__meta {
    display: flex;
    align-items: center;
    gap: 2.08vw;
    margin-top: -0.5vw;
    flex-wrap: wrap;
}

.article-page__reading-time,
.article-page__views {
    display: flex;
    align-items: center;
    gap: 0.52vw;
    font-size: 0.94vw;
    color: #666;
}

.article-page__reading-time svg,
.article-page__views svg {
    width: 16px;
    height: 16px;
    stroke: #9765ED;
    fill: none;
    flex-shrink: 0;
}

.article-page__views svg {
    fill: #9765ED;
    stroke: none;
}

.article-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.52vw;
    font-size: 0.94vw;
    color: #666;
    margin-top: 1.04vw;
    margin-bottom: 1.56vw;
    flex-wrap: wrap;
}

.article-page__breadcrumbs a {
    color: #9765ED;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-page__breadcrumbs a:hover {
    color: #7d4fc7;
    text-decoration: underline;
}

.article-page__breadcrumbs span:last-child {
    color: #000;
}

.article-page__share {
    margin-top: 3.12vw;
    padding-top: 2.6vw;
    border-top: 1px solid #E4E4E4;
}

.article-page__share-title {
    font-size: 1.15vw;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.04vw;
}

.article-page__share-buttons {
    display: flex;
    gap: 1.04vw;
    flex-wrap: wrap;
}

.article-page__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.52vw;
    padding: 0.6vw 1.3vw;
    border-radius: 50px;
    border: 2px solid;
    text-decoration: none;
    font-size: 0.94vw;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-page__share-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.article-page__share-btn--vk {
    border-color: #4680C2;
    color: #4680C2;
    background: transparent;
}

.article-page__share-btn--vk:hover {
    background: #4680C2;
    color: #FFF;
}

.article-page__share-btn--tg {
    border-color: #0088cc;
    color: #0088cc;
    background: transparent;
}

.article-page__share-btn--tg:hover {
    background: #0088cc;
    color: #FFF;
}

.article-page__share-btn--wa {
    border-color: #25D366;
    color: #25D366;
    background: transparent;
}

.article-page__share-btn--wa:hover {
    background: #25D366;
    color: #FFF;
}

.article-page__share-btn--max {
    border-color: #0066FF;
    color: #0066FF;
    background: transparent;
}

.article-page__share-btn--max:hover {
    background: #0066FF;
    color: #FFF;
}

.article-page__toc {
    border: 2px solid #000;
    border-radius: 20px;
    padding: 1.56vw;
    background: #F9F9FF;
}

.article-page__toc-title {
    font-weight: 600;
    margin-bottom: 0.78vw;
}

.article-page__toc ul {
    margin: 0;
    padding-left: 1.56vw;
    list-style: none;
}

.article-page__toc ul li {
    margin-bottom: 0.78vw;
    position: relative;
    padding-left: 1.04vw;
}

.article-page__toc ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #9765ED;
    font-weight: 600;
}

.article-page__toc ul li a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-page__toc ul li a:hover {
    color: #9765ED;
    text-decoration: underline;
}

.article-page__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 1.15vw;
    line-height: 1.8;
    color: #222;
    max-width: 900px;
    margin: 0 auto;
}

.article-page__content h2 {
    font-size: 2.08vw;
    margin-top: 3.12vw;
    margin-bottom: 1.56vw;
    font-weight: 600;
    color: #000;
    scroll-margin-top: 100px;
}

.article-page__content h2:first-of-type {
    margin-top: 0;
}

.article-page__content p {
    margin-bottom: 1.56vw;
    text-indent: 2.08vw;
    text-align: justify;
    hyphens: auto;
}

.article-page__content h2 + p,
.article-page__content .article-page__image + p,
.article-page__content .article-page__image ~ p:first-of-type {
    text-indent: 0;
}

.article-page__content ul {
    padding-left: 1.56vw;
    margin-bottom: 1.56vw;
}

.article-page__content ul li {
    margin-bottom: 0.78vw;
    line-height: 1.7;
}

.article-page__content strong {
    font-weight: 600;
    color: #000;
}

.article-page__image {
    display: flex;
    flex-direction: column;
    gap: 0.78vw;
    align-items: center;
    margin: 2.6vw 0;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Layout для картинок и текста рядом (стиль SNA) */
.article-page__content-with-image {
    display: flex;
    gap: 2.6vw;
    align-items: flex-start;
    margin: 2.6vw 0;
    flex-wrap: wrap;
}

.article-page__content-with-image .article-page__image {
    flex: 0 0 auto;
    max-width: 45%;
    margin: 0;
    min-width: 300px;
}

.article-page__content-with-image .article-page__text {
    flex: 1 1 auto;
    min-width: 300px;
}

.article-page__content-with-image .article-page__text ul,
.article-page__content-with-image .article-page__text ol {
    margin: 1.56vw 0;
    padding-left: 2.08vw;
}

.article-page__content-with-image .article-page__text li {
    margin-bottom: 0.78vw;
    line-height: 1.7;
}

.article-page__content-grid {
    align-items: flex-start;
}

.article-page__images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.04vw;
    flex: 0 0 auto;
    max-width: 45%;
    min-width: 300px;
}

.article-page__images-grid .article-page__image {
    margin: 0;
    width: 100%;
}

.article-page__images-grid .article-page__image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-page__images-grid .article-page__image img:hover {
    box-shadow: 0 4px 16px rgba(151, 101, 237, 0.15);
    transform: scale(1.02);
}

.article-page__images-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.04vw;
    flex: 0 0 auto;
    max-width: 45%;
    min-width: 300px;
}

.article-page__images-vertical .article-page__image {
    margin: 0;
    width: 100%;
}

.article-page__images-vertical .article-page__image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-page__images-vertical .article-page__image img:hover {
    box-shadow: 0 4px 16px rgba(151, 101, 237, 0.15);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .article-page__content-with-image {
        flex-direction: column;
    }
    
    .article-page__content-with-image .article-page__image {
        max-width: 100%;
    }
    
    .article-page__header-content {
        flex-direction: column;
    }
    
    .article-page__header-right {
        min-width: 100%;
    }
    
    .article-page__images-grid {
        max-width: 100%;
        min-width: 100%;
    }
    
    .article-page__images-vertical {
        max-width: 100%;
        min-width: 100%;
    }
    
    .article-page__intro {
        font-size: 16px;
    }
}

/* Блок автора статьи */
.article-page__author {
    display: flex;
    gap: 1.56vw;
    align-items: flex-start;
    margin: 2.6vw 0;
    padding: 1.56vw;
    background: #F9F9FF;
    border-radius: 12px;
    border: 1px solid #E4E4E4;
}

.article-page__author-photo {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #9765ED;
}

.article-page__author-info {
    flex: 1 1 auto;
}

.article-page__author-name {
    font-size: 1.25vw;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.52vw;
}

.article-page__author-title {
    font-size: 1vw;
    color: #666;
    line-height: 1.6;
}

.article-page__authors {
    display: flex;
    flex-direction: column;
    gap: 1.56vw;
}

.article-page__authors--side-by-side {
    flex-direction: row;
    gap: 2.6vw;
    align-items: flex-start;
    margin: 2.6vw 0;
    padding: 1.56vw;
    background: #F9F9FF;
    border-radius: 12px;
    border: 1px solid #E4E4E4;
}

.article-page__authors-photos {
    display: flex;
    flex-direction: column;
    gap: 1.56vw;
    flex: 0 0 auto;
}

.article-page__author-photo-wrapper {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
}

.article-page__authors--side-by-side .article-page__author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #9765ED;
    display: block;
}

.article-page__authors-info {
    display: flex;
    flex-direction: column;
    gap: 1.56vw;
    flex: 1 1 auto;
}

.article-page__authors--side-by-side .article-page__author {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .article-page__author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .article-page__author-photo {
        width: 100px;
        height: 100px;
    }
    
    .article-page__author-name {
        font-size: 18px;
    }
    
    .article-page__author-title {
        font-size: 14px;
    }
    
    .article-page__authors--side-by-side {
        flex-direction: column;
        align-items: center;
    }
    
    .article-page__authors-photos {
        flex-direction: row;
        justify-content: center;
        gap: 1vw;
    }
    
    .article-page__authors--side-by-side .article-page__author-photo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .article-page__authors--side-by-side .article-page__author-photo {
        width: 100px;
        height: 100px;
    }
}

.article-page__image img,
.article-page__content img {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
    border: 1px solid #E4E4E4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.article-page__image img:hover,
.article-page__content img:hover {
    box-shadow: 0 4px 16px rgba(151, 101, 237, 0.15);
    transform: scale(1.02);
}

/* Lightbox для увеличения изображений */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100vh;
    height: 100dvh; /* Для мобильных браузеров */
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.image-lightbox__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    padding: 60px 20px 20px;
    box-sizing: border-box;
}

.image-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.image-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.image-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.image-lightbox__close svg {
    width: 24px;
    height: 24px;
    stroke: #FFF;
    stroke-width: 2;
}

/* Стрелки навигации в lightbox */
.image-lightbox__prev,
.image-lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    padding: 0;
    margin: 0;
}

.image-lightbox__prev {
    left: 20px;
}

.image-lightbox__next {
    right: 20px;
}

.image-lightbox__prev:hover,
.image-lightbox__next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.image-lightbox__prev.disabled,
.image-lightbox__next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.image-lightbox__prev svg,
.image-lightbox__next svg {
    width: 28px;
    height: 28px;
    stroke: #FFF;
    stroke-width: 2;
}

.article-page__caption {
    font-size: 0.9vw;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 0.52vw;
}

.after-before {
    padding-bottom: 50px;
}

.ab-title {
    font-size: 4.69vw;
    font-weight: 600;
    color: #000;
}

.ab-item {
    padding: 15px;
    text-align: center;
    font-size: 0;
}

.ab-item img {
    max-width: calc(100% - 130px);
    max-height: 80vh;
    margin: 0 auto;
}

.ab-arrows--item {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.ab-arrows--item.left {
    left: 5px;
    background: url("../img/arrow-left.svg") no-repeat;
    background-size: contain;
    background-position: left center;
}

.ab-arrows--item.right {
    right: 5px;
    background: url("../img/arrow-right.svg") no-repeat;
    background-size: contain;
    background-position: right center;
}

.ab-slider {
    margin-top: 30px;
}

.ab-slider img,
.ab-item img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-slider img:hover,
.ab-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(151, 101, 237, 0.2);
}


/* .overlay-welcome,
    .overlay-welcome--content {
        display: none;
} */
@keyframes btn-circle {
    from {
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, .4);
        opacity: 1;
    }
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes scroll-text {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

@keyframes scroll-arrow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes noise {
    0% {
        background-position:-10% -10%;
    }
    50% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 10% 10%;
    }
}

.blur {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.notice {display:none;background:#000;color:#fff;box-shadow:0 0 5px #666;width:245px;padding:20px;border-radius:5px;position:fixed;top:10px;left:10px;z-index:9999999;opacity: 0.9;font-size:14px;}

.scroll-to-top {
    position: fixed;
    bottom: 3.12vw;
    right: 3.12vw;
    width: 3.65vw;
    height: 3.65vw;
    background: #9765ED;
    border: 2px solid #9765ED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(151, 101, 237, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(151, 101, 237, 0.4);
}

.scroll-to-top svg {
    width: 1.56vw;
    height: 1.56vw;
    fill: #FFF;
    transition: transform 0.3s ease-in-out;
}

.scroll-to-top:hover svg {
    transform: translateY(-3px);
}

@media screen and (max-width: 990px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 30px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

.related-articles {
    padding: 5.2vw 0;
    background: #F9F9FF;
}

.related-articles__header {
    margin-bottom: 3.12vw;
}

.related-articles__title {
    font-size: 2.6vw;
    font-weight: 600;
    color: #000;
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.6vw;
}

.related-articles__card {
    border: 2px solid #000;
    border-radius: 26px;
    padding: 2.6vw;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.08vw;
    background: #FFF;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.related-articles__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.related-articles__card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(151, 101, 237, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.related-articles__card-icon-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #9765ED;
    box-shadow: 0 0 0 12px rgba(151, 101, 237, 0.15);
    animation: articles-pulse 2.6s ease-in-out infinite;
}

.related-articles__card-content {
    display: flex;
    flex-direction: column;
    gap: 1.04vw;
    min-width: 0;
}

.related-articles__card-title {
    font-size: 1.3vw;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin: 0;
}

.related-articles__card-description {
    font-size: 1.04vw;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

.related-articles__card-author {
    font-size: 0.94vw;
    line-height: 1.5;
    color: #9765ED;
    font-weight: 500;
    font-style: italic;
}

.related-articles__card-btn {
    align-self: flex-start;
    display: inline-block;
    text-decoration: none;
    padding: 0.6vw 2.08vw;
    border-radius: 50px;
    border: 2px solid #9765ED;
    background: #9765ED;
    color: #FFF;
    font-size: 0.95vw;
    font-weight: 600;
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
    position: relative;
    overflow: hidden;
    margin-top: 0.52vw;
}

.related-articles__card-btn:hover {
    background: #7d4fc7;
    border-color: #7d4fc7;
    color: #FFF;
}

@media screen and (max-width: 990px) {
    .related-articles {
        padding: 50px 0;
    }
    
    .related-articles__title {
        font-size: 26px;
    }
    
    .related-articles__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-articles__card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
    
    .related-articles__card-title {
        font-size: 18px;
    }
    
    .related-articles__card-description {
        font-size: 14px;
    }
    
    .related-articles__card-author {
        font-size: 13px;
    }
    
    .related-articles__card-btn {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px 24px;
    }
}