* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(201,154,51,.20), transparent 34rem),
        linear-gradient(180deg, #fff8ec 0%, #f4f0e8 48%, #e9dfcd 100%);
    font-family: Georgia, "Times New Roman", serif;
    color: #162033;
    line-height: 1.65;
}

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

a:hover {
    text-decoration: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7,21,39,.96);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.menu {
    max-width: 1180px;
    width: calc(100% - 28px);
    margin: auto;
    padding: 13px 0;

    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    justify-content: center;
    align-items: center;
}


.menu a:not(.brand) {
    color: white;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.18);
    padding: 9px 13px;
    border-radius: 30px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.menu a:hover {
    background: rgba(255,255,255,.15);
}

.hero {
    max-width: 1180px;
    width: calc(100% - 28px);
    margin: 30px auto 22px;
    padding: 42px 34px;

    text-align: center;

    color: white;
    background: linear-gradient(135deg, #071527, #092b52);
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(10,24,45,.14);
}



.eyebrow {
    margin: 0 0 10px;
    color: #f5d99b;
    font: bold 13px Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 920px;
    margin: 0 auto;

    font-size: clamp(1rem, 2vw, 1.9rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    text-align: center;
}

.hero p {
    max-width: 820px;
    margin: 18px auto 0;

    color: rgba(255,255,255,.86);
    font-size: clamp(1.08rem, 2.4vw, 1.38rem);
    text-align: center;
}

.actions {
    max-width: 1180px;
    width: calc(100% - 28px);
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-btn {
    display: inline-block;
    background: #092b52;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.action-btn.gold {
    background: #f1c96b;
    color: #081729;
}

.container {
    max-width: 1180px;
    width: calc(100% - 28px);
    margin: 0 auto 38px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.event-card {
    display: block;
    min-height: 162px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,250,242,.96);
    border: 1px solid rgba(9,43,82,.16);
    box-shadow: 0 14px 34px rgba(10,24,45,.10);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(10,24,45,.15);
    border-color: rgba(201,154,51,.60);
}

.year {
    display: inline-block;
    margin-bottom: 11px;
    padding: 5px 10px;
    color: #081729;
    background: #f1c96b;
    border-radius: 999px;
    font: bold 14px Arial, sans-serif;
    letter-spacing: .04em;
}

.event-card h2 {
    margin: 0;
    color: #092b52;
    font-size: 21px;
    line-height: 1.25;
}

.event-card p {
    margin: 12px 0 0;
    color: #627087;
    font-size: 15px;
}

.ad-wrap {
    max-width: 1180px;
    width: calc(100% - 28px);
    margin: 30px auto;
}

.footer {
    background: #071527;
    color: white;
    text-align: center;
    padding: 28px;
    margin-top: 35px;
}



.ad-card{
    grid-column: span 3;
    grid-row: span 2;

    min-height:340px;

    background:#fff;
    border-radius:22px;
    border:1px solid rgba(9,43,82,.16);

    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}



@media (max-width: 1100px) {
    .timeline {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .brand {
        width: 100%;
        margin-bottom: 3px;
    }
}

@media (max-width: 800px) {
    .timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .event-card {
        padding: 12px 8px;
        min-height: 105px;
        border-radius: 14px;
        text-align: center;
    }

    .year {
        font-size: 10px;
        padding: 3px 6px;
        margin-bottom: 6px;
    }

    .event-card h2 {
        font-size: 13px;
        line-height: 1.15;
    }

    .event-card p {
        font-size: 11px;
        line-height: 1.25;
        margin-top: 6px;
    }
}

@media (max-width: 620px) {
    .hero {
        padding: 30px 22px;
        margin-top: 20px;
    }

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

    .event-card {
        min-height: auto;
    }

    .cookie-inner {
        display: block;
    }

    .cookie-actions {
        margin-top: 12px;
    }

    .cookie-actions button {
        width: 100%;
    }
}
