/* ============================================
   SPAP LANDING PAGE — Glass + Minimal UI
   ISO 9241 / 25010 aligned
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand */
    --primary-maroon: #7F2020;
    --primary-dark:   #5C1515;
    --primary-light:  #9B2E2E;
    --sage-green:     #869B7E;
    --sage-dark:      #6B7D64;
    --soft-olive:     #C9CAAC;
    --warm-cream:     #F6F3EB;
    --gold-accent:    #C9A84C;

    /* Text */
    --text-dark:      #2C2420;
    --text-soft:      #5A4E45;
    --text-muted:     #8A7C70;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --danger:  #EF4444;
    --info:    #3B82F6;

    /* Glass */
    --glass-bg:        rgba(255, 255, 255, 0.72);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-bg-dark:   rgba(255, 255, 255, 0.10);
    --glass-border:    rgba(255, 255, 255, 0.55);
    --glass-border-dk: rgba(255, 255, 255, 0.18);
    --glass-blur:      blur(16px) saturate(140%);
    --glass-blur-lg:   blur(24px) saturate(160%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.14);
    --shadow-glow-maroon: 0 12px 32px rgba(127, 32, 32, 0.22);
    --shadow-glow-gold:   0 12px 32px rgba(201, 168, 76, 0.32);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast: 150ms;
    --dur-base: 220ms;
    --dur-slow: 320ms;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--warm-cream);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

img { max-width: 100%; display: block; }
a   { color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Focus ring — accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-maroon);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ============================================
   NAVBAR — glass
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: background var(--dur-base) var(--ease),
                box-shadow var(--dur-base) var(--ease);
}

.navbar.scrolled {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    backdrop-filter: var(--glass-blur-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    transition: transform var(--dur-base) var(--ease);
}

.nav-logo:hover { transform: translateY(-1px); }

.logo-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.nav-logo h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
    line-height: 1.2;
}

.nav-logo p {
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    font-size: 14.5px;
    padding: 8px 4px;
    transition: color var(--dur-base) var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--primary-maroon);
    transition: width var(--dur-base) var(--ease),
                left var(--dur-base) var(--ease);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active { color: var(--primary-maroon); }

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link.donation-link {
    color: var(--gold-accent);
    font-weight: 600;
}

.nav-link.donation-link::after { background: var(--gold-accent); }

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-login,
.btn-register,
.btn-admin {
    padding: 9px 18px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--dur-base) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.btn-login {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(201, 202, 172, 0.6);
    color: var(--text-dark);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--sage-green);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(127, 32, 32, 0.22);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-maroon);
}

.btn-admin {
    background: rgba(127, 32, 32, 0.06);
    color: var(--primary-maroon);
    border-color: rgba(127, 32, 32, 0.12);
    padding: 9px 13px;
}

.btn-admin:hover {
    background: var(--primary-maroon);
    color: white;
    border-color: var(--primary-maroon);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(201, 202, 172, 0.5);
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-base) var(--ease);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--sage-green);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 640px;
    height: 100vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 74px;
    overflow: hidden;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(92, 21, 21, 0.85) 0%, rgba(44, 36, 32, 0.55) 55%, rgba(44, 36, 32, 0.75) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: white;
}

.hero-text > * + * { margin-top: 20px; }

/* Reusable glass */
.glass {
    background: var(--glass-bg-dark);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-dk);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 26px;
}

.hero-badge i { color: var(--gold-accent); }

.hero h1 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-highlight {
    background: linear-gradient(135deg, #E5C876, #C9A84C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #C9A84C;
}

.hero p {
    font-size: clamp(15px, 1.4vw, 18px);
    max-width: 620px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.65;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn-primary,
.btn-secondary,
.btn-donation {
    padding: 14px 28px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--dur-base) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    letter-spacing: 0.1px;
}

.btn-primary {
    background: white;
    color: var(--primary-maroon);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-donation {
    background: linear-gradient(135deg, #E5C876, #C9A84C);
    color: #3a2c00;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-donation:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

/* Hero trust strip */
.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 26px;
    border-radius: 100px;
    margin-top: 44px;
    color: white;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.trust-item i {
    font-size: 18px;
    color: var(--gold-accent);
}

.trust-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

.trust-item span {
    font-size: 11px;
    opacity: 0.75;
    letter-spacing: 0.4px;
}

.trust-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.18);
}

/* ============================================
   SECTION HEADER
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(127, 32, 32, 0.08);
    color: var(--primary-maroon);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-badge i { font-size: 12px; }

.section-header h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 15.5px;
    color: var(--text-soft);
    line-height: 1.65;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    padding: 96px 0;
    background: white;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.service-card {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBF9F4 100%);
    border-radius: 22px;
    padding: 30px 26px;
    border: 1px solid rgba(201, 202, 172, 0.45);
    transition: all var(--dur-slow) var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(127, 32, 32, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(134, 155, 126, 0.55);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    position: relative;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(127, 32, 32, 0.22);
    transition: transform var(--dur-base) var(--ease);
}

.service-card:hover .service-icon {
    transform: rotate(-4deg) scale(1.05);
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(201, 202, 172, 0.5);
    border-bottom: 1px solid rgba(201, 202, 172, 0.5);
    margin-bottom: 18px;
}

.service-details span {
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 500;
}

.service-details i {
    margin-right: 6px;
    color: var(--primary-maroon);
}

.btn-service {
    width: 100%;
    padding: 12px 18px;
    background: white;
    border: 1px solid rgba(201, 202, 172, 0.7);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-maroon);
    cursor: pointer;
    transition: all var(--dur-base) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.btn-service:hover {
    background: var(--primary-maroon);
    color: white;
    border-color: var(--primary-maroon);
    gap: 12px;
    box-shadow: 0 8px 20px rgba(127, 32, 32, 0.22);
}

/* ============================================
   ANNOUNCEMENTS
   ============================================ */

.announcements {
    padding: 96px 0;
    background: var(--warm-cream);
    position: relative;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.announcement-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 26px;
    transition: all var(--dur-slow) var(--ease);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-sm);
}

.announcement-card.featured {
    border-top: 4px solid var(--primary-maroon);
    box-shadow: 0 8px 28px rgba(127, 32, 32, 0.08);
}

.announcement-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: linear-gradient(135deg, #E5C876, #C9A84C);
    color: #3a2c00;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.4);
}

.announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.announcement-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 14px;
    padding: 5px 12px;
    background: rgba(134, 155, 126, 0.1);
    border-radius: 100px;
    font-weight: 500;
}

.announcement-date i {
    color: var(--sage-dark);
    font-size: 11px;
}

.announcement-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.announcement-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.65;
}

/* ============================================
   MASS SCHEDULE
   ============================================ */

.mass-schedule {
    padding: 96px 0;
    background: linear-gradient(135deg, #7F2020 0%, #5C1515 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.mass-schedule::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.schedule-info .schedule-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.95);
}

.schedule-info h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.schedule-info p {
    font-size: 15.5px;
    opacity: 0.88;
    line-height: 1.65;
}

.schedule-days {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.day-card {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 18px 22px;
    transition: all var(--dur-base) var(--ease);
}

.day-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateX(4px);
}

.day-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.1px;
}

.day-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.day-times span {
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 13px;
    border-radius: 100px;
    transition: all var(--dur-fast) var(--ease);
}

.day-times span:hover {
    background: rgba(201, 168, 76, 0.22);
    border-color: rgba(201, 168, 76, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    position: relative;
    background: #2C2420;
    color: white;
    padding: 72px 0 24px;
    overflow: hidden;
}

.footer-cross-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.6fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.footer-logo p {
    font-size: 11px;
    opacity: 0.65;
    letter-spacing: 0.3px;
}

.footer-about p {
    font-size: 14px;
    opacity: 0.72;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 340px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--dur-base) var(--ease);
}

.social-links a:hover {
    background: var(--primary-maroon);
    border-color: var(--primary-maroon);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-maroon);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--gold-accent);
}

.footer-links ul,
.footer-contact ul,
.footer-hours ul {
    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all var(--dur-base) var(--ease);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-accent);
    transform: translateX(3px);
}

.footer-contact li,
.footer-hours li {
    font-size: 13.5px;
    opacity: 0.75;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.footer-contact i {
    width: 18px;
    color: var(--gold-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    opacity: 0.55;
    letter-spacing: 0.2px;
}

/* ============================================
   MODAL — shared
   ============================================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 10, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show { display: flex; }

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    backdrop-filter: var(--glass-blur-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.32s var(--ease-out);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 26px;
    border-bottom: 1px solid rgba(201, 202, 172, 0.4);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 5;
    border-radius: 24px 24px 0 0;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i { color: var(--primary-maroon); }

.modal-close {
    background: rgba(201, 202, 172, 0.25);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-soft);
    transition: all var(--dur-base) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 26px;
}

.modal-footer {
    padding: 16px 26px;
    border-top: 1px solid rgba(201, 202, 172, 0.4);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 0 24px 24px;
}

.btn-cancel,
.btn-proceed {
    padding: 11px 22px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-cancel {
    background: white;
    border: 1px solid rgba(201, 202, 172, 0.7);
    color: var(--text-soft);
}

.btn-cancel:hover {
    background: rgba(201, 202, 172, 0.25);
    border-color: var(--sage-green);
}

.btn-proceed {
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-light));
    color: white;
    border: none;
    box-shadow: 0 6px 16px rgba(127, 32, 32, 0.22);
}

.btn-proceed:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-maroon);
}

/* ============================================
   SERVICE MODAL DETAIL
   ============================================ */

.service-detail {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-description {
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.65;
    margin: 0;
}

.service-block {
    background: linear-gradient(180deg, #FBF8F1 0%, #F6F3EB 100%);
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(239, 232, 221, 0.9);
}

.service-block .block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.service-block .block-header i {
    font-size: 15px;
    color: var(--primary-maroon);
    width: 20px;
    text-align: center;
}

.service-block .block-header h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.block-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.block-list li {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.block-list li i {
    color: var(--sage-green);
    font-size: 11px;
    margin-top: 4px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.service-block-donation {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.14), rgba(201, 168, 76, 0.05));
    border-color: rgba(201, 168, 76, 0.35);
}

.service-block-donation .block-header i { color: var(--gold-accent); }

.block-value {
    font-size: 21px;
    font-weight: 800;
    color: var(--primary-maroon);
    margin: 0;
    letter-spacing: 0.3px;
}

.service-block-reminders {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
    border-color: rgba(245, 158, 11, 0.28);
    border-left: 4px solid var(--warning);
}

.service-block-reminders .block-header i,
.service-block-reminders .block-list li i { color: var(--warning); }

.block-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    counter-reset: step-counter;
}

.block-steps li {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    counter-increment: step-counter;
}

.block-steps li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-maroon), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}

.service-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(134, 155, 126, 0.08);
    border-left: 3px solid var(--sage-green);
    border-radius: 10px;
}

.service-note i {
    font-size: 16px;
    color: var(--sage-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.service-note p {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
}

/* ============================================
   DONATION MODAL
   ============================================ */

.donation-modal { max-width: 720px !important; }

.donation-intro {
    font-size: 14px;
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.65;
}

.donation-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

.donation-channel {
    background: linear-gradient(180deg, #FBF8F1 0%, #F6F3EB 100%);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    border: 1px solid rgba(201, 202, 172, 0.5);
    transition: all var(--dur-base) var(--ease);
}

.donation-channel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-maroon);
}

.channel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.channel-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow-xs);
}

.channel-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.qr-container { margin-bottom: 16px; }

.qr-code {
    width: 172px;
    height: 172px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    background: white;
    padding: 4px;
    margin: 0 auto;
}

.qr-instruction {
    font-size: 12px;
    color: var(--text-soft);
    margin-top: 10px;
    line-height: 1.5;
}

.channel-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 14px;
    border-top: 1px solid rgba(201, 202, 172, 0.5);
}

.account-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.account-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.donation-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(134, 155, 126, 0.08);
    border-radius: 12px;
    border-left: 3px solid var(--sage-green);
}

.donation-note i {
    font-size: 17px;
    color: var(--sage-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.donation-note p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        margin-top: 8px;
        background: var(--glass-bg-strong);
        -webkit-backdrop-filter: var(--glass-blur-lg);
        backdrop-filter: var(--glass-blur-lg);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 16px;
        flex-direction: column;
        padding: 14px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.show { display: flex; }

    .nav-links .nav-link {
        padding: 12px 14px;
        border-radius: 10px;
        width: 100%;
    }

    .nav-links .nav-link::after { display: none; }
    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        background: rgba(127, 32, 32, 0.06);
    }

    .mobile-menu-btn { display: flex; }

    .btn-login span,
    .btn-register span { display: none; }

    .btn-login,
    .btn-register,
    .btn-admin {
        padding: 10px 12px;
    }

    .schedule-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-container { padding: 12px 16px; }
    .nav-logo h2 { font-size: 14px; }
    .nav-logo p { display: none; }
    .logo-img { width: 40px; height: 40px; }

    .hero {
        min-height: 560px;
        margin-top: 68px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-donation {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 14px;
        padding: 18px 22px;
        border-radius: 20px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-divider { display: none; }

    .services,
    .announcements,
    .mass-schedule { padding: 64px 0; }

    .services-grid,
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about p { max-width: 100%; }

    .donation-channels {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qr-code { width: 150px; height: 150px; }

    .modal-content {
        max-height: 92vh;
        border-radius: 20px;
    }

    .modal-header { padding: 16px 20px; border-radius: 20px 20px 0 0; }
    .modal-body { padding: 20px; }
    .modal-footer { padding: 14px 20px; border-radius: 0 0 20px 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 30px; }
    .section-header h2 { font-size: 24px; }
    .qr-code { width: 132px; height: 132px; }
    .donation-channel { padding: 16px; }
}