/* ConvSchool Public Website — theme-driven via CSS variables set inline by the layout */

:root {
    --site-primary: #7a0016;
    --site-primary-dark: #5c0010;
    --site-secondary: #c9a24b;
    --site-bg: #ffffff;
    --site-bg-soft: #fbf6ef;
    --site-text: #2b2b2b;
    --site-heading: #3a0009;
    --site-topbar-bg: #5c0010;
    --site-topbar-text: #f6e7d8;
    --site-footer-bg: #4a000d;
    --site-card-radius: 16px;
    --site-btn-radius: 10px;
    --site-container: 1200px;
    --site-font-heading: 'Playfair Display', serif;
    --site-font-body: 'Inter', sans-serif;
    --site-font-size: 16px;
}

html { scroll-behavior: smooth; }

body.site-body {
    font-family: var(--site-font-body);
    font-size: var(--site-font-size);
    color: var(--site-text);
    background: var(--site-bg);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.site-container {
    max-width: var(--site-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-body h1, .site-body h2, .site-body h3, .site-body .font-heading {
    font-family: var(--site-font-heading);
    color: var(--site-heading);
}

/* ---------- Buttons ---------- */
.btn-site-primary {
    background: var(--site-primary);
    border: 1.5px solid var(--site-primary);
    color: #fff;
    border-radius: var(--site-btn-radius);
    padding: .8rem 1.7rem;
    font-weight: 600;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 8px 22px rgba(122, 0, 22, .22);
    white-space: nowrap;
}
.btn-site-primary:hover { background: var(--site-primary-dark); border-color: var(--site-primary-dark); color: #fff; transform: translateY(-2px); }
.btn-site-outline {
    background: var(--site-surface, #fff);
    border: 1.5px solid var(--site-primary);
    color: var(--site-primary);
    border-radius: var(--site-btn-radius);
    padding: .75rem 1.6rem;
    font-weight: 600;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    transition: all .25s ease;
}
.btn-site-outline:hover { background: var(--site-primary); color: #fff; transform: translateY(-2px); }
.btn-site-light {
    background: var(--site-surface, #fff);
    border: 1.5px solid #fff;
    color: var(--site-primary);
    border-radius: var(--site-btn-radius);
    padding: .7rem 1.5rem;
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    transition: all .25s ease;
}
.btn-site-light:hover { background: var(--site-bg-soft); color: var(--site-primary-dark); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.site-topbar {
    background: var(--site-topbar-bg);
    color: var(--site-topbar-text);
    font-size: .8rem;
    padding: .55rem 0;
}
.site-topbar a { color: var(--site-topbar-text); text-decoration: none; transition: opacity .2s; }
.site-topbar a:hover { opacity: .7; }
.site-topbar .topbar-item { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.1rem; font-weight: 500; }
.site-topbar .topbar-item i {
    display: inline-flex;
    width: 21px; height: 21px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .68rem;
    opacity: .9;
}
.site-topbar .topbar-contacts .topbar-item + .topbar-item { padding-left: 1.1rem; border-left: 1px solid currentColor; }
.site-topbar .social-icons a { margin-left: .7rem; font-size: .95rem; }

/* Dark mode toggle pill */
.dark-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid currentColor;
    border-radius: 50rem;
    padding: .12rem .65rem .12rem .16rem;
    background: transparent;
    color: inherit;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
    transition: opacity .2s;
}
.dark-toggle:hover { opacity: .75; }
.dark-toggle .dt-icon {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #1d1d28;
    color: #ffd76a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
}
body.site-dark .dark-toggle .dt-icon { background: #ffd76a; color: #1d1d28; }
.topbar-marquee { overflow: hidden; white-space: nowrap; }
.topbar-marquee span { display: inline-block; padding-left: 100%; animation: site-marquee 25s linear infinite; }
@keyframes site-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ---------- Header ---------- */
.site-header {
    background: var(--site-surface, #fff);
    box-shadow: 0 2px 18px rgba(58, 0, 9, .08);
    position: relative;
    z-index: 1030;
}
.site-header.is-sticky { position: sticky; top: 0; }
.site-header .navbar { padding: 1.05rem 0; }
.site-brand { display: flex; align-items: center; gap: .95rem; text-decoration: none; }
.site-brand img { height: 62px; width: auto; }
.site-brand .brand-divider { width: 1px; align-self: stretch; background: rgba(0, 0, 0, .18); min-height: 52px; }
@media (min-width: 992px) {
    #siteNav.navbar-collapse { flex-wrap: nowrap; min-width: 0; }
    .header-actions { flex-wrap: nowrap !important; flex-shrink: 0; }
    .header-actions .btn-site-primary, .header-actions .btn-site-outline { padding: .68rem 1.15rem; font-size: .84rem; }
    .site-brand { flex-shrink: 0; }
    .site-brand .brand-name { font-size: 1.1rem; max-width: 250px; }
}
@media (min-width: 1300px) {
    .site-brand .brand-name { font-size: 1.22rem; max-width: 300px; }
    .site-nav .nav-link { padding: .65rem .8rem !important; }
}
.site-brand .brand-name {
    font-family: var(--site-font-heading);
    font-weight: 800;
    font-size: 1.22rem;
    line-height: 1.12;
    color: var(--site-primary);
    text-transform: uppercase;
    letter-spacing: .01em;
    max-width: 280px;
}
.site-brand .brand-motto {
    font-size: .7rem;
    letter-spacing: .24em;
    color: var(--site-secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: .2rem;
}
.site-nav { gap: 0; }
.site-nav .nav-link {
    color: var(--site-heading);
    font-weight: 600;
    font-size: .9rem;
    padding: .65rem .65rem !important;
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--site-primary); }
.site-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: .85rem; right: .85rem; bottom: 2px;
    height: 2.5px;
    background: var(--site-primary);
    border-radius: 2px;
}
.site-nav .dropdown-menu { border-radius: 12px; border: 1px solid #f0e6d8; box-shadow: 0 14px 36px rgba(58, 0, 9, .12); padding: .5rem; }
.site-nav .dropdown-item { border-radius: 8px; font-size: .9rem; font-weight: 500; padding: .5rem .85rem; }
.site-nav .dropdown-item:hover { background: var(--site-bg-soft); color: var(--site-primary); }

/* ---------- Header actions (search + buttons) ---------- */
.header-search { position: relative; }
.header-search-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--site-primary);
    color: var(--site-primary);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background .2s, color .2s;
}
.header-search-btn:hover, .header-search-btn[aria-expanded="true"] { background: var(--site-primary); color: #fff; }
.header-search-panel {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1040;
    background: var(--site-surface, #fff);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(58, 0, 9, .16);
    padding: .6rem;
    width: 300px;
    gap: .5rem;
}
.header-search-panel.is-open { display: flex; }
.header-search-panel input { border-radius: 8px; font-size: .88rem; }
.header-search-panel .btn-site-primary { padding: .5rem .8rem; }
.search-hit-flash { animation: search-hit 1.6s ease 1; }
@keyframes search-hit {
    0%, 60% { outline: 3px solid var(--site-secondary); outline-offset: 6px; border-radius: 6px; }
    100% { outline: 3px solid transparent; outline-offset: 6px; }
}

/* ---------- Dark mode ---------- */
body.site-dark {
    --site-bg: #0f0f16;
    --site-bg-soft: #171720;
    --site-surface: #1b1b27;
    --site-text: #c7c7d1;
    --site-heading: #efe9dd;
    --site-topbar-bg: #0b0b11;
    --site-topbar-text: #b9b9c6;
    background: var(--site-bg);
    color: var(--site-text);
}
body.site-dark .site-header { box-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
body.site-dark .site-brand .brand-name { color: #f2ecdf; }
body.site-dark .site-brand .brand-divider { background: rgba(255, 255, 255, .16); }
body.site-dark .header-search-btn { border-color: var(--site-secondary); color: var(--site-secondary); }
body.site-dark .header-search-btn:hover, body.site-dark .header-search-btn[aria-expanded="true"] { background: var(--site-secondary); color: #1d1d28; }
body.site-dark .btn-site-outline { border-color: var(--site-secondary); color: var(--site-secondary); }
body.site-dark .btn-site-outline:hover { background: var(--site-secondary); color: #1d1d28; }
body.site-dark .site-hero h1 .highlight { color: #e0596d; }
body.site-dark .site-nav .dropdown-menu { border-color: #2a2a38; }
body.site-dark .text-muted { color: #9d9daa !important; }
body.site-dark .programme-card,
body.site-dark .feature-card,
body.site-dark .news-card,
body.site-dark .download-card,
body.site-dark .testimonial-card,
body.site-dark .faq-accordion .accordion-item,
body.site-dark .faq-accordion .accordion-button,
body.site-dark .hero-feature { border-color: #2a2a38; color: var(--site-text); }
body.site-dark .header-search-panel { border-color: #2a2a38; }
body.site-dark .header-search-panel input { background: #12121a; border-color: #2a2a38; color: var(--site-text); }
body.site-dark img { filter: brightness(.92); }

/* ---------- Hero ---------- */
.site-hero {
    background: var(--site-bg-soft);
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 7.5rem;
}
.site-hero::before {
    /* soft gold glow top-left for depth */
    content: '';
    position: absolute;
    top: -140px; left: -140px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 75, .16), transparent 65%);
    pointer-events: none;
}
.site-hero .hero-kicker {
    color: var(--site-secondary);
    text-transform: uppercase;
    letter-spacing: .26em;
    font-weight: 700;
    font-size: .8rem;
    margin-bottom: 1.15rem;
}
.site-hero h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.13;
    margin-bottom: 1.4rem;
    letter-spacing: -.01em;
}
.site-hero h1 .highlight { color: var(--site-primary); }
.site-hero .hero-desc {
    color: #6b6259;
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 33rem;
    margin-bottom: 2rem;
}

/* Arch-framed hero image with maroon arch behind and gold accent */
.hero-media { position: relative; padding: 1.75rem 2.5rem 0 0; }
.hero-media .hero-arch {
    position: relative;
    z-index: 2;
    border-radius: 999px 999px 20px 20px;
    overflow: hidden;
    border: 12px solid #fff;
    box-shadow: 0 30px 70px rgba(74, 0, 13, .28);
    background: var(--site-surface, #fff);
}
.hero-media .hero-arch img,
.hero-media .hero-arch .hero-fallback {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.hero-media .hero-arch .hero-fallback {
    background: linear-gradient(165deg, var(--site-primary), var(--site-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .85);
    font-size: 6rem;
}
.hero-media::before {
    /* offset maroon arch behind the photo */
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 28px; left: 3.2rem;
    background: linear-gradient(165deg, var(--site-primary), var(--site-primary-dark));
    border-radius: 999px 999px 20px 20px;
    z-index: 1;
}
.hero-media::after {
    /* soft gold circle peeking from the top right */
    content: '';
    position: absolute;
    top: -34px; right: -30px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e9cf94, var(--site-secondary));
    opacity: .55;
    z-index: 0;
}

.hero-features { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-feature {
    background: var(--site-surface, #fff);
    border: 1px solid #f0e4d6;
    border-radius: 999px;
    padding: .6rem 1.25rem .6rem .65rem;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    box-shadow: 0 8px 22px rgba(58, 0, 9, .06);
}
.hero-feature .hf-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(122, 0, 22, .08);
    color: var(--site-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.hero-feature strong { display: block; font-size: .84rem; color: var(--site-heading); line-height: 1.25; }
.hero-feature small { color: #94897c; font-size: .74rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 3; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ---------- Section heading with ornament ---------- */
.site-section { padding: 5.25rem 0; }
.site-section.bg-soft { background: var(--site-bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.25rem; }
.section-head .ornament {
    color: var(--site-secondary);
    font-size: 1.45rem;
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
}
.section-head .ornament::before,
.section-head .ornament::after {
    content: '';
    width: 44px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--site-secondary));
}
.section-head .ornament::after { background: linear-gradient(90deg, var(--site-secondary), transparent); }
.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: .65rem;
    letter-spacing: -.01em;
}
.section-head p { color: #94897c; margin: 0; font-size: .98rem; }

/* ---------- Programmes ---------- */
.programme-card {
    background: var(--site-surface, #fff);
    border: 1px solid #f0e3d2;
    border-radius: var(--site-card-radius);
    padding: 1.8rem 1.15rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(92, 0, 16, .14);
    border-color: transparent;
}
.programme-card .p-icon {
    width: 56px; height: 56px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.55rem;
    margin: 0 auto 1.1rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}
.programme-card img.p-img { width: 100%; height: 125px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.programme-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
    font-family: var(--site-font-body);
    color: var(--site-heading);
    line-height: 1.3;
}
.programme-card p { font-size: .8rem; color: #94897c; line-height: 1.6; flex-grow: 1; margin-bottom: .85rem; }
.programme-card .p-link { color: var(--site-primary); font-weight: 700; font-size: .8rem; text-decoration: none; }
.programme-card .p-link:hover { text-decoration: underline; }

/* ---------- Features (Why Choose Us) ---------- */
.feature-card {
    background: var(--site-surface, #fff);
    border-radius: var(--site-card-radius);
    padding: 2.1rem 1.3rem;
    text-align: center;
    height: 100%;
    border: 1px solid #f0e6d8;
    transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(92, 0, 16, .12); }
.feature-card .f-icon {
    width: 66px; height: 66px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    border: 1.5px dashed var(--site-secondary);
    color: var(--site-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    background: rgba(201, 162, 75, .06);
}
.feature-card h3 { font-size: 1rem; font-weight: 700; font-family: var(--site-font-body); color: var(--site-heading); margin-bottom: .5rem; }
.feature-card p { font-size: .8rem; color: #94897c; line-height: 1.6; margin: 0; }

/* ---------- Statistics ---------- */
.site-stats {
    background: linear-gradient(115deg, var(--site-primary-dark) 0%, var(--site-primary) 55%, #8f1024 100%);
    color: #fff;
    padding: 3.75rem 0;
}
.stat-item { text-align: center; padding: .6rem 0; position: relative; }
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 18%;
    height: 64%;
    width: 1px;
    background: rgba(255, 255, 255, .16);
}
.stat-item .stat-value {
    font-family: var(--site-font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--site-secondary);
    line-height: 1.15;
}
.stat-item .stat-label { font-size: .85rem; color: rgba(255, 255, 255, .82); margin-top: .25rem; }

/* ---------- About / Principal ---------- */
.about-img, .principal-photo { border-radius: var(--site-card-radius); width: 100%; object-fit: cover; box-shadow: 0 22px 50px rgba(58, 0, 9, .14); }
.principal-photo { max-width: 320px; }

/* ---------- News & events ---------- */
.news-head { margin-bottom: 2.25rem; }
.news-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin: 0; }
.news-card {
    background: var(--site-surface, #fff);
    border: 1px solid #f0e3d2;
    border-radius: var(--site-card-radius);
    overflow: hidden;
    height: 100%;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(58, 0, 9, .12); }
.news-card .n-media { position: relative; height: 170px; background: var(--site-bg-soft); flex-shrink: 0; }
.news-card .n-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .n-media .n-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: var(--site-secondary); }
.news-card .n-date {
    position: absolute;
    left: .9rem; bottom: -1rem;
    background: var(--site-primary);
    color: #fff;
    border-radius: 10px;
    padding: .4rem .7rem;
    text-align: center;
    line-height: 1.05;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(122, 0, 22, .3);
    z-index: 2;
}
.news-card .n-date b { display: block; font-size: 1.05rem; }
.news-card .n-body { padding: 1.7rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-card h3 { font-size: .98rem; font-weight: 700; font-family: var(--site-font-body); color: var(--site-heading); margin-bottom: .45rem; line-height: 1.35; }
.news-card p { font-size: .8rem; color: #94897c; line-height: 1.6; flex-grow: 1; margin-bottom: .75rem; }
.news-card .n-link { color: var(--site-primary); font-size: .8rem; font-weight: 700; text-decoration: none; }
.news-card .n-link:hover { text-decoration: underline; }

.cta-card {
    background: linear-gradient(155deg, var(--site-primary) 0%, var(--site-primary-dark) 100%);
    border-radius: var(--site-card-radius);
    color: #fff;
    padding: 2.1rem 1.75rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(74, 0, 13, .28);
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 190px; height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}
.cta-card h3 { color: #fff; font-size: 1.55rem; font-weight: 800; line-height: 1.25; margin-bottom: .7rem; }
.cta-card p { color: rgba(255, 255, 255, .85); font-size: .88rem; line-height: 1.65; }
.cta-card img { border-radius: 12px; margin-top: auto; height: 210px; object-fit: cover; object-position: top; width: 100%; }

/* ---------- Gallery ---------- */
.gallery-item { border-radius: var(--site-card-radius); overflow: hidden; position: relative; display: block; }
.gallery-item img { width: 100%; height: 215px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Testimonials / partners ---------- */
.testimonial-card {
    background: var(--site-surface, #fff);
    border-radius: var(--site-card-radius);
    border: 1px solid #f0e3d2;
    padding: 1.8rem 1.4rem;
    height: 100%;
}
.testimonial-card .t-quote { color: var(--site-secondary); font-size: 1.7rem; }
.testimonial-card p { font-size: .88rem; color: #6b6259; line-height: 1.7; }
.testimonial-card .t-name { font-weight: 700; color: var(--site-heading); font-size: .92rem; }
.testimonial-card .t-role { font-size: .75rem; color: var(--site-secondary); font-weight: 600; }
.partner-logo { max-height: 62px; width: auto; filter: grayscale(1); opacity: .7; transition: all .3s ease; }
.partner-logo:hover { filter: none; opacity: 1; }

/* ---------- FAQ / downloads ---------- */
.faq-accordion .accordion-item { border: 1px solid #f0e3d2; border-radius: 12px !important; margin-bottom: .8rem; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 600; color: var(--site-heading); background: var(--site-surface, #fff); box-shadow: none; font-size: .95rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--site-bg-soft); color: var(--site-primary); }
.download-card {
    background: var(--site-surface, #fff);
    border: 1px solid #f0e3d2;
    border-radius: var(--site-card-radius);
    padding: 1.2rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all .3s ease;
}
.download-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(58, 0, 9, .1); }
.download-card .d-icon { font-size: 1.8rem; color: var(--site-primary); }
.download-card strong { color: var(--site-heading); font-size: .92rem; }
.download-card small { color: #94897c; }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--site-bg-soft); padding: 3rem 0; }
.contact-strip .c-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--site-surface, #fff);
    border: 1.5px dashed var(--site-secondary);
    color: var(--site-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}
.contact-strip h3 { margin: 0 0 .25rem; font-size: 1.45rem; font-weight: 800; }
.contact-strip p { margin: 0; color: #94897c; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--site-footer-bg); color: rgba(255, 255, 255, .72); font-size: .86rem; }
.site-footer .footer-main { padding: 4.25rem 0 3rem; }
.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    font-family: var(--site-font-body);
    position: relative;
    padding-bottom: .6rem;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 2px;
    background: var(--site-secondary);
    border-radius: 2px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .7rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: all .2s; }
.site-footer a:hover { color: var(--site-secondary); padding-left: 2px; }
.site-footer p { line-height: 1.75; }
.site-footer .footer-brand img { height: 52px; }
.site-footer .footer-brand .brand-name {
    color: #fff;
    font-family: var(--site-font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.2;
    max-width: 240px;
}
.site-footer .footer-brand .brand-motto { color: var(--site-secondary); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-top: .2rem; }
.site-footer .footer-social { margin-top: 1.25rem; }
.site-footer .footer-social a {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    margin-right: .5rem;
    font-size: 1rem;
    transition: all .25s;
}
.site-footer .footer-social a:hover { background: var(--site-secondary); color: var(--site-primary-dark); padding-left: 0; transform: translateY(-2px); }
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.2rem 0;
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
}
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.55; }
.footer-contact i { color: var(--site-secondary); margin-top: .15rem; }

/* ---------- Announcement popup ---------- */
.site-popup-backdrop {
    position: fixed; inset: 0;
    background: rgba(20, 0, 4, .55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.site-popup {
    background: var(--site-surface, #fff);
    border-radius: var(--site-card-radius);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.site-popup img { width: 100%; max-height: 240px; object-fit: cover; }
.site-popup .p-body { padding: 1.6rem; }
.site-popup .p-close {
    position: absolute; top: .6rem; right: .6rem;
    background: rgba(0, 0, 0, .45);
    border: 0; color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

/* ---------- Back to top ---------- */
.site-back-top {
    position: fixed;
    right: 1.3rem; bottom: 1.3rem;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--site-primary);
    color: #fff;
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1500;
    box-shadow: 0 12px 28px rgba(92, 0, 16, .38);
    cursor: pointer;
    transition: transform .2s;
}
.site-back-top:hover { transform: translateY(-3px); }
.site-back-top.show { display: flex; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.reveal-visible { opacity: 1; transform: none; }
body.no-animations .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Responsive visibility per section ---------- */
@media (max-width: 575.98px) { .section-hide-mobile { display: none !important; } }
@media (min-width: 576px) and (max-width: 991.98px) { .section-hide-tablet { display: none !important; } }
@media (min-width: 992px) { .section-hide-desktop { display: none !important; } }

@media (max-width: 1199.98px) {
    .hero-media .hero-arch img, .hero-media .hero-arch .hero-fallback { height: 420px; }
}
@media (max-width: 991.98px) {
    .site-hero { padding: 3.5rem 0 6rem; }
    .hero-media { margin-top: 3rem; max-width: 460px; margin-left: auto; margin-right: auto; }
    .stat-item + .stat-item::before { display: none; }
    .site-brand .brand-name { font-size: 1.05rem; max-width: 240px; }
    .site-brand img { height: 52px; }
    .site-header .navbar { padding: .75rem 0; }
    .site-section { padding: 4rem 0; }
}
@media (max-width: 767.98px) {
    .site-topbar { font-size: .72rem; padding: .45rem 0; }
    .site-topbar .topbar-item { margin-right: .8rem; }
    .site-topbar .social-icons a { margin-left: .55rem; }
    .news-head { flex-direction: column; align-items: flex-start !important; gap: .75rem; }
}
@media (max-width: 575.98px) {
    .hero-media { padding: 1.25rem 1.5rem 0 0; }
    .hero-media .hero-arch { border-width: 8px; }
    .hero-media .hero-arch img, .hero-media .hero-arch .hero-fallback { height: 330px; }
    .hero-media::before { left: 2rem; bottom: 20px; }
    .hero-media::after { width: 90px; height: 90px; top: -20px; right: -14px; }
    .site-hero { padding: 2.75rem 0 5rem; }
    .site-hero h1 { font-size: 2.05rem; }
    .site-hero .hero-desc { font-size: .95rem; }
    .btn-site-primary, .btn-site-outline { padding: .7rem 1.25rem; font-size: .88rem; }
    .hero-features { margin-top: 1.9rem; gap: .7rem; }
    .hero-feature { padding: .5rem 1rem .5rem .55rem; }
    .section-head { margin-bottom: 2.25rem; }
    .site-section { padding: 3.25rem 0; }
    .stat-item .stat-value { font-size: 2rem; }
    .site-stats { padding: 2.75rem 0; }
    .cta-card { padding: 1.75rem 1.4rem 1.4rem; }
    .cta-card img { height: 170px; }
    .contact-strip { padding: 2.25rem 0; text-align: center; }
    .contact-strip .d-flex.flex-wrap { justify-content: center; }
    .contact-strip .c-icon { margin: 0 auto; }
    .site-footer .footer-main { padding: 3rem 0 2rem; }
    .site-footer .footer-bottom { text-align: center; }
    .site-footer .footer-bottom .site-container { justify-content: center !important; }
    .site-back-top { width: 40px; height: 40px; right: 1rem; bottom: 1rem; }
}
