﻿:root {
    --green: #073f32;
    --deep: #032e25;
    --gold: #c9a652;
    --ink: #17261f;
    --paper: #f7f5ef;
    --muted: #6e756e;
    --line: #e8e5dc
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans',sans-serif;
    font-size: 15px;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

.container {
    width: min(1200px,calc(100% - 48px));
    margin: auto
}

.topbar {
    height: 32px;
    background: var(--deep);
    color: #d6e1d9;
    font-size: 11px
}

.topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px
}

.socials {
    margin-left: auto;
    display: flex;
    gap: 17px;
    align-items: center
}

.header {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #122E22;
    color: #fff
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none
}

.crest {
    width: 74px;
    height: 86px;
    background: var(--green);
    clip-path: polygon(8% 3%,92% 3%,96% 76%,50% 100%,4% 76%);
    border: 2px solid var(--gold);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1
}

    .crest b {
        font: 10px 'Playfair Display';
        letter-spacing: 1px
    }

    .crest strong {
        font: 38px 'Playfair Display';
        color: #fff
    }

    .crest small {
        color: var(--gold);
        font-size: 16px
    }

.brand h1, .footer-brand h2 {
    font-size: 29px;
    margin: 0;
    color: #fff
}

.brand p, .footer-brand p {
    font-size: 11px;
    font-weight: 700;
    margin: 3px 0;
    color: #fff
}

.brand em, .footer-brand em {
    font-style: normal;
    font-size: 10px;
    color: #c9a652;
    font-weight: 600
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px
}

    .nav a {
        color: #fff;
        text-decoration: none
    }

.journal, .button {
    background: var(--green);
    color: white !important;
    padding: 13px 17px;
    border-radius: 4px
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
    color: #fff
}

.hero {
    min-height: 480px;
    height: auto;
    position: relative;
    color: white;
    overflow: hidden
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1564981797816-1043664bf78d?auto=format&fit=crop&w=1800&q=85') center 53%/cover
}

.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    padding-top: 120px;
    padding-bottom: 72px
}

.eyebrow {
    font: 23px 'Playfair Display';
    margin: 0 0 8px
}

.hero h2 {
    font: 58px 'Playfair Display';
    line-height: 1.05;
    margin: 0 0 21px;
    font-weight: 500
}

    .hero h2 strong {
        font-size: 59px
    }

.hero-copy {
    font-size: 15px;
    max-width: 540px;
    line-height: 1.6;
    margin-bottom: 23px
}

.button {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px
}

.button-light {
    background: transparent;
    border: 1px solid var(--gold);
    padding: 12px 18px
}

.button span {
    color: var(--gold);
    font-size: 17px;
    margin-left: 8px
}

.dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    display: flex;
    gap: 7px
}

    .dots i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: white;
        opacity: .9
    }

        .dots i.active {
            background: var(--gold)
        }

.quick-links {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    gap: 3px;
    margin-top: 12px
}

    .quick-links a {
        min-height: 125px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 7px;
        padding: 13px 5px;
        text-align: center;
        text-decoration: none;
        color: var(--ink);
        box-shadow: 0 3px 11px #1d2e1a0b
    }

.line-icon {
    display: block;
    font-size: 31px;
    height: 42px;
    color: var(--green)
}

.quick-links b {
    display: block;
    font-size: 10px;
    line-height: 1.25
}

.quick-links small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
    margin-top: 12px
}

.intro {
    display: grid;
    grid-template-columns: 1.05fr .8fr 1.25fr;
    gap: 11px;
    margin-top: 18px
}

.panel, .building-photo {
    min-height: 216px;
    border-radius: 14px
}

.about {
    background: #f1e9e1;
    padding: 18px 20px
}

.section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px
}

    .section-title span {
        width: 16px;
        height: 2px;
        background: var(--gold);
        display: block
    }

    .section-title h3 {
        font: 600 19px 'Playfair Display';
        text-transform: uppercase;
        margin: 0
    }

.about > p {
    font-size: 11px;
    line-height: 1.55;
    margin: 0 0 10px
}

.about ul {
    padding: 0;
    margin: 0 0 13px;
    list-style: none;
    font-size: 10px;
    line-height: 2
}

.about li:before {
    content: '?';
    color: var(--green);
    font-size: 13px;
    margin-right: 8px
}

.about .button {
    font-size: 9px;
    padding: 10px 14px
}

.building-photo {
    background: url('https://lh3.google.com/u/0/d/1NXX-JC78rQCoBctG8jKInYoik3mX-RuP=w2515-h1285-iv1?auditContext=prefetch') center/cover
}

.stats {
    background: var(--green);
    color: white;
    padding: 18px 20px
}

.light h3 {
    color: #fff
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    border-top: 1px solid #ffffff33;
    border-bottom: 1px solid #ffffff33;
    padding: 9px 0;
    margin-top: 6px
}

    .stats-grid div {
        padding: 3px 4px;
        border-right: 1px solid #ffffff33
    }

        .stats-grid div:nth-child(3n) {
            border: 0
        }

    .stats-grid b {
        display: block;
        color: var(--gold);
        font: 22px 'Playfair Display'
    }

    .stats-grid small {
        font-size: 8px
    }

.stats > a, .gallery a {
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 700;
    display: block;
    margin-top: 12px
}

.news-events {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 40px;
    padding: 22px 0 27px
}

.news .section-title a, .events .section-title a {
    margin-left: auto;
    color: var(--green);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 9px
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

    .news-grid article {
        position: relative
    }

.news-image {
    height: 115px;
    border-radius: 7px;
    background-size: cover;
    background-position: center
}

    .news-image.one {
        background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=500&q=80')
    }

    .news-image.two {
        background-image: url('https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=500&q=80')
    }

    .news-image.three {
        background-image: url('https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=500&q=80')
    }

.date {
    position: absolute;
    top: 93px;
    left: 8px;
    background: var(--green);
    color: white;
    width: 36px;
    text-align: center;
    padding: 5px 0
}

    .date b {
        display: block;
        font: 18px 'Playfair Display';
        color: white
    }

    .date small {
        font-size: 7px
    }

.news h4 {
    font: 600 14px 'Playfair Display';
    margin: 18px 0 6px
}

.news p {
    font-size: 10px;
    line-height: 1.45;
    margin: 0 0 10px
}

.news article > a {
    font-size: 9px;
    text-decoration: none;
    color: var(--green);
    font-weight: 700
}

.event-list > div {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    min-height: 52px;
    margin-bottom: 3px
}

.event-list time {
    width: 53px;
    text-align: center;
    color: var(--green);
    font-size: 8px;
    font-weight: 700
}

    .event-list time b {
        display: block;
        font: 20px 'Playfair Display'
    }

.event-list p {
    border-left: 1px solid var(--line);
    padding-left: 12px;
    margin: 0;
    font-size: 11px
}

    .event-list p strong, .event-list p small {
        display: block
    }

    .event-list p small {
        font-size: 8px;
        color: var(--muted);
        margin-top: 5px
    }

.gallery {
    background: var(--green);
    padding: 15px 0 20px
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: center
}

    .gallery-heading .section-title {
        margin: 0
    }

.button-outline {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold) !important;
    padding: 10px 16px
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr 1.15fr;
    gap: 8px;
    margin-top: 10px
}

.gallery-photo {
    height: 78px;
    border-radius: 5px;
    background-size: cover;
    background-position: center
}

.g1 {
    background-image: url('https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=500&q=80')
}

.g2 {
    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=500&q=80')
}

.g3 {
    background-image: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=500&q=80')
}

.g4 {
    background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=500&q=80')
}

.g5 {
    background-image: url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=500&q=80')
}

footer {
    background: var(--deep);
    color: #dce7dd;
    padding: 20px 0 11px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3,1fr) 1.2fr;
    gap: 25px
}

.footer-brand {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.crest.small {
    width: 52px;
    height: 63px
}

    .crest.small strong {
        font-size: 27px
    }

.footer-brand h2 {
    font-size: 16px;
    color: white
}

.footer-brand p {
    font-size: 8px
}

.footer-brand em {
    color: #bfcfc2;
    font-size: 8px
}

.footer-grid h4 {
    font: 600 11px 'Playfair Display';
    text-transform: uppercase;
    color: white;
    margin: 3px 0 10px
}

.footer-grid a, .footer-grid p {
    display: block;
    color: #becdc1;
    text-decoration: none;
    font-size: 9px;
    line-height: 1.8;
    margin: 0
}

.copyright {
    border-top: 1px solid #ffffff1c;
    margin-top: 18px;
    padding-top: 9px;
    color: #8fa89b;
    font-size: 8px
}

    .copyright span {
        float: right
    }

@media(max-width:900px) {
    .container {
        width: min(100% - 32px,680px)
    }

    .topbar-inner > span:nth-child(2), .topbar-inner > span:nth-child(3) {
        display: none
    }

    .header {
        height: 88px
    }

    .nav {
        display: none;
        position: absolute;
        z-index: 5;
        top: 120px;
        left: 16px;
        right: 16px;
        background: #fff;
        padding: 20px;
        box-shadow: 0 8px 20px #0002;
        flex-direction: column;
        align-items: stretch;
        gap: 17px
    }

        .nav.open {
            display: flex
        }

    .menu-toggle {
        display: block
    }

    .hero {
        height: 420px
    }

    .hero-content {
        padding-top: 92px
    }

    .hero h2, .hero h2 strong {
        font-size: 44px
    }

    .quick-links {
        grid-template-columns: repeat(4,1fr)
    }

    .intro, .news-events {
        grid-template-columns: 1fr
    }

    .intro {
        gap: 10px
    }

    .building-photo {
        min-height: 300px
    }

    .news-events {
        gap: 24px
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-brand {
        grid-column: span 2
    }
}

@media(max-width:520px) {
    body {
        font-size: 12px
    }

    .container {
        width: calc(100% - 24px)
    }

    .topbar {
        font-size: 9px
    }

    .socials {
        gap: 10px
    }

    .brand h1 {
        font-size: 20px
    }

    .brand p {
        font-size: 8px
    }

    .brand em {
        font-size: 7px
    }

    .crest {
        width: 57px;
        height: 68px
    }

        .crest strong {
            font-size: 29px
        }

    .hero {
        height: 410px
    }

    .hero-image {
        background-position: 62% center
    }

    .hero-content {
        padding-top: 78px
    }

    .eyebrow {
        font-size: 18px
    }

    .hero h2, .hero h2 strong {
        font-size: 39px
    }

    .hero-copy {
        font-size: 11px
    }

    .quick-links {
        grid-template-columns: repeat(2,1fr);
        gap: 4px
    }

        .quick-links a {
            min-height: 116px
        }

    .intro {
        margin-top: 12px
    }

    .panel {
        min-height: 0
    }

    .about, .stats {
        padding: 16px
    }

    .building-photo {
        min-height: 240px
    }

    .news-grid {
        grid-template-columns: 1fr
    }

    .news-image {
        height: 160px
    }

    .date {
        top: 138px
    }

    .news h4 {
        margin-top: 18px
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .gallery-photo {
        height: 85px
    }

        .gallery-photo:first-child {
            grid-column: span 2
        }

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

    .footer-brand {
        grid-column: span 2
    }

    .copyright span {
        float: none;
        display: block;
        margin-top: 5px
    }
}

/* Readability and responsive sizing */
body {
    font-size: 15px
}

.container {
    width: min(1200px,calc(100% - 48px))
}

.topbar {
    font-size: 11px
}

.brand h1, .footer-brand h2 {
    font-size: 29px
}

.brand p, .footer-brand p {
    font-size: 11px
}

.brand em, .footer-brand em {
    font-size: 10px
}

.nav {
    font-size: 11px
}

.hero {
    min-height: 480px;
    height: auto
}

.hero-content {
    padding-top: 120px;
    padding-bottom: 72px
}

.hero h2 {
    font-size: 58px
}

    .hero h2 strong {
        font-size: 59px
    }

.hero-copy {
    font-size: 15px;
    max-width: 540px
}

.quick-links b {
    font-size: 10px
}

.quick-links small {
    font-size: 10px
}

.section-title h3 {
    font-size: 19px
}

.about > p {
    font-size: 11px
}

.about ul {
    font-size: 10px
}

.news h4 {
    font-size: 14px
}

.news p {
    font-size: 10px
}

.event-list p {
    font-size: 11px
}

.gallery-photo {
    height: 78px
}

.news-image {
    height: 115px
}

.date {
    top: 93px
}

/* Keep content and photos inside their cards */
img {
    display: block;
    max-width: 100%;
    height: auto
}

.news-grid article, .gallery-grid > * {
    min-width: 0
}

.news-image, .gallery-photo, .building-photo, .hero-image {
    background-repeat: no-repeat
}

.news-image, .gallery-photo {
    overflow: hidden
}

.quick-links a, .panel, .event-list > div {
    overflow: hidden
}

@media(max-width:1100px) {
    .quick-links {
        grid-template-columns: repeat(4,1fr);
        gap: 8px
    }

    .intro {
        grid-template-columns: 1fr 1fr
    }

    .stats {
        grid-column: 1/-1
    }

    .news-events {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .gallery-grid {
        grid-template-columns: repeat(5,1fr)
    }
}

@media(max-width:900px) {
    .container {
        width: min(100% - 32px,680px)
    }

    .topbar-inner > span:nth-child(2), .topbar-inner > span:nth-child(3) {
        display: none
    }

    .header {
        height: 88px
    }

    .nav {
        display: none;
        position: absolute;
        z-index: 5;
        top: 120px;
        left: 16px;
        right: 16px;
        background: #fff;
        padding: 20px;
        box-shadow: 0 8px 20px #0002;
        flex-direction: column;
        align-items: stretch;
        gap: 17px
    }

        .nav.open {
            display: flex
        }

    .menu-toggle {
        display: block
    }

    .hero {
        height: 420px
    }

    .hero-content {
        padding-top: 92px
    }

    .hero h2, .hero h2 strong {
        font-size: 44px
    }

    .quick-links {
        grid-template-columns: repeat(4,1fr)
    }

    .intro, .news-events {
        grid-template-columns: 1fr
    }

    .intro {
        gap: 10px
    }

    .building-photo {
        min-height: 300px
    }

    .news-events {
        gap: 24px
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-brand {
        grid-column: span 2
    }
}

@media(max-width:700px) {
    .container {
        width: min(100% - 28px,560px)
    }

    .header {
        height: auto;
        min-height: 92px
    }

    .brand h1, .footer-brand h2 {
        font-size: 24px
    }

    .crest {
        width: 62px;
        height: 74px
    }

        .crest strong {
            font-size: 31px
        }

    .nav {
        font-size: 12px
    }

    .hero {
        min-height: 430px
    }

    .hero-content {
        padding-top: 80px
    }

    .eyebrow {
        font-size: 20px
    }

    .hero h2, .hero h2 strong {
        font-size: 42px
    }

    .hero-copy {
        font-size: 14px
    }

    .quick-links {
        grid-template-columns: repeat(2,1fr)
    }

    .intro {
        grid-template-columns: 1fr
    }

    .panel, .building-photo {
        min-height: 200px
    }

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

    .news-image {
        height: 180px
    }

    .date {
        top: 158px
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 10px
    }

    .gallery-photo {
        height: 110px
    }

    .gallery-grid > *:last-child {
        grid-column: 1/-1
    }

    .topbar-inner {
        gap: 10px
    }
}

@media(max-width:520px) {
    .brand-logo {
        width: 190px;
        height: 65px
    }

    .quick-links {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:420px) {
    .container {
        width: calc(100% - 20px)
    }

    .hero h2, .hero h2 strong {
        font-size: 35px
    }

    .quick-links a {
        min-height: 115px
    }

    .gallery-grid {
        grid-template-columns: 1fr
    }

        .gallery-grid > *:last-child {
            grid-column: auto
        }

    .gallery-photo {
        height: 150px
    }
}

@media(max-width:600px) {
    .topbar-inner > span:nth-child(3) {
        display: none
    }

    .topbar-inner {
        justify-content: flex-start
    }

        .topbar-inner .socials {
            margin-left: auto
        }
}

/* Header additions kept separate so this layout can be wired to a backend later. */
.brand-logo {
    width: 260px;
    height: 86px;
    object-fit: contain;
    object-position: left center
}

.crest-fallback {
    display: none
}

.nav {
    gap: 20px
}

.nav-group {
    position: relative;
    padding: 18px 0
}

    .nav-group > a:after {
        content: '';
        position: absolute;
        inset: 0
    }

.dropdown {
    display: none;
    position: absolute;
    z-index: 10;
    top: 52px;
    left: -16px;
    min-width: 190px;
    padding: 8px 0;
    background: #fff;
    border-top: 3px solid var(--gold);
    box-shadow: 0 8px 22px #0002;
    text-transform: none
}

.nav-group:hover .dropdown, .nav-group:focus-within .dropdown {
    display: block
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    color: var(--ink); /* <--- Цей рядок робить текст видимим */
    font-weight: 500;
}

    .dropdown a:hover {
        background: #f1e9e1;
        color: var(--green);
    }

.contact-link {
    background: var(--green);
    color: #fff !important;
    padding: 13px 17px;
    border-radius: 4px;
    margin-left: 2px
}

.hero-image {
    transition: background-image .6s ease
}

.dots i {
    cursor: pointer
}

.quick-links {
    grid-template-columns: repeat(5,1fr)
}

@media(max-width:900px) {
    .brand-logo {
        width: 220px;
        height: 70px
    }

    .nav-group {
        padding: 0
    }

    .dropdown {
        position: static;
        display: block;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 12px
    }

        .dropdown a {
            padding: 7px 0
        }

    .nav-group > a:after {
        display: none
    }

    .contact-link {
        display: block;
        text-align: center
    }

    .quick-links {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:520px) {
    .brand-logo {
        width: 190px;
        height: 65px
    }

    .quick-links {
        grid-template-columns: repeat(2,1fr)
    }
}

.brand-copy {
    transition: opacity .2s ease
}

.topbar-inner .socials {
    gap: 15px
}

.header {
    border-bottom: 1px solid var(--line)
}

.quick-links a {
    transition: transform .2s ease,box-shadow .2s ease
}

    .quick-links a:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px #1d2e1a18
    }

.news-events {
    padding-bottom: 36px
}

@media(max-width:900px) {
    .header {
        border-bottom: 0
    }

    .brand-logo {
        max-width: calc(100vw - 115px)
    }
}

.scroll-progress {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    box-shadow: 0 0 10px #c9a65299;
    transition: width .1s linear
}

.topbar {
    background: var(--deep)
}

.brand-logo {
    width: 320px;
    height: 94px;
    object-fit: contain;
    object-position: left center
}

.brand-copy {
    display: none;
    color: #fff
}

.nav-group > a, .contact-link {
    transition: color .2s ease,background .2s ease
}

    .nav-group > a:hover, .nav a.current {
        color: var(--gold)
    }

    .contact-link:hover {
        background: #c9a652;
        color: var(--deep) !important
    }

.quick-links a, .panel, .news-grid article, .event-list > div {
    will-change: transform
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease,transform .65s ease
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0)
    }

.news-grid article:nth-child(2), .quick-links a:nth-child(2), .event-list > div:nth-child(2) {
    transition-delay: .08s
}

.news-grid article:nth-child(3), .quick-links a:nth-child(3), .event-list > div:nth-child(3) {
    transition-delay: .16s
}

.button, .contact-link {
    transition: background .2s ease,transform .2s ease,box-shadow .2s ease
}

    .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 17px #073f3240
    }

.button-light:hover {
    box-shadow: none
}

.menu-toggle:focus-visible, .nav a:focus-visible, .button:focus-visible, .quick-links a:focus-visible, .dots i:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px
}

.dots i {
    border: 0;
    padding: 0
}

.hero-image {
    will-change: background-image
}

.footer-socials span {
    cursor: pointer
}

.footer-grid a:hover {
    color: var(--gold)
}

@media(max-width:900px) {
    .brand-logo {
        width: 250px;
        height: 76px;
        max-width: calc(100vw - 90px)
    }

    .header {
        position: relative;
        z-index: 15;
        background: #122E22 !important
    }

    .nav {
        top: 100%;
        max-height: calc(100vh - 120px);
        overflow: auto
    }

    .scroll-progress {
        height: 2px
    }
}

@media(max-width:520px) {
    .brand-logo {
        width: 220px;
        height: 68px;
        max-width: calc(100vw - 80px)
    }

    .hero-content {
        padding-left: 12px;
        padding-right: 12px
    }

    .reveal {
        transform: translateY(12px)
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .hero-image {
        transition: none
    }

    .button, .quick-links a {
        transition: none
    }
}

.brand-logo {
    width: 390px;
    height: 100px;
    object-fit: contain;
    object-position: left center
}

.footer-logo {
    width: 150px;
    height: 92px;
    object-fit: contain;
    object-position: left center
}

.footer-brand {
    align-items: center
}

    .footer-brand h2 {
        margin-bottom: 2px
    }

.page-hero {
    background: linear-gradient(105deg,var(--deep),var(--green));
    color: #fff;
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden
}

    .page-hero:after {
        content: '21';
        position: absolute;
        right: 8%;
        top: 20px;
        color: #ffffff0a;
        font: 250px 'Playfair Display';
        line-height: 1
    }

.breadcrumbs {
    position: relative;
    z-index: 1;
    color: #b9cfc1;
    font-size: 11px;
    margin-bottom: 20px
}

    .breadcrumbs a {
        color: var(--gold);
        text-decoration: none
    }

.page-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    font: 600 clamp(38px,5vw,70px)/1.05 'Playfair Display';
    margin: 0
}

.page-hero p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: #d5e1d9;
    font-size: 16px;
    line-height: 1.65;
    margin: 18px 0 0
}

.page-content {
    padding: 52px 0 72px
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(260px,.7fr);
    gap: 38px;
    align-items: start
}

.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 30px #18382a0a
}

    .content-card h2, .content-card h3 {
        font: 600 25px 'Playfair Display';
        margin: 0 0 15px;
        color: var(--green)
    }

    .content-card h3 {
        font-size: 19px;
        margin-top: 28px
    }

    .content-card p, .content-card li {
        font-size: 14px;
        line-height: 1.75;
        color: #4d5b53
    }

    .content-card ul, .content-card ol {
        padding-left: 21px
    }

    .content-card li + li {
        margin-top: 8px
    }

.side-menu {
    background: #f0e9df;
    border-radius: 12px;
    padding: 22px;
    position: sticky;
    top: 18px
}

    .side-menu h3 {
        font: 600 18px 'Playfair Display';
        margin: 0 0 12px
    }

    .side-menu a {
        display: block;
        border-top: 1px solid #d9cfc1;
        padding: 12px 0;
        color: var(--green);
        font-size: 12px;
        text-decoration: none
    }

        .side-menu a:hover {
            color: var(--gold)
        }

.info-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-top: 24px
}

.info-card {
    background: var(--green);
    border-radius: 10px;
    color: #fff;
    padding: 22px
}

    .info-card strong {
        display: block;
        color: var(--gold);
        font: 26px 'Playfair Display';
        margin-bottom: 6px
    }

    .info-card span {
        font-size: 12px;
        line-height: 1.4
    }

.table-wrap {
    overflow-x: auto
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px
}

    .data-table th, .data-table td {
        text-align: left;
        padding: 14px;
        border-bottom: 1px solid var(--line)
    }

    .data-table th {
        background: var(--green);
        color: #fff;
        font-weight: 600
    }

    .data-table tr:last-child td {
        border-bottom: 0
    }

.notice {
    border-left: 4px solid var(--gold);
    background: #f7f0e6;
    padding: 17px 19px;
    margin: 22px 0;
    color: #536056;
    font-size: 14px;
    line-height: 1.6
}

.staff-grid, .news-page-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.person-card, .news-page-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden
}

.person-photo, .news-page-image {
    height: 190px;
    background: center/cover
}

    .person-photo.one {
        background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=600&q=80')
    }

    .person-photo.two {
        background-image: url('https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=600&q=80')
    }

    .person-photo.three {
        background-image: url('https://images.unsplash.com/photo-1580894732444-8ecded7900cd?auto=format&fit=crop&w=600&q=80')
    }

.person-card div:last-child, .news-page-card div:last-child {
    padding: 18px
}

.person-card h3, .news-page-card h3 {
    font: 600 17px 'Playfair Display';
    color: var(--green);
    margin: 0 0 6px
}

.person-card p, .news-page-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 0
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 16px 0
}

    .faq-item strong {
        display: block;
        color: var(--green);
        font: 600 16px 'Playfair Display';
        margin-bottom: 7px
    }

    .faq-item p {
        margin: 0
    }

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

.contact-line {
    background: #fff;
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: 10px
}

    .contact-line strong {
        display: block;
        color: var(--green);
        font: 600 16px 'Playfair Display';
        margin-bottom: 5px
    }

.back-home {
    display: inline-flex;
    margin-top: 24px
}

@media(max-width:900px) {
    .brand-logo {
        width: 320px;
        height: 84px;
        max-width: calc(100vw - 90px)
    }

    .footer-logo {
        width: 130px
    }

    .content-grid {
        grid-template-columns: 1fr
    }

    .side-menu {
        position: static
    }

    .staff-grid, .news-page-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:700px) {
    .container {
        width: min(100% - 28px,560px)
    }

    .header {
        height: auto;
        min-height: 92px
    }

    .brand h1, .footer-brand h2 {
        font-size: 24px
    }

    .crest {
        width: 62px;
        height: 74px
    }

        .crest strong {
            font-size: 31px
        }

    .nav {
        font-size: 12px
    }

    .hero {
        min-height: 430px
    }

    .hero-content {
        padding-top: 80px
    }

    .eyebrow {
        font-size: 20px
    }

    .hero h2, .hero h2 strong {
        font-size: 42px
    }

    .hero-copy {
        font-size: 14px
    }

    .quick-links {
        grid-template-columns: repeat(2,1fr)
    }

    .intro {
        grid-template-columns: 1fr
    }

    .panel, .building-photo {
        min-height: 200px
    }

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

    .news-image {
        height: 180px
    }

    .date {
        top: 158px
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 10px
    }

    .gallery-photo {
        height: 110px
    }

    .gallery-grid > *:last-child {
        grid-column: 1/-1
    }

    .topbar-inner {
        gap: 10px
    }
}

@media(max-width:520px) {
    .brand-logo {
        width: 260px;
        height: 70px;
        max-width: calc(100vw - 80px)
    }

    .page-hero {
        padding: 48px 0 42px
    }

        .page-hero h1 {
            font-size: 42px
        }

        .page-hero p {
            font-size: 14px
        }

    .page-content {
        padding: 30px 0 48px
    }

    .content-card {
        padding: 20px
    }

    .info-cards, .staff-grid, .news-page-grid {
        grid-template-columns: 1fr
    }

    .footer-logo {
        width: 100px;
        height: 68px
    }
}

/* Homepage layout correction */

/* 1. Робимо шапку на всю ширину екрана і фіксимо вирівнювання */
header.header {
    max-width: 100% !important;
    width: 100% !important;
    /* Вираховуємо відступи так, щоб контент стояв рівно по лінії 1200px */
    padding-left: max(24px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(24px, calc((100% - 1200px) / 2)) !important;
    background: #122E22 !important;
    color: #fff !important;
    border-bottom: none !important;
}

/* 2. Корекція сітки новин */
.news-events {
    display: block;
}

.news {
    width: 100%;
}

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

.news-image {
    width: 100%;
    min-height: 220px;
}

.news h4 {
    font-size: 16px;
    line-height: 1.3;
}

.news p {
    font-size: 12px;
    line-height: 1.45;
}

/* 3. Збільшений підвал сайту */
footer {
    padding-top: 42px;
    padding-bottom: 22px;
}

.footer-grid {
    gap: 32px;
}

.footer-brand h2 {
    font-size: 29px;
}

.footer-grid h4 {
    font-size: 15px;
}

.footer-grid a, .footer-grid p {
    font-size: 12px;
    line-height: 1.6;
}

.copyright {
    font-size: 11px;
    padding-top: 20px;
    margin-top: 28px;
}

/* 4. Адаптивність для планшетів та мобільних */
@media (max-width: 900px) {
    header.header {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .news-image {
        min-height: 190px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        min-height: 220px;
    }

    .footer-grid {
        gap: 24px;
    }

    footer {
        padding-top: 34px;
    }

    .copyright {
        line-height: 1.5;
    }
}

/* Виправлення мобільного меню */
@media (max-width: 900px) {
    /* Робимо меню на всю ширину і кріпимо рівно під зелену шапку */
    .nav {
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding: 24px 20px !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
    }

        /* Робимо головні батьківські посилання темними (видимими на білому) */
        .nav > a,
        .nav-group > a {
            color: #08c06a !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            padding: 10px 0 !important;
            display: block;
        }

    /* Візуально групуємо підпункти золотою лінією збоку */
    .nav-group .dropdown {
        border-left: 2px solid var(--gold) !important;
        margin-left: 10px !important;
        padding-left: 16px !important;
        margin-top: 4px !important;
        margin-bottom: 8px !important;
    }

    .dropdown a {
        font-size: 13px !important;
        padding: 8px 0 !important;
        color: var(--muted) !important;
    }

        .dropdown a:hover {
            color: var(--green) !important;
            background: transparent !important;
        }
}

/* ==========================================================================
   Hero Dynamic Slider - Seamless Infinite Touch/Swipe Carousel
   ========================================================================== */
.hero {
    position: relative;
    min-height: 480px;
    height: auto;
    color: white;
    overflow: hidden;
    background-color: var(--deep, #00231B);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    cursor: grab;
}

.hero-slider.is-dragging {
    cursor: grabbing;
}

.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 53%;
    background-repeat: no-repeat;
    background-color: var(--deep, #00231B);
}

@media (max-width: 900px) {
    .hero {
        min-height: 420px;
    }
    .hero-slide {
        background-position: 62% center;
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 72px;
    pointer-events: none;
}

.hero-content a,
.hero-content button {
    pointer-events: auto;
}

/* Nav arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 35, 27, 0.55);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 26px;
    line-height: 1;
    padding: 0 0 3px 0;
}

.hero-arrow:hover {
    background: var(--gold, #c9a652);
    color: var(--deep, #003B31);
    border-color: var(--gold, #c9a652);
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

@media (max-width: 768px) {
    .hero-arrow {
        display: none;
    }
}

/* Dots */
.dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    pointer-events: auto;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dots .dot,
.dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.dots .dot:hover,
.dots i:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
}

.dots .dot.active,
.dots i.active {
    background: var(--gold, #c9a652);
    width: 26px;
    border-radius: 5px;
    opacity: 1;
}

.dots .dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* ==========================================================================
   Modern Sticky Header, Topbar & Navigation System
   ========================================================================== */
.topbar {
    height: 38px;
    background: #001913;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 101;
}

.topbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.topbar-item svg {
    color: var(--gold, #C9A652);
    flex-shrink: 0;
}

.topbar-item:hover {
    color: #ffffff;
}

.topbar .socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar .socials a,
.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.topbar .socials a:hover,
.footer-socials a:hover {
    color: var(--gold, #C9A652);
    transform: translateY(-1px);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 96px;
    background: #00231B;
    transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header.header-scrolled {
    height: 76px;
    background: rgba(0, 35, 27, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.brand-logo {
    height: 68px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: height 0.3s ease, transform 0.2s ease;
}

.header.header-scrolled .brand-logo {
    height: 56px;
}

.brand:hover .brand-logo {
    transform: scale(1.02);
}

.crest-fallback,
.brand-copy {
    display: none !important;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link,
.nav-group-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.2s ease;
    font-family: inherit;
}

.nav-link:hover,
.nav-group-trigger:hover,
.nav-group:hover .nav-group-trigger,
.nav-group.open .nav-group-trigger {
    color: var(--gold, #C9A652);
}

.nav-link.current,
.nav-group.current .nav-group-trigger {
    color: var(--gold, #C9A652);
}

.nav-link.current::after,
.nav-group.current .nav-group-trigger::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold, #C9A652);
    border-radius: 2px;
}

.nav-group-trigger .chevron {
    transition: transform 0.25s ease;
}

.nav-group:hover .chevron,
.nav-group.open .chevron {
    transform: rotate(180deg);
}

/* Contact button in nav */
.nav .contact-link {
    background: var(--green, #073F32);
    border: 1px solid rgba(201, 166, 82, 0.4);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 6px;
    transition: all 0.25s ease;
    margin-left: 6px;
}

.nav .contact-link:hover {
    background: var(--gold, #C9A652);
    color: var(--deep, #00231B) !important;
    border-color: var(--gold, #C9A652);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 166, 82, 0.25);
}

.nav .contact-link.current::after {
    display: none;
}

/* Dropdown */
.nav-group {
    position: relative;
    padding: 15px 0;
}

.nav-group .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    padding: 8px 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 105;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-group:hover .dropdown,
.nav-group.open .dropdown,
.nav-group:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown a {
    display: block;
    padding: 11px 20px;
    color: #1a2e26 !important;
    text-decoration: none;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.18s ease;
    border-left: 3px solid transparent;
}

.dropdown a:hover {
    background: #F4EFE6 !important;
    color: var(--green, #073F32) !important;
    padding-left: 24px;
    border-left-color: var(--gold, #C9A652);
}

.dropdown a.current {
    color: var(--green, #073F32) !important;
    background: #ECE5D8 !important;
    font-weight: 700 !important;
    border-left-color: var(--gold, #C9A652);
}

/* Animated Hamburger button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 106;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 3px;
    margin: 5px auto;
    transition: all 0.25s ease;
}

.menu-toggle.active .bar-top {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .bar-mid {
    opacity: 0;
    transform: translateX(-6px);
}

.menu-toggle.active .bar-bot {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
}

@media (min-width: 961px) {
    .nav {
        display: flex !important;
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        padding: 0 !important;
        flex-direction: row !important;
        overflow: visible !important;
    }
    .menu-toggle {
        display: none !important;
    }
    .nav-backdrop {
        display: none !important;
    }
}

/* Mobile & Tablet Styles */
@media (max-width: 960px) {
    .menu-toggle {
        display: block;
    }

    .header {
        height: 76px;
    }

    .header.header-scrolled {
        height: 68px;
    }

    .brand-logo {
        height: 52px;
        max-width: 220px;
    }

    .header.header-scrolled .brand-logo {
        height: 46px;
    }

    .nav {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 320px !important;
        max-width: 85vw !important;
        height: 100% !important;
        background: #00231B !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 85px 24px 30px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        transform: translateX(110%) !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s ease, opacity 0.2s ease !important;
        z-index: 160 !important;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.45) !important;
    }

    .nav.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-link,
    .nav-group-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.92) !important;
    }

    .nav-link.current::after,
    .nav-group.current .nav-group-trigger::after {
        display: none;
    }

    .nav-group {
        padding: 0;
    }

    .nav-group .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: rgba(255, 255, 255, 0.06);
        border: none;
        border-radius: 8px;
        margin: 6px 0 12px;
        padding: 6px 0;
        box-shadow: none;
        pointer-events: auto;
    }

    .nav-group.open .dropdown {
        display: block;
    }

    .dropdown a {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 10px 18px;
        font-size: 14px !important;
    }

    .dropdown a:hover,
    .dropdown a.current {
        background: rgba(201, 166, 82, 0.15) !important;
        color: var(--gold, #C9A652) !important;
    }

    .nav .contact-link {
        margin: 20px 0 0 0;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .topbar-contacts {
        gap: 12px;
    }
    .topbar-item:nth-child(1) {
        display: none;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 44px;
        max-width: 180px;
    }
    .topbar-item:nth-child(3) {
        display: none;
    }
}

/* Desktop sticky footer fix for short inner pages */
@media (min-width: 901px) {
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    main {
        flex: 1 0 auto;
    }

    footer {
        margin-top: auto;
    }
}
}