:root {
    --maroon: #8b1a1a;
    --maroon-dark: #651212;
    --gold: #c7a247;
    --gold-soft: #efe0b8;
    --cream: #fffaf2;
    --white: #ffffff;
    --ink: #1f1f1f;
    --muted: #6c6c6c;
    --line: #eadfce;
    --shadow: 0 18px 36px rgba(31, 24, 18, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(199, 162, 71, 0.1), transparent 24%),
        radial-gradient(circle at left center, rgba(139, 26, 26, 0.05), transparent 18%),
        linear-gradient(180deg, #ffffff 0%, #fffdf8 55%, #fff8ee 100%);
}
a { color: inherit; }

.marquee-bar {
    background: var(--maroon-dark);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 0;
}

.marquee-track {
    display: inline-flex;
    gap: 50px;
    padding-left: 100%;
    animation: marquee 28s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(199, 162, 71, 0.34);
    box-shadow: 0 12px 24px rgba(31, 24, 18, 0.04);
}

.header-inner,
.nav-inner,
.quick-links,
.content-grid,
.content-wide,
.stats-strip,
.principal-section,
.footer-inner,
.page-hero-inner,
.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.header-logo-side {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 132px;
}

.brand-mark {
    width: 132px;
    height: 132px;
    border-radius: 0;
    display: grid;
    place-items: center;
    background: transparent;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    border: none;
    box-shadow: none;
}

.brand-logo-wrap {
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-copy h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--maroon);
    line-height: 1.1;
}

.brand-copy-centered {
    flex: 1 1 auto;
    text-align: center;
    padding: 0 18px;
}

.brand-copy h2 {
    margin: 4px 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--maroon-dark);
}

.brand-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.header-logo-placeholder-text {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--maroon);
    font-size: 20px;
}

.navbar {
    background: linear-gradient(90deg, var(--maroon-dark) 0%, var(--maroon) 54%, #a93434 100%);
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
    flex: 0 0 auto;
}

.nav-item > a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    white-space: nowrap;
}

.nav-item:hover > a,
.nav-item.active > a,
.nav-item > a:hover {
    background: var(--gold);
    color: var(--maroon-dark);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
    z-index: 50;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 11px 16px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    background: #fff;
}

.dropdown a:hover,
.dropdown a.dropdown-active {
    background: var(--cream);
    color: var(--maroon);
}

.social-side-links {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-side-links a {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    border-radius: 12px 0 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-side-links a:hover {
    transform: translateX(-6px);
    filter: brightness(1.06);
}

.social-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.social-facebook {
    background: #3b5998;
}

.social-youtube {
    background: #cc0000;
}

.social-instagram {
    background: linear-gradient(180deg, #c13584 0%, #fd1d1d 100%);
}

.social-linkedin {
    background: #0077b5;
}

.social-x {
    background: #111111;
}

.page-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 247, 231, 0.95) 54%, rgba(199, 162, 71, 0.28) 100%);
    color: var(--maroon-dark);
    padding: 56px 0;
    border-bottom: 1px solid rgba(199, 162, 71, 0.26);
}

.page-hero h1 {
    margin: 0 0 10px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 800;
}

.page-hero p {
    margin: 0;
    max-width: 62ch;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    color: #5d5146;
}

.hero {
    position: relative;
    overflow: hidden;
    background: #f8f1e7;
    max-height: 510px;
}

.slides {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 510px;
    display: flex;
    align-items: end;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 14, 14, 0.74) 0%, rgba(20, 14, 14, 0.22) 52%, rgba(20, 14, 14, 0.08) 100%);
}

.slide-image,
.slide-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    background: linear-gradient(135deg, #8b1a1a 0%, #cfb064 100%);
}

.slide:nth-child(2) .slide-placeholder {
    background: linear-gradient(135deg, #284d85 0%, #8b1a1a 100%);
}

.slide:nth-child(3) .slide-placeholder {
    background: linear-gradient(135deg, #296640 0%, #cfb064 100%);
}

.slide-copy {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 46px;
    color: #fff;
}

.slide-copy h2 {
    margin: 0 0 8px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
}

.slide-copy p {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    max-width: 58ch;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.84);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

.slider-control.prev { left: 18px; }
.slider-control.next { right: 18px; }

.slider-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.dot.active { background: var(--gold); }

.quick-links-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 236, 0.98) 100%);
    border-bottom: 1px solid rgba(199, 162, 71, 0.22);
}

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

.quick-links a {
    text-decoration: none;
    color: var(--maroon-dark);
    text-align: center;
    padding: 16px 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.74);
    border-right: 1px solid rgba(199, 162, 71, 0.18);
}

.quick-links a:hover {
    background: var(--maroon);
    color: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 38px 0;
}

.content-wide {
    padding: 38px 0;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.section-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.section-title {
    margin: 0 0 18px;
    font-family: 'Playfair Display', serif;
    color: var(--maroon);
    font-size: 24px;
    font-weight: 800;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 10px;
}

.section-card p,
.section-card li {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    color: #383838;
}

.section-card ul {
    margin: 0;
    padding-left: 20px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(199, 162, 71, 0.18);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--maroon);
}

.empty-box {
    border: 2px dashed var(--gold-soft);
    border-radius: 12px;
    padding: 24px;
    background: #fffaf1;
    color: var(--muted);
}

.announcement-item,
.document-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}

.announcement-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--maroon);
    margin-top: 7px;
    flex: 0 0 auto;
}

.announcement-item strong,
.document-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.meta {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.document-item a {
    color: var(--maroon);
    font-weight: 700;
    text-decoration: none;
}

.stats-band {
    margin: 10px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
    border-top: 1px solid rgba(199, 162, 71, 0.45);
    border-bottom: 1px solid rgba(199, 162, 71, 0.45);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 34px 0;
}

.stat { text-align: center; }

.stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--maroon);
}

.stat span {
    color: #444;
    font-weight: 700;
}

.principal-section {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 30px;
    padding: 42px 0 54px;
    align-items: center;
}

.principal-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--maroon) 0%, #d9b96b 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    box-shadow: var(--shadow);
}

.principal-text blockquote {
    margin: 0 0 18px;
    padding-left: 20px;
    border-left: 4px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.7;
    color: #4a4035;
    font-style: italic;
}

.principal-text cite {
    font-style: normal;
    color: var(--maroon);
    font-weight: 800;
    font-size: 15px;
}

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

.feature-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 22px rgba(31, 24, 18, 0.05);
}

.feature-box h4 {
    margin: 0 0 8px;
    color: var(--maroon);
    font-size: 19px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.footer {
    background: linear-gradient(180deg, #fff8ed 0%, #f6ecdd 100%);
    color: #5d5146;
    border-top: 1px solid rgba(199, 162, 71, 0.26);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 26px;
    padding: 38px 0 22px;
}

.footer h4 {
    margin: 0 0 12px;
    color: var(--maroon);
    font-size: 15px;
    font-weight: 800;
    border-bottom: 1px solid rgba(199, 162, 71, 0.22);
    padding-bottom: 8px;
}

.footer p,
.footer a {
    margin: 0;
    line-height: 1.9;
    color: #6a5a49;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(199, 162, 71, 0.22);
    padding: 14px 0 22px;
    font-size: 12px;
    color: #7f6b57;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

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

.data-table th {
    background: var(--cream);
    color: var(--maroon);
    font-family: 'Playfair Display', serif;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.54);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.popup {
    width: min(480px, calc(100% - 28px));
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
}

.popup-banner {
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--maroon) 0%, #d7b86b 100%);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.popup-close {
    width: 100%;
    border: none;
    background: var(--maroon);
    color: #fff;
    padding: 14px 18px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 980px) {
    .content-grid,
    .content-split,
    .principal-section,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-strip,
    .quick-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .header-logo-side {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-inner {
        text-align: center;
    }

    .header-logo-side,
    .header-logo-side-right {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
    }

    .brand-copy-centered {
        text-align: center;
        padding: 0;
    }

    .slide,
    .hero {
        max-height: none;
    }

    .nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .dropdown {
        left: 0;
        min-width: 220px;
    }

    .slide {
        height: 420px;
    }

    .social-side-links {
        right: 10px;
        top: auto;
        bottom: 16px;
        transform: none;
        flex-direction: row;
        gap: 6px;
        max-width: calc(100vw - 20px);
    }

    .social-side-links a {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .social-side-links a:hover {
        transform: translateY(-4px);
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .gallery-grid,
    .stats-strip,
    .quick-links,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
