/* ====================================
   SCHOOL PAGE
==================================== */

.school-page {
    --school-bg: #070706;
    --school-bg-soft: #0b0b0a;
    --school-panel: #0e0e0d;
    --school-panel-light: #13120f;
    --school-gold: #d8b46a;
    --school-gold-light: #f0d58c;
    --school-gold-dark: #9c7128;
    --school-text: #f5f0df;
    --school-muted: rgba(245, 240, 223, .68);
    --school-line: rgba(216, 180, 106, .18);
    --school-content: 1200px;

    min-height: 100vh;
    overflow: hidden;
    color: var(--school-text);
    background:
        radial-gradient(circle at 78% 18%, rgba(216, 180, 106, .045), transparent 25%),
        linear-gradient(90deg, transparent 0 49.96%, rgba(216, 180, 106, .018) 50%, transparent 50.04%),
        var(--school-bg);
    font-family: Manrope, sans-serif;
}

.school-page,
.school-page * {
    box-sizing: border-box;
}

.school-page h1,
.school-page h2,
.school-page h3,
.school-page p,
.school-page dl,
.school-page dd,
.school-page figure {
    margin-top: 0;
}

.school-page h1,
.school-page h2,
.school-page h3 {
    font-family: Montserrat, Manrope, sans-serif;
}

.school-shell,
.school-section {
    width: min(var(--school-content), calc(100% - 48px));
    margin-inline: auto;
}

.school-eyebrow {
    color: var(--school-gold);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.school-section__intro,
.school-section__heading {
    max-width: 900px;
}

.school-section__intro h2,
.school-section__heading h2 {
    max-width: 900px;
    margin: 18px 0 0;
    color: var(--school-text);
    font-size: clamp(34px, 4.15vw, 60px);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.school-section__heading > p {
    max-width: 760px;
    margin: 25px 0 0;
    color: var(--school-muted);
    font-size: 17px;
    line-height: 1.8;
}

.school-section__heading--center {
    margin-inline: auto;
    text-align: center;
}

.school-section__heading--center > p {
    margin-inline: auto;
}

/* HERO */

.school-hero {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    padding: 145px 24px 98px;
    isolation: isolate;
    background: #050505;
}

.school-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

.school-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .82) 46%, rgba(0, 0, 0, .48) 77%, rgba(0, 0, 0, .76) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .52));
}

.school-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    z-index: -1;
    height: 180px;
    background: linear-gradient(to bottom, transparent, rgba(7, 7, 6, .72) 52%, var(--school-bg) 88%);
    filter: blur(10px);
    pointer-events: none;
}

.school-hero__inner {
    width: min(var(--school-content), 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr);
    gap: clamp(54px, 6vw, 92px);
    align-items: center;
}

.school-hero__content {
    max-width: 820px;
}

.school-hero h1 {
    margin: 20px 0 28px;
    color: var(--school-text);
    font-size: clamp(58px, 6.65vw, 96px);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.school-hero h1 span {
    color: var(--school-gold);
}

.school-hero__lead {
    max-width: 770px;
    margin-bottom: 0;
    color: rgba(245, 240, 223, .8);
    font-size: clamp(18px, 1.75vw, 24px);
    line-height: 1.6;
}

.school-hero__actions,
.school-path__actions,
.school-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.school-hero__actions {
    margin-top: 38px;
}

.school-button {
    min-height: 52px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--school-text);
    background: rgba(255, 255, 255, .035);
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .035em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease;
}

.school-button:hover {
    transform: translateY(-2px);
}

.school-button--gold {
    color: #080808;
    background: linear-gradient(135deg, var(--school-gold-light), var(--school-gold), var(--school-gold-dark));
    box-shadow: 0 15px 40px rgba(0, 0, 0, .36), 0 0 26px rgba(216, 180, 106, .14);
}

.school-button--outline {
    color: var(--school-gold-light);
    border-color: rgba(216, 180, 106, .42);
    background: rgba(0, 0, 0, .28);
}

.school-button--outline:hover {
    border-color: rgba(216, 180, 106, .8);
    background: rgba(216, 180, 106, .08);
}

.school-hero__passport {
    position: relative;
    overflow: hidden;
    padding: 34px 36px 30px;
    border: 1px solid rgba(216, 180, 106, .25);
    border-radius: 4px;
    background:
        linear-gradient(145deg, rgba(216, 180, 106, .085), rgba(255, 255, 255, .014) 44%),
        rgba(7, 7, 7, .86);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .018);
}

.school-hero__passport::after {
    content: "";
    position: absolute;
    inset: 11px;
    background:
        linear-gradient(var(--school-gold), var(--school-gold)) left top / 24px 1px no-repeat,
        linear-gradient(var(--school-gold), var(--school-gold)) left top / 1px 24px no-repeat,
        linear-gradient(var(--school-gold), var(--school-gold)) right bottom / 24px 1px no-repeat,
        linear-gradient(var(--school-gold), var(--school-gold)) right bottom / 1px 24px no-repeat;
    opacity: .42;
    pointer-events: none;
}

.school-hero__passport-mark {
    color: var(--school-gold);
    font-family: Montserrat, sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
}

.school-hero__passport-title {
    max-width: 260px;
    margin-top: 13px;
    color: var(--school-text);
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.school-hero__passport-list {
    margin: 30px 0 0;
}

.school-hero__passport-list > div {
    padding: 14px 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    border-top: 1px solid rgba(216, 180, 106, .13);
}

.school-hero__passport-list dt {
    color: rgba(245, 240, 223, .48);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.school-hero__passport-list dd {
    margin: 0;
    color: rgba(245, 240, 223, .87);
    font-size: 14px;
    line-height: 1.55;
}

/* FACTS */

.school-facts {
    position: relative;
    z-index: 3;
    width: min(var(--school-content), calc(100% - 48px));
    margin: -34px auto 82px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--school-line);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(8, 8, 8, .97);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

.school-facts::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 7px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 106, .68), transparent);
}

.school-facts::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(216, 180, 106, .85);
    background: #090909;
    transform: translate(-50%, -50%) rotate(45deg);
}

.school-fact {
    min-height: 194px;
    padding: 31px 27px 26px;
    border-left: 1px solid var(--school-line);
    background: linear-gradient(150deg, rgba(255, 255, 255, .018), transparent 58%);
}

.school-fact:first-child {
    border-left: 0;
}

.school-fact--accent {
    background:
        linear-gradient(150deg, rgba(216, 180, 106, .12), rgba(216, 180, 106, .025) 58%),
        #0a0a0a;
}

.school-fact__number {
    display: block;
    margin-bottom: 22px;
    color: var(--school-gold);
    font-family: Montserrat, sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.school-fact strong {
    display: block;
    color: var(--school-text);
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    line-height: 1.35;
}

.school-fact p {
    margin: 13px 0 0;
    color: rgba(245, 240, 223, .58);
    font-size: 14px;
    line-height: 1.7;
}

/* IDENTITY */

.school-identity {
    position: relative;
    padding-top: 34px;
    padding-bottom: 112px;
}

.school-identity__layout {
    margin-top: 55px;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
    gap: 90px;
    align-items: start;
}

.school-identity__text {
    max-width: 790px;
}

.school-identity__text p {
    margin-bottom: 23px;
    color: var(--school-muted);
    font-size: 17px;
    line-height: 1.82;
}

.school-identity__text .school-lead-text {
    color: var(--school-text);
    font-family: Montserrat, sans-serif;
    font-size: clamp(22px, 2.3vw, 31px);
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -.025em;
}

.school-identity__panel {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(216, 180, 106, .18);
    border-top: 3px solid var(--school-gold);
    background: linear-gradient(145deg, rgba(216, 180, 106, .09), rgba(255, 255, 255, .02));
}

.school-identity__panel-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 28px;
    color: var(--school-gold);
}

.school-identity__panel-icon svg,
.school-practical-card__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.school-identity__panel > span,
.school-practical-card > span {
    display: block;
    color: rgba(245, 240, 223, .45);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.school-identity__panel > strong {
    display: block;
    margin-top: 12px;
    color: var(--school-text);
    font-family: Montserrat, sans-serif;
    font-size: 22px;
    line-height: 1.45;
}

.school-identity__panel p {
    margin: 22px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--school-line);
    color: var(--school-muted);
    font-size: 15px;
    line-height: 1.75;
}

/* HERITAGE */

.school-heritage {
    position: relative;
    padding: 120px 0;
    border-top: 1px solid rgba(216, 180, 106, .12);
    border-bottom: 1px solid rgba(216, 180, 106, .12);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .97), rgba(6, 6, 6, .9) 60%, rgba(7, 7, 7, .82)),
        url('/wp-content/uploads/2026/06/bg_about.jpg') center / cover no-repeat;
}

.school-heritage::after {
    content: "ПЕШЕЧКА";
    position: absolute;
    right: -20px;
    top: 45px;
    color: rgba(216, 180, 106, .035);
    font-family: Montserrat, sans-serif;
    font-size: clamp(70px, 12vw, 180px);
    font-weight: 900;
    letter-spacing: -.055em;
    pointer-events: none;
}

.school-heritage__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    gap: 100px;
    align-items: start;
}

.school-heritage__intro {
    position: sticky;
    top: 110px;
}

.school-heritage__intro h2 {
    margin: 18px 0 0;
    color: var(--school-text);
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.school-heritage__intro p {
    margin: 28px 0 0;
    color: var(--school-muted);
    font-size: 17px;
    line-height: 1.82;
}

.school-text-link {
    margin-top: 29px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--school-gold-light);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.school-text-link span {
    transition: transform .22s ease;
}

.school-text-link:hover span {
    transform: translateX(5px);
}

.school-history-list {
    border-top: 1px solid rgba(216, 180, 106, .18);
}

.school-history-item {
    padding: 32px 0;
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 35px;
    border-bottom: 1px solid rgba(216, 180, 106, .18);
}

.school-history-item__mark {
    color: rgba(216, 180, 106, .58);
    font-family: Montserrat, sans-serif;
    font-size: 31px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.035em;
}

.school-history-item span {
    color: var(--school-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.school-history-item h3 {
    margin: 10px 0 0;
    color: var(--school-text);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 680;
    line-height: 1.35;
}

.school-history-item p {
    max-width: 680px;
    margin: 15px 0 0;
    color: rgba(245, 240, 223, .62);
    font-size: 15px;
    line-height: 1.75;
}

.school-history-item--accent {
    position: relative;
}

.school-history-item--accent::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--school-gold);
}

.school-history-item--accent .school-history-item__mark {
    color: var(--school-gold);
    font-size: 39px;
}

/* TRAINING */

.school-training {
    padding-top: 120px;
    padding-bottom: 120px;
    display: grid;
    grid-template-columns: minmax(340px, .83fr) minmax(0, 1.17fr);
    gap: 85px;
    align-items: center;
}

.school-training__media {
    position: relative;
}

.school-training__media::before {
    content: "";
    position: absolute;
    left: -22px;
    top: -22px;
    width: 46%;
    height: 42%;
    border-top: 1px solid rgba(216, 180, 106, .48);
    border-left: 1px solid rgba(216, 180, 106, .48);
    pointer-events: none;
}

.school-training__media img {
    width: 100%;
    min-height: 570px;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(.8) contrast(1.04);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .45);
}

.school-training__media-caption {
    position: absolute;
    right: -28px;
    bottom: 30px;
    width: min(330px, calc(100% - 30px));
    padding: 24px 26px;
    border-left: 3px solid var(--school-gold);
    background: rgba(7, 7, 7, .92);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .35);
}

.school-training__media-caption span,
.school-training__media-caption strong {
    display: block;
}

.school-training__media-caption span {
    color: var(--school-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.school-training__media-caption strong {
    margin-top: 8px;
    color: var(--school-text);
    font-family: Montserrat, sans-serif;
    font-size: 18px;
}

.school-training__content h2 {
    margin: 18px 0 0;
    color: var(--school-text);
    font-size: clamp(36px, 4.4vw, 61px);
    font-weight: 750;
    line-height: 1.07;
    letter-spacing: -.035em;
}

.school-training__content > p {
    margin: 27px 0 0;
    color: var(--school-muted);
    font-size: 17px;
    line-height: 1.8;
}

.school-training__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--school-line);
    border-left: 1px solid var(--school-line);
}

.school-training__grid article {
    min-height: 205px;
    padding: 25px;
    border-right: 1px solid var(--school-line);
    border-bottom: 1px solid var(--school-line);
}

.school-training__grid article > span {
    color: var(--school-gold);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.school-training__grid h3 {
    margin: 24px 0 0;
    color: var(--school-text);
    font-size: 20px;
    line-height: 1.3;
}

.school-training__grid p {
    margin: 12px 0 0;
    color: rgba(245, 240, 223, .57);
    font-size: 14px;
    line-height: 1.7;
}

/* PATH */

.school-path {
    padding: 115px 0 120px;
    border-top: 1px solid rgba(216, 180, 106, .12);
    border-bottom: 1px solid rgba(216, 180, 106, .12);
    background:
        radial-gradient(circle at 50% -10%, rgba(216, 180, 106, .1), transparent 30%),
        #080808;
}

.school-path__track {
    position: relative;
    margin-top: 62px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.school-path__track::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 73px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 180, 106, .55), transparent);
}

.school-path-card {
    position: relative;
    min-height: 350px;
    padding: 25px 24px 28px;
    border: 1px solid var(--school-line);
    background: linear-gradient(145deg, rgba(216, 180, 106, .06), rgba(255, 255, 255, .012));
}

.school-path-card__index {
    color: rgba(245, 240, 223, .35);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.school-path-card__abbr {
    position: relative;
    z-index: 1;
    width: 98px;
    height: 98px;
    margin: 24px auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: var(--school-gold);
    background:
        linear-gradient(#090909, #090909) padding-box,
        linear-gradient(135deg, rgba(240, 213, 140, .85), rgba(156, 113, 40, .46)) border-box;
    clip-path: polygon(50% 0, 86% 14%, 100% 50%, 86% 86%, 50% 100%, 14% 86%, 0 50%, 14% 14%);
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.school-path-card h3 {
    margin: 0;
    color: var(--school-text);
    font-size: 20px;
    line-height: 1.35;
}

.school-path-card p {
    margin: 15px 0 0;
    color: rgba(245, 240, 223, .58);
    font-size: 14px;
    line-height: 1.72;
}

.school-path__actions {
    margin-top: 42px;
    justify-content: center;
}

.school-path__actions .school-text-link {
    margin-top: 0;
    padding: 14px 10px;
}

/* PRACTICAL */

.school-practical {
    padding-top: 120px;
    padding-bottom: 120px;
}

.school-practical__grid {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.school-practical-card {
    min-height: 260px;
    padding: 29px;
    border: 1px solid var(--school-line);
    background: linear-gradient(145deg, rgba(255, 255, 255, .018), transparent 60%);
}

.school-practical-card--large {
    grid-row: span 2;
    min-height: 536px;
    padding: 36px;
    background:
        radial-gradient(circle at 70% 18%, rgba(216, 180, 106, .13), transparent 25%),
        linear-gradient(145deg, rgba(216, 180, 106, .09), rgba(255, 255, 255, .015));
}

.school-practical-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 110px;
    color: var(--school-gold);
}

.school-practical-card h3 {
    margin: 14px 0 0;
    color: var(--school-text);
    font-size: 23px;
    line-height: 1.3;
}

.school-practical-card--large h3 {
    font-size: 34px;
}

.school-practical-card p {
    margin: 16px 0 0;
    color: rgba(245, 240, 223, .6);
    font-size: 15px;
    line-height: 1.72;
}

/* CTA */

.school-cta {
    position: relative;
    width: min(var(--school-content), calc(100% - 48px));
    margin: 0 auto 120px;
    padding: 54px 58px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    align-items: center;
    border: 1px solid rgba(216, 180, 106, .26);
    background:
        linear-gradient(110deg, rgba(216, 180, 106, .11), rgba(255, 255, 255, .018) 48%, transparent),
        #0b0b0b;
}

.school-cta__decoration {
    display: none;
}

.school-cta__content,
.school-cta__actions {
    position: relative;
    z-index: 1;
}

.school-cta h2 {
    max-width: 760px;
    margin: 15px 0 0;
    color: var(--school-text);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.school-cta p {
    max-width: 740px;
    margin: 21px 0 0;
    color: var(--school-muted);
    font-size: 16px;
    line-height: 1.75;
}

.school-cta__actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 235px;
}

/* MODALS */

body.school-modal-open {
    overflow: hidden;
}

.school-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .84);
    backdrop-filter: blur(8px);
}

.school-modal.is-open {
    display: flex;
}

.school-modal__dialog {
    position: relative;
    width: min(100%, 760px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(216, 180, 106, .28);
    border-radius: 22px;
    color: var(--school-text);
    background:
        radial-gradient(circle at 85% 0%, rgba(216, 180, 106, .09), transparent 26%),
        #0c0c0c;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .7);
}

.school-modal__dialog--form {
    padding: 38px;
}

.school-modal__dialog--schedule {
    width: min(1540px, 100%);
    padding: 34px;
}

.school-modal__close {
    position: absolute;
    right: 17px;
    top: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 180, 106, .28);
    border-radius: 50%;
    color: var(--school-gold);
    background: rgba(0, 0, 0, .55);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.school-modal__head {
    padding-right: 55px;
}

.school-modal__head h2 {
    margin: 12px 0 0;
    color: var(--school-text);
    font-size: clamp(27px, 3vw, 41px);
    line-height: 1.15;
}

.school-modal__head p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--school-muted);
    font-size: 14px;
    line-height: 1.7;
}

.enroll-form {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.enroll-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.enroll-form label {
    display: grid;
    gap: 8px;
}

.enroll-form label > span {
    color: rgba(245, 240, 223, .7);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
}

.enroll-form input,
.enroll-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(216, 180, 106, .2);
    border-radius: 9px;
    outline: none;
    color: var(--school-text);
    background: rgba(255, 255, 255, .04);
    font: 500 15px/1.4 Manrope, sans-serif;
}

.enroll-form input:focus,
.enroll-form textarea:focus {
    border-color: rgba(216, 180, 106, .7);
    box-shadow: 0 0 0 3px rgba(216, 180, 106, .08);
}

.enroll-form textarea {
    resize: vertical;
}

.enroll-form__submit {
    width: 100%;
    border: 0;
    margin-top: 4px;
}

.schedule-table-wrapper {
    margin-top: 26px;
    overflow: auto;
    border: 1px solid rgba(216, 180, 106, .18);
    border-radius: 14px;
}

.schedule-table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
    color: rgba(245, 240, 223, .8);
    background: #090909;
    font-size: 12px;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 10px;
    border-right: 1px solid rgba(216, 180, 106, .12);
    border-bottom: 1px solid rgba(216, 180, 106, .12);
    text-align: center;
    vertical-align: middle;
}

.schedule-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #080808;
    background: var(--school-gold);
    font-weight: 850;
    letter-spacing: .03em;
}

.schedule-table td:nth-child(2) {
    color: var(--school-text);
    font-weight: 700;
    line-height: 1.45;
}

.schedule-table .coach-row:first-of-type td,
.schedule-table tr.coach-row td {
    background: rgba(216, 180, 106, .025);
}

.schedule-time {
    color: var(--school-gold-light);
    font-weight: 700;
    white-space: nowrap;
}

.schedule-time small {
    color: rgba(245, 240, 223, .48);
    font-weight: 500;
}

.toast-success {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 100000;
    padding: 14px 22px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 25px);
    color: #080808;
    background: var(--school-gold);
    font-size: 14px;
    font-weight: 800;
    transition: opacity .25s ease, transform .25s ease;
}

.toast-success.active {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .school-hero__inner,
    .school-identity__layout,
    .school-heritage__inner,
    .school-training {
        gap: 55px;
    }

    .school-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-fact:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--school-line);
    }

    .school-fact:nth-child(4) {
        border-top: 1px solid var(--school-line);
    }

    .school-path__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-path__track::before {
        display: none;
    }

    .school-practical__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-practical-card--large {
        grid-row: span 2;
    }
}

@media (max-width: 940px) {
    .school-hero {
        min-height: auto;
        padding-top: 120px;
    }

    .school-hero__inner,
    .school-identity__layout,
    .school-heritage__inner,
    .school-training,
    .school-cta {
        grid-template-columns: 1fr;
    }

    .school-hero__passport {
        max-width: 580px;
    }

    .school-heritage__intro {
        position: static;
    }

    .school-training__media {
        max-width: 700px;
    }

    .school-training__media img {
        min-height: 520px;
    }

    .school-cta__actions {
        min-width: 0;
        flex-direction: row;
    }
}

@media (max-width: 720px) {
    .school-shell,
    .school-section,
    .school-facts,
    .school-cta {
        width: min(100% - 32px, var(--school-content));
    }

    .school-hero {
        padding: 105px 16px 88px;
    }

    .school-hero::before {
        background: linear-gradient(90deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .68));
    }

    .school-hero h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .school-hero__actions,
    .school-path__actions,
    .school-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .school-button {
        width: 100%;
    }

    .school-hero__passport {
        padding: 26px 22px;
    }

    .school-hero__passport-list > div {
        grid-template-columns: 86px 1fr;
    }

    .school-facts {
        grid-template-columns: 1fr;
        margin-top: -35px;
        margin-bottom: 85px;
    }

    .school-fact,
    .school-fact:nth-child(2),
    .school-fact:nth-child(3),
    .school-fact:nth-child(4) {
        min-height: auto;
        border-left: 0;
        border-top: 1px solid var(--school-line);
    }

    .school-fact:first-child {
        border-top: 0;
    }

    .school-identity,
    .school-training,
    .school-practical {
        padding-bottom: 90px;
    }

    .school-heritage,
    .school-path {
        padding: 90px 0;
    }

    .school-history-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .school-history-item--accent::before {
        left: -16px;
    }

    .school-training {
        padding-top: 90px;
    }

    .school-training__media::before {
        display: none;
    }

    .school-training__media img {
        min-height: 430px;
    }

    .school-training__media-caption {
        right: 14px;
        bottom: 14px;
    }

    .school-training__grid,
    .school-path__track,
    .school-practical__grid,
    .enroll-form__grid {
        grid-template-columns: 1fr;
    }

    .school-training__grid article {
        min-height: auto;
    }

    .school-path-card {
        min-height: auto;
    }

    .school-practical-card,
    .school-practical-card--large {
        min-height: auto;
        grid-row: auto;
    }

    .school-practical-card__icon {
        margin-bottom: 70px;
    }

    .school-cta {
        padding: 38px 26px;
        margin-bottom: 90px;
    }

    .school-cta__decoration {
        right: -30px;
        top: 20px;
        transform: none;
        font-size: 150px;
    }

    .school-modal {
        padding: 12px;
    }

    .school-modal__dialog--form,
    .school-modal__dialog--schedule {
        padding: 27px 18px 20px;
        max-height: calc(100vh - 24px);
        border-radius: 16px;
    }

    .school-modal__head {
        padding-right: 35px;
    }

    .school-modal__close {
        right: 10px;
        top: 10px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 440px) {
    .school-hero h1 {
        font-size: 45px;
    }

    .school-hero__lead {
        font-size: 17px;
    }

    .school-hero__passport-list > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .school-section__intro h2,
    .school-section__heading h2,
    .school-training__content h2,
    .school-heritage__intro h2,
    .school-cta h2 {
        font-size: 34px;
    }

    .school-training__media img {
        min-height: 360px;
    }
}