@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
    --paper: #ffffff;
    --ink: #071a33;
    --muted: #607083;
    --line: #e4e9f0;
    --line-strong: #cdd7e4;
    --mist: #f5f8fc;
    --mist-strong: #eaf0f7;
    --steel: #052f5f;
    --blue: #073f7b;
    --blue-deep: #03264c;
    --yellow: #f5c21b;
    --yellow-soft: #fff4c7;
    --radius: 8px;
    --shadow: 0 20px 60px rgba(5, 47, 95, 0.12);
    --container: min(1180px, calc(100% - 32px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(228, 233, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    background: #ffffff;
    color: var(--steel);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.brand-logo {
    width: 100%;
    height: 100%;
    padding: 2px;
    background: #ffffff;
    object-fit: contain;
}

.brand-title {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-subtitle {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.is-active {
    background: var(--yellow-soft);
    color: var(--blue-deep);
}

.lang-toggle {
    flex: 0 0 auto;
    margin-left: 2px;
    min-width: 52px;
    height: 42px;
    border: 1px solid rgba(7, 63, 123, 0.16);
    border-radius: var(--radius);
    background: var(--blue-deep);
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.lang-toggle:hover {
    background: var(--yellow);
    color: var(--blue-deep);
}

.site-menu {
    position: relative;
    flex: 0 0 auto;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(7, 63, 123, 0.16);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--blue-deep);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.menu-toggle:hover,
.site-menu.is-open .menu-toggle {
    background: var(--yellow-soft);
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    min-width: 220px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.18s ease;
}

.site-menu.is-open .menu-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-dropdown a {
    padding: 11px 12px;
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.menu-dropdown a:hover,
.menu-dropdown a.is-active {
    background: var(--yellow-soft);
    color: var(--blue-deep);
}

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    align-items: end;
    position: relative;
    overflow: hidden;
    background: #d9dee4;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 38, 76, 0.94), rgba(7, 63, 123, 0.72) 52%, rgba(245, 194, 27, 0.22)),
        linear-gradient(135deg, var(--blue-deep), var(--blue) 58%, var(--yellow));
}

.hero.home-hero::before {
    background:
        linear-gradient(90deg, rgba(3, 38, 76, 0.94), rgba(7, 63, 123, 0.72) 52%, rgba(245, 194, 27, 0.22)),
        linear-gradient(135deg, var(--blue-deep), var(--blue) 58%, var(--yellow));
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
    padding: 80px 0 96px;
    color: #ffffff;
}

.hero-emblem {
    position: absolute;
    z-index: 1;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 58px;
    width: min(38vw, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(3, 38, 76, 0.34);
    overflow: hidden;
}

.hero-emblem img {
    height: 100%;
    object-fit: contain;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    font-size: 82px;
    line-height: 0.98;
}

.hero p {
    max-width: 640px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
}

.button.primary {
    background: var(--yellow);
    color: var(--blue-deep);
}

.button.secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    background: rgba(5, 47, 95, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero .button.primary {
    background: var(--yellow);
    color: var(--blue-deep);
}

.page-hero {
    position: relative;
    padding: 86px 0 54px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(245, 248, 252, 0.92), rgba(255, 255, 255, 1)),
        linear-gradient(135deg, rgba(7, 63, 123, 0.1), rgba(245, 194, 27, 0.18));
    overflow: hidden;
}

.page-hero.team-page {
    background:
        linear-gradient(180deg, rgba(245, 248, 252, 0.92), rgba(255, 255, 255, 1)),
        linear-gradient(135deg, rgba(7, 63, 123, 0.1), rgba(245, 194, 27, 0.18));
}

.page-hero.athletes-page {
    background:
        linear-gradient(180deg, rgba(245, 248, 252, 0.92), rgba(255, 255, 255, 1)),
        linear-gradient(135deg, rgba(7, 63, 123, 0.1), rgba(245, 194, 27, 0.18));
}

.page-hero.about-page {
    background:
        linear-gradient(180deg, rgba(245, 248, 252, 0.92), rgba(255, 255, 255, 1)),
        linear-gradient(135deg, rgba(7, 63, 123, 0.1), rgba(245, 194, 27, 0.18));
}

.page-hero.contact-page {
    background:
        linear-gradient(180deg, rgba(245, 248, 252, 0.92), rgba(255, 255, 255, 1)),
        linear-gradient(135deg, rgba(7, 63, 123, 0.1), rgba(245, 194, 27, 0.18));
}

.page-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.35fr);
    gap: 34px;
    align-items: end;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    top: 24px;
    width: 210px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: url("assets/logo.png") center / contain no-repeat;
    opacity: 0.12;
}

.page-hero h1 {
    max-width: 760px;
    font-size: 66px;
    line-height: 1;
}

.page-hero p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 17px;
}

.section {
    padding: 72px 0;
}

.section.soft {
    background: var(--mist);
    border-block: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 36px;
}

.section-label {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head h2 {
    margin-top: 10px;
    font-size: 52px;
    line-height: 1.05;
}

.section-head p,
.lead,
.text-block p {
    color: var(--muted);
    line-height: 1.78;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-row.compact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 0;
}

.stat {
    padding: 26px 24px;
    border-right: 1px solid var(--line);
}

.compact-stats .stat {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.compact-stats .stat:last-child {
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 34px;
    color: var(--blue-deep);
}

.stat span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.5;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 38px;
    align-items: center;
}

.split.reverse {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
}

.text-block {
    display: grid;
    gap: 18px;
}

.text-block h2 {
    font-size: 50px;
    line-height: 1.08;
}

.image-frame {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(7, 63, 123, 0.08), rgba(245, 194, 27, 0.18)),
        var(--mist-strong);
    box-shadow: var(--shadow);
}

.image-frame img {
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.image-frame::after {
    content: attr(data-caption);
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: var(--radius);
    color: #ffffff;
    background: rgba(17, 22, 27, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.feature-card,
.athlete-card,
.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.feature-card {
    padding: 24px;
    border-top: 4px solid var(--yellow);
}

.feature-card span {
    display: inline-flex;
    margin-bottom: 26px;
    color: var(--blue);
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 22px;
}

.feature-card p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.72;
}

.sponsor-head {
    margin-bottom: 28px;
}

.sponsor-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sponsor-logo-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.logo-placeholder {
    min-height: 170px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(7, 63, 123, 0.1), rgba(245, 194, 27, 0.12)),
        #ffffff;
}

.sponsor-logo-image {
    width: 100%;
    height: 100%;
    padding: 12px;
    background: #ffffff;
    object-fit: contain;
}

.sponsor-logo-card p {
    margin-top: 14px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

.sponsor-thanks {
    max-width: 840px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    text-align: center;
}

.sponsor-thanks h2 {
    margin-top: 14px;
    font-size: 46px;
    line-height: 1.08;
}

.sponsor-thanks p {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-auto-rows: 260px;
    gap: 16px;
}

.gallery-grid .image-frame {
    min-height: 100%;
}

.gallery-grid .image-frame:first-child {
    grid-row: span 2;
}

.management-grid,
.document-grid,
.news-grid,
.race-list,
.faq-list,
.profile-grid,
.profile-stack {
    display: grid;
    gap: 18px;
}

.management-grid,
.document-grid,
.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.athlete-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.athlete-card {
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.athlete-grid .athlete-card {
    cursor: pointer;
}

.athlete-grid .athlete-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.athlete-photo {
    aspect-ratio: 4 / 5;
    background: var(--mist-strong);
}

.athlete-photo img {
    height: 100%;
    object-fit: cover;
}

.athlete-content {
    padding: 18px;
}

.athlete-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

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

.athlete-content p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.68;
}

.tag {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: var(--radius);
    background: var(--yellow-soft);
    color: var(--blue-deep);
    font-size: 12px;
    font-weight: 800;
}

.management-card,
.document-card,
.news-card,
.race-card,
.faq-item,
.profile-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 44px rgba(5, 47, 95, 0.08);
}

.management-card {
    overflow: hidden;
}

.management-photo,
.news-card-image {
    aspect-ratio: 4 / 5;
    background: var(--mist-strong);
}

.management-photo img,
.news-card-image img {
    height: 100%;
    object-fit: cover;
}

.management-content,
.document-card,
.news-card-content,
.race-card,
.faq-item,
.profile-panel {
    padding: 22px;
}

.management-content h3,
.document-card h3,
.news-card-content h3,
.race-card h3,
.faq-item h3 {
    font-size: 22px;
}

.management-content p,
.document-card p,
.news-card-content p,
.race-card p,
.faq-item p,
.profile-panel p,
.profile-panel li {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.72;
}

.document-card {
    align-content: start;
}

.document-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--yellow-soft);
    color: var(--blue-deep);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.document-card .button {
    width: fit-content;
    margin-top: 18px;
    background: var(--yellow);
    color: var(--blue-deep);
}

.faq-list {
    max-width: 900px;
}

.faq-item {
    box-shadow: none;
}

.hero-slider {
    position: relative;
    min-height: calc(100vh - 82px);
    overflow: hidden;
    background: var(--blue-deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 38, 76, 0.92), rgba(7, 63, 123, 0.58), rgba(245, 194, 27, 0.18)),
        linear-gradient(0deg, rgba(3, 38, 76, 0.72), rgba(3, 38, 76, 0.12));
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    width: var(--container);
    margin: 0 auto;
    padding: 82px 0 104px;
    color: #ffffff;
}

.hero-slide-content h1 {
    max-width: 780px;
    font-size: 74px;
    line-height: 0.98;
}

.hero-slide-content p {
    max-width: 620px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.7;
}

.slider-controls {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 30px;
    width: var(--container);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrows button,
.slider-dot {
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.slider-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    font-size: 0;
}

.slider-dot.is-active {
    background: var(--yellow);
}

.news-card {
    overflow: hidden;
}

.news-date,
.race-card time,
.race-status {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.race-card {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    box-shadow: none;
}

.race-card.is-next {
    border-color: rgba(245, 194, 27, 0.8);
    box-shadow: var(--shadow);
}

.race-card.is-past {
    opacity: 0.58;
}

.race-detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.race-detail-list span {
    padding: 7px 9px;
    border-radius: var(--radius);
    background: var(--mist);
    color: var(--steel);
    font-size: 13px;
    font-weight: 800;
}

.next-race-box {
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.next-race-box strong {
    display: block;
    margin-top: 8px;
    color: var(--blue-deep);
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
}

.profile-grid {
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
    align-items: start;
}

.profile-photo {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--mist-strong);
    box-shadow: var(--shadow);
}

.profile-photo img {
    aspect-ratio: 4 / 5;
    height: 100%;
    object-fit: cover;
}

.profile-panel ul {
    margin-left: 20px;
}

.timeline {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.timeline-item time {
    color: var(--blue);
    font-weight: 800;
}

.timeline-item h3 {
    font-size: 24px;
}

.timeline-item p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.72;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: 22px;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-card {
    padding: 22px;
}

.contact-card strong {
    display: block;
    margin-bottom: 6px;
}

.contact-card a,
.contact-card p {
    color: var(--muted);
    line-height: 1.65;
}

.form {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--steel);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    padding: 14px 15px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(7, 63, 123, 0.14);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

.form .button {
    width: fit-content;
    background: var(--yellow);
    color: var(--blue-deep);
}

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: var(--blue-deep);
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-links {
    display: flex;
    gap: 14px;
    font-weight: 800;
    color: #ffffff;
}

.logo-showcase {
    border: 1px solid rgba(7, 63, 123, 0.16);
    background: #ffffff;
}

.logo-showcase img {
    padding: 28px;
    object-fit: contain;
}

@media (max-width: 980px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .lang-toggle {
        align-self: flex-start;
    }

    .site-menu {
        align-self: flex-start;
    }

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero-emblem {
        right: -72px;
        bottom: 72px;
        width: 340px;
        opacity: 0.34;
    }

    .page-hero h1,
    .section-head h2,
    .text-block h2 {
        font-size: 46px;
    }

    .page-hero .container,
    .section-head,
    .split,
    .split.reverse,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .stats-row,
    .feature-grid,
    .athlete-grid,
    .management-grid,
    .document-grid,
    .news-grid,
    .sponsor-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .race-card,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide-content h1 {
        font-size: 58px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .gallery-grid .image-frame:first-child {
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100% - 22px, 1180px);
    }

    .brand {
        min-width: 0;
    }

    .brand-subtitle {
        display: none;
    }

    .nav-links a {
        white-space: nowrap;
    }

    .nav-links {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 8px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-emblem {
        top: 118px;
        right: -88px;
        bottom: auto;
        width: 240px;
        opacity: 0.22;
    }

    .hero-inner {
        padding: 54px 0 74px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 40px;
        line-height: 1.02;
    }

    .hero p,
    .page-hero p {
        font-size: 16px;
    }

    .section {
        padding: 48px 0;
    }

    .stats-row,
    .feature-grid,
    .athlete-grid,
    .management-grid,
    .document-grid,
    .news-grid,
    .form-row,
    .sponsor-wall {
        grid-template-columns: 1fr;
    }

    .menu-dropdown {
        left: 0;
        right: auto;
    }

    .hero-slider {
        min-height: 620px;
    }

    .hero-slide-content {
        padding: 54px 0 84px;
    }

    .hero-slide-content h1 {
        font-size: 40px;
        line-height: 1.02;
    }

    .hero-slide-content p {
        font-size: 16px;
    }

    .slider-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .image-frame {
        min-height: 320px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .form .button {
        width: 100%;
    }

    .sponsor-thanks {
        padding: 28px 22px;
    }

    .sponsor-thanks h2 {
        font-size: 34px;
    }
}
