/* ============================================================
   WFCOC Site Styles — mobile-first, Bootstrap 5.3 base
   ============================================================ */

:root {
    --navy:       #1F1B4E;
    --primary:    #4A3F8F;
    --primary-lt: #6456B7;
    --gold:       #C8A96E;
    --gold-dk:    #A8893E;
    --light-bg:   #F4F2FF;
    --white:      #FFFFFF;
    --text:       #1A1633;
    --muted:      #6B6587;
    --border:     #E2DEFC;
    --success:    #2E7D52;
    --shadow-sm:  0 2px 8px rgba(31,27,78,0.08);
    --shadow-md:  0 4px 16px rgba(31,27,78,0.12);
    --shadow-lg:  0 8px 32px rgba(31,27,78,0.16);
    --radius:     10px;
    --radius-lg:  18px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-lt); }

/* ---- Top Contact Bar ---- */
.topbar {
    background: #16134a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.4rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.topbar-left { gap: 1rem; }
.topbar-right { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.topbar-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--transition);
}
.topbar-link:hover { color: var(--gold); }
.topbar-divider { color: rgba(255,255,255,0.25); }

/* ---- Skip Link ---- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; color: var(--navy); }

/* ---- Navbar ---- */
.navbar {
    background: var(--navy) !important;
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.navbar-brand span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.12);
}

/* Resources dropdown */
.navbar .dropdown-menu {
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.4rem 0;
    min-width: 240px;
}
.navbar .dropdown-item {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    transition: background var(--transition), color var(--transition);
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

.navbar-nav .nav-link.nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 700;
    margin-left: 0.5rem;
}
.navbar-nav .nav-link.nav-cta:hover {
    background: var(--gold-dk);
    color: var(--navy) !important;
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* Background photo variant — applied when hero-bg class is present */
.hero.hero-bg {
    background: var(--navy);
}
.hero.hero-bg::before { display: none; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    z-index: 0;
}

/* If no image exists the overlay is invisible, navy background shows through */
.hero-content { position: relative; z-index: 1; }

/* Navbar logo */
.navbar-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Hero logo */
.hero-logo-wrap { line-height: 1; }
.hero-logo {
    max-height: 140px;
    max-width: 360px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='25' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-actions .btn { margin: 0.35rem; min-width: 160px; }

.hero-stat {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(4px);
}
.hero-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.hero-stat .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
}

/* ---- Section Utilities ---- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-white { background: var(--white); }
.section-light { background: var(--light-bg); }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.section-dark .section-label { color: var(--gold); }

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 600px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ---- Buttons ---- */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    transition: all var(--transition);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-lt);
    border-color: var(--primary-lt);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--gold-dk);
    border-color: var(--gold-dk);
    color: var(--navy);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline-light:hover { color: var(--navy) !important; }
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }

/* ---- Cards ---- */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card-body { padding: 1.5rem; }

/* ---- Feature Cards (mission values) ---- */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    height: 100%;
}
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    transition: background var(--transition);
}
.feature-card:hover .feature-icon { background: var(--primary); color: var(--white); }

/* ---- Service Times ---- */
.service-times-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--white);
}
.service-times-card h3 { color: var(--gold); margin-bottom: 1.5rem; }
.service-time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}
.service-time-item:last-child { border-bottom: none; }
.service-time-label { color: rgba(255,255,255,0.75); }
.service-time-value { font-weight: 700; color: var(--gold); }
.lang-badges { display: flex; gap: 0.5rem; }
.lang-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; }
.lang-en { background: rgba(255,255,255,0.15); color: #fff; }
.lang-es { background: var(--gold); color: var(--navy); }
.service-lang-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ---- Staff / Elder Cards ---- */
.person-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
}
.person-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.person-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 3px solid var(--border);
    margin: 0 auto 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.person-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}
.person-bio { font-size: 0.9rem; color: var(--muted); }
.person-card-horizontal { display: flex; align-items: flex-start; gap: 2rem; text-align: left; }
.person-avatar-lg { width: 120px; height: 120px; font-size: 2.5rem; }
@media (max-width: 575px) {
    .person-card-horizontal { flex-direction: column; align-items: center; }
    .person-card-horizontal .text-start { text-align: center !important; }
}

/* ---- Sermon Cards ---- */
.sermon-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition);
}
.sermon-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.sermon-card-header {
    background: linear-gradient(135deg, var(--navy), var(--primary));
    padding: 1.25rem 1.5rem;
    color: var(--white);
}
.sermon-series {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.4rem;
}
.sermon-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 0; }
.sermon-card-body { padding: 1.25rem 1.5rem; }
.sermon-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.75rem; }
.sermon-scripture {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
.sermon-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.sermon-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ---- FullCalendar Theme ---- */
.wfcoc-calendar { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.wfcoc-calendar .fc-toolbar-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); }

.wfcoc-calendar .fc-button-primary {
    background: var(--primary); border-color: var(--primary);
    font-size: 0.8rem; font-weight: 600; border-radius: var(--radius) !important;
}
.wfcoc-calendar .fc-button-primary:hover,
.wfcoc-calendar .fc-button-primary:not(:disabled):active,
.wfcoc-calendar .fc-button-primary:not(:disabled).fc-button-active {
    background: var(--navy); border-color: var(--navy);
}
.wfcoc-calendar .fc-col-header-cell { background: var(--navy); }
.wfcoc-calendar .fc-col-header-cell-cushion { color: var(--gold); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }

.wfcoc-calendar .fc-daygrid-day-number { color: var(--navy); font-weight: 600; font-size: 0.85rem; }
.wfcoc-calendar .fc-day-today { background: var(--light-bg) !important; }
.wfcoc-calendar .fc-day-today .fc-daygrid-day-number { color: var(--primary); }

.wfcoc-calendar .fc-event {
    border-radius: 4px; font-size: 0.75rem; font-weight: 600;
    cursor: pointer; border: none;
}

/* ---- Sermon Hero ---- */
.sermon-hero { background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; }

.sermon-hero-player { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.sermon-hero-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sermon-hero-info { padding: 1.5rem 2rem 2rem; }
.sermon-hero-badge {
    display: inline-block; background: var(--gold); color: var(--navy);
    font-size: 0.7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 0.2rem 0.7rem; border-radius: 50px; margin-bottom: 0.75rem;
}
.sermon-hero-title { font-size: 1.35rem; font-weight: 800; color: var(--white); margin: 0 0 0.4rem; line-height: 1.3; }
.sermon-hero-speaker { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin: 0; }

/* ---- Sermon Thumbnail Cards ---- */
.sermon-thumb-card {
    display: block; border-radius: var(--radius); overflow: hidden;
    background: var(--white); border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sermon-thumb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.sermon-thumb-img-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #111; }
.sermon-thumb-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sermon-thumb-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); color: #fff; font-size: 2rem; opacity: 0;
    transition: opacity var(--transition);
}
.sermon-thumb-card:hover .sermon-thumb-play { opacity: 1; }

.sermon-thumb-info { padding: 0.75rem 0.9rem 1rem; }
.sermon-thumb-title {
    font-size: 0.82rem; font-weight: 700; color: var(--navy);
    margin: 0 0 0.25rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sermon-thumb-speaker { font-size: 0.75rem; color: var(--muted); margin: 0; }

/* ---- Event Cards ---- */
.event-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    align-items: flex-start;
    transition: all var(--transition);
    margin-bottom: 1rem;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.event-date-badge {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    text-align: center;
    min-width: 58px;
    flex-shrink: 0;
}
.event-date-badge .month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    display: block;
}
.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.event-info h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.event-info p { font-size: 0.86rem; color: var(--muted); margin: 0; }
.event-location { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }

/* ---- Contact Form ---- */
.contact-form .form-control, .contact-form .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74,63,143,0.12);
    outline: none;
}
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }

/* ---- Info Box ---- */
.info-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.info-box-icon {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

/* ---- Visit Page ---- */
.visit-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.step-number {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.step-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.step-content p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---- Map Embed ---- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.map-container iframe { display: block; }

/* ---- Give Page ---- */
.give-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}
.give-hero h2 { color: var(--gold); }
.give-option {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
}
.give-option:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.give-option-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.give-option h4 { font-weight: 700; margin-bottom: 0.5rem; }
.give-option p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }

/* ---- History Timeline ---- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.625rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.timeline-item h5 { font-weight: 700; margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---- Page Hero ---- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin: 0; }
.page-hero .breadcrumb { margin-bottom: 1rem; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Footer ---- */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
}
footer h5 {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
footer a:hover { color: var(--gold); }
footer .footer-nav li { margin-bottom: 0.5rem; }
.footer-brand { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.85rem; color: var(--gold); }
.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0 1.25rem;
}
.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---- PWA Install Banner ---- */
#pwa-install-banner {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    width: calc(100% - 2rem);
    max-width: 420px;
    border: 1px solid rgba(255,255,255,0.1);
}
#pwa-install-banner.show { display: flex; align-items: center; gap: 1rem; }
.pwa-install-text { flex: 1; font-size: 0.9rem; }
.pwa-install-text strong { display: block; color: var(--gold); }

/* ---- Alerts ---- */
.alert-info {
    background: var(--light-bg);
    border-color: var(--border);
    color: var(--muted);
    border-radius: var(--radius-lg);
}

/* ---- Accessibility ---- */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .navbar-collapse { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 0.5rem; margin-top: 0.5rem; }
    .navbar-nav .nav-link.nav-cta { margin-left: 0; margin-top: 0.25rem; display: inline-block; }
}

@media (max-width: 767.98px) {
    .hero { padding: 3.5rem 0 3rem; }
    .section { padding: 2.75rem 0; }
    .hero-actions .btn { width: 100%; margin: 0.25rem 0; }
    .event-card { flex-direction: column; }
    .event-date-badge { display: flex; align-items: center; gap: 0.5rem; min-width: auto; padding: 0.35rem 0.75rem; }
    .event-date-badge .month { font-size: 0.75rem; }
    .event-date-badge .day { font-size: 1.1rem; }
    .visit-step { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 575.98px) {
    .service-times-card { padding: 1.5rem; }
    .give-hero { padding: 2rem 1.5rem; }
    .feature-card, .person-card, .give-option { padding: 1.5rem 1rem; }
}
