:root {
    --page-bg: #F8F9FA;
    --nav-link-color: #344829;
    --nav-link-hover: #2D6A4F;
}

body.agenda-page {
    --page-bg: #f5f0e8;
}

.site-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    color: #344829;
    background-image: url('../../img/ct8.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    margin-bottom: 1.5rem;
    padding-bottom: 2.5rem;
}

.site-hero--home {
    min-height: 100vh;
    margin-bottom: 0;
    border-radius: 0 0 48px 48px;
}

.site-hero--page {
    min-height: clamp(320px, 48vh, 460px);
}

.site-hero--compact {
    min-height: auto;
    padding-bottom: 1.5rem;
}

.site-navbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.site-logo img {
    display: block;
    height: 120px;
    width: auto;
}

.site-nav-links {
    margin-left: auto;
    display: none;
    align-items: center;
    gap: 1.25rem;
}

.site-nav-links a {
    color: var(--nav-link-color);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.site-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #F9C74F;
    transition: width 0.25s ease;
}

.site-nav-links a:hover,
.site-nav-links a.is-active {
    color: var(--nav-link-hover);
}

.site-nav-links a:hover::after,
.site-nav-links a.is-active::after {
    width: 100%;
}

.site-mobile-menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    border: none;
    background: transparent;
    border-radius: 999px;
}

.site-mobile-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #344829;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.site-mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 1.25rem 0;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.site-hero--home .site-hero__content {
    justify-content: flex-start;
    padding-top: 2rem;
}

.site-hero__content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.site-hero--home .site-hero__content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: #344829;
    text-shadow: none;
}

.site-hero__subtitle {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    max-width: 48ch;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.site-hero__slogan {
    margin-top: clamp(2rem, 8vw, 6rem);
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-style: italic;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .site-logo img {
        height: 180px;
    }

    .site-nav-links {
        display: flex;
    }

    .site-mobile-menu-button {
        display: none;
    }

    .site-navbar {
        padding: 1rem 2rem;
    }
}

@media (min-width: 992px) {
    .site-logo img {
        height: 220px;
    }

    .site-nav-links a {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .site-hero {
        border-radius: 0 0 28px 28px;
    }

    .site-hero--home {
        border-radius: 0 0 32px 32px;
    }

    .site-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85%, 320px);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
        z-index: 99;
        padding: 2rem 1rem;
    }

    .site-nav-links.is-open {
        right: 0;
        display: flex;
    }

    .site-nav-links a {
        font-size: 1.25rem;
    }
}
