
/* =========================================
   СТРАНИЦА ИНФОРМАЦИЯ
   Цвета согласованы с основной страницей
========================================= */

:root {
    --info-green: #102d24;
    --info-green-light: #174b39;
    --info-gold: #c9a45c;
    --info-gold-light: #e5d09c;
    --info-cream: #f8f6f0;
    --info-text: #303a34;
    --info-muted: #727b74;
    --info-border: #e7e6df;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

.info-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(201,164,92,.22), transparent 35%),
        linear-gradient(125deg, #0b211a 0%, #174b39 65%, #102d24 100%);
}

.info-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 35px, rgba(255,255,255,.12) 36px, transparent 37px),
        repeating-linear-gradient(-45deg, transparent 0 35px, rgba(255,255,255,.1) 36px, transparent 37px);
    mask-image: linear-gradient(to right, transparent, #000);
}

.info-hero-overlay {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -90px;
    top: 40px;
    border: 1px solid rgba(229,208,156,.2);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(229,208,156,.025),
        0 0 0 75px rgba(229,208,156,.025);
}

.info-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 85px;
    padding-bottom: 105px;
}

.info-eyebrow,
.info-label {
    display: inline-block;
    color: var(--info-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.7;
}

.info-hero h1 {
    max-width: 800px;
    margin: 18px 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.8px;
}

.info-gold-line {
    width: 66px;
    height: 3px;
    margin: 22px 0;
    background: var(--info-gold);
}

.info-hero-content > p {
    max-width: 610px;
    color: rgba(255,255,255,.8);
    font-size: 16px;
    line-height: 1.9;
}

.info-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    padding: 15px 22px;
    border: 1px solid var(--info-gold);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: background .25s, color .25s, transform .25s;
}

.info-button:hover {
    background: var(--info-gold);
    color: var(--info-green);
    transform: translateY(-2px);
}

.info-button span {
    color: var(--info-gold-light);
    font-size: 20px;
}

.info-button:hover span {
    color: var(--info-green);
}

.info-hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 17px 5%;
    border-top: 1px solid rgba(255,255,255,.14);
    color: var(--info-gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
}


/* ОБЩИЕ СЕКЦИИ */

.info-section {
    padding: 100px 0;
}

.teachers-section {
    background: #fff;
}

.info-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.info-heading h2,
.admission-intro h2 {
    margin-top: 10px;
    color: var(--info-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 500;
    line-height: 1.25;
}

.info-heading .info-gold-line {
    margin: 20px auto;
}

.info-heading > p {
    color: var(--info-muted);
    font-size: 15px;
    line-height: 1.9;
}


/* КАРТОЧКИ ПРЕПОДАВАТЕЛЕЙ */

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.teacher-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--info-border);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.teacher-card:hover {
    transform: translateY(-7px);
    border-color: rgba(201,164,92,.7);
    box-shadow: 0 18px 40px rgba(16,45,36,.1);
}

.teacher-photo {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(145deg, #e9e3d5, #c7d1c8);
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s;
}

.teacher-card:hover .teacher-photo img {
    transform: scale(1.05);
}

.teacher-number {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.6);
    background: var(--info-green);
    color: var(--info-gold-light);
    font-size: 13px;
}

.teacher-info {
    padding: 24px 20px 27px;
}

.teacher-caption {
    color: #9a7a3d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.teacher-info h3 {
    margin: 9px 0 4px;
    color: var(--info-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.teacher-subject {
    margin-bottom: 13px;
    color: #9a7a3d;
    font-size: 13px;
    font-weight: 700;
}

.teacher-description {
    color: var(--info-muted);
    font-size: 13px;
    line-height: 1.85;
}


/* ПРАВИЛА ПОСТУПЛЕНИЯ */

.admission-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(201,164,92,.12), transparent 36%),
        var(--info-cream);
}

.admission-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 75px;
    align-items: start;
}

.admission-intro {
    position: sticky;
    top: 30px;
}

.admission-intro h2 {
    max-width: 450px;
}

.admission-intro > p {
    margin-top: 20px;
    color: var(--info-muted);
    font-size: 15px;
    line-height: 1.95;
}

.admission-note {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    border-left: 3px solid var(--info-gold);
    background: #fff;
    box-shadow: 0 8px 25px rgba(16,45,36,.04);
}

.note-symbol {
    flex-shrink: 0;
    color: var(--info-gold);
    font-size: 23px;
}

.admission-note strong {
    color: var(--info-green);
    font-size: 14px;
}

.admission-note p {
    margin-top: 6px;
    color: var(--info-muted);
    font-size: 12px;
    line-height: 1.8;
}

.admission-steps {
    border-top: 1px solid #dcd9ce;
}

.admission-step {
    display: flex;
    gap: 24px;
    padding: 27px 0;
    border-bottom: 1px solid #dcd9ce;
}

.step-number {
    flex-shrink: 0;
    color: #b18b45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.3;
}

.admission-step h3 {
    margin-bottom: 8px;
    color: var(--info-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.admission-step p {
    color: var(--info-muted);
    font-size: 13px;
    line-height: 1.9;
}


/* РЕЙТИНГ СТУДЕНТОВ */

.students-section {
    background: #fff;
}

.students-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 35px;
    border: 1px solid var(--info-border);
    background: var(--info-cream);
}

.students-summary > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 115px;
    padding: 20px 10px;
    text-align: center;
}

.students-summary > div + div {
    border-left: 1px solid var(--info-border);
}

.summary-number {
    color: var(--info-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 600;
}

.summary-text {
    color: var(--info-muted);
    font-size: 12px;
}

.students-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--info-border);
    box-shadow: 0 12px 35px rgba(16,45,36,.05);
}

.students-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.students-table thead {
    background: var(--info-green);
    color: #fff;
}

.students-table th {
    padding: 19px 22px;
    color: var(--info-gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.students-table td {
    padding: 15px 22px;
    border-bottom: 1px solid #eeeee8;
    color: var(--info-text);
    font-size: 13px;
    white-space: nowrap;
}

.students-table tbody tr {
    transition: background .2s;
}

.students-table tbody tr:hover {
    background: var(--info-cream);
}

.students-table tbody tr:last-child td {
    border-bottom: 0;
}

.rank {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--info-border);
    color: var(--info-muted);
    font-size: 12px;
    font-weight: 700;
}

.rank-gold {
    border-color: #c9a45c;
    background: #f8efd8;
    color: #8c6726;
}

.rank-silver {
    border-color: #c4c8c7;
    background: #f0f2f1;
    color: #626d69;
}

.rank-bronze {
    border-color: #d8b29b;
    background: #f8e9df;
    color: #925d3b;
}

.student-name {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--info-green);
    font-weight: 700;
}

.student-avatar {
    display: inline-grid;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 50%;
    background: #e9eee8;
    color: var(--info-green);
    font-size: 12px;
}

.student-score {
    color: #94702f !important;
    font-weight: 700;
}

.students-footnote {
    margin-top: 17px;
    color: var(--info-muted);
    font-size: 12px;
    line-height: 1.8;
}


/* ЗАКЛЮЧИТЕЛЬНЫЙ БЛОК */

.info-quote {
    padding: 75px 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,164,92,.12), transparent 60%),
        var(--info-green);
    color: #fff;
    text-align: center;
}

.quote-star {
    display: block;
    margin-bottom: 15px;
    color: var(--info-gold);
    font-size: 31px;
}

.info-quote p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3.5vw, 37px);
    line-height: 1.55;
}

.quote-caption {
    display: inline-block;
    margin-top: 24px;
    color: var(--info-gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}


/* ПОДВАЛ */

.info-footer {
    padding: 30px 0;
    border-top: 1px solid rgba(201,164,92,.3);
    background: #0b211a;
    color: #fff;
}

.info-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    color: var(--info-gold-light);
    font-size: 15px;
    font-weight: 700;
}

.info-footer-content p {
    color: rgba(255,255,255,.65);
    font-size: 11px;
    text-align: center;
}

.footer-home {
    color: var(--info-gold-light);
    font-size: 12px;
    white-space: nowrap;
    transition: color .2s;
}

.footer-home:hover {
    color: #fff;
}


/* ПЛАНШЕТЫ */

@media (max-width: 1050px) {
    .teacher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .teacher-photo {
        height: 300px;
    }

    .admission-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 35px;
    }

    .info-section,
    .admission-section {
        padding: 80px 0;
    }
}


/* ТЕЛЕФОНЫ */

@media (max-width: 700px) {
    .info-hero {
        min-height: 490px;
    }

    .info-hero-content {
        padding-top: 65px;
        padding-bottom: 90px;
    }

    .info-hero h1 {
        font-size: clamp(35px, 9vw, 49px);
    }

    .info-hero-content > p {
        font-size: 14px;
    }

    .info-hero-bottom {
        padding: 15px 10px;
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .info-section,
    .admission-section {
        padding: 65px 0;
    }

    .info-heading {
        margin-bottom: 32px;
    }

    .info-heading > p {
        font-size: 14px;
    }

    .teacher-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .teacher-photo {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .teacher-info {
        padding: 22px;
    }

    .teacher-info h3 {
        font-size: 22px;
    }

    .admission-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .admission-intro {
        position: static;
    }

    .admission-step {
        gap: 16px;
        padding: 23px 0;
    }

    .admission-step h3 {
        font-size: 18px;
    }

    .students-summary {
        grid-template-columns: 1fr;
    }

    .students-summary > div {
        min-height: 90px;
    }

    .students-summary > div + div {
        border-top: 1px solid var(--info-border);
        border-left: 0;
    }

    .students-table {
        min-width: 590px;
    }

    .students-table th,
    .students-table td {
        padding: 13px 14px;
    }

    .info-quote {
        padding: 55px 0;
    }

    .info-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .info-footer-content p {
        line-height: 1.8;
    }
}


/* МАЛЕНЬКИЕ ТЕЛЕФОНЫ */

@media (max-width: 380px) {
    .info-hero h1 {
        font-size: 33px;
    }

    .info-eyebrow,
    .info-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .info-button {
        gap: 12px;
        padding: 13px 14px;
        font-size: 12px;
    }

    .teacher-info {
        padding: 18px;
    }
}
