:root {
    --text: #172033;
    --text-muted: #64748b;
    --background: #ffffff;
    --surface: #f7f9fc;
    --border: #e5e9f0;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 45px rgba(15, 23, 42, .10);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, .07);
    --header-height: 76px;
}

* {
    text-rendering: optimizeLegibility;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

a:hover {
    color: var(--secondary);
}

.container {
    width: min(100% - 2rem, 1296px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(226, 232, 240, .85);
    backdrop-filter: blur(16px);
}

.site-navbar {
    min-height: var(--header-height);
    padding: .75rem 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.site-brand-text {
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 54px;
    object-fit: contain;
}

.site-toggler {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2823, 32, 51, 0.86%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    border: 0;
    box-shadow: none;
    padding: .5rem;
}

.site-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .14);
}

.site-menu {
    gap: .25rem;
    padding: 1rem 0 0;
}

.site-nav-desktop .site-menu {
    padding: 0;
}

.site-mobile-nav {
    flex-basis: 100%;
    width: 100%;
}

.site-menu .nav-link {
    color: var(--text);
    border-radius: 999px;
    font-size: .98rem;
    font-weight: 500;
    padding: .65rem .9rem;
}

.site-menu .nav-link:hover,
.site-menu .nav-link:focus {
    background: rgba(13, 110, 253, .08);
    color: var(--primary);
}

.site-menu .dropdown-menu {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .55rem;
}

.site-menu .dropdown-item {
    border-radius: calc(var(--radius) - 4px);
    font-weight: 500;
    padding: .55rem .75rem;
}

main {
    min-height: 52vh;
}

.block {
    padding: 3.5rem 0;
    animation: fadeUp .45s ease both;
}

.block-title {
    color: var(--text);
    font-size: clamp(1.75rem, 2.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .75rem;
}

.block-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0 0 2rem;
    max-width: 760px;
}

.block-heading-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.block-link {
    align-self: end;
    font-weight: 700;
}

.site-hero {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 4px solid var(--primary);
    padding: 0;
}

.site-hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
    min-height: 0;
}

.site-hero-media {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-hero-frame.hero-height-small .site-hero-media,
.site-hero-carousel.hero-height-small .site-hero-media {
    height: clamp(260px, 32vw, 380px);
    object-fit: cover;
}

.site-hero-frame.hero-height-medium .site-hero-media,
.site-hero-carousel.hero-height-medium .site-hero-media {
    height: clamp(340px, 42vw, 540px);
    object-fit: cover;
}

.site-hero-frame.hero-height-large .site-hero-media,
.site-hero-carousel.hero-height-large .site-hero-media {
    height: clamp(460px, 58vw, 720px);
    object-fit: cover;
}

.site-hero-frame.hero-height-full .site-hero-media,
.site-hero-carousel.hero-height-full .site-hero-media {
    height: calc(100vh - var(--header-height));
    min-height: 560px;
    object-fit: cover;
}

.site-hero-frame.has-image.has-copy.has-overlay::after,
.site-hero-carousel.has-overlay .site-hero-frame.has-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, .68) 0%, rgba(15, 23, 42, .28) 52%, rgba(15, 23, 42, .05) 100%);
    pointer-events: none;
}

.site-hero-content {
    color: #fff;
    padding: 2rem;
}

.site-hero-frame.has-image.has-copy .site-hero-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    max-width: 760px;
}

.site-hero-frame.hero-position-left .site-hero-content,
.site-hero-carousel.hero-position-left .site-hero-content {
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-hero-frame.hero-position-center .site-hero-content,
.site-hero-carousel.hero-position-center .site-hero-content {
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-hero-frame.hero-position-right .site-hero-content,
.site-hero-carousel.hero-position-right .site-hero-content {
    inset: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-align-left .site-hero-content {
    text-align: left;
}

.hero-align-center .site-hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-align-center .site-hero-subtitle,
.hero-align-center .site-hero-text {
    margin-left: auto;
    margin-right: auto;
}

.hero-align-right .site-hero-content {
    margin-left: auto;
    text-align: right;
}

.hero-align-right .site-hero-subtitle,
.hero-align-right .site-hero-text {
    margin-left: auto;
}

.site-hero-content h1 {
    font-size: clamp(2.25rem, 5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .98;
    margin: 0 0 1rem;
}

.site-hero-subtitle {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    margin: 0 0 1.25rem;
    max-width: 680px;
}

.site-hero-text {
    color: rgba(255, 255, 255, .9);
    max-width: 720px;
}

.site-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
}

.hero-align-center .site-hero-actions {
    justify-content: center;
}

.hero-align-right .site-hero-actions {
    justify-content: flex-end;
}

.site-hero-iframe {
    border: 0;
    display: block;
    width: 100%;
}

.split-hero {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 4rem 0;
}

.split-hero .site-hero-content {
    color: var(--text);
    padding: 0;
    position: static;
}

.split-hero .site-hero-content h1 {
    color: var(--text);
}

.split-hero .site-hero-subtitle,
.split-hero .content-body {
    color: var(--text-muted);
}

.split-hero-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
    width: 100%;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--secondary);
    --bs-btn-hover-border-color: var(--secondary);
    box-shadow: 0 12px 24px rgba(13, 110, 253, .18);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: rgba(13, 110, 253, .35);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
}

.block-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.block-card:hover {
    border-color: rgba(13, 110, 253, .22);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.block-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.block-card .card-body {
    padding: 1.35rem;
}

.block-card h3,
.block-card h2 {
    color: var(--text);
    font-weight: 800;
    letter-spacing: -.015em;
}

.block-card p {
    color: var(--text-muted);
}

.news-date {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .03em;
    margin-bottom: .65rem;
    text-transform: uppercase;
}

.block-cta-box {
    border: 1px solid rgba(13, 110, 253, .16);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(13, 110, 253, .10), rgba(108, 117, 125, .08));
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.block-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    margin-bottom: .85rem;
    overflow: hidden;
}

.block-accordion .accordion-button {
    font-weight: 800;
}

.sponsor-card,
.stat-box {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    height: 100%;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.sponsor-card img {
    max-height: 82px;
    object-fit: contain;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.05rem;
}

.testimonial-person {
    align-items: center;
    display: flex;
    gap: .85rem;
    margin-top: 1.25rem;
}

.testimonial-person img {
    border-radius: 999px;
    height: 52px;
    object-fit: cover;
    width: 52px;
}

.testimonial-person span,
.team-role {
    color: var(--text-muted);
    display: block;
    font-size: .92rem;
}

.team-card .card-img-top {
    aspect-ratio: 1 / 1;
}

.block-video-frame,
.map-frame {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-frame iframe {
    border: 0;
    display: block;
    min-height: 360px;
    width: 100%;
}

.map-address {
    color: var(--text-muted);
    font-weight: 700;
}

.stat-box strong {
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.stat-box span {
    color: var(--text-muted);
    font-weight: 700;
}

.timeline-list {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    border-left: 4px solid var(--primary);
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: .75rem;
    padding: 1.25rem;
}

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

.timeline-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 .25rem;
}

.timeline-item p {
    color: var(--text-muted);
    margin: 0;
}

.download-list {
    display: grid;
    gap: .85rem;
}

.download-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    color: var(--text);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
}

.download-item small {
    color: var(--text-muted);
    display: block;
}

.download-item em {
    color: var(--primary);
    font-style: normal;
    font-weight: 800;
}

.contact-cta-box {
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, .10), rgba(108, 117, 125, .08));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 2rem;
    padding: 2rem;
}

.contact-cta-box img {
    border-radius: var(--radius);
    width: 100%;
}

.block-image,
.block-gallery-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.block-gallery-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    transition: transform .22s ease, box-shadow .22s ease;
}

.block-gallery-image:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.content-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.content-page h1 {
    color: var(--text);
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.content-page > img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.content-body {
    color: var(--text);
    line-height: 1.8;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    background: #0f172a;
    color: rgba(255, 255, 255, .76);
}

.site-footer-main {
    padding: 3rem 0 2rem;
}

.site-footer-logo {
    width: auto;
    max-width: 230px;
    max-height: 64px;
    object-fit: contain;
}

.site-footer-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.site-footer-text {
    color: rgba(255, 255, 255, .70);
    margin: .75rem 0 0;
    max-width: 360px;
}

.site-footer-heading {
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.site-footer-list {
    display: grid;
    gap: .55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
    color: #fff;
}

.site-social {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.site-social a {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: .45rem .75rem;
}

.site-social a:hover {
    background: rgba(255, 255, 255, .10);
    transform: translateY(-1px);
}

.site-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .56);
    font-size: .9rem;
    padding: 1.25rem 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .block {
        padding: 4.5rem 0;
    }

    .block-heading-row {
        align-items: end;
        grid-template-columns: 1fr auto;
    }

    .site-hero-content {
        padding: 3rem;
    }

    .site-footer-bottom {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

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

    .contact-cta-box {
        grid-template-columns: 1.2fr .8fr;
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .site-menu {
        align-items: center;
        padding: 0;
    }

    .site-menu .nav-link {
        padding: .55rem .85rem;
    }

    .site-hero {
        padding: 0;
    }
}

@media (min-width: 1366px) {
    .site-hero-media {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 1.25rem, 1296px);
    }

    .site-logo {
        max-width: 170px;
        max-height: 46px;
    }

    .site-navbar {
        min-height: 68px;
    }

    .site-hero {
        padding: 0;
    }

    .site-hero-frame {
        min-height: 0;
    }

    .site-hero-media {
        height: auto;
    }

    .site-hero-frame.has-image.has-copy.has-overlay::after,
    .site-hero-carousel.has-overlay .site-hero-frame.has-copy::after {
        background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .76));
    }

    .site-hero-content {
        padding: 1.4rem;
    }

    .block-cta-box {
        padding: 1.35rem;
    }
}
