/* ==========================================================================
   HITVALLÁSOS EVANGÉLIKUS MISSZIÓ - BLACK GLASS (iPHONE UI GLASSMORPHISM)
   Background: Adoration of the Mystic Lamb (Ghent Altarpiece by Van Eyck)
   Ultra-High-DPI Optimized & Deep Frosted Obsidian Glass Surfaces
   ========================================================================== */

:root {
  /* Obsidian & Frosted Glass Surfaces */
  --glass-bg-primary: rgba(14, 14, 18, 0.74);
  --glass-bg-secondary: rgba(20, 20, 26, 0.78);
  --glass-bg-hover: rgba(30, 30, 38, 0.85);
  --glass-bg-elevated: rgba(10, 10, 14, 0.86);
  --glass-bg-nested: rgba(8, 8, 12, 0.58);
  --glass-bg-nested-hover: rgba(22, 22, 28, 0.75);

  /* iPhone-style specular borders & edge highlights */
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-border-hover: rgba(255, 255, 255, 0.28);
  --glass-border-subtle: rgba(255, 255, 255, 0.08);
  --glass-specular-top: inset 0 1px 0 0 rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 16px 42px 0 rgba(0, 0, 0, 0.65), inset 0 1px 0 0 rgba(255, 255, 255, 0.18);
  --glass-shadow-hover: 0 20px 54px 0 rgba(0, 0, 0, 0.78), inset 0 1px 0 0 rgba(255, 255, 255, 0.32);

  /* High Contrast Typography */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #f6d87c;

  /* Liturgical Crimson */
  --crimson-primary: #ef4444;
  --crimson-hover: #dc2626;
  --crimson-bright: #f87171;
  --crimson-subtle: rgba(239, 68, 68, 0.18);
  --crimson-border: rgba(239, 68, 68, 0.42);

  /* Celestial Gold */
  --gold-primary: #e6c36a;
  --gold-warm: #fbbf24;
  --gold-subtle: rgba(230, 195, 106, 0.16);
  --gold-border: rgba(230, 195, 106, 0.4);

  /* Fonts */
  --font-serif: 'Lora', 'Spectral', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Soft Rounded Radiuses */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #060609;
  color: var(--text-main);
  font-family: var(--font-serif);
  line-height: 1.75;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   Full-Page High-Res Ghent Altarpiece Background Canvas & Lighting Effects
   ========================================================================== */

.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-color: #060609;
  background-image: url('../assets/images/ghent-altarpiece-5k.jpg');
  background-image: -webkit-image-set(
    url('../assets/images/ghent-altarpiece-5k.webp') 1x,
    url('../assets/images/ghent-altarpiece-5k.jpg') 1x
  );
  background-image: image-set(
    url('../assets/images/ghent-altarpiece-5k.webp') type('image/webp'),
    url('../assets/images/ghent-altarpiece-5k.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Atmospheric depth vignette overlay */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 50% 30%, rgba(8, 9, 14, 0.18) 0%, rgba(6, 7, 12, 0.55) 55%, rgba(4, 4, 7, 0.88) 100%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.3) 0%, rgba(6, 6, 10, 0.6) 50%, rgba(3, 3, 6, 0.92) 100%);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

a {
  color: var(--crimson-bright);
  text-decoration: underline;
  text-decoration-color: var(--gold-border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: #ffffff;
  text-decoration-color: var(--crimson-primary);
}

/* ==========================================================================
   Admin Bar (Top Bar)
   ========================================================================== */

.admin-bar {
  background: rgba(10, 10, 14, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--crimson-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.admin-bar-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.admin-bar-btn:hover {
  background: var(--crimson-primary);
  border-color: var(--crimson-primary);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   Site Header (Floating Black Glass Card)
   ========================================================================== */

.site-header {
  padding: 2.5rem 0 0;
  text-align: center;
  width: 100%;
}

.header-card {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glass-shadow);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.header-card:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.longform-logo {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: #ffffff;
  padding: 0;
  background: none;
  border: none;
  transition: all 0.25s ease;
}

.longform-logo:hover {
  text-decoration: none;
  background: none;
  transform: translateY(-1px);
}

.logo-badge-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.longform-logo:hover .logo-badge-wrap {
  transform: scale(1.06) rotate(-2deg);
}

.logo-badge-wrap svg {
  width: 28px;
  height: 28px;
}

.logo-text-block {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  font-weight: 700;
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
  .site-header {
    padding-top: 1.5rem;
  }
  
  .header-card {
    padding: 0.95rem 1.2rem;
  }
  
  .logo-title {
    font-size: 1.15rem;
  }
  
  .logo-subtitle {
    font-size: 0.66rem;
  }
  
  .logo-badge-wrap {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   VIEW 1: Under Construction Card (Frosted Black Glass)
   ========================================================================== */

.construction-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem;
}

.construction-card {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--crimson-primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.construction-card:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.construction-badge-seal {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 2.5px solid var(--gold-primary);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.construction-card:hover .construction-badge-seal {
  transform: scale(1.05);
}

.construction-badge-seal svg {
  width: 56px;
  height: 56px;
  display: block;
}

.construction-title {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.construction-motto {
  font-style: italic;
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.construction-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background-color: var(--gold-subtle);
  color: #fde68a;
  border: 1px solid var(--gold-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.construction-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.substack-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.substack-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(239, 68, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.admin-login-link-wrap {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border-subtle);
}

.admin-login-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}

.admin-login-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   VIEW 2: Main Content Area
   ========================================================================== */

.main-content {
  padding: 2rem 0 3.5rem;
  flex: 1;
}

/* Dedicated Lamb on the Altar Showcase Card (Full-Bleed with Floating Pill) */
.lamb-showcase-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-bottom: 2.25rem;
  line-height: 0;
  background: var(--glass-bg-primary);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.lamb-showcase-card:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.lamb-showcase-img {
  width: 100%;
  height: auto;
  aspect-ratio: 26 / 13.5;
  object-fit: cover;
  display: block;
  transform: scale(1.005);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.lamb-showcase-card:hover .lamb-showcase-img {
  transform: scale(1.025);
}

.lamb-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(8, 8, 12, 0.2) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(6, 6, 10, 0.7) 100%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 50%, rgba(4, 4, 7, 0.45) 100%);
  pointer-events: none;
}

.lamb-floating-pill {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.45rem;
  background: rgba(10, 10, 14, 0.74);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(246, 216, 124, 0.38);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.lamb-pill-cross {
  color: var(--crimson-bright);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.lamb-pill-text {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--gold-primary);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

@media (max-width: 600px) {
  .lamb-showcase-card {
    margin-bottom: 1.75rem;
  }
  
  .lamb-floating-pill {
    bottom: 0.85rem;
    padding: 0.45rem 1.1rem;
    gap: 0.45rem;
  }
  
  .lamb-pill-cross {
    font-size: 0.9rem;
  }
  
  .lamb-pill-text {
    font-size: 0.82rem;
    letter-spacing: 0.07em;
  }
}

/* Lead Card */
.lead-card {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.85rem 2.25rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--glass-shadow);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.lead-card:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.lead-content-wrap {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.lead-luther-rose {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  color: var(--text-main);
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.75));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, color 0.3s ease;
}

.lead-card:hover .lead-luther-rose {
  transform: scale(1.06) rotate(3deg);
  opacity: 1;
  color: var(--gold-primary);
}

.luther-rose-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lead-text-wrap {
  flex: 1;
  min-width: 0;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 0;
}

.lead-text strong {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 600px) {
  .lead-card {
    padding: 1.35rem 1.35rem;
  }
  
  .lead-content-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .lead-luther-rose {
    width: 60px;
    height: 60px;
  }

  .lead-text {
    font-size: 1.02rem;
    line-height: 1.65;
  }
}

/* Dedicated Social Media Block within Lead Card */
.intro-social-block {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border-subtle);
}

.intro-social-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
}

.intro-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.intro-social-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--glass-bg-nested);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.intro-social-item:hover {
  text-decoration: none;
  background: var(--glass-bg-nested-hover);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.intro-social-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.intro-social-item:hover .intro-social-icon {
  transform: scale(1.1);
}

.fb-icon {
  background-color: rgba(24, 119, 242, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(24, 119, 242, 0.35);
}

.substack-icon {
  background-color: rgba(255, 103, 25, 0.2);
  color: #fb923c;
  border: 1px solid rgba(255, 103, 25, 0.35);
}

.intro-social-icon svg {
  width: 18px;
  height: 18px;
}

.intro-social-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.intro-social-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.2;
}

.intro-social-handle {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--crimson-bright);
  line-height: 1.3;
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.intro-social-item:hover .intro-social-handle {
  color: #ffffff;
}

/* ==========================================================================
   Service Schedule Card (Always Visible, Frosted Black Glass)
   ========================================================================== */

.schedule-card {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-top: 3.5px solid var(--crimson-primary);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem 2.25rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--glass-shadow);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.schedule-card:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-border-subtle);
}

.schedule-header-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--crimson-subtle);
  color: var(--crimson-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--crimson-border);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.schedule-header-icon svg {
  width: 24px;
  height: 24px;
}

.schedule-header-text h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
  color: #ffffff;
}

.schedule-header-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

.next-service-box {
  background: var(--glass-bg-nested);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-subtle);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.next-service-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--crimson-subtle);
  color: #fca5a5;
  border: 1px solid var(--crimson-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--crimson-bright);
  display: inline-block;
  box-shadow: 0 0 0 rgba(248, 113, 113, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(248, 113, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
  }
}

.next-service-date {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.next-service-cadence {
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.schedule-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

@media (max-width: 640px) {
  .schedule-details-grid {
    grid-template-columns: 1fr;
  }
  
  .schedule-card {
    padding: 1.6rem 1.35rem 1.5rem;
  }
  
  .next-service-date {
    font-size: 1.25rem;
  }
}

.schedule-detail-item {
  background: var(--glass-bg-nested);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.schedule-detail-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.schedule-detail-label svg {
  color: var(--gold-primary);
}

.schedule-detail-value {
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.45;
}

.schedule-detail-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.schedule-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  margin-top: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* ==========================================================================
   Accordion Sections (Black Glass Dropdowns)
   ========================================================================== */

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accordion-item {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.accordion-item:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.accordion-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  gap: 1rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.accordion-header:hover {
  color: var(--crimson-bright);
  background-color: rgba(255, 255, 255, 0.04);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}

.accordion-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--crimson-subtle);
  border-color: var(--crimson-border);
  color: var(--crimson-bright);
}

/* CSS Grid Smooth Height Transition */
.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-collapse {
  grid-template-rows: 1fr;
}

.accordion-body {
  overflow: hidden;
  padding: 0 1.75rem 1.75rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.accordion-item.active .accordion-body {
  opacity: 1;
  transform: translateY(0);
}

/* Identity List Inside Accordion */
.identity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.identity-item {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  padding: 1.5rem 1.75rem;
  background: var(--glass-bg-nested);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-subtle);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.identity-item:hover {
  background: var(--glass-bg-nested-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.identity-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.identity-item:hover .identity-icon-wrap {
  transform: scale(1.1);
  background: var(--crimson-subtle);
  border-color: var(--crimson-border);
  color: var(--crimson-bright);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.identity-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.identity-content {
  flex: 1;
  min-width: 0;
}

.identity-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.identity-title .num-badge {
  color: var(--gold-primary);
  font-weight: 700;
  margin-right: 0.25rem;
}

.identity-verse {
  font-size: 0.95rem;
  color: var(--text-gold);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .identity-item {
    gap: 1rem;
    padding: 1.25rem 1.25rem;
  }

  .identity-icon-wrap {
    width: 38px;
    height: 38px;
  }

  .identity-icon-wrap svg {
    width: 19px;
    height: 19px;
  }
}

/* Info Box Inside Accordion */
.info-box {
  background: var(--glass-bg-nested);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-left: 4px solid var(--crimson-primary);
  border-top: 1px solid var(--glass-border-subtle);
  border-right: 1px solid var(--glass-border-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.info-box p {
  color: var(--text-secondary);
}

.info-box strong {
  color: #ffffff;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Contact Box Inside Accordion */
.contact-inner {
  background: var(--glass-bg-nested);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-subtle);
  padding: 1.6rem 1.75rem 1.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-intro-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.contact-single-card {
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid var(--glass-border);
  border-left: 3.5px solid var(--crimson-primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-single-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--crimson-subtle);
  color: var(--crimson-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--crimson-border);
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-card-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-card-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
  text-decoration: underline;
  text-decoration-color: var(--crimson-border);
}

.contact-card-value:hover {
  color: var(--crimson-bright);
  text-decoration-color: var(--crimson-primary);
}

.contact-card-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Mailto Contact Form (Frosted Black Glass) */
.contact-form-container {
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.6rem;
  margin-top: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form-heading svg {
  color: var(--crimson-bright);
}

.contact-form-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field .required {
  color: var(--crimson-bright);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.75);
  border-color: var(--crimson-primary);
  box-shadow: 0 0 0 3px var(--crimson-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.contact-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-send-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.contact-send-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   Site Footer (Floating Black Glass Card)
   ========================================================================== */

.site-footer {
  padding: 0 0 3.5rem;
  text-align: center;
}

.footer-card {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.footer-card:hover {
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

.footer-seal {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 1.5px solid var(--gold-primary);
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.footer-seal svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Login Modal (Frosted Black Glass & Backdrop Blur)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 7, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--glass-bg-primary);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  backdrop-filter: blur(36px) saturate(190%);
  border: 1px solid var(--glass-border);
  border-top: 3.5px solid var(--crimson-primary);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  margin: 1.25rem 0 1rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.modal-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.modal-input:focus {
  outline: none;
  border-color: var(--crimson-primary);
  box-shadow: 0 0 0 3px var(--crimson-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.8);
}

.modal-btn {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.modal-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.modal-error {
  color: var(--crimson-bright);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  display: none;
}

/* ==========================================================================
   Smooth Scrolling & Viewbox Scroll Reveal Animations
   ========================================================================== */

.reveal-block {
  opacity: 0 !important;
  transform: translateY(38px) !important;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
  will-change: opacity, transform;
}

.reveal-block.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-block {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
