.vstup-steps {
    padding: 60px 0;
    background: #fff;
	margin-bottom: 140px;
}

.vstup-steps__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 0 48px;
}

.vstup-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vstup-step__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vstup-step__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 47px;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
}

.vstup-step__num--blue {
    background: #3aa5e0;
    color: #fff;
}

.vstup-step__num--yellow {
    background: #ffd400;
    color: #1a1a1a;
}

.vstup-step__name {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.1;
	font-family: 'Gilroy Regular', sans-serif;
}

.vstup-step__desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
	font-weight: 300;
	font-family: 'Gilroy Regular', sans-serif;
}

.vstup-steps__line {
    display: block;
    height: 3px;
    margin-top: 48px;
    border-radius: 3px;
    background: linear-gradient(90deg, #3aa5e0 0%, #cfe8f7 60%, #ffffff 100%);
}

/* Адаптив */
@media (max-width: 1024px) {
    .vstup-steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }
}

@media (max-width: 560px) {
    .vstup-steps__grid {
        grid-template-columns: 1fr;
    }
}





.students.marketing {
    padding: 60px 0;
	margin-top: 0;
	
}
.students__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.students__title {
    text-align: center;
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 0 32px;
}

.students__title span {
    color: #56A5E9;
}

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

.student-card {
    background: #fff;
	padding: 20px;
    box-shadow: 0 4px 10px 0 rgba(211, 211, 211, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.student-card__media {
    width: 100%;
    overflow: hidden;
	margin-bottom: 16px;
}

.student-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.student-card__name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #1a1a1a;
	font-family: 'Gilroy Medium', sans-serif;
}

.student-card__salary {
    margin: 0;
    font-size: 16px;
    color: #444;
	font-family: 'Gilroy Medium', sans-serif;
}

/* Адаптив */
@media (max-width: 1024px) {
    .students__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .students__grid {
        grid-template-columns: 1fr;
    }
	.students.marketing .students__inner {
		align-items: center;
	}
}








.learn {
    padding: 60px 0;
}

.learn__title {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 0 32px;
}

/* Переключатель-pill */
.learn__switch {
    display: flex;
    max-width: 712px;
    margin: 0 auto 24px;
    padding: 6px;
    background: #fff;
    border: 1px solid #56A5E9;
    border-radius: 999px;
}

.learn__switch-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    background: transparent;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
	font-family: 'Gilroy Regular', sans-serif;
}

.learn__switch-btn.is-active {
    background: #56A5E9;
    color: #fff;
}

/* Панели */
.learn__panel {
    display: none;
}

.learn__panel.is-active {
    display: block;
}

.learn__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.learn-card {
    background: #fff;
    padding: 18px 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    min-height: 246px;
}

.learn-card__title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
	font-family: 'Gilroy Medium', sans-serif;
}

.learn-card__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
	font-family: 'Gilroy Regular', sans-serif;
}

.learn-card {
    position: relative;
    overflow: hidden;          /* фигуры аккуратно обрезаются по краю карточки */
}

.learn-card__content {
    position: relative;
    z-index: 1;                /* текст всегда поверх декора */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.learn-card__deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}

.learn-card__deco svg {
    display: block;
}

/* Позиции под каждую карточку (как на макете) */
.learn-card--deco-1 .learn-card__deco { top: 0;  right: 0; }
.learn-card--deco-2 .learn-card__deco { bottom: -10px; right: -10px; }
.learn-card--deco-3 .learn-card__deco { top: 90px;  right: -8px; }
.learn-card--deco-4 .learn-card__deco { top: 40px;  right: -6px; }
.learn-card--deco-5 .learn-card__deco { top: 100px; right: 0; }
.learn-card--deco-6 .learn-card__deco { top: 50px;  right: 14px; }



/* Адаптив */
@media (max-width: 1024px) {
    .learn__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .learn__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .learn-card {
        min-height: auto;
    }
}

@media (max-width: 460px) {
    .learn__grid {
        grid-template-columns: 1fr;
    }
}






.why {
    padding: 60px 0;
}

.why__title {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 0 40px;
}

.why__title span {
    color: #56A5E9;
}

.why__list {
    display: flex;
    flex-direction: column;
}

.why-row {
    display: grid;
    grid-template-columns: 1fr auto 1.4fr;
    align-items: center;
    column-gap: 48px;
    padding: 28px 0;
	position: relative;
}

.why-row:last-child {
    border-bottom: none;
}

.why-row::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(86, 165, 233, 1) 0%,
        rgba(86, 165, 233, 0.2) 100%
    );
}

.why-row__title {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
	
}

.why-row__dots {
    display: flex;
    gap: 12px;
    min-width: 180px;        /* колонка точек держит ширину, чтобы описание выравнивалось */
    justify-content: flex-start;
}

.why-row__dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #56A5E9;
    flex: 0 0 auto;
}

.why-row__desc {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: #444;
	font-family: 'Gilroy Regular', sans-serif;
}

/* Адаптив */
@media (max-width: 768px) {
    .why-row {
        grid-template-columns: 1fr;
        row-gap: 14px;
        column-gap: 0;
    }
    .why-row__dots {
        min-width: 0;
    }
    .why-row__title {
        font-size: 22px;
    }
}








.about {
    padding: 60px 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about__label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: #56A5E9;
    margin-bottom: 20px;
	font-family: 'Gilroy Regular', sans-serif;
}

.about__title {
    margin: 0 0 24px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.about__title span {
    color: #56A5E9;        /* акцент «нового покоління» */
}

.about__desc {
    margin: 0 0 40px;
    font-size: 20px;
    line-height: 1.3;
    color: #444;
    max-width: 560px;
	font-family: 'Gilroy Regular', sans-serif;
}

/* Сетка вариантов 2×2 */
.about__variants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    row-gap: 40px;
}

.variant {
    position: relative;
    text-align: center;
}

.variant__title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
	
}

.variant__sub {
    margin: 0;
    font-size: 16px;
    color: #444;
	font-family: 'Gilroy Regular', sans-serif;
}
/* === Вертикаль === */
.variant:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: -28px;          /* центр вертикального зазора */
    width: 1px;
}
/* верх-левая: тянем ВНИЗ в зазор до центра */
.variant:nth-child(1)::after {
    top: 0;
    height: calc(100% + 20px);   /* +половина row-gap */
    background: linear-gradient(180deg, rgba(86,165,233,0) 0%, rgba(86,165,233,0.6) 100%);
}
/* низ-левая: тянем ВВЕРХ из центра */
.variant:nth-child(3)::after {
    top: -20px;                  /* поднимаем старт на половину row-gap */
    height: calc(100% + 20px);
    background: linear-gradient(180deg, rgba(86,165,233,0.6) 0%, rgba(86,165,233,0) 100%);
}

/* === Горизонталь === */
.variant:nth-child(1)::before,
.variant:nth-child(2)::before {
    content: "";
    position: absolute;
    bottom: -20px;          /* центр горизонтального зазора */
    height: 1px;
}
/* верх-левая: тянем ВПРАВО в зазор до центра */
.variant:nth-child(1)::before {
    left: 0;
    width: calc(100% + 28px);    /* +половина column-gap */
    background: linear-gradient(90deg, rgba(86,165,233,0) 0%, rgba(86,165,233,0.6) 100%);
}
/* верх-правая: тянем ВЛЕВО из центра */
.variant:nth-child(2)::before {
    left: -28px;                 /* сдвигаем старт на половину column-gap */
    width: calc(100% + 28px);
    background: linear-gradient(90deg, rgba(86,165,233,0.6) 0%, rgba(86,165,233,0) 100%);
}

/* Адаптив */
@media (max-width: 900px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about__desc {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .about__variants {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    /* убираем вертикальные линии */
    .variant::after {
        display: none;
    }

    /* сбрасываем десктопные горизонтали и делаем единый стиль:
       линия между каждой парой соседних строк (после 1, 2 и 3) */
    .variant::before {
        display: none;          /* сначала гасим всё */
    }

    .variant:nth-child(1)::before,
    .variant:nth-child(2)::before,
    .variant:nth-child(3)::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: -14px;          /* половина row-gap (28 / 2) */
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg,
            rgba(86,165,233,0) 0%,
            rgba(86,165,233,0.6) 50%,
            rgba(86,165,233,0) 100%
        );
    }
}




.marketing-hero {
    position: relative;
    overflow: hidden;
	margin-bottom: 60px;
}

/* Фоновые волны */
.marketing-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url('/wp-content/themes/kneutheme/assets/images/hero-lines.svg') no-repeat;
    background-position: center top;
    background-size: contain;
}

.marketing-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 526px;   /* левый текст тянется, правая картинка фиксирована */
    align-items: center;
    min-height: 600px;
	padding-top: 90px;
}

/* Левый контент выравнивается по общему контейнеру */
.marketing-hero__content {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-right: 48px;
    padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
}

.marketing-hero__title {
    margin: 0 0 28px;
    line-height: 1.0;
    letter-spacing: -0.02em;
}

.marketing-hero__title-main {
    display: block;
    font-size: clamp(32px, 8vw, 68px);
    font-weight: 700;
    color: #1a1a1a;
	margin-bottom: 8px;
}

.marketing-hero__title-accent {
    display: block;
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 400;
    color: #56A5E9;
}

.marketing-hero__desc {
    margin: 0 0 40px;
    font-size: 20px;
    line-height: 1.45;
    color: #444;
    max-width: 617px;
	font-family: 'Gilroy Regular', sans-serif;
}

.marketing-hero__btn {
    display: inline-block;
    padding: 20px 52px;
    background: #56A5E9;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
	font-family: 'Gilroy Regular', sans-serif;
	width: 100%;
	max-width: 253px;
	text-align: center;
}

.marketing-hero__btn:hover {
    background: #3f93d6;
}

/* Правая картинка — прилипает к краю экрана */
.marketing-hero__media {
    width: 526px;
    height: 445px;
}

.marketing-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Адаптив */
@media (max-width: 900px) {
	.marketing-hero__bg {
		display: none;
	}
    .marketing-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .marketing-hero__content {
        padding: 40px 20px;
        order: 2;
    }
    .marketing-hero__media {
        order: 1;
        height: 320px;
    }
    .marketing-hero__desc {
        max-width: none;
		font-size: 16px;
		max-width: 320px;
    }
	.marketing-hero__title {
		max-width: min-content;
	}
}

.page-template-page-marketing .header {
	position: absolute;
	z-index: 50;
}