/* Foundation Year (редизайн 29.09.2026). Основа — вёрстка страницы вуза (university.css, классы uni-*),
   здесь только своё: ссылка на вуз и лид в шапке, треки программы, сроки подачи.
   Телефон — foundation-mobile.css. */

/* шапка */
.fy-hero__uni { margin-bottom: 18px; }
.fy-hero__uni a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.fy-hero__uni a:hover { color: #e9423d; }
.fy-hero__uni svg { width: 18px; height: 18px; }
.fy-hero__lead { max-width: 32em; margin: 0 0 28px; font-size: 18px; font-weight: 500; line-height: 1.55; color: #272727; }
a.fy-more { display: inline-block; margin-top: 20px; font-size: 16px; font-weight: 600; color: #e9423d; text-decoration: none; }
a.fy-more:hover { text-decoration: underline; }

/* коротко о программе: 6 фактов — сетка 3×2 (у вуза flex: при шести на 1024 выходило 5 + 1,
   на 1280 — тесно и слова рвались посередине) */
@media (min-width: 768px) {
  .fy .uni-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.fy .uni-fact__value { overflow-wrap: break-word; }

/* треки: две карточки рядом */
.fy-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fy-track { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid #dcebe2; border-radius: 22px; background: #fff; box-shadow: 0 6px 24px rgba(39, 39, 39, .05); }
.fy-track__head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.fy-track__level { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 64px; padding: 0 10px; border-radius: 18px; font-size: 22px; font-weight: 700; }
.fy-track--1 .fy-track__level { background: #e3f3ea; color: #23703f; }
.fy-track--2 .fy-track__level { background: #fde8e7; color: #b52d28; }
.fy-track__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; color: #272727; }
.fy-track__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2f7a4f; }
.fy-track--2 .fy-track__label { color: #b52d28; }

.fy-plan { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fy-plan__row { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding: 14px 0; }
.fy-plan__row + .fy-plan__row { border-top: 1px solid #e6efe9; }
.fy-plan__hours { grid-row: 1 / 3; align-self: start; font-size: 22px; font-weight: 700; line-height: 1.1; color: #272727; white-space: nowrap; }
.fy-plan__text { font-size: 15px; line-height: 1.5; color: #272727; }
.fy-plan__bar { display: block; height: 6px; border-radius: 3px; background: #edf1ee; overflow: hidden; }
.fy-plan__bar span { display: block; height: 100%; border-radius: 3px; background: #62ba87; }
.fy-track--2 .fy-plan__bar span { background: #e9423d; }
.fy-track__result { margin-top: auto; padding: 18px 20px; border-radius: 16px; background: #f3f9f5; }
.fy-track--2 .fy-track__result { background: #fdf2f1; }
.fy-track__result p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #272727; }

/* сроки подачи: шаги по волнам */
.fy-waves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.fy-wave { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 20px; background: #f3f9f5; }
.fy-wave__no { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid #62ba87; border-radius: 50%; background: #fff; font-size: 18px; font-weight: 700; color: #2f7a4f; }
.fy-wave:last-child .fy-wave__no { border-color: #e9423d; background: #e9423d; color: #fff; }
.fy-wave__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fy-wave__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2f7a4f; }
.fy-wave__value { font-size: 17px; font-weight: 600; line-height: 1.4; color: #272727; }

/* контакты: 4 карточки — 2×2 на всех широких экранах, без одинокой последней */
.fy-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1022px) {
  .fy-tracks { grid-template-columns: minmax(0, 1fr); }
  .fy-waves { grid-template-columns: minmax(0, 1fr); }
}
