/* =========================================================
   ВСОШ — MODERN DESIGN
   Без внешних шрифтов
========================================================= */

:root {
    --primary: #0096d2;
    --primary-dark: #007db1;
    --pink: #ca4d97;

    --text: #17212b;
    --muted: #66727e;

    --bg: #f5f7fa;
    --white: #ffffff;
    --border: #e3e7eb;

    --radius: 18px;
    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.5;

    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: var(--container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    height: 76px;

    background: #fff;
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header__inner {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}

.logo img {
    display: block;

    width: 42px;
    height: 42px;

    object-fit: contain;
}

.logo__text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.logo__text strong {
    font-size: 18px;
    font-weight: 700;
}

.logo__text span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}


/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;

    gap: 24px;
}

.navigation > a {
    display: inline-flex;
    align-items: center;

    min-height: 40px;

    font-size: 14px;
    font-weight: 600;

    color: #4d5964;
}

.navigation > a:hover {
    color: var(--primary);
}

.login-button {
    padding: 0 17px;

    border-radius: 10px;

    background: var(--text);
    color: #fff !important;
}

.login-button span {
    margin-left: 10px;
    font-size: 18px;
}

.login-button:hover {
    background: var(--primary);
}


/* MOBILE MENU */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 10px;

    background: var(--bg);

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: var(--text);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;

    background: #fff;

    overflow: hidden;
}

.hero__inner {
    min-height: 560px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 40px;

    align-items: center;

    padding-top: 55px;
    padding-bottom: 65px;
}

.hero__content {
    min-width: 0;
}

.badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    border-radius: 30px;

    background: #f9e8f2;
    color: var(--pink);

    font-size: 11px;
    font-weight: 700;
}

.badge__dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--pink);
}

.hero h1 {
    margin: 22px 0 0;

    max-width: 600px;

    font-size: 58px;
    line-height: 1.04;

    letter-spacing: -2px;

    font-weight: 700;
}

.hero h1 span {
    display: block;

    color: var(--primary);
}

.hero__description {
    max-width: 500px;

    margin: 24px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 20px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}

.button--primary {
    background: var(--primary);
    color: #fff;
}

.button--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button--primary span {
    margin-left: 13px;
    font-size: 17px;
}

.button--secondary {
    background: #fff;

    border: 1px solid var(--border);
}

.button--secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero__visual {
    position: relative;

    min-width: 0;
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 2;

    width: 350px;
    height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #e5f6fc,
            #f8e9f2
        );
}

.hero-card img {
    width: 80%;
    height: 80%;

    object-fit: contain;
}

.floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .08);
}

.floating-card strong {
    display: block;

    font-size: 11px;
}

.floating-card span {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 9px;
}

.floating-card--top {
    top: 45px;
    left: 0;
}

.floating-card--bottom {
    right: 0;
    bottom: 45px;
}

.floating-icon,
.check-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: var(--primary);

    color: #fff;

    font-size: 10px;
    font-weight: 700;
}

.check-icon {
    background: var(--pink);

    font-size: 17px;
}

.decor {
    position: absolute;

    border: 1px solid rgba(0, 150, 210, .12);

    border-radius: 50%;
}

.decor--one {
    width: 400px;
    height: 400px;
}

.decor--two {
    width: 480px;
    height: 480px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 90px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}

.section-label {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.3px;
}

.section-heading h2 {
    margin: 0;

    font-size: 36px;
    line-height: 1.15;

    letter-spacing: -1px;
}

.section-heading > p {
    max-width: 280px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   STAGES
========================================================= */

.stages {
    background: var(--bg);
}

.timeline {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.stage-card {
    position: relative;

    min-width: 0;
    min-height: 335px;

    padding: 25px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.stage-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(20, 40, 60, .08);
}

.stage-card--active {
    background:
        linear-gradient(
            145deg,
            #0096d2,
            #007db1
        );

    border-color: transparent;

    color: #fff;
}

.stage-number {
    margin-bottom: 27px;

    color: #a2acb6;

    font-size: 11px;
    font-weight: 700;
}

.stage-card--active .stage-number {
    color: rgba(255,255,255,.65);
}

.stage-status {
    position: absolute;

    top: 21px;
    right: 20px;

    padding: 4px 7px;

    border-radius: 5px;

    background: rgba(255,255,255,.16);

    color: #fff;

    font-size: 7px;
    font-weight: 700;
}

.stage-card h3 {
    margin: 0 0 13px;

    font-size: 18px;
    line-height: 1.25;
}

.stage-card p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.65;
}

.stage-card--active p {
    color: rgba(255,255,255,.78);
}

.stage-date {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 24px;

    padding-top: 14px;

    border-top: 1px solid var(--border);

    font-size: 10px;
    font-weight: 700;
}

.stage-card--active .stage-date {
    border-color: rgba(255,255,255,.2);
}

.stage-card a {
    position: absolute;

    left: 25px;
    bottom: 60px;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   NEWS
========================================================= */

.news {
    background: #fff;
}

.news-counter {
    color: var(--muted);

    font-size: 12px;
}

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.message-card {
    min-width: 0;
    min-height: 260px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    background: var(--bg);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.message-card:hover {
    transform: translateY(-4px);

    background: #fff;

    box-shadow:
        0 15px 35px rgba(20, 40, 60, .08);
}

.message-date {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 16px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.message-date::before {
    content: "";

    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--primary);
}

.message-theme {
    margin: 0 0 12px;

    font-size: 17px;
    line-height: 1.35;

    font-weight: 700;
}

.message-text {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.message-text a {
    color: var(--primary);

    font-weight: 700;
}

.message-footer {
    margin-top: auto;
    padding-top: 18px;

    color: #9ba4ad;

    font-size: 9px;
}

.no-messages {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    color: #aab2ba;
}

.news-loading {
    grid-column: 1 / -1;

    min-height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: var(--muted);

    font-size: 12px;
}

.loader {
    width: 18px;
    height: 18px;

    border: 2px solid var(--border);
    border-top-color: var(--primary);

    border-radius: 50%;

    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   INFO
========================================================= */

.info {
    background: var(--bg);
}

.info-card {
    min-height: 350px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);

    overflow: hidden;

    border-radius: 25px;

    background: var(--text);

    color: #fff;
}

.info-card__content {
    padding: 50px;
}

.info-card .section-label {
    color: #69cef4;
}

.info-card h2 {
    max-width: 500px;

    margin: 0;

    font-size: 38px;
    line-height: 1.1;

    letter-spacing: -1px;
}

.info-card h2 span {
    color: #63c9ef;
}

.info-card p {
    max-width: 450px;

    margin: 18px 0 0;

    color: rgba(255,255,255,.65);

    font-size: 13px;
}

.info-links {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.info-links a {
    display: flex;
    align-items: center;

    gap: 7px;

    padding: 9px 12px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;

    background: rgba(255,255,255,.07);

    font-size: 10px;
    font-weight: 600;
}

.link-icon {
    color: #63c9ef;
}

.info-card__visual {
    position: relative;

    min-width: 0;

    overflow: hidden;
}

.circle {
    position: absolute;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 50%;
}

.circle--large {
    width: 430px;
    height: 430px;

    top: -40px;
    right: -100px;
}

.circle--small {
    width: 290px;
    height: 290px;

    top: 30px;
    right: 20px;
}

.info-symbol {
    position: absolute;

    top: 50%;
    right: 100px;

    transform: translateY(-50%);

    font-size: 50px;
    font-weight: 700;

    letter-spacing: -3px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #fff;

    border-top: 1px solid var(--border);

    padding: 60px 0 25px;
}

.footer__top {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 50px;
}

.logo--footer {
    margin-bottom: 16px;
}

.footer__brand p {
    max-width: 330px;

    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.7;
}

.footer__column {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer__column h4 {
    margin: 0 0 6px;

    font-size: 11px;
}

.footer__column a {
    color: var(--muted);

    font-size: 11px;
}

.footer__column a:hover {
    color: var(--primary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #9aa3ad;

    font-size: 9px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 14px;
    }

    .navigation > a {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__top {
        grid-template-columns: 2fr 1fr 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header,
    .header__inner {
        height: 68px;
    }

    .navigation {
        display: none;

        position: absolute;

        top: 68px;
        left: 0;
        right: 0;

        padding: 12px 15px 18px;

        flex-direction: column;
        align-items: stretch;

        gap: 3px;

        background: #fff;

        border-bottom: 1px solid var(--border);

        box-shadow: 0 15px 30px rgba(0,0,0,.07);
    }

    .navigation.active {
        display: flex;
    }

    .navigation > a {
        padding: 11px;
    }

    .login-button {
        justify-content: center;
    }

    .menu-button {
        display: block;
    }


    /* HERO */

    .hero__inner {
        display: block;

        min-height: auto;

        padding-top: 50px;
        padding-bottom: 45px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__content .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__visual {
        min-height: 330px;

        margin-top: 20px;
    }

    .hero-card {
        width: 270px;
        height: 270px;
    }

    .floating-card--top {
        left: 0;
        top: 25px;
    }

    .floating-card--bottom {
        right: 0;
        bottom: 25px;
    }


    /* SECTIONS */

    .section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 30px;
    }


    /* STAGES */

    .timeline {
        grid-template-columns: 1fr;
    }

    .stage-card {
        min-height: 280px;
    }


    /* NEWS */

    .news-grid {
        grid-template-columns: 1fr;
    }


    /* INFO */

    .info-card {
        grid-template-columns: 1fr;
    }

    .info-card__content {
        padding: 35px 25px;
    }

    .info-card h2 {
        font-size: 31px;
    }

    .info-card__visual {
        min-height: 190px;
    }

    .info-symbol {
        right: 50%;

        transform:
            translate(50%, -50%);

        font-size: 42px;
    }


    /* FOOTER */

    .footer__top {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .logo img {
        width: 37px;
        height: 37px;
    }

    .logo__text strong {
        font-size: 16px;
    }

    .logo__text span {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__visual {
        min-height: 290px;
    }

    .hero-card {
        width: 230px;
        height: 230px;
    }

    .floating-card {
        transform: scale(.82);
    }

    .floating-card--top {
        left: -18px;
    }

    .floating-card--bottom {
        right: -18px;
    }

    .stage-card {
        min-height: 270px;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
    }

}

