/* ===================================================
   Église Présence de Dieu — Premium NPO Stylesheet
   =================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bg:            #f5f3ef;
    --surface:       #ffffff;
    --surface-soft:  #f0ece4;
    --ink:           #1a2832;
    --muted:         #5a6878;
    --brand:         #0d3f5f;
    --brand-mid:     #1a5c87;
    --brand-deep:    #081e2e;
    --accent:        #c6902a;
    --accent-light:  #f0d99a;
    --accent-soft:   #faefda;
    --gold:          #d4a843;
    --border:        #ddd8ce;
    --shadow-sm:     0 4px 12px rgba(13,63,95,.10);
    --shadow-md:     0 12px 28px rgba(13,63,95,.14);
    --shadow-lg:     0 22px 48px rgba(13,63,95,.18);
    --radius-xl:     1.5rem;
    --radius-lg:     1.1rem;
    --radius-md:     0.75rem;
    --radius-sm:     0.5rem;
    --container:     1160px;
    --header-h:      72px;
    --transition:    0.28s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.68;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 60% 40% at 8% 0%, rgba(198,144,42,.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 95% 5%, rgba(13,63,95,.13) 0%, transparent 55%);
    min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; color: var(--brand-mid); }

img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5 {
    font-family: "Fraunces", "Georgia", serif;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--brand-deep);
    margin-bottom: .65rem;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.22rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul,ol { padding-left: 1.2rem; }

/* ---------- Utilities ---------- */
.container { width: min(var(--container), 94vw); margin-inline: auto; }

.skip-link {
    position: absolute; left: -9999px; top: auto;
    background: #fff; color: #000; padding: .5rem .85rem;
    border-radius: var(--radius-sm); font-weight: 700; z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
    font-weight: 700; color: var(--accent); margin-bottom: .5rem;
}
.eyebrow::before {
    content: ""; width: 20px; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 2px; flex-shrink: 0;
}

.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.7; }

/* ---------- HEADER ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1200;
    background: rgba(245,243,239,.94);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid rgba(13,63,95,.10);
    box-shadow: 0 2px 18px rgba(13,63,95,.07);
}

/* Top Announcement Strip */
.top-strip {
    background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-mid) 100%);
    color: #fff;
    font-size: .82rem;
    overflow: hidden;
}
.top-strip-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; padding: .45rem 0;
}
.top-strip-inner p { margin: 0; opacity: .92; }
.top-strip-link {
    color: #fff; border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px; padding: .26rem .75rem;
    font-weight: 600; white-space: nowrap;
    transition: background var(--transition);
}
.top-strip-link:hover, .top-strip-link:focus-visible {
    background: rgba(255,255,255,.18); text-decoration: none; color: #fff;
}

/* Header Main Row */
.header-main {
    display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
    padding: .8rem 0; min-height: var(--header-h);
}

/* Brand / Logo */
.brand {
    display: inline-flex; align-items: center;
    gap: .7rem; text-decoration: none; flex-shrink: 0;
}
.brand:hover, .brand:focus-visible { text-decoration: none; }

.brand-logo { width: 44px; height: 44px; flex-shrink: 0; }

.brand-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700; font-size: 1.02rem;
    color: var(--brand-deep); white-space: nowrap;
    letter-spacing: -.01em;
}
.brand-sub {
    font-size: .7rem; font-weight: 600; color: var(--accent);
    letter-spacing: .06em; text-transform: uppercase;
}

/* Hamburger */
.nav-toggle {
    display: none; width: 2.8rem; height: 2.8rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); cursor: pointer; flex-direction: column;
    align-items: center; justify-content: center; gap: .26rem;
    transition: border-color var(--transition);
}
.nav-toggle span { width: 1.3rem; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle:hover { border-color: var(--brand); }

/* Primary Navigation */
.primary-nav { margin-left: auto; }
.primary-nav ul {
    list-style: none; display: flex; flex-wrap: nowrap;
    align-items: center; gap: .1rem;
}
.primary-nav a {
    display: inline-block; padding: .52rem .78rem;
    border-radius: var(--radius-sm);
    color: var(--brand-deep); font-weight: 600;
    font-size: .88rem; white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}
.primary-nav a:hover, .primary-nav a:focus-visible {
    background: var(--surface-soft); color: var(--brand);
    text-decoration: none;
}
.primary-nav a.is-active {
    background: linear-gradient(135deg, var(--brand), var(--brand-mid));
    color: #fff;
    box-shadow: 0 4px 12px rgba(13,63,95,.25);
}

/* ---------- HERO SECTION ---------- */
.hero { padding: 3.8rem 0 5rem; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
    gap: 2rem; align-items: stretch;
}

.hero-copy {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 3vw, 2.8rem);
    border: 1px solid rgba(13,63,95,.1);
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.hero-copy::before {
    content: ""; position: absolute; top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(198,144,42,.12) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}
.hero-copy h1 { margin-bottom: 1rem; }
.hero-copy .lead { margin-bottom: 1.2rem; }
.hero-copy p { color: #384f60; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

.hero-media {
    position: relative; border-radius: var(--radius-xl);
    overflow: hidden; min-height: 440px;
    box-shadow: var(--shadow-lg);
}
.hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.hero-media:hover img { transform: scale(1.03); }
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(165deg,
        rgba(8,30,46,.72) 0%,
        rgba(8,30,46,.1) 60%,
        transparent 100%);
    pointer-events: none;
}
.hero-media-note {
    position: absolute; z-index: 2;
    left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
    color: rgba(255,255,255,.82); font-size: .82rem;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .45rem; border-radius: var(--radius-md);
    padding: .72rem 1.25rem; border: 1.5px solid transparent;
    font-weight: 700; font-size: .9rem; cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition),
                background var(--transition), border-color var(--transition);
    text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover, .btn:focus-visible {
    transform: translateY(-2px); text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(13,63,95,.3);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(13,63,95,.4); color: #fff; }
.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #a0701c 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(198,144,42,.32);
}
.btn-accent:hover { color: #fff; }
.btn-secondary {
    background: var(--surface); border-color: rgba(13,63,95,.22);
    color: var(--brand-deep);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost {
    border-color: rgba(255,255,255,.5); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-outline-accent {
    border-color: var(--accent); color: var(--accent);
}
.btn-outline-accent:hover { background: var(--accent-soft); }

/* ---------- SECTIONS ---------- */
.section { padding: 4.8rem 0; }
.section.tight { padding: 3rem 0; }
.section-muted {
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(240,236,228,.55) 100%);
}
.section-dark {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #deeaf3;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 700px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }

/* Divider */
.divider {
    border: none; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
    margin: 0;
}

/* ---------- CARDS ---------- */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(13,63,95,.1);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
    width: 2.6rem; height: 2.6rem; border-radius: var(--radius-sm);
    display: grid; place-items: center;
    font-size: 1.15rem; font-weight: 800;
    color: var(--brand); margin-bottom: .9rem;
    background: linear-gradient(145deg, var(--accent-soft), #fdf4e6);
    box-shadow: 0 4px 10px rgba(198,144,42,.18);
    flex-shrink: 0;
}

/* Legacy icon-circle support */
.icon-circle {
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1rem; font-weight: 800; color: var(--brand);
    background: linear-gradient(145deg, var(--accent-soft), #fdf4e6);
    margin-bottom: .85rem;
    box-shadow: 0 4px 10px rgba(198,144,42,.15);
}

/* ---------- GRIDS ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }

.split-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 1.4rem; align-items: stretch;
}

/* ---------- STATS / KPI STRIP ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1rem;
}
.kpi {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(13,63,95,.1);
    padding: 1.4rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}
.kpi:hover { transform: translateY(-3px); }
.kpi strong {
    display: block; font-family: "Fraunces", Georgia, serif;
    font-size: 1.55rem; color: var(--brand-deep);
    margin-bottom: .22rem;
}
.kpi span { color: var(--muted); font-size: .88rem; line-height: 1.35; }

/* ---------- MEDIA CARD ---------- */
.media-card {
    border-radius: var(--radius-xl); overflow: hidden;
    min-height: 340px; position: relative;
    box-shadow: var(--shadow-md);
}
.media-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.media-card:hover img { transform: scale(1.04); }
.media-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(170deg, rgba(8,30,46,.55) 0%, rgba(8,30,46,.04) 55%);
    pointer-events: none;
}
.media-card p {
    position: absolute; z-index: 2;
    left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
    color: rgba(255,255,255,.88); font-size: .88rem;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    padding: 3.2rem 0 2rem;
    background: linear-gradient(135deg, rgba(13,63,95,.06) 0%, transparent 60%);
    border-bottom: 1px solid rgba(13,63,95,.08);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- CHECK-LIST & TIMELINE ---------- */
.check-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.check-list li {
    position: relative; padding-left: 1.55rem; margin-bottom: .5rem; color: var(--ink);
}
.check-list li::before {
    content: "✓"; position: absolute; left: 0; top: 1px;
    color: var(--accent); font-weight: 800;
}

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
    position: relative; padding-left: 1.5rem; margin-bottom: 1.1rem;
    border-left: 3px solid rgba(198,144,42,.35);
    padding-bottom: .4rem;
}
.timeline strong { color: var(--brand-deep); }

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.1rem;
}
figure.gallery-item {
    margin: 0; border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(13,63,95,.12);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
    transition: transform var(--transition), box-shadow var(--transition);
}
figure.gallery-item:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.gallery-item img {
    width: 100%; height: 250px; object-fit: cover;
    transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
    padding: .8rem 1rem; font-size: .88rem; color: var(--muted);
}

/* ---------- PROGRAM GRID ---------- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.2rem;
}

/* ---------- SCHEDULE GRID ---------- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1rem;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.5fr);
    gap: 1.4rem;
}
.contact-card, .form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    border: 1px solid rgba(13,63,95,.1);
    box-shadow: var(--shadow-md);
}
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-list span {
    display: block; font-size: .78rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: .07em; margin-bottom: .2rem;
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.1rem;
}
.contact-info-icon {
    width: 2rem; height: 2rem; border-radius: var(--radius-sm);
    background: var(--accent-soft); display: grid; place-items: center;
    font-size: 1rem; flex-shrink: 0;
}

/* ---------- FORMS ---------- */
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
.form-field { margin-bottom: 1rem; }
label { display: block; margin-bottom: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
input, select, textarea {
    width: 100%; border: 1.5px solid #ccc8c1;
    border-radius: var(--radius-sm); padding: .68rem .8rem;
    font: inherit; background: #fff; color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13,63,95,.15);
}
textarea { resize: vertical; min-height: 140px; }
.checkbox-row {
    display: flex; align-items: flex-start; gap: .6rem;
    margin-bottom: 1.1rem; font-size: .9rem;
}
.checkbox-row input { width: auto; margin-top: .22rem; }

/* ---------- NOTICE ---------- */
.notice {
    background: #fffaf1;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: .9rem 1rem;
    font-size: .92rem; color: #4a3c1e;
}

/* ---------- CTA BAND ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 55%, #041524 100%);
    border-radius: var(--radius-xl);
    padding: 2.6rem 2.4rem;
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 1.2rem;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(198,144,42,.18) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}
.cta-band p {
    margin: 0; color: rgba(255,255,255,.9);
    max-width: 620px; font-size: 1.05rem;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }

/* ---------- POLICY GRID ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.policy-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(13,63,95,.1);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}
.policy-card h2 { font-size: 1.2rem; margin-bottom: .6rem; }

/* ---------- FEATURES STRIP ---------- */
.features-strip {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.4rem;
}
.feature-item {
    text-align: center; padding: 1.8rem 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(13,63,95,.1);
    transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-3px); }
.feature-icon {
    font-size: 2.4rem; margin: 0 auto .8rem;
    width: 3.5rem; height: 3.5rem;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--accent-soft), #fdf4e6);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(198,144,42,.2);
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-item p { font-size: .93rem; color: var(--muted); }

/* ---------- QUOTE / TESTIMONIAL ---------- */
.quote-block {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    border-radius: var(--radius-xl);
    padding: 2.8rem;
    text-align: center;
    position: relative; overflow: hidden;
}
.quote-block::before {
    content: "\201C"; position: absolute;
    top: -30px; left: 30px;
    font-size: 12rem; font-family: Georgia, serif;
    color: rgba(255,255,255,.06); line-height: 1;
    pointer-events: none;
}
.quote-block blockquote {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    color: #fff; font-style: italic;
    line-height: 1.45; margin: 0 auto 1rem;
    max-width: 700px;
}
.quote-source { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- IMAGE FULL-WIDTH BANNER ---------- */
.img-banner {
    border-radius: var(--radius-xl); overflow: hidden;
    position: relative; height: 320px;
    box-shadow: var(--shadow-lg);
}
.img-banner img {
    width: 100%; height: 100%; object-fit: cover;
}
.img-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,30,46,.75) 0%, rgba(8,30,46,.1) 65%);
    display: flex; align-items: center; padding: 2.5rem;
}
.img-banner-content { max-width: 520px; }
.img-banner-content h2 { color: #fff; margin-bottom: .7rem; }
.img-banner-content p { color: rgba(255,255,255,.88); margin-bottom: 1.2rem; }

/* ---------- FOOTER ---------- */
.site-footer {
    margin-top: 4rem;
    background: linear-gradient(160deg, #0a1f2e 0%, #071422 100%);
    color: #c8dde8;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { color: #a8c5d4; font-size: .93rem; margin-bottom: .8rem; }
.footer-meta { color: #7f9faf; font-size: .83rem; }

.footer-col h3 {
    color: #fff; font-size: .95rem;
    margin-bottom: 1rem; padding-bottom: .5rem;
    border-bottom: 2px solid rgba(198,144,42,.4);
    font-family: "Fraunces", Georgia, serif;
    letter-spacing: .01em;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a { color: #a8c5d4; font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); text-decoration: none; }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: .65rem;
    margin-bottom: .75rem; font-size: .88rem; color: #a8c5d4;
}
.footer-contact-icon { font-size: 1rem; margin-top: .05rem; flex-shrink: 0; }
.footer-contact-item a { color: #a8c5d4; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    padding: 1.2rem 0 1.6rem;
    font-size: .83rem; color: #698595;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #7f9faf; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .75s ease, transform .75s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .hero-grid, .split-grid {
        grid-template-columns: 1fr;
    }
    .hero-media { min-height: 360px; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .grid-3, .program-grid, .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .schedule-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .features-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
    .policy-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: absolute; top: calc(100% + .3rem);
        left: 0; right: 0; display: none;
        background: var(--surface);
        border: 1.5px solid rgba(13,63,95,.15);
        border-radius: var(--radius-lg);
        box-shadow: 0 16px 36px rgba(8,30,46,.18);
        padding: .6rem; z-index: 1300;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; gap: .2rem; }
    .primary-nav a { display: block; padding: .75rem 1rem; border-radius: var(--radius-sm); }
    .header-main { position: relative; min-height: auto; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
    .cta-band { padding: 2rem 1.5rem; }
    .features-strip { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 520px) {
    .gallery-grid, .grid-3, .program-grid { grid-template-columns: 1fr; }
    .stats-grid, .schedule-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    :root { --container: 96vw; }
}
