* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111111;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eeeeee;
    backdrop-filter: blur(10px);
}

header .container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}


nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

nav a:hover {
    color: #777777;
}


/* HERO */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;

    background: #f5f7fb;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    padding: 80px 0;
}

.hero .eyebrow {
    color: #163f8f;
}

.hero h1 {
    max-width: 700px;

    font-size: clamp(56px, 7vw, 92px);
    line-height: 0.94;
    letter-spacing: -4px;
    font-weight: 800;
}

.hero h1 span {
    color: #163f8f;
}

.hero-text {
    max-width: 580px;
    margin-top: 35px;

    font-size: 19px;
    line-height: 1.7;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 520px;
}

.chess-decoration {
    width: 440px;
    height: 440px;

    display: grid;
    grid-template-columns: repeat(8, 1fr);

    transform: rotate(-5deg);

    background: #ffffff;

    box-shadow: 25px 30px 70px rgba(22, 63, 143, 0.18);
}

.chess-decoration div {
    background: #ffffff;
}

.chess-decoration div:nth-child(16n+1),
.chess-decoration div:nth-child(16n+3),
.chess-decoration div:nth-child(16n+5),
.chess-decoration div:nth-child(16n+7),
.chess-decoration div:nth-child(16n+10),
.chess-decoration div:nth-child(16n+12),
.chess-decoration div:nth-child(16n+14),
.chess-decoration div:nth-child(16n+16) {
    background: #163f8f;
}

.chess-decoration {
    background-color: #ffffff;

    background-image:
        linear-gradient(45deg, #163f8f 25%, transparent 25%, transparent 75%, #163f8f 75%),
        linear-gradient(45deg, #163f8f 25%, transparent 25%, transparent 75%, #163f8f 75%);

    background-size: 25% 25%;
    background-position: 0 0, 12.5% 12.5%;
    background-repeat: repeat;
}


/* BADGE */

.hero-badge {
    position: absolute;
    bottom: 55px;
    left: 20px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    background: white;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);

    font-size: 13px;
    font-weight: 700;
}

.hero-badge strong {
    color: #163f8f;
    font-size: 20px;
}


/* BUTTONS */

.button {
    display: inline-block;

    padding: 14px 24px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    transition: 0.2s ease;
}

.button.primary {
    background: #111111;
    color: white;
}

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

.button.secondary {
    border: 1px solid #111111;
    color: #111111;
}

.button.secondary:hover {
    background: #111111;
    color: white;
}


/* SECTIONS */

.section {
    padding: 120px 0;
}

.section.light {
    background: #f5f5f3;
}

.section h2,
.contact h2 {
    max-width: 800px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -3px;
}

.section-text {
    max-width: 700px;
    margin-top: 35px;
    font-size: 19px;
    color: #555555;
}


/* ABOUT */

.about {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.about-heading h2 {
    max-width: 500px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.about-heading h2 span {
    color: #163f8f;
}

.about-content {
    max-width: 620px;
}

.about-intro {
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 600;
    color: #222222;
}

.about-content > p:not(.about-intro) {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #666666;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #dddddd;
}

.about-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-stats strong {
    font-size: 14px;
    color: #163f8f;
}

.about-stats span {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}


/* CARDS */

/* TEAM */

.team {
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.team-heading h2 {
    max-width: 520px;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.team-heading h2 span {
    color: #163f8f;
}

.team-member {
    max-width: 620px;
    padding-top: 10px;
}

.team-role {
    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #888888;
}

.team-member h3 {
    margin-bottom: 25px;

    font-size: 34px;
    line-height: 1.1;
}

.team-description {
    max-width: 560px;

    font-size: 18px;
    line-height: 1.7;

    color: #666666;
}

/* TRAINING */

.training {
    background: #f5f5f3;
}

.training-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 100px;
    align-items: end;
}

.training h2 {
    max-width: 600px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.training h2 span {
    color: #163f8f;
}

.training-intro {
    max-width: 420px;
    font-size: 17px;
    line-height: 1.7;
    color: #666666;
}

.training .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 70px;
}

.training .card {
    min-height: 330px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border: 1px solid #dddddd;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.training .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.training .card-number {
    margin: 0;
    font-size: 13px;
    color: #163f8f;
}

.card-arrow {
    font-size: 22px;
    color: #163f8f;
}

.training .card h3 {
    margin-top: auto;
    margin-bottom: 15px;
    font-size: 23px;
}

.training .card p {
    margin-bottom: 25px;
    color: #666666;
}

.training .card a {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.training .card a:hover {
    color: #163f8f;
}


/* EVENTS */

.events {
    background: #ffffff;
}

.events-header {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 100px;
    align-items: end;
}

.events h2 {
    max-width: 600px;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.events h2 span {
    color: #163f8f;
}

.events-intro {
    max-width: 420px;

    font-size: 17px;
    line-height: 1.7;

    color: #666666;
}

.event-list {
    margin-top: 70px;
    border-top: 1px solid #dddddd;
}

.event-item {
    display: grid;
    grid-template-columns: 60px 1fr 70px;
    gap: 30px;
    align-items: center;

    padding: 35px 0;

    border-bottom: 1px solid #dddddd;

    transition: padding 0.2s ease;
}

.event-item:hover {
    padding-left: 15px;
}

.event-number {
    font-size: 13px;
    font-weight: 700;

    color: #163f8f;
}

.event-label {
    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #888888;
}

.event-content h3 {
    margin-bottom: 10px;

    font-size: 25px;
    line-height: 1.2;
}

.event-content > p {
    max-width: 650px;

    color: #666666;
    line-height: 1.6;
}

.event-year {
    font-size: 14px;
    font-weight: 700;

    color: #163f8f;

    text-align: right;
}

/* CONTACT */

.contact {
    padding: 130px 0;
    background: #111111;
    color: #ffffff;
}

.contact .eyebrow {
    color: #8ea8df;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: end;
}

.contact h2 {
    max-width: 700px;
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.95;
    letter-spacing: -4px;
    font-weight: 800;
}

.contact h2 span {
    color: #4e73bd;
}

.contact-text {
    max-width: 520px;
    margin-top: 35px;

    font-size: 19px;
    line-height: 1.7;
    color: #bbbbbb;
}

.contact-info {
    padding-top: 20px;
}

.contact-label {
    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #777777;
}

.contact-email {
    display: inline-block;

    color: #ffffff;
    font-size: 27px;
    font-weight: 600;
    text-decoration: none;

    border-bottom: 1px solid #555555;
    padding-bottom: 8px;
}

.contact-email:hover {
    color: #8ea8df;
}

.contact-actions {
    margin-top: 40px;
}

.contact-button {
    background: #ffffff;
    color: #111111;
}

.contact-button:hover {
    background: #163f8f;
    color: #ffffff;
    transform: translateY(-2px);
}


/* FOOTER */

footer {
    padding: 70px 0 25px;

    background: #111111;
    color: #ffffff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;

    padding-bottom: 60px;

    border-bottom: 1px solid #333333;
}

.footer-brand img {
    width: 150px;
    height: auto;
    display: block;

    margin-bottom: 25px;
}

.footer-brand p {
    max-width: 320px;

    font-size: 14px;
    line-height: 1.7;

    color: #888888;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-label {
    margin-bottom: 18px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #666666;
}

.footer-links a {
    margin-bottom: 10px;

    color: #cccccc;
    text-decoration: none;

    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-top: 25px;
}

.footer-bottom p {
    font-size: 12px;
    color: #666666;
}

/* MOBILE */

@media (max-width: 800px) {

            .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

        .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-heading h2 {
        letter-spacing: -2px;
    }

    .team-member h3 {
        font-size: 28px;
    }

    .about-heading h2 {
        letter-spacing: -2px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

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

    .hero-content {
        padding: 70px 0 30px;
    }

    .hero-visual {
        min-height: 350px;
        padding-bottom: 70px;
    }

    .chess-decoration {
        width: 300px;
        height: 300px;
    }

    .hero-badge {
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    nav {
        display: none;
    }

        header .container {
        min-height: 75px;
    }

    .logo img {
        width: 95px;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .section h2,
    .contact h2 {
        letter-spacing: -2px;
    }

    footer .container {
        flex-direction: column;
        gap: 10px;
    }
    .training-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .training .cards {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .training .card {
        min-height: 280px;
    }
        .events-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .event-list {
        margin-top: 50px;
    }

        .event-item {
        grid-template-columns: 40px 1fr;
        gap: 15px;
        padding: 30px 0;
    }

    .event-year {
        display: none;
    }

    .event-content h3 {
        font-size: 22px;
    }

    .event-content h3 {
        font-size: 22px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact h2 {
        letter-spacing: -2px;
    }

    .contact-email {
        font-size: 21px;
    }

        .contact {
        padding: 90px 0;
    }

    footer {
        padding: 50px 0 20px;
    }

    .footer-brand img {
        width: 100px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}